Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
eada9e0
feat(instructions)!: generate targets from instructions files
showxu Oct 26, 2026
37d3bf6
fix(instructions): follow notice ownership in output and remedies
showxu Oct 26, 2026
3b4eb90
docs(demo): re-record the session for generated instruction files
showxu Oct 26, 2026
1bbbc3f
fix(instructions): restore remedies that keep the lock for install an…
showxu Oct 26, 2026
e6331a6
fix(instructions): have install and remove remedies move files aside …
showxu Oct 26, 2026
06cdb26
build: pin core to the instruction units commit
showxu Oct 26, 2026
26b3e49
docs: generate AGENTS.md from instruction units
showxu Oct 26, 2026
ee17c51
ci: pin shared workflows to the policy that accepts instruction files
showxu Oct 26, 2026
495c1f9
build: pin core to the commit that keeps in-tree dangling links
showxu Oct 26, 2026
17c4f65
ci: pin shared workflows to the policy that keeps nested private stat…
showxu Oct 26, 2026
0dbb003
build: pin core to the commit that resolves links inside the root
showxu Oct 26, 2026
ba1ad72
build: pin core to the commit that splits link paths at slash bytes
showxu Oct 26, 2026
d29890f
build: pin core to the Prettier state layout and rewrite this reposit…
showxu Oct 26, 2026
51e6607
docs: describe the state file layout and its one-pass normalization
showxu Oct 26, 2026
1674438
ci: pin shared workflows to the merged instruction files policy
showxu Oct 26, 2026
03d5353
docs: follow the organization standard's default branch
showxu Oct 26, 2026
9b00316
chore(release): prepare 0.2.0
showxu Oct 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .agent/agents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"instructions": {
"agents": ["claude-code", "codex"],
"sections": [
"guide",
"agents-tools:shared/swift-package-route",
"agents-tools:shared/swift-package-tests"
]
},
"sources": {
"agents-tools": {
"branch": "master",
"git": "github.com/agents-tools/.github",
"path": ".agent"
}
}
}
47 changes: 47 additions & 0 deletions .agent/agents.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"instructions": {
"chatgpt": {},
"sections": [
{
"hash": "sha256:5621e384e329921041b3370990d001da255847cee4bd0327a4f5e5634221ca0a",
"name": "guide",
"path": ".agent/instructions/guide.md",
"source": "."
},
{
"hash": "sha256:a45b15d662eecec4b252fa2e35a608bab0ee137fae525669097f45d0f8c3f39d",
"name": "shared/swift-package-route",
"path": ".agent/instructions/shared/swift-package-route.md",
"revision": "fc8a2fc1b9d5dcea39788d0c70cd35dded2673ea",
"source": "github.com/agents-tools/.github"
},
{
"hash": "sha256:5d9f40d101938d2805482b9a147397bc07e9c3c9223cfe040f0905cb6c746825",
"name": "shared/swift-package-tests",
"path": ".agent/instructions/shared/swift-package-tests.md",
"revision": "fc8a2fc1b9d5dcea39788d0c70cd35dded2673ea",
"source": "github.com/agents-tools/.github"
}
],
"targets": {
"AGENTS.md": {
"agents": ["claude-code", "codex"],
"blockHash": "sha256:9e6506e733a03fca717725c229fe8d7e2e599ca96a77555c46086f159c8384ba",
"created": false,
"headingOffset": 0
}
}
},
"skills": {},
"sources": {
"github.com/agents-tools/.github": {
"kind": "git",
"path": ".agent",
"requirement": {
"branch": "master"
},
"url": "https://github.com/agents-tools/.github"
}
},
"version": 1
}
23 changes: 23 additions & 0 deletions .agent/instructions/guide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
description: Keep the agents CLI a command layer over core, with its own schemas, contract document and verified CI contexts.
---
# cli Agent Guide

## Ownership

- Keep command parsing, terminal output, exit codes and JSON schemas here, and
keep CLI schema types independent of core's encoded representations.
- Keep source resolution, declarations, locks, recovery, discovery and skill
lifecycle behavior in agents-tools/core; use its public APIs.
- Update `Documentation/Reference/CLI.md`, the shipped command contract, with
every command change. The executable version lives in
`Sources/CLI/EntryPoint.swift`.

## Workflows and Assets

- For workflow changes, run `actionlint` on every workflow. Verify the required
checks on a real candidate run before changing required-check settings.
- The demo job re-records `recording.json` and uploads it on drift. Render and
check terminal SVGs and the social preview locally with the
github-readme-design toolchain against `agents-tools/.github`'s DESIGN, fonts
and catalog.
6 changes: 3 additions & 3 deletions .github/assets/terminal/recording.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@
},
{
"command": "agents watch add ~/team-rules",
"output": "Watching local:~/team-rules from f4042e6."
"output": "Watching local:~/team-rules from 6fd753f."
},
{
"command": "git -C ~/team-rules commit -qam \"docs: review tests\"",
"output": ""
},
{
"command": "agents watch",
"output": "local:~/team-rules 1 commit since f4042e6 (now e21e12f)\n ~ changed code-review (instructions) 1 file"
"output": "local:~/team-rules 1 commit since 6fd753f (now da238b5)\n ~ changed code-review (instructions) 1 file"
},
{
"command": "agents update --apply",
"output": "~ changed code-review (instructions) local:~/team-rules f4042e6 -> e21e12f\n= repinned commits (instructions) local:~/team-rules f4042e6 -> e21e12f\n= repinned pdf local:~/team-rules f4042e6 -> e21e12f\n = unchanged claude-code (link) .claude/skills/pdf\n = unchanged codex (link) .agents/skills/pdf\nAGENTS.md (claude-code, codex)\n--- a/AGENTS.md\n+++ b/AGENTS.md\n@@ -2,7 +2,7 @@\n # Code review\n \n Check correctness.\n-Review code.\n+Review code and tests.\n \n # Commits\n \nUpdated pdf for claude-code, codex: f4042e6 -> e21e12f.\nUpdated AGENTS.md."
"output": "~ changed code-review (instructions) local:~/team-rules 6fd753f -> da238b5\n= repinned commits (instructions) local:~/team-rules 6fd753f -> da238b5\n= repinned pdf local:~/team-rules 6fd753f -> da238b5\n = unchanged claude-code (link) .claude/skills/pdf\n = unchanged codex (link) .agents/skills/pdf\nAGENTS.md (claude-code, codex)\n--- a/AGENTS.md\n+++ b/AGENTS.md\n@@ -3,7 +3,7 @@\n # Code review\n \n Check correctness.\n-Review code.\n+Review code and tests.\n \n # Commits\n \nUpdated pdf for claude-code, codex: 6fd753f -> da238b5.\nUpdated AGENTS.md."
}
]
}
9 changes: 9 additions & 0 deletions .github/assets/terminal/script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,17 @@ files:

Inspect page sizes, annotations, and extracted text.
team-rules/instructions/code-review.md: |
---
description: Review checklist.
---
# Code review

Check correctness.
Review code.
team-rules/instructions/commits.md: |
---
description: Commit message rules.
---
# Commits

Use clear messages.
Expand All @@ -26,6 +32,9 @@ steps:
- run: agents watch add ~/team-rules
- write: ~/team-rules/instructions/code-review.md
content: |
---
description: Review checklist.
---
# Code review

Check correctness.
Expand Down
Loading
Loading