3.3 KiB
3.3 KiB
PR-19.1 - PBS Topic 19 Spec Propagation and Normative Cutover
Briefing
As decisions 19.1 a 19.5 fecharam a arquitetura de globals, lifecycle markers, published wrapper, lowering e conformance para PBS v1.
Esta PR abre a execucao da familia 19 pela frente editorial normativa:
- propagar as decisions para specs PBS e specs gerais relevantes;
- remover lacunas documentais entre source model, lowering e publication contract;
- alinhar o contrato final com entrypoint fisico
0e sem autoridade deentrypointnomanifest.json.
Target
Atualizar o baseline normativo para o modelo final de topic 19 em:
- syntax and AST,
- static semantics,
- dynamic semantics,
- diagnostics,
- lowering,
- bytecode/publication handoff.
Dependencies
Prerequisitos diretos:
Globals Surface, Identity, and Module Boundaries Decision.mdLifecycle Markers, Program Init, and Frame Root Semantics Decision.mdPublished Entrypoint, Synthetic Wrapper, and FRAME_RET Ownership Decision.mdGlobals and Lifecycle Lowering to IRBackend and IRVM Decision.mdDiagnostics, Manifest Propagation, and Conformance Coverage Decision.md
Scope
- Atualizar:
- PBS 3,
- PBS 4,
- PBS 7,
- PBS 9,
- PBS 11,
- PBS 12,
- PBS 13.
- Atualizar:
- General 15,
- General 20.
- Fixar normativamente:
declare global,[Init],[Frame],[InitAllowed],- wrapper publicado,
FRAME_RETno wrapper,- entrypoint fisico
0, manifest.jsonsementrypoint.
Non-Goals
- Nao alterar parser, AST classes ou semantics code.
- Nao implementar lowering.
- Nao adicionar fixtures executaveis nesta PR.
- Nao produzir
learn.
Method
- Aplicar as decisions 19.x sem reabrir arquitetura.
- Escrever os contratos em ingles normativo e com terminologia uniforme.
- Fazer o corte documental completo do antigo modelo nominal de entrypoint.
- Nomear explicitamente dependencias cross-domain quando a spec PBS depender do runtime protocol ja aceito.
Acceptance Criteria
- Nenhuma spec normativa relevante da linha PBS/general contradiz as decisions 19.x.
declare global,[Init],[Frame]e[InitAllowed]aparecem com semantica consistente entre syntax, AST e static semantics.- O publication contract normativo aponta para wrapper sintetico em
func_id = 0. - O
manifest.jsondeixa de carregar autoridade de entrypoint nas specs PBS. - As specs gerais de handoff refletem o wrapper e o entrypoint fisico
0.
Tests
- Revisao editorial integral dos documentos afetados.
- Se houver harness de spec-to-test matrix para as specs gerais/pbs, mantelo verde.
Affected Documents
docs/compiler/pbs/specs/3. Core Syntax Specification.mddocs/compiler/pbs/specs/4. Static Semantics Specification.mddocs/compiler/pbs/specs/7. Cartridge Manifest and Runtime Capabilities Specification.mddocs/compiler/pbs/specs/9. Dynamic Semantics Specification.mddocs/compiler/pbs/specs/11. AST Specification.mddocs/compiler/pbs/specs/12. Diagnostics Specification.mddocs/compiler/pbs/specs/13. Lowering IRBackend Specification.mddocs/compiler/general/specs/15. Bytecode and PBX Mapping Specification.mddocs/compiler/general/specs/20. IRBackend to IRVM Lowering Specification.md
Open Questions
- Nenhuma. Esta PR e de propagacao normativa.