GeezerVison is showing github.com — impl(pm-stack): primary-parent convention + historical link semantics + crate-split backfill · Issue #9066 · developing-today/code
impl(pm-stack): primary-parent convention + historical link semantics + crate-split backfill #9066DescriptionDesign: doc/2026-11-12T22-50-00Z_design_pm-board-hierarchy-genealogy/note.md sections 3 + 11. Canonical: native sub-issue parent IS the primary parent; primary-parent/<slug> label marks it when the native slot cannot; Metadata block (section 12) is the canonical record; links are records with relation + status (active/historical/removed) — splits retain history, misclassifications are removed.
Acceptance:
Activitydeveloping-today commented on Nov 12, 2026 dezren39 commented on Nov 17, 2026
Triage — task 18817, lane any-i, 2026-11-16: first triage of record for #9066. Routed to a scoped implementation follow-on, task 20430.
Fresh verification (gh + laptop repo, 2026-11-17T05:55Z):
- Issue impl(pm-stack): primary-parent convention + historical link semantics + crate-split backfill #9066 OPEN, no hard-stop labels (no held / user/owned / do-not-merge / do-not-auto-edit). Prior labels only kind/feature + app/pm-stack; no prior triage note (only the Kaneo link comment).
- Design is in place: doc/2026-11-12T22-50-00Z_design_pm-board-hierarchy-genealogy/note.md exists on main (sections 3, 11, 12 define the convention, link semantics, and the Metadata block).
- Nothing implemented yet: no primary-parent/* labels exist in the repo (label search empty) and no primary-parent handling was found in pm-stack.
- Backfill chain state: pkgs/id: split the monolith crate into sub-crates along module seams (prioritized by Drew 2026-11-01) #3447 CLOSED, pkgs/id: build-time review — runtime performance first, then build time (cold check build ~16 min, tests run 12 s) #3195 OPEN, epic: ID platform expansion — apps, comms, currency, hosting, boards (2026-10-28 directive, LIST 6–15) #2056 OPEN — the chain exists and is partially live, so the backfill/readback acceptance is testable as written.
Triage verdict:
- Work kind: task/small-fix (queue packet kind small_fix; multi-component implementation, staged in the follow-on's acceptance order).
- Priority: priority/normal — PM-stack genealogy supporting the pkgs/id: split the monolith crate into sub-crates along module seams (prioritized by Drew 2026-11-01) #3447 crate-split chain (Drew priorities brief lines 2 and 4), not fleet-stalling and not in Drew's expedite set.
- Effort: effort/l — labels + collector validation + project-reconcile metadata maintenance + chain backfill.
- First concrete step (follow-on task 20430): create the primary-parent/ labels for the current epic family with descriptions, then collector validation, then reconcile maintenance, then the crate-split chain backfill with readback.
- Acceptance check: every acceptance bullet on impl(pm-stack): primary-parent convention + historical link semantics + crate-split backfill #9066 verified by readback (labels exist, violations surface in audit output, reconcile reports divergence as a finding, chain genealogy renders from the data).
Labels applied: task/small-fix, priority/normal, effort/l, status/triaged. dezren39 commented on Nov 18, 2026
Picked up by scheduled lane code-j under queue task 20430. Revalidated #9066 OPEN; no hard-stop labels and no active implementation PR found. The routed scope is effort/l across label creation, collector audit validation, project-reconcile metadata synchronization, and crate-split chain backfill/readback. dezren39 commented on Nov 18, 2026
Parked task 20430 for 30 minutes because the effort/l acceptance spans multiple components and exceeds this scheduled run budget. No code changes or worktree started. Resume from the queue checkpoint: revalidate GitHub state, fast-forward main, create the task worktree, then implement and test labels/collector validation, reconcile metadata and divergence findings, and crate-split backfill/readback. dezren39 commented on Nov 23, 2026 Slice ↔ program cross-link (lane oc-code-05, 2026-11-23). Related program: #9060 — the pm-stack multi-board hierarchy + task genealogy epic. This slice implements acceptance leg 5 of that program (primary-parent marks on the backfilled chains, with the reconcile leg re-scoped to the in-repo POST /v1/sync/project per the unblock note above). No work performed by this comment; it records the relation explicitly so the epic's remainder is traceable to this open slice. dezren39 commented on Nov 24, 2026
Parked task 20430 pending merge of PR #13700, which remains open. The prior packet_defect is superseded by the 2026-11-23 triage ruling on this issue: the reconcile leg is re-scoped to the in-repo POST /v1/sync/project path. No changes made this run. Resume after PR #13700 merges: verify the files on main, run label sync (expected no-op), apply/read back the crate-split chain backfill, and verify the re-scoped reconcile behavior. dezren39 commented on Nov 24, 2026
Complete — queue task 20430 (lane oc-code-08). Resume condition met: PR #13700 MERGED 2026-11-24T03:10:46Z as af52642 (verified ancestor of origin/main 95156cc).
Evidence (all read back live, 2026-11-24 ~03:20–03:30Z):
- Bullet 1 (labels):
primary-parent/* family live — 33 labels; sync-primary-parent-labels.ts --dry-run on origin/main: existingPrimaryParentLabels 33, created [], failed [], skippedTooLong []. No-op as expected post-merge.
- Bullet 2 (collector validation):
bun test test/primary-parent-validation.test.ts 13/13 pass on origin/main; sweeper live run reports primaryParentViolations 0 on the chain.
- Bullet 3 (reconcile, re-scoped per 2026-11-23 unblock ruling): in-repo successor verified —
POST /v1/sync/project live on main (pkgs/fleet/hosted-worker/src/routes/sync.ts:75, ops add-issue/set-status in src/sync.ts), PR impl(fleet-hosted): sync-tool verbs — project sync + queue/GitHub sync endpoints (#12591) #12935 merged 2026-11-23. No shell script touched; packet_defect superseded.
- Bullet 4 (crate-split backfill, writer path — no hand-written blocks):
metadata-sweeper.ts --write-back --only for 9 chain items: scanned 9, generated 9, writtenBack 9, errors 0. Readback: steps 4403/4405/4406/4407/4408/4409/4411 each carry primary-parent/id-crate-split + pm-metadata block with direct_parent developing-today/code#3447; pkgs/id: split the monolith crate into sub-crates along module seams (prioritized by Drew 2026-11-01) #3447 block direct_parent pkgs/id: build-time review — runtime performance first, then build time (cold check build ~16 min, tests run 12 s) #3195; pkgs/id: build-time review — runtime performance first, then build time (cold check build ~16 min, tests run 12 s) #3195 block direct_parent epic: ID platform expansion — apps, comms, currency, hosting, boards (2026-10-28 directive, LIST 6–15) #2056 (native chain 2056 <- 3195 <- 3447 <- steps confirmed via GraphQL). epic: ID platform expansion — apps, comms, currency, hosting, boards (2026-10-28 directive, LIST 6–15) #2056 (root, no native parent) is not generatable by the sweeper (native-parent lookup fails, retry-next-sweep) — noted, not forced.
- Bullet 5 (link records): blocks carry
links: [] + direct_parent {repo, number, kind: sub-issue} shape per metadata-store; historical/removed semantics enforced by setHistoricalParentMetadata / collector invariants (tested).
Genealogy renders from data: 2056 (epic/id-platform) <- 3195 (epic/id-crate-split) <- 3447 (epic/id-crate-split, CLOSED) <- steps 1–7 (all CLOSED, primary-parent/id-crate-split mirrors, native agrees). Part of #9066. dezren39 commented on Nov 24, 2026 agent-note:v1
state: verified
actor: oc-code-02 (openchamber scheduled Fleet lane)
task: 21945 (second-pass verify-and-route)
developing-today-fleet commented on Nov 25, 2026 ContributorAuthor More actions agent-note:v1
Agent: felix (Muse lane, 2026-11-25)
State: label correction (comment-only) — #14863 hygiene audit slice 9
This issue carries status/in-review and status/triaged at the same time. Per the newest record (second-pass verify, task 21945, 2026-11-24: primary-parent validation landed in PR #13700, merged) the live state is in-review; status/triaged is the stale member of the pair. Flagged for the holder to drop the stale label — this lane does not edit labels. Refs #14863 developing-today-fleet commented on Nov 26, 2026 ContributorAuthor More actions Triage refresh (oc-code-05, 2026-11-26): current issue state and implementation evidence reviewed. The slice is implemented; the prior 2026-11-24 completion record on #9066 (#7121051762) verifies PR #13700 merged, 33 primary-parent labels, collector audit tests, all 9 generatable crate-split metadata blocks written/read back, and genealogy/native-parent chain verified. The root #2056 is correctly not generated because it has no native parent. The re-scoped reconcile leg is hosted POST /v1/sync/project (PR #12935), and the completion record cites historical/removed semantics covered by setHistoricalParentMetadata and collector invariants. The contradictory second-pass note (#7127807660) claims historical semantics/backfill remain, but predates the later explicit completion/readback on the same issue. No additional implementation packet is warranted. Verdict: already resolved by merged/read-back evidence; issue should be closed and stale queue labels cleared. developing-today-fleet commented on Nov 26, 2026 ContributorAuthor More actions 🤖 Agent note (lane code-j, 2026-11-26, triage task 24495): already resolved — closing with evidence.
- Implementation merged: PR #13700 (
feat(pm-stack): primary-parent validation + audit output + label family sync), merged 2026-11-24T03:10Z.
- Primary-parent labels exist for the epic families (
primary-parent/*, 33 labels per the 2026-11-24 completion record).
- Collector validation and audit output are covered by the PR's tests; the crate-split backfill was written and read back per the same record.
- The
queue/queued label was stale (no live queue task). Removing it so the labels match the verdict.
- Caveat: this verdict relies on the prior completion record and the PR, not a fresh read of the backfill data. Reopen if the genealogy render regresses.
developing-today-fleet commented on Nov 26, 2026 ContributorAuthor More actions
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|