Repository navigation
docs(#975): define unit operations and NPC behavior SSOT - #978
Conversation
Closes #975 味方機体・敵機体・NPC の運用、command intent、targeting、AI state、 deterministic update order、UI/debug surface 境界、playtest measurement を product SSOT として正本化する research-only artifact を新規作成する。 Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Preview URL✅ verified live assets: https://squne121.github.io/loop-protocol/pr-978/ The preview will be removed when this PR is closed. |
判定REQUEST_CHANGES。 最大の問題は、**「docs-only の設計文書としては良いが、後続実装を安全に発火させる SSOT としては未確定部分が残っている」**点です。PR 自体は Blocker 1: AC7 未充足。8-stage decomposition は「link 済み follow-up issue」ではない#975 の AC7 は、結論をもとに後続 implementation Issue が起票され、本 Issue がそれを link している、または追加調査要件が明示されていることを要求しています。PR #978 は 8-stage decomposition を artifact に書いていますが、実際の issue 番号・リンクはなく、Handoff でも「本書 accept 後に implementation Issue 群を起票し本 Issue に link」と後回しにしています。これは AC7 の代替にはなりません。 修正要求: どちらかに寄せるべきです。 Option A:
- §14 の 7 follow-up issues を実際に作成し、#975 と artifact に issue links を入れる。
- #975 AC7 を満たしたうえで Closes #975 を維持する。
Option B:
- PR 本文から Closes #975 を外す。
- artifact を `status: draft` のままにし、`does_not_close: "#975"` / `unblocks: []` を明記する。
- 追加調査要件として「follow-up issue draft/link 未作成」を明示する。現状の「accept 後に起票予定」は、研究成果物としては妥当でも、Issue の AC を満たした証跡ではありません。 Blocker 2:
|
…s 1-4) - frontmatter: status draft 維持 + does_not_close/unblocks/accepted_scope 明示、 related_prs(#803/#978) 追加(Blocker 2 / Major 1) - §8.5: score 入力特徴量の deterministic contract(threatToPlayer 等)(Blocker 3) - §9: assist_player TTL contract(assistPlayerTtlTicks 単位/範囲/変換/禁止)(Blocker 3) - §10.1/10.2: DOM affordance 実装品質 + viewport/DPR/zoom downstream gate(Major 2/3) - §12.3: playtest event schema(Major 4) - §13.1: docs-only PR の証跡境界(Blocker 5) - §14.1: enemy policy migration compatibility gate(golden tick-trace)(Blocker 4) - §15: 本 PR は #975 を close しない方針へ Next Action 更新(Blocker 1) Refs #975 Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
REQUEST_CHANGES 対応(commit
|
概要 (Summary)
本 PR は
docs/product/features/unit-operations-and-npc-behavior.mdを product SSOT として新規作成する。本 PR は draft artifact であり単独で #975 を close しない(frontmatterdoes_not_close: "#975")。AC7 充足のため、merge 後に §14 follow-up issue を起票・link してから #975 を close する。Refs #975。RTS/Z 指示 mode の前提となる unit taxonomy・Faction/UnitRole/CommandIntent/NpcBehaviorState/TargetingPolicy・deterministic NPC tick schedule・targeting scoring・assist_playerMVP semantics・UI/debug surface 境界・playtest measurement・evidence policy・8 段階 follow-up 分解を正本化する。スコープ (Scope)
本変更は docs-only / research-only であり、runtime 実装(
src//tests/)は一切行わない。変更ファイルはdocs/product/features/unit-operations-and-npc-behavior.mdの新規 1 ファイルのみである。関連 Issue (Related)
ランタイム実装の方針 (Runtime implementation)
本 PR では runtime mutation を行わない(none)。
AC 充足状況 (AC coverage)
AC1〜AC17 を artifact が満たす。決定論的 VC(
test -f+rg)は 16 件すべて PASS を確認した。内訳は AC1(file exists)が PASS、AC2 / AC3 / AC4 / AC5 / AC6 / AC8 / AC9 / AC10 / AC11 / AC12 / AC13 / AC14 / AC15 / AC16 / AC17(いずれもrg検証)が全 PASS である。AC7(後続 implementation Issue の起票 / link)は、self-review の指摘を受けて Option B を採用する。本 PR は
Closes #975を外し(Refs #975)、artifact frontmatter をstatus: draft+does_not_close: "#975"+unblocks: []とし、AC7 escape hatch の「追加調査要件の明示」として「follow-up issue draft/link は本 PR 時点で未作成」を §15 に明記した。merge 後に §14 の 8 段階に沿って7件を起票・link し、AC7 を満たしたうえで #975 を close する。既存の重複 Issue は無いことを確認済みである。検証コマンドと結果 (Verification commands and results)
以下の全ゲートを
CI=true環境で実行した。結果はコメントとして各行に併記する。AC1〜AC17 の決定論的 VC(
rg/test -f)は 16/16 で PASS した。既知の環境問題(本 PR の変更と無関係 / CI clean checkout では非再現)
以下はいずれも本 docs-only 変更と無関係の、ローカル作業ツリー固有の汚染である。CI の clean checkout には存在しないため、本 PR のマージ可否に影響しない。
pnpm buildは、tscが成功し vite も 34 modules の変換に成功するが、root 所有のdist/assets(gitignored, 本 PR 外)を削除できずEACCESで停止する。コンパイル自体は成功しており、privileged な削除は stop condition のため未実施とした。pnpm lint(eslint)は、全エラーが untracked なplaywright-report/(生成 artifact, 本 PR 外)由来である。tracked な.tsからのエラーは 0 件で、markdown は eslint 対象外である。pnpm lint:md/lint:docsは、失敗が全て untracked なtmp/*.md(本 PR 外)由来である。変更ファイル単体は markdownlint 違反 0 を確認した。後続実装 issue の link 方針 (Follow-up)
artifact §14 の 8 段階分解(state/types から command intent input、targeting policy、ally NPC MVP、enemy policy migration、HUD/Canvas integration、playtest/evidence まで)に従う。SSOT が accept された後に起票し、本 Issue へ link する予定である。
未抵触の stop conditions
破壊的操作・secret 閲覧・課金・権限不足・Allowed Paths 外への書き込み・runtime 矛盾実装のいずれも発生していない。
証跡 (Evidence)
0aca2b16e46420204c7d3a9a34c35df615be22cbである。27721807838(author-reported: 全 CI チェック PASS、run status は GitHub Actions UI で確認可能)である。本 PR は docs-only のため PR preview URL は acceptance evidence ではない(artifact §13.1 参照)。downstream UI/playtest PR では artifact §13 の Evidence/Distribution Policy を必須とする。本 PR は 🤖 Claude Code で生成した。