Repository navigation
Issue Form と /issue が Issue の種別を付ける - #38
Merged
Merged
Conversation
直近の Issue 71 件はすべて種別なしだった。Form も /issue も種別を指定して いなかったためで、Organization に種別を足しただけでは使われない。 Experiment 種別を 2026-09-30 に足したので、Issue を作る 2 つの経路に 種別を入れる(development-docs の D10)。 種別は Form の type: 1 箇所に書く。Web の Form はそれで付く。CLI の issue-form.sh は Form の type: を読んで skeleton と check に表示し、 /issue は gh issue create --type に渡す。種別を書き写さないので、Form を 直せば両方が変わる。--type は gh 2.94.0 で入った(cli/cli#13057)。古い gh で unknown flag と出たら、--type を外さずに更新を依頼させる。 Form に存在しない種別を書いたときの挙動は公式文書に無い。種別の名前を Organization 側で変えたり無効にしたりしても Form は黙って残るので、監査 (org_audit.py)が Form の type: を Organization の有効な種別と照合する。 取れなかったときは「無い」と言わない。 実測: gh issue create --type Feature で作った #37 に種別が付いた(この Organization で最初)。テスト: 監査 42 件、Form と issue-form.sh 4 件 (gh を差し替え)すべて OK。壊す 9 通りすべてで落ちた。実 Organization への読み取り実行で所見 0 件。 Closes #37 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Sep 30, 2026
massu2002
added a commit
that referenced
this pull request
Sep 30, 2026
2 つは全 6 Repository に同じ複製がある。種別の対応(#38)では、正本を 直した後に 5 Repository へ 1 件ずつ同期する必要があった。照合の対象外 なので、同期を忘れた Repository だけ種別の無い Issue に戻っても気づけ ない。validator で 3 回起きたのと同じ形である。 いまは 6 Repository すべてで同一(2026-09-30 実測)なので、入れても どの Repository の CI も止まらない。SHARED に足し、hook・混入検査と同じ 形で「対象であること」のテストを足した。 実測: 5 Repository の現在の main を新しい正本で照合し、すべて一致(Core 2 件は 7 ファイル、混入検査を持たない 3 件は 6 ファイル)。テスト 11 件 OK。2 つを SHARED から外す / byte 比較を無効にする、の 3 通りで落ちた。 Closes #39 Co-authored-by: Claude Opus 5.5 <[email protected]>
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.
関連Issue
Closes #37
変更目的
Issue を作る 2 つの経路(Web の Issue Form と CLI の
/issue)が Issue の種別(Feature / Bug / Experiment)を付けるようにする(development-docs の D10)。直近の Issue 71 件はすべて種別なしだった。変更内容
type:を付けた(feature → Feature、bug → Bug、experiment → Experiment)。種別の正本はここ 1 箇所issue-form.shが Form のtype:を読み、skeleton(標準エラー)と check の直後に--type <種別>を表示する。種別を書き写さない/issueの作成コマンドに--typeを付けた。gh 2.94.0 以降が必要(Add Issues 2.0 support: issue types, sub-issues, and relationships cli/cli#13057)。古い gh では外さずに更新を依頼させるtest_issue_form.py(新規、CI に追加): 各 Form にtype:があること、issue-form.shがそれを表示すること(gh を差し替え、ネットワークなし)type:が Organization の有効な種別にあるか。取れなかったときは「無い」と言わない確認結果
gh issue create --type Featureで作った #37 に種別 Feature が付いた(この Organization で最初)。--typeなしの #35 は種別なしtest_issue_form.pytest_org_audit.py影響範囲
issue-form.shと/issueを同じ内容にしてから(他 5 Repository の PR を続けて出す)顧客差分・Coreへの影響(該当する場合)
Reviewerに確認してほしい点
issue-form.shと/issueは全 6 Repository に同じ複製がある。今回は照合(copy_sync_check.py)の対象に入れていない(入れると、複製を直す PR が merge されるまで他 5 件の CI が止まる)🤖 Generated with Claude Code