This is a TypeScript-based headless platform following modern development practices with a focus on maintainability, testability, and performance. The project uses a micro-core architecture with expansion through plug-in modules.
Current repository state (as of 2026-04-03): Phase 04 completed and validated (contract conformance suite + reference module validation active), with Phase 05 as the next implementation window.
What this means right now:
- Phase 01 governance workflows and required-check policy are in place under
.github/workflows/anddocs/governance/. - Phase 02 workspace baseline is implemented under
packages/with package manifests, entry points, and per-package TypeScript configs. - Phase 03 SDK contract authority is implemented in
packages/platform-sdk/with manifest schema validation, lifecycle interfaces, typed tokens, compatibility helpers, and SDK tests. - Shared TypeScript baseline is active at
packages/@internal/tsconfig/base.json. - Phase 02 boundary checks are executable via
lint:architecture,validate:dependency-policy,validate:module-graph, andvalidate:public-api-boundary. - Runtime policy and lifecycle determinism checks are pending for later phases (
validate:runtime-policyandtest:lifecycle-determinismremain placeholders). - Contract conformance gate is active via
test:contracts, backed by@prosto/platform-contract-testsand reference modules inexamples/.
- Workspace monorepo baseline with package entry points and strict TypeScript configuration.
- Primary operational policy for AI agents:
AGENTS.md. - Architecture intent and roadmap are documented under
.context/. - Runtime behavior is still pre-implementation and begins in upcoming phases.
- Monorepo with
platform-sdk,platform-core,platform-contract-tests, adapters, and CLI packages. - Contract-first development and policy-as-code boundary checks.
- Security-first module loading (allowlist + integrity), observability, and quality gates.
Target-state details are documented in the architecture pack README.md and implementation roadmap README.md.
- Research and analysis:
.context/01-research/ - Architecture design (C4/DFD/ADR):
.context/02-architecture-design/ - Work plan and recommendations:
.context/03-work-plan/ - Phase-based roadmap (Phase 01-10, including Admin Enablement stream):
.context/04-implementation-plan/
- Verify actual repository state first (files/scripts), then use target-state architecture docs.
- Use
AGENTS.mdas the primary operational policy. - Do not claim lint/test/CI availability without matching repository artifacts.
- Use phases from
.context/04-implementation-plan/README.mdfor implementation planning. - Resolve rule conflicts using precedence rules defined in
AGENTS.md.
Current next priorities:
- Implement runtime lifecycle foundation (Phase 05).
- Activate security and performance hardening gates (Phase 06).
- Implement admin enablement contracts and BFF stream (Phases 07-08).