Skip to content

docs: add AGENTS.md for coding agents - #10

Merged
SizzleUnrlsd merged 1 commit into
mainfrom
docs/agents-md
Nov 20, 2026
Merged

SizzleUnrlsd merged 1 commit into
mainfrom
docs/agents-md

Conversation

@SizzleUnrlsd

Copy link
Copy Markdown
Contributor

What and why

Adds AGENTS.md, the instructions coding agents read before working in a repository. As this
repository is the template new tools start from, the file is also the first version of every
new tool's AGENTS.md. It has two parts:

  • Part 1, the CoreTrace project, identical to the one proposed for coretrace in
    docs: add AGENTS.md, update the debt register and add a debt baseline coretrace#228: what each repository does and how they fit together, the contracts
    between them, where a problem is fixed, and the rules shared by all (development, boundaries,
    technical debt cycle).
  • Part 2, this repository: its scope as a GitHub template, the commands and scripts, the
    layout, what coretrace_add_tool() produces, six invariants taken from the files, what
    Part 1 assumes and this repository lacks (tests, severity/* labels, a debt register), and
    what a tool created from the template must do with the file.

For the reviewer:

  • Part 1 should stay the same in every repository. If docs: add AGENTS.md, update the debt register and add a debt baseline coretrace#228 changes it in
    review, this copy has to follow.
  • What Part 1 says of the other repositories comes from coretrace's documentation and CMake
    modules and from those repositories' READMEs; their code was not read.
  • Three defects of the template were noticed while reading it and are not fixed here:
    CORETRACE_COMPILER_GIT_TAG defaults to the branch main, as does extern-project/;
    extern-project/CMakeLists.txt names src/main.cpp while the file is src/main.c, and that
    file includes StackUsageAnalyzer.hpp; CMakeLists.txt includes a CheckLLVMVersion module
    that cmake/ does not hold, so the LLVM minimum check is skipped. The second was not
    confirmed by a build.

How it was tested

Documentation only.

Part 1 describes the CoreTrace project and the rules shared by its
repositories, identical to coretrace's. Part 2 describes the template:
scope, commands, layout, invariants, what it lacks, and what a tool
created from it must rewrite.
@SizzleUnrlsd SizzleUnrlsd self-assigned this Nov 20, 2026
@SizzleUnrlsd
SizzleUnrlsd merged commit c0614a6 into main Nov 20, 2026
1 check passed
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