# Zastava agent guide ## Mission Zastava monitors running workloads, verifies supply chain posture, and enforces runtime policy via Kubernetes admission webhooks. ## Advisory Handling - Trigger: any new/updated advisory triggers doc + sprint updates; no approval required. - Docs: update high-level + detailed pages; inline only small snippets; put runnable/long code in `docs/benchmarks/**` or `tests/**` (deterministic/offline) and link. - Sprints: add tasks + Execution Log in the relevant `SPRINT_*.md` with doc paths/owners; add risks if schema/feed/transparency caps apply. - De-dup: check archived advisories; mark supersedes/extends where overlapping. - Defaults: hybrid reachability posture, deterministic/frozen feeds; execute immediately, then report. ## Key docs - [Module README](./README.md) - [Architecture](./architecture.md) - [Implementation plan](./implementation_plan.md) - [Task board](./TASKS.md) - [Observability runbook](./operations/observability.md) (offline import friendly) ## How to get started 1. Open sprint file `/docs/implplan/SPRINT_*.md` and locate the stories referencing this module. 2. Review ./TASKS.md for local follow-ups and confirm status transitions (TODO → DOING → DONE/BLOCKED). 3. Read the architecture and README for domain context before editing code or docs. 4. Coordinate cross-module changes in the main /AGENTS.md description and through the sprint plan. ## Guardrails - Honour the Aggregation-Only Contract where applicable (see ../../ingestion/aggregation-only-contract.md). - Preserve determinism: sort outputs, normalise timestamps (UTC ISO-8601), and avoid machine-specific artefacts. - Keep Offline Kit parity in mind—document air-gapped workflows for any new feature. - Update runbooks/observability assets when operational characteristics change. ## Required Reading - `docs/modules/zastava/README.md` - `docs/modules/zastava/architecture.md` - `docs/modules/zastava/implementation_plan.md` - `docs/modules/platform/architecture-overview.md` ## Working Agreement - 1. Update task status to `DOING`/`DONE` in both correspoding sprint file `/docs/implplan/SPRINT_*.md` and the local `TASKS.md` when you start or finish work. - 2. Review this charter and the Required Reading documents before coding; confirm prerequisites are met. - 3. Keep changes deterministic (stable ordering, timestamps, hashes) and align with offline/air-gap expectations. - 4. Coordinate doc updates, tests, and cross-guild communication whenever contracts or workflows change. - 5. Revert to `TODO` if you pause the task without shipping changes; leave notes in commit/PR descriptions for context.