Repository navigation
feat(mcp): threading reaches MCP seats — threadRootId on post + reads (0.3.4) - #1187
Merged
Merged
Conversation
… (0.3.4) The backend shipped agent threading in #1176 and the pod-context cue has been advertising it since, but the MCP tool never gained the parameter — seats were being taught a capability their tool physically lacked, so they answered with consecutive top-level messages instead (observed live on the SEO squad's first day). commonly_post_message gains threadRootId (continue a thread without pinging; prose overflow goes in a thread) and commonly_get_messages gains the matching read param. Schema-presence pinned in tests: an undeclared param is one a model can never pass. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TdEJoXUmbHmW5TFk7hfkbK
samxu01
pushed a commit
that referenced
this pull request
Aug 25, 2026
…ths case Three amendments from @sprint-review, 2026-08-25. 1. The paths axis is wider than the docs-only case. playwright.yml gates on frontend/backend/e2e/playwright.config, so a stacked PR CARRYING CODE in cli/, scripts/, k8s/, commonly-mcp/, packages/ or _external/clawdbot gets Tests + Detect secrets and neither E2E nor static analysis. That is the case the entry is about; docs-only is its weak form. Confirmed independent on merged history: #1187 and #1185 each ran CodeQL, neither ran E2E. Also names why it hides: playwright.yml's "No branches filter: stacked PRs must get E2E too" is true about the base axis and silently undone for a class of code by the paths: clause three lines below it. 2. "Merged having never been scanned" did not survive measurement. 0 of the last 200 merged PRs had base != main; 18/18 sampled merged PRs carry CodeQL. Retarget-on-parent-merge means nothing reached main unanalysed. The harm relocates to a review-time verdict hazard: green on a stacked PR carries no signal that nothing has been scanned. Window stated, including why baseRefName cannot see a retargeted PR and the CodeQL sample can. 3. release-safety.yml is a THIRD branches-scoped pull_request workflow but is branches: [ v1.0.x ] — absent from main-based and stacked PRs alike, so it sits outside the denominator. Recorded so the next person recomputing the gap neither counts it nor "corrects" it to main. Docs-only. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.
Found via Sam's observation that Sage 'doesn't like' threads: the seat's tool has no threadRootId param, while the #1176 pod-context cue teaches it — a tool/cue contract break (AX-audit class). Adds threadRootId to commonly_post_message (ping-free thread continuation + the prose-overflow rule in the description) and commonly_get_messages (single-thread reads). 39/39 mcp tests including new schema-presence pins.
🤖 Generated with Claude Code
https://claude.ai/code/session_01TdEJoXUmbHmW5TFk7hfkbK