Skip to content

docs: consolidate CLAUDE.md into AGENTS.md#40

Merged
ojongerius merged 2 commits intomainfrom
claude/cool-maxwell-5cf891
Apr 26, 2026
Merged

docs: consolidate CLAUDE.md into AGENTS.md#40
ojongerius merged 2 commits intomainfrom
claude/cool-maxwell-5cf891

Conversation

@ojongerius
Copy link
Copy Markdown
Contributor

Summary

  • Merged all unique content from CLAUDE.md into AGENTS.md (Toolchain section, make commands, running examples with custom port, and test placement/seeding conventions)
  • CLAUDE.md now contains only @AGENTS.md — a single reference so there is one source of truth to maintain
  • Minor fix: go vet command was missing the ./... argument in AGENTS.md

Test plan

  • Verify AGENTS.md contains all content previously in CLAUDE.md
  • Verify CLAUDE.md contains only @AGENTS.md

Merge all CLAUDE.md content (Toolchain section, make commands, running
examples, test conventions) into AGENTS.md so there is a single source
of truth. CLAUDE.md now delegates to AGENTS.md via @AGENTS.md.
Copy link
Copy Markdown

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

Consolidates contributor/agent guidance by merging unique content from CLAUDE.md into AGENTS.md and leaving CLAUDE.md as a single pointer to the canonical document.

Changes:

  • Added Toolchain details, additional commands, and test seeding/placement conventions to AGENTS.md.
  • Replaced the contents of CLAUDE.md with a single reference to AGENTS.md.
  • Fixed the documented go vet invocation to use ./....

Reviewed changes

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

File Description
CLAUDE.md Replaced full guidance with a single reference to AGENTS.md as the source of truth.
AGENTS.md Added consolidated toolchain/commands/conventions content and corrected go vet documentation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread AGENTS.md Outdated
| Task | Command |
|------|---------|
| Run | `go run ./cmd/dashboard -db path/to/receipts.db` |
| Run (custom port) | `./dashboard -db path/to/receipts.db -port 9090` |
Copy link

Copilot AI Apr 26, 2026

Choose a reason for hiding this comment

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

Quick reference mixes go run for the basic Run command with ./dashboard for the custom-port Run command. ./dashboard will fail unless the binary has already been built in the repo root. Suggest making both Run commands consistent (either both go run ./cmd/dashboard ... or both ./dashboard ... / dashboard ... with an explicit build/install prerequisite).

Suggested change
| Run (custom port) | `./dashboard -db path/to/receipts.db -port 9090` |
| Run (custom port) | `go run ./cmd/dashboard -db path/to/receipts.db -port 9090` |

Copilot uses AI. Check for mistakes.
Comment thread CLAUDE.md
- Run `go vet ./...` and `go test ./...` before committing
- Tests sit alongside source files as `*_test.go`
- Write tests before implementation (TDD)
@AGENTS.md
Copy link

Copilot AI Apr 26, 2026

Choose a reason for hiding this comment

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

@AGENTS.md is not rendered as a clickable link on GitHub and isn’t a standard include directive in Markdown. If the intention is to redirect human readers, consider using a normal Markdown link (e.g. "See AGENTS.md") or otherwise clarify that this is a tool-specific include directive.

Suggested change
@AGENTS.md
See [AGENTS.md](AGENTS.md).

Copilot uses AI. Check for mistakes.
Comment thread AGENTS.md Outdated

## Toolchain

- **Language:** Go 1.22+
Copy link

Copilot AI Apr 26, 2026

Choose a reason for hiding this comment

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

Toolchain section says Go 1.22+, but this repo’s go.mod specifies go 1.26.1 (and CONTRIBUTING.md also mentions 1.26+). Update this to match the actual minimum supported Go version to avoid misleading setup instructions.

Suggested change
- **Language:** Go 1.22+
- **Language:** Go 1.26+

Copilot uses AI. Check for mistakes.
@ojongerius ojongerius merged commit 499e237 into main Apr 26, 2026
4 checks 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.

2 participants