diff --git a/.yoi/ticket.config.toml b/.yoi/ticket.config.toml index fb1c3085..0c3b2f40 100644 --- a/.yoi/ticket.config.toml +++ b/.yoi/ticket.config.toml @@ -1,3 +1,23 @@ [backend] provider = "builtin:yoi_local" root = ".yoi/tickets" + +[roles.intake] +profile = "builtin:default" +workflow = "ticket-intake-workflow" + +[roles.orchestrator] +profile = "builtin:default" +workflow = "ticket-orchestrator-routing" + +[roles.coder] +profile = "builtin:default" +workflow = "multi-agent-workflow" + +[roles.reviewer] +profile = "builtin:default" +workflow = "multi-agent-workflow" + +[roles.investigator] +profile = "builtin:default" +workflow = "ticket-preflight-workflow" diff --git a/.yoi/tickets/open/20260607-031439-ticket-init-role-profile-scaffold/artifacts/.gitkeep b/.yoi/tickets/closed/20260607-031439-ticket-init-role-profile-scaffold/artifacts/.gitkeep similarity index 100% rename from .yoi/tickets/open/20260607-031439-ticket-init-role-profile-scaffold/artifacts/.gitkeep rename to .yoi/tickets/closed/20260607-031439-ticket-init-role-profile-scaffold/artifacts/.gitkeep diff --git a/.yoi/tickets/open/20260607-031439-ticket-init-role-profile-scaffold/item.md b/.yoi/tickets/closed/20260607-031439-ticket-init-role-profile-scaffold/item.md similarity index 97% rename from .yoi/tickets/open/20260607-031439-ticket-init-role-profile-scaffold/item.md rename to .yoi/tickets/closed/20260607-031439-ticket-init-role-profile-scaffold/item.md index 1a5e7cd3..994e51b3 100644 --- a/.yoi/tickets/open/20260607-031439-ticket-init-role-profile-scaffold/item.md +++ b/.yoi/tickets/closed/20260607-031439-ticket-init-role-profile-scaffold/item.md @@ -2,13 +2,13 @@ id: 20260607-031439-ticket-init-role-profile-scaffold slug: ticket-init-role-profile-scaffold title: Scaffold explicit Ticket role profiles in init config -status: open +status: closed kind: task priority: P1 labels: [ticket, config, init, profiles, panel] -workflow_state: ready +workflow_state: done created_at: 2026-06-07T03:14:39Z -updated_at: 2026-06-07T04:04:17Z +updated_at: 2026-06-07T04:05:15Z assignee: null legacy_ticket: null --- diff --git a/.yoi/tickets/closed/20260607-031439-ticket-init-role-profile-scaffold/resolution.md b/.yoi/tickets/closed/20260607-031439-ticket-init-role-profile-scaffold/resolution.md new file mode 100644 index 00000000..a5678e58 --- /dev/null +++ b/.yoi/tickets/closed/20260607-031439-ticket-init-role-profile-scaffold/resolution.md @@ -0,0 +1,26 @@ +Implemented, reviewed, merged, validated, and applied to this workspace config. + +Summary: +- Added a narrow `yoi ticket init` command. +- The command creates `.yoi/ticket.config.toml` only when missing and refuses to overwrite an existing config with an actionable diagnostic. +- Added `ticket_config_scaffold()` for the generated config body. +- Generated config includes explicit backend config and fixed role tables for intake, orchestrator, coder, reviewer, and investigator. +- Each generated role uses explicit `profile = "builtin:default"` and explicit default workflow. +- No runtime fallback was added or loosened. +- The generated config validates for Ticket role launch planning under the strict validation implemented by `ticket-role-launch-config-strict-validation`. +- This repository's `.yoi/ticket.config.toml` was updated to the scaffolded explicit role-profile shape for dogfooding. + +Implementation: +- Child commit: `f265098 ticket: add ticket config init scaffold` +- Merge commit: `merge: ticket init scaffold` + +Review: +- External reviewer `ticket-init-scaffold-reviewer-20260607` approved with no blockers. + +Validation after merge: +- `cargo test -p ticket config --lib` +- `cargo test -p client ticket_role --lib` +- `cargo test -p yoi ticket` +- `cargo fmt --check` +- `git diff --check` +- `target/debug/yoi ticket doctor` \ No newline at end of file diff --git a/.yoi/tickets/open/20260607-031439-ticket-init-role-profile-scaffold/thread.md b/.yoi/tickets/closed/20260607-031439-ticket-init-role-profile-scaffold/thread.md similarity index 82% rename from .yoi/tickets/open/20260607-031439-ticket-init-role-profile-scaffold/thread.md rename to .yoi/tickets/closed/20260607-031439-ticket-init-role-profile-scaffold/thread.md index d27c2b98..a5d1f1b8 100644 --- a/.yoi/tickets/open/20260607-031439-ticket-init-role-profile-scaffold/thread.md +++ b/.yoi/tickets/closed/20260607-031439-ticket-init-role-profile-scaffold/thread.md @@ -158,3 +158,45 @@ Dogfooding note: - The main workspace's existing `.yoi/ticket.config.toml` remains backend-only, so a separate main-workspace config update is needed after merge if this workspace should use explicit Ticket role profiles. --- + + + +## State changed + +Ticket closed; workflow_state set to done. + + +--- + + + +## Closed + +Implemented, reviewed, merged, validated, and applied to this workspace config. + +Summary: +- Added a narrow `yoi ticket init` command. +- The command creates `.yoi/ticket.config.toml` only when missing and refuses to overwrite an existing config with an actionable diagnostic. +- Added `ticket_config_scaffold()` for the generated config body. +- Generated config includes explicit backend config and fixed role tables for intake, orchestrator, coder, reviewer, and investigator. +- Each generated role uses explicit `profile = "builtin:default"` and explicit default workflow. +- No runtime fallback was added or loosened. +- The generated config validates for Ticket role launch planning under the strict validation implemented by `ticket-role-launch-config-strict-validation`. +- This repository's `.yoi/ticket.config.toml` was updated to the scaffolded explicit role-profile shape for dogfooding. + +Implementation: +- Child commit: `f265098 ticket: add ticket config init scaffold` +- Merge commit: `merge: ticket init scaffold` + +Review: +- External reviewer `ticket-init-scaffold-reviewer-20260607` approved with no blockers. + +Validation after merge: +- `cargo test -p ticket config --lib` +- `cargo test -p client ticket_role --lib` +- `cargo test -p yoi ticket` +- `cargo fmt --check` +- `git diff --check` +- `target/debug/yoi ticket doctor` + +---