Skip to content

feat: unified resource types + graph re-exporter detection#54

Merged
avrabe merged 2 commits into
mainfrom
feat/unified-resource-types
Mar 21, 2026
Merged

feat: unified resource types + graph re-exporter detection#54
avrabe merged 2 commits into
mainfrom
feat/unified-resource-types

Conversation

@avrabe
Copy link
Copy Markdown
Contributor

@avrabe avrabe commented Mar 21, 2026

Shared resource types across interfaces + DAG-based re-exporter cleanup. resource_floats/resource_with_lists progress to 'unreachable' (types fixed). 73/73 pass.

avrabe and others added 2 commits March 21, 2026 20:11
1. P2 wrapper now uses resource_name alone as type key (not interface_name).
   Different interfaces referencing the same resource get ONE shared type.
   Eliminates "wrong type" errors for multi-interface resource chains.

2. ResourceGraph second pass uses composition DAG to detect re-exporters:
   components that import ANY resource interface are not definers, even if
   they have canonical ResourceRep entries from re-export wiring.

3. Cleanup pass removes false-positive definers from the cache.

resource_floats and resource_with_lists progress from "wrong type" to
"unreachable" — resource types now compatible, remaining issue is
adapter value routing (rep vs handle).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@avrabe avrabe merged commit e7e0555 into main Mar 21, 2026
3 checks passed
@avrabe avrabe deleted the feat/unified-resource-types branch March 21, 2026 19:44
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