Ontos
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

  1. One task = one branch = one commit series = one PR. Branch naming: task/<task-id>-short-name.
  2. Never fake a verification. Run the actual command, paste real output in the PR body.
  3. Tests are part of the task — not optional. A task without its listed tests is incomplete.
  4. No AWS SDK imports anywhere in services/. All cloud dependencies go through interfaces in libs/platform-ports/.
  5. Secrets never in code or compose files. Local dev uses .env (gitignored).
  6. If verification fails twice after fixes: write a blocker report to docs/blockers/<task-id>.md and stop. Do not improvise.
  7. Keep docs/adr/ current. Any deviation from this plan requires an ADR before deviating code is written.
  8. 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 verify green)
  • Service README.md updated with new endpoints + curl examples
  • PR body contains the actual verification command output (never fabricated)

Phase Structure

Golden Rules

  1. Follow the build plan task order. One task per branch/PR.
  2. Verification failed twice → write a blocker report and stop.
  3. No AWS/cloud SDK imports in services/ — use ports in libs/platform-ports/.
  4. Read-only by default: SPARQL must reject UPDATE/INSERT/DELETE at the parser level, never with regex.
  5. Security is not optional scaffolding: every service validates the JWT.
  6. Never fabricate query results, test output, or benchmark numbers. "Cannot answer" is valid.
Was this page helpful?