How the parts fit together

How the parts fit together An architecture diagram generated by Archify. poly CLI · one command registry · Check path: No model decides a verdict; never imports poly-io poly CLI one command registry Check pipeline · stages 0 to 5, folded · Check path: No model decides a verdict; never imports poly-io Check pipeline stages 0 to 5, folded Admission · certificate issuer · Check path: No model decides a verdict; never imports poly-io Admission certificate issuer Certified build · .poly/build and certificate · Architecture component Certified build .poly/build and certificate poly-runtime · load and dispatch · Architecture component poly-runtime load and dispatch Ledger · per-run chain, signed heads · Architecture component Ledger per-run chain, signed heads check a file or project admit a clean build write lowered artefacts · file needs every stage clean read artefacts, write certificate read certified artefacts · file open the ledger store · SQL Check path: No model decides a verdict; never imports poly-io Legend Frontend Backend Database

The short answer

  • • Source is checked and lowered by the pipeline, admitted into a signed certificate, loaded only by the runtime, and every step it takes is chained in the ledger, which feeds the next check

Not shown here

  • • The language packages, the vendored engines, the network package and the tools poly starts
  • • later questions cover them
  • • Connected but out of scope: MCP server, Language server, Workflow server, poly-new, Feedback commands, Signed records

Doctrine

  • • The semantics is the definition, and every check compares the lowering with it: 04-semantics defines what a program means; translation validation runs the lowered module and poly-ref on every reachable state and refuses any disagreement