Skip to content

Chores/setup agentic coding#139

Merged
mike-sul merged 2 commits into
mainfrom
chores/setup-agentic-coding
Jun 10, 2026
Merged

Chores/setup agentic coding#139
mike-sul merged 2 commits into
mainfrom
chores/setup-agentic-coding

Conversation

@mike-sul

@mike-sul mike-sul commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator
  • Setup basic context and rules for AI agents.
  • Fix tiny issue in Makefile found by the agent.

@mike-sul mike-sul requested review from detsch and doanac June 9, 2026 09:51
Comment thread Makefile
@@ -57,7 +57,7 @@ format:
@$(GO) fmt ./...

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

on the commit message. It's not strictly required, but I'm seeing people include the model used to assist like "Opus 4.6". The kernel suggests this format:

https://docs.kernel.org/process/coding-assistants.html#attribution

I've also seen Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

@doanac doanac left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I like it. Just one question about attribution format

Comment thread AGENTS.md Outdated
mike-sul added 2 commits June 9, 2026 19:48
The test-unit target listed ./pkg/docker/..., but that package no longer
exists — its tests now live under pkg/compose. go test resolves patterns
before running, so the missing path made the entire target exit non-zero
and skipped every real test. Removing the dead path (and normalizing
./internal... to ./internal/...) restores a working, verifiable unit suite.

Signed-off-by: Mike Sul <mike.sul@foundries.io>
Assisted-by: Claude Code:claude-opus-4-8
AI coding agents contributing to this repo need explicit, enforceable
guardrails. Without them, agents drift from project conventions, run
toolchains against an unpredictable host, and leak per-tool config
into version control. This commit establishes that foundation:

- AGENTS.md codifies the operating rules (containerized validation,
  Go version pinning, architectural bounds, commit attribution) so
  agent contributions stay safe, reproducible, and reviewable.
- CLAUDE.md redirects Claude Code to those shared rules, avoiding a
  second, divergent copy of the guidance per tool.
- .gitignore is extended to exclude per-agent caches, logs, and local
  overrides (Claude, Cursor, Aider, Codex, etc.) so ephemeral tooling
  state never lands in history.

Routing every build, lint, and test target through the project
container guarantees Go 1.22 toolchain alignment and keeps host
machine pollution from masking real failures.

Signed-off-by: Mike Sul <mike.sul@foundries.io>
Assisted-by: Claude Code:claude-opus-4-8
@mike-sul mike-sul force-pushed the chores/setup-agentic-coding branch from da5130b to 9de76dd Compare June 9, 2026 17:57
@mike-sul mike-sul merged commit 2446770 into main Jun 10, 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