1.6 KiB
1.6 KiB
Created
Created by tickets.sh create.
Decision
Decision: implement .yoi/ticket.config.toml as Ticket orchestration configuration with fixed Ticket role slots.
Use fixed roles, not an arbitrary Role registry:
- intake
- orchestrator
- coder
- reviewer
- investigator
The config maps these fixed Ticket roles to Profile selector strings and optional role system instruction / launch prompt / workflow refs. This keeps Profile as the Pod runtime recipe while Ticket orchestration owns the role-to-profile binding.
The first implementation should parse/validate config and wire the configured backend root into Ticket tools. It should not spawn Pods, add TUI actions, or implement a stateful workflow engine yet.
Detailed investigation and implementation plan: artifacts/investigation-plan.md.
Plan
Plan:
- Add Ticket config model/parser, probably in
crates/ticket/src/config.rs, using lightweight string wrapper types for Profile/prompt/workflow refs soticketdoes not depend onpod. - Parse
.yoi/ticket.config.tomlfrom a workspace root, with defaults when missing. - Support
[backend]local root and fixed[roles.*]sections. - Wire the configured backend root into
crates/pod/src/feature/builtin/ticket.rsso Ticket tools no longer hard-code<workspace>/work-items. - Add focused tests in
ticketandpod. - Defer Pod role launching, TUI actions, and workflow-state/prompt sequencing to follow-up tickets.