Skip to content

feat(auth): confirm default account switch with only-new or also-active choice - #1487

Open
AlekShu wants to merge 28 commits into
mainfrom
feature/set-default-confirm
Open

AlekShu wants to merge 28 commits into
mainfrom
feature/set-default-confirm

Conversation

@AlekShu

@AlekShu AlekShu commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

DESCRIPTION

  • Confirm which sessions move when changing the default Claude or Codex account. New sessions use the replacement; running Auto sessions keep their account unless migration is selected. Pinned sessions keep theirs.
  • Open Accounts from More. Keep confirmation and its pending request alive when the Accounts panel dismisses; restore the Accounts error and allow retry after failure.
  • Prepared for 4aee49e against fb12409. The inherited footer layout and diagnostics belong to the base.

CONFIG

  • No new persistent configuration keys. “Only new sessions” is preselected; “Also switch active sessions” is explicit. Pinned and stopped sessions are excluded from migration.
  • Omitting migration preserves default-only behavior. Supplying the migration choice requires a replacement default account. With no eligible running Auto session, switching applies without a confirmation dialog.

CORE

  • StatusBar’s persistent MoreSlot owns one pool mutation and SetDefaultDialog outside the dismissible Accounts panel. The incoming More → Accounts navigation and pinned panel remain intact.
  • SessionService rechecks eligible running Auto sessions under each session lock, counts actual account changes, and preserves concurrent pin/stop decisions. Per-session failures do not abort the remaining switches.
  • AuthProxy keeps existing Auto bindings across default changes; explicit migration selects the replacement default.
  • PATCH /auth-pools/:provider accepts applyToActive, defaults it to false, requires non-null defaultAccountId whenever applyToActive is supplied, and returns pool plus moved. The web proxy forwards this contract. The CLI adds --apply-to-active to spur auth pool --default; failed per-session switches emit session.auth.switch_failed.
  • Contract and notice fixtures retain owned temporary artifacts and selected workspace inputs. Their isolation changes do not alter production configuration defaults.

FLOW

  • Open More, choose Accounts, then select a replacement. When running Auto sessions would move, inspect the active and pinned counts and confirm the scope. Cancellation sends no update.
  • Confirmation remains mounted after touch dismissal of Accounts. While pending, repeated confirmation, cancellation, and Escape do not interrupt or duplicate the request. Failure closes confirmation, restores the Accounts error, and allows a fresh attempt.
  • New sessions use the new default. Selected active Auto sessions move on their next request; pinned sessions keep their account. Leaving the pinned Accounts panel by pointer does not reproduce the historical unpinned-hover dismissal flow.

PROMPTS

  • Code-review startup and evidence instructions change in all three reviewer definitions; both mirrored review contracts receive the corresponding clarification. These are the complete literal changed lines against fb12409 at 4aee49e. They grant no replacement trust, consent, or merge authority.

  • Both Markdown reviewer definitions share this change:

    -  2  Start immediately on available diff: `git diff origin/HEAD...HEAD`; read spec Acceptance criteria, Verification, Invariants; inspect changed code and direct callers.
    +  2  Start open-PR code inspection on available diff: `git diff origin/HEAD...HEAD`; check changed code/direct callers against spec Acceptance criteria, Verification, Invariants.
    -  6  Never inspect, query or wait for CI; pending, failing or absent CI never blocks verdict/publication or counts as missing evidence.
    -     Require live/browser rows only for actual runtime/UI-flow changes; prompt/docs/tooling changes receive static review. Missing required lane evidence blocks affected approval; preserve available findings.
    +  6  Never inspect, query or wait for CI; pending/failing/missing CI never blocks inspection, code verdict or publication.
    +     Treat "Required review checks incomplete" as generic, not CI evidence or start prerequisite. Name actual missing own code/manual evidence or publisher capability; preserve independent findings/verdict.
    +     Require live/browser rows only for runtime/UI-flow changes; review prompts/docs/tooling statically. Missing own evidence blocks affected approval.
  • The TOML reviewer definition carries the same instructions without Markdown backticks:

    -  2  Start immediately on available diff: git diff origin/HEAD...HEAD; read spec Acceptance criteria, Verification, Invariants; inspect changed code and direct callers.
    +  2  Start open-PR code inspection on available diff: git diff origin/HEAD...HEAD; check changed code/direct callers against spec Acceptance criteria, Verification, Invariants.
    -  6  Never inspect, query or wait for CI; pending, failing or absent CI never blocks verdict/publication or counts as missing evidence.
    -     Require live/browser rows only for actual runtime/UI-flow changes; prompt/docs/tooling changes receive static review. Missing required lane evidence blocks affected approval; preserve available findings.
    +  6  Never inspect, query or wait for CI; pending/failing/missing CI never blocks inspection, code verdict or publication.
    +     Treat "Required review checks incomplete" as generic, not CI evidence or start prerequisite. Name actual missing own code/manual evidence or publisher capability; preserve independent findings/verdict.
    +     Require live/browser rows only for runtime/UI-flow changes; review prompts/docs/tooling statically. Missing own evidence blocks affected approval.
  • Both mirrored review contracts share this change:

    -  Start review immediately on available diff; keep reviewers independent and prohibit source edits. Permit checkout/evidence writes.
    -  Never inspect, query or wait for CI in review lanes; never return CI-only BLOCKED. Preserve CI at owner action gate.
    +  Start open-PR code inspection on available diff; keep reviewers independent. Prohibit source edits; permit checkout/evidence writes.
    +  Never inspect, query or wait for CI; pending/failing/missing CI never blocks inspection, code verdict or publication. Preserve CI at owner action gate.
    +  Treat "Required review checks incomplete" as generic, not CI evidence or start prerequisite. Disclose actual code/manual/publisher blocker; preserve independent findings/verdict and required own evidence.

BEFORE / DESIGN / AFTER

  • Current visual evidence is EVIDENCE MISSING. Required conditions include desktop/mobile, dark/light, and pointer/touch/keyboard where applicable. Exact viewport dimensions, matching fixture bindings, and an approved design snapshot are not supplied; no rendered comparison is claimed.
Current source-state inventory — captures and approved design missing
State / viewport / theme / input / interaction BEFORE fb12409 DESIGN reference AFTER 4aee49e
S01: More closed/open; desktop/mobile, dark/light; pointer/touch/keyboard opens More EVIDENCE MISSING EVIDENCE MISSING EVIDENCE MISSING
S02: pinned Accounts ready; desktop/mobile, dark/light; choose Accounts and inspect provider rows EVIDENCE MISSING EVIDENCE MISSING EVIDENCE MISSING
S03: Accounts loading, empty, or load failure/retry; desktop/mobile, dark/light; open Accounts EVIDENCE MISSING EVIDENCE MISSING EVIDENCE MISSING
S04: immediate switch with no eligible active Auto session; desktop/mobile, dark/light; choose replacement EVIDENCE MISSING EVIDENCE MISSING EVIDENCE MISSING
S05: confirmation with Only new sessions preselected; desktop/mobile, dark/light; choose replacement with eligible sessions Absent in base source; rendered evidence missing EVIDENCE MISSING EVIDENCE MISSING
S06: Also switch active sessions selected; desktop/mobile, dark/light; change scope Absent in base source; rendered evidence missing EVIDENCE MISSING EVIDENCE MISSING
S07: destination identity, optional secondary identity/quota, and optional replacement label; desktop/mobile, dark/light; inspect confirmation Absent in base source; rendered evidence missing EVIDENCE MISSING EVIDENCE MISSING
S08: zero/one/multiple pinned sessions and active counts; desktop/mobile, dark/light; inspect confirmation Absent in base source; rendered evidence missing EVIDENCE MISSING EVIDENCE MISSING
S09: idle Cancel, close, Escape, or backdrop dismissal; desktop/mobile, dark/light; dismiss without update Absent in base source; rendered evidence missing EVIDENCE MISSING EVIDENCE MISSING
S10: touch dismisses Accounts while confirmation remains; mobile, dark/light; touch a scope choice Absent in base source; rendered evidence missing EVIDENCE MISSING EVIDENCE MISSING
S11: pending confirmation, disabled controls, Escape and duplicate activation; desktop/mobile, dark/light; hold response Absent in base source; rendered evidence missing EVIDENCE MISSING EVIDENCE MISSING
S12: failed update restores Accounts error; desktop/mobile, dark/light; reject after panel dismissal EVIDENCE MISSING EVIDENCE MISSING EVIDENCE MISSING
S13: retry clears error and opens fresh confirmation; desktop/mobile, dark/light; choose replacement again EVIDENCE MISSING EVIDENCE MISSING EVIDENCE MISSING
S14: pointer leaves pinned Accounts for confirmation; desktop, dark/light; leave account row EVIDENCE MISSING EVIDENCE MISSING EVIDENCE MISSING
S15: focus entry/restoration and dialog layering; desktop/mobile, dark/light; keyboard and touch confirmation/dismissal EVIDENCE MISSING EVIDENCE MISSING EVIDENCE MISSING
S16: existing account removal, sign-in, rotation, and provider error projection; desktop/mobile, dark/light; exercise adjacent panel actions EVIDENCE MISSING EVIDENCE MISSING EVIDENCE MISSING
Historical fixture pictures retained — earlier revisions only

These mocked-request captures compare c8fe8c9 with c823b2f. They are neither current-base/current-head captures nor approved design snapshots. Their presence proves no current browser QA. The old unpinned-hover entry is unreachable through the current pinned Accounts navigation; its historical proof is not transferred.

Historical state / supplied conditions BEFORE historical c8fe8c9 DESIGN AFTER historical c823b2f
Footer menu, two accounts per provider, desktop dark; exact viewport/input not bound here Historical footer before EVIDENCE MISSING Historical footer after
Footer menu, mobile light; exact viewport/input not bound here Historical mobile footer before EVIDENCE MISSING Historical mobile footer after
Only new sessions selected, desktop dark; exact viewport/input not bound here Historical base had no confirmation EVIDENCE MISSING Historical new-sessions desktop
Only new sessions selected, mobile light; exact viewport/input not bound here Historical base had no confirmation EVIDENCE MISSING Historical new-sessions mobile
Also switch active sessions selected, desktop dark; exact viewport/input not bound here Historical base had no confirmation EVIDENCE MISSING Historical active-sessions desktop
Also switch active sessions selected, mobile light; exact viewport/input not bound here Historical base had no confirmation EVIDENCE MISSING Historical active-sessions mobile
No active Auto sessions, immediate switch, desktop dark; exact viewport/input not bound here Historical immediate desktop before EVIDENCE MISSING Historical immediate desktop after
No active Auto sessions, immediate switch, mobile light; exact viewport/input not bound here Historical immediate mobile before EVIDENCE MISSING Historical immediate mobile after

DESIGN CONFORMANCE

  • Reference/version: no bound approved screenshot reference supplied for this merged head; historical implementation captures above are not design approvals. Matching current design approval/scope remains missing.
  • Compared head: 4aee49e; status: EVIDENCE MISSING. No claim of pixel parity, zero deviations, or current browser acceptance.
  • D01; states S01–S04, S12–S16; expected: the inherited More and pinned Accounts behavior; actual: preserved in source, without matched rendered evidence; disposition: retain the current comparison gap and human hold; approval/proof: not supplied; status: EVIDENCE MISSING.
  • D02; states S05–S11, S15; expected: confirmation scope, counts, focus and pending behavior against the actual approved design; actual: implemented source and mocked unit results, with no bound design snapshot or current captures; disposition: keep design/visual acceptance unresolved; approval/proof: not supplied; status: EVIDENCE MISSING.
  • D03; historical unpinned-hover state; expected: no transfer of an obsolete interaction proof; actual: current Accounts entry is pinned; disposition: retain old captures as historical only; approval/proof: source classification, no current rendered proof; status: EVIDENCE MISSING.

DECISIONS

Decision Alternative Why
Default to new sessions only Move running Auto sessions on every default change Keep running work on its selected account unless migration is explicit.
Recheck eligibility per session Rebind all sessions in bulk Preserve concurrent pin and stop decisions and count actual moves.
Keep one request and confirmation outside panel lifetime Tie confirmation to the dismissible panel Panel dismissal must not lose selection or duplicate a pending request.

RISKS

  • Medium — active migration spans per-session switches and can partially succeed.
  • Medium — current rendered, design, real-provider and native approval evidence is missing; mocked unit results do not prove live routing or visual conformance.

VERIFIED

  • Publication follow-up at 4aee49e / fb12409: Quality failed on the inherited unused-import error tracked in fix(web): unused KebabIcon import blocks the official release #1578; E2E, Runtime and Smoke were skipped. The affected component is byte-identical to main. No CI pass is claimed. At 2026-12-06 02:31 UTC, both current trusted review receipts were BLOCKED on missing current UI/auth-routing/design evidence, without a native approval for this head. Narrow functional UI evidence is being prepared; it is not a completed proof or a replacement for the retained design, real-provider and protected-consent holds.
  • Local commit 4aee49e has tree 4ca61c90f23af5205aa7aea5c83e3c612e80b41f and ordered parents d4304f3, then fb12409. The committed entries match the approved index and the checkout is clean. This is local source custody, not publication or merge approval.
  • Pinned formatting covered seven final files and original-policy parsing lint covered five: both passed, with zero lint errors and one source-mapped inherited warning. The sole format write preserved structural syntax and all 16 ordered comments. No validation replay followed the commit.
  • One full unfiltered account-menu unit invocation ran against these final source bytes. A separately authorized artifact-only review qualified all 51 cases passed, with zero failed, pending or todo cases. Zero Vitest-recorded unhandled errors is inferred from pinned normal error policy and child exit0, not an emitted JSON counter or a universal error-free claim.
  • Preserve the original unit collector as UNKNOWN with its one attempt spent: the subject exited0 and drained, but its JSON reporter wrote a file while the collector expected streamed JSON. The missing pre-write baseline and unexpected owned report write remain disclosed. The separate 51-case qualification does not rewrite that collector result; no test was rerun to repair collection.
  • One actual staged secret scan passed with exit0 and zero findings under the complete unchanged policy and ignore rules, bound to the approved precommit index. Its private report and logs remain retained. Configured generated hooks were absent; no hook bootstrap, override, or generated-hook execution is claimed.
  • Historical at d4304f3: 50 contract cases including eight owned-router cases, 28 diagnostics cases, 48 account-menu cases and 2405 design-system cases passed. The 16 enumerated retained contract inputs are byte-equal in the current tree; those historical suites were not rerun for this merge.
  • Historical at 7d020b1: 49 contract cases and two notice cases passed, with 3316 other notice cases filtered/skipped; scoped quality passed with 67 inherited warnings. Earlier formatter failures, the earlier loader failure before collection, corrective generations, and the later preflight guard stops remain preserved with their original revisions.
  • Historical at 9227120: 26 auth-login cases, eight mocked initialization cases and one selected pool case passed; 24 other pool cases were unselected. Earlier artifact-cleanup runtime evidence used a private overlay and supplied no official green build or live account-routing proof.
  • Historical router checks observed eight zero post-start delivery assertions; runtime exclusion counts were not measured, startup auth recovery was excluded, and complete late-callback history was not proved. These limits remain separate from current unit results.
  • A sanitized validation summary is prepared separately and has no new public attachment URL. No new image upload, browser/provider/profile execution, current CI result, designated native approval, feature/interface acceptance, merge readiness or release authority is claimed. Existing CI failures and attribution gaps are not resolved by this evidence; auto-merge remains off and feature merge remains human-owned.

@spur-code-review

Copy link
Copy Markdown

Code review: pending.

Written by Spur · review-5e26

@spur-ui-tester

Copy link
Copy Markdown

Browser review: pending.

Written by Spur · review-4947

@spur-code-review

Copy link
Copy Markdown

Code review: pending.

Written by Spur · review-5e26

@spur-code-review spur-code-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review Conclusion

Status: CHANGES_REQUESTED

[P2] Revalidate Auto eligibility while holding the per-session migration lock — v2/src/session-service.ts:25667-25669.

The target list comes from an asynchronous companion snapshot. A user can finish pinning one of those sessions before the bulk loop reaches it, but the loop still calls switchAuth(sessionId, null). switchAuth reads the current record and explicitly converts that completed pin back to Auto, violating the pinned-session guarantee. The same stale target can cease running while another switch is pending. Check current provider/mode/running eligibility inside the same lock used for the migration, and skip targets whose binding or lifecycle changed; add a deterministic pin/stop interleaving regression.

Reproduction at this head: capture an Auto companion snapshot, complete switchAuth to a pinned account, then return that snapshot to updateAuthorizationPool(..., true). The source-loaded service with real temporary metadata and tmux presence ended in mode=auto on the new default, generation=3, moved=1. Assertion expected pinned and failed. The companion boundary and unrelated enrichment were fixture controls; this is a service race proof, not full provider integration.

Checks: session-service default tests 4 passed; server-auth-accounts, cli-spawn and mcp-contracts 88 passed; auth-accounts-menu 45 passed; targeted companion default-retention/removal/explicit-switch tests passed. Existing checks do not cover the interleaving above.

Requirements: default retention, request validation, CLI forwarding, dialog scope defaults and ordinary migration variants covered. Pinned-session preservation during migration is not satisfied.

Evidence: S1 companion binding retention/reopen/explicit switch; S2 service scope/count/failure variants; S3 HTTP/CLI contracts; S4 component confirm/cancel/count cases passed. S2-RACE failed with the pin-loss sequence above. Exclusions: full provider integration, UI browser proof, unrelated providers, full suites/build/typecheck/lint/e2e. A confirmed defect determines this verdict; these exclusions are not approval claims.

Interface: required — UI dialog, CLI flag/output, API input/output, default-binding semantics and failure event changed. No matching consent evidence supplied in this lane; no exemption claimed.

Lane: code
Session: review-5e26
Attempt: code-c823b2fc-20261118
H: c823b2f
B: c8fe8c9
Contract digest: 7c11aa85ed61b2dcdd4d717a45f8a4678cf16df27e1e2c5b219708d24e290702
Objections: bulk migration overwrites a completed concurrent pin.
Conclusion: preserve current per-session selection/lifecycle at the migration lock before re-review.

Written by Spur · review-5e26

Spur review attempt: code-c823b2fc-20261118
Lane: code
H: c823b2f
B: c8fe8c9
ContractDigest: 7c11aa85ed61b2dcdd4d717a45f8a4678cf16df27e1e2c5b219708d24e290702
Status: CHANGES_REQUESTED
Scenario evidence: [{"status":"passed","evidence":"S1: targeted companion default retention, reopen, explicit switch and removed-account checks passed"},{"status":"passed","evidence":"S2/S3/S4: 4 service default cases, 88 HTTP/CLI/contract cases, 45 web component cases passed"},{"status":"failed","evidence":"S2-RACE: source-loaded service overwrote completed concurrent pinned selection with Auto during bulk default migration; actual auto expected pinned"}]
Coverage: null

Written by Spur · review-5e26

@spur-code-review

Copy link
Copy Markdown

Code review: changes requested — See the native review.

Written by Spur · review-5e26

@spur-ui-tester

Copy link
Copy Markdown

Browser review: blocked — Required review checks incomplete.

Written by Spur · review-4947

@spur-code-review

Copy link
Copy Markdown

Code review: pending.

Written by Spur · review-5e26

@spur-ui-tester

Copy link
Copy Markdown

Browser review: pending.

Written by Spur · review-4947

@spur-code-review

Copy link
Copy Markdown

Code review: pending.

Written by Spur · review-5e26

@spur-code-review spur-code-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review Conclusion

Status: CHANGES_REQUESTED

[P2] Refresh the reviewed contract fingerprint after the service fix — v2/test/fast/mcp-contracts.test.ts:31.

The two service-fix commits change the TypeScript AST used by contractFingerprint, but the expected session-service.ts digest still pins the preceding implementation. Running the named mcp-contracts.test.ts at this head fails pins reviewed parser and referenced DTO AST: session-service.ts: expected 5bc5d63dcc16e95c8ddb87dd41d6cf818a19b7c75a4bc8c1c85401291deb99b4, received 07094aff1619d1c0d1cb3d7c75b037e4d11b47ff7f7e71c0e3c7cb7e800f8cef. The helper hashes the printed source AST, including the new private types and methods. Review daemon-contracts.ts against the service signatures/DTOs, update the pin to the reviewed source, then rerun this named test. This is an attributable local test failure; no CI state was queried.

Prior pin-loss objection: resolved. Eligibility is rechecked under the existing pane and lifecycle locks before companion registration. A skipped target returns before write, ping and switched-event emission. The public switchAuth caller still receives SessionView.

Checks: 55 affected session-service authorization/switchAuth cases passed. server-auth-accounts and mcp-contracts produced 62 passed, 1 failed (the fingerprint above). The original source-loaded pin-loss probe now passes with pinned selection retained and moved=0. An expanded source-loaded probe uses current SessionService, real temporary metadata, real tmux presence and the real pane/lifecycle locks; Claude/Codex pin-after-snapshot, stop-after-snapshot, ordinary active migration and only-new variants pass. Skipped targets keep their record and produce no bulk registration/write/ping/event; moved excludes skips. Companion replies and unrelated enrichment are controlled fixtures; no real provider calls or full provider integration claimed.

Delta: only session-service.ts and session-service.test.ts changed from the prior evidenced head. Retain prior companion retention/reopen/removal/explicit-switch, CLI flag and web confirmation evidence because those implementations and direct callers did not change. Re-executed affected service/HTTP boundaries. Exclusions: UI browser proof, real provider integration, full suites/build/typecheck/lint/e2e and unrelated providers.

Interface: required for the feature UI/CLI/API/workflow surfaces; unchanged manifest retained, all 23 changed paths classified. These two fix commits preserve the proposed public feature semantics. Operator authorization remains separate; no consent or exemption inferred from this code review.

Lane: code
Session: review-5e26
Attempt: code-22c880b3-20261119
H: 22c880b
B: c8fe8c9
Contract digest: 7c11aa85ed61b2dcdd4d717a45f8a4678cf16df27e1e2c5b219708d24e290702
Objections: named contract-fingerprint check fails against the changed service source.
Conclusion: runtime pin/stop fixes pass; refresh the reviewed contract pin before approval.

Written by Spur · review-5e26

Spur review attempt: code-22c880b3-20261119
Lane: code
H: 22c880b
B: c8fe8c9
ContractDigest: 7c11aa85ed61b2dcdd4d717a45f8a4678cf16df27e1e2c5b219708d24e290702
Status: CHANGES_REQUESTED
Scenario evidence: [{"status":"passed","evidence":"D1/D2: source-loaded original pin probe plus real-lock Claude/Codex pin/stop/ordinary/only-new variants pass; skipped targets retain records and emit no migration side effects"},{"status":"passed","evidence":"D3: 55 affected service cases and 62 HTTP/contract checks pass; unchanged companion/CLI/UI evidence retained from prior head with unchanged-boundary rationale"},{"status":"failed","evidence":"D3-CONTRACT: mcp-contracts.test.ts session-service AST fingerprint remains5bc5d63d but current source hashes07094aff; attributable named-check failure"}]
Coverage: null

Written by Spur · review-5e26

@spur-code-review

Copy link
Copy Markdown

Code review: changes requested — See the native review.

Written by Spur · review-5e26

@spur-ui-tester

Copy link
Copy Markdown

Browser review: pending.

Written by Spur · review-4947

@spur-ui-tester spur-ui-tester Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Browser QA Conclusion

Status: CHANGES_REQUESTED

[P2] Count movement against the binding observed under the switch lock.

At v2/src/session-service.ts:25720, moved compares the result with the earlier companion snapshot. If a per-session Auto switch reaches the new default after that snapshot, bulk migration invokes the companion again from b to b and increments moved to 1 although this migration changed no effective account. Compare the locked pre-switch effective account with the resulting account, or skip sessions already on the selected default while holding the same lock. Add an Auto-switch interleaving regression beside the pin/stop cases.

Independent current-source probe: capture Auto on a; complete public switchAuth(null) to new default b; resume bulk default migration. Actual bulk switch b -> b, generation advances, moved=1. Expected moved=0. Real temporary metadata, private tmux and original pane/lifecycle locks were used; companion registration and unrelated enrichment were controlled fixtures. The assertion failed. Concurrent pin/stop probes passed with moved=0, no bulk companion call and unchanged records.

Checks: session-service.test.ts authorization/switchAuth/default cases: 105 passed, 3153 skipped. Prior UI rows cover Claude/Codex scope choice, counts, cancel/focus, pending/error, mobile layout and no-active shortcut. All web, companion, CLI, server and AuthProxy paths are byte-identical between prior H c823b2f and current H; changed service boundary received fresh inspection, named checks and the interleaving probe.

Limits: real daemon/companion migration with ready synthetic accounts and local-only provider transport remains unproved; fixture controls are not full provider evidence. No CI, build, typecheck, lint, e2e, source edit or merge. Caller test/approval claims were not treated as evidence or consent. Interface approval remains required; no exemption claimed.

Objections: inaccurate moved count after a completed concurrent Auto selection. Request changes for the demonstrated defect; missing full-runtime proof also prevents approval.

Spur review attempt: browser-1487-22c880b3-1795032507197
Lane: browser
H: 22c880b
B: c8fe8c9
ContractDigest: 7c11aa85ed61b2dcdd4d717a45f8a4678cf16df27e1e2c5b219708d24e290702
Status: CHANGES_REQUESTED
Scenario evidence: [{"status":"passed","evidence":"Exact-H session-service.test.ts named authorization/switchAuth/default cases: 105 passed; 3153 skipped."},{"status":"passed","evidence":"Independent current-source probe with real locks/metadata/private tmux: concurrent pin and stop retained, no bulk switch or record write, moved=0."},{"status":"failed","evidence":"Independent current-source Auto interleaving: stale snapshot a, completed switchAuth(null) to b, bulk b->b; actual moved=1, expected0. Assertion failed."},{"status":"passed","evidence":"Prior browser UI evidence retained only for byte-identical web/companion/CLI/server/AuthProxy boundaries; current service path independently checked. Full daemon/companion migration not claimed."}]
Coverage: null

Written by Spur · review-4947

@spur-ui-tester

Copy link
Copy Markdown

Browser review: changes requested — See the native review.

Written by Spur · review-4947

@spur-code-review

Copy link
Copy Markdown

Code review: pending.

Written by Spur · review-5e26

@spur-ui-tester

Copy link
Copy Markdown

Browser review: pending.

Written by Spur · review-4947

@spur-code-review

Copy link
Copy Markdown

Code review: pending.

Written by Spur · review-5e26

@spur-code-review spur-code-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review Conclusion

Status: APPROVED

The pin/stop/Auto-interleaving fixes and reviewed contract fingerprint pass independent checks at this head. The migration revalidates live Auto eligibility and whether the account already equals the new default under the same pane/lifecycle locks used for selection. Skips exit before companion registration, metadata writes, pings and switched events. moved compares the effective account before/after this locked migration rather than the stale enumeration snapshot. The public switchAuth method still returns SessionView; the HTTP pool boundary returns {pool,moved}, with unchanged request validation/defaults. No attributable defect remains in changed code/direct callers.

Checks: selected session-service authorization/switchAuth cases56 passed; server-auth-accounts and mcp-contracts63 passed, including the final session-service AST fingerprint6f73a2b40dc81ef61616a259c19bf5c25081e3cb53f5fb9a303e41688bc4543f. Static review compared actual service signatures/private outcome types, daemon contract metadata and server request/response callers.

Live changed-boundary evidence: source-loaded SessionService at this exact head, real temporary metadata, real tmux presence, real pane/lifecycle locks; Claude and Codex variants for pin-after-snapshot, stop-after-snapshot, public Auto switch already at the new default, ordinary active migration and only-new behavior:10 passed. Each interleaved skip preserves its current record and emits no extra migration registration/write/ping/event; moved excludes it. Companion replies and unrelated enrichment are controlled fixtures. This proves the service concurrency boundary, without real provider calls or a full provider integration claim.

Delta: three files differ from preceding evidenced head: service, service tests and reviewed MCP fingerprint. Retain previously passed companion retention/reopen/removal/explicit-switch, CLI forwarding and web confirmation evidence because those implementations/direct callers are unchanged. Re-executed affected service/HTTP/contract boundaries and source-loaded concurrency rows. Exclusions: UI browser proof (separate lane), real provider integration, unrelated providers, full suites/build/typecheck/lint/e2e. No CI query.

Requirements: changed migration guards, no-side-effect skips, moved counts, public return shapes and reviewed fingerprint covered. Prior pin-loss and stale-fingerprint objections resolved.

Interface: required — feature UI/CLI/API/workflow manifest and all23 changed-path dispositions retained. These follow-up fixes preserve the proposed public feature semantics. Operator authorization remains separate; code approval grants no interface consent, exemption, merge or deployment authority.

Lane: code
Session: review-5e26
Attempt: code-febaed04-20261119
H: febaed0
B: c8fe8c9
Contract digest: 7c11aa85ed61b2dcdd4d717a45f8a4678cf16df27e1e2c5b219708d24e290702
Objections: none
Conclusion: changed code and direct callers pass the scoped correctness review.

Written by Spur · review-5e26

Spur review attempt: code-febaed04-20261119
Lane: code
H: febaed0
B: c8fe8c9
ContractDigest: 7c11aa85ed61b2dcdd4d717a45f8a4678cf16df27e1e2c5b219708d24e290702
Status: APPROVED
Scenario evidence: [{"status":"passed","evidence":"F1: reviewed service signatures/private outcomes, daemon contract metadata and direct server request/response boundaries; public switchAuth SessionView and pool response preserved"},{"status":"passed","evidence":"F2: 56 selected service cases and 63 named HTTP/MCP contract checks passed at exact private checkout Hfebaed04; reviewed fingerprint6f73a2b4 matches"},{"status":"passed","evidence":"F3: 10 source-loaded real-lock Claude/Codex pin/stop/Auto-new/ordinary/only-new scenarios passed; current-record guards, side-effect-free skips and moved counters verified"}]
Coverage: null

Written by Spur · review-5e26

@spur-code-review

Copy link
Copy Markdown

Code review: approved.

Written by Spur · review-5e26

@spur-ui-tester

Copy link
Copy Markdown

Browser review: blocked — Required review checks incomplete.

Written by Spur · review-4947

@spur-code-review

Copy link
Copy Markdown

Code review: pending.

Written by Spur · review-5e26

@spur-code-review

Copy link
Copy Markdown

Code review: pending.

Written by Spur · review-5e26

spur-code-review[bot]
spur-code-review Bot previously approved these changes Nov 28, 2026

@spur-code-review spur-code-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review Conclusion

Status: APPROVED
Checks: independent source/direct-writer/caller/regression audit passed. Verified exact three-path delta, current source/tree/custody, packet SHA and47original plus7supplement receipt hashes, private tool/runner/manifests, corrected source-bound RED/GREEN, one unchanged synthetic runtime row and supplemental MCP49/49once. Recomputed service fingerprint118e587cccd1527098fc9c6c23665e1f4de5a88f2bab163be84cb6a3f023b79c; only that pin changes. Supplied results are not reviewer reruns. No tests, runtime fixture, build/typecheck, provider/host action or CI query ran in this review.

Requirements: covered for CODE-owned K1-K12. Service source differs from Hf59d only by the four-line current-record guard after awaited history lookup. All other paths except one added regression and required pin remain byte-identical. Removing that regression yields the original test-file AST. Unchanged K1-K11 evidence remains applicable after current boundary qualification; historical approval alone was not transferred. All35feature paths retain required product/workflow or internal support dispositions; no new interface clause or signature is added.

The old input-status guard protects call entry. The new guard rereads current metadata after the asynchronous finder and returns null for missing/completed/killed records before any artifact directory/write/origin/stamp mutation. All later capture mutations are synchronous; completion's removal and terminal record write have no intervening await. Stopped capture remains eligible, including handoff; live/known-source delta, redaction and workspace anchoring logic is unchanged. The direct caller omits artifact ID when capture returns null.

The corrected regression gates the existing history lookup across public complete, confirms completed status and initial directory absence, releases the lookup and awaits the pending get. Controlled RED fails the final strict absence assertion because the old writer recreates the directory; it is not a timeout/environment failure. GREEN retains the same regression/assertions and passes, including no origin write. Finally releases lookup, settles pending work and disposes the service. Earlier frozen-clock/transpile failures remain separate and are not counted as causal RED.

The supplied original runtime case executed once,1pass/88skipped, with unchanged source/helper/assertions/timeouts: synthetic private CLI/daemon image200, awaited complete, immediate directory absence and artifact404. Baseline single-root filesystem-aware compilation matches official exact-parent module bytes and AST; the changed module's source/JS/map hashes match current source and executed private overlay. Only service.js and its map differ. This is explicitly a private overlay, not an official-green-build, full build/typecheck or general runtime qualification. The supplied ownership receipt records sampled owned processes gone, owned socket/listener closed and observed runtime/repo/local-origin roots absent; residual owned temporary cache remains recorded. No current host probe or cleanup action was used as review evidence.

Supplemental mcp-contracts.test.ts49/49passed once on the exact final tree with source/index/dependency and old-packet receipts preserved. FORMAT3 succeeded; supplied LINT3 exit0 has66inherited warnings, not a warning-free claim. No broad suites or duplicate execution were needed.

Original CI directory writer, contents and interleaving remain UNKNOWN; local proof establishes this concrete race and bounded successful runtime case only. Full browser/rendered-design/feature TEST, fixture/provider/profile authority, historical human/interface/protected consent, execution-policy and sole publisher UNKNOWN/inflight/owner CI/aggregate/merge/release/deploy holds remain separate and unwaived. No current visual pass, real-provider capability, offline waiver or action authority follows this CODE verdict.

Lane: code
Session: review-5e26
Attempt: code-591be1ad-20261128
H: 591be1a
B: ea09b03
Contract identity: caller-trusted review-contract.md
Contract digest: 7c11aa85ed61b2dcdd4d717a45f8a4678cf16df27e1e2c5b219708d24e290702
Evidence: current guard/regression/pin audit;47original+7supplement receipt bindings; supplied correctedRED/GREEN, private-overlay runtime1 and MCP49; qualified retained K1-K11 evidence.
Objections: none
Conclusion: approve the pinned CODE stale-writer repair; private-overlay, historical timing and separate gates retain their limits.

Written by Spur · review-5e26

Spur review attempt: code-591be1ad-20261128
Lane: code
H: 591be1a
B: ea09b03
ContractDigest: 7c11aa85ed61b2dcdd4d717a45f8a4678cf16df27e1e2c5b219708d24e290702
Status: APPROVED
Scenario evidence: [{"status":"passed","evidence":"Current retention: exact guard/regression/one-pin delta qualified; K1-K11 implementations/control/dependencies/configuration otherwise unchanged from Hf59d. New stale-history writer handled separately by K12; no old approval transfer. Prior bounded row: Current retention: exact only auth-terminal-login.test.ts existing-case delta; all K1-K10 code/direct callers/configuration/dependency inputs unchanged from H3749. Retain boundary evidence, not old approval. Prior bounded row: K1 companion: entire subtree unchanged from d655; retain independent named default/admission/reopen/switch/removal evidence on unchanged binding behavior."},{"status":"passed","evidence":"Current retention: exact guard/regression/one-pin delta qualified; K1-K11 implementations/control/dependencies/configuration otherwise unchanged from Hf59d. New stale-history writer handled separately by K12; no old approval transfer. Prior bounded row: Current retention: exact only auth-terminal-login.test.ts existing-case delta; all K1-K10 code/direct callers/configuration/dependency inputs unchanged from H3749. Retain boundary evidence, not old approval. Prior bounded row: K2 migration runtime:23auth/restore/lock declarations including all guard/count/side-effect methods unchanged by AST comparison. Retained10source-loaded Claude/Codex rows use real temporary metadata/tmux/locks with controlled proxy/enrichment. Metadata read/write/observer machinery unchanged after only obsolete classification ALS guard removal; that guard never applied to probe. New observer/projection integration belongs to current K10, not old probe."},{"status":"passed","evidence":"Current retention: exact guard/regression/one-pin delta qualified; K1-K11 implementations/control/dependencies/configuration otherwise unchanged from Hf59d. New stale-history writer handled separately by K12; no old approval transfer. Prior bounded row: Current retention: exact only auth-terminal-login.test.ts existing-case delta; all K1-K10 code/direct callers/configuration/dependency inputs unchanged from H3749. Retain boundary evidence, not old approval. Prior bounded row: K3 API/CLI/contracts: CLI/types/catalog unchanged; server semantic AST fingerprint unchanged. Direct pool parser/defaults/response and fresh enrichment audited against current cache/request-field helper; MCP49 current supplied passes. Service/transitions current pins independently recomputed, no blind refresh."},{"status":"passed","evidence":"Current retention: exact guard/regression/one-pin delta qualified; K1-K11 implementations/control/dependencies/configuration otherwise unchanged from Hf59d. New stale-history writer handled separately by K12; no old approval transfer. Prior bounded row: Current retention: exact only auth-terminal-login.test.ts existing-case delta; all K1-K10 code/direct callers/configuration/dependency inputs unchanged from H3749. Retain boundary evidence, not old approval. Prior bounded row: K4 UI code/lifetime: entire web subtree unchanged from d655. Retain prior component/event/token source qualification and supplied named2456proof; historical mock-hover frame remains event/lifetime evidence only, no current rendered CSS/pixel/contrast pass."},{"status":"passed","evidence":"Current retention: exact guard/regression/one-pin delta qualified; K1-K11 implementations/control/dependencies/configuration otherwise unchanged from Hf59d. New stale-history writer handled separately by K12; no old approval transfer. Prior bounded row: Current retention: exact only auth-terminal-login.test.ts existing-case delta; all K1-K10 code/direct callers/configuration/dependency inputs unchanged from H3749. Retain boundary evidence, not old approval. Prior bounded row: K5 merge: independent merge-tree reproduces docs/configuration and MCP conflicts; all1408clean auto-merges preserved, final differs only those two manual paths. Exact d655+RESTea09parents/tree/private custody checked; production source unchanged from automatic merge."},{"status":"passed","evidence":"Current retention: exact guard/regression/one-pin delta qualified; K1-K11 implementations/control/dependencies/configuration otherwise unchanged from Hf59d. New stale-history writer handled separately by K12; no old approval transfer. Prior bounded row: Current retention: exact only auth-terminal-login.test.ts existing-case delta; all K1-K10 code/direct callers/configuration/dependency inputs unchanged from H3749. Retain boundary evidence, not old approval. Prior bounded row: K6 docs/policy/interface: docs skill applied; event union preserves auth.switch_failed and base list/history events, matching producers; configuration223lines. Incoming daemon-api list/journal semantics preserved, pool constraint retained. All34feature paths assessed as required product/workflow or internal support; no new clause/exemption/consent claim."},{"status":"passed","evidence":"Current retention: exact guard/regression/one-pin delta qualified; K1-K11 implementations/control/dependencies/configuration otherwise unchanged from Hf59d. New stale-history writer handled separately by K12; no old approval transfer. Prior bounded row: Current retention: exact only auth-terminal-login.test.ts existing-case delta; all K1-K10 code/direct callers/configuration/dependency inputs unchanged from H3749. Retain boundary evidence, not old approval. Prior bounded row: K7 diagnostic retention: runtime diagnostic test unchanged from d655; original19phase/29node static proof applicable. Original timeout cause UNKNOWN; no new execution/reproduction/fix claim."},{"status":"passed","evidence":"Current retention: exact guard/regression/one-pin delta qualified; K1-K11 implementations/control/dependencies/configuration otherwise unchanged from Hf59d. New stale-history writer handled separately by K12; no old approval transfer. Prior bounded row: Current retention: exact only auth-terminal-login.test.ts existing-case delta; all K1-K10 code/direct callers/configuration/dependency inputs unchanged from H3749. Retain boundary evidence, not old approval. Prior bounded row: K8 design token retention: web/design files and dependencies unchanged, prior exact token source-value/guard/named proof retained. No new visual pass or retroactive policy waiver."},{"status":"passed","evidence":"Current retention: exact guard/regression/one-pin delta qualified; K1-K11 implementations/control/dependencies/configuration otherwise unchanged from Hf59d. New stale-history writer handled separately by K12; no old approval transfer. Prior bounded row: Current retention: exact only auth-terminal-login.test.ts existing-case delta; all K1-K10 code/direct callers/configuration/dependency inputs unchanged from H3749. Retain boundary evidence, not old approval. Prior bounded row: K9 OpenCode clock retention: source/production inputs unchanged; retain source-bound controlledRED active10vs11/GREEN11active1silent/named46 evidence. Historical CI timing UNKNOWN; no rerun."},{"status":"passed","evidence":"Current retention: exact guard/regression/one-pin delta qualified; K1-K11 implementations/control/dependencies/configuration otherwise unchanged from Hf59d. New stale-history writer handled separately by K12; no old approval transfer. Prior bounded row: Current retention: exact only auth-terminal-login.test.ts existing-case delta; all K1-K10 code/direct callers/configuration/dependency inputs unchanged from H3749. Retain boundary evidence, not old approval. Prior bounded row: K10 cache/journal integration: current source audit verifies request-scoped keys stripped before recomputation (including absent authError), fresh enrich shares helper, live rows do not hit full cache, queued abort/reload/lifecycle/status epochs guarded, transitions query journal only. Current source-bound supplied207named cases: MCP49, full-cache+transitions85, managed-auth73; private5tool/3runner/manifests/source custody verified. No extra CODE live row; no current full-provider/full-daemon proof claimed."},{"status":"passed","evidence":"Current retention: exact guard/regression/one-pin delta qualified; K1-K11 implementations/control/dependencies/configuration otherwise unchanged from Hf59d. New stale-history writer handled separately by K12; no old approval transfer. Prior bounded row: K11 test synchronization: existing one-case delta64add/21del. Exact3strict assertions/3advances/helper/fake timer mode/test timeout unchanged. Controlled secondkill RED remains verifying instead of strict not_signed_in/duplicate/command; GREEN joins typed function+2000ms call-through registration after actual cleanup, restores spy before thirdadvance and passes. Supplied qualified targetGREEN1/25skipped and namedfile26pass,21receipt hashes/currenttestSHA/private5tools+3runners/source custody verified. Baseline qualification sequencing deviated and is not prequalified; no historicalCI trace reconstruction. No reviewer rerun/runtime action."},{"status":"passed","evidence":"K12 stale history writer: current missing/completed/killed record reread after awaited lookup prevents synchronous artifact/origin/stamp writes; stopped/live/redaction/workspace capture unchanged. Corrected controlledRED directorytrue-after-complete vs strictfalse, sameGREEN1pass; original unchanged synthetic CLI artifact200->complete->absence/404 runtime1pass/88skipped on source/JS/map-qualified private overlay. Supplied MCP49pass once exactH/tree/index/deps and47original+7supplement receipt hashes verified. Sampledownedprocessesgone/socketlistenerclosed/observedrootsabsent in supplied receipt; residualownedtmpcache retained. Overlay is not officialgreenbuild/fullbuild/typecheck. OriginalCIwriter/contents/interleavingUNKNOWN. No reviewer execution or hostprobe."}]
Coverage: null

Written by Spur · review-5e26

@spur-code-review

Copy link
Copy Markdown

Code review: approved.

Written by Spur · review-5e26

@spur-code-review

Copy link
Copy Markdown

Code review: pending.

Written by Spur · review-5e26

@spur-ui-tester

Copy link
Copy Markdown

Browser review: pending.

Written by Spur · review-4947

@spur-ui-tester

Copy link
Copy Markdown

Browser review: blocked — Required review checks incomplete.

Written by Spur · review-4947

@spur-code-review

Copy link
Copy Markdown

Code review: pending.

Written by Spur · review-5e26

spur-code-review[bot]
spur-code-review Bot previously approved these changes Nov 28, 2026

@spur-code-review spur-code-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review Conclusion

Status: APPROVED
Checks: independent pinned-merge/auth-teardown/direct-caller/CLI-doc audit passed. Verified22packet receipt hashes, exact source/tree/custody and private five tool/three runner/manifests. Supplied named checks: auth-terminal-login.test.ts26; cli-init.test.ts8; cli-spawn.test.ts selected pool case1 (24outside selector skipped),35passed total. Results are supplied, not reviewer reruns. No tests, local build, runtime/provider/host/install action, release-proof replay or CI query ran in this review.

Requirements: covered for CODE-owned K1-K13. Actual ordered parents are591be1ad and REST base d5dd234. Independent merge-tree reproduces the sole auth-test content conflict; the final tree differs from its automatic tree only at that test. The complete test equals old source plus exactly three incoming additions and also equals the base source. Original cleanup gate, typed call-through watcher observer, rearm/home handshake, strict status/reason/command assertions, three advances, shared helper, fake timer mode and timeout remain unchanged.

The new startedId is assigned only after successful start. Finally releases the gate and restores the spy, awaits stop when start succeeded, then disposes and retains the owned-home absence wait. Production stop awaits finish/cleanup for active entries; dispose clears timers only. Successful ended entries retain the original path. Teardown adds no scenario tick, weakened assertion, timeout or production seam.

The CLI and canonical commands reference preserve their clean automatic union: incoming init flags reject both explicit modes with exit2 and map install/off/keep/unset correctly; feature auth-pool GET, dependent apply-to-active/default and moved output remain intact. The current init test mocks runNpmInit and the pool case mocks HTTP. Those rows qualify integration only, not real npm-init/Tailscale/system-service behavior. Commands remains132lines. Imported installer/executable/update files equal the published base and receive no transitive host/install sweep or accepted-release replay.

Core service/server/types/catalog/auth-terminal implementation and MCP inputs/pins remain byte-identical; service fingerprint118e587cccd1527098fc9c6c23665e1f4de5a88f2bab163be84cb6a3f023b79c was independently rechecked. Web/companion and affected metadata/history/cache/runtime-helper inputs retain their prior evidence. Incoming PATH resolution extracts the same lookup loop; CLI changes affect init, leaving artifact spawn/complete dispatch intact. Retained K12 synthetic runtime evidence remains historical on its qualified private overlay, not current binary identity or an official green build. No new MCP, provider or runtime execution is needed for this bounded integration.

The auth test is base-identical and leaves the current PR diff; its delta conflict is still covered by K13. All34remaining feature paths are assessed as required product/workflow or internal support. K1-K12 evidence is retained after current source/dependency qualification, not through historical approval alone. No new product clause, protected consent or approval exemption is claimed.

Prior baseline qualification deviations, private-overlay limits and historical CI writer/timing/interleaving UNKNOWN evidence remain explicit. Full browser/rendered-design/feature TEST, fixture/provider/profile authority, historical human/interface/protected consent, execution-policy and sole publisher UNKNOWN/inflight/owner CI/aggregate/merge/release/deploy holds remain separate and unwaived. No current visual pass, official build, host/install qualification, offline waiver or action authority follows this CODE verdict.

Lane: code
Session: review-5e26
Attempt: code-92271207-20261128
H: 9227120
B: d5dd234
Contract identity: caller-trusted review-contract.md
Contract digest: 7c11aa85ed61b2dcdd4d717a45f8a4678cf16df27e1e2c5b219708d24e290702
Evidence: current merge/teardown/CLI-doc audit;22receipt bindings; supplied named35proof; source-qualified retained K1-K12 evidence.
Objections: none
Conclusion: approve the pinned CODE integration; historical proof limits and separate gates remain.

Written by Spur · review-5e26

Spur review attempt: code-92271207-20261128
Lane: code
H: 9227120
B: d5dd234
ContractDigest: 7c11aa85ed61b2dcdd4d717a45f8a4678cf16df27e1e2c5b219708d24e290702
Status: APPROVED
Scenario evidence: [{"status":"passed","evidence":"K1 companion: subtree unchanged; retain bounded admission/default/pin/reopen/removal named evidence."},{"status":"passed","evidence":"K2 migration runtime: service/metadata/runtime/lock/stamp code unchanged; retained10real temporary metadata/tmux/lock rows remain bounded to controlled proxy/enrichment and original guard/count/side-effect behavior."},{"status":"passed","evidence":"K3 API/CLI: server/types/catalog/pins unchanged; auth-pool CLI branch preserves GET/no flags, explicit apply-to-active/default/moved semantics through clean automatic union. Current supplied mocked pool case1pass."},{"status":"passed","evidence":"K4 UI lifetime: web subtree unchanged; component/event evidence retained, no current rendered visual/contrast pass."},{"status":"passed","evidence":"K5 merge: exact591b+d5ddparents/tree; independent merge-tree sole auth-test conflict, final differs only there; all clean auto-merges retained. Auth test exact old+3teardown lines and exact base."},{"status":"passed","evidence":"K6 docs/policy/scope: canonical commands retains incoming init modes plus feature pool syntax,132lines; clean-install skill mirrors retained. Current34feature paths assessed; no new interface clause/exemption or consent claim."},{"status":"passed","evidence":"K7 diagnostic: original runtime diagnostic source unchanged; bounded static19phase proof retained; historical cause UNKNOWN."},{"status":"passed","evidence":"K8 tokens: web/design subtree unchanged, prior source-value and guard/component evidence retained; no current pixel acceptance."},{"status":"passed","evidence":"K9 OpenCode clock: test/production unchanged; prior source-bound RED/GREEN/named46proof retained, historical CI timing UNKNOWN."},{"status":"passed","evidence":"K10 cache/journal: service/metadata/transitions unchanged; prior separate projection/observer source+207named proof retained, not replaced by older controlled probe."},{"status":"passed","evidence":"K11 auth synchronization: only3teardown additions; prior entry/rearm/typed spy/home/strict status-reason-command assertions/3advances/helper/timer mode/timeout intact. stop for active entry awaited before dispose; currentauth26pass. Prior baseline qualification deviation remains, no waiver."},{"status":"passed","evidence":"K12 artifact guard: service/history/metadata/runtime-helper closure unchanged and servicepin118e587c retained. Prior causalRED/GREEN+one private-overlay synthetic runtime+MCP49proof historical and bounded. Incoming PATH lookup helper extracts identical loop; CLI changes init only, no current binary identity/official green build/runtime pass inferred."},{"status":"passed","evidence":"K13 current integration:22receipt hashes/currenttree/private5tool+3runner/manifests/custody verified. Supplied exactly named auth26/init8/pool1=35passed once each. Init mocks runNpmInit, pool mocks HTTP. No reviewer rerun/installer/service/provider/host/runtime/CI action or accepted-release replay."}]
Coverage: null

Written by Spur · review-5e26

@spur-code-review

Copy link
Copy Markdown

Code review: approved.

Written by Spur · review-5e26

@spur-ui-tester

spur-ui-tester Bot commented Dec 3, 2026

Copy link
Copy Markdown

Browser review: pending.

Written by Spur · review-4947

@spur-ui-tester

spur-ui-tester Bot commented Dec 3, 2026

Copy link
Copy Markdown

Browser review: blocked — Required review checks incomplete.

Written by Spur · review-4947

@AlekShu

AlekShu commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author

Validation evidence for PR #1487 at 7d020b1587c61edbd4d356cd71b4592c253f5df8 (associated base 3b1b9db42cea1c4ea13a7f92dc48c8fe931c15a8).

Sanitized validation report and retained limits
PR1487 public validation summary

Head: 7d020b1587c61edbd4d356cd71b4592c253f5df8
Associated base: 3b1b9db42cea1c4ea13a7f92dc48c8fe931c15a8
Tree: a203ef20cdc00acc64f10f2be848ab83aa60dcf8
Ordered parents:
92271207543637f1dc7c54ba6e0da59c92d23333
3b1b9db42cea1c4ea13a7f92dc48c8fe931c15a8

CURRENT COMMITTED INPUTS

Independent local staged-tree and postcommit review approved the committed
source, ordered parents, tested input parity and clean tracked/nonignored
state. Ignored entries were not enumerated. The publisher confirmed ordinary
source publication; this description-authoring step performed no publication.

Recorded checks, with actual child exit 0:
- Full named MCP contract file: 49 passed, zero skipped; 42 static and seven
  real owned-router cases. Seven aggregate-memory/availability warnings were
  retained. The same final MCP and production inputs were not replayed.
- Named service file, exactly two selected notice expectations: one-line
  needs_input without a pane tail; error notice with exact preformatted payload.
  Two passed; 3316 filtered/skipped; 3318 collected. Other cases did not execute.
- One final two-fixture formatter check passed after the authorized formatting
  edit. Earlier successful 15-input formatter evidence remains bound to its
  unchanged inputs.
- One final two-fixture repository-root lint passed: zero errors, 67 warnings.
  All flagged statement lines existed in the preimage or earlier head; this is
  static line provenance, not an executed baseline lint comparison. Earlier
  successful 13-input lint evidence remains bound to its unchanged inputs.
- Canonical production contract fingerprint calculated once. Production input
  and pin remained unchanged; no helper recomputation or full-MCP replay.

The two notice fixtures use fresh exclusive owned data/artifact allocations,
owned configuration/registry/workspace aliases and a non-created session
workspace leaf. Original account/session state, timer and payload assertions
remain. Guarded cleanup and actual absence assertions passed. No workspace,
repository, provider login or account validity proof is supplied by these tests.

HISTORICAL EVIDENCE

At 92271207543637f1dc7c54ba6e0da59c92d23333, 35 executed checks passed:
26 auth-login, eight mocked initialization and one mocked account-pool case.
Another 24 pool cases were not selected. Scoped formatting/lint/local review
passed for those historical inputs.

At 591be1ad, 49 MCP cases, one controlled artifact-race regression and one
synthetic artifact-cleanup case passed. The runtime used a qualified private
compiled-module overlay; it does not establish an official green build or
current provider/browser proof.

At 0c5d14324, 48 component, 49 MCP, 53 service, 40 server/CLI and three
companion checks passed. Three interaction regressions failed before their
fix and passed afterward. These results remain historical.

Existing public screenshots compare c8fe8c9bb with c823b2fc7 using mocked
requests. They show earlier appearance only. No matching current-head capture
or browser run was performed for this description update.

FAILURES AND LIMITS

Earlier formatter checks failed on a directory supplied as the cache location
and on fixture formatting. Later separately authorized checks passed; earlier
failures were preserved and are not relabeled as passes.

The helper effect snapshot followed the manual pin edit. It does not supply a
separate helper-only zero-write observation. Guard assertions establish their
observed instants, not complete background drain or all future histories.
An initial private baseline enumeration deviation remains in local history;
later custody used only opaque root metadata, without repeating that traversal.
Configured generated commit hooks were absent; no hook/secret-scan pass claimed.

No full-suite/build/typecheck/e2e, current CI, rendered browser, real provider,
OAuth/profile, current designated native approval or feature/interface consent
is established by this packet. Source publication supplies no merge/release
or product acceptance authority. No checks were rerun to prepare this summary.

This summary contains no credentials, native transcripts, private receipts,
machine identifiers, process bindings or absolute local paths. The PR publisher
alone controls attachment upload and PR-body publication.

@AlekShu

AlekShu commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator Author

PR1487 local validation

Commit: d4304f3
Associated base: e543471
Tree: 34a73665e8b6770fa86bcad56c477a7d6f871a04
Ordered parents: 7d020b1, e543471

Named full-file checks, zero skips:

  • mcp-contracts.test.ts: 50/50 passed, including eight real owned-router cases.
  • source-info-diagnostics.test.ts: 28/28 passed.
  • auth-accounts-menu.test.tsx: 48/48 passed with the installed default bundle config loader.
  • design-system.test.ts: 2405/2405 passed with the same loader.

Final formatting check passed on three merged producers, the MCP fixture and the migration. Scoped lint passed on the four TypeScript paths, with zero warnings. Source bytes remained unchanged. One canonical helper invocation calculated the three changed producer fingerprints; producers stayed frozen afterward.

The earlier web runner-loader attempt failed before collection because __dirname was unavailable. Its result remains retained. A separately authorized default-bundle generation passed both web files without changing config source or replaying backend checks.

Local ordinary merge commit completed once. Its tree matches the reviewed staged tree, all committed tracked source matches the tested view, and tracked/nonignored status is clean. Configured generated commit hooks were absent before the command; no hook or secret-scan pass is claimed.

Eight real-stop wrapper delivery-zero assertions and empty external-effect assertions passed. Runtime exclusion counts were not measured. Startup auth recovery remains excluded. No full late-callback drain, future-history or transient generated-file observation is claimed. Eight aggregate-memory/availability notices remain in the private MCP result.

Historical 49-case MCP, notice checks and screenshots keep their original revision labels. No current rendered-browser, real-provider/OAuth/profile, designated native approval, CI, merge readiness or release proof is supplied. No source push, attachment upload or PR update occurred in this lane. Auto-merge remains off; feature merge remains human-owned.

@spur-ui-tester

spur-ui-tester Bot commented Dec 4, 2026

Copy link
Copy Markdown

Browser review: pending.

Written by Spur · review-4947

@spur-code-review

Copy link
Copy Markdown

Code review: pending.

Written by Spur · review-5e26

@spur-ui-tester

spur-ui-tester Bot commented Dec 4, 2026

Copy link
Copy Markdown

Browser review: blocked — Required review checks incomplete.

Written by Spur · review-4947

@spur-code-review

Copy link
Copy Markdown

Code review: pending.

Written by Spur · review-5e26

spur-code-review[bot]
spur-code-review Bot previously approved these changes Dec 4, 2026

@spur-code-review spur-code-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review Conclusion

Status: APPROVED
Checks: independent changed-code/direct-caller, merge/source/custody and interface-doc audit passed. Verified54 supplied artifact hashes,1414 tracked source bindings,504 installed manifest hashes and3 canonical producer pins. Supplied named files: mcp-contracts.test.ts50; source-info-diagnostics.test.ts28; auth-accounts-menu.test.tsx48; design-system.test.ts2405; total2531 passed,zero skips,source unchanged. No reviewer tests, build, runtime/provider/host action or CI query.

Requirements: covered for CODE-owned K1-K15. Selected24 migration/lock/restore/cache/artifact service declarations remain normalized-AST identical to the last evidenced revision. Unchanged metadata/history/transition/runtime production, menu/dialog/focus/auth helpers and companion selector/state/test inputs retain bounded evidence after current comparison. Incoming indirect companion dependencies receive no transitive/provider sweep or whole-dependency identity claim.

Current ordered parents are7d020b15 and REST base e543471. Independent automatic tree differs only at migration2.3.0 and MCP test. Migration preserves both parent entries. Three MCP pins independently recomputed. Full committed tracked tree equals supplied tested view/candidate; source unchanged after supplied checks. Earlier web-loader failure before collection remains recorded; later default bundle loader produced48/2405 passes on unchanged config.

Diagnostics dispatch accepts only literal1; default source-info contract retained. DTO/parser copy redacted booleans/enums/runtime values. Projector has no external mutation. Extracted reply-target predicate preserves previous eligibility conditions and read order. Current MCP fixture uses real router with startup delivery/spawn rejects and owned state/timers; eight stop wrappers assert deliveryzero,afterEach asserts no external effects. Startup authorization recovery is deliberately excluded. Assertions do not prove all late callbacks, exclusion counts, future history or transient files.

Runtime test changes add autostart opt-in to three CLI cases; helper defaults autostart off and tracks owned daemon children for signal/exit cleanup. Historical direct-method migration probe imports unchanged production sources, not those CLI helpers. Old notice/artifact/runtime rows retain their revisions and private-overlay/control limits; no current runtime binary or official build pass follows.

All35 current feature paths assessed; inherited diagnostics and safe-gap/footer integration recorded. Menu/dialog lifetime logic unchanged; current footer styling and migration checked statically with supplied design guards. No current rendered frame, browser/design approval, protected consent or merge authority claimed. Separate browser/design/feature TEST, fixture/provider/profile, consent, historical UNKNOWN and owner aggregate/action holds remain unwaived.

Lane: code
Session: review-5e26
Attempt: code-d4304f3c-20261204
H: d4304f3
B: e543471
Contract identity: caller-trusted review-contract.md
Contract digest: 7c11aa85ed61b2dcdd4d717a45f8a4678cf16df27e1e2c5b219708d24e290702
Evidence: current integration audit;54 packet hashes;1414 source bindings;3 AST pins; supplied named2531proof; source-qualified retained K1-K13; current K14-K15.
Objections: none
Conclusion: approve the pinned CODE integration with recorded historical proof limits and separate gates.

Written by Spur · review-5e26

Spur review attempt: code-d4304f3c-20261204
Lane: code
H: d4304f3
B: e543471
ContractDigest: 7c11aa85ed61b2dcdd4d717a45f8a4678cf16df27e1e2c5b219708d24e290702
Status: APPROVED
Scenario evidence: [{"status":"passed","evidence":"K1 companion default/admission: Unchanged selector/state/test sources retain bounded admission/default/pin/removal evidence. Incoming indirect DTLS/transport/testify dependencies are excluded from whole-dependency identity and provider qualification."},{"status":"passed","evidence":"K2 migration guard/count/side effects: 24 selected service types/methods normalize identically to the last evidenced revision, including migration eligibility, pane/lifecycle locks, restore and cache projection. Historical10 temporary metadata/tmux rows use controlled proxy/enrichment and import production directly, not changed CLI fixture helpers."},{"status":"passed","evidence":"K3 API/CLI contracts: Feature pool applyToActive/default/moved contract survives base diagnostics integration. Server literal diagnostics=1 dispatch, typed DTO/parser union and default source-info response inspected."},{"status":"passed","evidence":"K4 dialog lifetime: AuthAccountsMenu, SetDefaultDialog, focus/footer helper, auth helper and auth-menu test sources unchanged; current supplied auth48 passed. No current rendered UI claim."},{"status":"passed","evidence":"K5 merge/source identity: Exact ordered parents/tree and independent merge-tree checked. Only migration2.3.0 union and MCP test differ from automatic tree; other1412 auto-merge files stable. All1414 committed blobs equal supplied tested view and candidate."},{"status":"passed","evidence":"K6 docs/interface scope: 35 actual feature paths have required/internal dispositions. Canonical pool CLI/API/event docs preserve source constraints/defaults. Diagnostics and safe-gap base imports recorded separately; no consent exemption claimed."},{"status":"passed","evidence":"K7 runtime diagnostics: Old diagnostic case retained; runtime-test delta only three explicit autostart opt-ins. Helper adds owned-child/signal cleanup and defaults CLI autostart off. Historical diagnostic execution remains revision-labelled; no current execution inferred."},{"status":"passed","evidence":"K8 design tokens: Migration union preserves shadow-dialog/tracking entries and incoming SAFE_GAP_X_CLASS entries. Current supplied design-system2405 passed. Footer parent layout/hide-below-sm change receives static review only; current browser/design proof remains separate."},{"status":"passed","evidence":"K9 OpenCode timing: Named test and relevant production source unchanged; prior source-qualified RED/GREEN/named46 evidence retained. Historical cause/timing remains unproven."},{"status":"passed","evidence":"K10 cache/journal projection: Changed-service selected enrich/requestScopedFields/reuseFullView/fullViewHit AST and metadata/transitions source unchanged; retained separate source-qualified cache/journal evidence, not replaced by controlled migration probe."},{"status":"passed","evidence":"K11 auth synchronization: Prior qualified auth teardown/init/pool integration retains original revision labels; no current auth-runtime rerun or binary identity claimed."},{"status":"passed","evidence":"K12 stale artifact writer: captureStateTransitionArtifact/logStateTransition and metadata/history/runtime production closure unchanged. Prior causal RED/GREEN and private-overlay synthetic row remain bounded historical evidence, not official build/current execution. CLI helper changes do not establish current binary identity."},{"status":"passed","evidence":"K13 owned harness: Physical owned fixture directories/identity checks and guarded cleanup source-reviewed. Prior notice/managedAuth/stale-writer executions retain revisions. No full late-callback drain/transient generated-file/future-history or runtime exclusion counts claimed."},{"status":"passed","evidence":"K14 diagnostics/router integration: Allowlisted booleans/enums/runtime version/buildId; parser validates unknown fields and copies allowlist with generic errors. Pure projector; extracted reply rejection preserves conditions/read order. MCP50=42static+8real-router and diagnostics28 supplied passes; stop deliveryzero/effects[] asserted, startup recovery explicitly excluded."},{"status":"passed","evidence":"K15 current evidence custody: 54 packet artifact hashes,504 installed manifest hashes,3 canonical AST producer pins and clean private checkout verified. Supplied MCP50/diagnostics28/auth48/design2405=2531 passed,zero skips,sourceUnchanged. Earlier web-loader collection failure retained; default bundle loader success qualified against same config."}]
Coverage: null

Written by Spur · review-5e26

@spur-code-review

Copy link
Copy Markdown

Code review: approved.

Written by Spur · review-5e26

@spur-ui-tester

spur-ui-tester Bot commented Dec 6, 2026

Copy link
Copy Markdown

Browser review: pending.

Written by Spur · review-4947

@spur-code-review

Copy link
Copy Markdown

Code review: pending.

Written by Spur · review-5e26

@spur-code-review

Copy link
Copy Markdown

Code review: blocked — Required review checks incomplete.

Written by Spur · review-5e26

@spur-ui-tester

spur-ui-tester Bot commented Dec 6, 2026

Copy link
Copy Markdown

Browser review: blocked — Required review checks incomplete.

Written by Spur · review-4947

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