Skip to content

Commit 93d9b7e

Browse files
Document issue-first PR workflow
Co-authored-by: devmap-agent <238585242+devmap-agent@users.noreply.github.com>
1 parent 450d311 commit 93d9b7e

2 files changed

Lines changed: 40 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,34 @@ When working in this repository:
88
- Do not revert unrelated user changes.
99
- Prefer opening a pull request instead of pushing directly to `main`, unless the user explicitly asks to push to `main`.
1010

11+
## Issue-First Pull Request Workflow
12+
13+
Use an issue before opening a pull request for:
14+
15+
- bug reports and bug fixes;
16+
- reliability or security fixes;
17+
- MVP features or launch-checklist work;
18+
- user-facing UX or terminal-output changes.
19+
20+
Workflow:
21+
22+
1. Read the PRD and relevant documentation.
23+
2. Create a `codex/` branch and prepare the implementation locally.
24+
3. Add or update tests, documentation, and personal development notes.
25+
4. Run the relevant verification gates.
26+
5. Before committing, pushing, or opening the PR, stop and ask the user to
27+
create a GitHub issue. Provide a ready-to-use issue title and body.
28+
6. Wait for the user to provide the issue number.
29+
7. Commit and push the verified work, then open a PR that includes
30+
`Closes #<issue-number>` in the PR body.
31+
8. Give the user the PR link so they can review and merge it. The merge should
32+
close the linked issue automatically.
33+
34+
Do not create the GitHub issue on the user's behalf unless they explicitly ask.
35+
Small documentation-only, repository-process, typo, dependency-maintenance, or
36+
CI housekeeping changes may proceed without an issue unless the user requests
37+
one.
38+
1139
## Commits
1240

1341
* Keep the user's Git identity as the primary author whenever possible.

docs/for-me-personal/PROGRESS.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,18 @@ Terakhir diperbarui: 2026-06-14
3030
- Renderer panel dipisahkan agar layout lebar dan sempit dapat diuji langsung.
3131
- Automated test saat ini berjumlah 49 dan seluruhnya lulus.
3232

33+
### Issue-First PR Workflow
34+
35+
- Bug, reliability/security fix, fitur MVP, dan perubahan UX sekarang memakai
36+
issue GitHub sebelum PR dibuat.
37+
- Implementasi dan verification boleh diselesaikan lokal terlebih dahulu.
38+
- Sebelum commit, push, atau PR, agent berhenti dan memberi title/body issue
39+
siap pakai kepada maintainer.
40+
- Setelah nomor issue diberikan, PR harus memakai `Closes #N` agar issue
41+
tertutup otomatis ketika merge.
42+
- Perubahan dokumentasi/proses kecil, typo, dependency maintenance, dan CI
43+
housekeeping tidak wajib memakai issue.
44+
3345
## Update 2026-06-13
3446

3547
### Packed CLI End-to-End

0 commit comments

Comments
 (0)