Repository navigation
Make plan write ownership and closure evidence explicit - #276
Merged
DocksDocks merged 5 commits intoDec 1, 2026
Merged
Conversation
Tie the verified viewer to a writable issue. Send an assignee ID only while the claim is pending and require the confirmed login on subsequent writes. Verified: bun run check:types; targeted lint and format; bun run test:unit cli/test/unit/plan/write-postconditions.test.ts (9 passed)
Include the formatted stored-ID comparison from the verified ownership change. Verified: bun run check:types; focused lint and format; write-postconditions.test.ts (9 passed)
Return merge evidence only for a merged pull request. Preserve the close-event comparison and carry the fallback parent with the created issue. Verified: 174 public CLI tests in eight plan suites; bun run check:types; targeted lint and format
- Carry the verified owner into comment recovery. Select label IDs explicitly for writes. - Exercise the final owner read, claim confirmation, malformed merge evidence, and creation without a parent.
- Cover the body-only reopen read before the guarded ownership read. - Document the Boolean closing decision rather than restating the pull request shape.
DocksDocks
marked this pull request as ready for review
December 1, 2026 01:54
DocksDocks
deleted the
270-model-plan-write-ownership-and-close-event-evidence
branch
December 1, 2026 02:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plan run: #270 Model plan write ownership and close-event evidence
Pull request: #276. Full CI passed all 10 jobs.
What changed
Decisions and corrections
Delegated decisions
Reviews
Plan review passed in round 2. The first code panel and self-review found read-only label options on the write path and missing coverage for ownership races. The second code round identified a fixture condition and clarified what
closesPlanreturns. Commits4aaf78f74eanddc3104a6bbaddress the findings.Code review passed in round 3 on
dc3104a6bb, with no open findings.Verification
A1–A4:
bun run check:types, targeted lint and formatting, and 182 tests across eight public CLI suites passed atdc3104a6bb3122a6c0991af4d70cb58cd8fb3b88. Cases cover intervening ownership changes, partial identities, malformed unmerged responses, and child-link direction. A5: the authorized ready event started run46557006144on its first attempt. The tested merge21c26cd52e0d2d1bea45142f5c1429bcd28d08a4had base2120ef6eand reviewed headdc3104a6bbas parents. GitHub accepted that run'sFull CIjob and reportedCLEAN.Limits and failures
The complete local
bun run checkis a separate checklist item. A remote result does not count as a local run.Kept resources
On merge: parent #267 and its other child issues. If left open: also this PR, #270 and its linked branch.
After merge
Archive #270 and mark
plan_iodone in #267. No release or deployment.Checklist
bun run checkpasses locally: not run in full.bun run check:typespasses.Full CIpasses.Closes #270