Repository navigation
Releases
Releases · hidetzu/decide-first
v0.1.0
最初の公開版です。この GitHub Issue を AI Coding Agent へ渡して大丈夫か? に答え、渡す前に人間が決めることを短く示します。
- Web 版: https://decide-first.hidetzu.work
- CLI:
node src/cli.ts <Issue の URL>(Node.js 22.18 以上。ビルド不要)
できること
- public repository の Issue の URL から、
READY/NEEDS CLARIFICATION/NOT READYのどれか 1 つを返す。点数は出さない - 判定の根拠を、名前のついた check と、見つけた行(または探したもの)までたどれる
- 「人間が決めること」の各項目から、根拠(研究の数値・出典・対象の範囲。相関であることも示す)と書き方の雛形を開ける
- check(本文とコメントの見出し・ラベル・記述を見る)
- Goal
- Scope / Out of Scope
- Acceptance criteria
- Verification
- No open decisions(未決を示すラベル、TBD・未定 などの記述)
- Dependencies(
blocked by/depends on/依存:で名指しされた Issue が、完了で閉じているか。5 件まで確認) - Issue is open、Body(どちらかが欠ければ NOT READY)
- 取得の失敗は、すべて 1 文で返す(URL が不正 / PR / 404 / rate limit / 接続できない / 想定外の応答 / 応答を読み取れない / コメントが多すぎる)
できないこと(意図して実装していない)
- Issue の自動実装、Agent の起動、PR の作成、merge、Issue の書き換え、ラベルの付与
- repository 全体の AI readiness の判定
- private repository、OAuth、GitLab、Jira、Backlog
- Pull Request の判定、点数
知っておいてほしい制約
- 判定は文字の並びによる決定論的なルールで、意味は読まない。見出しのない書き方は見落とすことがある。また、「TBD」という語に言及しただけの文も、未決として拾う
- Web 版で読むコメントは 300 件まで(Workers Free の CPU 時間の上限のため)。CLI は 1000 件まで
- 研究の数値は相関で、Copilot の PR を対象にした研究のもの。この Issue を直せば merge されやすくなる、という保証ではない
ライセンス: MIT。根拠と決定の記録は docs/SPEC.md と docs/adr/ にあります。
English
The first public release. Can this GitHub issue be handed to an AI coding agent right now? Decide First answers that, and lists, briefly, what a human still has to decide first.
- Web: https://decide-first.hidetzu.work
- CLI:
node src/cli.ts <issue URL>(Node.js 22.18 or later; no build step)
What it does
- Takes the URL of an issue in a public repository and returns exactly one of
READY/NEEDS CLARIFICATION/NOT READY. No score. - Every verdict traces back to named checks, and to the line each one found (or what it looked for).
- Each decision left to a human opens to its grounds (a research figure with its source and scope, marked as a correlation) and a template to fill in.
- Checks (headings, labels and wording in the body and comments):
- Goal
- Scope / Out of Scope
- Acceptance criteria
- Verification
- No open decisions (labels such as
question, or wording such as TBD) - Dependencies (issues named after
blocked by/depends on/依存:must be closed as completed; up to 5 are checked) - Issue is open, Body (either missing means NOT READY)
- Every failure to fetch is answered in one sentence: an invalid URL, a pull request, 404, rate limit, unreachable, an unexpected status, an unreadable answer, or too many comments.
What it deliberately does not do
- Implement issues, start agents, open PRs, merge, rewrite issues, or apply labels
- Judge a whole repository's AI readiness
- Private repositories, OAuth, GitLab, Jira, Backlog
- Judge pull requests, or give scores
Limits worth knowing
- The rules are deterministic and read character patterns, not meaning. An issue without headings can be missed, and a sentence that merely mentions the word "TBD" is still taken as an open decision.
- The web version reads at most 300 comments, to stay within the CPU limit of the Workers Free plan; the CLI reads up to 1000.
- The research figures are correlations from a study of Copilot PRs. They do not promise that fixing an issue makes its PR more likely to be merged.
- The user-facing text is in Japanese.
License: MIT. What may be claimed, and why it was decided, are in docs/SPEC.md and docs/adr/.