AZ-013 — Documentation, translations and boundary gates

Status

Done

Context

Read README, documentation/CI/testing/DoD. Redocly, TypeDoc and marked generation already block defects in their configured scopes, but not comprehensive Markdown links, locale completeness, spelling, generated tracked files or layer imports. AZ-001 has translation parity tests, AZ-011 responsive/axe checks, and AZ-012 a new supply-chain gate. Normal project guides must now describe the implemented Application Zero rather than leave intentions only in specs.

Goal

Make documentation/resources and key repository boundaries verifiable with low-maintenance blocking checks, and leave a clear developer workflow for future ordering vertical slices.

Requirements

Non-goals

No new docs site framework, generated output in Git, complete semantic documentation automation, arbitrary coverage changes, generic architectural layer hierarchy, license policy, production deployment or new ordering functionality. JSX source is not standalone HTML; existing a11y/browser checks are the useful baseline, not a separate false-positive HTML source validator.

Implementation guidance

Respect marked's existing heading/link rewriting and TypeDoc public-entry-point policy. Resolve relative paths from their source doc, not checker process cwd; link fixtures should include nested specs, hashes, raw copies and same-heading duplicates. Architectural enforcement may integrate with ESLint and use an aggregate script to avoid a second lint ecosystem. Narrow exceptions must explain concrete current boundaries and cannot hide a real shortcut in production code.

Acceptance criteria

Verification

pnpm quality
pnpm test:ci
pnpm i18n:check
pnpm docs:links:check
pnpm spellcheck
pnpm architecture:check
pnpm docs:build
pnpm docs:site:check

New commands are introduced here; constituent standalone executions are useful during development, not a requirement to repeat checks after final combined quality succeeds. If a separate repository:check is introduced, execute/document it too. Run pnpm test/affected builds/coverage only if executable source changes beyond checker tooling. Run periodic external checker on safe docs URLs once and record exact introduced script/results. Inspect generated epic/spec links and page-workflow docs with pnpm docs:serve. Hosted CI and Cloudflare upload evidence are required when publishing workflow changes; do not deploy manually without authorization.

Documentation

Update documentation (checks/heading/source ownership), development (aggregate/new commands and page recipe), CI/DoD enforcement mapping (actual new gates and limits), architecture/techstack, testing (checker fixture responsibility), current-state/handover. Other guide changes depend on facts found in the final consistency review; keep historic spec requirements separate from current implemented conventions.

Dependencies

AZ-011 and AZ-012 (therefore the complete prior feature and supply-chain branches).

Future considerations

With this foundation complete and verified, select a small Foodtruck Order domain slice explicitly. Do not add tenancy, a generic CRUD layer or another vendor as a documentation completeness exercise.