Skip to content

Commit ff3bb84

Browse files
authored
Merge pull request #11 from thisisthepy/work/issue-pr-rule
Docs: Land every feature through an issue and a pull request
2 parents 8f61942 + 982c311 commit ff3bb84

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

‎AGENTS.md‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,18 @@ build caches, model weights, `node_modules`) into every worktree is how 86 workt
5656
root, and `docs/` keeps only its subdirectories (no Markdown files directly under `docs/`).
5757
CI runs `tools/release/sync-release.sh` (`.github/workflows/release-sync.yml`) to produce that layout; do not hand-edit `release` or `main`.
5858

59+
### Issues and pull requests
60+
61+
Every new feature goes through an issue and a pull request:
62+
63+
1. Before starting, search the repository's issues (`gh issue list --state all --search "<keywords>"`).
64+
2. If no issue covers the work, open one (`gh issue create`) stating what and why, and the
65+
completion criterion — which tests must pass.
66+
3. Work on a `work/<topic>` branch, push every commit, and open a pull request into `develop`
67+
whose body contains `Closes #<number>`.
68+
4. Merge into `develop` through that pull request (`gh pr merge`), not by a local merge, so the
69+
issue is linked and closed.
70+
5971
## 5. Intent → Spec → Test → Code
6072

6173
This project runs on **intent-based spec-driven development** and **test-driven development**.

0 commit comments

Comments
 (0)