GeezerVison is showing github.com — audit: stranded fixes & regression mechanisms — merge drive record (WS-G 2026-11-04) · Issue #5880 · developing-today/code
audit: stranded fixes & regression mechanisms — merge drive record (WS-G 2026-11-04) #5880DescriptionWS-G stranded-fix audit 2026-11-04: merge drive + regression mechanisms
Drew's directive (19:46 CST): fixes keep resurrecting after restarts/switches — make sure everything built is committed and merged into main. This issue is the audit record. Cross-refs: #5760 (fleet rev lag), #5704 (gatherer), #5768 / PR #5764 (deployment layer), #5701 (incident).
Merge drive (done under standing merge authority)
59 PRs merged across the four repos on 2026-11-04 evening (all merge commits): code ×40 (incl. #5667 design doc + stacked #5689, #5764 WS-E design, #5707 ID answers, and the full mergeable queue/fix backlog #5305–#5754), opencode ×9, openchamber ×6, darwin-nix ×5. Deliberate holds untouched: code#5613/#5614, opencode#1659, openchamber#1604 (forks-rename, Drew's word), code#4760 (patchelf, deliberately open).
Regression mechanisms (evidence, not speculation)
- Quota gatherer (merged ≠ running, cross-repo stale checkout).
quota-gatherer.service fails every 15 min: auth.openCodeLocalCredentialSource is not a function. The gatherer (code main, current) imports its quota module in-process from a sibling OpenChamber checkout's built lib dir (resolveLibDir() in pm-stack/aggregator/scripts/gather-quota.ts: $OPENCHAMBER_LIB_DIR → ~/git/devtoday-openchamber (absent) → ~/git/openchamber-fork). That checkout is frozen at e216864bf0 (2026-10-22 integration branch), 6,733 commits behind openchamber origin/main; its lib/quota/providers/claude/auth.js exports no openCode* symbol (on current main the symbol lives in lib/opencode/auth.js). Fixes merged in either repo never reach the gatherer. Fix direction: point the gatherer at a checkout that tracks main (or pin/vendor the module), and add the lib-dir resolution + checkout rev to the gatherer's startup log. Gatherer repair itself is owned by the laptop coordinator / Quota gatherer: Meta ok-but-null masks last-good read; Command Code needs explicit plan-only ask (routing-disabled) #5704.
- Fleet binaries (manual flip, no drift check). Running rev 18f0aa1 vs main — see Fleet path Nix-build state: deployed fleet lags pkgs/fleet HEAD; remaining non-Nix pieces #5760.
- Route-proxy (hand state outside any generation). Fix existed in config; the deployed unit was hand-placed and broken — see Migration M1: route-proxy from hand unit to services-layer deploy target #5768 / PR doc: deployment architecture — a services layer outside the system switch #5764.
- pm-stack from checkout. pm-git-sync (~30 s timer) keeps ~/git/code within ~a minute of origin/main (verified: primary == origin/main c7ad182 at audit end, after being a few merges behind mid-drive). Deployment tracks main but is unpinned — a bad main lands in production within a minute, and a merge mid-pull can present a mixed tree. Design answer lives in PR doc: deployment architecture — a services layer outside the system switch #5764 (services layer).
Stranded branches (laptop ~/git/code + ~/git/nix)
- No PR, fix content, not in main: code
pr-4484 (fix(id): reject flag tokens as exclude patterns), code pr-5004 (fix(mcpx): keep hook stderr out of capped stdout, mcpx: CodeRabbit minor follow-ups from PR #2840 — stream the CI log formatter, separate stderr cap for hook failure text #2880), code chore/nixpkgs-update-2026-11-02 (nixpkgs update set, likely superseded by later lock moves — verify before discarding).
- PR closed unmerged: code
fix/3751-cli-derive-placement (PR fix(id): restore Command derive displaced by parse_result_limit (#3751) #3757 CLOSED; its twin fix3751-split duplicates it), darwin-nix ci/fix-clean-tests-fixture-1428 (PR test(id): F11.9 bytes-per-frame baseline for checked-in examples (#542) #1429 CLOSED).
- No PR, experiment: darwin-nix
bolt/git-object-store-prune.
- Landed-equivalent leftovers (PR merged; local branch is a drop candidate): code creator-a/5778 (fix(fleet-proxy): never remove through a planted stamp name #5784), creator-b/3355 (fix(agy-proxy): AGY_PROXY_AGY_BIN override so the test stub is never shadowed (#3355) #3359), fix/quota-pool-config-names (fix(pm/aggregator): name quota pools by their OpenCode config provider ids #5059), fix/4906-untrack-events-json (fix(pm-stack): untrack aggregator runtime events.json (#4906) #5068), fix/1413 (fix(design-code): repoint :18745 legs to antigravity-direct :18751 (#1413, unblocks opencode#1409) #4626), design/id-786 (design(id): #786 terminal capability tiers #3820), design/id-806 (design(id): #806 signed journal replicas #3822), mcpx-profile-option (feat(mcpx): addPackageToProfile option; laptop takes the cascade mcpx (#5027) #5037), palette-goto-line-feedback (🎨 Palette: explain rejected Go to Line input (a11y) #5493), fleet/openai-main-pool (feat(aggregator): rename the main ChatGPT pool openai -> openai.main #5089), fix/5725 + fix/daily-ideation-default-ref-5730 (merged in this drive); darwin-nix creator/1417 (id(web): a marked span starting or ending with a space loses its mark on reopen when a word character touches it — saved   form cannot reparse #1418), creator/1456 (id(web): header subtitle injects the raw document filename via innerHTML — a crafted filename becomes live markup (stored XSS) #1457).
- By design: code backup/* + salvage/* repo-keeper snapshots; ~180 queue/* lane branches (queue system's working set); ~150 fleet worktrees under ~/git/fleet (lane scratch, not deployment state).
Conflicting PR backlog (not forced; needs rebase/shepherd attention)
code: #5595, #5558, #5556, #5511, #5359, #5335, #4805 (aggregator /today cache — conflicted against tonight's #5347 merge). opencode: #1657, #1656, #1566, #1504, #1497, #1473, #1459, #777, #233. openchamber: #1525, #216. darwin-nix: #1496, #1493.
Deployed vs main (read-only checks)
Activitydeveloping-today commented on Nov 5, 2026 dezren39 commented on Nov 5, 2026 Correction to the merge-drive count above: code merges were ×39 (17 + 16 + 6 across the three batches), not ×40. Total across the four repos is unchanged at 59 (code 39, opencode 9, openchamber 6, darwin-nix 5). dezren39 commented on Nov 5, 2026 Update: the gatherer row is FIXED — see the #5721 comment for mechanism, fix, and verification (clean main-tracking lib checkout + OPENCHAMBER_LIB_DIR pin + pm-git-sync freshness; timer ticks clean, Meta retention + Command Code plan windows verified). The parked queue/8357-224 worktree was not disturbed. dezren39 commented on Nov 5, 2026 Stranded-branch follow-through: pr-4484, pr-5004, chore/nixpkgs-update-2026-11-02
Each branch checked with git cherry patch-equivalence (not ancestry alone) plus content inspection against current main.
pr-4484 — genuinely missing → PR opened + merged
pr-5004 — landed-equivalent (no PR needed)
chore/nixpkgs-update-2026-11-02 — superseded (no PR; do not merge)
Three commits, all + by patch-id, each overtaken on main:
4e5845da7f (nixpkgs update 2026-11-02): main's nixpkgs-25 pin is newer — 1d060086d60c (lastModified 1793726008, ~Nov 4, via PR chore(deps): nixpkgs update 2026-11-04 #5453 "chore/nixpkgs-update-2026-11-04") vs the branch's 0bb2eedc20e4 (1793540411, ~Nov 2). Merging would downgrade the pin, and main's flake input structure has diverged from the branch's lock since.
1ade55b831 (impermanence bump for the removed boot.initrd.systemd.enable): main's flake.lock already pins impermanence at fa627f4c8b8e — the exact rev this commit bumped to. Landed in effect.
02090364da (gtk+ problems-handler downgrade for gerbv): main resolved the underlying problem the other way — gerbv is commented out in nixos/environment/default.nix ("depends on gtk2, removed from nixpkgs"), so the warn-handler is moot.
Recommendation: pr-5004 (local) and chore/nixpkgs-update-2026-11-02 (local + remote) are safe to delete on the evidence above; left in place for the owner's call. developing-today commented on Nov 5, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 5, 2026
🤖 Agent note · state: handed off
dezren39 commented on Nov 5, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 5, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 5, 2026 developing-today commented on Nov 8, 2026 🤖 Agent note · done
- Agent: queue worker (repo-worker-code), lane code-k
- Session / ID: task 12366
- Found via: queue claim
- Task: Re-triage issue audit: stranded fixes & regression mechanisms — merge drive record (WS-G 2026-11-04) #5880 under Drew's triage doctrine (issue queue: no reconciliation between open issues and queue coverage — non-creator filings never get queue items #7016): prior task 10282 was marked done with no landed evidence on the issue timeline.
- Verdict: Triage confirmed; no remaining work is owned by issue audit: stranded fixes & regression mechanisms — merge drive record (WS-G 2026-11-04) #5880 itself, so no new fix packet is created — creating one would duplicate already-tracked work. Issue audit: stranded fixes & regression mechanisms — merge drive record (WS-G 2026-11-04) #5880 is a historical audit record (WS-G merge drive, 2026-11-04) and stays OPEN as that record. Fresh verification at main a23b3ce: PR fix(id): reject flag tokens as exclude patterns #5913 is MERGED (the stranded pr-4484 fix landed); pr-5004 is patch-equivalent to main and the 2026-11-02 nixpkgs branch is superseded (per the task 10282 follow-through); the quota-gatherer source hardening is already tracked as task 10485 (issue Quota gatherer ticks fail at import: lib dir resolves to stale openchamber checkout parked on a queue branch #5721, still OPEN) — do not duplicate it; PR fix(latest-cli): patch t3 SEA binary with pinned patchelf 0.15.2 #4760 remains OPEN as a deliberate hold and was not touched.
- Delta since the task 10282 triage: PR fix(route-proxy): per-leaf first-response timeout (#5294) #5335 is now CLOSED (superseded, per task 12213). The rest of the conflicting-PR backlog named in the audit — PR chore(rename): fleet constants for dezren39/darwin-nix #5595, PR fix(route-proxy): fail over on pre-content stream errors (#3325) #5558, PR fix(#3106): guard prototype-spelled lookups #5556, PR docs(ci): describe the dispatch/schedule trigger model after #5501 #5511, PR fix(supabase-export): resolve project ref from Bitwarden #5359, and PR fix(aggregator): short-TTL coalescing cache for /today fan-out (#1179) #4805 — is still OPEN and remains with those PRs' owners/shepherds; none was changed here.
- Expectation: Nothing further routes from issue audit: stranded fixes & regression mechanisms — merge drive record (WS-G 2026-11-04) #5880: its follow-through lives in task 10485 (gatherer hardening) and the per-PR shepherd coverage of the still-open PRs above.
- Links: issue audit: stranded fixes & regression mechanisms — merge drive record (WS-G 2026-11-04) #5880 · gatherer issue Quota gatherer ticks fail at import: lib dir resolves to stale openchamber checkout parked on a queue branch #5721 · follow-up task 10485 · PR fix(id): reject flag tokens as exclude patterns #5913 · PR fix(route-proxy): per-leaf first-response timeout (#5294) #5335
dezren39 commented on Nov 8, 2026
Picked up by repo-worker-code-q — working this now. (Fleet queue fallback mode: the queue backend is down, so this issue's comments carry the claim. The claim stays live while repo-worker-code-q posts progress markers; after 30 minutes of silence any other worker may pick this up.) dezren39 commented on Nov 8, 2026
Progress from repo-worker-code-q: triaged: verifying task 12366 verdict claims against fresh state developing-today commented on Nov 8, 2026 🤖 Agent note · done
Fresh spot-verification (2026-11-08T07:10Z, main 9615ae1): PR #5913 is MERGED (stranded pr-4484 fix landed); the conflicting-PR backlog named in the audit — PR #5595, PR #5558, PR #5556, PR #5511, PR #5359, PR #4805 — is still OPEN with its owners/shepherds; PR #4760 is still OPEN as a deliberate hold (untouched); issue #5721 (quota-gatherer hardening) is still OPEN with its coverage in task 10485. Issue #5880 stays open as the historical WS-G audit record; creating a fix packet here would duplicate already-tracked work.
dezren39 commented on Nov 8, 2026
Progress from repo-worker-code-q: done: verdict verified, releasing dezren39 commented on Nov 8, 2026
Released by repo-worker-code-q (outcome: done). task 12314 remainder triage of issue #5880 completed in fallback mode (broker checkpoint failed exit 5 not-claimed; MID-SHIFT FALLBACK per runbook): task 12366 re-triage verdict verified fresh at main 9615ae1 — PR #5913 merged, PRs #5595/#5558/#5556/#5511/#5359/#4805 open with owners, PR #4760 deliberate hold open, issue #5721 open (task 10485). No follow-on packet: would duplicate tracked work. Issue #5880 stays open as the WS-G audit record. Note: agent note on issue #5880 (App route). dezren39 commented on Nov 8, 2026 🤖 Agent note · triage verdict — prior verdicts STANDS, and this issue is being closed to stop a re-queue loop (third identical triage)
Fresh verification (2026-11-08T10:14Z, origin/main 79ee7f3615)
Every fact the two prior verdicts rest on is unchanged:
Why this is closed now
This issue is a historical audit record (WS-G merge drive, 2026-11-04): its follow-through lives in #5721 / task 10485 and the per-PR shepherds above. The prior two lanes correctly declined to create a fix packet, but each left it OPEN — and the done-task-only audit (#7016) then re-queued a "no landed evidence" triage task against it again, for the third time, because a record issue will never have a PR that references it. Keeping it open guarantees another identical triage task next cycle.
Closing as completed: the record itself stays intact in the issue body; nothing that needs doing is lost (all routes are named above and already tracked elsewhere). If a future lane needs the audit, state: closed is the right signal that it was read and reconciled, not abandoned.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|