From 6e0cff083061ded60fa7f7067f44d69d8a05f2dd Mon Sep 17 00:00:00 2001 From: Hare Date: Wed, 10 Jun 2026 18:08:37 +0900 Subject: [PATCH] ticket: close prompt resource centralization --- .yoi/tickets/00001KTR6YVDB/item.md | 4 +- .yoi/tickets/00001KTR6YVDB/resolution.md | 20 +++++++ .yoi/tickets/00001KTR6YVDB/thread.md | 71 ++++++++++++++++++++++++ 3 files changed, 93 insertions(+), 2 deletions(-) create mode 100644 .yoi/tickets/00001KTR6YVDB/resolution.md diff --git a/.yoi/tickets/00001KTR6YVDB/item.md b/.yoi/tickets/00001KTR6YVDB/item.md index c16cc2e8..2a0a746a 100644 --- a/.yoi/tickets/00001KTR6YVDB/item.md +++ b/.yoi/tickets/00001KTR6YVDB/item.md @@ -1,8 +1,8 @@ --- title: 'LLM向けプロンプト直書きを廃止してresources/promptsへ集約する' -state: 'inprogress' +state: 'closed' created_at: '2026-06-10T07:29:13Z' -updated_at: '2026-06-10T09:07:14Z' +updated_at: '2026-06-10T09:08:26Z' assignee: null queued_by: 'workspace-panel' queued_at: '2026-06-10T07:49:23Z' diff --git a/.yoi/tickets/00001KTR6YVDB/resolution.md b/.yoi/tickets/00001KTR6YVDB/resolution.md new file mode 100644 index 00000000..7f44054a --- /dev/null +++ b/.yoi/tickets/00001KTR6YVDB/resolution.md @@ -0,0 +1,20 @@ +完了しました。 + +実施内容: +- Branch `prompt-resource-centralization` を `develop` に `--no-ff` merge しました。 +- Merge commit: `9aaa3232 merge: prompt resource centralization` +- LLM 向け Ticket role launch prompt prose は `crates/client/src/ticket_role.rs` の production hardcoding から `resources/prompts/ticket_role/*.md` へ移動されました。 +- Rust 側は runtime dynamic fields の sectioned/bounded composition と workspace/user/builtin prompt resource lookup を担当します。 +- Workspace prompt override の regression coverage が追加されています。 + +確認: +- Branch-local reviewer `reviewer-prompt-resource-centralization` が approve。 +- `cargo fmt --check` passed。 +- `git diff --check` passed。 +- `cargo test -p client ticket_role --lib` passed。 +- `target/debug/yoi ticket doctor` passed。 +- typed `TicketDoctor` は 0 errors / 3 pre-existing diagnostics。 +- `nix build .#yoi` passed。 + +残作業: +- なし。user-level prompt override 専用 test は将来の追加余地として non-blocking note に留めました。 \ No newline at end of file diff --git a/.yoi/tickets/00001KTR6YVDB/thread.md b/.yoi/tickets/00001KTR6YVDB/thread.md index a17d6250..8c84b9ba 100644 --- a/.yoi/tickets/00001KTR6YVDB/thread.md +++ b/.yoi/tickets/00001KTR6YVDB/thread.md @@ -144,3 +144,74 @@ Parent/human decision needs: - User requested inprogress消化; proceed with authorized merge-completion for this inprogress Ticket. --- + + + +## Review: approve + +Main-branch review/merge-completion approval. + +Verified before merge: +- Merge-ready dossier matched branch `prompt-resource-centralization`, worktree `.worktree/prompt-resource-centralization`, and implementation commit `342d5cf8`. +- Branch-local independent review approved with no blockers. +- Main workspace dirty state was limited to committed Ticket routing/dossier records. + +Merged: +- `git merge --no-ff prompt-resource-centralization -m "merge: prompt resource centralization"` +- Merge commit: `9aaa3232 merge: prompt resource centralization` + +Post-merge validation: +- `cargo fmt --check` passed. +- `git diff --check` passed. +- `cargo test -p client ticket_role --lib` passed. +- `target/debug/yoi ticket doctor` passed. +- typed `TicketDoctor` reported 0 errors and 3 pre-existing diagnostics. +- `nix build .#yoi` passed. + +Result: approve. + +--- + + + +## State changed + +Merged branch `prompt-resource-centralization` with merge commit `9aaa3232`; branch-local review approved and post-merge validation passed (`cargo fmt --check`, `git diff --check`, `cargo test -p client ticket_role --lib`, `target/debug/yoi ticket doctor`, `nix build .#yoi`). + +--- + + + +## State changed + +Ticket を closed にしました。 + + +--- + + + +## 完了 + +完了しました。 + +実施内容: +- Branch `prompt-resource-centralization` を `develop` に `--no-ff` merge しました。 +- Merge commit: `9aaa3232 merge: prompt resource centralization` +- LLM 向け Ticket role launch prompt prose は `crates/client/src/ticket_role.rs` の production hardcoding から `resources/prompts/ticket_role/*.md` へ移動されました。 +- Rust 側は runtime dynamic fields の sectioned/bounded composition と workspace/user/builtin prompt resource lookup を担当します。 +- Workspace prompt override の regression coverage が追加されています。 + +確認: +- Branch-local reviewer `reviewer-prompt-resource-centralization` が approve。 +- `cargo fmt --check` passed。 +- `git diff --check` passed。 +- `cargo test -p client ticket_role --lib` passed。 +- `target/debug/yoi ticket doctor` passed。 +- typed `TicketDoctor` は 0 errors / 3 pre-existing diagnostics。 +- `nix build .#yoi` passed。 + +残作業: +- なし。user-level prompt override 専用 test は将来の追加余地として non-blocking note に留めました。 + +---