外に出す行為の境界線を再定義 — 共有は自由、提出はドラフト解除、取り込みは人間 - #1
Merged
Conversation
語彙に境界線を導入する: 共有(feature ブランチへの push・下書きPR の作成)は 可逆なのでエージェントの自由領域、提出はゲートが sourceSha = HEAD = PR 先頭を 三点照合した上での下書きPR のレビュー可能化(ドラフト解除)、取り込み(merge)は 人間だけの操作でエージェントの語彙に入れない(forget と同格)。 - words.ts: 境界線の定義と Submission の再定義(prNumber/prUrl/readiedAt。 旧形式 pushedAt は読み取り互換で残す) - submit: push 後に gh で PR を照合しドラフト解除。PR なし・先頭不一致・ 閉じた PR は reason + fix で拒否。gh は launchd の最小 PATH を考慮して解決 - hook: guard-push.sh(push 一律遮断)→ guard-official.sh(公式化だけ遮断: ドラフト解除・マージ・非ドラフト PR 作成・デフォルトブランチ直 push)。 hook は入口の誘導であって壁ではない — 破れない壁は GitHub 側のブランチ保護に置く - ガイド・SKILL・README・architecture を言語の変更と同時更新 - テスト: 偽 gh(PATH 注入)で submit の全経路、hook は JSON→終了コードのテーブルで検証 この境界線は事故由来ではなく人間の設計判断(2026-07、下書きPR 運用 + デフォルトブランチ保護を前提に feature ブランチへの push はリスク極小と判断)。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
外部の marketplace リポジトリへの依存を無くし、クローン + marketplace add で どのマシンでも導入できるようにする(自己完結の方針に追随)。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
taniguchi-kyoichi
marked this pull request as ready for review
July 21, 2026 02:30
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.
概要
「提出 = git push」だった境界線を、語彙(words.ts)から再定義する:
この境界線は事故由来ではなく人間の設計判断(2026-07、下書きPR 運用 + デフォルトブランチ保護を前提に feature ブランチへの push はリスク極小と判断)。
変更
🤖 Generated with Claude Code