Skip to content
78 changes: 39 additions & 39 deletions docs/architecture/08-crosscutting-concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,45 +217,45 @@ task starts. The root file's count includes its fact slots.
<!-- generated:spec-context-cost -->
| Root | Every turn, words | Skills | Skill words |
|------|-------------------|--------|-------------|
| `backend-api` | 5982 | 11 | 2714 |
| `backend-auth` | 8036 | 10 | 2094 |
| `backend-caching` | 5641 | 10 | 2094 |
| `backend-concurrency` | 5488 | 10 | 2094 |
| `backend-database` | 5448 | 11 | 2173 |
| `backend-edge` | 8369 | 10 | 2094 |
| `backend-errors` | 6887 | 10 | 2094 |
| `backend-features` | 5499 | 10 | 2094 |
| `backend-grpc` | 9148 | 11 | 2250 |
| `backend-http` | 5915 | 10 | 2094 |
| `backend-jobs` | 5421 | 10 | 2094 |
| `backend-messaging` | 5707 | 11 | 2188 |
| `backend-microservices` | 7104 | 11 | 2853 |
| `backend-monitoring` | 5780 | 10 | 2094 |
| `backend-observability` | 5527 | 10 | 2094 |
| `backend-webhooks` | 8889 | 11 | 2188 |
| `base-agents` | 5049 | 10 | 3302 |
| `base-cicd` | 5337 | 10 | 2214 |
| `base-config` | 5511 | 10 | 2124 |
| `base-containers` | 5390 | 10 | 2194 |
| `base-data-governance` | 5946 | 10 | 2094 |
| `base-data-migration` | 5619 | 11 | 2466 |
| `base-data-modeling` | 5458 | 10 | 2094 |
| `base-data-quality` | 6213 | 11 | 2143 |
| `base-deployment` | 5327 | 10 | 2153 |
| `base-devsecops` | 5635 | 10 | 2094 |
| `base-docs` | 5033 | 10 | 2094 |
| `base-embedded-checks` | 6287 | 11 | 4377 |
| `base-git` | 5033 | 10 | 2094 |
| `base-measurement` | 5760 | 10 | 2094 |
| `base-oop` | 5575 | 10 | 2094 |
| `base-quality` | 5033 | 10 | 2094 |
| `base-quality-gates` | 6266 | 11 | 4134 |
| `base-review` | 5033 | 10 | 2094 |
| `base-security` | 6564 | 10 | 2094 |
| `base-testing` | 5033 | 10 | 2094 |
| `frontend-content` | 5428 | 10 | 2094 |
| `frontend-quality` | 5453 | 10 | 2169 |
| `frontend-ux` | 5535 | 10 | 2094 |
| `backend-api` | 6058 | 11 | 2714 |
| `backend-auth` | 8112 | 10 | 2094 |
| `backend-caching` | 5717 | 10 | 2094 |
| `backend-concurrency` | 5564 | 10 | 2094 |
| `backend-database` | 5524 | 11 | 2173 |
| `backend-edge` | 8445 | 10 | 2094 |
| `backend-errors` | 6963 | 10 | 2094 |
| `backend-features` | 5575 | 10 | 2094 |
| `backend-grpc` | 9224 | 11 | 2250 |
| `backend-http` | 5991 | 10 | 2094 |
| `backend-jobs` | 5497 | 10 | 2094 |
| `backend-messaging` | 5783 | 11 | 2188 |
| `backend-microservices` | 7180 | 11 | 2853 |
| `backend-monitoring` | 5856 | 10 | 2094 |
| `backend-observability` | 5603 | 10 | 2094 |
| `backend-webhooks` | 8965 | 11 | 2188 |
| `base-agents` | 5125 | 10 | 3302 |
| `base-cicd` | 5413 | 10 | 2214 |
| `base-config` | 5587 | 10 | 2124 |
| `base-containers` | 5466 | 10 | 2194 |
| `base-data-governance` | 6022 | 10 | 2094 |
| `base-data-migration` | 5695 | 11 | 2466 |
| `base-data-modeling` | 5534 | 10 | 2094 |
| `base-data-quality` | 6289 | 11 | 2143 |
| `base-deployment` | 5403 | 10 | 2153 |
| `base-devsecops` | 5711 | 10 | 2094 |
| `base-docs` | 5109 | 10 | 2094 |
| `base-embedded-checks` | 6363 | 11 | 4377 |
| `base-git` | 5109 | 10 | 2094 |
| `base-measurement` | 5836 | 10 | 2094 |
| `base-oop` | 5651 | 10 | 2094 |
| `base-quality` | 5109 | 10 | 2094 |
| `base-quality-gates` | 6342 | 11 | 4134 |
| `base-review` | 5109 | 10 | 2094 |
| `base-security` | 6640 | 10 | 2094 |
| `base-testing` | 5109 | 10 | 2094 |
| `frontend-content` | 5504 | 10 | 2094 |
| `frontend-quality` | 5529 | 10 | 2169 |
| `frontend-ux` | 5611 | 10 | 2094 |
<!-- /generated:spec-context-cost -->

## 8.11 Responsibility levels
Expand Down
12 changes: 10 additions & 2 deletions templates/core/quality.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,17 @@ match on "[0-9a-f]{16}.html" wrong directory -> nothing matched
the language has one, and keep it clean (MUST)
- Annotate every public function's parameters and return type where the
language allows it (MUST)
- Annotate types as the code is written
- Adopt a linter and a formatter, and keep both clean (MUST)
- Run the type checker, the linter and the formatter before every commit
and in CI
- Give the project one check command running format, lint, types and
tests, and run it in CI
- While working, run the narrowest check that covers the affected
behaviour and its dependents
- Run the full check command before each commit and at completion; an
unchanged, passing full check satisfies both
- Do not re-run a check whose inputs have not changed since it passed
- Batch independent fixes before re-running; re-run earlier when needed to
diagnose or to verify a prerequisite fix

```bash
<type-check-command>
Expand Down