Repository navigation
fix(orchestration): close Spectrum and Run group gaps - #645
Conversation
|
What: Independent source review found no blocking findings for Reviewed exact base No blocking findings:
Evidence limits: No tests, installs, builds or servers were run during this review, per the memory-pressure constraint. The supplied failing-before outcomes are consistent with the base code and regression assertions; the reported focused results (21/27/15), 202 changed-scope tests and 36 affected typechecks are parent-provided execution evidence, not independently rerun results. GitHub currently confirms successful Lint and Fork Stack Model checks on this exact SHA; full CI is still running. Source review does not claim full-suite success. Requirements and who asked: User and Issue #515 require the three focused acceptance fixes and independent exact-SHA review. Reviewer model: gpt-6.1-sol. Harness: Codex. Verdict: no blocking findings for |
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
3e8d01f to
1032ba2
Compare
|
What: Fresh independent source review found no blocking findings for Reviewed new base Verdict: no blocking findings on the new head.
Evidence limits: This was source-only review. No tests, builds, installs, servers, extra agents, process cleanup or Git mutations were performed. The reported fresh focused results (21/27/15), serial changed-scope gate (202 tests and 36 affected typechecks) and fork guard are coordinator-provided execution evidence, not independently rerun results. The original failing-before evidence remains on Issue #515; the regression assertions and original base code support those failure mechanisms. GitHub currently shows successful Lint, Fork Stack Model, native fingerprint and Release Smoke checks, with build/typecheck and test jobs still running. This review does not claim full CI success and does not authorize a merge. Requirements and who asked: User and Issue #515 require the three acceptance fixes, preservation of both sides of the rebase and a fresh independent verdict on the exact new head. Reviewer model: gpt-6.1-sol. Harness: Codex. |
What: Fix the three Spectrum and Run group acceptance gaps in #515.
Why: Project decoding froze inherited Spectrum fields, Run groups skipped local project validation, and a failed first refresh could strand a settled report.
So what: The coordinator merges under the user's existing approval after CI and fresh exact-head independent review pass.
Closes #515.
Change
target.projectIdbefore Run group admission or receipt replay, with the same error as single-task delegation.These changes support the Objective's working Spectrum council/free modes. The shared settings resolution applies to all clients and server launches; Run group admission is in the MCP service, and wake recovery is provider independent. No client UI, provider protocol, wire method, version, installation, or live-userdata changes. Website impact: none.
Proof
Each defect had a failing test before its production fix. Baseline evidence and the upstream search are recorded on the Issue.
Run separately, one test file at a time:
pnpm exec vp test run packages/shared/src/projectSettings.test.ts: 21 passed. The baseline returnedcouncil / 2 / 3instead of environmentfree / 5 / 7; the fix also preserves later environment changes, slots-only overrides, explicit mode, empty slots and null White.pnpm exec vp test run apps/server/src/mcp/RunGroups.integration.test.ts: 27 passed. Rejects a foreign project without creating children, admits the caller's explicit project, and rejects a foreign-project retry of an existing group.pnpm exec vp test run apps/server/src/spectrum/wakes.integration.test.ts: 15 passed. Runtime sequence: settle a report before startup, temporarily make its persisted state unreadable, observeSpectrum watch refresh failed, restore the state without an event, advance TestClock 60 seconds, observe the report dispatched with its original text. Baseline remained unwoken and hit the unchanged project timeout.Fresh verification on rebased head
1032ba22ad1f88c5625879ddaefed8230b6a8fb6, based on live main653c85f22dce389527cc44ff37dd99d9237d3693: the three focused files above passed again, one at a time.VITEST_MAX_WORKERS=1 pnpm exec vp run check:changed --concurrency 1ran once and passed formatting, lint, both Knip checks, GraphQL generation, all 36 affected package typechecks and all 202 tests in 9 files.bash scripts/fork-check.sh --upstream upstreampassed on this exact head. CI owns the full suite; no real provider turns or live-userdata writes were used.The rebase retains sibling PRs #640, #642, #643, #644, #628, #641 and #646. The only conflict was the Spectrum feature-map row, resolved by preserving both
#293and#515.git range-diffconfirms the implementation/regression patch is unchanged, and all eight code/test files are byte-identical to the previous reviewed head. The branch was pushed with an explicit force-with-lease against3e8d01f4d805fcd795e0d9d57fd5bdc301cc515c; fresh independent review is required on the new SHA.Elon record
Requirements and who asked: User and #515 require the three acceptance fixes, focused failing-then-passing regressions, one PR, independent review and no merge.
Deleted: No Spec, version bump, new scheduler, client redesign or unrelated refactor; retain project Spectrum configuration as a partial overlay.
Bottleneck: Faithful regression proof and serial local verification after memory pressure; CI runs the suite.
Checked myself: Read #515 in full with comments, searched upstream main/open PRs/Issues, inspected the real schema/resolver and both delegation paths, reproduced all three failures, and ran each focused file separately.
Model: gpt-6.1-sol. Harness: Codex.