docs(breadcrumbs): record map precedence and callback invariants

This commit is contained in:
2026-04-09 15:17:44 +01:00
parent d3f4dda8af
commit 97cde880c0
2 changed files with 64 additions and 0 deletions
+27
View File
@@ -833,6 +833,33 @@ Follow-ups:
- Next smaller slice candidate: helper-level assertion for missing/undefined representation dependency values yielding no renderer output regressions.
- Next larger slice candidate: evaluate whether remaining `/newappeal` edge branch can be absorbed into mapped grouping without reducing readability or explicitness.
### CL-22541-Z: breadcrumbs closure slice 1 — mapped-route precedence/callback invariants decision
date: 2026-04-09
author: Cline
scope: `memory-bank/decisions.md`
type: change
rationale: Execute closure slice 1 by documenting explicit architectural invariants for breadcrumb mapped-route precedence and callback injection contracts so future refactors remain safe and auditable.
impact: Documentation/governance hardening only; no runtime route/auth/session/API/EN-CY/a11y behavior change.
status: completed
Summary:
- Added `D-006` to `memory-bank/decisions.md`.
- Captured accepted invariant contracts for:
- explicit breadcrumb map precedence ordering (9 groups)
- callback/state behavior dependency injection requirement (no ad-hoc inline reintroduction)
- structure test guardrails as contract checks for intentional future changes.
Validation:
- Documentation consistency review against current breadcrumb map structure and phase22 structure test expectations.
Follow-ups:
- Closure slice 2: add focused negative-path representation map/dependency tolerance test coverage.
- Closure slice 3: resolve and guard remaining `/newappeal` inline edge branch treatment.
### CL-00X: 22500 `components/elements/index.js` Phase 1 helper extraction
date: 2026-04-07