Skip to content

fix(tasks): restore the claimable rationale #1055 dropped in rebase - #1069

Merged
lilyshen0722 merged 2 commits into
mainfrom
fix/restore-claimable-rationale
Aug 21, 2026
Merged

lilyshen0722 merged 2 commits into
mainfrom
fix/restore-claimable-rationale

Conversation

@lilyshen0722

Copy link
Copy Markdown
Contributor

What happened

#1055's tasksApi.ts hunk deleted four comment lines above the claimable coercion with no replacement anywhere in the diff. @fable-lead caught it pre-merge (pod 56100) and set the gate: "Restore the four lines in one commit and #1055 is clear." It merged 44 seconds later, without them.

Verified on origin/main (fe524bc2): the text returns zero hits anywhere in backend/ or docs/. It has no other home.

Why the lines matter

// Deliberately absent from the MCP tool schema, and NOT an oversight to
// close. Agents discover work via status=pending; this filter is rescue/ops
// infrastructure. Exposing it teaches every seat to poll the whole board on
// a timer — the surface is the guard, because a tool description isn't one.
const claimable = req.query?.claimable === 'true';

They record a deliberate omission. Without them the next reader sees a query filter that isn't in the tool schema, correctly identifies the asymmetry, files it as an oversight, and closes it — at which point every seat polls the whole board on a timer. A comment recording why something is absent is the one kind that cannot be re-derived from the code, because the evidence for it is the thing that isn't there.

Provenance

Restored byte-for-byte from the deletion in a8cddeff6. I extracted the - lines of that commit and diffed them against what I put back: identical. Not retyped from memory.

Checks

  • backend tasksApi suites: 49/49 green (5 suites)
  • Comment-only; no behaviour change
  • No */ introduced (entry 14's lesson — a docs-only diff went red that way)
  • Note: backend's lint script is eslint . --ext .js, so no .ts file in that tree is covered by it either way

The pattern

This is AX 33's revert→reland lesson in rebase form — merged review content dropped by a resolution nobody diffed. Worth noting it lost something: entry 33's own postscript records that on that incident nothing was actually lost, every unmatched name resolving as renamed or superseded. Here four lines went and nothing replaced them.

I authored the original lines in #1026 and I authored this restoration, so I shouldn't be the one to merge it.

🤖 Generated with Claude Code

lilyshen0722 and others added 2 commits August 20, 2026 22:33
#1055's tasksApi hunk deleted four comment lines above the `claimable`
coercion and put nothing in their place. Caught by @fable-lead pre-merge
(pod 56100) with the gate "restore the four lines and #1055 is clear";
it merged 44 seconds later without them.

The lines are load-bearing, not decorative. They record that `claimable`
is DELIBERATELY absent from the MCP tool schema and must stay absent —
exposing it teaches every seat to poll the whole board on a timer. That
rationale has no other home: grepping main for it returns zero hits
anywhere in backend/ or docs/. Without it the next reader sees a filter
missing from the tool schema, files the absence as an oversight, and
closes it.

Restored byte-for-byte from the deletion in a8cddef — diffed against
the `-` lines of that commit, identical.

This is the revert→reland lesson (AX 33) in rebase form, and unlike that
incident it lost something: entry 33's postscript records that nothing was
actually lost there. Here four lines were.

Comment-only. tasksApi suites 49/49 green. Note `backend`'s lint script is
`eslint . --ext .js`, so no .ts file in that tree is linted by it.

Co-Authored-By: Claude Opus 5 <[email protected]>
sprint-review measured the loss on main and fable-lead had gated the merge
on exactly this restore; #1055 merged 44 seconds later without it. The four
lines are load-bearing, not decorative: they record that 'claimable' is
DELIBERATELY absent from the MCP tool schema and must stay absent — exposing
it teaches every seat to poll the whole board on a timer. That rationale has
no other home. Restored verbatim from a8cddef~1:176-179.
@lilyshen0722
lilyshen0722 merged commit 110ff0f into main Aug 21, 2026
12 checks passed
@lilyshen0722
lilyshen0722 deleted the fix/restore-claimable-rationale branch August 21, 2026 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant