pr 03.05
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user