2.1 KiB
2.1 KiB
Ticket role launch の first-run user message を短縮し、role behavior / procedural guidance / control-plane metadata の所管を分離した。
実装概要:
crates/client/src/ticket_role.rsの launch Submit text を短縮し、対象 Ticket / action instruction / per-launch context に限定した。Profile selector、Workflow、Configured launch_prompt ref、Ticket record language guidance、runtime workspace/cwd などの control-plane / environment 情報を first-run user text から外した。- builtin role Profiles に
worker.instruction = "$yoi/role/<role>"を設定し、role behavior をresources/prompts/role/{intake,orchestrator,coder,reviewer}.mdへ移した。 - procedural guidance は Workflow resources 側に保持・移動した。
- obsolete な
resources/prompts/ticket_role/*.mdfragments を削除した。 - boundary を検証する focused unit tests を追加・更新した。
Review / integration:
- Implementation commit:
949531a0 client: shorten ticket role launch input - Reviewer:
yoi-reviewer-role-launch-inputが approve。 - Orchestrator merge commit:
bdbd955b merge: ticket role launch input split - Ticket completion commit:
9ad5ed6d ticket: mark role launch done
Validation:
cargo test -p client ticket_role --lib: passcargo test -p manifest builtin_role_profiles_are_registered_and_resolve --lib: passcargo test -p pod builtin_ticket_role_instructions_resolve --lib: passcargo fmt --check: passgit diff --check HEAD~1..HEAD: passnix build .#yoi: pass./result/bin/yoi ticket doctor:doctor: ok
Cleanup:
- coder/reviewer Pods stopped。
- child worktree
/home/hare/Projects/yoi/.worktree/shorten-ticket-role-launch-inputremoved。 - branch
ticket/shorten-ticket-role-launch-inputdeleted。
Non-blocking follow-up:
- 旧
.yoi/prompts/ticket_role/*override は launch Submit text には効かなくなるため、外部ユーザー向けには role behavior は Profile instruction、手順は Workflow override へ移す旨を必要に応じて案内すると安全。