ticket: close ticket init scaffold

This commit is contained in:
Keisuke Hirata 2026-06-07 13:05:29 +09:00
parent e592496c61
commit f952c1cfb4
No known key found for this signature in database
5 changed files with 91 additions and 3 deletions

View File

@ -1,3 +1,23 @@
[backend] [backend]
provider = "builtin:yoi_local" provider = "builtin:yoi_local"
root = ".yoi/tickets" 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"

View File

@ -2,13 +2,13 @@
id: 20260607-031439-ticket-init-role-profile-scaffold id: 20260607-031439-ticket-init-role-profile-scaffold
slug: ticket-init-role-profile-scaffold slug: ticket-init-role-profile-scaffold
title: Scaffold explicit Ticket role profiles in init config title: Scaffold explicit Ticket role profiles in init config
status: open status: closed
kind: task kind: task
priority: P1 priority: P1
labels: [ticket, config, init, profiles, panel] labels: [ticket, config, init, profiles, panel]
workflow_state: ready workflow_state: done
created_at: 2026-06-07T03:14:39Z created_at: 2026-06-07T03:14:39Z
updated_at: 2026-06-07T04:04:17Z updated_at: 2026-06-07T04:05:15Z
assignee: null assignee: null
legacy_ticket: null legacy_ticket: null
--- ---

View File

@ -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`

View File

@ -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. - 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.
--- ---
<!-- event: state_changed author: hare at: 2026-06-07T04:05:15Z from: ready to: done reason: closed field: workflow_state -->
## State changed
Ticket closed; workflow_state set to done.
---
<!-- event: close author: hare at: 2026-06-07T04:05:15Z status: closed -->
## 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`
---