Skip to content

feat: the component graph IR carries liveNames (#1491) - #1509

Merged
lex00 merged 1 commit into
mainfrom
fix/1491-component-ir-livenames
Aug 5, 2026
Merged

lex00 merged 1 commit into
mainfrom
fix/1491-component-ir-livenames

Conversation

@lex00

@lex00 lex00 commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

chant graph --components --format ir projected the DAG but dropped the
one field that joins it to anything: which resources each component owns.
Consumers fell back to guessing — behold's composites tier kebab-cased
node kinds to invent component names (its src/composite-deps.ts
heuristic), which is exactly the join the Component contract already
declares via liveNames.

computeComponentGraph now returns liveNames per component — the declared
list, or the contract's [name] identity fallback — and the IR node
carries it: attrs: { wave, liveNames }. A consumer joins on names, never
kinds.

Verified on fountain-ops: every component node now carries
attrs.liveNames. Core 4030/4030.

Co-Authored-By: Claude Fable 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01HDqbe9YwXqqpF7VxFp1Drx

`chant graph --components --format ir` projected the DAG but dropped the
one field that joins it to anything: which resources each component owns.
Consumers fell back to guessing — behold's composites tier kebab-cased
node kinds to invent component names (its src/composite-deps.ts
heuristic), which is exactly the join the Component contract already
declares via liveNames.

computeComponentGraph now returns liveNames per component — the declared
list, or the contract's [name] identity fallback — and the IR node
carries it: attrs: { wave, liveNames }. A consumer joins on names, never
kinds.

Verified on fountain-ops: every component node now carries
attrs.liveNames. Core 4030/4030.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HDqbe9YwXqqpF7VxFp1Drx
@lex00
lex00 merged commit 42719fa into main Aug 5, 2026
5 checks passed
@lex00
lex00 deleted the fix/1491-component-ir-livenames branch August 5, 2026 22:34
@lex00 lex00 mentioned this pull request Nov 20, 2026
78 of 84 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant