Start project-owned language and authenticated MCP services when opening a project, reusing the embedded LSP backend without a desktop TCP listener. Keep editor overlays separate from saved-file MCP queries. Reserve conflicting editing before ACP prompt delivery and retain protection through native/tool termination, runtime cleanup and document refresh. Preserve drafts on rejected admission, provide cleanup/preparation recovery, distinguish terminal outcomes and redact permission previews. Add lifecycle, language parity, activity, composition and UI regressions and update the canonical Studio contracts. Keep distribution update alignment as the separate WRK-002A follow-up. Validation: complete make -C tooling verify PASSED in 20261127T035822Z-ec5d9266 (1172 unit, 131 compiler fixture, 31 headless tests). Opt-in real-model and native AI-view qualification are outside that gate. Work: WRK-0029; decision: DEC-0001.
Specification Guide
Specifications live under this tree and are organized by contract owner:
| Owner | Canonical corpus | Responsibility |
|---|---|---|
compiler/general |
General compiler | Shared compilation, linking, typed handoff, emission and acceptance |
compiler/pbs |
PBS language | PBS source, semantics, SDK and frontend projections |
packer |
Packer | Assets, artifacts, packing and diagnostics |
studio |
Studio | Shell, workspaces, adapters and visual/automation integration |
New compiler languages receive their own corpus under compiler-languages/.
Shared compiler policy stays in compiler/; PBS is not the root for other domains.
Each domain README provides a chapter index and reading order. Numbered chapters are normative within their stated scope. Feature chapters own their detailed contracts; cross-cutting chapters reference those rules rather than maintaining competing versions. Write specifications and durable lessons in English.
The runtime repository owns PBX, ISA, admission and VM execution. Studio's VM architecture references and catalog mirrors retain their separate provenance and synchronization policy. Roadmaps describe cross-domain planning, not an alternative contract source.
Engineering discussions, decisions, plans and execution evidence are maintained
in the enclosing workspace's AI Engineering project.
Published lessons and supporting assets remain in discussion/lessons/.
See repository instructions.
Navigation verification
Run ../tooling/.venv/bin/python ../tooling/scripts/documentation/verify.py --root .
from the Studio repository root to check local
links and anchors. Pass --runtime ../runtime to also check provider references
against an available read-only runtime checkout. The byte-exact architecture/ISA
mirrors retain the link context of their runtime originals; the checker resolves
them there. Ordinary builds and installed documentation reads do not require that
checkout.