Engine Development
Engine Development
Section titled “Engine Development”Read AGENTS.md and CONTRIBUTING.md first.
This repo owns:
- CLI and command dispatch;
- parser, validator, resolver;
- import, reconcile, and adoption workflows;
- contracts and query packets;
- generator dispatch and bundled fallback adapters;
- engine fixtures and tests;
- the dogfood
topo/workspace.
Non-trivial protected changes should reference an SDLC item in topo/ or carry
an explicit exemption.
SDLC Start
Section titled “SDLC Start”Before implementation, inspect available work and start the task through the CLI:
node ./engine/src/cli.js query sdlc-grooming ./topo --jsonnode ./engine/src/cli.js query sdlc-backlog ./topo --jsonnode ./engine/src/cli.js query sdlc-available ./topo --jsonnode ./engine/src/cli.js query sdlc-ready ./topo --jsonnode ./engine/src/cli.js sdlc start <task-id> . --actor actor_coding_agent --jsonnode ./engine/src/cli.js sdlc start <task-id> . --actor actor_coding_agent --write --jsonUse topogram query sdlc-proof-gaps ./topo --task <task-id> --json before
completion. Done tasks need linked requirements, approved acceptance criteria,
and verification refs.
Local checks
Section titled “Local checks”npm testbash ./scripts/verify-engine.shbash ./scripts/verify-cli-package.shUse focused tests first, then broader gates. For release-facing changes, run
npm run release:preflight; it adds docs/RAG checks, root Topogram validation,
strict SDLC validation, and secret scanning around the engine and package gates.
Do not add demo/product coupling to engine tests. Fixtures should prove engine behavior with neutral vocabulary.