@doxajs/compiler
v0.1.0-alpha.33
Published
The fail-closed semantic TypeScript compiler for Doxa applications.
Maintainers
Readme
@doxajs/compiler
Controlled-adoption prerelease: Publicly downloadable under Apache-2.0; Midtown Home Improvements is the sole supported consumer. External use is permitted without compatibility, support, warranty, roadmap, or production-readiness commitments.
The fail-closed semantic TypeScript compiler behind Praxis. It analyzes declaration-only Doxa
Applications and Features and emits .doxa/manifest.json, .doxa/registry.mjs, and compiled
application output.
Compilation owns Feature privacy and provides exports, ordinary-service scopes, the optional
application PermissionSource, its static ability catalog, and source/policy access composition. It
rejects direct and transitive ActionBus reachability from Actions, Queries, and Jobs through
DOXA-COMPILER-ARCH-001; reusable mutation behavior belongs in an ordinary service called by each
top-level boundary.
Stable IDs remain unique even when distinct declarations have the same class name. Compilation also
rejects accounts.impersonation.stop in an application permission-source catalog because Doxa owns
that restoration ability.
Successful compilation also returns handbook-linked advisory warnings for misleading provider/service names and unambiguous canonical-folder deviations. Praxis prints them during human-facing builds; they never change registration or runtime behavior.
Application code should use @doxajs/core; application developers normally invoke this package
through doxa build and doxa dev.
