Contribute¶
This page is the short map for extending the pipeline. CONTRIBUTING.md has the full process (branching, commit format, PR checklist); AGENTS.md is the working guide for coding agents and a quick map for everyone else.
Architecture overview¶
The pipeline runs locally: a LocalOrchestrator calls each phase's agent as a direct function call over a local artifact store (no event bus, no hosted queue). See the
guides index and
high-level design
for the full picture, and the architecture decision records (indexed by status) for how the design got here.
Agents and the LLM seam pattern¶
Every phase that can use a model splits into three functions, so the same code serves Amazon Bedrock, Claude Code, and fully deterministic runs:
run_*_deterministic(...): the complete result with no model call.prepare_*_llm_input(det): the payload a model reasons over.apply_*_llm_output(det, llm_output): merges and validates the model's answer on top of the deterministic result.
See the implementation guides for the agent patterns themselves, and src/agents/analysis/aurora_*_analysis_agent.py for a worked example of the shape.
Contracts¶
All agent I/O flows through Pydantic models in src/contracts/. Breaking changes go through a proposal issue, a version bump and a migration note. See the
agent contracts spec and
contracts README.
Writing or changing Claude Code commands¶
Commands live in .claude/commands/; each one calls a uv run python scripts/<script>.py entry point and follows a src/skills/*.md prompt. uv run python scripts/validate_skills.py checks that every script and skill path a command names exists. Run it (or make lint) after you edit a command. .claude/settings.ci.json is the permission allowlist headless runs use; a new script a command calls needs an allow rule there too.
Testing¶
| Tier | Command | What it checks |
|---|---|---|
| Lint | make lint (all pre-commit hooks, including markdownlint); ./ci/lint.sh (ruff, black, isort, mypy, the command validator, the generated-file checks); ./ci/security.sh (semgrep with pinned rules, gitleaks, Bandit) |
style, types, docs, command references, security findings |
| Unit/contract | make test / ./ci/test.sh -q |
unit, contract, property, graph; no network |
| Deterministic e2e | make e2e / ./ci/e2e.sh |
full pipeline on both samples, the rendered deliverables (executive PDF, engineering report), UI smoke test, the built help site |
| Headless LLM e2e | make e2e-llm |
a real /modernize --auto run against a model, same deliverable checks plus a rubric judge |
See ci/README.md for what each script runs and why, and the testing guide for strategy per agent type.
Release process¶
See "Releases" in CONTRIBUTING.md for versioning and the release steps. Every release is a tag on main.