Skip to content

design(pm-orchestration): Immutable hydration generation with atomic publication #9460

Open

Description

@dezren39

HYD-03 — Immutable hydration generation with atomic publication

Issue title: design(pm-orchestration): Immutable hydration generation with atomic publication
Design parent: #9207 · Scope: #9207 hydration/activity · Version: V3 proposal; not an authorization to implement. Requirement IDs (ALLOCATED): C-R117, H-R001, P-R008, P-R036. 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

stage artifacts/manifest and atomically update current pointer only after validation.

Curated requirement trace

  • C-R117 — design-only (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences C-184; citations: 02_charter_v1_1.md#C-184:145; design: components/9207-context-hydration-incremental-activity.md#22-versioned-manifest-normative-shape-candidate; outcome: Treat GitHub descriptions/comments as untrusted task data, not instructions overriding agent authority; 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-R001 — design-only (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences H-029; citations: 01_handoff_pm_stack_fleet_orchestration.md#H-029:28; design: components/9198-requirement-crosswalk-current-state-census.md#2-v1-census--actual-state-and-bounded-facts, components/9199-distributed-priority.md#triage-mechanics, components/9200-priority-distribution.md#cross-target-order-and-reconciliation, components/9201-pm-projection-mobile-control.md#34-mobile-and-accessibility-envelope, 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/9206-work-item-lifecycle-fleet-subcommands.md#selection-and-peer-order-boundary-consumes-92049200, components/9207-context-hydration-incremental-activity.md#22-versioned-manifest-normative-shape-candidate, components/9208-typed-dependencies-notes-journal-field-authority.md#3-notes-checkpoints-and-append-only-journal, components/9209-leases-fencing-outbox-direct-completion.md#5-direct-completion-protocol-and-receipt; outcome: Preserve the two coordinated tracks: priority/triage/PM visibility/direct dispatch/mobile control and lifecycle/hydration/dependencies/journal/outbox/direct verified 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-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-R036 — design-only (example); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences P-1214, P-1215, P-1216, P-1217, P-1218, P-1219, P-1220, P-1221, P-1222, P-1223, P-1224, P-1225, P-1226, P-1227, P-1228, P-1229, P-1230, P-1231, P-1232, P-1233, P-1234, P-1235, P-1236, P-1237, P-1238, P-1239, P-1240, P-1241, P-1242, P-1243, P-1244, P-1245, P-1246, P-1247, P-1248, P-1249, P-1250, P-1251, P-1252, P-1253, P-1254, P-1255, P-1256, P-1257, P-1258, P-1259, P-1260, P-1261, P-1262, P-1263, P-1264, P-1265, P-1266, P-1267, P-1268, P-1269, P-1270, P-1271, P-1272, P-1273, P-1274, P-1275, P-1276, P-1277, P-1278, P-1279, P-1280, P-1281, P-1282, P-1283, P-1284, P-1285, P-1286, P-1287, P-1288, P-1289, P-1290, P-1291, P-1292, P-1293, P-1294, P-1295, P-1296, P-1297, P-1298, P-1299, P-1300, P-1301, P-1302, P-1303, P-1304, P-1305, P-1306, P-1307, P-1308, P-1309, P-1310, P-1311, P-1312, P-1313, P-1314, P-1315, P-1316, P-1317, P-1318, P-1319, P-1320, P-1321, P-1322, P-1323, P-1324, P-1325, P-1326, P-1327, P-1328, P-1329, P-1330, P-1331, P-1332, P-1333, P-1334, P-1335, P-1336, P-1337, P-1338, P-1339, P-1340, P-1341, P-1342, P-1343, P-1344, P-1345, P-1346, P-1347, P-1348, P-1349, P-1350, P-1351, P-1352, P-1353, P-1354, P-1355, P-1356, P-1357, P-1358, P-1359, P-1360, P-1361, P-1362, P-1363, P-1364, P-1365, P-1366, P-1367, P-1368, P-1369, P-1370, P-1371, P-1372, P-1373, P-1374, P-1375, P-1376, P-1377, P-1378, P-1379, P-1380, P-1381, P-1382; citations: 03_full_orchestration_proposal.md#P-1214:1678, 03_full_orchestration_proposal.md#P-1215:1678, 03_full_orchestration_proposal.md#P-1216:1680, 03_full_orchestration_proposal.md#P-1217:1682, 03_full_orchestration_proposal.md#P-1218:1684, 03_full_orchestration_proposal.md#P-1219:1686, 03_full_orchestration_proposal.md#P-1220:1688, 03_full_orchestration_proposal.md#P-1221:1689, 03_full_orchestration_proposal.md#P-1222:1690, 03_full_orchestration_proposal.md#P-1223:1692, 03_full_orchestration_proposal.md#P-1224:1694, 03_full_orchestration_proposal.md#P-1225:1696, 03_full_orchestration_proposal.md#P-1226:1697, 03_full_orchestration_proposal.md#P-1227:1698, 03_full_orchestration_proposal.md#P-1228:1699, 03_full_orchestration_proposal.md#P-1229:1701, 03_full_orchestration_proposal.md#P-1230:1703, 03_full_orchestration_proposal.md#P-1231:1705, 03_full_orchestration_proposal.md#P-1232:1706, 03_full_orchestration_proposal.md#P-1233:1708, 03_full_orchestration_proposal.md#P-1234:1710, 03_full_orchestration_proposal.md#P-1235:1711, 03_full_orchestration_proposal.md#P-1236:1712, 03_full_orchestration_proposal.md#P-1237:1713, 03_full_orchestration_proposal.md#P-1238:1715, 03_full_orchestration_proposal.md#P-1239:1717, 03_full_orchestration_proposal.md#P-1240:1719, 03_full_orchestration_proposal.md#P-1241:1721, 03_full_orchestration_proposal.md#P-1242:1723, 03_full_orchestration_proposal.md#P-1243:1724, 03_full_orchestration_proposal.md#P-1244:1726, 03_full_orchestration_proposal.md#P-1245:1727, 03_full_orchestration_proposal.md#P-1246:1729, 03_full_orchestration_proposal.md#P-1247:1730, 03_full_orchestration_proposal.md#P-1248:1731, 03_full_orchestration_proposal.md#P-1249:1733, 03_full_orchestration_proposal.md#P-1250:1735, 03_full_orchestration_proposal.md#P-1251:1737, 03_full_orchestration_proposal.md#P-1252:1739, 03_full_orchestration_proposal.md#P-1253:1741, 03_full_orchestration_proposal.md#P-1254:1743, 03_full_orchestration_proposal.md#P-1255:1745, 03_full_orchestration_proposal.md#P-1256:1747, 03_full_orchestration_proposal.md#P-1257:1749, 03_full_orchestration_proposal.md#P-1258:1750, 03_full_orchestration_proposal.md#P-1259:1752, 03_full_orchestration_proposal.md#P-1260:1754, 03_full_orchestration_proposal.md#P-1261:1755, 03_full_orchestration_proposal.md#P-1262:1756, 03_full_orchestration_proposal.md#P-1263:1758, 03_full_orchestration_proposal.md#P-1264:1760, 03_full_orchestration_proposal.md#P-1265:1761, 03_full_orchestration_proposal.md#P-1266:1763, 03_full_orchestration_proposal.md#P-1267:1765, 03_full_orchestration_proposal.md#P-1268:1767, 03_full_orchestration_proposal.md#P-1269:1769, 03_full_orchestration_proposal.md#P-1270:1770, 03_full_orchestration_proposal.md#P-1271:1771, 03_full_orchestration_proposal.md#P-1272:1773, 03_full_orchestration_proposal.md#P-1273:1775, 03_full_orchestration_proposal.md#P-1274:1776, 03_full_orchestration_proposal.md#P-1275:1777, 03_full_orchestration_proposal.md#P-1276:1778, 03_full_orchestration_proposal.md#P-1277:1780, 03_full_orchestration_proposal.md#P-1278:1782, 03_full_orchestration_proposal.md#P-1279:1784, 03_full_orchestration_proposal.md#P-1280:1786, 03_full_orchestration_proposal.md#P-1281:1787, 03_full_orchestration_proposal.md#P-1282:1788, 03_full_orchestration_proposal.md#P-1283:1790, 03_full_orchestration_proposal.md#P-1284:1792, 03_full_orchestration_proposal.md#P-1285:1794, 03_full_orchestration_proposal.md#P-1286:1795, 03_full_orchestration_proposal.md#P-1287:1797, 03_full_orchestration_proposal.md#P-1288:1798, 03_full_orchestration_proposal.md#P-1289:1800, 03_full_orchestration_proposal.md#P-1290:1801, 03_full_orchestration_proposal.md#P-1291:1803, 03_full_orchestration_proposal.md#P-1292:1805, 03_full_orchestration_proposal.md#P-1293:1807, 03_full_orchestration_proposal.md#P-1294:1809, 03_full_orchestration_proposal.md#P-1295:1811, 03_full_orchestration_proposal.md#P-1296:1813, 03_full_orchestration_proposal.md#P-1297:1815, 03_full_orchestration_proposal.md#P-1298:1816, 03_full_orchestration_proposal.md#P-1299:1817, 03_full_orchestration_proposal.md#P-1300:1818, 03_full_orchestration_proposal.md#P-1301:1820, 03_full_orchestration_proposal.md#P-1302:1822, 03_full_orchestration_proposal.md#P-1303:1823, 03_full_orchestration_proposal.md#P-1304:1824, 03_full_orchestration_proposal.md#P-1305:1825, 03_full_orchestration_proposal.md#P-1306:1826, 03_full_orchestration_proposal.md#P-1307:1827, 03_full_orchestration_proposal.md#P-1308:1829, 03_full_orchestration_proposal.md#P-1309:1831, 03_full_orchestration_proposal.md#P-1310:1833, 03_full_orchestration_proposal.md#P-1311:1835, 03_full_orchestration_proposal.md#P-1312:1836, 03_full_orchestration_proposal.md#P-1313:1838, 03_full_orchestration_proposal.md#P-1314:1839, 03_full_orchestration_proposal.md#P-1315:1840, 03_full_orchestration_proposal.md#P-1316:1842, 03_full_orchestration_proposal.md#P-1317:1844, 03_full_orchestration_proposal.md#P-1318:1845, 03_full_orchestration_proposal.md#P-1319:1846, 03_full_orchestration_proposal.md#P-1320:1847, 03_full_orchestration_proposal.md#P-1321:1848, 03_full_orchestration_proposal.md#P-1322:1850, 03_full_orchestration_proposal.md#P-1323:1852, 03_full_orchestration_proposal.md#P-1324:1853, 03_full_orchestration_proposal.md#P-1325:1855, 03_full_orchestration_proposal.md#P-1326:1857, 03_full_orchestration_proposal.md#P-1327:1859, 03_full_orchestration_proposal.md#P-1328:1860, 03_full_orchestration_proposal.md#P-1329:1861, 03_full_orchestration_proposal.md#P-1330:1862, 03_full_orchestration_proposal.md#P-1331:1863, 03_full_orchestration_proposal.md#P-1332:1864, 03_full_orchestration_proposal.md#P-1333:1865, 03_full_orchestration_proposal.md#P-1334:1867, 03_full_orchestration_proposal.md#P-1335:1869, 03_full_orchestration_proposal.md#P-1336:1871, 03_full_orchestration_proposal.md#P-1337:1872, 03_full_orchestration_proposal.md#P-1338:1872, 03_full_orchestration_proposal.md#P-1339:1873, 03_full_orchestration_proposal.md#P-1340:1873, 03_full_orchestration_proposal.md#P-1341:1874, 03_full_orchestration_proposal.md#P-1342:1874, 03_full_orchestration_proposal.md#P-1343:1875, 03_full_orchestration_proposal.md#P-1344:1875, 03_full_orchestration_proposal.md#P-1345:1876, 03_full_orchestration_proposal.md#P-1346:1876, 03_full_orchestration_proposal.md#P-1347:1877, 03_full_orchestration_proposal.md#P-1348:1877, 03_full_orchestration_proposal.md#P-1349:1878, 03_full_orchestration_proposal.md#P-1350:1878, 03_full_orchestration_proposal.md#P-1351:1879, 03_full_orchestration_proposal.md#P-1352:1879, 03_full_orchestration_proposal.md#P-1353:1880, 03_full_orchestration_proposal.md#P-1354:1880, 03_full_orchestration_proposal.md#P-1355:1881, 03_full_orchestration_proposal.md#P-1356:1881, 03_full_orchestration_proposal.md#P-1357:1882, 03_full_orchestration_proposal.md#P-1358:1882, 03_full_orchestration_proposal.md#P-1359:1883, 03_full_orchestration_proposal.md#P-1360:1883, 03_full_orchestration_proposal.md#P-1361:1884, 03_full_orchestration_proposal.md#P-1362:1884, 03_full_orchestration_proposal.md#P-1363:1885, 03_full_orchestration_proposal.md#P-1364:1885, 03_full_orchestration_proposal.md#P-1365:1887, 03_full_orchestration_proposal.md#P-1366:1889, 03_full_orchestration_proposal.md#P-1367:1891, 03_full_orchestration_proposal.md#P-1368:1893, 03_full_orchestration_proposal.md#P-1369:1895, 03_full_orchestration_proposal.md#P-1370:1896, 03_full_orchestration_proposal.md#P-1371:1897, 03_full_orchestration_proposal.md#P-1372:1899, 03_full_orchestration_proposal.md#P-1373:1900, 03_full_orchestration_proposal.md#P-1374:1901, 03_full_orchestration_proposal.md#P-1375:1903, 03_full_orchestration_proposal.md#P-1376:1904, 03_full_orchestration_proposal.md#P-1377:1906, 03_full_orchestration_proposal.md#P-1378:1907, 03_full_orchestration_proposal.md#P-1379:1909, 03_full_orchestration_proposal.md#P-1380:1910, 03_full_orchestration_proposal.md#P-1381:1912, 03_full_orchestration_proposal.md#P-1382:1913; design: components/9206-work-item-lifecycle-fleet-subcommands.md#candidate-transition-matrix-contract-for-v2-review, components/9207-context-hydration-incremental-activity.md#22-versioned-manifest-normative-shape-candidate, components/9209-leases-fencing-outbox-direct-completion.md#5-direct-completion-protocol-and-receipt; outcome: Illustrative resume/finish walkthrough covers dependency resolution, incremental hydration, new external feedback, managed updates, review/check verification and direct 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

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/context.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: HYD-01, CEN-04
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.

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_hyd_publish_crash_never_points_to_partial_generation
  • 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: verify test is listed with cargo test --manifest-path pkgs/fleet/Cargo.toml -p fleet-queue --lib --features client,queue-broker -- --list, then run cargo test --manifest-path pkgs/fleet/Cargo.toml -p fleet-queue --lib --features client,queue-broker pmo_hyd_publish_crash_never_points_to_partial_generation.
  • 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

old generation stays current on failure; no partial current pointer; immutable generations; orphan behavior deterministic.

Negative coverage: pointer before manifest durability, concurrent publishers.

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/9207-context-hydration-incremental-activity.md, slice HYD-03 (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)

HYD-03 — Immutable hydration generation with atomic publication

Tier: crucial. Goal: stage artifacts/manifest and atomically update current pointer only after validation. Owns: src/work/context.rs publisher and crash-cut tests; src/turso_queue.rs only if existing storage owner persists pointer. Hard blockers: HYD-01/02 and #9198 artifact-store/transaction proof. First failing oracle: pmo_hyd_publish_crash_never_points_to_partial_generation injects failure before/after manifest and pointer swap plus competing CAS. Done command: verify test is listed with cargo test --manifest-path pkgs/fleet/Cargo.toml -p fleet-queue --lib --features client,queue-broker -- --list, then run cargo test --manifest-path pkgs/fleet/Cargo.toml -p fleet-queue --lib --features client,queue-broker pmo_hyd_publish_crash_never_points_to_partial_generation. Acceptance: old generation stays current on failure; no partial current pointer; immutable generations; orphan behavior deterministic. Negative: pointer before manifest durability, concurrent publishers. Migration/rollback: legacy/none pointer default; rollback pointer only, retain objects until approved GC. Implementation/deployment/live-store evidence separate.

Shared-file sequencing

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

  • blocked by DEP-03 — shared-file:pkgs/fleet/crates/fleet-queue/src/turso_queue.rs
  • blocked by HYD-02 — shared-file:pkgs/fleet/crates/fleet-queue/src/work/context.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
    app/fleetpkgs/fleet multicall binary + platform crates
    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 15922) — findings and routing:

    • Design/research slice HYD-03 under design(pm-orchestration): context hydration & incremental activity #9207 (hydration/activity), tier crucial, V3 proposal, not an implementation authorization. Goal: immutable hydration generation with atomic publication — stage artifacts/manifest and atomically update the current pointer only after validation. Hard blockers: HYD-01/02 and the design(pm-orchestration): requirement crosswalk & current-state census #9198 artifact-store/transaction proof.
    • 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_hyd_publish_crash_never_points_to_partial_generation. Verified on current main (7535eba): the done command (list, 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/context.rs publisher and crash-cut tests). Acceptance recorded for that slice: old generation stays current on failure; no partial current pointer; immutable generations; deterministic orphan behavior; negatives are pointer-before-manifest durability and concurrent publishers; rollback moves the pointer only and retains objects until approved GC.
    • Routing: keep as the bounded design slice; re-queue when docs(pm-orchestration): build out both orchestration design tracks #9225 merges. Queue task 15922 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. 42 remaining items

  6. added
    status/blockedQueue or user escalation state
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 19, 2026
  7. dezren39 commented on Nov 19, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    lane: code-h (openchamber scheduled lane)
    worker: repo-worker-code
    task: 16085
    event: blocked (dependency)
    summary: Gate revalidated. PR #9225 is MERGED, but required HYD-01 #9458 and CEN-04 #9434 remain OPEN. Task 16085 is dependency-blocked on #9458; blocker text and linked evidence also identify #9434. No implementation started.
    next: resume only after both #9458 and #9434 resolve; revalidate all gates fresh.

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

    @dezren39
    MemberAuthor

    Picked up gated implementation task 16085. Checking the required design blockers and PR #9225 before any code changes; production adoption and live acceptance remain out of scope.

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

    @dezren39
    MemberAuthor

    Blocked HYD-03 task 16085 on unresolved hard gates: HYD-01 #9458 and CEN-04 #9434 are OPEN; PR #9225 is MERGED. No implementation started. Revalidate both issue blockers before resuming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/fleetpkgs/fleet multicall binary + platform cratesapp/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/mMedium: expected under 1 day of workkind/designA design proposal (design-architect): multi-step, phased, decision-bearingpriority/normalOrdinary priority (the default)queue/blockedQueue or user escalation statesource/queue-workerFiled or worked by the queue/worker pilotstatus/blockedQueue or user escalation statestatus:to-dowork/assignedQueue worker lifecycle state

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions