implements PLN-0117

This commit is contained in:
2026-07-15 12:10:10 +01:00
parent 26c69d5660
commit bde999f1fe
5 changed files with 77 additions and 37 deletions
@@ -2,7 +2,7 @@
id: PLN-0117
ticket: multi-frontend-frontend-backend-contract
title: Common IRBackend contract specs
status: open
status: done
created: 2026-07-15
ref_decisions: [DEC-0043]
tags: [compiler, compiler-general, compiler-pbs, ir, backend, multi-frontend]
@@ -77,12 +77,12 @@ Included:
## Acceptance Criteria
- [ ] Compiler-general specs state that `IRBackend` is the common frontend-to-backend executable handoff.
- [ ] Compiler-general specs do not describe common backend behavior as PBS-owned.
- [ ] PBS lowering specs describe how PBS emits `IRBackend` and defer common backend obligations to compiler-general specs.
- [ ] Forbidden coupling is explicit for PBS AST, tokens, parser structures, semantic objects, editorial objects, and future frontend equivalents.
- [ ] Lifecycle, published entrypoint, boot guard, spans, and capabilities are written in neutral terms when they are backend obligations.
- [ ] Conformance matrix maps DEC-0043 obligations to tests or planned tests without weakening existing coverage.
- [x] Compiler-general specs state that `IRBackend` is the common frontend-to-backend executable handoff.
- [x] Compiler-general specs do not describe common backend behavior as PBS-owned.
- [x] PBS lowering specs describe how PBS emits `IRBackend` and defer common backend obligations to compiler-general specs.
- [x] Forbidden coupling is explicit for PBS AST, tokens, parser structures, semantic objects, editorial objects, and future frontend equivalents.
- [x] Lifecycle, published entrypoint, boot guard, spans, and capabilities are written in neutral terms when they are backend obligations.
- [x] Conformance matrix maps DEC-0043 obligations to tests or planned tests without weakening existing coverage.
## Tests