diff --git a/.agent/agents.json b/.agent/agents.json new file mode 100644 index 0000000..2bdc375 --- /dev/null +++ b/.agent/agents.json @@ -0,0 +1,7 @@ +{ + "instructions": { + "agents": ["claude-code", "codex"], + "sections": ["guide"] + }, + "sources": {} +} diff --git a/.agent/agents.resolved b/.agent/agents.resolved new file mode 100644 index 0000000..92b22d4 --- /dev/null +++ b/.agent/agents.resolved @@ -0,0 +1,24 @@ +{ + "instructions": { + "chatgpt": {}, + "sections": [ + { + "hash": "sha256:52e8909886b9837ba2ad46599937b348641525431bbb9e72c82edb0f424f33a1", + "name": "guide", + "path": ".agent/instructions/guide.md", + "source": "." + } + ], + "targets": { + "AGENTS.md": { + "agents": ["claude-code", "codex"], + "blockHash": "sha256:81f9fdb691d1e83166d3e20656db4af7343b50572b4648e25c457d6058d11716", + "created": false, + "headingOffset": 0 + } + } + }, + "skills": {}, + "sources": {}, + "version": 1 +} diff --git a/.agent/instructions/guide.md b/.agent/instructions/guide.md new file mode 100644 index 0000000..5cddd16 --- /dev/null +++ b/.agent/instructions/guide.md @@ -0,0 +1,7 @@ +--- +description: Keep the agents-tools website's generated sources and checks in their owning commands. +--- +# Website development + +Read [README.md](README.md) for development, source updates and deployment. Never edit `sources/` by +hand; use `npm run sources:update`. Run `npm run check` before handing off a change. diff --git a/.github/workflows/source-policy.yml b/.github/workflows/source-policy.yml index 071a9ac..1640d25 100644 --- a/.github/workflows/source-policy.yml +++ b/.github/workflows/source-policy.yml @@ -12,7 +12,7 @@ concurrency: cancel-in-progress: true jobs: policy: - uses: agents-tools/github-workflows/.github/workflows/policy.yml@2ce48fb8834304acf010fa1b47a05db6148ab6c4 + uses: agents-tools/github-workflows/.github/workflows/policy.yml@bb0a8c8c39827a364b9d3cbf4069754e7d975586 with: allow-terms: | ChatGPT diff --git a/.gitignore b/.gitignore index 05a18f7..baeac29 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,9 @@ dist/ test-results/ playwright-report/ .build/ -.agent/ .claude/ .DS_Store +/.agent/* +!/.agent/instructions/ +!/.agent/agents.json +!/.agent/agents.resolved diff --git a/AGENTS.md b/AGENTS.md index e0e2eb2..eb59ecb 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,3 +1,5 @@ + + # Website development Read [README.md](README.md) for development, source updates and deployment. Never edit `sources/` by