Repository navigation
fix(server): workflow ceilings, stop run picks, subagent waits and review-guide settings (batch 1855 core) - #747
Merged
Conversation
trancong12102
force-pushed
the
fix/batch-1855-server-core
branch
from
November 24, 2026 12:57
9721e72 to
52fd9c5
Compare
…nd review guides - Workflow agent steps on a linked environment carry this machine's runtime-mode ceiling. - An async-question answer with only files keeps its answer; files follow question order and unknown question ids are dropped. - Stop, Force stop, background-work checks and settlement pick the run that ran last, not the highest ordinal. - Claude: a foreground sleep timer moved to the background counts as awaited, judged on the whole command rather than its preview. - Grok: a blocking output poll marks the child awaited; Codex: a wait on an earlier run's child counts for the waiting run (optional awaitedByRunId). - Claude review guides read user settings and the model route from the project, not the PR checkout. - pull_request_review reports a moved head before an unplaceable line; evals accept SHA prefixes like the product. - Favicon lookup skips names the filesystem rejects; HTTP readiness bounds and caps the body. - Deterministic test for the Resume-behind-promoted-steer race; ProjectionStore lint warning. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ss cap, evals SHA rules - Stop's old-server fallback, thread.settle and idle compaction judge the run that ran last or the server's own rule for queued follow-ups. - Grok waits read the canonical tool name and treat a null timeout as absent; each update replaces a call's waits, a settled continuation prompt clears them, and terminal subagents drop awaitedByRunId. - Readiness probes read the body again (capped to 64 KiB exactly) inside the per-probe timeout. - The evals harness refuses a missing or blank merge SHA like the product. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…uns from the store Council round 2: the service's records query asked for the highest-ordinal run and left out queued and waiting runs, so the run-picking fix never saw them against the real store. Grok's canonical tool name falls back to the title when the metadata name is blank. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
trancong12102
force-pushed
the
fix/batch-1855-server-core
branch
from
November 24, 2026 13:13
52fd9c5 to
32f9a33
Compare
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.
Follow-ups queued from the upstream syncs of 2026-11-24 and from Batch fix 1352, shared server core and orchestration group.
Problems and fixes
WorkflowAgentLinkshardcodedfull-accesslimits. Link calls now carry this machine'slimits.maxRuntimeMode; the peer's link access still bounds them.answerslost their recorded answer, and files followed client key order (unknown question ids still went out). The answer is recorded when either is present; files go out in question order; unknown ids are dropped (message-capability requests).thread.settleand idle compaction picked runs by ordinal tail, so a steered (cancelled-before-start) tail or a resumed older run made them act on the wrong run. They now uselatestExecutedRun/runRanAfter. The client's Stop fallback for servers withoutthreadStopkeeps those servers' own rule but no longer trips on a queued follow-up.IdleCompactionServicenow asks the store for the run that ran last plus queued/waiting runs.sleeptimer Claude moved to the background was never awaited, and the timer check read the 1,000-char preview. The roster path now marks it awaited, judged on the whole command.get_command_or_subagent_output(positivetimeout_ms) orwait_commands_or_subagentsmarks the child awaited while the call runs (canonical name read from_meta["x.ai/tool"], null timeout = absent), cleared on return, turn end and prompt settle. A new optionalOrchestrationV2Subagent.awaitedByRunId(absent from older servers) lets desktop and mobile count an earlier run's children that the live run waits on, from the projection's subagents, without a timeline scan.CLAUDE_CONFIG_DIRresolves there.pull_request_reviewblamed the diff when the head had moved; it now reports the moved head. The evals harness accepts SHA prefixes like the product (isHeadShamoved to@onicode/shared/git) and refuses missing or blank SHAs as the schemas do.spawn_depth. ProjectionStoreno-unmodified-loop-conditionwarning fixed.Every new test row was run against the code without its fix and failed.
Council review (Antigravity Gemini 4 Neon, xhigh)
Round 1:
runs.at(-1): fixed for the queued-follow-up case; kept the old server's own run rule because any other id is refused by those servers ("not interruptible").thread.settlepassed the ordinal tail: fixed (latestExecutedRun), row in runtimeLayer.test.ts.IdleCompactionand the service's takeover check.timeout_ms: nulland display titles: fixed, rows from recorded frames.settlePrompthelper used by both deferral paths.awaitedByRunId: fixed (row "the poll drops its timeout").accept.TaskOutputpolling was skipped on purpose: yes, Claude Code removedTaskOutput(2.1.331 binary, SDK 0.3.329 types).Round 2:
IdleCompactionServicestill queriedincludeLatestRunwithout queued/waiting statuses: fixed; the service test's store mock now filters like the store, and the new row fails without the fix.orElseSucceedalso hides a mid-body reset for callers withoutaccept: not changed. Readiness for them is a 200 response; a body reset after headers does not make the server less ready, and callers withacceptstill retry on the empty body.settlePrompton a deferred Grok turn or a child ending while awaited: left untested; the mock flavor does not defer finalization and adding that harness path is large. Both settle paths share one helper.Rejected after triage
hasCommit: those forges have no "is this commit in this PR" endpoint; maintainer policy adapts only GitHub and GitLab.runInBackgroundchildren as a successful task call and the adapter marks them completed), but fixing it needs a recorded Cursor stream of child completion; no Cursor CLI or account on this machine. Queued.MuseItem,canWaitForSubagents: false). Hard limit.Model and harness: Claude Opus 5.5 in Claude Code (Onicode), Antigravity Gemini 4 Neon for council review.
🤖 Generated with Claude Code