ID:WORK-108Status:done
Update inspect tooling for string-based rune types
Phase 2c of ADR-005. Update refrakt inspect and related tooling to use the Rune.typeName string field instead of rune.type?.name. Small change (~4 lines) but needed before Phase 3 cleanup can remove the Type class.
Depends on WORK-105 (dual-signature support) being complete.
Priority:mediumComplexity:simpleMilestone:v1.0.0Source:ADR-005
Acceptance Criteria
packages/cli/src/commands/inspect.tsusesrune.typeNameinstead ofrune.type?.namerefrakt inspect hint --type=alloutput is identical before and afterrefrakt inspect --listoutput is identical before and afterrefrakt inspect hint --auditoutput is identical before and after- Any other tooling that reads
rune.typeis updated (language server inspector, vscode inspector)
Key Files
packages/cli/src/commands/inspect.ts— main inspector (lines 163-164, 222-223, 281-282)packages/language-server/src/providers/inspector.ts— LSP inspectorpackages/vscode/src/inspector.ts— VSCode extension inspector
Approach
- Search for all usages of
rune.type?.name,rune.type?.schemaOrgType, andrune.typeacross the codebase - Replace with
rune.typeNameandrune.schemaOrgTyperespectively - Verify inspect output is unchanged
References
- Replace the useSchema / Type class system with plain rune identifiers (Phase 2)
- Add dual-signature support to createComponentRenderable and update RuneDescriptor (dependency — dual-signature support)
Relationships
Related
ID:WORK-109Status:done11/11
Remove Type system — delete schema classes, registries, and old signature
Priority:mediumComplexity:moderateMilestone:v1.0.0
ID:WORK-105Status:done6/6
Add dual-signature support to createComponentRenderable and update RuneDescriptor
Priority:highComplexity:moderateMilestone:v1.0.0
History
- 59ded4aContent edited
- f262d7bsource+ADR-005
- f0a845a
- ☑ `packages/cli/src/commands/inspect.ts` uses `rune.typeName` instead of `rune.type?.name`
- ☑ `refrakt inspect hint --type=all` output is identical before and after
- ☑ `refrakt inspect --list` output is identical before and after
- +2 more criteria
- c87b1c2statusready→done
- 721addbCreated (ready, medium, simple, cli, tooling, v1.0.0)