GeezerVison is showing github.com — design(pm-orchestration): Monotone fence generation and conditional local mutations · Issue #9487 · developing-today/code
design(pm-orchestration): Monotone fence generation and conditional local mutations #9487DescriptionREL-02 — Monotone fence generation and conditional local mutations
Issue title: design(pm-orchestration): Monotone fence generation and conditional local mutations
Design parent: #9209 · Scope: #9209 lease/outbox/completion · Version: V3 proposal; not an authorization to implement. Requirement IDs (ALLOCATED): C-R005, C-R009, C-R107, C-R108, C-R110, C-R134, C-R135, C-R144, C-R145, C-R151, C-R153, H-R006, H-R014, H-R016, H-R017, H-R024, H-R031, O-R023, O-R027, O-R032, O-R035, O-R052, P-R001, P-R006, P-R007, P-R009, P-R011, P-R020, P-R023, P-R025, P-R033. 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
stale claimant cannot mutate local lifecycle after takeover.
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-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
- C-R110 — design-only (example); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences
C-162; citations: 02_charter_v1_1.md#C-162:124; design: components/9206-work-item-lifecycle-fleet-subcommands.md#candidate-transition-matrix-contract-for-v2-review; outcome: For example fleet work next --claim --hydrate full performs search/rank/eligibility/atomic claim/hydration/journaling; fleet work park --checkpoint persists progress, transitions state, releases lease and enqueues sync; fleet work complete performs precondition checks, remote operations, direct queue close and verification; 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-R134 — partially implemented (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences
C-203; citations: 02_charter_v1_1.md#C-203:157; design: components/9209-leases-fencing-outbox-direct-completion.md#3-leasefencing-and-existing-one-queue-contract; outcome: Claims must be atomic and issue a lease_token, lease_expiration, session_id and fencing/version counter; 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-R135 — partially implemented (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences
C-204; citations: 02_charter_v1_1.md#C-204:157; design: components/9209-leases-fencing-outbox-direct-completion.md#3-leasefencing-and-existing-one-queue-contract; outcome: A stale agent cannot overwrite a newer claim; 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-R144 — partially implemented (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences
C-219; citations: 02_charter_v1_1.md#C-219:170; design: components/9209-leases-fencing-outbox-direct-completion.md#3-leasefencing-and-existing-one-queue-contract; outcome: Fleet validates lease/auth, dependencies, last-minute external activity, PR head SHA, checks/reviews and merge eligibility; 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-R145 — partially implemented (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences
C-220; citations: 02_charter_v1_1.md#C-220:170; design: components/9209-leases-fencing-outbox-direct-completion.md#3-leasefencing-and-existing-one-queue-contract; outcome: It moves to completing, persists outbox operations, merges the authorized PR, verifies merge, closes designated issues, verifies closure, directly closes the queue item, records outcome and releases lease; 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-R151 — partially implemented (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences
C-227; citations: 02_charter_v1_1.md#C-227:176; design: components/9206-work-item-lifecycle-fleet-subcommands.md#candidate-transition-matrix-contract-for-v2-review; outcome: Scenario B — blocked, parked, resumed: after hydration, discover hard dependency PR #759's world-surface width check mis-measures astral-plane, ZWJ and ⚠️ glyphs (JS width 1 vs Rust unicode-width 2) — must not close #724 as-is #761 → fleet dependency add 842 --blocked-by fleet:761 --hard → label/journal through Fleet → fleet work park 842 --checkpoint --release-lease → later session checks --since-checkpoint, observes dependency resolved, calls fleet work unblock, fleet work resume --claim --hydrate incremental, completes implementation and merges when verified; 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-R153 — open implementation (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences
C-229; citations: 02_charter_v1_1.md#C-229:180; design: components/9206-work-item-lifecycle-fleet-subcommands.md#candidate-transition-matrix-contract-for-v2-review; outcome: Scenario D — near-timeout: agent has inadequate remaining time → checkpoint with branch/commit, tests run/pending, activity cursors and next steps → park/release safely; 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-R006 — design-only (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences
H-115, H-116, H-117; citations: 01_handoff_pm_stack_fleet_orchestration.md#H-115:94, 01_handoff_pm_stack_fleet_orchestration.md#H-116:94, 01_handoff_pm_stack_fleet_orchestration.md#H-117:94; design: components/9203-direct-dispatch-slash-commands-event-routing.md#34-direct-session-routing-and-launch-reservation, components/9204-queue-selection-bounded-exploration.md#eligibility-and-deterministic-normal-selection, components/9209-leases-fencing-outbox-direct-completion.md#3-leasefencing-and-existing-one-queue-contract; outcome: Distribute work across eligible lanes by capability/readiness/dependency/ownership; separate ranking from sampling, revalidate atomic claims, and let direct dispatch bypass waiting only.; 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-R014 — design-only (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences
H-071; citations: 01_handoff_pm_stack_fleet_orchestration.md#H-071:56; design: components/9206-work-item-lifecycle-fleet-subcommands.md#candidate-transition-matrix-contract-for-v2-review, components/9207-context-hydration-incremental-activity.md#4-incremental-activity-and-cursor-correctness, components/9208-typed-dependencies-notes-journal-field-authority.md#3-notes-checkpoints-and-append-only-journal, components/9209-leases-fencing-outbox-direct-completion.md#3-leasefencing-and-existing-one-queue-contract; outcome: Preserve atomic claims/fencing, durable hydration, full GitHub context/diffs, per-source cursors, session attribution, private notes vs public comments, managed sections, checkpoints, and resumable parking.; 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-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-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-R027 — design-only (candidate); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences
O-860, O-861, O-862, O-863, O-864, O-865, O-866; citations: 04_recovered_original_combined_design.md#O-860:13, 04_recovered_original_combined_design.md#O-861:13, 04_recovered_original_combined_design.md#O-862:13, 04_recovered_original_combined_design.md#O-863:13, 04_recovered_original_combined_design.md#O-864:13, 04_recovered_original_combined_design.md#O-865:13, 04_recovered_original_combined_design.md#O-866:13; design: components/9209-leases-fencing-outbox-direct-completion.md#3-leasefencing-and-existing-one-queue-contract; outcome: Make claims atomic; bind lease token/expiry/fencing to agent/session, recover expiry safely, prevent stale writes and distinguish termination from completion.; residual: See status reason and missing_evidence; implementation slices are local keys, not issue IDs.; missing evidence: exact implementation/parser tests for the full behavior, deployment/live acceptance unless separately cited
- O-R032 — design-only (candidate); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences
O-970, O-971, O-972, O-973, O-974, O-975, O-976, O-977, O-978, O-979, O-980, O-981, O-982, O-983, O-984, O-985, O-986, O-987, O-988; citations: 04_recovered_original_combined_design.md#O-970:13, 04_recovered_original_combined_design.md#O-971:13, 04_recovered_original_combined_design.md#O-972:13, 04_recovered_original_combined_design.md#O-973:13, 04_recovered_original_combined_design.md#O-974:13, 04_recovered_original_combined_design.md#O-975:13, 04_recovered_original_combined_design.md#O-976:13, 04_recovered_original_combined_design.md#O-977:13, 04_recovered_original_combined_design.md#O-978:13, 04_recovered_original_combined_design.md#O-979:13, 04_recovered_original_combined_design.md#O-980:13, 04_recovered_original_combined_design.md#O-981:13, 04_recovered_original_combined_design.md#O-982:13, 04_recovered_original_combined_design.md#O-983:13, 04_recovered_original_combined_design.md#O-984:13, 04_recovered_original_combined_design.md#O-985:13, 04_recovered_original_combined_design.md#O-986:13, 04_recovered_original_combined_design.md#O-987:13, 04_recovered_original_combined_design.md#O-988:13; design: components/9209-leases-fencing-outbox-direct-completion.md#3-leasefencing-and-existing-one-queue-contract; outcome: Persist local authoritative mutation and outbox intent transactionally; retry with stable IDs/remote checks, expose pending/verified state, and avoid claiming distributed atomicity or universal exactly-once behavior.; 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-R035 — design-only (example); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences
O-1092, O-1093, O-1094, O-1095, O-1096, O-1097, O-1098, O-1099, O-1100, O-1101; citations: 04_recovered_original_combined_design.md#O-1092:13, 04_recovered_original_combined_design.md#O-1093:13, 04_recovered_original_combined_design.md#O-1094:13, 04_recovered_original_combined_design.md#O-1095:13, 04_recovered_original_combined_design.md#O-1096:13, 04_recovered_original_combined_design.md#O-1097:13, 04_recovered_original_combined_design.md#O-1098:13, 04_recovered_original_combined_design.md#O-1099:13, 04_recovered_original_combined_design.md#O-1100:13, 04_recovered_original_combined_design.md#O-1101:13; design: components/9209-leases-fencing-outbox-direct-completion.md#3-leasefencing-and-existing-one-queue-contract; outcome: Cover claim races, agent termination, lost remote acknowledgement, concurrent content edits, partial completion, duplicate webhook, late comment, route failure, priority changes during claim, and dependency cycles.; 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-R052 — design-only (example); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences
O-1089, O-1090; citations: 04_recovered_original_combined_design.md#O-1089:13, 04_recovered_original_combined_design.md#O-1090:13; design: components/9206-work-item-lifecycle-fleet-subcommands.md#candidate-transition-matrix-contract-for-v2-review, components/9209-leases-fencing-outbox-direct-completion.md#3-leasefencing-and-existing-one-queue-contract; outcome: Illustrative near-timeout session checkpoints and parks/releases rather than starting an unsafe completion.; residual: See status reason and missing_evidence; implementation slices are local keys, not issue IDs.; missing evidence: exact implementation/parser tests for the full behavior, deployment/live acceptance unless separately cited
- P-R001 — design-only (candidate); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences
P-016, P-017, P-018, P-019, P-020, P-021, P-022, P-023, P-024, P-025, P-026, P-027, P-028, P-029, P-030, P-031, P-032, P-033, P-034, P-035, P-036, P-037, P-038, P-039, P-040, P-041, P-042, P-043, P-044, P-045, P-046, P-047, P-048, P-049, P-050, P-051, P-052, P-053, P-054, P-055, P-056, P-057; citations: 03_full_orchestration_proposal.md#P-016:22, 03_full_orchestration_proposal.md#P-017:24, 03_full_orchestration_proposal.md#P-018:26, 03_full_orchestration_proposal.md#P-019:28, 03_full_orchestration_proposal.md#P-020:29, 03_full_orchestration_proposal.md#P-021:30, 03_full_orchestration_proposal.md#P-022:31, 03_full_orchestration_proposal.md#P-023:32, 03_full_orchestration_proposal.md#P-024:33, 03_full_orchestration_proposal.md#P-025:34, 03_full_orchestration_proposal.md#P-026:35, 03_full_orchestration_proposal.md#P-027:36, 03_full_orchestration_proposal.md#P-028:37, 03_full_orchestration_proposal.md#P-029:38, 03_full_orchestration_proposal.md#P-030:39, 03_full_orchestration_proposal.md#P-031:40, 03_full_orchestration_proposal.md#P-032:41, 03_full_orchestration_proposal.md#P-033:42, 03_full_orchestration_proposal.md#P-034:44, 03_full_orchestration_proposal.md#P-035:46, 03_full_orchestration_proposal.md#P-036:48, 03_full_orchestration_proposal.md#P-037:50, 03_full_orchestration_proposal.md#P-038:51, 03_full_orchestration_proposal.md#P-039:53, 03_full_orchestration_proposal.md#P-040:55, 03_full_orchestration_proposal.md#P-041:57, 03_full_orchestration_proposal.md#P-042:59, 03_full_orchestration_proposal.md#P-043:61, 03_full_orchestration_proposal.md#P-044:63, 03_full_orchestration_proposal.md#P-045:65, 03_full_orchestration_proposal.md#P-046:68, 03_full_orchestration_proposal.md#P-047:70, 03_full_orchestration_proposal.md#P-048:71, 03_full_orchestration_proposal.md#P-049:72, 03_full_orchestration_proposal.md#P-050:73, 03_full_orchestration_proposal.md#P-051:74, 03_full_orchestration_proposal.md#P-052:75, 03_full_orchestration_proposal.md#P-053:76, 03_full_orchestration_proposal.md#P-054:78, 03_full_orchestration_proposal.md#P-055:80, 03_full_orchestration_proposal.md#P-056:80, 03_full_orchestration_proposal.md#P-057:82; design: components/9206-work-item-lifecycle-fleet-subcommands.md#candidate-transition-matrix-contract-for-v2-review, components/9209-leases-fencing-outbox-direct-completion.md#3-leasefencing-and-existing-one-queue-contract; outcome: Provide a comprehensive Fleet work-control workflow from discovery through verified completion, while preserving park/block/release/handoff/resume/reprioritize/review transitions and direct Fleet completion.; residual: See status reason and missing_evidence; implementation slices are local keys, not issue IDs.; missing evidence: exact implementation/parser tests for the full behavior, deployment/live acceptance unless separately cited
- P-R006 — design-only (candidate); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences
P-110, P-111, P-112, P-113, P-114, P-115, P-116, P-117, P-118, P-119, P-120, P-121, P-122; citations: 03_full_orchestration_proposal.md#P-110:165, 03_full_orchestration_proposal.md#P-111:167, 03_full_orchestration_proposal.md#P-112:169, 03_full_orchestration_proposal.md#P-113:171, 03_full_orchestration_proposal.md#P-114:172, 03_full_orchestration_proposal.md#P-115:173, 03_full_orchestration_proposal.md#P-116:174, 03_full_orchestration_proposal.md#P-117:175, 03_full_orchestration_proposal.md#P-118:176, 03_full_orchestration_proposal.md#P-119:177, 03_full_orchestration_proposal.md#P-120:178, 03_full_orchestration_proposal.md#P-121:179, 03_full_orchestration_proposal.md#P-122:181; design: components/9209-leases-fencing-outbox-direct-completion.md#3-leasefencing-and-existing-one-queue-contract; outcome: Make work recoverable across interruption using durable progress/ownership, idempotency, outbox, optimistic concurrency, leases, checkpoints, incremental activity, and repair.; 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-R007 — design-only (candidate); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences
P-123, P-124, P-125, P-126, P-127, P-128; citations: 03_full_orchestration_proposal.md#P-123:183, 03_full_orchestration_proposal.md#P-124:185, 03_full_orchestration_proposal.md#P-125:187, 03_full_orchestration_proposal.md#P-126:189, 03_full_orchestration_proposal.md#P-127:191, 03_full_orchestration_proposal.md#P-128:193; design: components/9206-work-item-lifecycle-fleet-subcommands.md#selection-and-peer-order-boundary-consumes-92049200, components/9209-leases-fencing-outbox-direct-completion.md#3-leasefencing-and-existing-one-queue-contract; outcome: Keep execution state distinct from GitHub state and ownership; merge, issue closure, or lease expiry alone does not establish work completion.; residual: See status reason and missing_evidence; implementation slices are local keys, not issue IDs.; missing evidence: exact implementation/parser tests for the full behavior, deployment/live acceptance unless separately cited
- 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-R011 — design-only (candidate); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences
P-299, P-300, P-301, P-302, P-303, P-304, P-305, P-306, P-307, P-308, P-309, P-310; citations: 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; design: components/9206-work-item-lifecycle-fleet-subcommands.md#candidate-transition-matrix-contract-for-v2-review, components/9209-leases-fencing-outbox-direct-completion.md#3-leasefencing-and-existing-one-queue-contract; outcome: Compose work next, open, park, and complete from primitives; preserve concurrency safety, checkpoint/journal/lease-release/sync behavior, and verified direct queue completion.; residual: See status reason and missing_evidence; implementation slices are local keys, not issue IDs.; missing evidence: exact implementation/parser tests for the full behavior, deployment/live acceptance unless separately cited
- P-R020 — design-only (candidate); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences
P-885, P-886, P-887, P-888, P-889, P-890, P-891, P-892, P-893, P-894, P-895, P-896, P-897, P-898, P-899, P-900, P-901, P-902, P-903, P-904, P-905, P-906, P-907, P-908, P-909, P-910, P-911, P-912, P-913, P-914, P-915, P-916, P-917, P-918, P-919, P-920, P-921, P-922, P-923, P-924, P-925, P-926, P-927, P-928, P-929, P-930, P-931, P-932, P-933, P-934, P-935, P-936, P-937, P-938, P-939, P-940, P-941, P-942, P-943, P-944, P-945, P-946, P-947, P-948, P-949, P-950, P-951, P-952, P-953, P-954, P-955, P-956, P-957; citations: 03_full_orchestration_proposal.md#P-885:1226, 03_full_orchestration_proposal.md#P-886:1226, 03_full_orchestration_proposal.md#P-887:1228, 03_full_orchestration_proposal.md#P-888:1230, 03_full_orchestration_proposal.md#P-889:1231, 03_full_orchestration_proposal.md#P-890:1232, 03_full_orchestration_proposal.md#P-891:1233, 03_full_orchestration_proposal.md#P-892:1234, 03_full_orchestration_proposal.md#P-893:1235, 03_full_orchestration_proposal.md#P-894:1236, 03_full_orchestration_proposal.md#P-895:1237, 03_full_orchestration_proposal.md#P-896:1238, 03_full_orchestration_proposal.md#P-897:1240, 03_full_orchestration_proposal.md#P-898:1242, 03_full_orchestration_proposal.md#P-899:1243, 03_full_orchestration_proposal.md#P-900:1245, 03_full_orchestration_proposal.md#P-901:1246, 03_full_orchestration_proposal.md#P-902:1248, 03_full_orchestration_proposal.md#P-903:1249, 03_full_orchestration_proposal.md#P-904:1250, 03_full_orchestration_proposal.md#P-905:1251, 03_full_orchestration_proposal.md#P-906:1252, 03_full_orchestration_proposal.md#P-907:1253, 03_full_orchestration_proposal.md#P-908:1254, 03_full_orchestration_proposal.md#P-909:1256, 03_full_orchestration_proposal.md#P-910:1257, 03_full_orchestration_proposal.md#P-911:1258, 03_full_orchestration_proposal.md#P-912:1259, 03_full_orchestration_proposal.md#P-913:1261, 03_full_orchestration_proposal.md#P-914:1262, 03_full_orchestration_proposal.md#P-915:1264, 03_full_orchestration_proposal.md#P-916:1266, 03_full_orchestration_proposal.md#P-917:1268, 03_full_orchestration_proposal.md#P-918:1270, 03_full_orchestration_proposal.md#P-919:1272, 03_full_orchestration_proposal.md#P-920:1273, 03_full_orchestration_proposal.md#P-921:1274, 03_full_orchestration_proposal.md#P-922:1276, 03_full_orchestration_proposal.md#P-923:1278, 03_full_orchestration_proposal.md#P-924:1279, 03_full_orchestration_proposal.md#P-925:1280, 03_full_orchestration_proposal.md#P-926:1282, 03_full_orchestration_proposal.md#P-927:1284, 03_full_orchestration_proposal.md#P-928:1286, 03_full_orchestration_proposal.md#P-929:1288, 03_full_orchestration_proposal.md#P-930:1290, 03_full_orchestration_proposal.md#P-931:1292, 03_full_orchestration_proposal.md#P-932:1293, 03_full_orchestration_proposal.md#P-933:1295, 03_full_orchestration_proposal.md#P-934:1297, 03_full_orchestration_proposal.md#P-935:1298, 03_full_orchestration_proposal.md#P-936:1299, 03_full_orchestration_proposal.md#P-937:1300, 03_full_orchestration_proposal.md#P-938:1301, 03_full_orchestration_proposal.md#P-939:1302, 03_full_orchestration_proposal.md#P-940:1303, 03_full_orchestration_proposal.md#P-941:1304, 03_full_orchestration_proposal.md#P-942:1306, 03_full_orchestration_proposal.md#P-943:1308, 03_full_orchestration_proposal.md#P-944:1310, 03_full_orchestration_proposal.md#P-945:1312, 03_full_orchestration_proposal.md#P-946:1314, 03_full_orchestration_proposal.md#P-947:1315, 03_full_orchestration_proposal.md#P-948:1317, 03_full_orchestration_proposal.md#P-949:1319, 03_full_orchestration_proposal.md#P-950:1320, 03_full_orchestration_proposal.md#P-951:1321, 03_full_orchestration_proposal.md#P-952:1322, 03_full_orchestration_proposal.md#P-953:1324, 03_full_orchestration_proposal.md#P-954:1326, 03_full_orchestration_proposal.md#P-955:1328, 03_full_orchestration_proposal.md#P-956:1330, 03_full_orchestration_proposal.md#P-957:1332; design: components/9206-work-item-lifecycle-fleet-subcommands.md#candidate-transition-matrix-contract-for-v2-review, components/9209-leases-fencing-outbox-direct-completion.md#3-leasefencing-and-existing-one-queue-contract; outcome: Support lifecycle states, atomic leases/fencing/recovery, useful checkpoints and time-budget-aware park/release/handoff; separate worker-loop policy from lifecycle semantics.; 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-R023 — design-only (candidate); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences
P-1459, P-1460, P-1461, P-1462, P-1463, P-1464, P-1465, P-1466, P-1467, P-1468, P-1469, P-1470, P-1471, P-1472, P-1473, P-1474, P-1475, P-1476, P-1477, P-1478, P-1479, P-1480, P-1481, P-1482, P-1483, P-1484, P-1485, P-1486, P-1487, P-1488, P-1489, P-1490, P-1491, P-1492; citations: 03_full_orchestration_proposal.md#P-1459:2040, 03_full_orchestration_proposal.md#P-1460:2040, 03_full_orchestration_proposal.md#P-1461:2042, 03_full_orchestration_proposal.md#P-1462:2044, 03_full_orchestration_proposal.md#P-1463:2046, 03_full_orchestration_proposal.md#P-1464:2048, 03_full_orchestration_proposal.md#P-1465:2050, 03_full_orchestration_proposal.md#P-1466:2052, 03_full_orchestration_proposal.md#P-1467:2054, 03_full_orchestration_proposal.md#P-1468:2056, 03_full_orchestration_proposal.md#P-1469:2058, 03_full_orchestration_proposal.md#P-1470:2060, 03_full_orchestration_proposal.md#P-1471:2062, 03_full_orchestration_proposal.md#P-1472:2064, 03_full_orchestration_proposal.md#P-1473:2066, 03_full_orchestration_proposal.md#P-1474:2068, 03_full_orchestration_proposal.md#P-1475:2070, 03_full_orchestration_proposal.md#P-1476:2072, 03_full_orchestration_proposal.md#P-1477:2074, 03_full_orchestration_proposal.md#P-1478:2076, 03_full_orchestration_proposal.md#P-1479:2078, 03_full_orchestration_proposal.md#P-1480:2080, 03_full_orchestration_proposal.md#P-1481:2082, 03_full_orchestration_proposal.md#P-1482:2084, 03_full_orchestration_proposal.md#P-1483:2086, 03_full_orchestration_proposal.md#P-1484:2088, 03_full_orchestration_proposal.md#P-1485:2090, 03_full_orchestration_proposal.md#P-1486:2092, 03_full_orchestration_proposal.md#P-1487:2094, 03_full_orchestration_proposal.md#P-1488:2096, 03_full_orchestration_proposal.md#P-1489:2098, 03_full_orchestration_proposal.md#P-1490:2100, 03_full_orchestration_proposal.md#P-1491:2102, 03_full_orchestration_proposal.md#P-1492:2104; design: components/9209-leases-fencing-outbox-direct-completion.md#3-leasefencing-and-existing-one-queue-contract; outcome: Handle claim races, terminated agents/stale leases, unavailable GitHub, lost comment acknowledgements, partial completion, concurrent edits, new feedback during completion, and dependency cycles with explicit recoverable outcomes.; 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-R025 — partially implemented (candidate); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences
P-1540, P-1541, P-1542, P-1543, P-1544, P-1545, P-1546, P-1547, P-1548, P-1549, P-1550, P-1551, P-1552, P-1553, P-1554, P-1555, P-1556, P-1557, P-1558, P-1559, P-1560, P-1561, P-1562, P-1563, P-1564, P-1565, P-1566, P-1567, P-1568, P-1569, P-1570, P-1571, P-1572, P-1573, P-1574, P-1575, P-1576, P-1577, P-1578, P-1579, P-1580, P-1581, P-1582, P-1583, P-1584, P-1585, P-1586, P-1587, P-1588, P-1589, P-1590, P-1591, P-1592, P-1593, P-1594, P-1595, P-1596, P-1597, P-1598, P-1599, P-1600, P-1601, P-1602, P-1603, P-1604, P-1605, P-1606, P-1607, P-1608; citations: 03_full_orchestration_proposal.md#P-1540:2166, 03_full_orchestration_proposal.md#P-1541:2166, 03_full_orchestration_proposal.md#P-1542:2168, 03_full_orchestration_proposal.md#P-1543:2170, 03_full_orchestration_proposal.md#P-1544:2172, 03_full_orchestration_proposal.md#P-1545:2173, 03_full_orchestration_proposal.md#P-1546:2173, 03_full_orchestration_proposal.md#P-1547:2174, 03_full_orchestration_proposal.md#P-1548:2174, 03_full_orchestration_proposal.md#P-1549:2175, 03_full_orchestration_proposal.md#P-1550:2175, 03_full_orchestration_proposal.md#P-1551:2176, 03_full_orchestration_proposal.md#P-1552:2176, 03_full_orchestration_proposal.md#P-1553:2177, 03_full_orchestration_proposal.md#P-1554:2177, 03_full_orchestration_proposal.md#P-1555:2178, 03_full_orchestration_proposal.md#P-1556:2178, 03_full_orchestration_proposal.md#P-1557:2179, 03_full_orchestration_proposal.md#P-1558:2179, 03_full_orchestration_proposal.md#P-1559:2180, 03_full_orchestration_proposal.md#P-1560:2180, 03_full_orchestration_proposal.md#P-1561:2181, 03_full_orchestration_proposal.md#P-1562:2181, 03_full_orchestration_proposal.md#P-1563:2183, 03_full_orchestration_proposal.md#P-1564:2185, 03_full_orchestration_proposal.md#P-1565:2187, 03_full_orchestration_proposal.md#P-1566:2189, 03_full_orchestration_proposal.md#P-1567:2190, 03_full_orchestration_proposal.md#P-1568:2191, 03_full_orchestration_proposal.md#P-1569:2192, 03_full_orchestration_proposal.md#P-1570:2193, 03_full_orchestration_proposal.md#P-1571:2194, 03_full_orchestration_proposal.md#P-1572:2195, 03_full_orchestration_proposal.md#P-1573:2196, 03_full_orchestration_proposal.md#P-1574:2197, 03_full_orchestration_proposal.md#P-1575:2198, 03_full_orchestration_proposal.md#P-1576:2199, 03_full_orchestration_proposal.md#P-1577:2200, 03_full_orchestration_proposal.md#P-1578:2202, 03_full_orchestration_proposal.md#P-1579:2204, 03_full_orchestration_proposal.md#P-1580:2206, 03_full_orchestration_proposal.md#P-1581:2208, 03_full_orchestration_proposal.md#P-1582:2209, 03_full_orchestration_proposal.md#P-1583:2210, 03_full_orchestration_proposal.md#P-1584:2211, 03_full_orchestration_proposal.md#P-1585:2212, 03_full_orchestration_proposal.md#P-1586:2213, 03_full_orchestration_proposal.md#P-1587:2214, 03_full_orchestration_proposal.md#P-1588:2215, 03_full_orchestration_proposal.md#P-1589:2216, 03_full_orchestration_proposal.md#P-1590:2217, 03_full_orchestration_proposal.md#P-1591:2219, 03_full_orchestration_proposal.md#P-1592:2221, 03_full_orchestration_proposal.md#P-1593:2223, 03_full_orchestration_proposal.md#P-1594:2225, 03_full_orchestration_proposal.md#P-1595:2227, 03_full_orchestration_proposal.md#P-1596:2229, 03_full_orchestration_proposal.md#P-1597:2230, 03_full_orchestration_proposal.md#P-1598:2231, 03_full_orchestration_proposal.md#P-1599:2232, 03_full_orchestration_proposal.md#P-1600:2233, 03_full_orchestration_proposal.md#P-1601:2234, 03_full_orchestration_proposal.md#P-1602:2235, 03_full_orchestration_proposal.md#P-1603:2236, 03_full_orchestration_proposal.md#P-1604:2237, 03_full_orchestration_proposal.md#P-1605:2238, 03_full_orchestration_proposal.md#P-1606:2239, 03_full_orchestration_proposal.md#P-1607:2241, 03_full_orchestration_proposal.md#P-1608:2243; design: components/9198-requirement-crosswalk-current-state-census.md#2-v1-census--actual-state-and-bounded-facts, components/9209-leases-fencing-outbox-direct-completion.md#3-leasefencing-and-existing-one-queue-contract, architecture.md#identity-and-authority; outcome: Inspect and reuse existing CLI/storage/source-of-truth/priority/GitHub/sync/webhook/outbox/identity/lease/journal mechanisms; enforce per-action authorization and instrument operational outcomes with correlation IDs.; residual: The existing projector is bounded transport/projection only. Canonical Fleet operation acceptance, per-action authorization, semantic event idempotency, lifecycle/priority mutation routing and direct launch/bind/ack remain unproven or open.; missing evidence: authoritative Fleet command acceptance and operation receipt, full comment/slash-to-session/direct-launch route, deployment/live ingress and consumer fanout evidence, do not use projector database as canonical truth
- P-R033 — design-only (candidate); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences
P-456, P-457, P-458, P-459, P-460, P-461, P-462, P-463, P-464, P-465, P-466, P-467, P-468, P-469, P-470, P-471, P-472, P-473, P-474, P-475, P-476, P-477; citations: 03_full_orchestration_proposal.md#P-456:640, 03_full_orchestration_proposal.md#P-457:642, 03_full_orchestration_proposal.md#P-458:644, 03_full_orchestration_proposal.md#P-459:645, 03_full_orchestration_proposal.md#P-460:646, 03_full_orchestration_proposal.md#P-461:647, 03_full_orchestration_proposal.md#P-462:648, 03_full_orchestration_proposal.md#P-463:649, 03_full_orchestration_proposal.md#P-464:651, 03_full_orchestration_proposal.md#P-465:653, 03_full_orchestration_proposal.md#P-466:654, 03_full_orchestration_proposal.md#P-467:655, 03_full_orchestration_proposal.md#P-468:656, 03_full_orchestration_proposal.md#P-469:657, 03_full_orchestration_proposal.md#P-470:658, 03_full_orchestration_proposal.md#P-471:659, 03_full_orchestration_proposal.md#P-472:660, 03_full_orchestration_proposal.md#P-473:661, 03_full_orchestration_proposal.md#P-474:662, 03_full_orchestration_proposal.md#P-475:663, 03_full_orchestration_proposal.md#P-476:664, 03_full_orchestration_proposal.md#P-477:666; design: components/9209-leases-fencing-outbox-direct-completion.md#3-leasefencing-and-existing-one-queue-contract; outcome: Compose validated work-complete through claim/dependency/activity/policy/check validation, outbox delivery and verification, direct queue close, journaling and lease release.; 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/lifecycle.rs
pkgs/fleet/crates/fleet-queue/src/turso_queue.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: REL-01
File-collision sequencing edges added by stable topological serialization: none.
Existing issue references retained as non-blocking runtime/evidence gates: #9178 (upstream claim/manual/takeover/resume semantics must be verified before mutation/cutover; offline compatibility models may proceed).
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_rel_stale_generation_cannot_write_after_reclaim
- 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 exact test then run cargo test --manifest-path pkgs/fleet/Cargo.toml -p fleet-queue --lib --features client,queue-broker pmo_rel_stale_generation_cannot_write_after_reclaim.
- 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
strict generation increment, conditional versioned writes, DB clock authority.
Negative coverage: clock skew, renew after takeover, stale release/park/checkpoint, DB busy.
Compatibility, migration, and runtime gates
- Preserve the current queue/status/identity/Project-writer/Fleet
gh compatibility surfaces. Do not silently change existing spellings or normalize ratified expedite=15 / next-up=25; those remain distinct from do_now.
- QTI remains unlocated/unverified; research(pm-orchestration): recover Queue Table Improvements provenance and schema crosswalk #9241 is the existing provenance-recovery issue. design(queue): durable task data model — blocker links, park revalidation, status reasons + notes, full event history, actor provenance #3424/Design: one door, one home per fact — the fleet tool owns every route and every fallback #8575/Fleet unification slice 1: wipe-test audit of the queue database schema #8579/docs(fleet): #8579 wipe-test audit of the queue database schema #8602 are candidates/constraints, not presumed equivalents. Any overlapping persisted field/schema change waits for the QTI crosswalk and named current owner.
- Runtime gates: implementation starts only after the document PR is merged, the exact curated requirement IDs are integrated, and this issue's granular prerequisite edges are resolved. Schema/migration, production rollout, telemetry, authenticated remote writes, deployed behavior, and live acceptance each require their own explicit evidence and approval. Normal triage does not inherit urgency 450/Do Now.
- Projection rows being rebuildable/disposable does not authorize deleting the PM PostgREST database or unrelated tables. Preserve unique human-authored
pmp_links/link writes and all unrelated tables; follow the existing backup/restore requirements before any future migration or cleanup.
- Compatibility: additive legacy generation unknown/0, canary/rollback retains lease history. No bearer-token design until auth owner decides.
- Rollback: Disable only the new capability; preserve pending intents, artifacts, existing state, and remote effects. No broad reset, destructive cleanup, or deletion of history.
Source trail
- Raw source refs: handoff
sources/01_handoff_pm_stack_fleet_orchestration.md; charter sources/02_charter_v1_1.md; recovered original sources/04_recovered_original_combined_design.md; cited source section(s) in sources/03_full_orchestration_proposal.md as named by the component; exact occurrence citations are in the curated trace above when allocated.
- Design ref:
components/9209-leases-fencing-outbox-direct-completion.md, slice REL-02 (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:
current.claim.lease-seconds, flag.expected-version, flag.lease, flag.lease-token, flag.release-lease, queue.fallback.heartbeat, queue.fallback.release, queue.park, queue.release, queue.resume, work.park, work.release. 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)
REL-02 — Monotone fence generation and conditional local mutations
Tier: crucial. Goal: stale claimant cannot mutate local lifecycle after takeover. Owns: src/work/lifecycle.rs pure command fence checks plus existing src/turso_queue.rs claim/mutation transaction and its tests/migration only after approval. Hard blockers: REL-01; #9178; Queue Table Improvements schema decision. First failing oracle: pmo_rel_stale_generation_cannot_write_after_reclaim races gen N mutation with N+1 takeover. Done command: list exact test then run cargo test --manifest-path pkgs/fleet/Cargo.toml -p fleet-queue --lib --features client,queue-broker pmo_rel_stale_generation_cannot_write_after_reclaim. Negative: clock skew, renew after takeover, stale release/park/checkpoint, DB busy. Acceptance: strict generation increment, conditional versioned writes, DB clock authority. Migration: additive legacy generation unknown/0, canary/rollback retains lease history. No bearer-token design until auth owner decides.
Shared-file sequencing
Added hard sequencing edges (the predecessor owns the same exact writable file):
- blocked by
PRI-03 — shared-file:pkgs/fleet/crates/fleet-queue/src/turso_queue.rs
- blocked by
CLI-05 — shared-file:pkgs/fleet/crates/fleet-queue/src/work/lifecycle.rs
Activitydeveloping-today commented on Nov 13, 2026 dezren39 commented on Nov 13, 2026 Triage (repo-health fleet, lane any-a, task 15959) — findings and routing:
- Design/research slice REL-02 under design(pm-orchestration): leases, fencing, transactional outbox & direct verified completion #9209 (lease/outbox/completion), tier crucial, V3 proposal, not an implementation authorization. Goal: monotone fence generation and conditional local mutations — a stale claimant cannot mutate local lifecycle after takeover. Hard blockers: REL-01, fleet queue: resume-by-session, claim-any-task, and manual-only items #9178, and the Queue Table Improvements schema decision; any schema/migration touch waits for its own approval, and there is no bearer-token design until the auth owner decides.
- Gate check, design PR: docs(pm-orchestration): build out both orchestration design tracks #9225 (design/pm-orchestration-buildout) is still OPEN; per the issue terms implementation starts only after it merges and the blockers resolve.
- Gate check, first failing oracle:
pmo_rel_stale_generation_cannot_write_after_reclaim (races a generation-N mutation with an N+1 takeover). Verified on current main (7535eba): the done command (list exact test, then cargo test -p fleet-queue --lib --features client,queue-broker with that filter) runs 0 tests with 292 filtered out, and a source search finds no occurrence of the name. The oracle is written with the future implementation slice (src/work/lifecycle.rs fence checks plus the existing src/turso_queue.rs claim/mutation transaction). Acceptance recorded for it: strict generation increment, conditional versioned writes, DB clock authority; negatives include clock skew, renew after takeover, stale release/park/checkpoint, and DB busy.
- Routing: keep as the bounded design slice; re-queue when docs(pm-orchestration): build out both orchestration design tracks #9225 merges. Queue task 15959 is parked on that gate. No code change is authorized or needed now.
dezren39 commented on Nov 19, 2026
state: blocked (dependency) — task 16098, lane code-j, 2026-11-19
Fresh gate verification: PR #9225 MERGED (cleared); REL-01 #9512 OPEN; #9178 OPEN. The Queue Table Improvements schema decision remains unrecorded per the task packet. No implementation started.
Task 16098 is dep-blocked on #9512 and #9178; broker recheck interval is 900 seconds, max TTL 3 days. Before any implementation after release, reverify the schema-decision gate.
dezren39 commented on Nov 22, 2026
state: claimed then dependency-blocked — task 16098, lane code-h, 2026-11-22
Claimed this task in the OpenChamber scheduled lane and revalidated the gates fresh: issue #9487 is OPEN with no hard-stop labels; design PR #9225 is MERGED; REL-01 #9512 and issue #9178 remain OPEN. The Queue Table Improvements schema decision is still unrecorded per the task packet. No implementation started.
Transition: dep-blocking task 16098 on #9512 and #9178; broker recheck every 900 seconds, maximum TTL 3 days. Before implementation after release, reverify all gates including the schema decision.
dezren39 commented on Nov 25, 2026 Claimed by lane 4, 2026-11-25T22:40Z.
I'm writing the REL-02 design pass as a docs-only record: a monotone fence generation, conditional versioned local writes, and the DB clock as the only clock. It builds on the merged REL-01 and REL-04 records and the lease code on main. Implementation stays a separate step behind REL-01, #9178 and the CEN-04 schema gate.
Generated by Claude Code dezren39 commented on Nov 25, 2026 Lane 4: the REL-02 design record is merged in #15281 (squash 7d9f0b62), at doc/2026-11-25T22-45-00Z_design_rel02_fence_generation_conditional_mutations/. It decides:
- a per-task
claim_generation, +1 exactly when the holder changes and never lower;
- that every holder write is authorized by its first statement's
status = 'claimed' AND claim_generation = ?, with typed FENCED / FENCE_REQUIRED refusals;
- the store's clock as the only lease clock, so skew affects liveness and never safety;
- legacy claims, per-queue rollout, and a generation bump on re-enable after rollback;
- 11 oracles, led by
pmo_rel_stale_generation_cannot_write_after_reclaim.
It found that on main today, release, park, checkpoint progress and complete read ownership with claimed_by and then write … WHERE id = ?, so a stale holder can overwrite a newer claim. Holder identity is the worker id, which all lanes share. §10 names a smaller fix that can land first: make those writes conditional on status = 'claimed' AND worker_id = ?.
Leaving this issue open for implementation. That is gated on the #9178 doors, the CEN-04 §5 rows for the column and the per-queue switch, and the PRI-03/CLI-05 file order.
Generated by Claude Code dezren39 commented on Nov 25, 2026 The §10 interim fix landed in #15288 (squash 96cc96da). Release, park (both landings), checkpoint and complete now write the task row only while the claim they read is still on it. The condition is the heartbeat's own tuple: status = 'claimed', worker_id, claimed_at, lane_id and attempts. When the claim changed, the verb returns exit 5 (<verb>: claim for task N changed before the write committed) and stops before the lease delete, the checkpoint KV write and any event. Checkpoint now writes the task row first, so a refused checkpoint leaves no KV entry either.
Remote run 45710365028 passed 724 of 724 fleet-queue lib tests. They include a race test that re-claims the row between the read and the first write for each of the four verbs.
The fence generation itself (design record §§1–9) is still open. This change does not close the issue.
Generated by Claude Code dezren39 commented on Nov 27, 2026
state: dependency-blocked (re-verified) — task 16098, lane xaltha, 2026-11-26 20:41 CST hourly run
Fresh gate verification for REL-02 (#9487):
Task 16098 dep-blocked on #9178 (recheck 900s, TTL 3 days). No implementation started. Before implementation after release, reverify all gates including the schema decision.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|