This commit is contained in:
2026-03-24 13:40:33 +00:00
parent f994a566d8
commit ab2ebba286
6 changed files with 29 additions and 56 deletions
-43
View File
@@ -14,49 +14,6 @@
---
## PR-03.05 — Canonical export surface: `ExportItem` (no `svc:` / no `name#sig` strings)
### Title
Replace stringy export naming with canonical `ExportItem` model
### Briefing / Context
Exports are currently keyed by `(module_path, symbol_name string, kind)` where symbol_name embeds `#sig` and/or owner names. This is fragile and couples FE naming to BE behavior.
### Target
* BE export map keys are canonical:
* `ExportItem::Type { name }`
* `ExportItem::Service { name }`
* `ExportItem::Function { fn_key: CanonicalFnKey }`
* Export surface remains stable even if we later change display formatting.
### Scope
* Update compiled module export structures.
* Update dependency symbol synthesis to use canonical export items.
* Update linker relocation labels to reference canonical export items.
### Checklist
* [ ] Introduce `ExportItem` and migrate ExportKey.
* [ ] Update dependency export synthesis.
* [ ] Update linker/import label format (if used) to canonical encoding.
* [ ] Ensure backward compatibility is explicitly NOT required for Phase 03.
### Tests
* Unit: exporting a service method yields `ExportItem::Function { owner=Log, name=debug, sig=... }`.
* Integration: build root + dep, link, run golden.
### Risk
High. Touches serialization and linking labels.
---
## PR-03.06 — Deterministic overload resolution across deps (arity is not enough)
### Title