Skip to content

Comments

docs: unify AI agent documentation in AGENTS.md#24

Merged
satococoa merged 1 commit intomainfrom
codex/unify-ai-agent-documentation-in-agents.md
Oct 7, 2025
Merged

docs: unify AI agent documentation in AGENTS.md#24
satococoa merged 1 commit intomainfrom
codex/unify-ai-agent-documentation-in-agents.md

Conversation

@satococoa
Copy link
Owner

@satococoa satococoa commented Oct 6, 2025

Summary

  • consolidate AI assistant guidance into AGENTS.md, adding design decisions, TDD workflow, and shell integration architecture details
  • remove redundant documentation (CLAUDE.md content, docs/development-history.md, .github/copilot-instructions.md) and point contributors to the unified guide
  • make CLAUDE.md a symlink to AGENTS.md and update references to the canonical file

Testing

  • not run (docs only)

https://chatgpt.com/codex/tasks/task_e_68e3d739af90832781c6f1ca5e8c8256

Summary by CodeRabbit

  • Documentation
    • Introduced a single authoritative contributor guide (AGENTS.md) that centers a test-driven development workflow with practical testing strategies and cycle expectations.
    • Updated contributor references (including CONTRIBUTING.md and testing docs) to point to the new guide; CLAUDE.md remains for backward compatibility.
    • Removed outdated materials (development history, tooling-specific guides, and GitHub Copilot instructions) to simplify and clarify contributor docs.

Copilot AI review requested due to automatic review settings October 6, 2025 15:20
@coderabbitai
Copy link

coderabbitai bot commented Oct 6, 2025

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.

Walkthrough

Removed two documentation files and consolidated design/testing guidance into a new AGENTS.md; updated references in CONTRIBUTING.md and docs/testing-guidelines.md to point to AGENTS.md (CLAUDE.md retained as a backward-compat symlink). No code or public API changes.

Changes

Cohort / File(s) Summary
Docs removed
/.github/copilot-instructions.md, /docs/development-history.md
Deleted Copilot repository instructions and the development-history document.
TDD & agent documentation added
/AGENTS.md
Added comprehensive single-source-of-truth doc with TDD workflow, testing guidance, and new-command recommendations; replaced prior testing/design blocks.
Reference updates
/CONTRIBUTING.md, /docs/testing-guidelines.md, /CLAUDE.md
Updated doc references to point to AGENTS.md; CLAUDE.md retained as a symlink/back-compat entry.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Poem

In parchment burrows, I hop and weave,
Old trails pruned, new maps I leave.
AGENTS hum soft: "Test, then ship."
Red to green — a nimble skip.
With carrot cheers, the docs receive. 🥕✨

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The pull request title succinctly and accurately describes the primary change of consolidating AI agent documentation into AGENTS.md using the conventional “docs:” prefix, making it both clear and specific to the changeset.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch codex/unify-ai-agent-documentation-in-agents.md

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR consolidates AI assistant documentation by merging all guidance into AGENTS.md, removing redundant files, and creating a symlink for backward compatibility.

  • Unified guidance for AI assistants in single AGENTS.md file with comprehensive design decisions and TDD workflow
  • Removed redundant documentation files (CLAUDE.md content, development-history.md, copilot-instructions.md)
  • Created CLAUDE.md symlink to AGENTS.md for backward compatibility and updated references throughout

Reviewed Changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
docs/testing-guidelines.md Updated reference from CLAUDE.md to AGENTS.md with symlink note
docs/development-history.md Removed entire file - content consolidated into AGENTS.md
CONTRIBUTING.md Updated reference to mention AGENTS.md as primary with CLAUDE.md as symlink
CLAUDE.md Converted to symlink pointing to AGENTS.md
AGENTS.md Expanded with comprehensive design decisions, TDD workflow, and architecture details
.github/copilot-instructions.md Removed file - guidance moved to AGENTS.md

Comment on lines 7 to +8
> **Note**: For TDD bug fixing examples and architectural decisions, see
> [CLAUDE.md](../CLAUDE.md).
> [AGENTS.md](../AGENTS.md) (also available via the `CLAUDE.md` symlink).
Copy link

Copilot AI Oct 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The symlink explanation is unclear. Consider rephrasing to: 'see AGENTS.md for TDD bug fixing examples and architectural decisions.'

Copilot uses AI. Check for mistakes.
- Document new features and configuration options
- Include examples for complex functionality
- Update CLAUDE.md for design decisions
- Update AGENTS.md (CLAUDE.md is a symlink for backward compatibility) for design decisions
Copy link

Copilot AI Oct 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The parenthetical note about the symlink disrupts readability. Consider rephrasing to: 'Update AGENTS.md for design decisions (note: CLAUDE.md is maintained as a symlink for backward compatibility)'

Suggested change
- Update AGENTS.md (CLAUDE.md is a symlink for backward compatibility) for design decisions
- Update AGENTS.md for design decisions (note: CLAUDE.md is maintained as a symlink for backward compatibility)

Copilot uses AI. Check for mistakes.
@satococoa satococoa self-assigned this Oct 6, 2025
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (2)
AGENTS.md (2)

93-97: Promote “Implementation Notes” to a heading.

Markdownlint (MD036) warns about using bold text as a pseudo-heading. Swap the emphasis for a proper heading level to keep lint happy.

-**Implementation Notes**
+#### Implementation Notes

109-116: Add blank lines around the table.

MD058 expects a blank line before and after Markdown tables. Insert the spacing so docs passes lint.

-### User Experience Matrix
-| Installation Method | Tab Completion | cd Functionality |
+### User Experience Matrix
+
+| Installation Method | Tab Completion | cd Functionality |
 |---------------------|----------------|------------------|
 | Homebrew            | Automatic      | `eval "$(wtp hook <shell>)"` |
 | `go install`        | `eval "$(wtp completion <shell>)"` | `eval "$(wtp hook <shell>)"` |
-
-### Migration Notes
+
+### Migration Notes
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between df78125 and 77be55e.

📒 Files selected for processing (7)
  • .github/copilot-instructions.md (0 hunks)
  • AGENTS.md (2 hunks)
  • CLAUDE.md (0 hunks)
  • CLAUDE.md (1 hunks)
  • CONTRIBUTING.md (1 hunks)
  • docs/development-history.md (0 hunks)
  • docs/testing-guidelines.md (1 hunks)
💤 Files with no reviewable changes (2)
  • docs/development-history.md
  • .github/copilot-instructions.md
🧰 Additional context used
📓 Path-based instructions (3)
CLAUDE.md

📄 CodeRabbit inference engine (AGENTS.md)

Design decisions, TDD workflow, and dev tips are documented in CLAUDE.md

Files:

  • CLAUDE.md
docs/**/*.md

📄 CodeRabbit inference engine (CLAUDE.md)

Update documentation (including architecture changes and testing guidelines) under docs/ when behavior or design changes

Files:

  • docs/testing-guidelines.md
docs/**

📄 CodeRabbit inference engine (AGENTS.md)

Project documentation is kept under the docs/ directory

Files:

  • docs/testing-guidelines.md
🧠 Learnings (16)
📓 Common learnings
Learnt from: CR
PR: satococoa/wtp#0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-11T13:56:29.054Z
Learning: Reference AGENTS.md for contributor workflow; cite CLAUDE.md for deep design questions
Learnt from: CR
PR: satococoa/wtp#0
File: AGENTS.md:0-0
Timestamp: 2025-09-17T13:46:35.261Z
Learning: Applies to CLAUDE.md : Design decisions, TDD workflow, and dev tips are documented in CLAUDE.md
📚 Learning: 2025-08-11T13:56:29.054Z
Learnt from: CR
PR: satococoa/wtp#0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-11T13:56:29.054Z
Learning: Reference AGENTS.md for contributor workflow; cite CLAUDE.md for deep design questions

Applied to files:

  • CONTRIBUTING.md
  • docs/testing-guidelines.md
📚 Learning: 2025-09-17T13:46:35.261Z
Learnt from: CR
PR: satococoa/wtp#0
File: AGENTS.md:0-0
Timestamp: 2025-09-17T13:46:35.261Z
Learning: Applies to CLAUDE.md : Design decisions, TDD workflow, and dev tips are documented in CLAUDE.md

Applied to files:

  • CONTRIBUTING.md
  • docs/testing-guidelines.md
📚 Learning: 2025-09-17T13:46:06.013Z
Learnt from: CR
PR: satococoa/wtp#0
File: CLAUDE.md:0-0
Timestamp: 2025-09-17T13:46:06.013Z
Learning: Applies to README.md : Update README.md with documentation and examples for new features

Applied to files:

  • CONTRIBUTING.md
📚 Learning: 2025-09-17T13:46:06.013Z
Learnt from: CR
PR: satococoa/wtp#0
File: CLAUDE.md:0-0
Timestamp: 2025-09-17T13:46:06.013Z
Learning: Applies to docs/**/*.md : Update documentation (including architecture changes and testing guidelines) under docs/ when behavior or design changes

Applied to files:

  • CONTRIBUTING.md
📚 Learning: 2025-09-17T13:46:35.261Z
Learnt from: CR
PR: satococoa/wtp#0
File: AGENTS.md:0-0
Timestamp: 2025-09-17T13:46:35.261Z
Learning: Applies to go.mod : Root Go module path must be github.com/satococoa/wtp

Applied to files:

  • AGENTS.md
📚 Learning: 2025-09-17T13:46:06.013Z
Learnt from: CR
PR: satococoa/wtp#0
File: CLAUDE.md:0-0
Timestamp: 2025-09-17T13:46:06.013Z
Learning: Applies to **/*_test.go : Keep tests focused: one test per feature/behavior/bug

Applied to files:

  • AGENTS.md
📚 Learning: 2025-08-11T13:56:29.054Z
Learnt from: CR
PR: satococoa/wtp#0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-11T13:56:29.054Z
Learning: Applies to **/*_test.go : Write tests as table-driven tests and name test files with *_test.go

Applied to files:

  • AGENTS.md
📚 Learning: 2025-09-17T13:46:35.261Z
Learnt from: CR
PR: satococoa/wtp#0
File: AGENTS.md:0-0
Timestamp: 2025-09-17T13:46:35.261Z
Learning: Applies to **/*_test.go : Use standard library testing with testify for assertions in tests

Applied to files:

  • AGENTS.md
📚 Learning: 2025-09-17T13:46:06.013Z
Learnt from: CR
PR: satococoa/wtp#0
File: CLAUDE.md:0-0
Timestamp: 2025-09-17T13:46:06.013Z
Learning: Applies to **/*_test.go : Test behavior, not implementation details; use meaningful assertions

Applied to files:

  • AGENTS.md
📚 Learning: 2025-09-17T13:46:35.261Z
Learnt from: CR
PR: satococoa/wtp#0
File: AGENTS.md:0-0
Timestamp: 2025-09-17T13:46:35.261Z
Learning: Applies to **/*_test.go : Unit tests are Go *_test.go files colocated with the code; prefer table-driven tests and name test functions TestXxx

Applied to files:

  • AGENTS.md
📚 Learning: 2025-09-17T13:46:35.261Z
Learnt from: CR
PR: satococoa/wtp#0
File: AGENTS.md:0-0
Timestamp: 2025-09-17T13:46:35.261Z
Learning: Applies to **/*.go : Follow standard Go formatting and idioms (tabs, gofmt); package names are short and lowercase

Applied to files:

  • AGENTS.md
📚 Learning: 2025-09-17T13:46:06.013Z
Learnt from: CR
PR: satococoa/wtp#0
File: CLAUDE.md:0-0
Timestamp: 2025-09-17T13:46:06.013Z
Learning: Applies to **/*_test.go : Consider edge cases: include boundary conditions and error scenarios in tests

Applied to files:

  • AGENTS.md
📚 Learning: 2025-09-17T13:46:06.013Z
Learnt from: CR
PR: satococoa/wtp#0
File: CLAUDE.md:0-0
Timestamp: 2025-09-17T13:46:06.013Z
Learning: Applies to cmd/wtp/**/*.go : `wtp hook <shell>` must output a shell function that intercepts `wtp cd` for bash, zsh, and fish

Applied to files:

  • AGENTS.md
📚 Learning: 2025-09-17T13:46:35.261Z
Learnt from: CR
PR: satococoa/wtp#0
File: AGENTS.md:0-0
Timestamp: 2025-09-17T13:46:35.261Z
Learning: Applies to .wtp.yml : Project hooks are defined in .wtp.yml; keep hook commands deterministic and non-destructive by default

Applied to files:

  • AGENTS.md
📚 Learning: 2025-09-17T13:46:06.013Z
Learnt from: CR
PR: satococoa/wtp#0
File: CLAUDE.md:0-0
Timestamp: 2025-09-17T13:46:06.013Z
Learning: Applies to cmd/wtp/**/*.go : `wtp shell-init <shell>` should combine completion and hook output for convenient setup

Applied to files:

  • AGENTS.md
🪛 markdownlint-cli2 (0.18.1)
AGENTS.md

93-93: Emphasis used instead of a heading

(MD036, no-emphasis-as-heading)


110-110: Tables should be surrounded by blank lines

(MD058, blanks-around-tables)

@satococoa satococoa force-pushed the codex/unify-ai-agent-documentation-in-agents.md branch from 77be55e to bc5d277 Compare October 7, 2025 15:27
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (2)
AGENTS.md (2)

93-97: Convert “Implementation Notes” into a proper heading

Markdownlint (MD036) flags the bold text used as a pseudo-heading here. Switching to an actual heading keeps the document lint-clean and consistent with the rest of the guide.

-**Implementation Notes**
+### Implementation Notes

109-116: Add blank lines around the table for markdownlint compliance

The table needs blank lines before and after it to satisfy markdownlint rule MD058 and match surrounding section formatting.

 ### User Experience Matrix
-| Installation Method | Tab Completion | cd Functionality |
-|---------------------|----------------|------------------|
-| Homebrew            | Automatic      | `eval "$(wtp hook <shell>)"` |
-| `go install`        | `eval "$(wtp completion <shell>)"` | `eval "$(wtp hook <shell>)"` |
+ 
+| Installation Method | Tab Completion | cd Functionality |
+|---------------------|----------------|------------------|
+| Homebrew            | Automatic      | `eval "$(wtp hook <shell>)"` |
+| `go install`        | `eval "$(wtp completion <shell>)"` | `eval "$(wtp hook <shell>)"` |
+
 ### Migration Notes
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 77be55e and bc5d277.

📒 Files selected for processing (7)
  • .github/copilot-instructions.md (0 hunks)
  • AGENTS.md (2 hunks)
  • CLAUDE.md (0 hunks)
  • CLAUDE.md (1 hunks)
  • CONTRIBUTING.md (1 hunks)
  • docs/development-history.md (0 hunks)
  • docs/testing-guidelines.md (1 hunks)
💤 Files with no reviewable changes (2)
  • docs/development-history.md
  • .github/copilot-instructions.md
✅ Files skipped from review due to trivial changes (1)
  • CLAUDE.md
🚧 Files skipped from review as they are similar to previous changes (3)
  • CLAUDE.md
  • CONTRIBUTING.md
  • docs/testing-guidelines.md
🧰 Additional context used
🧠 Learnings (13)
📓 Common learnings
Learnt from: CR
PR: satococoa/wtp#0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-11T13:56:29.054Z
Learning: Reference AGENTS.md for contributor workflow; cite CLAUDE.md for deep design questions
Learnt from: CR
PR: satococoa/wtp#0
File: AGENTS.md:0-0
Timestamp: 2025-09-17T13:46:35.261Z
Learning: Applies to CLAUDE.md : Design decisions, TDD workflow, and dev tips are documented in CLAUDE.md
📚 Learning: 2025-08-11T13:56:29.054Z
Learnt from: CR
PR: satococoa/wtp#0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-11T13:56:29.054Z
Learning: Reference AGENTS.md for contributor workflow; cite CLAUDE.md for deep design questions

Applied to files:

  • AGENTS.md
📚 Learning: 2025-09-17T13:46:35.261Z
Learnt from: CR
PR: satococoa/wtp#0
File: AGENTS.md:0-0
Timestamp: 2025-09-17T13:46:35.261Z
Learning: Applies to CLAUDE.md : Design decisions, TDD workflow, and dev tips are documented in CLAUDE.md

Applied to files:

  • AGENTS.md
📚 Learning: 2025-09-17T13:46:35.261Z
Learnt from: CR
PR: satococoa/wtp#0
File: AGENTS.md:0-0
Timestamp: 2025-09-17T13:46:35.261Z
Learning: Applies to go.mod : Root Go module path must be github.com/satococoa/wtp

Applied to files:

  • AGENTS.md
📚 Learning: 2025-08-11T13:56:29.054Z
Learnt from: CR
PR: satococoa/wtp#0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-11T13:56:29.054Z
Learning: Applies to **/*_test.go : Write tests as table-driven tests and name test files with *_test.go

Applied to files:

  • AGENTS.md
📚 Learning: 2025-09-17T13:46:35.261Z
Learnt from: CR
PR: satococoa/wtp#0
File: AGENTS.md:0-0
Timestamp: 2025-09-17T13:46:35.261Z
Learning: Applies to **/*_test.go : Use standard library testing with testify for assertions in tests

Applied to files:

  • AGENTS.md
📚 Learning: 2025-10-06T16:58:05.857Z
Learnt from: CR
PR: satococoa/wtp#0
File: CLAUDE.md:0-0
Timestamp: 2025-10-06T16:58:05.857Z
Learning: Applies to **/*_test.go : Test behavior, not implementation details

Applied to files:

  • AGENTS.md
📚 Learning: 2025-09-17T13:46:35.261Z
Learnt from: CR
PR: satococoa/wtp#0
File: AGENTS.md:0-0
Timestamp: 2025-09-17T13:46:35.261Z
Learning: Applies to **/*_test.go : Unit tests are Go *_test.go files colocated with the code; prefer table-driven tests and name test functions TestXxx

Applied to files:

  • AGENTS.md
📚 Learning: 2025-10-06T16:58:05.857Z
Learnt from: CR
PR: satococoa/wtp#0
File: CLAUDE.md:0-0
Timestamp: 2025-10-06T16:58:05.857Z
Learning: Applies to **/*_test.go : Follow TDD: write a failing test before implementing changes

Applied to files:

  • AGENTS.md
📚 Learning: 2025-09-17T13:46:35.261Z
Learnt from: CR
PR: satococoa/wtp#0
File: AGENTS.md:0-0
Timestamp: 2025-09-17T13:46:35.261Z
Learning: Applies to **/*.go : Follow standard Go formatting and idioms (tabs, gofmt); package names are short and lowercase

Applied to files:

  • AGENTS.md
📚 Learning: 2025-10-06T16:58:05.857Z
Learnt from: CR
PR: satococoa/wtp#0
File: CLAUDE.md:0-0
Timestamp: 2025-10-06T16:58:05.857Z
Learning: Applies to **/*_test.go : Keep tests focused: one behavior/feature/bug per test

Applied to files:

  • AGENTS.md
📚 Learning: 2025-10-06T16:58:05.857Z
Learnt from: CR
PR: satococoa/wtp#0
File: CLAUDE.md:0-0
Timestamp: 2025-10-06T16:58:05.857Z
Learning: Applies to **/*_test.go : Consider edge cases: include boundary conditions and error scenarios in tests

Applied to files:

  • AGENTS.md
📚 Learning: 2025-09-17T13:46:35.261Z
Learnt from: CR
PR: satococoa/wtp#0
File: AGENTS.md:0-0
Timestamp: 2025-09-17T13:46:35.261Z
Learning: Applies to .wtp.yml : Project hooks are defined in .wtp.yml; keep hook commands deterministic and non-destructive by default

Applied to files:

  • AGENTS.md
🪛 markdownlint-cli2 (0.18.1)
AGENTS.md

93-93: Emphasis used instead of a heading

(MD036, no-emphasis-as-heading)


110-110: Tables should be surrounded by blank lines

(MD058, blanks-around-tables)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: E2E Tests (macos-latest)

@satococoa satococoa merged commit 7025099 into main Oct 7, 2025
7 checks passed
@satococoa satococoa deleted the codex/unify-ai-agent-documentation-in-agents.md branch October 7, 2025 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant