Use this file as the service work harness. Entry files such as ../AGENTS.md and ../CLAUDE.md should stay short and route agents here.
Paths in this file are relative to this docs/ directory unless they start with ../.
- Start from the active service entrypoint for the current agent, either
../AGENTS.mdor../CLAUDE.md, then return here. - Do not read parent workspace entrypoints or the other agent's entrypoint unless the user explicitly asks for it.
- Use this harness to choose the task route.
- For a single-focus task, choose the smallest matching route.
- For a multi-focus task, combine only the smallest required routes; do not open unrelated docs.
- Open only the detailed docs listed for the selected route or route combination.
- For behavior changes, include
rules/testing.mdandrules/validation.md. - Validate with the narrowest useful check from
rules/validation.mdwhen validation applies.
- Agent entrypoints, Claude/Codex rules, or harness routing changes:
rules/agent-entrypoints.md,rules/harness-engineering.md, andrules/documentation.md. - General service implementation, backend refactor, source layout, or comments:
rules/project.md. - API, DTO, controller, response, or API/frontend contract work:
rules/api.md. - Frontend UI, hooks, routing, service-layer, config, SCSS, or section/rendering removal work:
rules/frontend.md,rules/api.md, andrules/validation.md. - Entity, query, schema, cache, or partition work:
rules/database.md. - Behavior change or refactor: the owning rules file plus
rules/testing.mdandrules/validation.md. - Docs or workflow changes that do not affect entrypoints:
rules/harness-engineering.mdandrules/documentation.md. - Cross-module or schema-boundary work:
architecture/workspace.mdandarchitecture/module-boundaries.md.
| Role | File |
|---|---|
| Agent entrypoint | ../AGENTS.md |
| Claude entrypoint | ../CLAUDE.md |
| Work harness and route selection | README.md |
| Agent entrypoint rules | rules/agent-entrypoints.md |
| Harness workflow rules | rules/harness-engineering.md |
| Documentation governance | rules/documentation.md |
| General service implementation rules | rules/project.md |
| API contract and controller rules | rules/api.md |
| Frontend route, hook, service, and UI rules | rules/frontend.md |
| Database, query, cache, and schema rules | rules/database.md |
| Testing rules | rules/testing.md |
| Validation command selection | rules/validation.md |
| Workspace data flow | architecture/workspace.md |
| Module boundaries | architecture/module-boundaries.md |
- Choose the smallest route, or smallest route combination, that matches the task.
- Inspect the current code or docs before editing.
- Make scoped changes in the owning module.
- If behavior changes, select focused tests before editing and run the narrowest useful validation.
- Move durable lessons into focused docs instead of entry files.
crawler/writes normalized MySQL data;service/srcreads it and exposes/api/*.frontend/src/servicescalls the same-origin service API.- The integrated Nest runtime serves the embedded frontend and proxies
/cdn,/youtube, and/inbox. - Never expose env values, tokens, secrets, private hosts, or private IPs in docs, logs, responses, or code.
- Do not recreate deprecated
.aiassistant/rules/*detail trees.
- Keep
CLAUDE.md,AGENTS.md, and this harness aligned without copying long rule text between them. - Put durable service rules in focused
docs/pages instead of entry files. - Put each new durable rule in the narrowest owning doc; do not duplicate it across entrypoints and rule files.
- Link to existing docs instead of copying long guidance.
- Update this harness when adding, removing, or renaming service docs.
- Use
rules/validation.mdto choose the narrowest useful command. - Docs-only changes: file presence and readable Markdown checks are enough.