2.5 KiB
2.5 KiB
Ticket tool users 全体に ticket.language guidance が届くようにした。
実装概要:
crates/ticket/src/tool.rsに sharedticket_tool_description(name, record_language)を追加し、configuredticket.languageがある場合は Ticket tool description に durable Ticket record / Ticket tool body language guidance を追加するようにした。crates/pod/src/feature/builtin/ticket.rsの builtin Ticket featureToolDeclarationdescriptions でも同じ helper を使い、read-only Companion-style context と lifecycle/Ticket-role-style context の両方に guidance が届くようにした。- guidance は
worker.language/memory.language/ticket.languageを区別し、protocol literals、file paths、commands、logs、identifiers、quoted external text は fidelity 優先で保持することを明記した。 - guidance は Ticket tool / capability surface で model-visible であり、hidden context injection や
ticket_rolelaunch prompt fragment ではない。 - Companion/read-only authority や mutating tool exposure は拡大していない。
Review / integration:
- Implementation commit:
92c4dee7 ticket: guide Ticket tool language universally - Reviewer:
yoi-reviewer-ticket-language-guidanceが approve。 - Orchestrator merge commit:
ec66cad8 merge: ticket language guidance for tool users - Ticket completion commit:
2ba97b67 ticket: mark language guidance done
Validation:
cargo test -p ticket ticket_record_language_guidance: passcargo test -p pod ticket_language_guidance: passcargo test -p client ticket_record_language_stays_out_of_first_run_text: passcargo test -p ticket: pass, 68 testscargo fmt --check: passgit diff --check HEAD~1..HEAD: pass./result/bin/yoi ticket doctor:doctor: oknix build .#yoi: pass
Known unrelated validation failure:
cargo test -p podstill includes pre-existing failures in Pod orchestration guidance prompt assertion tests. These were verified on the Orchestrator branch before merge and reviewed as unrelated to this Ticket.
Cleanup:
- coder/reviewer Pods stopped。
- child worktree
/home/hare/Projects/yoi/.worktree/ticket-language-guidance-all-toolsremoved。 - branch
ticket/ticket-language-guidance-all-toolsdeleted。
Non-blocking risk:
- configured language guidance is appended to every Ticket tool description, including read-only tools. This repeats some prompt text, but it is the accepted universal capability-surface tradeoff for this Ticket.