YOLO-Toys is in finalization mode. Prioritize correctness, coherence, and reduction over feature expansion. Prefer removing drift, redundant docs, noisy automation, and unstable tests rather than adding new surface area.
- OpenSpec first for any non-trivial change.
- Keep public surfaces distinct:
README*: repository entry pointdocs/: operational/reference docs- GitHub Pages root files: landing and navigation
changelog/: release history only
- Keep tests deterministic. Normal test runs must not depend on model downloads, network access, or interactive steps.
- Keep automation high-signal. CI, Pages, release, and security workflows should exist only when they provide clear ongoing value.
- Treat repo-scoped config as canonical. Any machine-global tool changes must be minimal, reversible, and documented.
app/: FastAPI runtime, routes, model manager, middleware, metricsapp/handlers/: handler strategy implementationstests/: pytest suiteopenspec/specs/: current behavior and repository standardsopenspec/changes/: active change artifacts.claude/: project-scoped OpenSpec commands and skills.github/: workflows, templates, Copilot instructionsdocs/: long-form docs- root Jekyll files (
index.md,_config.yml,_layouts/,_includes/,_data/,assets/): GitHub Pages
- Read the relevant
openspec/specs/files first. - For exploration or scoping, use
/opsx:explore. - For new work, create or update a change with
/opsx:propose. - Implement from the active change with
/opsx:apply. - Use
/reviewat phase boundaries such as:- baseline/tooling
- governance/docs
- workflows/automation
- Pages/public packaging
- Archive completed changes promptly with
/opsx:archive.
bash scripts/dev.sh setup # create .venv and install runtime + dev deps
. .venv/bin/activate
make lint # non-mutating checks
make format # mutating Ruff fixes
make hooks # full pre-commit run
make test # pytest with coverage- Favor focused refactors over broad rewrites unless a document or config is fundamentally unsalvageable.
- When touching workflows or docs, align the surrounding entry points too; do not leave half-migrated guidance behind.
- When fixing tests, prefer mocks/stubs over real model loads.
- When updating Pages or README messaging, keep GitHub repo metadata in sync.
- Default to a single long-running agent/autopilot path for implementation.
- Use subagents for audits, comparisons, and low-coupling parallel work.
- Avoid
/fleetunless the task is clearly batchable and worth the quota cost. - Do not treat AGENTS.md or CLAUDE.md as marketing docs; they are execution docs.