Compare commits
4
Commits
5a6c6e97bc
...
c506bd836a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c506bd836a | ||
|
|
585ccd52c0 | ||
|
|
2c45a3cf10 | ||
|
|
a759756dae |
@@ -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
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user