Repository navigation
docs: define UI information architecture for issue 800 - #803
Conversation
Preview URLPreview removed (PR #803 closed). |
結論REQUEST_CHANGES。 PR #803 は Blocker 1: #727 は「resume」ではなく「契約変更」扱いにしないと危険#727 はもともと Canvas にプレイヤー HP/HULL を集約表示する 方向の Issue です。一方、#803 の新ドキュメントは、Canvas を world/visual cue に限定し、player-facing status や affordance は DOM HUD 側に置く、という設計に寄せています。これは設計としては妥当ですが、#727 をそのまま再開すると Issue タイトル・scope と新 SSOT が衝突します。([GitHub]2) 修正案: #727 is not resumed as-is.
This document supersedes the original "Canvas aggregated player HP/HULL" direction.
Before implementation, #727 must be rewritten or replaced as:
"combat HUD: Canvas visual cues + DOM HUD player status integration".この記述がないと、次の agent は「Canvas 集約表示」を実装するのか「DOM HUD」を実装するのかで再び迷います。 Blocker 2:
|
|
CodexCLI作業ログ その後に PR を作る。 gh pr create \
--title "docs: define UI information architecture for issue 800" \
--body-file /tmp/pr-800-body.md \
--base main \
--head docs/issue-800-ui-information-architecturePR 本文はこの形でよいです。 ## Summary
Closes #800.
This PR adds the UI information architecture SSOT for the game-wide UI / graphics design
direction.
Primary artifact:
- `docs/product/features/ui-information-architecture.md`
It defines:
- normal play UI vs debug/development surface boundary
- phase-aware information presentation
- one-screen HUD direction
- Canvas / DOM HUD / menu overlay / debug panel responsibility boundaries
- player-facing numeric display policy
- routing conditions for #785 / #727 / #788 and pause/resume follow-up work
## Scope
Docs-only research outcome for #800.
No `src/` or `tests/` runtime implementation changes are included.
## Verification
- Read back `docs/product/features/ui-information-architecture.md`
- Confirmed references from:
- `docs/product/game-design.md`
- `docs/product/features/combat-core.md`
- Confirmed changed files are within #800 Allowed Paths
## Follow-up
After this PR is merged, create or resume implementation issues for:
- #727 combat HUD / Canvas-DOM boundary work
- #788 player-facing numeric display cleanup
- pause/resume follow-up issue実装 Issue は今はまだ作らなくてよいです。順序は、
が一番破綻しにくいです。今のまま「実装 Issue だけ作る」と、肝心の上位設計がリモートに存在 • この方針で進めます。まずサブエージェントに read-only の公開前チェックを 맡せつつ、メインで • Spawned 019eb673-17d6-7b33-bd6e-a25f0701047b (gpt-5.4-mini medium) • Ran rtk git status --short --branch • Ran rtk git branch --show-current • Ran rtk git diff -- docs/product/features/ui-information-architecture.md docs/product/ ──────────────────────────────────────────────────────────────────────────────────────────── • 公開対象は 3 ファイルに閉じていますが、ワークツリーには unrelated dirt もあります。そこは • Ran rtk run 'sed -n "1,220p" docs/product/features/ui-information-architecture.md' • Ran rtk git diff --stat -- docs/product/features/ui-information-architecture.md docs/ ──────────────────────────────────────────────────────────────────────────────────────────── • rtk git の mutation 側がこの環境では approval policy と衝突したので、同じ操作を rtk run 経 • Ran rtk run 'git switch -c docs/issue-800-ui-information-architecture' ──────────────────────────────────────────────────────────────────────────────────────────── • ブランチは切れました。次に対象 3 ファイルだけを stage して commit し、unrelated dirt を巻 • Ran rtk run 'git add docs/product/features/ui-information-architecture.md docs/product/ • Ran rtk run 'git diff --cached --stat' • Waiting for 019eb673-17d6-7b33-bd6e-a25f0701047b • Finished waiting
──────────────────────────────────────────────────────────────────────────────────────────── • staged 差分は 3 ファイルだけに閉じているので、そのまま commit します。foreign dirt は残っ • Ran rtk run 'git diff --cached --name-only' • Ran rtk run 'git commit -m "docs: define UI information architecture for issue 800"' ──────────────────────────────────────────────────────────────────────────────────────────── • コミットは通りました。次に branch を push して、#800 を閉じる docs-only PR を作成します。 • Ran python3 - <<'PY' ──────────────────────────────────────────────────────────────────────────────────────────── • push を待っています。その間に PR 本文ファイルは /tmp/pr-800-body.md に用意済みです。 ──────────────────────────────────────────────────────────────────────────────────────────── • branch は push 済みです。最後に PR を起票して、URL と状態を確認します。 • Ran rtk run 'gh pr create --title "docs: define UI information architecture for issue 800" • Ran rtk gh pr view 803 --json number,title,state,isDraft,url,headRefName,baseRefName ──────────────────────────────────────────────────────────────────────────────────────────── • #800 の docs 正本化 PR を作成しました。PR は #803 今回 publish したのは 3 ファイルだけです。docs/product/features/ui-information- 確認したのは staged 対象がこの 3 ファイルだけであること、PR 本文が Closes #800 を含むこ ─ Worked for 2m 51s ──────────────────────────────────────────────────────────────────────── • 指定コメントを一次ソースにして PR #803 の指摘を確認します。まずコメント本文と現状差分を読 • Spawned 019eb67f-0e3d-78c3-94f0-437ac156b463 (gpt-5.4-mini medium) • Ran rtk git branch --show-current • Ran rtk git status --short --branch • Ran rtk gh pr view 803 --json number,title,body,comments,reviews,files ──────────────────────────────────────────────────────────────────────────────────────────── • 指摘は 8 点ありますが、中心は新規 SSOT の不足補完です。まず docs/product/features/ui- • Ran rtk run 'sed -n "1,260p" docs/product/features/ui-information-architecture.md' • Ran rtk gh issue view 727 --json number,title,body • Ran rtk gh issue view 788 --json number,title,body ──────────────────────────────────────────────────────────────────────────────────────────── • 修正方針を固めました。主に新規 SSOT 1 ファイルへ、#727 rewrite/supersede、implementation • Ran CODEX_LEGACY_ALLOW_WRITES=1 python3 - <<'PY' ──────────────────────────────────────────────────────────────────────────────────────────── • SSOT 本体の追記は入りました。これから差分を見て、必要なら PR 本文も #727 rewrite と docs- • Ran rtk git diff -- docs/product/features/ui-information-architecture.md docs/product/ • Ran rtk run 'python3 - <<"PY" ──────────────────────────────────────────────────────────────────────────────────────────── • 主な blocker は 1 ファイルで潰せています。PR 本文も #727 の扱いと docs-only handoff を合わ • Ran python3 - <<'PY' ──────────────────────────────────────────────────────────────────────────────────────────── • PR 本文の更新は走っています。続けて commit と push を入れ、その後に PR 状態を読み返しま • Ran rtk run 'git add docs/product/features/ui-information-architecture.md && git commit -m ──────────────────────────────────────────────────────────────────────────────────────────── • コミットは通りました。push 完了を待って、PR #803 の head と本文を確認します。 ──────────────────────────────────────────────────────────────────────────────────────────── • remote branch が先に進んでいて push が reject されました。こちらのコミットはできているの • Ran rtk git status --short --branch • Ran rtk run 'git fetch origin docs/issue-800-ui-information-architecture && git log ──────────────────────────────────────────────────────────────────────────────────────────── • remote 側は main を merge した 1 コミットだけ先行していて、こちらの修正コミットとは独立で • Ran rtk run 'git rebase origin/docs/issue-800-ui-information-architecture' ──────────────────────────────────────────────────────────────────────────────────────────── • unrelated dirt があるので、そのままの rebase は止まりました。変更を巻き込まないよう • Ran rtk run 'git rebase --autostash origin/docs/issue-800-ui-information-architecture' ──────────────────────────────────────────────────────────────────────────────────────────── • rebase は通りました。最後に push と PR readback をやって、review 指摘が branch に反映され • Ran rtk gh pr view 803 --json body,headRefOid,headRefName,url • Ran rtk run 'git push' ──────────────────────────────────────────────────────────────────────────────────────────── • push まで反映されました。最後に head SHA を読み直して、PR #803 が最新 commit を見ているこ • Ran rtk gh pr view 803 --json headRefOid,commits ──────────────────────────────────────────────────────────────────────────────────────────── • PR コメントの指摘に合わせて docs/product/features/ui-information-architecture.md を補強 PR 本文も合わせて更新済みです。最新 head は f519104 で、PR #803 に push されています。途中 ─ Worked for 3m 41s ──────────────────────────────────────────────────────────────────────── › $post-merge-cleanup 803 • post-merge-cleanup を使います。まず PR #803 が本当に MERGED かだけ確認し、マージ済みなら • Ran rtk git branch --show-current • Ran rtk gh pr view 803 --json number,state,mergedAt,isDraft,url,title ──────────────────────────────────────────────────────────────────────────────────────────── • PR #803 は 2026-06-11 11:51:23 UTC に MERGED 済みでした。ここから cleanup 本体は subagent • Agent spawn failed ──────────────────────────────────────────────────────────────────────────────────────────── • 先に不要になった read-only subagent を閉じて、cleanup worker 用の枠を空けます。閉じたらそ • Closed 019eb67f-0e3d-78c3-94f0-437ac156b463 • Closed 019eb673-17d6-7b33-bd6e-a25f0701047b • Closed 019eb66a-693e-7a80-8832-b95e67b9f491 • Closed 019eb66a-8821-7373-9663-98bcd27248c5 • Spawned 019eb686-808b-76a0-b0a8-e49c24a5b332 (gpt-5.4-mini medium) ──────────────────────────────────────────────────────────────────────────────────────────── • cleanup worker を起動しました。結果待ちの間に main thread では live state を保ったまま待機 • Waiting for 019eb686-808b-76a0-b0a8-e49c24a5b332 • Finished waiting ──────────────────────────────────────────────────────────────────────────────────────────── • cleanup worker はまだ動作中です。もう少し待って structured report を受け取ります。 • Waiting for 019eb686-808b-76a0-b0a8-e49c24a5b332 • Finished waiting ──────────────────────────────────────────────────────────────────────────────────────────── • まだ完了していないので、最後にもう一度だけ待ちます。report が返り次第、必要な close / • Waiting for 019eb686-808b-76a0-b0a8-e49c24a5b332 • Finished waiting ──────────────────────────────────────────────────────────────────────────────────────────── • post-merge-cleanup 803 は partial で止まりました。 完了したことは、PR #803 が MERGED であることの確認と、生成物の一時ファイル群の除去です。 止まった理由は 1 点で、tests/fixtures/agent-session-manifest/temp-invalid-no-markers.md の 必要なら次に、この tracked deletion が今回の cleanup 対象として消してよいものかを確認し ─ Worked for 6m 57s ──────────────────────────────────────────────────────────────────────── › Y • tracked deletion を保全したまま cleanup を続けます。いったん stash で退避し、main へ戻して • Ran rtk git status --short --branch • Ran rtk gh issue view 800 --json state,stateReason,url ──────────────────────────────────────────────────────────────────────────────────────────── • #800 は COMPLETED で閉じています。残りは tracked deletion の保全と、temporary artifacts の • Ran rtk run 'rm -rf .guard_shadow_log.jsonl artifacts && git stash push -m ──────────────────────────────────────────────────────────────────────────────────────────── • cleanup は通りました。main へ fast-forward、local branch 削除、tracked deletion の復帰まで • Ran rtk git status --short --branch ──────────────────────────────────────────────────────────────────────────────────────────── • post-merge-cleanup 803 は完了しました。main に戻して origin/main へ fast-forward し、local tracked deletion は保全のため stash 経由で退避・復帰しているので、今の root checkout には 現時点の状態は次の 3 点です。
必要なら次に、この residual dirt も消してよい temporary かを見て、そこだけ追加で片付けま ──────────────────────────────────────────────────────────────────────────────────────────── › Y • residual dirt のうち、clearly temporary なものだけ落とします。tracked deletion は意図不明 • Ran rtk run 'rm -rf .guard_shadow_log.jsonl artifacts && git status --short --branch' ──────────────────────────────────────────────────────────────────────────────────────────── • temporary artifacts は片付きました。今の残りは D tests/fixtures/agent-session-manifest/ これは tracked deletion で、temporary と断定できないのでそのまま保全しています。必要なら次 ──────────────────────────────────────────────────────────────────────────────────────────── ╭─────────────────────────────────────────────╮ Tip: New Use /fast to enable our fastest inference with increased plan usage. Token usage: total=360,127 input=334,941 (+ 7,808,256 cached) output=25,186 (reasoning |
…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]>
* docs(#975): define unit operations and NPC behavior SSOT 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]> * docs(#975): address self-review REQUEST_CHANGES (blockers 1-5 / majors 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]> --------- Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
Summary
Closes #800.
This PR adds the accepted UI information architecture SSOT for the game-wide UI / graphics design direction.
Primary artifact:
docs/product/features/ui-information-architecture.mdIt defines:
#788compatibility note#785,#727,#788, and pause/resume follow-up workScope
Docs-only research outcome for #800.
No
src/ortests/runtime implementation changes are included.Verification
docs/product/features/ui-information-architecture.mddocs/product/game-design.mddocs/product/features/combat-core.mdFollow-up
After this PR is merged:
#727must be rewritten or replaced asCanvas visual cues + DOM HUD player status integration#788remains the runtime-enforcement follow-up for normal UI integer-only numeric policy