Repository navigation
Conversation
|
Vercel preview is ready: https://hivelore-ng8jbcozb-kareemn1936s-projects.vercel.app Commit: c7ef532 |
|
@perlaimad reviewed properly now — sorry this sat without feedback. The authorization model is the strongest part: I tried to break it and couldn't. Identity is session-derived everywhere (your test asserting a client-supplied
The dangerous part: Then the review items:
Also please link the Trello cards — this covers two (Worlds and Contribution editor), and note Kareem's #16 is built on this branch, so it lands after you. |
|
@perlaimad I checked the branch just now and I don't think the fixes have landed yet — I suspect they're still local and not pushed, because GitHub shows the branch unchanged. What I see on
You're right that CI is green (Quality ✅, Vercel Preview ✅) — but that's expected, and it's the trap here: none of the outstanding items are things CI can catch. There's no test that exercises a published-canon edit, no size limit assertion, no lint rule for a missing I re-verified each item against the current head, with line numbers so you can check yourself:
Since #15 merged, The rest, all still unchanged:
What to do: To be clear, none of this is a criticism of the work: the authorization model in this PR is the strongest part and I found no bypass or IDOR. It's just that what's on GitHub isn't what you're describing. |
…anagement - Added auth-rate-limit-store for managing rate limits on API requests. - Introduced canon-voting-policy for defining voting rules and tallying votes. - Developed canon-voting module for handling proposal voting logic, including casting votes and finalizing decisions. - Created API routes for managing proposals, including fetching details, voting, and confirming transactions. - Implemented client-side API functions for interacting with the new proposal and voting endpoints.
…arity + feat: enhance canon voting logic and add tests for voting policy
- Introduced endpoints for listing and creating comments on proposals. - Added ProposalComment model to the database schema with necessary fields and constraints. - Implemented logic for handling comment creation, including validation and authorization checks. - Updated frontend to support displaying and posting comments on proposals. - Created tests to ensure proper functionality and error handling for comment-related operations.
…g confirmations and authority validation
|
@perlaimad re-reviewed at
129/129 tests pass, lint/typecheck/format clean, and your three migrations apply to a clean Postgres 16 with no drift. Two are half-done:
Blockers in the new canon-voting workB1 — Nobody can finalize a decision. The feature cannot complete end-to-end.
So the world's own founder gets a 403 finalizing their own world's proposal, and no CURATOR can ever exist. The vote → decide → publish loop is unreachable for every user. Cheapest fix is adding the permission to B2 —
|
|
Closing this as superseded by #22 — no work is lost, and this is a correction of my tracking rather than a judgement on the code. The check: I owe you an apology for how this PR was tracked. For several days I described #14 as "the bottleneck blocking every other PR", and reported it as stalled because it hadn't been pushed to since 08-10. That was wrong twice over:
Two consequences worth stating plainly:
Everything continues on #22. I have a full review of it ready — including some things that need fixing before it can merge, and one governance question for Mohammad — and I'll post it there shortly so it's all in one place rather than split across two PRs. |
Summary
Verification