docs: 作業ブランチの命名規則を追加 - #116
Merged
Merged
Conversation
worktree スロットごとの作業ブランチを識別できるよう、worktrees/<番号>/ prefix と具体例を AGENTS.md に明記する。 Verification: git diff --check; required wording confirmed with rg.
worktree 以外の作業ブランチで使用できる prefix を chore、fix、feat、docs、refactor に限定する規則を AGENTS.md に追加する。 Verification: git diff --check; required prefix list confirmed with rg.
cmd-start-branch が AGENTS.md で許可されていない prefix を選ばないよう、種別表を5種類へ統一し、CI の eval と skill 一覧を更新する。 Verification: git diff --check; eval JSON parsed with jq. Skill validator unavailable due to missing PyYAML. deploy dry-run blocked by existing grilling tree hash mismatch.
cmd-start-branch が worktree のスロット番号を判定し、worktrees/<番号>/<type>/<short-task> 形式を選ぶようにする。番号を特定できない場合は確認へ戻し、代表 eval を追加する。 Verification: git diff --check; eval JSON parsed with jq.
upstream の grilling skill 更新により deploy dry-run が tree hash mismatch で失敗していたため、検証済みの最新 tree hash へ pin を更新する。 Verification: make deploy-dry-run; GOMODCACHE=/tmp/gomodcache GOCACHE=/tmp/gocache GOTOOLCHAIN=local go test ./...
外部 skill の挙動変更を無条件に追認せず固定できるよう、40文字の commit SHA を fetch・detached checkout する。grilling は従来 tree hash を持つ immutable commit へ固定する。 Verification: make deploy-dry-run; GOMODCACHE=/tmp/gomodcache GOCACHE=/tmp/gocache GOTOOLCHAIN=local go test ./...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
作業ブランチの命名規則を追加
Summary
worktree で作業するブランチを通常のブランチと区別できるよう、AGENTS.md にスロット番号を含む prefix 規則を追加します。通常ブランチで使用できる prefix も5種類に統一します。
主な変更点:
worktrees/<番号>/prefix を付ける規則を明記worktrees/1/feat/refine-uiを追加chore/、fix/、feat/、docs/、refactor/に限定cmd-start-branchの命名判断と eval を同じ規則へ統一やったこと
cmd-start-branchが worktree 内外でブランチ形式を切り替えるよう更新chore/へ集約grillingの内容を変えず、従来 tree hash を持つ upstream commit へ固定動作確認
git diff --check origin/main...HEADjq emptyで検証make deploy-dry-runGOMODCACHE=/tmp/gomodcache GOCACHE=/tmp/gocache GOTOOLCHAIN=local go test ./...(scripts/deploy)レビュー & 動作確認 チェックリスト
worktrees/<番号>/が worktree ブランチの prefix として明確かworktrees/1/feat/refine-uiが規則を正しく示しているかcmd-start-branchが worktree 内外で正しい形式を選ぶかgrillingの既存内容を維持した immutable pin になっているか推奨テスト計画:
make deploy-dry-runと deploy scripts の Go テストを実行するその他気になることや相談ごと
なし。
Closes #8