3.2 KiB
3.2 KiB
Created
Created by tickets.sh create.
Decision
Decision: migrate Ticket authority to the yoi binary and Yoi's built-in local backend.
Target state:
- Direct CLI operations use
yoi ticket .... - Backend config uses
provider = "builtin:yoi_local". - Active Ticket storage lives under
.yoi/tickets/. tickets.shis removed.- Top-level
work-items/is removed as active storage.
Rationale:
- Normal users should use TUI role actions, Ticket tools, workflows, and
yoi ticket ..., not a shell script. - Keeping
tickets.shas a live mutation path duplicates Ticket semantics and undermines the Rust backend as authority. .yoi/tickets/aligns Ticket records with.yoi/workflowand.yoi/ticket.config.tomlas tracked project orchestration state.work-items/is legacy storage naming after the project concept was renamed to Ticket.
Migration should land in child tickets so the repository remains operable at each step.
Plan
Plan:
-
yoi-ticket-cli-parity- Add
yoi ticket ...operations over the Rust Ticket backend.
- Add
-
builtin-yoi-local-ticket-backend-config- Add canonical
provider = "builtin:yoi_local"backend config and defaults.
- Add canonical
-
migrate-ticket-storage-to-yoi-tickets- Move active Ticket records from
work-items/to.yoi/tickets/.
- Move active Ticket records from
-
remove-tickets-sh- Delete the shell compatibility CLI and update active docs/workflows/validation to
yoi ticket doctor.
- Delete the shell compatibility CLI and update active docs/workflows/validation to
Closed
Completed the Yoi-local Ticket backend migration.
Child tickets completed:
yoi-ticket-cli-parity: added top-levelyoi ticketcommands for create/list/show/comment/review/status/close/doctor against the Rust Ticket backend.builtin-yoi-local-ticket-backend-config: introduced canonical backend provider configprovider = "builtin:yoi_local".migrate-ticket-storage-to-yoi-tickets: moved active Ticket records fromwork-items/to.yoi/tickets/and made.yoi/ticketsthe default/configured root.remove-tickets-sh: deleted the transitionaltickets.shmutation path and updated active docs/instructions/tests to useyoi ticket ....
Final authority model:
[backend]
provider = "builtin:yoi_local"
root = ".yoi/tickets"
yoibinary +crates/ticketbackend own active Ticket operations.- Active storage is
.yoi/tickets/. - Repository-root
work-items/is no longer present and is not an active mutable backend. tickets.shis removed.- Historical records may still mention old paths/commands as history, but active instructions and validation use
yoi ticket ....
Final validation points across the sequence included:
cargo test -p ticketcargo test -p yoi ticketcargo test -p pod ticket --libcargo check --workspace --all-targetscargo fmt --checkcargo build -p yoitarget/debug/yoi ticket doctornix build .#yoi --no-link- absence checks for
tickets.shand repository-rootwork-items/after final cleanup.