Repository navigation
Open
Labels
area/nixosNixOS modules and machine configurationeffort/lLarge: multi-day or open-ended; expect staged check-insepic/pm-stackReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/humanFiled directly by a humanstatus/triagedTriaged and routed (see agent note)task/triageQueue packet kind: verify, reproduce, and route this item
Description
Status quo (verified 2026-10-28)
The flake's nixos/services/ defines cloudflared, flatpak, id-mail, and pm-stack (aggregator, projector, git-sync, projector-reconcile). Four PM-stack servers are NOT in the flake at all (zero mentions in nixos/ or home/): they run as hand-made units/containers on the laptop, are not enabled as boot services, and would not come back on their own after a reboot:
- Grist (:8484) — roadmap table + registers; its own document storage.
- Kaneo (:5173) — task board; Postgres-backed (see code#1514: its database has no backup routine, docker volume is the only copy).
- Pad (:7777) — notes; token expires 2027-01-22.
- ready-for-agent (:6056) — agent intake endpoint.
What to build
- One nixos/services module per server (or one pm-apps module) in this flake, following the pm-stack module's shape: service runs from the primary checkout or a pinned package, state under ~/.local/state// (or the server's existing data home — do NOT orphan Kaneo's Postgres data or Grist's docs; migrate or bind the existing data in place).
- Enabled at switch like the rest of the fleet; hand units retired in the same change that proves the NixOS unit serves.
- Backup coverage for each server's data lands with or before the move (code#1514, code#1516).
Acceptance
- After a NixOS switch, all four answer on their ports with their existing data intact.
- A laptop reboot brings all four back with no hand step.
- The hand-made units/containers are removed; 'systemctl --user is-enabled' is no longer the thing standing between the stack and a reboot.
Raised by Drew 2026-10-28 ('what is status for implementing nixos services for all the servers?'). Related: code#1199 (projector deploy — done interim, NixOS at the switch), code#1514, code#1516, code#1744 (shared-schema direction for these servers' data).
Acceptance criteria
- Each of Grist (:8484), Kaneo (:5173), Pad (:7777), and ready-for-agent (:6056) is defined as a NixOS/flake service in this repo, following the pm-stack module shape, with state under
~/.local/state/<name>/or its existing data home bound/migrated in place — Kaneo's Postgres data and Grist's documents are not orphaned. - After a NixOS switch, all four servers answer on their existing ports with their existing data intact.
- A laptop reboot brings all four back with no hand step.
- The hand-made units/containers are retired in the same change that proves the NixOS units serve.
- Backup coverage for each server's data lands with or before the move (see pm-stack databases (Kaneo Postgres, Grist, Pad) have no backup routine — docker volumes are the only copy #1514, audit(backups): 2026-10-27 coverage audit — aggregator offsite unproven, Kaneo/atlas gaps, NixOS backup service directive #1516).
Metadata
Metadata
Assignees
Labels
area/nixosNixOS modules and machine configurationeffort/lLarge: multi-day or open-ended; expect staged check-insepic/pm-stackReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/humanFiled directly by a humanstatus/triagedTriaged and routed (see agent note)task/triageQueue packet kind: verify, reproduce, and route this item
Activity
developing-today commentedon Oct 28, 2026
CODE-707
dezren39 commentedon Oct 28, 2026
Intake review
nixos/orhome/), and a search this run found no PR or duplicate issue implementing flake services for them. Filed by Drew directly, sosource/human. The body's Acceptance bullets are formalized as## Acceptance criteriaappended to the body. Labels normalized: kind/feature, status/needs-triage, priority/normal, effort/l (four services plus data migration), area/nixos; pre-existingenhancement/nextkept.— fleet monitor intake pass, 2026-10-28
61 remaining items
dezren39 commentedon Nov 21, 2026
Decided:
nextis removed; this is kept in the plan's Later list with its trigger, and keeps its priority label.Why: Next now holds only what starts when a Now track finishes (plan). Nothing here is dropped.
Undo: put
nextback.By: Claude, in the 2026-11-21 priorities session, under FDR-0013. Nothing here waits on anyone.
Generated by Claude Code
dezren39 commentedon Nov 22, 2026
Decided: Treat the existing NixOS-managed
pm-stackcompose service as satisfying #1752's Kaneo/PostgreSQL NixOS/flake-service requirement, and close PR #7926 as superseded; do not enact its OCI cutover.Why: #1752 asks for a NixOS/flake service following the
pm-stackmodule shape. On current main,pm-kaneo.serviceand its timer are declared bynixos/services/pm-stack/default.nix, whilenixos/services/pm-apps/default.nixdocuments why duplicate OCI declarations caused two managers and two PostgreSQL postmasters on the same volume. PR #3847 removed those duplicate declarations. PR #7926 is now conflicting with main and has failing checks; merging it would reintroduce the documented dual-manager hazard.Undo: If a concrete OCI end-state is again required, open a new planned cutover task from current main with the compose shutdown, verified backup/snapshot, switch, and post-switch checks as one coordinated operation.
By: repo-worker-code, task 17267.
dezren39 commentedon Nov 22, 2026
Decided: The escalation is discharged. The four-service build (Grist, Kaneo, Pad, ready-for-agent as flake services) proceeds as ordinary fleet work on the terms already recorded on this issue — including the 2026-11-22 decision that the existing NixOS-managed pm-stack compose service satisfies the Kaneo/PostgreSQL requirement and PR #7926 stays closed as superseded (no OCI cutover).
Why: This issue already carries its governing decisions (the 2026-11-21 priorities-session record and today's task-17267 record, both decision:v1 under FDR-0013), and the build direction matches Drew's standing rule that every deployed service is built from its repo into a Nix package and run from the store (2026-11-10). No question on the thread is addressed to Drew; the remaining work is implementation and the coordinated laptop switch, which is fleet work.
Undo: A new decision record here or a PR changing the service shape supersedes the affected part.
By: archer (lane S, #12234 owner-parks sweep, under FDR-0013)
user/escalatedis removed.dezren39 commentedon Nov 23, 2026
Agent note — acceptance verification pass (lane DR, 2026-11-22)
state: verified — 4 of 5 criteria evidenced live; issue stays open on one named remainder (post-switch reboot proof)
Fresh evidence gathered this pass (laptop probe + current main
cb4c54ced4f):Criterion 1 — all four defined as flake services, data in place: MET
nixos/services/pm-apps/default.nix, enabled viaservices.pm-apps.enable = trueinnixos/hosts/default.nix.pm-kaneo.service/pm-kaneo.timer, user units enabled, timer active); PR feat(nixos): Kaneo + PostgreSQL as pm-apps oci-containers (code#1752) #7926 stays closed as superseded.pm-grist: grist_grist_data->/persist,pm-pad: pad_pad_data->/data. Kaneo/Postgres remain on their original compose volume.pm-apps-units.test.shall checks passed;pm-apps-health.test.shall checks passed (readiness probe, code#8940).Criterion 2 — after a switch, all four answer with data intact: MET
docker-pm-grist/docker-pm-padsystem units active; containers up 6 days on the NixOS units.pm-apps-health.timerenabled + active;pm-apps-health.servicenot failed.Criterion 3 — a reboot brings all four back with no hand step: NOT YET EVIDENCED (the remainder)
enabled(docker-pm-grist, docker-pm-pad, ready-for-agent user unit, pm-kaneo timer), so the static precondition holds. But the laptop's only boot on record (2026-11-16 05:37 CST) predates the pm-apps containers' start (~16 h later, at the switch) — no post-switch reboot has occurred yet, so the dynamic proof is still owed.Criterion 4 — hand-made units/containers retired: MET
docker compose lsshows onlypm-stack(Kaneo/Postgres, the decided end-state) and the unrelatedcrd-container; the Grist/Pad compose projects are gone.ready-for-agent.service.bak-20261025-loopback; the live unit is the home-manager one from pm-apps, enabled + active, with its tailnet socket units.Criterion 5 — backup coverage lands with or before the move: MET
No code change was warranted this pass — the build half of this issue is landed and live; the only remainder is the reboot proof above, deliberately not forced here (an unplanned reboot would disrupt the running fleet lanes and belongs in the coordinated drill).
dezren39 commentedon Nov 24, 2026
🤖 Agent note · verify-and-route pass (queue 21755, lane code-f, 2026-11-24)
developing-today-fleet commentedon Nov 27, 2026
dezren39 commentedon Nov 27, 2026
🤖 Agent note · triage concurrence (queue task 26091, lane 2233-A-F, 2026-11-26)
Duplicate draw of task 25822's triage (lane any-n, 2026-11-27T01:43Z) — re-verified fresh and concurring: criteria 1, 2, 4, 5 are met on current main (pm-apps + pm-stack modules present; PR #7926 closed superseded per the 2026-11-22 decision records). The sole remainder is criterion 3, the post-switch reboot proof, which rides on the planned laptop-off drill in #6816 and cannot be forced from a triage packet. No new fix packet; this task completes as triaged and the lane moves to implementation work.
dezren39 commentedon Nov 29, 2026
Census 2026-11-29 (lane CEN-C02) — rechecked firsthand.
State: OPEN, substantially resolved. Per the 2026-11-23 acceptance pass, re-verified 2026-11-24 and 2026-11-27: criteria 1, 2, 4, 5 are MET —
nixos/services/pm-apps/default.nixandpm-stack/default.nixare on main (Grist, Kaneo, Pad, ready-for-agent defined as flake services following the pm-stack module shape), and the earlier competing PR #7926 was closed unmerged as superseded per the 2026-11-22 decision records.Remaining: criterion 3 only — the post-switch reboot proof (a laptop reboot brings all four back with no hand step, data intact). That proof rides on the planned laptop-off drill in #6816 and cannot be forced from a triage packet; when the drill's reboot record lands, this issue's last criterion is checkable against it.
Blockers: #6816 (the drill). No code work remains. Labels/priority: kind/feature + priority/normal confirmed correct by this census.
developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (Felix): full re-read (body, labels, all comments, edges) in the CODE-6 recovery pass. STRENGTHS: criteria accounting is explicit — 1, 2, 4, 5 met. FIXES I APPLIED: none needed. REMAINS: criterion 3 (reboot proof) rides the #6816 laptop-off drill; no Drewry decision needed.
developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29
Wave-2 census pass (group code-01409-03205): rechecked live state, body, labels and recent comments firsthand via
fleet ghimmediately before editing.A 2026-11-29 census note from another lane (CEN-*/Felix) already exists on this issue — skimmed, not duplicated; this note records only the residual verdict and any residual fixes.
Strengths: detailed body (2564 chars) with context a picker-up can start from; acceptance criteria present in the body; single taxonomy priority band (priority/normal) — verified against live labels; kind label present (kind/feature).
Gaps found: bare non-taxonomy
enhancementlabel duplicating kind/*.Actions taken this pass: labels: +['status/triaged'] -['enhancement'].
Priority: priority/normal — checked against content, unchanged (no reprioritization). No closing keywords used; issue left open.