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 — design(pm-orchestration): Desired/observed reconciliation, freshness and rollback · Issue #9476 · developing-today/code

design(pm-orchestration): Desired/observed reconciliation, freshness and rollback #9476

New issue
Copy link
New issue
Copy link
Open
Open
design(pm-orchestration): Desired/observed reconciliation, freshness and rollback#9476
Copy link
Labels
app/fleetpkgs/fleet multicall binary + platform cratesapp/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/mMedium: expected under 1 day of workepic/pm-stackReprioritization program epic (2026-11-12)kind/designA design proposal (design-architect): multi-step, phased, decision-bearingprimary-parent/pm-stackPrimary parent epic pm-stack (design §3)priority/normalOrdinary priority (the default)queue/blockedQueue or user escalation statestatus/blockedQueue or user escalation statestray-workStray work: not tied to a design or roadmap item (AUDIT-7 Lane 7)

Description

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

MOB-09 — Desired/observed reconciliation, freshness and rollback

Issue title: design(pm-orchestration): Desired/observed reconciliation, freshness and rollback
Design parent: #9201 · Scope: #9201 PM projection/mobile · Version: V3 proposal; not an authorization to implement. Requirement IDs (ALLOCATED): C-R082. Slice status: curated implementation/research slice. Pinned baseline: a038f084dbeb525494d7bb928ad91f597db2ac51.

This batch creates design/research/validation handoff issues only. After PR #9225 is merged and this slice's granular prerequisites are resolved, a separately scoped implementation issue may be filed; production adoption, migration, deployment, and live acceptance remain separately authorized stages. The local FDR decisions are accepted design defaults; global #9180 registration is pending and is not a blocker to this bounded design work.

Goal and deliverable

readback/drift receipts, stale/partial read behavior, operational rollback controls. -

Curated requirement trace

  • C-R082 — design-only (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences C-110; citations: 02_charter_v1_1.md#C-110:78; design: components/9201-pm-projection-mobile-control.md#31-read-model-one-projection-provenance-per-fact; outcome: Show operation accepted, running, pending external sync, blocked, conflicted, and verified complete separately; residual: See status reason and missing_evidence; implementation slices are local keys, not issue IDs.; missing evidence: exact implementation/parser tests for the full behavior, deployment/live acceptance unless separately cited

Deliver this bounded slice only. It enables downstream work only after its stated contracts and prerequisites are accepted; it does not imply that other component specs, closed parent issues, source code, tests, deployments, or runtime behavior are complete.

Owned files and boundaries

  • pm-stack/aggregator/src/work-operation-reconciliation.ts
  • pm-stack/aggregator/test/work-operation-reconciliation.test.ts

Explicit read-only consumers (not writable ownership): pkgs/fleet/crates/fleet-queue/src/work/operations.rs.

Use the existing Fleet queue/PM Stack/adapter owners named in the design; do not add a queue, database, scheduler, service, resolver, executable, GitHub client, or general creation-outbox producer. Shared CLI glue remains owned by the single CLI-13 registration slice. Do not edit #6533 or duplicate its live acceptance; consume #9028/#9073–#9076/#9079/#9081/#9178/#9179/#3424/#8575/#8579 as applicable, not as replacement work.

Prerequisites and sequencing

Hard blockers named by the source slice, after granular-key normalization: MOB-05, #8580, #8581
File-collision sequencing edges added by stable topological serialization: none.
Existing issue references retained as non-blocking runtime/evidence gates: none.
Domain-starter parent references are never emitted as hard native blockers. Source parents normalized to granular slices or runtime gates: none.

Use only granular issue-key edges after all keys are resolved. Never make a whole domain starter a hard blocker when it creates a cycle. File collisions are hard sequencing edges. Parent integration adds native parent/blocker edges in a later pass after the command map, requirements IDs, and acyclic graph are verified.

Starting failing test, oracle, and done check

  • First failing test: fake Project writer accepts request but remote readback remains old; UI presently must not call it verified. Recovery test disables mutations yet leaves pending intent inspectable/replayable. -
  • Oracle: fault-injected desired→pending→conflict/verified states; second independent read confirms every “verified” fixture. Shadow mode compares live projection to legacy board with no writes; rollback config disables new mutation adapter and retains receipts/action intents for later review. -
  • Done command: fault-injected desired→pending→conflict/verified states; second independent read confirms every “verified” fixture. Shadow mode compares live projection to legacy board with no writes; rollback config disables new mutation adapter and retains receipts/action intents for later review. -
  • Tests must first be listed by exact name in the owning target (-- --list); assert the test exists before execution. A zero-test filter passing is not acceptance.

Acceptance and negative cases

fault-injected desired→pending→conflict/verified states; second independent read confirms every “verified” fixture. Shadow mode compares live projection to legacy board with no writes; rollback config disables new mutation adapter and retains receipts/action intents for later review. -

Negative coverage: stale input, duplicate/replay, ambiguous resource, unauthorized actor, partial remote effect, unknown version, and no false verified/completed result where applicable.

Compatibility, migration, and runtime gates

  • Preserve the current queue/status/identity/Project-writer/Fleet gh compatibility surfaces. Do not silently change existing spellings or normalize ratified expedite=15 / next-up=25; those remain distinct from do_now.
  • QTI remains unlocated/unverified; research(pm-orchestration): recover Queue Table Improvements provenance and schema crosswalk #9241 is the existing provenance-recovery issue. design(queue): durable task data model — blocker links, park revalidation, status reasons + notes, full event history, actor provenance #3424/Design: one door, one home per fact — the fleet tool owns every route and every fallback #8575/Fleet unification slice 1: wipe-test audit of the queue database schema #8579/docs(fleet): #8579 wipe-test audit of the queue database schema #8602 are candidates/constraints, not presumed equivalents. Any overlapping persisted field/schema change waits for the QTI crosswalk and named current owner.
  • Runtime gates: implementation starts only after the document PR is merged, the exact curated requirement IDs are integrated, and this issue's granular prerequisite edges are resolved. Schema/migration, production rollout, telemetry, authenticated remote writes, deployed behavior, and live acceptance each require their own explicit evidence and approval. Normal triage does not inherit urgency 450/Do Now.
  • Projection rows being rebuildable/disposable does not authorize deleting the PM PostgREST database or unrelated tables. Preserve unique human-authored pmp_links/link writes and all unrelated tables; follow the existing backup/restore requirements before any future migration or cleanup.
  • Compatibility: Additive and reversible only after existing owner/schema review; retain prior data and behavior; no silent fallback or dual authority.
  • Rollback: Disable only the new capability; preserve pending intents, artifacts, existing state, and remote effects. No broad reset, destructive cleanup, or deletion of history.

Source trail

  • Raw source refs: handoff sources/01_handoff_pm_stack_fleet_orchestration.md; charter sources/02_charter_v1_1.md; recovered original sources/04_recovered_original_combined_design.md; cited source section(s) in sources/03_full_orchestration_proposal.md as named by the component; exact occurrence citations are in the curated trace above when allocated.
  • Design ref: components/9201-pm-projection-mobile-control.md, slice MOB-09 (proposal only).
  • Prior-art/evidence receipts: research/track-a-state-of-art.md, research/track-b-state-of-art.md, research/track-b-sources.json; additional exact evidence anchors for this slice: see the pinned census and component evidence links above.
  • Parent-approved support mapping (validation/expansion support only, not a direct slice-key match): none.
  • Existing external requirement refs not assigned a new curated ID: none.
  • Command allocation: none; this is not a command-owning slice. Full command inventory remains census/commands.jsonl; exact allocation source is census/command-slice-map.jsonl (215 rows, no wildcard). V1 baseline keys are not refiled as duplicate implementation issues.
  • Shared architecture: architecture.md; FDR index: decisions/README.md (all FDR-PMO records remain proposed, not ratified).

Original slice text (preserved)

MOB-09 — Desired/observed reconciliation, freshness and rollback

  • Parent: design(pm-orchestration): PM projection & mobile control surface (Project #4, board, live-session direction) #9201. Requirements: H-DISTRIBUTED/H-SCENARIOS, C-6/C-16/C-17, O §18–20. Goal: readback/drift receipts, stale/partial read behavior, operational rollback controls.
  • Owned files: pm-stack/aggregator/src/work-projection.ts, proposed src/work-operation-reconciliation.ts, test/work-operation-reconciliation.test.ts, freshness display in src/render.ts, and rollback/runbook docs. No new durable store.
  • Failing test: fake Project writer accepts request but remote readback remains old; UI presently must not call it verified. Recovery test disables mutations yet leaves pending intent inspectable/replayable.
  • Named red test: work_verified_effect_requires_source_readback in pm-stack/aggregator/test/work-operation-reconciliation.test.ts.
  • Done/oracle: fault-injected desired→pending→conflict/verified states; second independent read confirms every “verified” fixture. Shadow mode compares live projection to legacy board with no writes; rollback config disables new mutation adapter and retains receipts/action intents for later review.
  • Edges: hard MOB-05/06; Project writer and Fleet unification slice 2: GitHub mirror in the database via webhook Worker #8580/Fleet unification slice 3: fleet verb contract v2 — routes and degraded modes in the tool #8581 integration; live Project proof is separately recorded, mocks never equal deployment.

Activity

Next
  1. dezren39
    added
    app/pm-stackpm-stack (Pad/Grist) in developing-today/code
    kind/designA design proposal (design-architect): multi-step, phased, decision-bearing
    status:to-do
    app/fleetpkgs/fleet multicall binary + platform crates
    on Nov 13, 2026
  2. developing-today commented on Nov 13, 2026

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

    CODE-3098

  3. dezren39
    added a parent issue on Nov 13, 2026
    • design(pm-orchestration): PM projection & mobile control surface (Project #4, board, live-session direction) #9201
  4. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    on Nov 13, 2026
  5. dezren39 commented on Nov 13, 2026

    @dezren39
    dezren39
    on Nov 13, 2026
    MemberAuthor
    More actions

    Triage (task 15942, lane any-c, 2026-11-13): MOB-09 is a well-formed design-stage slice; implementation is correctly gated and not yet authorized. Routed to a gated implementation follow-on (task named in the addendum below).

    Fresh verification:

    • Issue design(pm-orchestration): Desired/observed reconciliation, freshness and rollback #9476 OPEN, no hard-stop labels (held, user/owned, do-not-merge, do-not-auto-edit all absent); it is the curated MOB-09 slice under design(pm-orchestration): PM projection & mobile control surface (Project #4, board, live-session direction) #9201 (PM projection/mobile), program PM Stack & Fleet orchestration — priority, dispatch, and work-item lifecycle (design mill) #9196, baseline pinned in its body. Its own status line: "V3 proposal; not an authorization to implement."
    • Design gate unmerged: PR docs(pm-orchestration): build out both orchestration design tracks #9225 is still OPEN. The batch text allows a separately scoped implementation only after PR docs(pm-orchestration): build out both orchestration design tracks #9225 merges AND this slice's granular prerequisites resolve.
    • Edges unresolved (verified today): hard edges MOB-05 and MOB-06 are themselves gated design slices in this batch and are not implemented; the Project writer integration issues Fleet unification slice 2: GitHub mirror in the database via webhook Worker #8580 and Fleet unification slice 3: fleet verb contract v2 — routes and degraded modes in the tool #8581 are both still OPEN. Parent design(pm-orchestration): PM projection & mobile control surface (Project #4, board, live-session direction) #9201 also OPEN. Live Project proof is separately recorded — mocks never equal deployment.
    • Test oracle verified as listed, baseline established: the named red test work_verified_effect_requires_source_readback lives in pm-stack/aggregator/test/work-operation-reconciliation.test.ts, which does not exist on main — nor does the proposed src/work-operation-reconciliation.ts. That is the correct pre-implementation state.
    • Classification: work kind = gated small-fix (implementation follow-on); priority = normal (band 30 — the packet's "normal priority 30 only" instruction stands; historical urgency is NOT translated into queue priority); effort = m for the implementation slice once gates clear. Requirement ID (C-R082) stands as curated; command allocation is explicitly none (not a command-owning slice).
    • First concrete step for the follow-on: re-verify all gates fresh; while any gate is open, dep-block on PR docs(pm-orchestration): build out both orchestration design tracks #9225 / the edge issues instead of implementing. Acceptance check: the named test exists and passes across fault-injected desired→pending→conflict/verified states, with a second independent read confirming every "verified" fixture, and rollback leaving pending intent inspectable/replayable.
  6. dezren39 commented on Nov 13, 2026

    @dezren39
    dezren39
    on Nov 13, 2026
    MemberAuthor
    More actions

    Addendum to the triage note above (task 15942): the gated implementation follow-on is queue task 16007 (dedupe repo-health:v1:fix:developing-today/code:issue:9476).

  7. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 13, 2026
  8. dezren39 commented on Nov 13, 2026

    @dezren39
    dezren39
    on Nov 13, 2026
    MemberAuthor
    More actions

    agent-note:v1
    lane: openchamber-scheduled-lane (any-n) / repo-worker-code
    event: parked (task 16007)
    reason: MOB-09 is gated. PR #9225 OPEN, #8580 and #8581 OPEN, and MOB-05/MOB-06 unresolved. No implementation attempted.
    resume: when the gates clear. Parked 6h.

  9. 17 remaining items

  10. dezren39
    added
    status/blockedQueue or user escalation state
    and removed
    queue/queuedHas a queued queue task
    status:to-do
    on Nov 14, 2026
  11. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · already done — task 18990 (lane code-b)

    • Already done (verified fresh this shift): MOB-09 (design(pm-orchestration): Desired/observed reconciliation, freshness and rollback #9476) was triaged by task 15942 on 2026-11-13, and its gated implementation follow-on task 16007 stands dep-blocked (gates re-checked 2026-11-14: design PR docs(pm-orchestration): build out both orchestration design tracks #9225 merged, remaining MOB-family gates open). No new packet; another follow-on would duplicate task 16007.
    • Label sync gap closed: priority/normal, effort/m applied to match sibling slices.
  12. dezren39
    added
    priority/normalOrdinary priority (the default)
    effort/mMedium: expected under 1 day of work
    on Nov 17, 2026
  13. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    agent-note:v1 — blocked by openchamber-scheduled-lane (repo-worker-code, task 16007), 2026-11-17: packet_defect. Packet says small_fix, but #9476 is kind/design, status/blocked, queue/blocked, and says "not an authorization to implement". PR #9225 is MERGED, but the gating prerequisites MOB-05/06 and #8580/#8581 are not shown resolved. No code change. Needs a separately scoped implementation issue.

  14. dezren39
    removed their assignment
    on Nov 20, 2026
  15. dezren39 commented on Nov 25, 2026

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

    Claimed by lane 4, 2026-11-25T22:34Z. Writing the MOB-09 design record under doc/: read-back before "verified", stale and partial reads, and rollback controls, on top of the MOB-05 envelope (work-action-contract.ts) and MOB-06 action model on main. Docs first; the pure reconciliation module may follow if the record leaves it unblocked.


    Generated by Claude Code

  16. dezren39
    added 2 commits that reference this issue on Nov 25, 2026

    docs(pm-stack): MOB-09 reconciliation, freshness and rollback design …

    870487a

    feat(pm-stack): MOB-09 work operation reconciliation and mutation swi…

    fc11901
  17. dezren39 commented on Nov 26, 2026

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

    MOB-09 landed: the design record merged in #15318 and the code in #15321 (pm-stack/aggregator/src/work-operation-reconciliation.ts with its tests). The reconciler promotes an effect to verified only on a fresh source readback, and the mutation switch leaves an accepted envelope unchanged and replayable while it is off. Remote aggregator tests and typecheck passed on the merged head.


    Generated by Claude Code

  18. developing-today-fleet
    added
    epic/pm-stackReprioritization program epic (2026-11-12)
    primary-parent/pm-stackPrimary parent epic pm-stack (design §3)
    stray-workStray work: not tied to a design or roadmap item (AUDIT-7 Lane 7)
    on Nov 27, 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/fleetpkgs/fleet multicall binary + platform cratesapp/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/mMedium: expected under 1 day of workepic/pm-stackReprioritization program epic (2026-11-12)kind/designA design proposal (design-architect): multi-step, phased, decision-bearingprimary-parent/pm-stackPrimary parent epic pm-stack (design §3)priority/normalOrdinary priority (the default)queue/blockedQueue or user escalation statestatus/blockedQueue or user escalation statestray-workStray work: not tied to a design or roadmap item (AUDIT-7 Lane 7)

    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.