Skip to content

chore(dev): FT report scaffold + candidates backlog + PR templates#427

Merged
hideyukiMORI merged 1 commit into
mainfrom
chore/427-ergonomics-round-2
May 22, 2026
Merged

chore(dev): FT report scaffold + candidates backlog + PR templates#427
hideyukiMORI merged 1 commit into
mainfrom
chore/427-ergonomics-round-2

Conversation

@hideyukiMORI
Copy link
Copy Markdown
Owner

ergonomic 第 2 弾。session 間継続性を上げる 3 件。

tools/ft-report-new.sh

`docs/templates/field-trial-report.md` を `docs/field-trials/YYYY-MM-field-trial-N.md` にコピーし、`{N}` / `{topic}` / 日付 を埋める。既存ファイルは refuse。毎 FT で fresh から書いていた boilerplate を畳む。

docs/field-trials/candidates.md

trial 候補の durable backlog。session 間で「次の trial を提案」する際の primary source。私 (AI agent) が freehand で再構成する必要が無くなる。カテゴリ別 + archive trail 付き。

.github/PULL_REQUEST_TEMPLATE/

5 type:

  • `feat.md` — 新機能 / framework code
  • `docs.md` — docs-only
  • `trial-report.md` — FT report 起票
  • `chore.md` — maintenance / tooling
  • `followup.md` — F-N follow-up small PR

GitHub web UI dropdown + AI agent の PR 本文 canonical 構造 兼用。

AGENTS.md / tools/README.md

新 surface への cross-link 追加。

Test plan

  • `tools/ft-report-new.sh 99 dryrun-test` 生成 → revert 検証
  • 既存 FT17 ファイルへ上書きが exit 2 で refuse
  • `composer ci` 全 step green (142/142 + 24/24 + Phan + format)

Closes #427. (Issue 未作成、本 PR で兼ねる)

ergonomic 第 2 弾。boilerplate を更に畳む。

### tools/ft-report-new.sh

- usage: tools/ft-report-new.sh <FT-N> <topic-kebab>
- docs/templates/field-trial-report.md を docs/field-trials/YYYY-MM-field-trial-N.md
  にコピーし、{N} / {topic} / 日付 を埋める
- 既存ファイルへの overwrite を refuse (in-progress notes 保護)
- 動機: 今日 5 FT 走らせて毎回 fresh で書いた、毎回同じ shape

### docs/field-trials/candidates.md

- 提案 backlog の durable 化
- session 間で「次の trial 候補」を user に提示する際の primary source
- カテゴリ: real-app surface / observability / structural / meta / quality
- archive trail (Recently picked-up) で最近の流れも確認可能

### .github/PULL_REQUEST_TEMPLATE/

5 つの type 別 template:

- feat.md (新機能 / framework code 変更)
- docs.md (docs-only)
- trial-report.md (FT report 起票時、F-N 含む)
- chore.md (maintenance / tooling)
- followup.md (F-N follow-up small PR)

GitHub web UI の dropdown でも選べるし、AI agent (私) が PR 本文を書く際の
canonical 構造として使える。"Summary / Test plan / Closes #N" を毎回手書き
していた負担を排除。

### AGENTS.md / tools/README.md

- AGENTS.md "Read First" に candidates.md / PR templates / tools/README.md
  の cross-link 追加
- tools/README.md の table に ft-report-new.sh を追加

### Verification

- tools/ft-report-new.sh 99 dryrun-test → 生成確認 → revert
- tools/ft-report-new.sh で既存 FT17 ファイルへの上書きが exit 2 で refuse
- composer ci 全 step green (test 142/142 + test:http 24/24 + Phan + format)

Closes #427. (Issue 未作成、本 PR で兼ねる)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@hideyukiMORI hideyukiMORI merged commit 709dd6b into main May 22, 2026
2 checks passed
@hideyukiMORI hideyukiMORI deleted the chore/427-ergonomics-round-2 branch May 22, 2026 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant