diff --git a/.yoi/tickets/00001KTRG8N9J/item.md b/.yoi/tickets/00001KTRG8N9J/item.md index 400c2f4f..c3f95c71 100644 --- a/.yoi/tickets/00001KTRG8N9J/item.md +++ b/.yoi/tickets/00001KTRG8N9J/item.md @@ -1,8 +1,8 @@ --- title: 'Project role profilesをbuiltin profilesへ移行する' -state: 'inprogress' +state: 'closed' created_at: '2026-06-10T10:11:51Z' -updated_at: '2026-06-10T15:26:32Z' +updated_at: '2026-06-11T00:05:19Z' assignee: null queued_by: 'workspace-panel' queued_at: '2026-06-10T11:16:43Z' diff --git a/.yoi/tickets/00001KTRG8N9J/resolution.md b/.yoi/tickets/00001KTRG8N9J/resolution.md new file mode 100644 index 00000000..174b225c --- /dev/null +++ b/.yoi/tickets/00001KTRG8N9J/resolution.md @@ -0,0 +1,31 @@ +完了しました。 + +実施内容: +- `builtin:companion` / `builtin:intake` / `builtin:orchestrator` / `builtin:coder` / `builtin:reviewer` を builtin Profile として追加しました。 +- role Profile は `resources/profiles/*.lua` に移動し、global `yoi` style の standalone `yoi.profile { ... }` artifact として登録しました。 +- `builtin:default` 由来の model ref / web secret / workspace write scope が role contract に混入しないよう、role Profiles は `builtin:default` を extend しない形にしました。 +- `companion` / `intake` / `orchestrator` / `reviewer` は read scope、`coder` のみ write scope、`orchestrator` は reusable delegation intent として `delegation_scope = workspace_write()` を持ちます。 +- `.yoi/ticket.config.toml` の role selectors を `project:*` から `builtin:*` に移行しました。 +- project-local role Profile files を削除し、`.yoi/profiles.toml` は workspace default を `builtin:companion` に向けるだけに整理しました。 +- Ticket config scaffold と client role launch tests を role-specific builtin defaults に合わせて更新しました。 +- manifest tests に builtin role registry/resolution と role policy boundary の検証を追加しました。 + +Merge: +- Branch: `builtin-role-profiles` +- Implementation commit: `85c06dc6 feat: add builtin role profiles` +- Merge commit: `7daecca8 merge: builtin role profiles` + +確認: +- Branch-local reviewer `reviewer-builtin-role-profiles` が初回 request_changes 後、修正済み branch を approve。 +- `cargo fmt --check` passed。 +- `git diff --check` passed。 +- `cargo test -p manifest profile --lib` passed。 +- `cargo test -p ticket config --lib` passed。 +- `cargo test -p client ticket_role --lib` passed。 +- `cargo check -p manifest -p ticket` passed。 +- `target/debug/yoi ticket doctor` passed。 +- typed `TicketDoctor` は 0 errors / 3 pre-existing diagnostics。 +- `nix build .#yoi` passed。 + +残作業: +- なし。将来、role builtin Profile とは別に broad user/project profile import selector が必要になった場合は follow-up Ticket として扱えます。 \ No newline at end of file diff --git a/.yoi/tickets/00001KTRG8N9J/thread.md b/.yoi/tickets/00001KTRG8N9J/thread.md index 56bbb8bb..2244b3b2 100644 --- a/.yoi/tickets/00001KTRG8N9J/thread.md +++ b/.yoi/tickets/00001KTRG8N9J/thread.md @@ -300,3 +300,88 @@ Parent/human decision needs: - Panel launch guidance for this Ticket said to stop at merge-ready dossier without merge/close/final approval. Explicit merge-completion authorization is needed before merging `builtin-role-profiles`, running post-merge validation, closing the Ticket, and cleaning the worktree/branch. --- + + + +## Review: approve + +Main-branch review/merge-completion approval. + +Verified before merge: +- Merge-ready dossier matched Ticket `00001KTRG8N9J`, branch `builtin-role-profiles`, worktree `.worktree/builtin-role-profiles`, and implementation commit `85c06dc6`. +- Branch-local reviewer `reviewer-builtin-role-profiles` approved after blocker fixes. +- Main workspace was clean before merge. + +Merged: +- `git merge --no-ff builtin-role-profiles -m "merge: builtin role profiles"` +- Merge commit: `7daecca8 merge: builtin role profiles` + +Post-merge validation: +- `cargo fmt --check` passed. +- `git diff --check` passed. +- `cargo test -p manifest profile --lib` passed. +- `cargo test -p ticket config --lib` passed. +- `cargo test -p client ticket_role --lib` passed. +- `cargo check -p manifest -p ticket` 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 `builtin-role-profiles` with merge commit `7daecca8`; branch-local review approved after fixes and post-merge validation passed (`cargo fmt --check`, `git diff --check`, `cargo test -p manifest profile --lib`, `cargo test -p ticket config --lib`, `cargo test -p client ticket_role --lib`, `cargo check -p manifest -p ticket`, `target/debug/yoi ticket doctor`, `nix build .#yoi`). + +--- + + + +## State changed + +Ticket を closed にしました。 + + +--- + + + +## 完了 + +完了しました。 + +実施内容: +- `builtin:companion` / `builtin:intake` / `builtin:orchestrator` / `builtin:coder` / `builtin:reviewer` を builtin Profile として追加しました。 +- role Profile は `resources/profiles/*.lua` に移動し、global `yoi` style の standalone `yoi.profile { ... }` artifact として登録しました。 +- `builtin:default` 由来の model ref / web secret / workspace write scope が role contract に混入しないよう、role Profiles は `builtin:default` を extend しない形にしました。 +- `companion` / `intake` / `orchestrator` / `reviewer` は read scope、`coder` のみ write scope、`orchestrator` は reusable delegation intent として `delegation_scope = workspace_write()` を持ちます。 +- `.yoi/ticket.config.toml` の role selectors を `project:*` から `builtin:*` に移行しました。 +- project-local role Profile files を削除し、`.yoi/profiles.toml` は workspace default を `builtin:companion` に向けるだけに整理しました。 +- Ticket config scaffold と client role launch tests を role-specific builtin defaults に合わせて更新しました。 +- manifest tests に builtin role registry/resolution と role policy boundary の検証を追加しました。 + +Merge: +- Branch: `builtin-role-profiles` +- Implementation commit: `85c06dc6 feat: add builtin role profiles` +- Merge commit: `7daecca8 merge: builtin role profiles` + +確認: +- Branch-local reviewer `reviewer-builtin-role-profiles` が初回 request_changes 後、修正済み branch を approve。 +- `cargo fmt --check` passed。 +- `git diff --check` passed。 +- `cargo test -p manifest profile --lib` passed。 +- `cargo test -p ticket config --lib` passed。 +- `cargo test -p client ticket_role --lib` passed。 +- `cargo check -p manifest -p ticket` passed。 +- `target/debug/yoi ticket doctor` passed。 +- typed `TicketDoctor` は 0 errors / 3 pre-existing diagnostics。 +- `nix build .#yoi` passed。 + +残作業: +- なし。将来、role builtin Profile とは別に broad user/project profile import selector が必要になった場合は follow-up Ticket として扱えます。 + +---