Skip to content

design(pm-orchestration): Recovery, ambiguous remote outcome, race and failure-injection tests #9449

Open

Description

@dezren39

DSP-09 — Recovery, ambiguous remote outcome, race and failure-injection tests

Issue title: design(pm-orchestration): Recovery, ambiguous remote outcome, race and failure-injection tests
Design parent: #9203 · Scope: #9203 direct dispatch/events · Version: V3 proposal; not an authorization to implement. Requirement IDs (ALLOCATED): C-R005, C-R009, C-R087, C-R094, C-R107, C-R152, H-R016, H-R017, H-R021, H-R024, H-R031, H-R038, H-R039, H-R040, H-R051, H-R052, H-R053, O-R023, O-R046, P-R009. 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

prove no duplicate launch and visible/recoverable partial effect under crash/race. -

Curated requirement trace

  • C-R005 — partially implemented (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences C-148, C-149, C-150, C-151, C-152, C-153, C-154, C-155, C-156, C-157, C-158, C-159; citations: 02_charter_v1_1.md#C-148:109, 02_charter_v1_1.md#C-149:110, 02_charter_v1_1.md#C-150:111, 02_charter_v1_1.md#C-151:112, 02_charter_v1_1.md#C-152:113, 02_charter_v1_1.md#C-153:114, 02_charter_v1_1.md#C-154:115, 02_charter_v1_1.md#C-155:116, 02_charter_v1_1.md#C-156:117, 02_charter_v1_1.md#C-157:118, 02_charter_v1_1.md#C-158:119, 02_charter_v1_1.md#C-159:120; design: components/9206-work-item-lifecycle-fleet-subcommands.md#4-command-interface; outcome: Maintain a cohesive Fleet CLI across the listed agent, queue, work, GitHub, dependency, metadata, sync/outbox, and session command families.; 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-R009 — partially implemented (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences C-012; citations: 02_charter_v1_1.md#C-012:17; design: components/9198-requirement-crosswalk-current-state-census.md#2-v1-census--actual-state-and-bounded-facts; outcome: Agents should be able to discover work, understand its priority and dependencies, claim it safely, hydrate GitHub context into files, execute work, report notes and comments, handle new activity, park or resume, and complete linked PR/issue/queue states directly and verifiably; residual: Full integrated command, hydration, event routing, typed dependencies, journal/outbox and remote verified completion remain separate component implementation slices.; missing evidence: end-to-end reference-model scenario A-D passing against composed interfaces, implementation and deployed/runtime proof for full workflow
  • C-R087 — open implementation (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences C-116; citations: 02_charter_v1_1.md#C-116:84; design: components/9203-direct-dispatch-slash-commands-event-routing.md#31-inbound-sources-and-strict-command-surface; outcome: Support a small authenticated slash-command grammar, with names adjusted to existing conventions: /fleet status, triage, start, resume, retry, park, unblock, priority high, priority 575, do-now, merge, and agent 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
  • C-R094 — design-only (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences C-123; citations: 02_charter_v1_1.md#C-123:86; design: components/9203-direct-dispatch-slash-commands-event-routing.md#34-direct-session-routing-and-launch-reservation; outcome: do-now bypasses waiting behind normal selection not leases, auth, hard dependencies or concurrency caps; 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-R107 — partially implemented (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences C-147; citations: 02_charter_v1_1.md#C-147:107; design: components/9206-work-item-lifecycle-fleet-subcommands.md#selection-and-peer-order-boundary-consumes-92049200; outcome: Expose a cohesive agent-facing CLI, with exact naming reconciled to existing Fleet conventions:; 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-R152 — partially implemented (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences C-228; citations: 02_charter_v1_1.md#C-228:178; design: components/9206-work-item-lifecycle-fleet-subcommands.md#selection-and-peer-order-boundary-consumes-92049200; outcome: Scenario C — new live comment: authorized user comments on an active labeled issue from mobile → webhook verifies/normalizes → Fleet finds bound OpenCode session → routes instruction and records acknowledgment → agent handles new edge case, pushes fix and replies via Fleet; no ordinary queue wait; 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
  • H-R016 — design-only (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences H-075; citations: 01_handoff_pm_stack_fleet_orchestration.md#H-075:59; design: components/9198-requirement-crosswalk-current-state-census.md#2-v1-census--actual-state-and-bounded-facts, components/9203-direct-dispatch-slash-commands-event-routing.md#31-inbound-sources-and-strict-command-surface, components/9209-leases-fencing-outbox-direct-completion.md#3-leasefencing-and-existing-one-queue-contract; outcome: Cover fresh work, blocked/parked resume, late comment, near-timeout checkpoint, crash after remote mutation, duplicate webhook, stale lease, conflict, and live launch/bind proof.; 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
  • H-R017 — partially implemented (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences H-139, H-140, H-141, H-142, H-143, H-144, H-145, H-146, H-147, H-148, H-149, H-150, H-151, H-152; citations: 01_handoff_pm_stack_fleet_orchestration.md#H-139:105, 01_handoff_pm_stack_fleet_orchestration.md#H-140:107, 01_handoff_pm_stack_fleet_orchestration.md#H-141:109, 01_handoff_pm_stack_fleet_orchestration.md#H-142:110, 01_handoff_pm_stack_fleet_orchestration.md#H-143:111, 01_handoff_pm_stack_fleet_orchestration.md#H-144:112, 01_handoff_pm_stack_fleet_orchestration.md#H-145:113, 01_handoff_pm_stack_fleet_orchestration.md#H-146:114, 01_handoff_pm_stack_fleet_orchestration.md#H-147:115, 01_handoff_pm_stack_fleet_orchestration.md#H-148:116, 01_handoff_pm_stack_fleet_orchestration.md#H-149:117, 01_handoff_pm_stack_fleet_orchestration.md#H-150:117, 01_handoff_pm_stack_fleet_orchestration.md#H-151:119, 01_handoff_pm_stack_fleet_orchestration.md#H-152:119; design: components/9206-work-item-lifecycle-fleet-subcommands.md#4-command-interface; outcome: Preserve the full namespace/operation/flag inventory (discovery, queue, work, GitHub, metadata, dependencies, activity/sync, agent control, shared context) even when final names change.; 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
  • H-R021 — unverified (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences H-059, H-060, H-061, H-062, H-063, H-064, H-065; citations: 01_handoff_pm_stack_fleet_orchestration.md#H-059:49, 01_handoff_pm_stack_fleet_orchestration.md#H-060:49, 01_handoff_pm_stack_fleet_orchestration.md#H-061:49, 01_handoff_pm_stack_fleet_orchestration.md#H-062:49, 01_handoff_pm_stack_fleet_orchestration.md#H-063:49, 01_handoff_pm_stack_fleet_orchestration.md#H-064:49, 01_handoff_pm_stack_fleet_orchestration.md#H-065:49; design: components/9203-direct-dispatch-slash-commands-event-routing.md#33-deduplication-and-edit-semantics, architecture.md#identity-and-authority; outcome: Use sanctioned issue/outbox/queue paths; verify created IDs and task records, actual route/host, prompt delivery, session identity, ownership/lease and meaningful start; reuse active compatible sessions and avoid double claims.; 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
  • H-R024 — design-only (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences H-151, H-152; citations: 01_handoff_pm_stack_fleet_orchestration.md#H-151:119, 01_handoff_pm_stack_fleet_orchestration.md#H-152:119; design: components/9198-requirement-crosswalk-current-state-census.md#2-v1-census--actual-state-and-bounded-facts, components/9206-work-item-lifecycle-fleet-subcommands.md#4-command-interface; outcome: Keep every original command/option, schema, error, receipt, walkthrough, negative test and failure case in compatibility/acceptance coverage; the new launch wrapper does not replace the source specs.; 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
  • H-R031 — design-only (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences H-089, H-090; citations: 01_handoff_pm_stack_fleet_orchestration.md#H-089:69, 01_handoff_pm_stack_fleet_orchestration.md#H-090:69; design: components/9198-requirement-crosswalk-current-state-census.md#2-v1-census--actual-state-and-bounded-facts; outcome: Keep full original schema, interactions, commands/options, errors/receipts, examples and failures in compatibility/acceptance coverage.; 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
  • H-R038 — design-only (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences H-059; citations: 01_handoff_pm_stack_fleet_orchestration.md#H-059:49; design: components/9203-direct-dispatch-slash-commands-event-routing.md#3-v2--versioned-routing-contract-and-state-machines; outcome: Use the sanctioned GitHub App/outbox and queue writer for issue/task creation.; 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-R039 — design-only (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences H-060; citations: 01_handoff_pm_stack_fleet_orchestration.md#H-060:49; design: components/9203-direct-dispatch-slash-commands-event-routing.md#3-v2--versioned-routing-contract-and-state-machines; outcome: Verify created issue IDs and durable queue/task records; pending intents alone are not evidence.; 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-R040 — design-only (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences H-061; citations: 01_handoff_pm_stack_fleet_orchestration.md#H-061:49; design: components/9203-direct-dispatch-slash-commands-event-routing.md#3-v2--versioned-routing-contract-and-state-machines; outcome: Discover the actual live Summit route and host; do not invent provider/model IDs or silently choose a different pool.; 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-R051 — design-only (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences H-059; citations: 01_handoff_pm_stack_fleet_orchestration.md#H-059:49; design: components/9203-direct-dispatch-slash-commands-event-routing.md#3-v2--versioned-routing-contract-and-state-machines; outcome: Use the sanctioned GitHub App/outbox and queue writer for issue/task creation.; 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-R052 — design-only (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences H-060; citations: 01_handoff_pm_stack_fleet_orchestration.md#H-060:49; design: components/9203-direct-dispatch-slash-commands-event-routing.md#3-v2--versioned-routing-contract-and-state-machines; outcome: Verify created issue IDs and durable queue/task records; pending intents alone are not evidence.; 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-R053 — design-only (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences H-061; citations: 01_handoff_pm_stack_fleet_orchestration.md#H-061:49; design: components/9203-direct-dispatch-slash-commands-event-routing.md#3-v2--versioned-routing-contract-and-state-machines; outcome: Discover the actual live Summit route and host; do not invent provider/model IDs or silently choose a different pool.; 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
  • O-R023 — design-only (candidate); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences O-846, O-847, O-848, O-849, O-850; citations: 04_recovered_original_combined_design.md#O-846:13, 04_recovered_original_combined_design.md#O-847:13, 04_recovered_original_combined_design.md#O-848:13, 04_recovered_original_combined_design.md#O-849:13, 04_recovered_original_combined_design.md#O-850:13; design: components/9206-work-item-lifecycle-fleet-subcommands.md#4-command-interface; outcome: Preserve the proposed CLI command families while reconciling names to Fleet and avoiding parallel dispatch mechanisms.; 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-R046 — design-only (history); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences O-135, O-136, O-137, O-138, O-139, O-140, O-141; citations: 04_recovered_original_combined_design.md#O-135:13, 04_recovered_original_combined_design.md#O-136:13, 04_recovered_original_combined_design.md#O-137:13, 04_recovered_original_combined_design.md#O-138:13, 04_recovered_original_combined_design.md#O-139:13, 04_recovered_original_combined_design.md#O-140:13, 04_recovered_original_combined_design.md#O-141:13; design: components/9199-distributed-priority.md#independent-dimensions, components/9203-direct-dispatch-slash-commands-event-routing.md#34-direct-session-routing-and-launch-reservation; outcome: Keep historical design urgency 450/High distinct from one-shot Do Now; rationale is unblocking scope, not emergency, and implementation may be gated.; 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
  • P-R009 — design-only (candidate); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences P-227, P-228, P-229, P-230, P-231, P-232, P-233, P-234, P-235, P-236, P-237, P-238, P-239, P-240, P-241, P-242, P-243, P-244, P-245, P-246, P-247, P-248, P-249, P-250, P-251, P-252, P-253, P-254, P-255, P-256, P-257, P-258, P-259, P-260, P-261, P-262, P-263, P-264, P-265, P-266, P-267, P-268, P-269, P-270, P-271, P-272, P-273, P-274, P-275, P-276, P-277, P-278, P-279, P-280, P-281, P-282, P-283, P-284, P-285, P-286, P-287, P-288, P-289, P-290, P-291, P-292, P-293, P-294, P-295, P-296, P-297, P-298, P-299, P-300, P-301, P-302, P-303, P-304, P-305, P-306, P-307, P-308, P-309, P-310, P-311, P-312, P-313, P-314, P-315, P-316, P-317, P-318, P-319, P-320, P-321, P-322, P-323, P-324, P-325, P-326, P-327, P-328, P-329, P-330, P-331, P-332, P-333, P-334, P-335, P-336, P-337, P-338, P-339, P-340, P-341, P-342, P-343, P-344, P-345, P-346, P-347, P-348, P-349, P-350, P-351, P-352, P-353, P-354, P-355, P-356, P-357, P-358, P-359, P-360, P-361, P-362, P-363, P-364, P-365, P-366, P-367, P-368, P-369, P-370, P-371, P-372, P-373, P-374, P-375, P-376, P-377, P-378, P-379, P-380, P-381, P-382, P-383, P-384, P-385, P-386, P-387, P-388, P-389, P-390, P-391, P-392, P-393, P-394, P-395, P-396, P-397, P-398, P-399, P-400, P-401, P-402, P-403, P-404, P-405, P-406, P-407, P-408, P-409; citations: 03_full_orchestration_proposal.md#P-227:330, 03_full_orchestration_proposal.md#P-228:330, 03_full_orchestration_proposal.md#P-229:332, 03_full_orchestration_proposal.md#P-230:334, 03_full_orchestration_proposal.md#P-231:336, 03_full_orchestration_proposal.md#P-232:338, 03_full_orchestration_proposal.md#P-233:339, 03_full_orchestration_proposal.md#P-234:341, 03_full_orchestration_proposal.md#P-235:343, 03_full_orchestration_proposal.md#P-236:344, 03_full_orchestration_proposal.md#P-237:345, 03_full_orchestration_proposal.md#P-238:346, 03_full_orchestration_proposal.md#P-239:347, 03_full_orchestration_proposal.md#P-240:349, 03_full_orchestration_proposal.md#P-241:350, 03_full_orchestration_proposal.md#P-242:352, 03_full_orchestration_proposal.md#P-243:354, 03_full_orchestration_proposal.md#P-244:356, 03_full_orchestration_proposal.md#P-245:358, 03_full_orchestration_proposal.md#P-246:359, 03_full_orchestration_proposal.md#P-247:360, 03_full_orchestration_proposal.md#P-248:361, 03_full_orchestration_proposal.md#P-249:362, 03_full_orchestration_proposal.md#P-250:363, 03_full_orchestration_proposal.md#P-251:364, 03_full_orchestration_proposal.md#P-252:365, 03_full_orchestration_proposal.md#P-253:366, 03_full_orchestration_proposal.md#P-254:367, 03_full_orchestration_proposal.md#P-255:368, 03_full_orchestration_proposal.md#P-256:370, 03_full_orchestration_proposal.md#P-257:372, 03_full_orchestration_proposal.md#P-258:373, 03_full_orchestration_proposal.md#P-259:374, 03_full_orchestration_proposal.md#P-260:375, 03_full_orchestration_proposal.md#P-261:376, 03_full_orchestration_proposal.md#P-262:378, 03_full_orchestration_proposal.md#P-263:380, 03_full_orchestration_proposal.md#P-264:381, 03_full_orchestration_proposal.md#P-265:382, 03_full_orchestration_proposal.md#P-266:383, 03_full_orchestration_proposal.md#P-267:384, 03_full_orchestration_proposal.md#P-268:385, 03_full_orchestration_proposal.md#P-269:386, 03_full_orchestration_proposal.md#P-270:387, 03_full_orchestration_proposal.md#P-271:388, 03_full_orchestration_proposal.md#P-272:389, 03_full_orchestration_proposal.md#P-273:390, 03_full_orchestration_proposal.md#P-274:391, 03_full_orchestration_proposal.md#P-275:392, 03_full_orchestration_proposal.md#P-276:393, 03_full_orchestration_proposal.md#P-277:394, 03_full_orchestration_proposal.md#P-278:395, 03_full_orchestration_proposal.md#P-279:397, 03_full_orchestration_proposal.md#P-280:399, 03_full_orchestration_proposal.md#P-281:400, 03_full_orchestration_proposal.md#P-282:401, 03_full_orchestration_proposal.md#P-283:402, 03_full_orchestration_proposal.md#P-284:403, 03_full_orchestration_proposal.md#P-285:404, 03_full_orchestration_proposal.md#P-286:405, 03_full_orchestration_proposal.md#P-287:406, 03_full_orchestration_proposal.md#P-288:408, 03_full_orchestration_proposal.md#P-289:409, 03_full_orchestration_proposal.md#P-290:410, 03_full_orchestration_proposal.md#P-291:412, 03_full_orchestration_proposal.md#P-292:413, 03_full_orchestration_proposal.md#P-293:414, 03_full_orchestration_proposal.md#P-294:415, 03_full_orchestration_proposal.md#P-295:416, 03_full_orchestration_proposal.md#P-296:417, 03_full_orchestration_proposal.md#P-297:418, 03_full_orchestration_proposal.md#P-298:419, 03_full_orchestration_proposal.md#P-299:421, 03_full_orchestration_proposal.md#P-300:423, 03_full_orchestration_proposal.md#P-301:425, 03_full_orchestration_proposal.md#P-302:427, 03_full_orchestration_proposal.md#P-303:429, 03_full_orchestration_proposal.md#P-304:430, 03_full_orchestration_proposal.md#P-305:432, 03_full_orchestration_proposal.md#P-306:433, 03_full_orchestration_proposal.md#P-307:434, 03_full_orchestration_proposal.md#P-308:435, 03_full_orchestration_proposal.md#P-309:436, 03_full_orchestration_proposal.md#P-310:438, 03_full_orchestration_proposal.md#P-311:440, 03_full_orchestration_proposal.md#P-312:442, 03_full_orchestration_proposal.md#P-313:443, 03_full_orchestration_proposal.md#P-314:444, 03_full_orchestration_proposal.md#P-315:445, 03_full_orchestration_proposal.md#P-316:446, 03_full_orchestration_proposal.md#P-317:448, 03_full_orchestration_proposal.md#P-318:449, 03_full_orchestration_proposal.md#P-319:450, 03_full_orchestration_proposal.md#P-320:451, 03_full_orchestration_proposal.md#P-321:452, 03_full_orchestration_proposal.md#P-322:453, 03_full_orchestration_proposal.md#P-323:454, 03_full_orchestration_proposal.md#P-324:455, 03_full_orchestration_proposal.md#P-325:457, 03_full_orchestration_proposal.md#P-326:458, 03_full_orchestration_proposal.md#P-327:459, 03_full_orchestration_proposal.md#P-328:460, 03_full_orchestration_proposal.md#P-329:462, 03_full_orchestration_proposal.md#P-330:464, 03_full_orchestration_proposal.md#P-331:466, 03_full_orchestration_proposal.md#P-332:468, 03_full_orchestration_proposal.md#P-333:470, 03_full_orchestration_proposal.md#P-334:471, 03_full_orchestration_proposal.md#P-335:472, 03_full_orchestration_proposal.md#P-336:474, 03_full_orchestration_proposal.md#P-337:476, 03_full_orchestration_proposal.md#P-338:478, 03_full_orchestration_proposal.md#P-339:479, 03_full_orchestration_proposal.md#P-340:480, 03_full_orchestration_proposal.md#P-341:481, 03_full_orchestration_proposal.md#P-342:482, 03_full_orchestration_proposal.md#P-343:483, 03_full_orchestration_proposal.md#P-344:484, 03_full_orchestration_proposal.md#P-345:486, 03_full_orchestration_proposal.md#P-346:488, 03_full_orchestration_proposal.md#P-347:490, 03_full_orchestration_proposal.md#P-348:491, 03_full_orchestration_proposal.md#P-349:493, 03_full_orchestration_proposal.md#P-350:494, 03_full_orchestration_proposal.md#P-351:496, 03_full_orchestration_proposal.md#P-352:497, 03_full_orchestration_proposal.md#P-353:499, 03_full_orchestration_proposal.md#P-354:501, 03_full_orchestration_proposal.md#P-355:503, 03_full_orchestration_proposal.md#P-356:504, 03_full_orchestration_proposal.md#P-357:505, 03_full_orchestration_proposal.md#P-358:506, 03_full_orchestration_proposal.md#P-359:507, 03_full_orchestration_proposal.md#P-360:508, 03_full_orchestration_proposal.md#P-361:510, 03_full_orchestration_proposal.md#P-362:512, 03_full_orchestration_proposal.md#P-363:513, 03_full_orchestration_proposal.md#P-364:514, 03_full_orchestration_proposal.md#P-365:516, 03_full_orchestration_proposal.md#P-366:517, 03_full_orchestration_proposal.md#P-367:519, 03_full_orchestration_proposal.md#P-368:520, 03_full_orchestration_proposal.md#P-369:522, 03_full_orchestration_proposal.md#P-370:524, 03_full_orchestration_proposal.md#P-371:525, 03_full_orchestration_proposal.md#P-372:526, 03_full_orchestration_proposal.md#P-373:527, 03_full_orchestration_proposal.md#P-374:529, 03_full_orchestration_proposal.md#P-375:530, 03_full_orchestration_proposal.md#P-376:531, 03_full_orchestration_proposal.md#P-377:533, 03_full_orchestration_proposal.md#P-378:534, 03_full_orchestration_proposal.md#P-379:535, 03_full_orchestration_proposal.md#P-380:537, 03_full_orchestration_proposal.md#P-381:539, 03_full_orchestration_proposal.md#P-382:540, 03_full_orchestration_proposal.md#P-383:541, 03_full_orchestration_proposal.md#P-384:543, 03_full_orchestration_proposal.md#P-385:545, 03_full_orchestration_proposal.md#P-386:547, 03_full_orchestration_proposal.md#P-387:548, 03_full_orchestration_proposal.md#P-388:549, 03_full_orchestration_proposal.md#P-389:550, 03_full_orchestration_proposal.md#P-390:551, 03_full_orchestration_proposal.md#P-391:552, 03_full_orchestration_proposal.md#P-392:553, 03_full_orchestration_proposal.md#P-393:554, 03_full_orchestration_proposal.md#P-394:555, 03_full_orchestration_proposal.md#P-395:556, 03_full_orchestration_proposal.md#P-396:557, 03_full_orchestration_proposal.md#P-397:558, 03_full_orchestration_proposal.md#P-398:559, 03_full_orchestration_proposal.md#P-399:560, 03_full_orchestration_proposal.md#P-400:561, 03_full_orchestration_proposal.md#P-401:562, 03_full_orchestration_proposal.md#P-402:563, 03_full_orchestration_proposal.md#P-403:564, 03_full_orchestration_proposal.md#P-404:565, 03_full_orchestration_proposal.md#P-405:566, 03_full_orchestration_proposal.md#P-406:567, 03_full_orchestration_proposal.md#P-407:568, 03_full_orchestration_proposal.md#P-408:569, 03_full_orchestration_proposal.md#P-409:571; design: components/9206-work-item-lifecycle-fleet-subcommands.md#selection-and-peer-order-boundary-consumes-92049200; outcome: Preserve a cohesive proposed CLI contract spanning bootstrap, queue/work, GitHub, metadata/dependencies, activity/sync/outbox and agent/session operations; reconcile exact names with existing Fleet conventions.; 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

  • pkgs/fleet/crates/fleet-queue/src/work/operations.rs

Explicit read-only consumers (not writable ownership): pkgs/fleet/crates/fleet-queue/src/work/completion.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: REL-03
File-collision sequencing edges added by stable topological serialization: none.
Existing issue references retained as non-blocking runtime/evidence gates: #2668 (existing staged-launch design evidence; not a duplicate issue).
Domain-starter parent references are never emitted as hard native blockers. Source parents normalized to granular slices or runtime gates: none.

Source-local candidate aliases normalized for this packet: DSP-03 → REL-03.

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_09_crash_cut_never_duplicates_or_falsely_verifies
  • Oracle: inject crash at each listed boundary, replay delivery and compare effect graph to model; at most one external launch, no lost accepted request, no false verification. MBT + concurrency race, no arbitrary retry caps. Command: cargo test --manifest-path pkgs/fleet/Cargo.toml -p fleet-queue --lib --features client,queue-broker pmo_dsp_09_crash_cut_never_duplicates_or_falsely_verifies. -
  • Done command: inject crash at each listed boundary, replay delivery and compare effect graph to model; at most one external launch, no lost accepted request, no false verification. MBT + concurrency race, no arbitrary retry caps. Command: cargo test --manifest-path pkgs/fleet/Cargo.toml -p fleet-queue --lib --features client,queue-broker pmo_dsp_09_crash_cut_never_duplicates_or_falsely_verifies. -
  • 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

inject crash at each listed boundary, replay delivery and compare effect graph to model; at most one external launch, no lost accepted request, no false verification. MBT + concurrency race, no arbitrary retry caps. Command: cargo test --manifest-path pkgs/fleet/Cargo.toml -p fleet-queue --lib --features client,queue-broker pmo_dsp_09_crash_cut_never_duplicates_or_falsely_verifies. -

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-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: agent.session.resume, agent.session.send, agent.session.stop, agent.slash.retry. 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-09 — Recovery, ambiguous remote outcome, race and failure-injection tests

  • Requirements: C-13/C-16, H-SCENARIOS, O §§14.7/19. Goal: prove no duplicate launch and visible/recoverable partial effect under crash/race.
  • Owned files: integration tests for proposed fleet-queue/src/work/operations.rs and existing dispatch/session adapters, failure test doubles and runbook recovery commands. No production data write in test.
  • Failing test to start: pmo_dsp_09_crash_cut_never_duplicates_or_falsely_verifies in the cross-boundary operation test target.
  • Done/oracle: inject crash at each listed boundary, replay delivery and compare effect graph to model; at most one external launch, no lost accepted request, no false verification. MBT + concurrency race, no arbitrary retry caps. Command: cargo test --manifest-path pkgs/fleet/Cargo.toml -p fleet-queue --lib --features client,queue-broker pmo_dsp_09_crash_cut_never_duplicates_or_falsely_verifies.
  • Dependencies: DSP-03/06/07 and design(pm-dispatch): launch pipeline, staged — validate the whole request at the boundary, one commit point, nothing after it can fail the launch #2668 launch design.

Shared-file sequencing

Added hard sequencing edges (the predecessor owns the same exact writable file):

  • blocked by DSP-07 — shared-file:pkgs/fleet/crates/fleet-queue/src/work/operations.rs

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 (task 15911, lane any-c, 2026-11-13): DSP-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:

  5. dezren39 commented on Nov 13, 2026

    @dezren39
    MemberAuthor

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

  6. removed
    status/in-progress
    queue/claimed
    work/assigned
    on Nov 13, 2026
  7. 28 remaining items

  8. dezren39 commented on Nov 25, 2026

    @dezren39
    MemberAuthor

    Claimed by lane 5, 2026-11-25T20:48Z

    Taking the DSP-09 design pass as a docs-only record: the crash-cut boundary list, the reference effect-graph model and the recovery rules the named oracle checks. REL-03 now has its record (#15240). No implementation here.


    Generated by Claude Code

  9. dezren39 commented on Nov 25, 2026

    @dezren39
    MemberAuthor

    The DSP-09 design record merged in #15241: doc/2026-11-25T20-50-05Z_design_dsp09_crash_cut_recovery_oracle/.

    It defines the dispatch effect graph and nine invariants (one launch per operation, no lost accepted request, no false verification, no blind compensation, nothing invisible), twelve boundaries each cut before / apply-then-lose / after, the races to generate, why the model needs no retry cap, a read-based recovery runbook, and 15 named tests including pmo_dsp_09_crash_cut_never_duplicates_or_falsely_verifies.

    It also records four places the launch path on main would fail the oracle today, as inputs to DSP-06 (#9506): a lost session-create response leaves an unnamed session, a lost claim response is cancelled without a read-back, POST /v1/sessions has no request key, and the DSP-01 acceptance ledger is in memory only.

    This issue stays open as the tracker; implementation stays gated on REL-03, DSP-06 and DSP-07.


    Generated by Claude Code

  10. added
    epic/pm-stack
    primary-parent/pm-stack
    stray-work
    on Nov 27, 2026
  11. removed
    priority/normal
    on Nov 29, 2026
  12. 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. The DSP-09 design record landed (PR #15241). Implementation remains gated on the REL-03 slice named in the body. Census fix: carried BOTH priority/normal and priority/low — removed the stale priority/normal, keeping the later priority/low.

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

    @developing-today-fleet
    Contributor

    Census 2026-11-29 (Felix): full recheck of this issue — body, all 13 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

  14. added
    priority/normal
    and removed
    priority/low
    on Nov 29, 2026
  15. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Priority validation 2026-11-29 (Felix): priority/low → priority/normal — triage of record set normal for this recovery/failure-injection suite; the later bot-added low does not fit the work

  16. 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.

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/mepic/pm-stackkind/designprimary-parent/pm-stackpriority/normalqueue/blockedqueue/queuedstatus/blockedstray-work

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions