Skip to content

chore: add AGENTS.md with agent-specific conventions#35

Merged
leodido merged 1 commit into
mainfrom
chore/agents-md
Apr 24, 2026
Merged

chore: add AGENTS.md with agent-specific conventions#35
leodido merged 1 commit into
mainfrom
chore/agents-md

Conversation

@leodido
Copy link
Copy Markdown
Owner

@leodido leodido commented Apr 23, 2026

Motivation

Two recurring footguns have surfaced in automated work on this repo and need a stable home so agents (and future-me) stop relearning them:

  1. Private email rejection. GitHub blocks pushes that would publish the maintainer's gmail address (GH007). Every commit/tag must use 120051+leodido@users.noreply.github.com. The recovery dance (amend / re-tag / re-push) eats time on every release and feature branch.
  2. README/CONTRIBUTING split. PR docs: restructure README around user-facing usage #34 just moved API governance content (Check vs ProbeWith, feature-addition checklist, frozen FromELF contract, gated-vs-probe-only classification) out of the README into CONTRIBUTING.md. Without an explicit note, agents will silently re-mix them on the next docs change.

Changes

New top-level AGENTS.md covering:

  • Git author identity (noreply email, inline form, recovery on GH007).
  • Documentation split (what belongs in README.md vs CONTRIBUTING.md, and the rule for changes that touch both).
  • Release workflow (tag-driven, GoReleaser via .github/workflows/release.yaml).
  • Commit/PR conventions, including the standing rule that agents must not commit or push without explicit maintainer approval — even within a session where prior commits were approved.

Out of scope

No code or other doc changes. AGENTS.md is metadata only; CI is unaffected.

Captures two recurring footguns that have bitten automated commits in
this repo:

- Pushes using the maintainer's private gmail address are rejected by
  GitHub (GH007). All commits and tags must use the noreply identity
  120051+leodido@users.noreply.github.com.
- README.md is user-facing; CONTRIBUTING.md owns API governance
  (Check vs ProbeWith, addition checklist, FromELF contract,
  gated-vs-probe-only classification). Agents should not regress this
  split when editing docs.

Also documents the tag-driven release flow and the no-commit/push-
without-approval rule.
@leodido leodido self-assigned this Apr 24, 2026
@leodido leodido merged commit 5f1e47d into main Apr 24, 2026
6 checks passed
@leodido leodido deleted the chore/agents-md branch April 24, 2026 11:41
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