SN Pedestal Source Recovery — landed record

The 22 manual pedestal names are resolved. The original "sources pending in the GENERATE_NAME queue, drain to recover" premise was disproven on inspection; the real fault was a compose-grounding gap plus stale grammar segments. All code landed on imas-codex main (2026-07-09); the graph mutation ran on the live facility graph. The plan lives in ISN; the code is in imas-codex.

Root cause (confirmed)

summary/local/pedestal doc: "Parameters at pedestal top" …/velocity_phi (LLM-enriched) "…rotation velocity at the pedestal top" …/velocity_phi/deuterium/value template stub: "Deuterium (D)." compose (grounds on stub) locus = pedestal → _at_pedestal ✗ compose (WS-1: + ancestor) locus = pedestal_top → _at_pedestal_top ✓ durable --focus reproduces name WS-1 surfaces the ancestor lineage into compose grounding (name + docs). WS-2 re-derives the stored segments from the canonical id (49 pedestal + 176 catalog-wide). WS-3 attaches the real dd sources to the 16 existing names (carbon topology). WS-4 stops the rebuild pinning a fallback over a pending source.

Result on the live graph (production)

Workstreams (all on imas-codex main)

WSWhat landedCommit
WS-1 compose grounding Walk HAS_PARENT and surface the nearest description-bearing ancestors into both generate_name and generate_docs context. Durability proven: sn run --focus …/velocity_phi/deuterium/value now composes toroidal_deuterium_velocity_at_pedestal_top with position=pedestal_top. +graph-marked test. a34b7fc
WS-2 segment self-heal reconcile_grammar_segments: idempotent per-rotation sweep re-deriving every live name's segment columns from its canonical id via the ISN parser; wired into the loop reconcile. Rejected names untouched. +test. (WS-2)
WS-3 recovery Deterministic targeted-attach of the real dd sources to the 16 existing accepted names (graph mutation); redundant manual sources dropped. No LLM, no recompose, content preserved. graph
WS-4 exclude-pending Rebuild cascade skips an orphan with a claimable pending (extracted/drafted) dd source rather than synthesizing a derived/manual fallback; desync reattach refined to genuine (composed/attached) sources only. +regression test. (WS-4)

The 6 anchorless manual names — RESOLVED (2026-07-09)

Reviewed per-name with the lead; live manual-bound names 22 → 1. Never a fabricated DD path.

Also: electron_flux_surface_average_beta_at_pedestal_top and poloidal_flux_surface_average_magnetic_field_at_pedestal_top fail the ISN parser (a flux_surface_average grammar edge case) and were left untouched by WS-2 — a separate grammar item.

Follow-ons