Skip to content

design(pm-orchestration): Migration, backfill, and rollback validation #9489

Open

Description

@dezren39

REL-10M — Migration, backfill, and rollback validation

Issue title: design(pm-orchestration): Migration, backfill, and rollback validation
Design parent: #9209 · Scope: #9209 lease/outbox/completion · Version: V3 proposal; not an authorization to implement. Requirement IDs (ALLOCATED): C-R136, C-R137, C-R142, O-R011, P-R008, P-R024, P-R037. 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

additive migration/backfill/dual-read and rollback after remote effects; hosted conformance.

Curated requirement trace

  • C-R136 — design-only (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences C-205; citations: 02_charter_v1_1.md#C-205:157; design: components/9209-leases-fencing-outbox-direct-completion.md#4-outbox-operation-model; outcome: Checkpoints and expiry enable interrupted-session recovery; 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-R137 — design-only (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences C-206; citations: 02_charter_v1_1.md#C-206:157; design: components/9209-leases-fencing-outbox-direct-completion.md#4-outbox-operation-model; outcome: Ownership, execution and GitHub state remain distinct; 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-R142 — partially implemented (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences C-211; citations: 02_charter_v1_1.md#C-211:159; design: components/9209-leases-fencing-outbox-direct-completion.md#4-outbox-operation-model; outcome: Do not pretend GitHub and the local database share an atomic transaction; 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-R011 — design-only (candidate); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences O-450, O-451, O-452, O-453, O-454, O-455, O-456, O-457, O-458, O-459, O-460, O-461, O-462, O-463, O-464, O-465, O-466, O-467, O-468, O-469, O-470, O-471, O-472, O-473, O-474, O-475, O-476, O-477, O-478, O-479, O-480, O-481, O-482, O-483, O-484, O-485, O-486; citations: 04_recovered_original_combined_design.md#O-450:13, 04_recovered_original_combined_design.md#O-451:13, 04_recovered_original_combined_design.md#O-452:13, 04_recovered_original_combined_design.md#O-453:13, 04_recovered_original_combined_design.md#O-454:13, 04_recovered_original_combined_design.md#O-455:13, 04_recovered_original_combined_design.md#O-456:13, 04_recovered_original_combined_design.md#O-457:13, 04_recovered_original_combined_design.md#O-458:13, 04_recovered_original_combined_design.md#O-459:13, 04_recovered_original_combined_design.md#O-460:13, 04_recovered_original_combined_design.md#O-461:13, 04_recovered_original_combined_design.md#O-462:13, 04_recovered_original_combined_design.md#O-463:13, 04_recovered_original_combined_design.md#O-464:13, 04_recovered_original_combined_design.md#O-465:13, 04_recovered_original_combined_design.md#O-466:13, 04_recovered_original_combined_design.md#O-467:13, 04_recovered_original_combined_design.md#O-468:13, 04_recovered_original_combined_design.md#O-469:13, 04_recovered_original_combined_design.md#O-470:13, 04_recovered_original_combined_design.md#O-471:13, 04_recovered_original_combined_design.md#O-472:13, 04_recovered_original_combined_design.md#O-473:13, 04_recovered_original_combined_design.md#O-474:13, 04_recovered_original_combined_design.md#O-475:13, 04_recovered_original_combined_design.md#O-476:13, 04_recovered_original_combined_design.md#O-477:13, 04_recovered_original_combined_design.md#O-478:13, 04_recovered_original_combined_design.md#O-479:13, 04_recovered_original_combined_design.md#O-480:13, 04_recovered_original_combined_design.md#O-481:13, 04_recovered_original_combined_design.md#O-482:13, 04_recovered_original_combined_design.md#O-483:13, 04_recovered_original_combined_design.md#O-484:13, 04_recovered_original_combined_design.md#O-485:13, 04_recovered_original_combined_design.md#O-486:13; design: components/9203-direct-dispatch-slash-commands-event-routing.md#33-deduplication-and-edit-semantics, components/9209-leases-fencing-outbox-direct-completion.md#4-outbox-operation-model; outcome: Treat do-now as a durable, authenticated one-shot dispatch request; route to a live session or dispatch through authorized mechanism, bind/record/acknowledge, preserve blockers, and deduplicate deliveries.; 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-R008 — design-only (candidate); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences P-130, P-131, P-132, P-133, P-134, P-135, P-136, P-137, P-138, P-139, P-140, P-141, P-142, P-143, P-144, P-145, P-146, P-147, P-148, P-149, P-150, P-151, P-152, P-153, P-154, P-155, P-156, P-157, P-158, P-159, P-160, P-161, P-162, P-163, P-164, P-165, P-166, P-167, P-168, P-169, P-170, P-171, P-172, P-173, P-174, P-175, P-176, P-177, P-178, P-179, P-180, P-181, P-182, P-183, P-184, P-185, P-186, P-187, P-188, P-189, P-190, P-191, P-192, P-193, P-194, P-195, P-196, P-197, P-198, P-199, P-200, P-201, P-202, P-203, P-204, P-205, P-206, P-207, P-208, P-209, P-210, P-211, P-212, P-213, P-214, P-215, P-216, P-217, P-218, P-219, P-220, P-221, P-222, P-223, P-224, P-225; citations: 03_full_orchestration_proposal.md#P-130:197, 03_full_orchestration_proposal.md#P-131:197, 03_full_orchestration_proposal.md#P-132:199, 03_full_orchestration_proposal.md#P-133:201, 03_full_orchestration_proposal.md#P-134:203, 03_full_orchestration_proposal.md#P-135:205, 03_full_orchestration_proposal.md#P-136:207, 03_full_orchestration_proposal.md#P-137:208, 03_full_orchestration_proposal.md#P-138:209, 03_full_orchestration_proposal.md#P-139:210, 03_full_orchestration_proposal.md#P-140:211, 03_full_orchestration_proposal.md#P-141:212, 03_full_orchestration_proposal.md#P-142:213, 03_full_orchestration_proposal.md#P-143:214, 03_full_orchestration_proposal.md#P-144:216, 03_full_orchestration_proposal.md#P-145:218, 03_full_orchestration_proposal.md#P-146:220, 03_full_orchestration_proposal.md#P-147:221, 03_full_orchestration_proposal.md#P-148:222, 03_full_orchestration_proposal.md#P-149:223, 03_full_orchestration_proposal.md#P-150:224, 03_full_orchestration_proposal.md#P-151:225, 03_full_orchestration_proposal.md#P-152:226, 03_full_orchestration_proposal.md#P-153:227, 03_full_orchestration_proposal.md#P-154:229, 03_full_orchestration_proposal.md#P-155:231, 03_full_orchestration_proposal.md#P-156:233, 03_full_orchestration_proposal.md#P-157:234, 03_full_orchestration_proposal.md#P-158:235, 03_full_orchestration_proposal.md#P-159:236, 03_full_orchestration_proposal.md#P-160:237, 03_full_orchestration_proposal.md#P-161:238, 03_full_orchestration_proposal.md#P-162:239, 03_full_orchestration_proposal.md#P-163:240, 03_full_orchestration_proposal.md#P-164:241, 03_full_orchestration_proposal.md#P-165:242, 03_full_orchestration_proposal.md#P-166:243, 03_full_orchestration_proposal.md#P-167:244, 03_full_orchestration_proposal.md#P-168:245, 03_full_orchestration_proposal.md#P-169:247, 03_full_orchestration_proposal.md#P-170:249, 03_full_orchestration_proposal.md#P-171:251, 03_full_orchestration_proposal.md#P-172:253, 03_full_orchestration_proposal.md#P-173:255, 03_full_orchestration_proposal.md#P-174:256, 03_full_orchestration_proposal.md#P-175:257, 03_full_orchestration_proposal.md#P-176:258, 03_full_orchestration_proposal.md#P-177:259, 03_full_orchestration_proposal.md#P-178:260, 03_full_orchestration_proposal.md#P-179:261, 03_full_orchestration_proposal.md#P-180:263, 03_full_orchestration_proposal.md#P-181:265, 03_full_orchestration_proposal.md#P-182:267, 03_full_orchestration_proposal.md#P-183:269, 03_full_orchestration_proposal.md#P-184:270, 03_full_orchestration_proposal.md#P-185:271, 03_full_orchestration_proposal.md#P-186:272, 03_full_orchestration_proposal.md#P-187:273, 03_full_orchestration_proposal.md#P-188:274, 03_full_orchestration_proposal.md#P-189:275, 03_full_orchestration_proposal.md#P-190:277, 03_full_orchestration_proposal.md#P-191:279, 03_full_orchestration_proposal.md#P-192:281, 03_full_orchestration_proposal.md#P-193:283, 03_full_orchestration_proposal.md#P-194:284, 03_full_orchestration_proposal.md#P-195:285, 03_full_orchestration_proposal.md#P-196:286, 03_full_orchestration_proposal.md#P-197:287, 03_full_orchestration_proposal.md#P-198:288, 03_full_orchestration_proposal.md#P-199:289, 03_full_orchestration_proposal.md#P-200:290, 03_full_orchestration_proposal.md#P-201:292, 03_full_orchestration_proposal.md#P-202:294, 03_full_orchestration_proposal.md#P-203:296, 03_full_orchestration_proposal.md#P-204:298, 03_full_orchestration_proposal.md#P-205:300, 03_full_orchestration_proposal.md#P-206:302, 03_full_orchestration_proposal.md#P-207:303, 03_full_orchestration_proposal.md#P-208:304, 03_full_orchestration_proposal.md#P-209:305, 03_full_orchestration_proposal.md#P-210:306, 03_full_orchestration_proposal.md#P-211:307, 03_full_orchestration_proposal.md#P-212:308, 03_full_orchestration_proposal.md#P-213:309, 03_full_orchestration_proposal.md#P-214:310, 03_full_orchestration_proposal.md#P-215:312, 03_full_orchestration_proposal.md#P-216:314, 03_full_orchestration_proposal.md#P-217:316, 03_full_orchestration_proposal.md#P-218:318, 03_full_orchestration_proposal.md#P-219:319, 03_full_orchestration_proposal.md#P-220:320, 03_full_orchestration_proposal.md#P-221:321, 03_full_orchestration_proposal.md#P-222:322, 03_full_orchestration_proposal.md#P-223:323, 03_full_orchestration_proposal.md#P-224:324, 03_full_orchestration_proposal.md#P-225:326; design: components/9204-queue-selection-bounded-exploration.md#eligibility-and-deterministic-normal-selection, components/9207-context-hydration-incremental-activity.md#22-versioned-manifest-normative-shape-candidate, components/9208-typed-dependencies-notes-journal-field-authority.md#2-typed-relationship-contract, components/9209-leases-fencing-outbox-direct-completion.md#4-outbox-operation-model; outcome: Define logical internal responsibilities for Queue Broker, Hydrator, GitHub Adapter, Activity Reconciler, Dependency Resolver, append-oriented Journal, Mutation Coordinator, and durable Outbox; reuse existing infrastructure rather than require separate services.; 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-R024 — design-only (candidate); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences P-1494, P-1495, P-1496, P-1497, P-1498, P-1499, P-1500, P-1501, P-1502, P-1503, P-1504, P-1505, P-1506, P-1507, P-1508, P-1509, P-1510, P-1511, P-1512, P-1513, P-1514, P-1515, P-1516, P-1517, P-1518, P-1519, P-1520, P-1521, P-1522, P-1523, P-1524, P-1525, P-1526, P-1527, P-1528, P-1529, P-1530, P-1531, P-1532, P-1533, P-1534, P-1535, P-1536, P-1537, P-1538; citations: 03_full_orchestration_proposal.md#P-1494:2108, 03_full_orchestration_proposal.md#P-1495:2108, 03_full_orchestration_proposal.md#P-1496:2110, 03_full_orchestration_proposal.md#P-1497:2112, 03_full_orchestration_proposal.md#P-1498:2114, 03_full_orchestration_proposal.md#P-1499:2115, 03_full_orchestration_proposal.md#P-1500:2117, 03_full_orchestration_proposal.md#P-1501:2118, 03_full_orchestration_proposal.md#P-1502:2119, 03_full_orchestration_proposal.md#P-1503:2120, 03_full_orchestration_proposal.md#P-1504:2121, 03_full_orchestration_proposal.md#P-1505:2122, 03_full_orchestration_proposal.md#P-1506:2123, 03_full_orchestration_proposal.md#P-1507:2124, 03_full_orchestration_proposal.md#P-1508:2125, 03_full_orchestration_proposal.md#P-1509:2126, 03_full_orchestration_proposal.md#P-1510:2127, 03_full_orchestration_proposal.md#P-1511:2128, 03_full_orchestration_proposal.md#P-1512:2129, 03_full_orchestration_proposal.md#P-1513:2130, 03_full_orchestration_proposal.md#P-1514:2131, 03_full_orchestration_proposal.md#P-1515:2132, 03_full_orchestration_proposal.md#P-1516:2133, 03_full_orchestration_proposal.md#P-1517:2134, 03_full_orchestration_proposal.md#P-1518:2135, 03_full_orchestration_proposal.md#P-1519:2136, 03_full_orchestration_proposal.md#P-1520:2137, 03_full_orchestration_proposal.md#P-1521:2139, 03_full_orchestration_proposal.md#P-1522:2141, 03_full_orchestration_proposal.md#P-1523:2143, 03_full_orchestration_proposal.md#P-1524:2145, 03_full_orchestration_proposal.md#P-1525:2146, 03_full_orchestration_proposal.md#P-1526:2147, 03_full_orchestration_proposal.md#P-1527:2148, 03_full_orchestration_proposal.md#P-1528:2149, 03_full_orchestration_proposal.md#P-1529:2150, 03_full_orchestration_proposal.md#P-1530:2151, 03_full_orchestration_proposal.md#P-1531:2152, 03_full_orchestration_proposal.md#P-1532:2154, 03_full_orchestration_proposal.md#P-1533:2156, 03_full_orchestration_proposal.md#P-1534:2157, 03_full_orchestration_proposal.md#P-1535:2158, 03_full_orchestration_proposal.md#P-1536:2159, 03_full_orchestration_proposal.md#P-1537:2160, 03_full_orchestration_proposal.md#P-1538:2162; design: components/9206-work-item-lifecycle-fleet-subcommands.md#selection-and-peer-order-boundary-consumes-92049200, components/9209-leases-fencing-outbox-direct-completion.md#4-outbox-operation-model, architecture.md#shared-command-and-result-interface, architecture.md#digest-and-serialization-contract, research/canonical-json-evidence.md#what-the-source-establishes; outcome: Provide stable JSON output, stable error identifiers, meaningful exit codes and distinct local/pending/verified/rejected/partial statuses without exposing secrets.; 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-R037 — design-only (example); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences P-1386, P-1387, P-1388, P-1389, P-1390, P-1391, P-1392, P-1393, P-1394, P-1395, P-1396, P-1397, P-1398, P-1399, P-1400, P-1401, P-1402, P-1403, P-1404, P-1405, P-1406, P-1407, P-1408, P-1409, P-1410, P-1412, P-1413, P-1415, P-1416, P-1417, P-1418, P-1419, P-1420, P-1421, P-1422, P-1423, P-1424, P-1425, P-1426, P-1427, P-1428, P-1429, P-1430, P-1431, P-1432; citations: 03_full_orchestration_proposal.md#P-1386:1921, 03_full_orchestration_proposal.md#P-1387:1921, 03_full_orchestration_proposal.md#P-1388:1923, 03_full_orchestration_proposal.md#P-1389:1925, 03_full_orchestration_proposal.md#P-1390:1925, 03_full_orchestration_proposal.md#P-1391:1925, 03_full_orchestration_proposal.md#P-1392:1927, 03_full_orchestration_proposal.md#P-1393:1929, 03_full_orchestration_proposal.md#P-1394:1930, 03_full_orchestration_proposal.md#P-1395:1931, 03_full_orchestration_proposal.md#P-1396:1933, 03_full_orchestration_proposal.md#P-1397:1934, 03_full_orchestration_proposal.md#P-1398:1935, 03_full_orchestration_proposal.md#P-1399:1937, 03_full_orchestration_proposal.md#P-1400:1939, 03_full_orchestration_proposal.md#P-1401:1941, 03_full_orchestration_proposal.md#P-1402:1942, 03_full_orchestration_proposal.md#P-1403:1943, 03_full_orchestration_proposal.md#P-1404:1945, 03_full_orchestration_proposal.md#P-1405:1947, 03_full_orchestration_proposal.md#P-1406:1949, 03_full_orchestration_proposal.md#P-1407:1951, 03_full_orchestration_proposal.md#P-1408:1952, 03_full_orchestration_proposal.md#P-1409:1954, 03_full_orchestration_proposal.md#P-1410:1955, 03_full_orchestration_proposal.md#P-1412:1959, 03_full_orchestration_proposal.md#P-1413:1961, 03_full_orchestration_proposal.md#P-1415:1965, 03_full_orchestration_proposal.md#P-1416:1967, 03_full_orchestration_proposal.md#P-1417:1968, 03_full_orchestration_proposal.md#P-1418:1969, 03_full_orchestration_proposal.md#P-1419:1970, 03_full_orchestration_proposal.md#P-1420:1972, 03_full_orchestration_proposal.md#P-1421:1974, 03_full_orchestration_proposal.md#P-1422:1975, 03_full_orchestration_proposal.md#P-1423:1976, 03_full_orchestration_proposal.md#P-1424:1977, 03_full_orchestration_proposal.md#P-1425:1978, 03_full_orchestration_proposal.md#P-1426:1979, 03_full_orchestration_proposal.md#P-1427:1980, 03_full_orchestration_proposal.md#P-1428:1982, 03_full_orchestration_proposal.md#P-1429:1984, 03_full_orchestration_proposal.md#P-1430:1985, 03_full_orchestration_proposal.md#P-1431:1986, 03_full_orchestration_proposal.md#P-1432:1988; design: components/9206-work-item-lifecycle-fleet-subcommands.md#candidate-transition-matrix-contract-for-v2-review, components/9209-leases-fencing-outbox-direct-completion.md#4-outbox-operation-model; outcome: Illustrative near-timeout handoff preserves progress, commit/branch, tests/reviews, activity cursor and next action while safely checkpointing, parking/releasing and enabling incremental resume.; 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/completion.rs
  • pkgs/fleet/crates/fleet-queue/src/work/operations.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: CEN-04, REL-02, #9073, #9076
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: #9198→CEN-04.

Source-local candidate aliases normalized for this packet: REL-10 → REL-10M, REL-10H.

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_migration_rollback_preserves_remote_effect_receipt
  • 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: confirm test listed, then cargo test --manifest-path pkgs/fleet/Cargo.toml -p fleet-queue --lib --features client,queue-broker pmo_rel_migration_rollback_preserves_remote_effect_receipt; actual DB migration owner must also supply/run its named upgrade/rollback integration command before release.
  • 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

code, DB migration, staging, deployed telemetry, live readback, hosted parity separately reported. Split refinement: Validate additive migration, unknown legacy state, mixed-version behavior, rollback after remote effect, and retained pending receipts only after #9198 names the actual migration owner/command.

Negative coverage: mixed binaries, pending legacy intent, remote success during rollback, partial schema.

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/9209-leases-fencing-outbox-direct-completion.md, slice REL-10M (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: none; this is not a command-owning slice. Full command inventory remains census/commands.jsonl; exact allocation source is census/command-slice-map.jsonl (215 rows, no wildcard). V1 baseline keys are not refiled as duplicate implementation issues.
  • Shared architecture: architecture.md; FDR index: decisions/README.md (all FDR-PMO records remain proposed, not ratified).

Original slice text (preserved)

REL-10 — Schema migration, rollback, and hosted conformance

Tier: crucial rollout validation. Goal: additive migration/backfill/dual-read and rollback after remote effects; hosted conformance. Owns: src/work/operations.rs/completion.rs migration model tests; actual migration file remains existing fleet-queue path resolved by #9198. Hard blockers: Queue Table Improvements, #9198 store owner, REL-02/04/07; #9073–#9076 only if current interface required. First failing oracle: pmo_rel_migration_rollback_preserves_remote_effect_receipt simulates remote success then disable/rollback/restart. Done command: confirm test listed, then cargo test --manifest-path pkgs/fleet/Cargo.toml -p fleet-queue --lib --features client,queue-broker pmo_rel_migration_rollback_preserves_remote_effect_receipt; actual DB migration owner must also supply/run its named upgrade/rollback integration command before release. Negative: mixed binaries, pending legacy intent, remote success during rollback, partial schema. Acceptance: code, DB migration, staging, deployed telemetry, live readback, hosted parity separately reported.

Split refinement: Validate additive migration, unknown legacy state, mixed-version behavior, rollback after remote effect, and retained pending receipts only after #9198 names the actual migration owner/command.

Merged source-key/facade acceptance

  • REL-10 → REL-10M: Composite source key split into migration/rollback validation and hosted fixture parity. Exact command rows allocated here: no direct command rows.

Shared-file sequencing

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

  • blocked by REL-09 — shared-file:pkgs/fleet/crates/fleet-queue/src/work/completion.rs
  • blocked by REL-05 — shared-file:pkgs/fleet/crates/fleet-queue/src/work/operations.rs

Activity

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

    @developing-today
    Contributor
  3. dezren39 commented on Nov 13, 2026

    @dezren39
    MemberAuthor

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

    • Design/research slice REL-10M under design(pm-orchestration): leases, fencing, transactional outbox & direct verified completion #9209 (lease/outbox/completion), tier crucial rollout validation, V3 proposal, not an implementation authorization. Goal: migration, backfill, and rollback validation — additive migration/backfill/dual-read and rollback after remote effects, with hosted conformance. Hard blockers: Queue Table Improvements, the design(pm-orchestration): requirement crosswalk & current-state census #9198 store owner, and REL-02/04/07.
    • 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. Production adoption and any actual migration remain separately authorized stages; the DB migration owner must also supply and run its named upgrade/rollback integration command before release.
    • Gate check, first failing oracle: pmo_rel_migration_rollback_preserves_remote_effect_receipt (simulates remote success, then disable/rollback/restart). Verified on current main (7535eba): the done command (confirm listed, 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/operations.rs and completion.rs migration model tests). Negatives recorded for it: mixed binaries, pending legacy intent, remote success during rollback, partial schema. Acceptance evidence (code, DB migration, staging, deployed telemetry, live readback, hosted parity) is reported separately per stage.
    • Routing: keep as the bounded design slice; re-queue when docs(pm-orchestration): build out both orchestration design tracks #9225 merges. Queue task 15963 is parked on that gate. No code change is authorized or needed now.
  4. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 13, 2026
  5. 36 remaining items

  6. dezren39 commented on Nov 16, 2026

    @dezren39
    MemberAuthor

    Queue block — dependency gate unmet (task 16100)

  7. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · triaged — task 19002 (lane code-c)

  8. added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    on Nov 17, 2026
  9. dezren39 commented on Nov 19, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    agent: repo-worker-code
    lane: any-n
    origin: openchamber-scheduled-lane
    task: 16100
    state: blocked
    issue: #9489

    Dependency block re-recorded with typed blocked-by edges after fresh gate check (2026-11-19T12:55Z):

    No model tests written, no schema or migration work attempted. Scope remains the REL-10M migration model tests only; DB migration, staging, telemetry, live readback and hosted parity stay outstanding release legs.

    Question (recorded; lane cannot ask live): once the six blockers close and #9198 names the migration owner/command, who runs that named upgrade/rollback integration command before release? Default meanwhile: no implementation started.

    Resume: broker dep-recheck returns the task when the typed edges close; the claiming lane must then re-verify #9198's owner/command naming and confirm the oracle is listed before running it.

  10. removed their assignment
    on Nov 20, 2026
  11. added
    queue/claimedQueue worker lifecycle state
    and removed
    status/blockedQueue or user escalation state
    queue/blockedQueue or user escalation state
    on Nov 22, 2026
  12. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: picked_up
    task: 16100
    lane: oc-code-06 (OpenChamber scheduled lane, worker repo-worker-code)
    stage: claimed -> verified

    Claimed resumed REL-10M model-test task 16100 with origin=openchamber-scheduled-lane recorded in queue progress. Fresh GitHub checks: #9489 OPEN; design PR #9225 MERGED; native blockers #9434, #9487, #9073, #9076, #9519, and #9515 are all OPEN; migration-owner/canonical-command issue #9198 is also OPEN and does not identify the migration owner or command. The packet forbids starting model tests until every gate is resolved, so no implementation or test run has started.

  13. added
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation state
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 22, 2026
  14. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: blocked
    task: 16100
    lane: oc-code-06 (OpenChamber scheduled lane, worker repo-worker-code)
    stage: verified -> awaiting_dependencies

    Dependency-blocked task 16100 on the full unmet gate set; no model tests or implementation started. PR #9225 is MERGED, but native blockers #9434, #9487, #9073, #9076, #9519, and #9515 are all OPEN, and #9198 is OPEN without naming the migration owner/canonical command. Typed queue edges were recorded for all seven issues, with dependency recheck every 30 minutes.

    Resume condition: all six native blocker issues close and #9198 names the migration owner/canonical command; then freshly verify every gate before doing only the scoped model-test work.

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 statestatus/blockedQueue or user escalation statestatus:to-dotask/small-fixQueue packet kind: bounded fix with reproduction and targeted testswork/assignedQueue worker lifecycle state

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions