From 7f0614f1748b2ed816fd045645e7118e2dc2cb07 Mon Sep 17 00:00:00 2001 From: yansfil Date: Sun, 20 Sep 2026 10:46:16 +0900 Subject: [PATCH 1/3] Order the pull request template the way a reviewer reads it Summary with screenshots, then Review (what needs judgment, which files to watch and why, questions), then Evidence (confirmed and not confirmed), then Breaking change only when something breaks. The Risk surface checklist folds into the file list's reasons, Related moves to one line above Summary, the AI tooling checkboxes become one line, and a folded Verification record block at the end takes the machine facts that /ship generates. AGENTS.md and CONTRIBUTING.md name the new sections. --- .github/pull_request_template.md | 68 ++++++++++++++------------------ AGENTS.md | 3 +- CONTRIBUTING.md | 4 +- 3 files changed, 33 insertions(+), 42 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index a2fe7ed7f9..9dd5c15c11 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,59 +1,49 @@ -## Summary - - - -## Related +Related: - +## Summary -## Breaking change + -## Review focus +## Review - + -- **사람이 판단할 것**: -- **위험한 파일**: -- **리뷰어에게 묻는 것**: +- **판단해 주세요**: +- **조심해서 볼 파일**: +- **질문**: -## Risk surface - - +## Evidence -- **Runtime mutex**: `Mutex`을 쥔 채 무엇을 하는가? 서브프로세스, 블로킹 I/O, 큰 직렬화가 그 안에 있는가? -- **Snapshot wire**: 어느 채널인가(revisioned `rest`, top-level scalar, cursored stream)? 왜 그 채널인가? -- **Ownership**: Herdr 소유(pane, split, zoom, cwd, PTY)인가 core 소유(visible tab, focus pane, panels, text scale)인가? 기다리는가, 앞서 나가는가? -- **Herdr contract**: `contracts/herdr-api.schema.json`에 없는 메서드나 필드를 부르는가? -- **Failure path**: 실패하면 사용자에게 무엇이 보이고 어디에 기록되는가? -- **High-frequency path**: 입력당 늘어난 일, 깨어나는 소비자, 대기 작업의 상한, 되살아난 실패를 잡는 회귀 테스트. + -## Evidence +- **확인한 것**: +- **확인하지 못한 것**: +- **생성물**: - +## Breaking change -- **확인한 것**: -- **확인하지 못한 것과 그 이유**: -- **화면 증거**: + -## AI tooling +**AI tooling**: - +
Verification record -- [ ] 사람이 직접 작성 - [ ] 일부를 AI 도구로 작성 - [ ] 대부분을 AI 도구로 작성 + -**손으로 확인한 것**: +
diff --git a/AGENTS.md b/AGENTS.md index 3e79edb7d4..2f5aaa75a8 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -20,7 +20,8 @@ Before opening a browser inside Hide, read `docs/BROWSER_PANES.md` for the host `main` takes pull-request merges only, and the `verify` workflow has to pass; this repository currently uses merge commits, and no one, maintainer included, can push around branch protection. `CONTRIBUTING.md` lists every gate with its local command; run the lanes the diff touches before opening the pull request, and change a gate that is wrong in the same pull request with the reason in the description. -Answer the template's `Risk surface`, `Review focus` and `Breaking change` from the diff, not from intent, and delete the lines that do not apply rather than filling them with "N/A". +Write the template in the order a reviewer reads it: `Summary` with screenshots, `Review` (what needs judgment, which files to watch and why, questions), `Evidence` (what was and was not confirmed), then `Breaking change` only when something breaks; answer from the diff, not from intent, and delete the lines that do not apply rather than filling them with "N/A". +The reasons this repository has been burned by stay behind `Review`'s file list (runtime mutex, snapshot wire, ownership, Herdr contract, failure path, high-frequency path); machine facts such as SHAs, suite output and evidence hashes go in the folded `Verification record` block at the end, which `/ship` fills. ## Evidence Belongs Outside The Repository diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bbe7aae9b4..19d4372340 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -141,6 +141,6 @@ It never merges, because three Herdr behaviors the core relies on are covered by Write commits as project work: what changed in the product, code, or documentation, and why. Do not add AI agent, model, or tool names to commit messages, trailers, branch names, or pull request text. -The pull request template's `AI tooling` section is a checkbox and a line naming what you checked by hand; that is a review input, not an attribution line. -It is a checkbox because the attribution gate rejects a credit phrase wherever it appears, including inside backticks, so the honest prose answer to that question is the thing the gate exists to block. +The pull request template's `AI tooling` line names how the change was written and what you checked by hand; that is a review input, not an attribution line. +It is one line because the attribution gate rejects a credit phrase wherever it appears, including inside backticks, so the honest prose answer to that question is the thing the gate exists to block. When the change's subject is one of the integrated products, name it in full or quote its command in backticks. From f01e80cd8126cd83aca5908aeb4a02f74a68dd7d Mon Sep 17 00:00:00 2001 From: yansfil Date: Sun, 20 Sep 2026 10:56:15 +0900 Subject: [PATCH 2/3] Name local paths without a home directory in the template --- .github/pull_request_template.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 9dd5c15c11..ea5ee484b1 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -12,7 +12,7 @@ Related: From 91000c5986dc1035208cd5b4856b72f5e4ff7cb3 Mon Sep 17 00:00:00 2001 From: yansfil Date: Sun, 20 Sep 2026 11:28:10 +0900 Subject: [PATCH 3/3] Point PR screenshot uploads at the assets repository --- agents/config.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/agents/config.json b/agents/config.json index 87fedb1963..e088d16c98 100644 --- a/agents/config.json +++ b/agents/config.json @@ -7,7 +7,8 @@ "watch": true, "maxFixAttempts": 2, "timeoutSeconds": 240 - } + }, + "assetsRepo": "yansfil/pr-assets" }, "worktree": { "enabled": true,