Playbook overview

AGENTS.md

Guide, operating model and reference

Example for a fictional booking repository. Replace the paths and commands before using it in your project.

Start here

  • Read the work brief and the relevant sections of docs/architecture.md and docs/booking-policy.md.
  • Look at src/booking/ for booking rules and tests/booking/ for the examples that exercise them. Use symbol references to find callers before moving a rule.
  • Read docs/learnings/git_learnings.md for staging, commits or worktree recovery. Read docs/learnings/umbraco_learnings.md only when changing the optional CMS integration.

Run the project

PurposeExample command
Set up a clean checkout with disposable data./scripts/setup
Start the app and its local dependencies./scripts/dev
Run the booking tests during implementation./scripts/test booking
Run the checks expected before review./scripts/verify

Working boundaries

  • Keep cancellation decisions in the booking domain. The web layer displays the result. The domain tests use a fixed clock.
  • Use local or synthetic data. Ask before touching any shared environment or adding a dependency with an operational cost.
  • Keep the change within the approved brief. If old records have no clear policy, show an example and ask the owner how they should behave.
  • If a required assertion fails, keep the failure visible. An approved expectation or gate may only change through its normal review.

Hand over

  • Inspect the diff and report results against the acceptance checks. Say what you couldn’t test.
  • Put the next decision and the exact code revision in the work record. If a mistake could recur, propose a short addition to the relevant learning file with evidence or reproduction steps.