Skip to content

Epic: deployment architecture — services layer + deploy tool (tracking) #5765

Open

Description

@dezren39

Tracking epic for the deployment-architecture design (PR #5764, doc/2026-11-04_deployment-architecture-services-layer.md).

Problem in one line: we have Nix build definitions for almost everything and deployment definitions for almost nothing — services ride the system switch, run out of a live checkout, or live as hand-placed files that switches/recycles/redeploys strand.

Program:

  • deploy tool v1 (registry + systemd generations)
  • deploy tool: Cloudflare target class
  • M1: route-proxy hand unit → target
  • M2: fleet three (laptop-agent, secrets-broker, queue-broker) — one declaration
  • M3: sandbox quota-recorder + generic restorer
  • M4: pm-stack off the checkout (filed when M1–M3 land)
  • Containers: Nix-build audit (mcpx, lab-ops duplicate Dockerfile, amd-crd)
  • VMs: declarative guests (nixvirt/microvm)

Rules for the whole program: each migration independently reversible; no migration requires a system switch to land; the only system-flake change is additive (the deploy package + deployTargets output); secrets are consumed by name from the brokers, never embedded.

Activity

  1. developing-today commented on Nov 5, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    Issue map for this epic (filed 2026-11-04 with the design PR #5764):

    Design doc: doc/2026-11-04_deployment-architecture-services-layer.md (PR #5764).

  3. added
    queue/queuedHas a queued task in the Supabase agent queue
    task/triageQueue packet kind: verify, reproduce, and route this item
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed
    queue/queuedHas a queued task in the Supabase agent queue
    on Nov 5, 2026
  4. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up

  5. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · triage verdict (task 10171, lane code-g, 2026-11-05)

    Verdict: epic #5765 is live and almost fully decomposed. Design PR #5764 is MERGED (2026-11-05T01:48Z). The epic's checkboxes are all still unticked, but the child issues exist — the boxes, not the work, are what is stale.

    Filed and OPEN (verified by search this run):

    Missing:

    Routing: one follow-up triage task enqueued to file the containers Nix-build audit issue in the epic's terms and tick/link the epic's program list to the child issues above, so the tracking page matches reality. Nothing here needs Drew; the program rules on the epic (independent reversibility, no system-switch dependency, additive flake change only, secrets by name) bind all children as written.

    Epic stays open as the tracker.

  6. added
    queue/queuedHas a queued task in the Supabase agent queue
    and removed
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 5, 2026
  7. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · triage complete (task 10171, lane code-g)

    • Follow-up enqueued: task 10492 (triage, repo-health-code-pilot) to file the Containers Nix-build audit issue and sync this epic's checklist links.
    • Epic stays open as tracker; labels set to queue/queued for task 10492.
  8. added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed
    queue/queuedHas a queued task in the Supabase agent queue
    on Nov 5, 2026
  9. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up

  10. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · triage findings (task 10492, lane code-u, direct lane)

    Verdict: HEALTHY TRACKING EPIC — design landed, programme fully decomposed into tracked child issues. Nothing sits silently; no follow-up owed by this triage.

    Evidence (fresh, 2026-11-05):

    This triage (task 10492) completes as triaged. The epic stays open as the tracking record until its children close; progress belongs on the child issues, not here.

  11. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · done

  12. developing-today commented on Nov 5, 2026

    @developing-today
    Contributor

    Agent note — future M4 issue must carry the ownership-handoff acceptance (from issue #6251)

    Per issue #6251, the M4 acceptance in doc/2026-11-04_deployment-architecture-services-layer.md §7 now includes an explicit Home Manager unit-ownership handoff for the PM units declared under home-manager.users in nixos/services/pm-stack/default.nix (declaration removal or a durable override in the proving change) plus post-activation survival verification. The future M4 implementation issue filed under this epic must carry that same handoff + post-activation acceptance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

task/triageQueue packet kind: verify, reproduce, and route this item

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions