Skip to content

design(pm-orchestration): Deployable source integration, observability and rollback #9450

Open

Description

@dezren39

DSP-10 — Deployable source integration, observability and rollback

Issue title: design(pm-orchestration): Deployable source integration, observability and rollback
Design parent: #9203 · Scope: #9203 direct dispatch/events · Version: V3 proposal; not an authorization to implement. Requirement IDs (ALLOCATED): C-R160, C-R162, H-R046, H-R048, O-R065. 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

wire supported entrypoints and dashboards for operator inspection with kill switch and retention/retry policy. -

Curated requirement trace

  • H-R046 — design-only (requirement); basis: parent-approved semantic support mapping; not a direct implementation_slice_keys match; support rationale: rollout, recovery and evidence distinctions; no deployment or schedule authorization; occurrences H-083; citations: 01_handoff_pm_stack_fleet_orchestration.md#H-083:65; design: components/9198-requirement-crosswalk-current-state-census.md#3-v2--contract-and-compatibility-crosswalk; outcome: Include acceptance and migration/rollback tests in the design handoff.; residual: Design contract only; implementation, adapter conformance and any runtime evidence are separate.; missing evidence: implementation tests for exact behavior, live/deployment acceptance unless separately evidenced
  • H-R048 — design-only (requirement); basis: parent-approved semantic support mapping; not a direct implementation_slice_keys match; support rationale: rollout, recovery and evidence distinctions; no deployment or schedule authorization; occurrences H-085; citations: 01_handoff_pm_stack_fleet_orchestration.md#H-085:65; design: components/9198-requirement-crosswalk-current-state-census.md#3-v2--contract-and-compatibility-crosswalk; outcome: Report designed, implemented, merged, deployed, live-verified, blocked, and pending states separately.; residual: Design contract only; implementation, adapter conformance and any runtime evidence are separate.; missing evidence: implementation tests for exact behavior, live/deployment acceptance unless separately evidenced
  • C-R160 — unverified (requirement); basis: parent-approved semantic support mapping; not a direct implementation_slice_keys match; support rationale: rollout, recovery and evidence distinctions; no deployment or schedule authorization; occurrences C-237; citations: 02_charter_v1_1.md#C-237:186; design: components/9198-requirement-crosswalk-current-state-census.md#2-v1-census--actual-state-and-bounded-facts; outcome: Acceptance must cover atomic claims, stale lease fencing, full/partial hydration, per-source change cursors, external comment handling, managed-content conflicts, triage feedback, weighted exploration statistics, boundary hysteresis, PM Stack projection fidelity, mobile operations, authenticated slash commands, direct Summit/worker session receipt, duplicate-webhook resistance, crash recovery after remote mutation, PR merge verification, and immediate direct queue completion; 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
  • C-R162 — design-only (requirement); basis: parent-approved semantic support mapping; not a direct implementation_slice_keys match; support rationale: rollout, recovery and evidence distinctions; no deployment or schedule authorization; occurrences C-240; citations: 02_charter_v1_1.md#C-240:190; design: components/9198-requirement-crosswalk-current-state-census.md#2-v1-census--actual-state-and-bounded-facts; outcome: The design agent should provide: current architecture map, gaps, decisions/ADRs, integrated schema/API/CLI contracts, safe migration plan, phased implementation issues with acceptance tests, risks and go/no-go gates, actual created documents/issue links, dispatch receipts, and verified status; 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
  • O-R065 — design-only (candidate); basis: parent-approved semantic support mapping; not a direct implementation_slice_keys match; support rationale: rollout, recovery and evidence distinctions; no deployment or schedule authorization; occurrences O-629, O-630, O-631, O-632, O-633, O-634, O-635; citations: 04_recovered_original_combined_design.md#O-629:13, 04_recovered_original_combined_design.md#O-630:13, 04_recovered_original_combined_design.md#O-631:13, 04_recovered_original_combined_design.md#O-632:13, 04_recovered_original_combined_design.md#O-633:13, 04_recovered_original_combined_design.md#O-634:13, 04_recovered_original_combined_design.md#O-635:13; design: components/9203-direct-dispatch-slash-commands-event-routing.md#3-v2--versioned-routing-contract-and-state-machines; outcome: Deduplicate event flow, bind and report dispatch receipts; on failure preserve retry intent and never silently downgrade immediate requests to ordinary queue work.; residual: Design contract only; implementation, adapter conformance and any runtime evidence are separate.; missing evidence: implementation tests for exact behavior, live/deployment acceptance unless separately evidenced

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/dispatch/test/event-route-rollback.test.ts
  • pm-stack/dispatch/README.md

Explicit read-only consumers (not writable ownership): none declared.

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: DSP-01, CLI-02, REL-03, DSP-04, DSP-05, DSP-06, DSP-07
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: #9196→runtime gate.

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: pmo_dsp_10_disabled_route_has_zero_effects
  • Oracle: route disabled emits zero effects; stage smoke with signed test event and fake provider reports shared Result outcomes and receipt with secret/prompt canaries absent; rollback disables apply and preserves receipts. Command: cd pm-stack/dispatch && bun test test/event-route-rollback.test.ts. No production launch in this slice; the existing opencode-claimant: handed-off tasks are never launched — executed_lane/session_id stay null across repeated claim→handed_off→park cycles #6533 live proof is separately authorized/evidenced, and deploy state separately verified from source merge. -
  • Done command: route disabled emits zero effects; stage smoke with signed test event and fake provider reports shared Result outcomes and receipt with secret/prompt canaries absent; rollback disables apply and preserves receipts. Command: cd pm-stack/dispatch && bun test test/event-route-rollback.test.ts. No production launch in this slice; the existing #6533 live proof is separately authorized/evidenced, and deploy state separately verified from source merge. -
  • 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

route disabled emits zero effects; stage smoke with signed test event and fake provider reports shared Result outcomes and receipt with secret/prompt canaries absent; rollback disables apply and preserves receipts. Command: cd pm-stack/dispatch && bun test test/event-route-rollback.test.ts. No production launch in this slice; the existing #6533 live proof is separately authorized/evidenced, and deploy state separately verified from source merge. -

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

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/9203-direct-dispatch-slash-commands-event-routing.md, slice DSP-10 (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): H-R046, H-R048, C-R160, C-R162, O-R065: rollout, recovery and evidence distinctions; no deployment or schedule authorization [approval parent session ses_e5e2d10e06effeEylSDDVaN0PL, message seq 12; support mapping only, NOT Apply approval].
  • 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)

DSP-10 — Deployable source integration, observability and rollback

  • Requirements: H-SURVIVE-A/H-SCENARIOS, C-16/C-17, O §§17/20. Goal: wire supported entrypoints and dashboards for operator inspection with kill switch and retention/retry policy.
  • Owned files: existing dispatcher/webhook/orchestration configuration under exact service owner, operator docs/runbook, metrics and deploy smoke tests. Fleet schedule registry updated in same change if a schedule is introduced/changed.
  • Failing test to start: pmo_dsp_10_disabled_route_has_zero_effects in pm-stack/dispatch/test/event-route-rollback.test.ts.
  • Done/oracle: route disabled emits zero effects; stage smoke with signed test event and fake provider reports shared Result outcomes and receipt with secret/prompt canaries absent; rollback disables apply and preserves receipts. Command: cd pm-stack/dispatch && bun test test/event-route-rollback.test.ts. No production launch in this slice; the existing opencode-claimant: handed-off tasks are never launched — executed_lane/session_id stay null across repeated claim→handed_off→park cycles #6533 live proof is separately authorized/evidenced, and deploy state separately verified from source merge.
  • Dependencies: DSP-01 through DSP-07; PM Stack & Fleet orchestration — priority, dispatch, and work-item lifecycle (design mill) #9196 safety gates; change/deploy approval from service owner.

Activity

  1. added
    app/pm-stack
    kind/design
    app/fleet
    on Nov 13, 2026
  2. developing-today commented on Nov 13, 2026

    @developing-today
    Contributor
  3. added
    work/assigned
    queue/claimed
    status/in-progress
    on Nov 13, 2026
  4. dezren39 commented on Nov 13, 2026

    @dezren39
    MemberAuthor

    Triage (repo-health fleet, lane any-a, task 15912) — findings and routing:

  5. added
    queue/parked
    status/parked
    and removed
    status/in-progress
    queue/claimed
    work/assigned
    on Nov 13, 2026
  6. 33 remaining items

  7. dezren39 commented on Nov 28, 2026

    @dezren39
    MemberAuthor

    Lane 1737-G (alpha DRIVE): task 26344 re-served after lane 1722-L's park today; fresh check confirms it still holds — #9446 (DSP-04) and #9447 (DSP-05) both OPEN (unchanged since 2026-11-27T16:10Z), starting test file pm-stack/dispatch/test/event-route-rollback.test.ts still 404 on main. Re-parking 26344; resume condition unchanged: re-triage after #9446 and #9447 close.

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

    @developing-today-fleet
    Contributor

    Lane code-i re-check (2026-11-29): parked on hard prerequisites; no code changed.

    Fresh checks: #9446 (DSP-04) and #9447 (DSP-05) remain OPEN; #9445 (DSP-01) is CLOSED, while #9448 and #9449 are also OPEN. GitHub main still returns 404 for pm-stack/dispatch/test/event-route-rollback.test.ts. The accepted DSP-10 design and this issue require prerequisite resolution before implementation; earlier notes establish that the first test also depends on route/service work outside this slice’s owned files. I did not create a parallel harness.

    Resume condition: re-triage once #9446 and #9447 close and the service-owner route work is available. No repository files changed.

  9. dezren39 commented on Nov 29, 2026

    @dezren39
    MemberAuthor

    🤖 Census note · lane CEN-C08, 2026-11-29 full issue census. Verified firsthand: body + all comments read.

    Verdict: blocked. Lane code-i's re-check today (2026-11-29) stands: DSP-01 (#9445) is CLOSED but #9446 (DSP-04) and #9447 (DSP-05) remain OPEN, and the rollback test file is still absent on main. priority/high confirmed for this deployable-integration slice; no census change.

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

    @developing-today-fleet
    Contributor

    Census 2026-11-29 (Felix): full recheck of this issue — body, all 19 comments, labels, and native blocked_by edges read firsthand; blocker states verified live today. A census note from lane CEN-C08 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

    GAPS

    FIXES I APPLIED

    • None needed from me: a sibling census lane's fixes today were verified in place, and my recheck found the labels/edges consistent.

    REMAINS

  11. added
    queue/blocked
    status/blocked
    and removed
    queue/queued
    on Nov 30, 2026
  12. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    🤖 Graph-hygiene correction — Felix lane 0640-JD, #14863 audit slice R1 (2026-11-29).

    Examined as a subject for the first time in the #14863 audit. Two corrections, both verified live on re-read: (1) removed the stale native blocked_by edges to #9445 and #9438 (both CLOSED) via the global-ID DELETE route — remaining blockers #9513, #9446, #9505, #9506, #9447 are all OPEN, so the block is verified real; (2) the label set carried queue/queued with no blocked labels against that live graph — per the chain's N12 precedent, queue/queued removed, queue/blocked + status/blocked added. Slice tally on #14863.

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

    @developing-today-fleet
    Contributor

    🤖 Reparented — Felix lane 0640-VZ, 2026-11-30 (P3.1 tranche #9203, code#17071).

    This issue was a sub-issue of #9203 (closed). Per the P3.1 remediation on #17071 (open sub-issues should not roll up into a closed parent), it has been moved to #9196 — #9203's own parent, the open PM Stack design-mill epic — via GraphQL removeSubIssue + addSubIssue, the same destination and method 0640-VJ used for #9207's nine subs. Verified live after the move: #9203 retains only its closed sub (#9445); this issue's parent reads #9196.

    No labels, bands, or state were changed — this comment is the only trace besides the parent change itself.

  14. removed
    status/triaged
    on Nov 30, 2026
  15. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    🤖 P3.2 collision adjudication — Felix lane 0640-XE (tranche 3, claim 7284664686 on #17071).

    This issue carried two slash-form status labels (status/blocked + status/triaged). Adjudicated from the label timeline plus live state: native blockedBy edges to #9513, #9446, #9505, #9506 and #9447 are all OPEN, and status/blocked was applied 2026-11-30 by the P1.4 backfill; status/triaged is the 2026-11-26 bot intake label. Blocked is the live state. Priority band untouched.

    Action: removed status/triaged; kept status/blocked. The issue now carries exactly one status/* label. No other labels, bands, or state changed.

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/fleetapp/pm-stackeffort/lepic/pm-stackkind/designprimary-parent/pm-stackpriority/highqueue/blockedstatus/blockedstatus:to-dostray-work

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions