From a8b012f9e7c8e15f525b2eecfe5e7bf4e65b51e5 Mon Sep 17 00:00:00 2001 From: Hare Date: Sat, 6 Jun 2026 07:13:53 +0900 Subject: [PATCH] ticket: close yoi local backend migration --- .../artifacts/.gitkeep | 0 .../item.md | 4 +- .../resolution.md | 32 +++++++++++++++ .../thread.md | 40 +++++++++++++++++++ 4 files changed, 74 insertions(+), 2 deletions(-) rename .yoi/tickets/{open => closed}/20260605-203006-yoi-local-ticket-backend-migration/artifacts/.gitkeep (100%) rename .yoi/tickets/{open => closed}/20260605-203006-yoi-local-ticket-backend-migration/item.md (98%) create mode 100644 .yoi/tickets/closed/20260605-203006-yoi-local-ticket-backend-migration/resolution.md rename .yoi/tickets/{open => closed}/20260605-203006-yoi-local-ticket-backend-migration/thread.md (50%) diff --git a/.yoi/tickets/open/20260605-203006-yoi-local-ticket-backend-migration/artifacts/.gitkeep b/.yoi/tickets/closed/20260605-203006-yoi-local-ticket-backend-migration/artifacts/.gitkeep similarity index 100% rename from .yoi/tickets/open/20260605-203006-yoi-local-ticket-backend-migration/artifacts/.gitkeep rename to .yoi/tickets/closed/20260605-203006-yoi-local-ticket-backend-migration/artifacts/.gitkeep diff --git a/.yoi/tickets/open/20260605-203006-yoi-local-ticket-backend-migration/item.md b/.yoi/tickets/closed/20260605-203006-yoi-local-ticket-backend-migration/item.md similarity index 98% rename from .yoi/tickets/open/20260605-203006-yoi-local-ticket-backend-migration/item.md rename to .yoi/tickets/closed/20260605-203006-yoi-local-ticket-backend-migration/item.md index 90437821..1323b9b7 100644 --- a/.yoi/tickets/open/20260605-203006-yoi-local-ticket-backend-migration/item.md +++ b/.yoi/tickets/closed/20260605-203006-yoi-local-ticket-backend-migration/item.md @@ -2,12 +2,12 @@ id: 20260605-203006-yoi-local-ticket-backend-migration slug: yoi-local-ticket-backend-migration title: Yoi-local Ticket backend migration -status: open +status: closed kind: task priority: P1 labels: [ticket, backend, migration, cli] created_at: 2026-06-05T20:30:06Z -updated_at: 2026-06-05T20:32:09Z +updated_at: 2026-06-05T22:13:53Z assignee: null legacy_ticket: null --- diff --git a/.yoi/tickets/closed/20260605-203006-yoi-local-ticket-backend-migration/resolution.md b/.yoi/tickets/closed/20260605-203006-yoi-local-ticket-backend-migration/resolution.md new file mode 100644 index 00000000..a33d778d --- /dev/null +++ b/.yoi/tickets/closed/20260605-203006-yoi-local-ticket-backend-migration/resolution.md @@ -0,0 +1,32 @@ +Completed the Yoi-local Ticket backend migration. + +Child tickets completed: +- `yoi-ticket-cli-parity`: added top-level `yoi ticket` commands for create/list/show/comment/review/status/close/doctor against the Rust Ticket backend. +- `builtin-yoi-local-ticket-backend-config`: introduced canonical backend provider config `provider = "builtin:yoi_local"`. +- `migrate-ticket-storage-to-yoi-tickets`: moved active Ticket records from `work-items/` to `.yoi/tickets/` and made `.yoi/tickets` the default/configured root. +- `remove-tickets-sh`: deleted the transitional `tickets.sh` mutation path and updated active docs/instructions/tests to use `yoi ticket ...`. + +Final authority model: + +```toml +[backend] +provider = "builtin:yoi_local" +root = ".yoi/tickets" +``` + +- `yoi` binary + `crates/ticket` backend 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.sh` is 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 ticket` +- `cargo test -p yoi ticket` +- `cargo test -p pod ticket --lib` +- `cargo check --workspace --all-targets` +- `cargo fmt --check` +- `cargo build -p yoi` +- `target/debug/yoi ticket doctor` +- `nix build .#yoi --no-link` +- absence checks for `tickets.sh` and repository-root `work-items/` after final cleanup. diff --git a/.yoi/tickets/open/20260605-203006-yoi-local-ticket-backend-migration/thread.md b/.yoi/tickets/closed/20260605-203006-yoi-local-ticket-backend-migration/thread.md similarity index 50% rename from .yoi/tickets/open/20260605-203006-yoi-local-ticket-backend-migration/thread.md rename to .yoi/tickets/closed/20260605-203006-yoi-local-ticket-backend-migration/thread.md index 69bc6d03..0b0ad04c 100644 --- a/.yoi/tickets/open/20260605-203006-yoi-local-ticket-backend-migration/thread.md +++ b/.yoi/tickets/closed/20260605-203006-yoi-local-ticket-backend-migration/thread.md @@ -51,4 +51,44 @@ Plan: - Delete the shell compatibility CLI and update active docs/workflows/validation to `yoi ticket doctor`. +--- + + + +## Closed + +Completed the Yoi-local Ticket backend migration. + +Child tickets completed: +- `yoi-ticket-cli-parity`: added top-level `yoi ticket` commands for create/list/show/comment/review/status/close/doctor against the Rust Ticket backend. +- `builtin-yoi-local-ticket-backend-config`: introduced canonical backend provider config `provider = "builtin:yoi_local"`. +- `migrate-ticket-storage-to-yoi-tickets`: moved active Ticket records from `work-items/` to `.yoi/tickets/` and made `.yoi/tickets` the default/configured root. +- `remove-tickets-sh`: deleted the transitional `tickets.sh` mutation path and updated active docs/instructions/tests to use `yoi ticket ...`. + +Final authority model: + +```toml +[backend] +provider = "builtin:yoi_local" +root = ".yoi/tickets" +``` + +- `yoi` binary + `crates/ticket` backend 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.sh` is 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 ticket` +- `cargo test -p yoi ticket` +- `cargo test -p pod ticket --lib` +- `cargo check --workspace --all-targets` +- `cargo fmt --check` +- `cargo build -p yoi` +- `target/debug/yoi ticket doctor` +- `nix build .#yoi --no-link` +- absence checks for `tickets.sh` and repository-root `work-items/` after final cleanup. + + ---