Skip to content

docs: add AGENTS.md contributor and agent checklist - #57

Merged
oto-macenauer-absa merged 1 commit into
masterfrom
docs/agents-guide
Aug 14, 2026
Merged

docs: add AGENTS.md contributor and agent checklist#57
oto-macenauer-absa merged 1 commit into
masterfrom
docs/agents-guide

Conversation

@oto-macenauer-absa

Copy link
Copy Markdown
Collaborator

What

Adds AGENTS.md — a single mechanical checklist of what CI enforces on a pull request, plus the repository conventions a change is expected to respect. Written so a change lands green on the first CI run instead of the third.

This is groundwork for the aggregated fix PRs that follow (#42#56); every one of them will be held to this file.

Changes

  • AGENTS.md — new. Branch pattern, conventional title types, description minimum + issue reference, 50-file size cap, target branch. Then the three commands that must pass locally, and the conventions: hermetic-by-construction apps.json, two modes / one document, light-only, sub-app HTML as untrusted input, portability (Node APIs over shelling out), contract/ as a public API, SHA-pinned actions. Ends with rules for aggregated PRs, since the follow-up work groups issues by subsystem.
  • CONTRIBUTING.md — points at it from the development-setup section.

The one non-obvious thing it documents: the branch prefixes and the title types are different sets. perf, refactor, style, build and revert pass title-types but are not in branch-pattern, so a perf/… branch fails the check on otherwise correct work.

Verification

Docs only — no code paths touched. Baseline confirmed green before branching:

  • npm run build:headless — 8 apps integrated
  • npm test — 43 passed

Collects what CI actually enforces on a pull request — branch pattern,
conventional title, description minimum, issue reference, 50-file cap —
in one place, alongside the repository conventions a change is expected
to respect (hermetic builds, light-only, untrusted sub-app input,
portability, contract stability, SHA-pinned actions).

Calls out explicitly that the branch prefixes and the commit/PR title
types are different sets: `perf` and `refactor` are valid titles but
invalid branch prefixes, which is the easiest way to get a red PR on
otherwise correct work.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QqFK6yffibtCBTF8xZ4hXW
@oto-macenauer-absa
oto-macenauer-absa merged commit df9ba5c into master Aug 14, 2026
6 checks passed
@oto-macenauer-absa
oto-macenauer-absa deleted the docs/agents-guide branch August 14, 2026 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant