Add AGENTS.md - #991
Conversation
Some agentic coding tools look for AGENTS.md rather than CLAUDE.md; keep the two in sync so contributors using either tool see the same repo conventions. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
CC: @eduralph I thought I'd start with my instructions. Feel free to update, replace, or merge. |
Good, stuff - I'll pile on it |
Co-authored-by: Eduard R. <eduralph@users.noreply.github.com>
- Clarify branch model: "release" means major/feature release, not patch release; note master exists but isn't currently used for addon work. - Note LANGUAGE=en_US.UTF-8 is no longer required on Gramps v6.0+, and mention checking out the matching branch in the core checkout. - Soften Black formatting guidance to reflect it's not currently required. - Note that strings already translated in Gramps core are excluded from the Weblate Addons component. - Add maintainers/maintainers_email fields to the .gpr.py example.
|
All review comments addressed. |
|
@dsblank Does adding something like this make sense in this repo and/or Gramps core? Do not attempt to build/run on WindowsWindows Development & Code Generation BoundariesThis project natively supports Linux, macOS, and Windows via the MSYS2 environment. It cannot be built or run directly on native Windows (CMD/PowerShell). If you are executing inside a native Windows host environment, you must adhere to the following execution boundaries: Allowed Actions
Forbidden Actions (Do Not Attempt)
|
|
@hgohel asks:
I don't know enough about github actions or build commands to answer this question. Is it our own limitation, or something about github that makes it impossible to build under Windows? |
It's not a GitHub Actions constraint. It stems from the pre-requisites for Gramps. Gramps is documented to build only under MSYS2. |
|
@hgohel I see: you are making a distinction between "Windows" and "MSYS2" (maybe could be clarified in your suggested text). |
Per hgohel's suggestion on PR gramps-project#991 (comment 5026237564) and follow-up discussion, clarify the distinction between MSYS2 (POSIX-like shell, safe to run make.py/tests in) and native Windows cmd/PowerShell (unverified tooling) so agents know what they can and can't run. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
@hgohel Added a Windows Development section to
Kept it addons-source-specific (references |
|
Thanks @hgohel! @GaryGriffin I think this is ready to merge. We can (and should) make regular updates to this file as we find better was of prompting agents. |
- Clarify branch model: "release" means major/feature release, not patch release; note master exists but isn't currently used for addon work. - Note LANGUAGE=en_US.UTF-8 is no longer required on Gramps v6.0+, and mention checking out the matching branch in the core checkout. - Soften Black formatting guidance to reflect it's not currently required. - Note that strings already translated in Gramps core are excluded from the Weblate Addons component. - Add maintainers/maintainers_email fields to the .gpr.py example.
|
Thank you @dsblank. The concise instructions you added are appropriate. |
- Clarify branch model: "release" means major/feature release, not patch release; note master exists but isn't currently used for addon work. - Note LANGUAGE=en_US.UTF-8 is no longer required on Gramps v6.0+, and mention checking out the matching branch in the core checkout. - Soften Black formatting guidance to reflect it's not currently required. - Note that strings already translated in Gramps core are excluded from the Weblate Addons component. - Add maintainers/maintainers_email fields to the .gpr.py example.
Per hgohel's suggestion on PR #991 (comment 5026237564) and follow-up discussion, clarify the distinction between MSYS2 (POSIX-like shell, safe to run make.py/tests in) and native Windows cmd/PowerShell (unverified tooling) so agents know what they can and can't run. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Summary
AGENTS.mdso agentic coding tools that look for the increasingly commonAGENTS.mdconvention pick up this repo's contributor/agent guidelines.Inspired by eduralph's
GEPS 049: Versioned Addon API surface and 2-axis lifecycle model,
which discusses tooling/process conventions for addon development — this
is a small, independent step in that direction: giving addon-repo agents a
clear, tool-agnostic set of guidelines to follow.
Test plan