- Read
codex.toml(if present) for canonical commands. - Resolve commands (prefer
codex.toml, otherwise defaults):- format:
uv run ruff format . --check - lint:
uv run ruff check . - typecheck:
uv run mypy src - quick tests:
test_quick, elsetest, elseuv run pytest -q - full tests:
test_full, elsetest, elseuv run pytest -q - smoke:
smoke, elseuv run python scripts/smoke.pyif present
- format:
- Support two modes:
- Quick mode:
- format/lint
- feature-scoped or quick tests (
test_quickfallback chain) - smoke-test
- Full mode:
- format/lint
- typecheck
- full test suite (
test_fullfallback chain) - smoke-test
- Quick mode:
- Always run smoke as its own stage after tests/checks and report it as a separate result bucket.
- Summarize results:
- Mode used and commands run
- What passed
- What failed (top 3 failure signatures)
- Smoke result (pass/fail + artifact path when available)
- Likely category: env/setup vs flaky vs deterministic bug vs expectation mismatch
- Recommendation logic:
- If unit/tests pass but smoke fails, prioritize packaging/runtime and invoke
debug-loop. - If there are many failures, invoke
failure-triage. - If failures appear intermittent, invoke
flaky-test-hunter.
- If unit/tests pass but smoke fails, prioritize packaging/runtime and invoke
Converted and distributed by TomeVault — claim your Tome and manage your conversions.