Repository navigation
Description
MOB-02 — Lifecycle projection, column precedence, and truthful claim binding
Issue title: design(pm-orchestration): Lifecycle projection, column precedence, and truthful claim binding
Design parent: #9201 · Scope: #9201 PM projection/mobile · Version: V3 proposal; not an authorization to implement. Requirement IDs (ALLOCATED): C-R080, H-R011, O-R017. Slice status: curated implementation/research slice. Pinned baseline: a038f084dbeb525494d7bb928ad91f597db2ac51.
This batch creates design/research/validation handoff issues only. After PR #9225 is merged and this slice's granular prerequisites are resolved, a separately scoped implementation issue may be filed; production adoption, migration, deployment, and live acceptance remain separately authorized stages. The local FDR decisions are accepted design defaults; global #9180 registration is pending and is not a blocker to this bounded design work.
Goal and deliverable
map lifecycle facets to board columns with precedence blocked/parked > eligible Ready > Backlog and require verified task/session evidence for In Progress. -
Curated requirement trace
- C-R080 — design-only (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences
C-108; citations: 02_charter_v1_1.md#C-108:76; design: components/9201-pm-projection-mobile-control.md#31-read-model-one-projection-provenance-per-fact; outcome: Mobile-first interactive operations; 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-R011 — design-only (requirement); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences
H-138; citations: 01_handoff_pm_stack_fleet_orchestration.md#H-138:103; design: components/9199-distributed-priority.md#independent-dimensions, components/9201-pm-projection-mobile-control.md#31-read-model-one-projection-provenance-per-fact; outcome: Account for project/epic lifecycle and strategic urgency with manual intervention and owner escalation, not arithmetic sorting alone.; 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-R017 — design-only (candidate); basis: exact frozen implementation_slice_keys inverse join; support rationale: none; occurrences
O-688, O-689, O-690, O-691, O-692, O-693, O-694, O-695, O-696, O-697, O-698; citations: 04_recovered_original_combined_design.md#O-688:13, 04_recovered_original_combined_design.md#O-689:13, 04_recovered_original_combined_design.md#O-690:13, 04_recovered_original_combined_design.md#O-691:13, 04_recovered_original_combined_design.md#O-692:13, 04_recovered_original_combined_design.md#O-693:13, 04_recovered_original_combined_design.md#O-694:13, 04_recovered_original_combined_design.md#O-695:13, 04_recovered_original_combined_design.md#O-696:13, 04_recovered_original_combined_design.md#O-697:13, 04_recovered_original_combined_design.md#O-698:13; design: components/9199-distributed-priority.md#candidate-order-and-rank-semantics, components/9201-pm-projection-mobile-control.md#31-read-model-one-projection-provenance-per-fact; outcome: Let project/epic phase, deadlines and dependencies influence effective order selectively; prioritize critical path/unblockers, avoid escalating unrelated children, and expose project plus item urgency.; 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
pm-stack/aggregator/src/work-lifecycle-policy.tspm-stack/aggregator/test/work-lifecycle-policy.test.ts
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: MOB-01, PRI-01, #9070
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), #9179 (upstream park/resume safety semantics must be verified before mutation/cutover; offline fixtures may proceed).
Domain-starter parent references are never emitted as hard native blockers. Source parents normalized to granular slices or runtime gates: #9200→PRI-01.
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:
work/assigned - Oracle: table-driven model test covers every pairwise conflict: hard-blocked+High; parked+owner; Ready+stale; claimed+no session; session shell+unbound task; PR merged+issue open; task done+issue follow-up open. Exact expected column and explanation in golden oracle; no terminal state fabricated. Command:
cd pm-stack/aggregator && bun test test/work-lifecycle-policy.test.ts. - - Done command:
table-driven model test covers every pairwise conflict: hard-blocked+High; parked+owner; Ready+stale; claimed+no session; session shell+unbound task; PR merged+issue open; task done+issue follow-up open. Exact expected column and explanation in golden oracle; no terminal state fabricated. Command:cd pm-stack/aggregator && bun test test/work-lifecycle-policy.test.ts. - - 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
table-driven model test covers every pairwise conflict: hard-blocked+High; parked+owner; Ready+stale; claimed+no session; session shell+unbound task; PR merged+issue open; task done+issue follow-up open. Exact expected column and explanation in golden oracle; no terminal state fabricated. Command: cd pm-stack/aggregator && bun test test/work-lifecycle-policy.test.ts. -
Negative coverage: stale input, duplicate/replay, ambiguous resource, unauthorized actor, partial remote effect, unknown version, and no false verified/completed result where applicable.
Compatibility, migration, and runtime gates
- Preserve the current queue/status/identity/Project-writer/Fleet
ghcompatibility surfaces. Do not silently change existing spellings or normalize ratifiedexpedite=15/next-up=25; those remain distinct fromdo_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 and reversible only after existing owner/schema review; retain prior data and behavior; no silent fallback or dual authority.
- 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; chartersources/02_charter_v1_1.md; recovered originalsources/04_recovered_original_combined_design.md; cited source section(s) insources/03_full_orchestration_proposal.mdas named by the component; exact occurrence citations are in the curated trace above when allocated. - Design ref:
components/9201-pm-projection-mobile-control.md, sliceMOB-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:
none; this is not a command-owning slice. Full command inventory remainscensus/commands.jsonl; exact allocation source iscensus/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)
MOB-02 — Lifecycle projection, column precedence, and truthful claim binding
- Parent: design(pm-orchestration): PM projection & mobile control surface (Project #4, board, live-session direction) #9201. Requirements: C-6, C-7, H-SURVIVE-A/H-SCENARIOS, O §12.2–12.4. Goal: map lifecycle facets to board columns with precedence blocked/parked > eligible Ready > Backlog and require verified task/session evidence for In Progress.
- Owned files:
pm-stack/aggregator/src/work-projection.ts, newsrc/work-lifecycle-policy.ts, newtest/work-lifecycle-policy.test.ts, relevant docs in component design. - Failing test: falsify that
work/assigned, priority label, Project Todo, or closed task alone produces In Progress/Done; verify active verified binding creates In Progress and preserves source facets. - Named red test:
work_lifecycle_never_infers_done_from_one_facetinpm-stack/aggregator/test/work-lifecycle-policy.test.ts. - Done/oracle: table-driven model test covers every pairwise conflict: hard-blocked+High; parked+owner; Ready+stale; claimed+no session; session shell+unbound task; PR merged+issue open; task done+issue follow-up open. Exact expected column and explanation in golden oracle; no terminal state fabricated. Command:
cd pm-stack/aggregator && bun test test/work-lifecycle-policy.test.ts. - Edges: depends MOB-01 (hard); contract dependency on fleet queue: resume-by-session, claim-any-task, and manual-only items #9178/Fleet park + cap audit (2026-11-12): parks that can never lapse, bound-work parks on verified-stale bindings, escalation-as-park, and BATCH_CLAIM_MAX for Drew's call #9179 and design(pm-orchestration): priority distribution, provenance & reconciliation across producers/consumers #9200; consumes impl(pm-stack): genealogy read model — ancestors, spawned-by, sentence renderer, API #9070.
Activity
developing-today commentedon Nov 13, 2026
CODE-3091
dezren39 commentedon Nov 13, 2026
Triage (repo-health fleet, lane any-a, task 15933) — findings and routing:
cd pm-stack/aggregator && bun test test/work-lifecycle-policy.test.ts. Verified on current main (7535eba): pm-stack/aggregator exists but test/work-lifecycle-policy.test.ts does not, so the oracle cannot run. It is written with the future implementation slice; there is nothing to fix in code now.36 remaining items
dezren39 commentedon Nov 26, 2026
The MOB-02 lifecycle policy is merged in #15697 (d60e46b):
pm-stack/aggregator/src/work-lifecycle-policy.tswith the record's 14 named tests and the eight §6 golden fixtures, all passing on a remote run along with the MOB-01 suite. Typecheck is clean for the new files.Still open under this issue: wiring
projectLifecycleColumnintowork-projection.tsso the read model's column andfacts.claimcome from it, and buildingLifecycleEvidencefrom the existing projection input. The record's §11 questions (production staleness bounds, receipt policy for follow-ups, cancelled column) stay open. MOB-03 (#9470) can now build on the policy's output shape.Generated by Claude Code
developing-today-fleet commentedon Nov 29, 2026
agent-note:v1 — audit slice N8 unblock (Felix lane 0640-C, 2026-11-29; Refs #14863)
Verified fresh this pass: all three native blocked_by edges pointed at CLOSED issues (#9468, #9478, #9070) — closed blockers do not block. The MOB-02 policy itself merged in PR #15697. Actions: removed the 3 stale edges, removed labels status/blocked + queue/blocked, set queue/queued. NOT closed — the recorded remainder stands: wire projectLifecycleColumn into work-projection.ts, build LifecycleEvidence from the projection input, and the record's §11 questions. The issue is drawable for that remainder now.
dezren39 commentedon Nov 29, 2026
🤖 Census note · lane CEN-C08, 2026-11-29 full issue census. Verified firsthand: body + all comments read.
Verdict: ready (gates cleared today). The MOB-02 policy itself merged (PR #15697), and Felix's audit note today (2026-11-29) verified all three native blocked_by edges pointed at CLOSED issues (#9468, #9478, #9070) and removed the stale edges. Remaining work is the implementation follow-on per the body; the
status/blocked-era labels no longer reflect a live block.priority/normalconfirmed; no census change.developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (Felix): full recheck of this issue — body, all 16 comments, labels, and native blocked_by edges read firsthand; blocker states verified live today. A census note from lane CEN-C08 is already on this issue today; per Drewry's order I rechecked everything firsthand anyway — this comment is my own record and lists only what I verified or changed.
STRENGTHS
GAPS
FIXES I APPLIED
REMAINS
developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29 (wave 2 residual pass)
This issue already carries full census notes from parallel lanes today (CEN-C08/C09 and a Felix seat). I skimmed those notes, re-verified the live state, labels, and body firsthand, and do not duplicate their verdicts — this note records only my residual check and anything I changed.
Residual check: source/* missing (taxonomy rule 1); same queue-worker design batch as siblings.
Actions taken by this pass: labels added:
source/queue-worker.Priority:
priority/normal— stands; no band change by this pass.