Repository navigation
Description
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.tspm-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
- Preserve the current queue/status/identity/Project-writer/Fleet
ghcompatibility surfaces. Do not silently change existing spellings or normalize ratifiedexpedite=15/next-up=25; those remain distinct fromdo_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; chartersources/02_charter_v1_1.md; recovered originalsources/04_recovered_original_combined_design.md; cited source section(s) insources/03_full_orchestration_proposal.mdas 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, sliceDSP-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 remainscensus/commands.jsonl; exact allocation source iscensus/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_effectsinpm-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
developing-today commentedon Nov 13, 2026
CODE-3072
dezren39 commentedon Nov 13, 2026
Triage (repo-health fleet, lane any-a, task 15912) — findings and routing:
pm-stack/dispatchexists on current main (7535eba) buttest/event-route-rollback.test.tsdoes not — the acceptance command (cd pm-stack/dispatch && bun test test/event-route-rollback.test.ts) has no file to run. The test is written with the future implementation slice; negative cases recorded for it: stale input, duplicate/replay, ambiguous resource, unauthorized actor, partial remote effect, unknown version, and no false verified/completed result.33 remaining items
dezren39 commentedon Nov 28, 2026
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.
developing-today-fleet commentedon Nov 29, 2026
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.
dezren39 commentedon Nov 29, 2026
🤖 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/highconfirmed for this deployable-integration slice; no census change.developing-today-fleet commentedon Nov 29, 2026
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
REMAINS
developing-today-fleet commentedon Nov 30, 2026
🤖 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_byedges 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 carriedqueue/queuedwith no blocked labels against that live graph — per the chain's N12 precedent,queue/queuedremoved,queue/blocked+status/blockedadded. Slice tally on #14863.developing-today-fleet commentedon Nov 30, 2026
🤖 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.
developing-today-fleet commentedon Nov 30, 2026
🤖 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, andstatus/blockedwas applied 2026-11-30 by the P1.4 backfill;status/triagedis the 2026-11-26 bot intake label. Blocked is the live state. Priority band untouched.Action: removed
status/triaged; keptstatus/blocked. The issue now carries exactly onestatus/*label. No other labels, bands, or state changed.