Refactor code structure for improved readability and maintainability; optimize performance in key functions.

This commit is contained in:
master
2025-12-22 19:06:31 +02:00
parent dfaa2079aa
commit 0536a4f7d4
1443 changed files with 109671 additions and 7840 deletions

21
policies/AGENTS.md Normal file
View File

@@ -0,0 +1,21 @@
# policies/AGENTS.md
## Purpose & Scope
- Working directory: `policies/` (policy packs, overrides, and metadata).
- Roles: policy engineer, QA, docs contributor.
## Required Reading (treat as read before DOING)
- `docs/README.md`
- `docs/modules/policy/architecture.md`
- `docs/policy/dsl-reference.md` (if present)
- Relevant sprint file(s).
## Working Agreements
- Policy packs must be versioned and deterministic.
- Use clear comments for default rules and override precedence.
- Keep offline-friendly defaults; avoid network dependencies in policy evaluation examples.
- When policy behavior changes, update corresponding docs under `docs/policy/`.
## Validation
- Validate policy YAML against schema when available.
- Add/extend tests in Policy module to cover policy pack behavior.