Agent documentation

August 19, 2026 ยท View on GitHub

This directory indexes the repository context used by coding agents and human contributors. The content is portable: agents that discover repository skills can load them automatically, and other agents can follow the same links from AGENTS.md.

Choose the right layer

LayerPurposeLocation
Persistent guidanceRules, commands, source routing, and review expectations that apply to every taskAGENTS.md
ArchitectureCurrent runtime boundaries, modules, persistence, calculations, file flows, and invariantsARCHITECTURE.md
Unified UI/UX migrationv0/v1 boundaries, shared-contract protection, and just-in-time workflow notesunified-ux-migration.md
Data workflowPractical examples for workspace reads, selections, persistence, transactions, and committed refreshesdata-access-and-workspace.md
Task contextMinimal entrypoints, document sections, modes, skills, risks, and initial validationcontext-index.md
Task modesImplementer, Investigator, Reviewer, Test Engineer, and Designer checklistspersonas.md
SkillsRepeatable task workflows loaded only when relevant.agents/skills

Executable configuration and source code remain authoritative for volatile facts. These documents explain how to find and safely change that source.

Start a task

Use the task context index to select entrypoints, exact sections, mode, skill, cross-boundary triggers, and initial validation.

Maintenance

  • Keep AGENTS.md small and limited to durable repository-wide guidance.
  • Put descriptive system context in ARCHITECTURE.md.
  • Put workflow steps in the matching skill instead of duplicating them here.
  • Keep context-index.md limited to durable routing and starting points, not implementation inventories.
  • Update personas.md only when a task mode's responsibilities change.
  • Prefer source links over copied inventories or version numbers.
  • Validate relative links, commands, and paths in the same pull request.

When an agent makes a recurring wrong assumption, identify the narrowest layer that would have prevented it and update that source.