1
0
Files
breadcrumb-the-shire/.agents
fs 0e86925464 refactor: rename lib/ to core/ for clearer core-module separation
Rename the top-level lib/ directory to core/ so the project root
immediately communicates which code is core platform and which lives
in modules/. PHP namespaces (MintyPHP\*) are unchanged — only the
Composer PSR-4 path mapping moves from lib/ to core/.

Module-internal lib/ directories (modules/*/lib/) are untouched.

Updated across the full stack:
- composer.json PSR-4 mapping
- bootstrap entry points (web/index.php, bin/*, tests/bootstrap.php)
- tooling configs (phpstan.neon, phpunit.xml, php-cs-fixer)
- 26 architecture contract tests
- enforcement-policy, guard-catalog, quality-gates
- all documentation (CLAUDE.md, README, 25 docs/, .agents/skills/)
- bin/qa-extended.sh search paths
- .claude/settings.local.json permission paths

Workflow: .agents/runs/CORE-LIB-RENAME-001/ (Analyst → Planner →
Executor → Code Review (4 findings fixed) → Security Review →
Acceptance Test → Finalizer)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-13 23:20:42 +02: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 (27 guards), quality gates (9), checklists
                   ← Enforcement policy + guard enforcement map
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 17 guards (GR-CORE/TEST/UI)
5 Security Reviewer review-security.json 10 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 (27 guards) checks/guard-catalog.json
Quality gates (9 gates) checks/quality-gates.json
Enforcement policy checks/enforcement-policy.json
Guard enforcement map checks/guard-enforcement-map.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.