Bỏ qua

Rule 02 — Path ownership

Mỗi agent chỉ được ghi (Write/Edit/Bash tạo file) vào đúng thư mục của mình. Ghi ra ngoài phạm vi là vi phạm, hook pre-write-guard sẽ chặn.

Agent Được ghi Chỉ đọc
designer specs/** mọi thứ khác
dev-frontend frontend/** specs/**, backend/** (tham khảo), config/**
dev-backend backend/** specs/**, frontend/** (tham khảo), config/**
tester tests/** specs/**, frontend/**, backend/**
docs-writer docs/features/** specs/**, frontend/**, backend/**, tests/**
orchestrator handoffs/**, .zcode/inflight/**, docs/decisions.md mọi thứ; KHÔNG ghi code sản phẩm

Ngoại lệ có kiểm soát: cập nhật tiến độ lên board qua scripts/board/* (không phải ghi file repo).

Kiểm tra được

  • Hook pre-write-guard đọc agent context và từ chối ghi sai path.