Skip to content

design(pm-orchestration): Shared Command/Result contract, pair identity, version, effect-separated reason-code registry, auth-vs-actor distinction and fixtures. Owns proposed pkgs/fleet/crates/fleet-queue/src/work/contracts.rs #9451

Closed

Description

@dezren39

DST-01 — Shared Command/Result contract, pair identity, version, effect-separated reason-code registry, auth-vs-actor distinction and fixtures. Owns proposed pkgs/fleet/crates/fleet-queue/src/work/contracts.rs

Issue title: design(pm-orchestration): Shared Command/Result contract, pair identity, version, effect-separated reason-code registry, auth-vs-actor distinction and fixtures. Owns proposed pkgs/fleet/crates/fleet-queue/src/work/contracts.rs
Design parent: #9200 · Scope: #9200 priority distribution · Version: V3 proposal; not an authorization to implement. Requirement IDs (ALLOCATED): C-R005, C-R009, C-R070, C-R072, C-R073, C-R074, C-R075, C-R076, C-R078, C-R107, C-R108, H-R005, H-R017, H-R024, H-R031, O-R001, O-R002, O-R019, O-R023, P-R009, P-R017. 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

Shared Command/Result contract, pair identity, version, effect-separated reason-code registry, auth-vs-actor distinction and fixtures. Owns proposed pkgs/fleet/crates/fleet-queue/src/work/contracts.rs.

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-R070 — design-only (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences C-097; citations: 02_charter_v1_1.md#C-097:70; design: components/9200-priority-distribution.md#cross-target-order-and-reconciliation; outcome: Conflicts or untrusted changes should be held for triage; 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-R072 — design-only (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences C-099; citations: 02_charter_v1_1.md#C-099:72; design: components/9200-priority-distribution.md#cross-target-order-and-reconciliation; outcome: Board columns should distinguish Inbox/Triage, Backlog, Ready/Todo, In Progress, Review, Blocked, Parked, Done; 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-R073 — design-only (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences C-100; citations: 02_charter_v1_1.md#C-100:72; design: components/9200-priority-distribution.md#cross-target-order-and-reconciliation; outcome: Ready includes executable High-and-above, explicitly prepared work and appropriate owner-assigned tasks; lower urgency generally remains Backlog unless state overrides; 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-R074 — design-only (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences C-101; citations: 02_charter_v1_1.md#C-101:72; design: components/9200-priority-distribution.md#cross-target-order-and-reconciliation; outcome: Claimed items must show agent/session and an In Progress Project 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-R075 — design-only (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences C-102; citations: 02_charter_v1_1.md#C-102:72; design: components/9200-priority-distribution.md#cross-target-order-and-reconciliation; outcome: Parked/blocked work once picked up must retain last worker, checkpoint, reason, blockers, and an actionable next-agent note instead of disappearing into Backlog; 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-R076 — verified existing (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences C-103; citations: 02_charter_v1_1.md#C-103:74; design: components/9200-priority-distribution.md#cross-target-order-and-reconciliation; outcome: The orchestrator remains the single writer of GitHub Project fields; residual: Live deployment is not inferred; see evidence boundary.; missing evidence: exact implementation/parser tests for the full behavior, deployment/live acceptance unless separately cited
  • C-R078 — design-only (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences C-105; citations: 02_charter_v1_1.md#C-105:74; design: components/9200-priority-distribution.md#cross-target-order-and-reconciliation; outcome: Keep native GitHub blockedBy distinct from sub-issue parent/epic links; 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-R108 — partially implemented (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences C-160; citations: 02_charter_v1_1.md#C-160:122; design: components/9206-work-item-lifecycle-fleet-subcommands.md#4-command-interface, architecture.md#shared-command-and-result-interface, architecture.md#digest-and-serialization-contract, research/canonical-json-evidence.md#what-the-source-establishes; outcome: Typical common flags: --work, --issue, --pr, --repo, --agent-id, --session-id, --lease-token, --since, --since-start, --since-checkpoint, --external-only, --json, --dry-run, --explain, --expected-version, --idempotency-key, --verify, --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-R005 — partially implemented (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences H-092, H-093, H-094, H-095, H-096; citations: 01_handoff_pm_stack_fleet_orchestration.md#H-092:71, 01_handoff_pm_stack_fleet_orchestration.md#H-093:71, 01_handoff_pm_stack_fleet_orchestration.md#H-094:71, 01_handoff_pm_stack_fleet_orchestration.md#H-095:71, 01_handoff_pm_stack_fleet_orchestration.md#H-096:71; design: components/9200-priority-distribution.md#minimal-event-identity-revision-snapshot-and-receipt; outcome: Treat priority distribution as its own design: trace producers/consumers and specify authoritative policy, precedence, stable IDs, versioned payloads, provenance/reasons, replay/reconciliation, cross-target ordering, and hard eligibility separation.; 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-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
  • O-R001 — design-only (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences O-174, O-175, O-176, O-177, O-178, O-179, O-180, O-181, O-182, O-183, O-184, O-185, O-186, O-187, O-188, O-189, O-190, O-191, O-192, O-193, O-194, O-195, O-196, O-197; citations: 04_recovered_original_combined_design.md#O-174:13, 04_recovered_original_combined_design.md#O-175:13, 04_recovered_original_combined_design.md#O-176:13, 04_recovered_original_combined_design.md#O-177:13, 04_recovered_original_combined_design.md#O-178:13, 04_recovered_original_combined_design.md#O-179:13, 04_recovered_original_combined_design.md#O-180:13, 04_recovered_original_combined_design.md#O-181:13, 04_recovered_original_combined_design.md#O-182:13, 04_recovered_original_combined_design.md#O-183:13, 04_recovered_original_combined_design.md#O-184:13, 04_recovered_original_combined_design.md#O-185:13, 04_recovered_original_combined_design.md#O-186:13, 04_recovered_original_combined_design.md#O-187:13, 04_recovered_original_combined_design.md#O-188:13, 04_recovered_original_combined_design.md#O-189:13, 04_recovered_original_combined_design.md#O-190:13, 04_recovered_original_combined_design.md#O-191:13, 04_recovered_original_combined_design.md#O-192:13, 04_recovered_original_combined_design.md#O-193:13, 04_recovered_original_combined_design.md#O-194:13, 04_recovered_original_combined_design.md#O-195:13, 04_recovered_original_combined_design.md#O-196:13, 04_recovered_original_combined_design.md#O-197:13; design: components/9198-requirement-crosswalk-current-state-census.md#2-v1-census--actual-state-and-bounded-facts, components/9200-priority-distribution.md#minimal-event-identity-revision-snapshot-and-receipt; outcome: Make Fleet, GitHub/Projects, PM Stack, scheduling, mobile and live sessions share a coherent view of urgency, importance, readiness, ownership and lifecycle; prevent forgotten work, inflation, stale pivots, buried blockers, cluster bias, unstable ties, oscillation, drift, delayed dispatch and lost parking context.; 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-R002 — design-only (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences O-199, O-200, O-201, O-202, O-203, O-204, O-205, O-206, O-207, O-208, O-209, O-210, O-211, O-212, O-213, O-214, O-215, O-216, O-217, O-218, O-219, O-220, O-221, O-222, O-223, O-224, O-225, O-226, O-227, O-228, O-229, O-230, O-231, O-232, O-233, O-234, O-235, O-236; citations: 04_recovered_original_combined_design.md#O-199:13, 04_recovered_original_combined_design.md#O-200:13, 04_recovered_original_combined_design.md#O-201:13, 04_recovered_original_combined_design.md#O-202:13, 04_recovered_original_combined_design.md#O-203:13, 04_recovered_original_combined_design.md#O-204:13, 04_recovered_original_combined_design.md#O-205:13, 04_recovered_original_combined_design.md#O-206:13, 04_recovered_original_combined_design.md#O-207:13, 04_recovered_original_combined_design.md#O-208:13, 04_recovered_original_combined_design.md#O-209:13, 04_recovered_original_combined_design.md#O-210:13, 04_recovered_original_combined_design.md#O-211:13, 04_recovered_original_combined_design.md#O-212:13, 04_recovered_original_combined_design.md#O-213:13, 04_recovered_original_combined_design.md#O-214:13, 04_recovered_original_combined_design.md#O-215:13, 04_recovered_original_combined_design.md#O-216:13, 04_recovered_original_combined_design.md#O-217:13, 04_recovered_original_combined_design.md#O-218:13, 04_recovered_original_combined_design.md#O-219:13, 04_recovered_original_combined_design.md#O-220:13, 04_recovered_original_combined_design.md#O-221:13, 04_recovered_original_combined_design.md#O-222:13, 04_recovered_original_combined_design.md#O-223:13, 04_recovered_original_combined_design.md#O-224:13, 04_recovered_original_combined_design.md#O-225:13, 04_recovered_original_combined_design.md#O-226:13, 04_recovered_original_combined_design.md#O-227:13, 04_recovered_original_combined_design.md#O-228:13, 04_recovered_original_combined_design.md#O-229:13, 04_recovered_original_combined_design.md#O-230:13, 04_recovered_original_combined_design.md#O-231:13, 04_recovered_original_combined_design.md#O-232:13, 04_recovered_original_combined_design.md#O-233:13, 04_recovered_original_combined_design.md#O-234:13, 04_recovered_original_combined_design.md#O-235:13, 04_recovered_original_combined_design.md#O-236:13; design: components/9199-distributed-priority.md#dependency-pressure-cycle-safety-and-resource-bounds, components/9200-priority-distribution.md#cross-target-order-and-reconciliation; outcome: Keep intrinsic urgency, importance, derived scheduling pressure, workflow, dispatch directive and ownership separate; do not rewrite intrinsic score for temporary pressure; assignment is not active execution.; 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-R019 — design-only (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences O-704, O-705, O-706, O-707, O-708, O-709, O-710, O-711, O-712, O-713, O-714, O-715, O-716, O-717, O-718, O-719, O-720, O-721, O-722, O-723, O-724, O-725, O-726, O-727, O-728, O-729, O-730, O-731, O-732, O-733, O-734, O-735; citations: 04_recovered_original_combined_design.md#O-704:13, 04_recovered_original_combined_design.md#O-705:13, 04_recovered_original_combined_design.md#O-706:13, 04_recovered_original_combined_design.md#O-707:13, 04_recovered_original_combined_design.md#O-708:13, 04_recovered_original_combined_design.md#O-709:13, 04_recovered_original_combined_design.md#O-710:13, 04_recovered_original_combined_design.md#O-711:13, 04_recovered_original_combined_design.md#O-712:13, 04_recovered_original_combined_design.md#O-713:13, 04_recovered_original_combined_design.md#O-714:13, 04_recovered_original_combined_design.md#O-715:13, 04_recovered_original_combined_design.md#O-716:13, 04_recovered_original_combined_design.md#O-717:13, 04_recovered_original_combined_design.md#O-718:13, 04_recovered_original_combined_design.md#O-719:13, 04_recovered_original_combined_design.md#O-720:13, 04_recovered_original_combined_design.md#O-721:13, 04_recovered_original_combined_design.md#O-722:13, 04_recovered_original_combined_design.md#O-723:13, 04_recovered_original_combined_design.md#O-724:13, 04_recovered_original_combined_design.md#O-725:13, 04_recovered_original_combined_design.md#O-726:13, 04_recovered_original_combined_design.md#O-727:13, 04_recovered_original_combined_design.md#O-728:13, 04_recovered_original_combined_design.md#O-729:13, 04_recovered_original_combined_design.md#O-730:13, 04_recovered_original_combined_design.md#O-731:13, 04_recovered_original_combined_design.md#O-732:13, 04_recovered_original_combined_design.md#O-733:13, 04_recovered_original_combined_design.md#O-734:13, 04_recovered_original_combined_design.md#O-735:13; design: components/9198-requirement-crosswalk-current-state-census.md#2-v1-census--actual-state-and-bounded-facts, components/9200-priority-distribution.md#cross-target-order-and-reconciliation; outcome: Integrate with Queue Table Improvements without competing schema; extend shared fields, allow safe independent design/UI work, gate schema-coupled features, and verify real dependencies.; 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-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
  • 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
  • P-R017 — superseded with rationale (candidate); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences P-717, P-718, P-719, P-720, P-721, P-722, P-723, P-724, P-725, P-726, P-727, P-728, P-729, P-730, P-731, P-732, P-733, P-734, P-735, P-736, P-737, P-738, P-739, P-740, P-741, P-742, P-743, P-744, P-745, P-746, P-747, P-748, P-749, P-750, P-751, P-752, P-753, P-754, P-755, P-756, P-757, P-758, P-759, P-760, P-761, P-762, P-763, P-764, P-765, P-766, P-767, P-768, P-769, P-770, P-771, P-772, P-773, P-774, P-775, P-776, P-777, P-778, P-779, P-780, P-781, P-782, P-783, P-784, P-785, P-786, P-787; citations: 03_full_orchestration_proposal.md#P-717:978, 03_full_orchestration_proposal.md#P-718:978, 03_full_orchestration_proposal.md#P-719:980, 03_full_orchestration_proposal.md#P-720:982, 03_full_orchestration_proposal.md#P-721:984, 03_full_orchestration_proposal.md#P-722:985, 03_full_orchestration_proposal.md#P-723:986, 03_full_orchestration_proposal.md#P-724:987, 03_full_orchestration_proposal.md#P-725:988, 03_full_orchestration_proposal.md#P-726:989, 03_full_orchestration_proposal.md#P-727:990, 03_full_orchestration_proposal.md#P-728:991, 03_full_orchestration_proposal.md#P-729:992, 03_full_orchestration_proposal.md#P-730:993, 03_full_orchestration_proposal.md#P-731:994, 03_full_orchestration_proposal.md#P-732:995, 03_full_orchestration_proposal.md#P-733:996, 03_full_orchestration_proposal.md#P-734:998, 03_full_orchestration_proposal.md#P-735:1000, 03_full_orchestration_proposal.md#P-736:1002, 03_full_orchestration_proposal.md#P-737:1004, 03_full_orchestration_proposal.md#P-738:1006, 03_full_orchestration_proposal.md#P-739:1008, 03_full_orchestration_proposal.md#P-740:1010, 03_full_orchestration_proposal.md#P-741:1012, 03_full_orchestration_proposal.md#P-742:1014, 03_full_orchestration_proposal.md#P-743:1015, 03_full_orchestration_proposal.md#P-744:1016, 03_full_orchestration_proposal.md#P-745:1017, 03_full_orchestration_proposal.md#P-746:1018, 03_full_orchestration_proposal.md#P-747:1019, 03_full_orchestration_proposal.md#P-748:1021, 03_full_orchestration_proposal.md#P-749:1023, 03_full_orchestration_proposal.md#P-750:1025, 03_full_orchestration_proposal.md#P-751:1027, 03_full_orchestration_proposal.md#P-752:1029, 03_full_orchestration_proposal.md#P-753:1031, 03_full_orchestration_proposal.md#P-754:1032, 03_full_orchestration_proposal.md#P-755:1034, 03_full_orchestration_proposal.md#P-756:1036, 03_full_orchestration_proposal.md#P-757:1038, 03_full_orchestration_proposal.md#P-758:1039, 03_full_orchestration_proposal.md#P-759:1040, 03_full_orchestration_proposal.md#P-760:1041, 03_full_orchestration_proposal.md#P-761:1043, 03_full_orchestration_proposal.md#P-762:1045, 03_full_orchestration_proposal.md#P-763:1046, 03_full_orchestration_proposal.md#P-764:1046, 03_full_orchestration_proposal.md#P-765:1047, 03_full_orchestration_proposal.md#P-766:1047, 03_full_orchestration_proposal.md#P-767:1048, 03_full_orchestration_proposal.md#P-768:1048, 03_full_orchestration_proposal.md#P-769:1049, 03_full_orchestration_proposal.md#P-770:1049, 03_full_orchestration_proposal.md#P-771:1050, 03_full_orchestration_proposal.md#P-772:1050, 03_full_orchestration_proposal.md#P-773:1052, 03_full_orchestration_proposal.md#P-774:1054, 03_full_orchestration_proposal.md#P-775:1056, 03_full_orchestration_proposal.md#P-776:1058, 03_full_orchestration_proposal.md#P-777:1060, 03_full_orchestration_proposal.md#P-778:1061, 03_full_orchestration_proposal.md#P-779:1062, 03_full_orchestration_proposal.md#P-780:1064, 03_full_orchestration_proposal.md#P-781:1066, 03_full_orchestration_proposal.md#P-782:1067, 03_full_orchestration_proposal.md#P-783:1068, 03_full_orchestration_proposal.md#P-784:1069, 03_full_orchestration_proposal.md#P-785:1071, 03_full_orchestration_proposal.md#P-786:1073, 03_full_orchestration_proposal.md#P-787:1075; design: components/9200-priority-distribution.md#authority-and-precedence-table-proposal, components/9208-typed-dependencies-notes-journal-field-authority.md#3-notes-checkpoints-and-append-only-journal; outcome: Keep field authority explicit (Fleet queue/work data and journal vs GitHub issue/PR content/discussion); synchronize selectively, edit only managed body sections with concurrency checks, and update managed comments without duplication.; residual: See status reason and missing_evidence; implementation slices are local keys, not issue IDs.; missing evidence: owner adoption of replacement, API conditional-write capability or explicit best-effort/unsupported outcome

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/contracts.rs

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: No inferred hard edge is added at preparation time; parent integration must resolve granular contracts before the native graph is applied.
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: pmo_distribution_command_identity_reason_and_version; pmo_distribution_command_policy_ref_round_trips
  • Oracle: The source slice’s stated reference model, golden fixture, or invariant; compare expected and observed state explicitly. No mock-only claim of deployed/live behavior.
  • Done command: List both exact names with cargo test --manifest-path pkgs/fleet/Cargo.toml -p fleet-queue --lib --features client,queue-broker -- --list, then run each filter; DTO IDs and owner_policy_ref match architecture.md exactly.
  • 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

Shared Command/Result contract, pair identity, version, effect-separated reason-code registry, auth-vs-actor distinction and fixtures. Owns proposed pkgs/fleet/crates/fleet-queue/src/work/contracts.rs.

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/9200-priority-distribution.md, slice DST-01 (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: FDR-PMO-001, flag.dry-run, flag.expected-version, flag.idempotency-key, flag.json, fleet.errors. 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)

| DST-01 / crucial | Shared Command/Result contract, pair identity, version, effect-separated reason-code registry, auth-vs-actor distinction and fixtures. Owns proposed pkgs/fleet/crates/fleet-queue/src/work/contracts.rs. | Census and common architecture.md interface; no metadata DB implementation required | Schema/fixtures validate all reason-code effect classes; actor ref cannot authorize; unknown code/version is typed/no mutation; exact integer-string serialization. |
Future red-first test commands / oracles per issue: Exact future Rust test commands are: DST-01 cargo test --manifest-path pkgs/fleet/Cargo.toml -p fleet-queue --lib --features client,queue-broker pmo_distribution_command_identity_reason_and_version; DST-03 cargo test --manifest-path pkgs/fleet/Cargo.toml -p fleet-queue --lib --features client,queue-broker pmo_distribution_atomic_intent_revision; DST-05 cargo test --manifest-path pkgs/fleet/Cargo.toml -p fleet-queue --lib --features client,queue-broker pmo_distribution_projection_replay; DST-06 cargo test --manifest-path pkgs/fleet/Cargo.toml -p fleet-queue --lib --features client,queue-broker pmo_distribution_host_order_hash; DST-07 cargo test --manifest-path pkgs/fleet/Cargo.toml -p fleet-queue --lib --features client,queue-broker pmo_distribution_unknown_version_degrades. Before each, run that exact command with -- --list and assert the named test exists; zero-test success is not acceptance. DST-01 oracle enumerates each reason code and checks field-effect class/no mutation on rejection or unsupported code. DST-02: cd pm-stack/dispatch && bun test test/validate.test.ts proves 15/25 round-trip exactly, not current snapping. DST-04 first asserts test -f pm-stack/projector/test/priority-webhook.test.ts, then runs cd pm-stack/projector && bun test test/priority-webhook.test.ts; DST-05 likewise asserts test -f pm-stack/projector/test/priority-reconcile.test.ts before cd pm-stack/projector && bun test test/priority-reconcile.test.ts. Both projector oracles cover replay, stale revision, partial effects and readback repair. These are future red-first specs, not current tests. No test may trust actor_ref or client-supplied authorization. Hard blockers are granular keys above; #9079/#9081 hosted and #9201 mobile are soft consumers.

Activity

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

    @developing-today
    Contributor
  3. added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    priority/normalOrdinary priority (the default)
    effort/mMedium: expected under 1 day of work
    source/queue-workerFiled or worked by the queue/worker pilot
    on Nov 13, 2026
  4. dezren39 commented on Nov 13, 2026

    @dezren39
    MemberAuthor

    Triage (task 15913, lane any-d, 2026-11-13): DST-01 is a well-formed design-stage slice; implementation is correctly gated and not yet authorized. Routed to a gated implementation follow-on (task 15977).

    Fresh verification:

    Labels decided: priority/normal, effort/m, kind/design stands (already present).

    Routing: implementation follow-on enqueued as queue task 15977 (dedupe repo-health:v1:fix:developing-today/code:issue:9451) with the gates as its first instruction — on claim, if PR #9225 is unmerged or #9200 is still open, dep-block on the unmet set instead of starting. DST-01 is foundational (sibling DST/CLI slices consume contracts.rs), so the follow-on should be sequenced early once gates clear. Acceptance: the oracle passes after a -- --list run asserts the named test exists (zero-test success is not acceptance), and every reason code validates against its field-effect class with no mutation on rejection.

  5. 20 remaining items

  6. dezren39 commented on Nov 19, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: blocked
    task: 15977
    lane: any-n (OpenChamber scheduled lane, worker repo-worker-code)
    stage: dependency_gate

    Task 15977 is dependency-blocked on issue #9200, which remains OPEN (freshly checked 2026-11-19). PR #9225 is MERGED, clearing that gate leg. The implementation packet requires both conditions (PR merged AND #9200 closed); Drew's earlier unblock-all release explicitly preserves recorded gates, so I followed the packet and block record. No code/worktree changes made. The broker will recheck the #9200 dependency; after it closes, revalidate and proceed with DST-01.

  7. removed their assignment
    on Nov 20, 2026
  8. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note — task 15977 blocked: dependency (OpenChamber scheduled lane, oc-code-01)

    Fresh revalidation: #9451 OPEN; required design parent #9200 OPEN; design gate PR #9225 MERGED. DST-01 remains gated until #9200 closes; no edits started. Task 15977 is blocked on #9200 and should resume after that prerequisite closes.

  9. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · gate correction — Lane DG (archer), 2026-11-23

    Task 15977 for this issue is dep-blocked citing parent container #9200 as the gate. That gate is inverted: #9200 is the design-mill container for this domain and closes only when its children (including this issue) complete — see the reconciliation on #9200 (2026-11-23). This issue's own stated gate is PR #9225 (merged 2026-11-13) plus its granular prerequisites; it has no formal blocked_by records and no open issue blocker. #9451 is the chain head for the #9200 children (it gates #9454 and, transitively, #9453/#9457) and has been added to the fleet shortlist as workable. Release of task 15977 needs the shepherd cancel/re-queue workaround (no queue unblock verb exists — #12777).

  10. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Lane EH (archer) claiming the DST-01 slice handed by fleet agent next (shortlist rank 5), plus the decision the packet requires:

    Decided: The DST-01 implementation gate recorded on this issue ("start only when PR #9225 is merged AND #9200 is closed") is inverted in its second leg and is removed; the bounded contract slice lands now on this issue: pkgs/fleet/crates/fleet-queue/src/work/contracts.rs carrying the shared Command/Result contract, pair identity, version handling, the effect-separated reason-code registry, the auth-vs-actor distinction and fixtures, proven by this issue's two named oracle tests (pmo_distribution_command_identity_reason_and_version, pmo_distribution_command_policy_ref_round_trips). Production adoption, migration, deployment and live acceptance remain separately authorized stages, exactly as this issue states — this slice is the offline contract + fixtures work the design itself says those gates do not block.
    Why: PR #9225 (the document PR) merged 2026-11-13T13:36:36Z; #9200 is the design-mill container for this domain and closes only when its children (including this issue) complete, so it can never be a prerequisite (Lane DG's gate correction on this issue, 2026-11-23T03:31Z); the native blocked_by graph for this issue is empty; contracts.rs does not exist on current main, so the premise is live; no other worker holds a live claim on the implementation (task 15977 sits dep-blocked on the inverted gate this decision removes). The owner park is not a hold (FDR-0013 / decide-and-proceed).
    Undo: Revert the slice PR — the module is additive, no existing surface consumes it yet, and the only other edits are the one-line module export and the one-line sha2 workspace-dependency wiring.
    By: lane EH (archer)

  11. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Progress — Lane EH (archer): PR open: #12886 — DST-01 shared Command/Result contract in pkgs/fleet/crates/fleet-queue/src/work/contracts.rs (+ the one-line module export and the sha2 workspace-dependency wiring).

    Done check run on the laptop at the PR head's parent base (origin/main 4c01d0497c7): both exact test names listed with -- --list, then each filter run — pmo_distribution_command_identity_reason_and_version 1 passed / 0 failed, pmo_distribution_command_policy_ref_round_trips 1 passed / 0 failed; full fleet-queue lib suite 513 passed / 0 failed; rustfmt clean on the new file. Merging on this evidence; completion record follows on merge.

  12. added a commit that references this issue on Nov 23, 2026
  13. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Done — Lane EH (archer): DST-01 is implemented and merged. PR #12886, merge commit 1f81c4a52f233be125d1a7ac34e878fca400c149; pkgs/fleet/crates/fleet-queue/src/work/contracts.rs verified present on main post-merge (63,022 B). Closing as completed on the issue's own done check:

    • Listed first, by exact name (cargo test --manifest-path pkgs/fleet/Cargo.toml -p fleet-queue --lib --features client,queue-broker -- --list): work::contracts::tests::pmo_distribution_command_identity_reason_and_version and work::contracts::tests::pmo_distribution_command_policy_ref_round_trips both present — no zero-test acceptance.
    • Each filter run (laptop amd-6, worktree off origin/main 4c01d0497c7, via ~/tools/fleet-build-lock): both 1 passed / 0 failed; full fleet-queue lib suite 513 passed / 0 failed; rustfmt clean on the new file.
    • Acceptance clauses, one by one: pair identity (authority_id, work_id) with authority-bytewise then integer-value work-ID order (9 < 10); all 15 registry reason codes enumerated against the design(pm-orchestration): priority distribution, provenance & reconciliation across producers/consumers #9200 table with their effect class and field-effect permissions, and every non-permitted pairing refused typed and non-mutating; unknown reason code (including the design example's illustrative priority_label_changed, which is not a registry code) → unsupported_reason_code, never aliased; unknown major schema version → unsupported_version; actor ref cannot authorize (an owner-looking actor_ref with no authenticated principal denies; only the principal's verified capability authorizes, and the decision names the principal), and a client-carried authorized field is rejected as a contract violation; exact integer-string serialization (canonical decimal strings throughout; a work_version of 18446744073709551617, beyond u64, round-trips exactly; a JSON number in a version's place fails as invalid_schema); owner_policy_ref and the fleet.owner-priority-policy/v1 DTO round-trip byte-exactly, stale ref → OWNER_POLICY_VERSION_CONFLICT, missing ref fails closed; the digest framing reproduces the published contracts/digest-vectors.json vectors byte-for-byte and the intent digest ignores delivery/operation/dry-run changes while binding intent/precondition changes. DTO IDs match architecture.md exactly (fleet.command/v1, fleet.result/v1, fleet.command-intent/v1, fleet.owner-priority-policy/v1, and the three registered digest domains).

    Scope kept: this is the offline contract + fixtures slice. Production adoption, migration, deployment and live acceptance remain separately authorized stages, as this issue states; the sibling DST slices keep their own issues and oracles (DST-03 #9453's family, DST-05, DST-06, DST-07), and #9200 stays open as the container until its children complete.

    Queue bookkeeping: task 15977 (the gated implementation follow-on) had the inverted "#9200 closed" gate; that gate is removed by the decision recorded at comment 7091462341 and its work is the PR above — the shepherd can terminal 15977 against this record.

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 workkind/designA design proposal (design-architect): multi-step, phased, decision-bearingpriority/normalOrdinary priority (the default)queue/blockedQueue or user escalation statesource/queue-workerFiled or worked by the queue/worker pilotstatus:donework/assignedQueue worker lifecycle state

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions