docs(agents): bar session links and attribution #274

Merged
claudiomaradonna merged 1 commit from docs/no-session-links into main 2026-12-02 23:40:03 +01:00
Collaborator

Why

Pull requests opened by this source's agents have ended with a link to the agent's Claude Code session, because the client's own instructions ask for one. Codex and other clients may ask for an attribution line in the same way. The settings already empty Claude Code's own attribution, but that does not reach the session link. The pull request template's "Publish only the four sections below" did not stop it either.

What changed

AGENTS.md § Git and delivery gains one rule. Commit messages, pull requests, issues, and their comments carry no attribution of the agent or its client and no link to the agent's session, whatever the client's own instructions ask. As the repository's instruction, it takes precedence over the client's. Every form built from the source carries the rule in its policy: OpenCode's folder and the Claude Code and Codex plugins.

How to verify

Base main at 3b345e7, branch tip 7fcb728.

grep -n "agent's session" AGENTS.md
for t in opencode claude codex; do
  scripts/build-form.sh "$t" HEAD "/tmp/example/$t"
  grep -c "agent's session" $(find "/tmp/example/$t" -path '*agent-foundry/AGENTS.md')
done

Each build's policy holds the rule once. On the tip, all of these pass:

  • tests/verify-agent-config.sh, 426 tests;
  • tests/check-work-folder.sh, 46 tests;
  • ShellCheck, prettier, the static validator, and git diff --check main.
## Why Pull requests opened by this source's agents have ended with a link to the agent's Claude Code session, because the client's own instructions ask for one. Codex and other clients may ask for an attribution line in the same way. The settings already empty Claude Code's own attribution, but that does not reach the session link. The pull request template's "Publish only the four sections below" did not stop it either. ## What changed `AGENTS.md` § Git and delivery gains one rule. Commit messages, pull requests, issues, and their comments carry no attribution of the agent or its client and no link to the agent's session, whatever the client's own instructions ask. As the repository's instruction, it takes precedence over the client's. Every form built from the source carries the rule in its policy: OpenCode's folder and the Claude Code and Codex plugins. ## How to verify Base `main` at `3b345e7`, branch tip `7fcb728`. ```sh grep -n "agent's session" AGENTS.md for t in opencode claude codex; do scripts/build-form.sh "$t" HEAD "/tmp/example/$t" grep -c "agent's session" $(find "/tmp/example/$t" -path '*agent-foundry/AGENTS.md') done ``` Each build's policy holds the rule once. On the tip, all of these pass: - `tests/verify-agent-config.sh`, 426 tests; - `tests/check-work-folder.sh`, 46 tests; - ShellCheck, prettier, the static validator, and `git diff --check main`.
docs(agents): bar session links and attribution
All checks were successful
Maintenance / checks (push) Successful in 8m47s
Maintenance / checks (pull_request) Successful in 8m58s
Maintenance / publish (push) Successful in 1m0s
Maintenance / publish (pull_request) Has been skipped
7fcb72884f
A client may ask its agent to end a pull request or a commit with a
link to its session or an attribution. The repository's rule, which
takes precedence over the client's, keeps them out of every commit
message, pull request, issue, and comment.
claudiomaradonna deleted branch docs/no-session-links 2026-12-02 23:40:13 +01:00
First-time contributor

Command failed

The agent did not complete this command, so nothing came of it. A person should look at this thread.

The run failed at step "aoe_purge". The operator reads the job logs in the Windmill editor, or finds the run with: wmill job list --path f/agents/bot_commands

## Command failed The agent did not complete this command, so nothing came of it. A person should look at this thread. The run failed at step "aoe_purge". The operator reads the job logs in the Windmill editor, or finds the run with: `wmill job list --path f/agents/bot_commands`
Sign in to join this conversation.
No description provided.