Repository navigation
Description
Report from queue task 21097 (tracking issue #12776), diagnosed and verified 2026-11-23 ~02:37–02:50 CST by Lane NT (archer).
Which link was broken
Link 1 — pm-git-sync could not pull: the laptop's primary checkout ~/git/code carried a local, never-pushed commit, so every git pull --ff-only failed once origin/main moved past it. The checkout froze, so pm-console-redeploy had nothing new to deploy and the console kept serving the last deployed code (hostVersion 6226e4d93599, main as of 2026-11-23T00:20Z) while staying up and reporting fresh hostSeen. This is the dispatch prompt's case 1 (a local commit that is not on origin stops the pull). It is not the flake.lock case, so nothing is owed on #12520.
Evidence
- The local commit:
8e472164d4cfa15c5154c7d84585cf95c8898773— "fix(opencode-claimant): raise poll timeout 30s -> 300s so live fires pass the gate", committed 2026-11-22 20:04:53 CST directly in the primary (touchespm-stack/opencode-claimant/claimant.pyonly). - First sync failure,
journalctl --user -u pm-git-sync.service, 2026-11-22 20:11:16 CST, repeating every ~30 s for ~5.5 hours:fatal: Not possible to fast-forward, aborting.pm-git-sync: FAIL git pull --ff-only 8e472164d4cfa15c5154c7d84585cf95c8898773 -> 24be6fdd6f40b3ea13e89763a1c7de8ba6189ec0 in /home/user/git/code
- Aggravator: at 2026-11-23 01:39:38 CST the checkout was moved to a detached HEAD (
e4968ed23ee, "checkout: moving from main to FETCH_HEAD" in the HEAD reflog) during lane verification activity, which would have kept sync from advancing even had the divergence been cleared first. - The redeploy and service links were never broken: once the checkout moved, pm-console-redeploy.service deployed within a minute and pm-console.service restarted (01:47:51 CST); its journal shows clean one-minute runs throughout.
What fixed it
The checkout repair landed at 2026-11-23 01:46:57–01:47:00 CST (primary-seat fix, recorded in the HEAD reflog): checkout main, then merge --ff-only origin/main to fe34e5cd9da. git pull --ff-only fast-forwards resume in the reflog immediately after (01:49, 01:50, 01:52, 01:55, …) and continue to current main.
The unpushed claimant commit was not discarded: it is preserved on branch parked/opencode-claimant-poll-timeout-20261122 in ~/git/code (pointing at 8e472164d4cf). Its change is not on main — current main's claimant.py still carries timeout=30 in run_poll — so its owner still needs to land it properly (worktree + PR) if the 300 s gate is still wanted.
Acceptance, verified 2026-11-23 ~02:50 CST
https://pm-console-edge.developing-today.workers.dev/console/health:hostVersion=fe34e5cd9da1,hostSeenfresh,ok: true.- Ancestry: compare
45191b4e2e14...fe34e5cd9da1= ahead 384 / behind 0, so the running version contains45191b4e2e14as required. - Nothing is queued behind it: compare
fe34e5cd9da1...d3bec26356c4(current main) shows zero changed files underpm-stack/consoleorpm-stack/systemd, so the deployed console code is current with main. ~/git/codeis onmainat origin/main; pm-git-sync.timer, pm-console-redeploy.timer and pm-console.service all active.
What would have caught it sooner
pm-git-sync logged a clear FAIL every 30 seconds for ~5.5 hours and nothing surfaced it; the console's own health stayed green because the service was up — only the age of hostVersion showed the stall. Either signal would have caught this in minutes: (a) alert on pm-git-sync.service failure / repeated FAIL git pull lines, or (b) a staleness check on the console health hostVersion (alert when the running version is more than ~15 minutes behind origin/main while merges are landing). The stewardship cycle's fleet-feed staleness check (added 2026-11-23 under #2990) watches the aggregator feed, not the console hostVersion, so this class is still uninstrumented.
Activity
developing-today commentedon Nov 23, 2026
CODE-4791
dezren39 commentedon Nov 23, 2026
Claim — Lane PK (archer), 2026-11-23. Taking the instrumentation remainder of #13126: the incident itself is resolved and its acceptance verified (record above), but the "what would have caught it sooner" class is still uninstrumented — the stewardship cycle's fleet-feed staleness check (added under #2990) watches the aggregator feed, not the console
hostVersion.Slice (repo-copy half, following the #2990/LQ pattern exactly):
stewardship-cyclejob's repo copy in dezren39/hatch-personal, beside the FLEET FEED check in the DAILY CONSOLE READS block: read the console healthhostVersion, compare against currentdeveloping-today/codemain; when the running version lags main whose tip commit is more than ~15 minutes old (sync pulls every ~30s and redeploy follows within ~1 minute, so a >15-minute-old tip not yet reflected means the chain is stalled), name it as a finding; two consecutive stale cycles surface to the main chat, mirroring the fleet-feed rule. An unreachable health view is itself the finding.Named remainder (primary seat, not this lane): applying the updated body to the live
stewardship-cyclejob via cron.view → cron.update — the same apply pass the pending #1657 lane-share wiring needs, so both land together; and signal (a) from the report (alert on pm-git-sync.service failure lines) remains open as a separate slice.dezren39 commentedon Nov 23, 2026
Done (repo-copy half) — Lane PK (archer), 2026-11-23. Signal (b) from this report — a staleness check on the console health
hostVersion— is now written into the stewardship cycle's DAILY CONSOLE READS block as item (e) CONSOLE HOST VERSION, mirroring the (d) FLEET FEED check's shape exactly (finding named in the cycle log with both SHAs and the tip's age; stale in two consecutive cycles surfaces to the main chat; an unreachable health view is itself the finding). Threshold: pm-git-sync pulls every ~30 seconds and redeploy follows within about a minute, so a main tip more than ~15 minutes old that the console is not yet serving reads as a stalled chain.Landed: dezren39/hatch-personal PR #65, merged
a4d6e3e0407a(headd9859840a1SHA-guarded), one line changed inworkspace/goals/stewardship-commission-recurring-review-and-dispatch/crons/hourly/stewardship-cycle__interval@1h.md; content verified present on hatch-personal main after the merge. Premise re-verified live while preparing it: the health endpoint returnshostVersionin exactly the shape the check reads — and at the time of the check it readfe34e5cd9da1while main had long advanced, i.e. the new check would already fire on the current #13137 freeze, which is the held, separately-tracked instance of this same class.Remainders, named:
stewardship-cyclejob only via cron.view → cron.update — deliberately not done from this lane, because the same job has the pending code#1657 lane-share wiring awaiting the identical apply pass; one pass should carry both.FAIL git pulllines) remains open as a separate slice.