You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Contract fields for a linked child's secret requests and 'unknown'; a secret ends a wait (seam PR, #808) #817
What: a seam PR on packages/contracts/src/orchestratorMcp.ts (an upstream file) so a linked child's prompts are real fields, not only text in next.
OrchestratorMcpDelegateTaskResult gets two optional fields:
pendingSecretRequests: itemId, label and reason (never a value), with the same caps and folding as fork/remoteTaskPrompts.ts (label 80, reason 300, one line, ids on the strict pattern).
An "unknown" marker, e.g. promptsKnown: false, when the machine there cannot be asked (unlinked, unreachable, older, refused). Today hasPendingQuestion: false / pendingApproval: null plus a next saying "unknown" is the only signal.
It also adds a fork seat in upstream's endsTaskWait (apps/server/src/mcp/OrchestratorMcpService.ts), so that a secret request ends a blocking wait.
Why: a blocking wait cannot end on a secret today. After the #815 fix round, a secret always goes to the parent as a queued message, and the wait never gets it. Once this lands, the watcher (fork/remoteTaskPromptWakes.ts) can hand secrets to a live wait too, as it does for questions and approvals.
How: follow the seam steps in docs/fork/updates.md. Do a list-only PR first if the file has to move or gain lines, then the change. Keep the fork lines at one seat call each.
Notes for step 2 (from #968 item 4): merge by 2026-12-06 or re-date the announcement (since 2026-11-22, 14 days); forkOrchestratorMcp.ts must not import values from orchestratorMcp.ts (a circular import would spread undefined); delegateChecks.seatOrder.test.ts reads the service text and will need an update; usagePacingNote could move into the new fork fields.
Activity
fork seams: move orchestratorMcp.ts and OrchestratorMcpService.ts to …
scuttletoby commentedon Nov 22, 2026
Notes for step 2 (from #968 item 4): merge by 2026-12-06 or re-date the announcement (
since2026-11-22, 14 days);forkOrchestratorMcp.tsmust not import values fromorchestratorMcp.ts(a circular import would spreadundefined);delegateChecks.seatOrder.test.tsreads the service text and will need an update;usagePacingNotecould move into the new fork fields.🤖 Generated with Claude Code