Files
Agent-System-Dev/policy/architecture.yaml
T
weichenandCursor 937152a563 Add an architecture edge ratchet and waiting-state tokens
Why: New cross-layer imports and unused exports could land unnoticed, and confirm-waiting reused the success color.
Evidence: bash scripts/lint-boundaries.sh passed, including a probe that a new edge fails. Both design-guard tests passed. Knip counts stay at the baselines.
Impact: make test-boundaries now checks architecture edges. Frontend and ui test targets also run the knip ratchet.
Refs: feature/architecture-baseline
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-03 16:02:57 +00:00

13 lines
372 B
YAML

# 分层棘轮。新增跨组依赖边失败,消失的边只告警。
# 基线见 architecture-baseline.json。改分层先改本文件,再更新基线。
backend:
root: modules/backend/internal
import_prefix: agent-system-backend/internal/
frontend:
root: modules/frontend/src
groups:
- name: app
dir: .
- name: components
dir: components