4 Commits
Author SHA1 Message Date
codingetandClaude c506bd836a docs(readme): update AI disclosure for AGENTS.md changes
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-08 23:44:15 +00:00
codingetandClaude 585ccd52c0 docs(agents): add PR finalisation checklist
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-08 23:41:48 +00:00
codingetandClaude 2c45a3cf10 docs(agents): use actual model name in Co-Authored-By trailer
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-08 23:37:01 +00:00
codingetandClaude a759756dae docs(agents): add worktree and commit-trailer guidelines
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-08 23:34:35 +00:00
2 changed files with 15 additions and 0 deletions
+14
View File
@@ -7,6 +7,20 @@ Guidelines for AI agents (Claude Code, etc.) working in this repository.
- Open PRs with the `tea` CLI (`tea pr create`).
- Always prefix PR titles with `WIP:` when opening them.
- Keep the PR description up to date: update it after each push to reflect the current state of the branch, not just the initial intent.
- When asked to finalise a PR: run all relevant tests, typechecks, lints, and formatters; ensure the AI disclosure in `README.md` and the PR description are up to date; then remove the `WIP:` prefix from the PR title to mark it ready for merging.
## Commits
- Always include a `Co-Authored-By` trailer in every commit message for work assisted or authored by an AI agent, using the actual model that did the work:
```
Co-Authored-By: <Model Name> <noreply@provider.example>
```
For example: `Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>` or `Co-Authored-By: GPT-5.5 <noreply@openai.com>`. Do not hardcode a model name — use whichever model is actually running.
## Worktrees
- When working inside a git worktree, always work on a feature branch — never commit directly to `webnet` or `main` unless explicitly directed.
- The repository has a `tailscale` submodule. If you need to read or edit it while in a worktree, initialize and use the copy inside the worktree (`git submodule update --init` from the worktree root), not the one in the main repo checkout. Work on the main repo's submodule may be ongoing and must not be disturbed.
## Coding style
+1
View File
@@ -60,6 +60,7 @@ This project was set up with the assistance of [Claude Code](https://claude.ai/c
- The `packages/tsconnect` TypeScript SDK
- The `packages/test-app` Vite test application
- The repo tooling setup (ESLint, Prettier, lint-staged, commitlint, dpdm, TypeScript 6)
- `AGENTS.md` — the agent guidelines file (worktree/submodule rules, commit-trailer convention, PR finalisation checklist)
The following were hand-written: