GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Claimant dispatch state not backed · Issue #10298 · developing-today/code

Claimant dispatch state not backed #10298

New issue
Copy link
New issue
Copy link
Closed
Closed
Claimant dispatch state not backed#10298
Copy link
Labels
app/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/mMedium: expected under 1 day of workkind/infrastructureInfrastructure / host-portability workpriority/highImportant and time-sensitivestatus/triagedTriaged and routed (see agent note)status:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

@dezren39
dezren39
opened on Nov 14, 2026
Issue body actions

Found by the 2026-11-14 whole-PM-stack backup/DR audit (verdict issue filed same day).

Observed (2026-11-14, laptop amd): several small but load-bearing state holders sit outside every backup set:

  • ~/.local/state/opencode-claimant/ (11 MB, 468 files) — including the claimant mode file, whose live content is live (the switch that lets the claimant actually launch workers), plus fire/probe history. No routine backs this directory up. If it is lost, the mode must be guessed/recreated — and a wrong guess changes fleet behaviour.
  • ~/.local/state/pm-dispatch/ — only a witness log today; the dispatch service's real config lives in ~/pm-stack/dispatch/.env and ~/secrets/dispatch.env (the latter is a plaintext file; ~/secrets/*.sops.yaml is backed up, the plain .env files beside it are not).
  • ~/pm-stack/ — the deployed tree the systemd units actually run from (ready-for-agent.service WorkingDirectory, pm-tunnel token file ~/pm-stack/tunnel.token) is not a git repository and is in no backup set. Most of it duplicates developing-today/code, but tunnel.token / tunnel.env / dispatch/.env are local renderings. (The tunnel token value does exist in Bitwarden by name — cloudflare.tunnel.amd-6-pm-stack-token — verified by name only; the same has not been verified for every rendered file.)
  • ready-for-agent keeps no separate state dir — its state is GitHub labels + the bare mirror ~/pm-stack/ready-for-agent/repos/code.git, also unbacked (rebuildable from GitHub, but that is an inference, never tested).
  • ~/.local/state/pm-projector/projector.db (200 MB) is deliberately mostly unbacked (rebuildable projection) — the one non-rebuildable table, pmp_links, is exported daily by pm-dashboard-backup (verified in the 2026-11-14 archive: projector/pmp_links.sql, 0 rows). That part is fine; it is listed here so the boundary is explicit.

Fix shape: add the claimant dir (at minimum mode + claimant config), the dispatch env renderings (via the SOPS/vault route, not plaintext archives), and an inventory note for ~/pm-stack rendered files to an existing backup set; name each file's vault name where one exists.

Acceptance: a fresh archive/restic snapshot demonstrably contains the claimant mode file, and every rendered secret file in ~/pm-stack + ~/secrets has a named vault source recorded in the inventory.

Activity

  1. developing-today commented on Nov 14, 2026

    @developing-today
    developing-todayBot
    on Nov 14, 2026 – with developing.today
    Contributor
    More actions

    CODE-3706

  2. github-actions
    assigned
    dezren39
    on Nov 14, 2026
  3. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up + triaged

    • Agent: queue worker (repo-worker-code), lane any-g
    • Session / ID: task 19222
    • Found via: repo-health-code-pilot atomic claim (unfiltered, lane any-g); execution-lane assignment: direct (fix(queue): single-session by default — launch-on-handoff, lane works, inline triage (reverses #8097 Rule 3) #8187)
    • Task: Triage issue Claimant dispatch state not backed #10298: Claimant dispatch state not backed
    • Fresh verification (2026-11-17): issue Claimant dispatch state not backed #10298 OPEN with no labels (never triaged; one Kaneo-link comment). No hard-stop labels. The finding still stands: fresh greps find no backup set, restic config, or nixos backup definition on origin/main mentioning opencode-claimant, and on the laptop (names/structure only) ~/.local/state/opencode-claimant/ is live with its mode file present, as is ~/pm-stack/ with dispatch/ — the audited state holders are unchanged in kind three days after the audit.
    • Verdict: work kind task/small-fix · priority/high · effort/m · kind/infrastructure, app/pm-stack (labels applied this run, plus status/triaged and queue/queued for the follow-on).
    • Priority why: the claimant mode file is load-bearing single-copy state — it is the switch that lets the claimant launch workers, and the audit records that losing it forces a guess that changes fleet behaviour. No expedite/next-up label (Drew's set untouched); the high call is this lane's, on the audit's own evidence.
    • Routing: the follow-on implements the audit's fix shape against the laptop's existing daily backup mechanism (locating its set definition is step one — no parallel backup system): claimant dir (mode + config at minimum) into a backup set with a fresh snapshot proving the mode file is in; dispatch env renderings covered by SOPS/vault reference only; and the ~/pm-stack rendered-file inventory with a per-file disposition and vault names. The projector boundary the audit verified correct is explicitly out of scope.
    • Secrets discipline (in the packet): names, paths, and vault entry names only — no secret contents read, copied, or archived; a rendered file with no vault source is recorded as a gap for Drew, not filled by the lane.
    • Fix packet: repo-health:v1:fix:developing-today/code:issue:10298 → enqueued as task 20559 (queue repo-health-code-pilot, status queued, priority 20; packet file hidden_files/19222-fix-packet-10298.json).
  4. dezren39
    added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    priority/highImportant and time-sensitive
    effort/mMedium: expected under 1 day of work
    kind/infrastructureInfrastructure / host-portability work
    app/pm-stackpm-stack (Pad/Grist) in developing-today/code
    status/triagedTriaged and routed (see agent note)
    queue/queuedHas a queued queue task
    on Nov 17, 2026
  5. developing-today
    added
    status:in-review
    on Nov 17, 2026
  6. dezren39
    added
    status/in-progressQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed
    queue/queuedHas a queued queue task
    on Nov 17, 2026
  7. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    agent-note:v1
    state: pr_opened
    actor: repo-worker-code (openchamber scheduled lane code-f, task 20559)
    summary: PR #11009 adds ~/.local/state/opencode-claimant to laptop-state-backup (mode, config, fires.jsonl kept; per-run .out/.err excluded) and records the pm-stack/secrets disposition inventory at nixos/home/laptop-state-backup.md (names only).
    open: snapshot evidence (acceptance 1) needs the flake deploy and the next daily run. Gap for Drew: sops age key ~/.config/sops/age/keys.txt is in no backup set. Bare-mirror rebuild is an untested inference.

  8. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 17, 2026
  9. dezren39
    added a commit that references this issue on Nov 17, 2026

    Merge pull request #11009 from developing-today/queue/20559-10298-cla…

    76f6267
  10. dezren39
    removed their assignment
    on Nov 20, 2026
  11. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026 – with Claude
    MemberAuthor
    More actions

    Merged work, still open. Every pull request that references this issue has merged (#11009) and none is open, but the issue kept status:in-review. Tasks that name it as a blocker have been waiting on it.

    status:in-review is removed. Whoever takes this next: run the issue's done check against main. Close the issue if it passes; if not, list what is left here and carry on with it (AGENTS.md, "Finishing work").

    By: Claude, 2026-11-22 flow review.


    Generated by Claude Code

  12. dezren39
    removed
    status:in-review
    on Nov 22, 2026
  13. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Agent note · claimed — Lane LP (archer)

    • Slice: acceptance close-out for Claimant dispatch state not backed #10298 — snapshot evidence for criterion 1, inventory refresh, close.
    • Fresh evidence (2026-11-23): deployed laptop-state-backup script (nix-store copy the unit runs) includes opencode-claimant (6 mentions); last-success marker 2026-11-22 05:44:57 CST; local restic snapshot bbbcb3d6 (2026-11-22 05:44:05 -0600, tag laptop-state-daily) lists /home/user/.local/state/opencode-claimant/mode and fires.jsonl among its contents, read back via restic ls (names only, no contents).
    • Next: doc PR updating the inventory's gap 3 (snapshot evidence) from "not yet produced" to this record, then close with the full record.
  14. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Agent note · acceptance verified, closing — Lane LP (archer)

    Both acceptance criteria for #10298 are now met with fresh evidence:

    1. Snapshot contains the claimant mode file. The deployed laptop-state-backup unit's nix-store script includes the opencode-claimant source (the set change from Back up claimant state and record pm-stack/secrets backup inventory (#10298) #11009 is live, not just on main). The daily run's last-success marker reads 2026-11-22 05:44:57 CST, and local restic snapshot bbbcb3d6 (2026-11-22 05:44:05 -0600, tag laptop-state-daily) was listed back with restic ls — its paths include /home/user/.local/state/opencode-claimant/mode and fires.jsonl. Names only; no file contents were read. The live mode file's content is live, matching the audit.
    2. Every rendered secret file has a named recovery source in the inventory. The table in nixos/home/laptop-state-backup.md gives each rendered file in ~/pm-stack + ~/secrets a disposition and a named source (Bitwarden entry name or the sops file/key it renders from). The only secret-adjacent item without a vault copy — the sops age private key's named Bitwarden copy — is tracked as SOPS decryption key not recoverable #10295's remainder (its restic coverage landed via feat(pm-stack): wire the §4 escalation router into the watchdog tick (#9991) #13019); it is a SOPS decryption key not recoverable #10295 acceptance item, not one of this issue's two criteria.

    Landed: PR #13072 (merged 36f1f0a60d36) updates the inventory's gap 3 from "not yet produced" to this evidence.

    Recorded remainders that stay open elsewhere, unchanged by this close: the bare-mirror rebuild is still an untested inference (inventory gap 2), and the one-off pm-stack archives remain explicitly unbacked by decision (inventory table).

  15. dezren39
    closed this as completedon Nov 23, 2026
  16. developing-today
    added
    status:done
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/mMedium: expected under 1 day of workkind/infrastructureInfrastructure / host-portability workpriority/highImportant and time-sensitivestatus/triagedTriaged and routed (see agent note)status:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.