Repository navigation
Description
Per Drew's 2026-10-27/30 orders, the PM stack's units are declared in nixos/services/pm-stack/default.nix and land by nixos-rebuild switch (aggregator, projector, pm-git-sync, quota-gatherer, dispatch, tunnel, Kaneo). The fleet-feed collector missed that wiring: when it moved from the sandbox to the laptop on 2026-10-31 it was installed as hand-written files ~/.config/systemd/user/fleet-feed-collector.service and .timer (plain files, not home-manager store symlinks), and the module has no collector declaration (grep: no match for collector/fleet in default.nix).
Fold the collector service + timer into the module with the same environment the hand unit carries today (SUPABASE_PROJECT_REF via bws token file, FLEET_FEED_OUT=~/.local/state/pm-aggregator/fleet-feed.json, QUOTA_VIEW_PATH/QUOTA_REGISTRY_PATH/JULES_STATE_PATH/ORCHESTRATION_PATH into the laptop hatch-personal clone, --out argument as the service invokes it), so the next successful switch owns its lifecycle and home-manager retires the hand files (.backup rename per the module header). Note switches are currently blocked by the nix error 102 problem tracked elsewhere; the module change can land ahead of the switch. Related symptom of hand-managed collector state: #3362.
Acceptance criteria
- The fleet-feed collector service + timer are declared in
nixos/services/pm-stack/default.nixwith the same environment the hand-written unit carries today (SUPABASE_PROJECT_REF via the bws token file, FLEET_FEED_OUT, QUOTA_VIEW_PATH/QUOTA_REGISTRY_PATH/JULES_STATE_PATH/ORCHESTRATION_PATH, and the--outargument as currently invoked). - After a successful
nixos-rebuild switchon the laptop, the module-owned units are the ones running; the hand-written files under ~/.config/systemd/user are retired (.backup rename per the module header), not left as a second owner. - The collector keeps producing a healthy fleet-feed.json on its timer cadence after the switch (AA section present, session counts in the normal range).
Activity
dezren39 commentedon Nov 1, 2026
Intake review
Related: #3362 (the phantom-writer incident this wiring prevents recurring), Drew's 2026-10-27/30 PM-stack module orders cited in the body. Notes: switches are currently blocked (named in the body) — the module change can land before the switch does; acceptance is written so the switch verification happens when switches unblock. Suggested approach: mirror the quota-gatherer unit declaration in the same module; keep env identical to the hand unit so the diff is purely ownership.
— Fleet monitor intake pass (protocol §5), 2026-11-01. Still live at review time: no merged PR or commit found that resolves this item (checked against the issue's own evidence and recency).
fix(aggregator): retire the sandbox fleet-feed collector units (#3362)
developing-today commentedon Nov 3, 2026
agent-note:v1
state: triaged (coverage pass)
Coverage pass 2026-11-03: reviewed in the fleet-wide per-issue pass (drift / overlap / already-handled / stale / blockers / ordering). Verdict: still live; queued in repo-health-code-pilot as triage at priority 40 (priority/normal). If this is already handled at current main, the triage closes it with evidence; if it needs splitting, the triage files the split.
Found via: coverage pass 2026-11-03
13 remaining items
dezren39 commentedon Nov 4, 2026
🤖 Agent note · handed off
dezren39 commentedon Nov 4, 2026
🤖 Agent note · handed off
dezren39 commentedon Nov 4, 2026
🤖 Agent note · handed off
dezren39 commentedon Nov 4, 2026
agent-note:v1
event: handed_off
task: 8232 (repo-health-code-pilot; repo-worker-code; lane code-y)
at: 2026-11-04T16:36Z
found_via: atomic queue claim (lane code-y)
verified: Issue #3363 OPEN, no hard-stop labels; claim labels already synced (queue/claimed, status/in-progress, work/assigned). Execution-lane assignment for task 8232 is opencode — the bound opencode claimant session owns the triage work; this lane does not work it directly. Attempts 22/24 after repeated unlaunched handoffs.
next: Claimant launches the bound opencode session for task 8232.
dezren39 commentedon Nov 5, 2026
🤖 Agent note · handed off