Skip to content

fleet-ca: reconciliation engine — three-way merge, zz.delete history, event journal & recovery #9159

Open

Description

@dezren39

Program epic: #9155 (Fleet CA, credentials & secrets — v0.3 design mill). Sources: the v0.3 package + addendum + handoffs, merged in the repo design directory doc/2026-11-13*_design_fleet_ca_credentials_secrets/ and staged on the laptop at ~/.local/share/fleet/intake/fleet-ca-v03-20261112/. Safety gates of #9155 apply (design/synthetic only; no production CA, vault writes, or rotations).

DOMAIN STARTER — the Summit's build-out files granular children under this issue.

Scope: daily laptop-run reconciliation across the approved stores: first-run full inventory/backup/plan; three-way merge against the last verified common baseline; per-field conflicts preserved as explicit conflicts (never timestamp-wins); in-place native updates preserving IDs/autofill; absence from API failure or permission change NEVER counts as deletion; verified removals create dated zz.delete tombstones mirrored in both stores (never physically deleted); append-only event journal + indexed event schema (no secret plaintext in indices); saga checkpoints, idempotent replay, partial-write recovery, safe restore, tested backups. Production reconciliation runs only after backup + reviewed plan + approval (separately gated).

Acceptance seed: state-transition matrix + failure-injection test plan (outages, revocations, concurrent edits, false-deletion prevention); journal schema + replay proof obligations specified.

Acceptance criteria

  • A design for the reconciliation engine (three-way merge, zz.delete history, event journal, recovery) is recorded under the programme design directory and linked from this issue.
  • The design covers conflict handling, the delete-history semantics, journal format, and the recovery procedure.
  • Open questions are recorded with chosen defaults.
  • Granular implementation issues are filed for anything implementable that the design settles.

Activity

  1. added
    kind/design
    app/fleet
    epic/fleet-ca-secrets
    on Nov 13, 2026
  2. developing-today commented on Nov 13, 2026

    @developing-today
    Contributor
  3. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: triaged
    task: 18897
    lane: any-l
    work_kind: triage (domain starter, fleet-ca)
    priority: normal — epic #9155 carries no priority label; program is status:to-do
    effort: l — full reconciliation domain (merge, tombstones, journal, recovery)

    Verdict: live domain starter, not yet built out — routed to a scoped follow-on.

    Routing: follow-on build-out packet enqueued as task 20347 (kind small_fix, dedupe repo-health:v1:fix:developing-today/code:issue:9159). This issue stays OPEN as the domain parent.

  4. added
    priority/normal
    effort/l
    task/triage
    status/triaged
    queue/queued
    on Nov 17, 2026
  5. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    Fresh ownership recheck (2026-11-17): #9159 remains OPEN and still says "DOMAIN STARTER — the Summit's build-out files granular children under this issue." Parent #9155 remains OPEN and its binding build-out section says Summit owns the mill and files the granular children. The parent's safety gates remain design/synthetic only; no production CA, vault writes, or rotations.

    This workhorse scheduled lane did not file child issues or design artifacts; that would claim the Summit-owned build-out. Resume only with a Summit-route owner or an explicit reroute, preserving the safety gates.

  6. removed
    queue/queued
    status/triaged
    on Nov 18, 2026
  7. 16 remaining items

  8. added
    queue/claimed
    status/in-progress
    and removed
    queue/parked
    on Nov 22, 2026
  9. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: picked-up
    task: 20347 · lane: oc-code-08 · worker: repo-worker-code

    Claimed atomically and checkpointed. Fresh revalidation: #9159 is OPEN with no held/user/owned/do-not-auto-edit labels; no native sub-issues exist. PR #9245 remains OPEN draft at 51460d5; Summit task 17413 is parked. I found a packet defect before starting work: the payload says kind=small_fix, but the live issue is labeled kind/design and effort/l and asks for granular child issues plus several design artifacts (120-minute scope). No worktree or artifacts created.

  10. added
    queue/blocked
    status/blocked
    and removed
    status/in-progress
    queue/claimed
    on Nov 22, 2026
  11. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: blocked
    task: 20347 · lane: oc-code-08 · worker: repo-worker-code

    Blocked as packet_defect before implementation. The queue payload declares kind=small_fix, but live #9159 is labeled kind/design and effort/l and asks for granular child issues plus multiple design artifacts (120-minute scope). Fresh evidence: #9159 OPEN, no native sub-issues; #9245 OPEN draft at 51460d5; Summit task 17413 parked. No worktree or artifacts created.

    Resume: correct the packet kind/scope to match the design/l build-out, then re-enqueue. Safety gates remain design/synthetic only; no production CA, vault writes, rotations, credentials, or production reconciliation.

  12. dezren39 commented on Nov 24, 2026

    @dezren39
    MemberAuthor

    agent-note:v1 — second-pass task 21717 (lane any-o, 2026-11-24). Fresh state: #9159 OPEN, kind/design, effort/l, status/blocked, queue/blocked. Draft PR #9245 is still open (per prior notes). The queued packet is typed small_fix with a 45-minute timebox, but the live issue is a design build-out that needs granular child issues. Verdict: packet defect, same as the earlier block on task 20347. Routing a corrected kind/design packet needs the owner's queue pass, so none is enqueued here. Tracking: #14158

  13. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    Contributor

    agent-note:v1
    Agent: felix (Muse lane, 2026-11-25)
    State: verified-blocked — #14863 hygiene audit slice 10

    The block of record is a queue packet defect, verified twice (task 20347, 2026-11-22; second-pass task 21717, 2026-11-24): the routed packet is typed small_fix with a 45-minute timebox, but this issue is a kind/design, effort/l Summit design-mill build-out needing granular child issues; the design deliverable rides draft PR #9245. status/blocked + queue/blocked match that recorded state. No issue-to-issue dependency applies — the unblock is a correctly typed packet / the Summit build-out, not another issue closing. Refs #14863

  14. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    Contributor

    Triage verdict — queue task 24742 (oc-code-03, 2026-11-26)

    Verdict: verified blocked; no fleet packet routed.

    Fresh readback: #9159 OPEN (kind/design, effort/l, status/blocked, queue/blocked), parent #9155 OPEN (Summit-owned design mill), draft PR #9245 still OPEN. No Summit-route handoff or explicit reroute recorded. Prior follow-up task 20347 (cancelled after block as packet_defect: small_fix/45-min packet vs design/l build-out needing granular children) and second-pass task 21717 stand re-confirmed. Routing a corrected kind/design packet needs the owner's queue pass (tracking #14158); this lane files no children or design artifacts per the #9155 safety gates (design/synthetic only).

    Resume: explicit Summit-route owner handoff or reroute, then a correctly typed design packet; revalidate first.

    🤖 Agent note · triage

    • Agent: OpenCode lane oc-code-03
    • Task: 24742
    • Outcome: blocked (Summit ownership + packet defect, re-confirmed third pass)
  15. dezren39 commented on Nov 29, 2026

    @dezren39
    MemberAuthor

    🤖 Census note · lane CEN-C07, 2026-11-29 full issue census (firsthand recheck)

    Verdict: blocked — by a queue packet defect, verified three times; the unblock is an owner's queue pass, not another issue.

    Blocker (named precisely): the routed packet for this starter was typed small_fix with a 45-minute timebox, but #9159 is a kind/design, effort/l Summit build-out needing granular child issues (state-transition matrix, failure-injection plan, journal schema + replay obligations). Verified as packet_defect on task 20347 (2026-11-22), second-pass 21717 (2026-11-24), and triage 24742 (2026-11-26). Routing a corrected kind/design packet needs the owner's queue pass (tracking #14158), or an explicit Summit-route handoff/reroute of the starter. The design deliverable itself rides the Summit build-out (draft PR #9245, OPEN).

    Strengths: scope is exceptionally well-specified for whoever gets the corrected packet: absence-from-API-failure never counts as deletion, zz.delete tombstones mirrored and never physically deleted, per-field conflicts preserved (never timestamp-wins), production reconciliation separately gated behind backup + reviewed plan + approval.

    Census actions: labels sane (priority/normal, status/blocked, queue/blocked). Comment only. Do not re-import this as a small-fix packet.

  16. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Census 2026-11-29 (Felix): full recheck of this issue — body, all 20 comments, labels, and native blocked_by edges read firsthand; blocker states verified live today. A census note from lane CEN-C07 is already on this issue today; per Drewry's order I rechecked everything firsthand anyway — this comment is my own record and lists only what I verified or changed.

    STRENGTHS

    • concise body (1403 chars) naming the scope and parent programme; 20 comments of working history, latest 2026-11-29; The blocker is named precisely in the comments: the routed packet was typed small_fix with a 45-minute timebox against a kind/design, effort/l Summit build-out — a packet defect, verified twice (tasks 20347, 21717)..

    GAPS

    • no explicit acceptance criteria in the body (tracker/starter pattern — see REMAINS); body/comments named blockers that had no native blocked_by edge.

    FIXES I APPLIED

    REMAINS

  17. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Issue census — 2026-11-29

    Second-pass census note (group code-09101-09459 audit). A first census note from lane CEN-C07/CEN-C08 is already on this issue today; this pass re-verified the live state, labels, body, and newest comments firsthand and applied the residual fixes below — it does not repeat the earlier note's verdict or blocker record, which stand.

    Gaps found: No ## Acceptance criteria section.

    Strengths found: Detailed, self-contained body with named parent/source and scope; a first census note from lane CEN-C07/CEN-C08 is already on this issue today (2026-11-29) with a firsthand verdict and blocker record, re-verified live by this pass.

    What this pass did: Appended a ## Acceptance criteria section to the body (original text unchanged), formalising the acceptance seed/scope already stated in the body.

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/fleeteffort/lepic/fleet-ca-secretskind/designpriority/normalqueue/blockedstatus/blockedtask/triagework/assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions