Last updated on July 14, 2026
Build Plan
The authoritative Ontos platform build plan — task order, verification criteria, and operating rules.
The master build plan is at docs/ontos-agent-build-plan.md in the repository. This page summarizes the key operating rules and phase structure.
Operating Rules
- One task = one branch = one commit series = one PR. Branch naming:
task/<task-id>-short-name. - Never fake a verification. Run the actual command, paste real output in the PR body.
- Tests are part of the task — not optional. A task without its listed tests is incomplete.
- No AWS SDK imports anywhere in
services/. All cloud dependencies go through interfaces inlibs/platform-ports/. - Secrets never in code or compose files. Local dev uses
.env(gitignored). - If verification fails twice after fixes: write a blocker report to
docs/blockers/<task-id>.mdand stop. Do not improvise. - Keep
docs/adr/current. Any deviation from this plan requires an ADR before deviating code is written. - Phase gates: Phase 0 → write phase-0-report.md. Phase 1 starts only when docs/approvals/phase-1.md exists.
Definition of Done (Every Task)
- Code written and tested
- All task-listed tests passing (
make verifygreen) - Service README.md updated with new endpoints + curl examples
- PR body contains the actual verification command output (never fabricated)
Phase Structure
Phase 0
Walking Skeleton · Tasks 0.1–0.9
Phase 1
Design-Partner MVP (7 epics) · Tasks 1.1–1.12
Phase 2+
Production Hardening (multi-tenant, S3, audit) · Tasks TBD
Golden Rules
- Follow the build plan task order. One task per branch/PR.
- Verification failed twice → write a blocker report and stop.
- No AWS/cloud SDK imports in
services/— use ports inlibs/platform-ports/. - Read-only by default: SPARQL must reject UPDATE/INSERT/DELETE at the parser level, never with regex.
- Security is not optional scaffolding: every service validates the JWT.
- Never fabricate query results, test output, or benchmark numbers. "Cannot answer" is valid.
Was this page helpful?