Files
breadcrumb-the-shire/.agents
fs 7a222f0b1f fix(audit): harden module isolation and fix post-extraction drift
Fix 5 broken FQCN references (runtime errors) where core pages referenced
non-existent MintyPHP\Service\Audit\AuditMetadataEnricher and SystemAuditService.
Add AuditMetadataEnricherInterface with NullAuditMetadataEnricher fallback so
deactivating the audit module no longer crashes core edit pages.

Move audit search resources from core Search*Provider files into the module
via a new AuditSearchResourceProvider implementing the existing
SearchResourceProvider contract. Add module-specific purge permissions
(audit.api.purge, audit.imports.purge) replacing core ABILITY_ADMIN_SETTINGS_UPDATE.

Also fixes: session key prefix convention, hardcoded English string, $_SERVER
superglobal fallback, and manifest schema drift (i18n_path, group in ui_slots).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 10:03:27 +01:00
..

.agents/

Centralized home for the 7-role agent workflow system.

Structure

workflow.md         ← Roles, state machine, handover rules (start here)
contracts/          ← JSON schemas for role outputs (7 roles)
templates/          ← Starter JSON payloads per role (7 templates)
prompts/            ← Role-specific prompt baselines (7 prompts)
checks/             ← Guard catalog (22 guards), quality gates (9), checklists
skills/             ← Reusable skill packages (guardrails, planner, grid, PHP CI)
runs/               ← Runtime artifacts per workflow run (gitignored)

Roles

# Role Artifact Guards
1 Analyst analysis.json
2 Planner plan.json selects guards
3 Executor execution-report.json provides evidence
4 Code Reviewer review-code.json 13 guards (GR-CORE/TEST/UI)
5 Security Reviewer review-security.json 9 guards (GR-SEC)
6 Acceptance Tester review-acceptance.json SC-* criteria
7 Finalizer finalize.json all reviews + CI
What Where
Workflow & roles workflow.md
Guard catalog (22 guards) checks/guard-catalog.json
Quality gates (9 gates) checks/quality-gates.json
Code review checklist checks/guard-checklist.md
Acceptance checklist checks/acceptance-checklist.md
Module manifest schema contracts/module-manifest.schema.json

Project Context

See CLAUDE.md (repo root) for tech stack, architecture rules, and conventions.