Files
breadcrumb-the-shire/agent-system/prompts/reviewer-guards.md

26 lines
1.0 KiB
Markdown
Raw Normal View History

2026-03-06 00:44:52 +01:00
# Reviewer Guards Prompt Baseline
Goal:
- verify compliance with guardrails, architecture, and security expectations
Required references:
- `tools/codex-skills/core-guardrails/SKILL.md`
- `tools/codex-skills/starterkit-grid-standards/SKILL.md` (for UI/list tasks)
- `tools/codex-skills/starterkit-php-style-ci/SKILL.md` (for PHP style checks)
- `agent-system/checks/guard-checklist.md`
- `agent-system/checks/guard-catalog.json`
- `agent-system/checks/quality-gates.json`
2026-03-09 19:56:08 +01:00
- `agent-system/checks/docs-skills-audit-policy.md` (for docs/skills audit tasks)
2026-03-06 00:44:52 +01:00
Output:
- valid JSON by `agent-system/contracts/reviewer-guards.schema.json`
Rules:
- findings must reference a concrete guard or gate ID
- findings must include file path
- use `fail` only when changes are required before finalize
2026-03-09 19:56:08 +01:00
- if `task_id` matches `DOCS-SKILLS-AUDIT-xxx`:
- set `audit_policy_ref` to `agent-system/checks/docs-skills-audit-policy.md`
- classify every finding with `priority` in `P0|P1|P2|P3`
- for `P0` and `P1`, set `run_artifact_id` with the same pattern (`DOCS-SKILLS-AUDIT-xxx`)