From d9003e525da5d6442b96b289d526cad9ae9760c3 Mon Sep 17 00:00:00 2001 From: Hare Date: Fri, 5 Jun 2026 13:45:54 +0900 Subject: [PATCH] ticket: close local ticket backend --- .../artifacts/.gitkeep | 0 .../artifacts/delegation-intent.md | 0 .../artifacts/implementation-report.md | 0 .../artifacts/review.md | 0 .../item.md | 4 +- .../resolution.md | 34 +++++++++++++++ .../thread.md | 42 +++++++++++++++++++ 7 files changed, 78 insertions(+), 2 deletions(-) rename work-items/{open => closed}/20260605-040104-ticket-local-files-backend/artifacts/.gitkeep (100%) rename work-items/{open => closed}/20260605-040104-ticket-local-files-backend/artifacts/delegation-intent.md (100%) rename work-items/{open => closed}/20260605-040104-ticket-local-files-backend/artifacts/implementation-report.md (100%) rename work-items/{open => closed}/20260605-040104-ticket-local-files-backend/artifacts/review.md (100%) rename work-items/{open => closed}/20260605-040104-ticket-local-files-backend/item.md (98%) create mode 100644 work-items/closed/20260605-040104-ticket-local-files-backend/resolution.md rename work-items/{open => closed}/20260605-040104-ticket-local-files-backend/thread.md (86%) diff --git a/work-items/open/20260605-040104-ticket-local-files-backend/artifacts/.gitkeep b/work-items/closed/20260605-040104-ticket-local-files-backend/artifacts/.gitkeep similarity index 100% rename from work-items/open/20260605-040104-ticket-local-files-backend/artifacts/.gitkeep rename to work-items/closed/20260605-040104-ticket-local-files-backend/artifacts/.gitkeep diff --git a/work-items/open/20260605-040104-ticket-local-files-backend/artifacts/delegation-intent.md b/work-items/closed/20260605-040104-ticket-local-files-backend/artifacts/delegation-intent.md similarity index 100% rename from work-items/open/20260605-040104-ticket-local-files-backend/artifacts/delegation-intent.md rename to work-items/closed/20260605-040104-ticket-local-files-backend/artifacts/delegation-intent.md diff --git a/work-items/open/20260605-040104-ticket-local-files-backend/artifacts/implementation-report.md b/work-items/closed/20260605-040104-ticket-local-files-backend/artifacts/implementation-report.md similarity index 100% rename from work-items/open/20260605-040104-ticket-local-files-backend/artifacts/implementation-report.md rename to work-items/closed/20260605-040104-ticket-local-files-backend/artifacts/implementation-report.md diff --git a/work-items/open/20260605-040104-ticket-local-files-backend/artifacts/review.md b/work-items/closed/20260605-040104-ticket-local-files-backend/artifacts/review.md similarity index 100% rename from work-items/open/20260605-040104-ticket-local-files-backend/artifacts/review.md rename to work-items/closed/20260605-040104-ticket-local-files-backend/artifacts/review.md diff --git a/work-items/open/20260605-040104-ticket-local-files-backend/item.md b/work-items/closed/20260605-040104-ticket-local-files-backend/item.md similarity index 98% rename from work-items/open/20260605-040104-ticket-local-files-backend/item.md rename to work-items/closed/20260605-040104-ticket-local-files-backend/item.md index 19d0fd59..7b19fc8a 100644 --- a/work-items/open/20260605-040104-ticket-local-files-backend/item.md +++ b/work-items/closed/20260605-040104-ticket-local-files-backend/item.md @@ -2,12 +2,12 @@ id: 20260605-040104-ticket-local-files-backend slug: ticket-local-files-backend title: Ticket local files backend -status: open +status: closed kind: task priority: P1 labels: [ticket, backend, orchestration] created_at: 2026-06-05T04:01:04Z -updated_at: 2026-06-05T04:44:08Z +updated_at: 2026-06-05T04:45:46Z assignee: null legacy_ticket: null --- diff --git a/work-items/closed/20260605-040104-ticket-local-files-backend/resolution.md b/work-items/closed/20260605-040104-ticket-local-files-backend/resolution.md new file mode 100644 index 00000000..4adc3f24 --- /dev/null +++ b/work-items/closed/20260605-040104-ticket-local-files-backend/resolution.md @@ -0,0 +1,34 @@ +Ticket local files backend is complete and merged. + +Implementation: + +- `740b017 feat: add local ticket backend` +- merge commit: `1041cdb merge: add local ticket backend` + +Summary: + +- Added a new low-level `ticket` workspace crate. +- Added typed Ticket domain types and `TicketBackend` trait. +- Added `LocalTicketBackend` over the current `work-items/` storage. +- Implemented list/show/create/add_event/review/set_status/close/doctor operations. +- Preserved current local storage layout and `tickets.sh` compatibility. +- Kept the implementation independent from `pod`, `tui`, Intake, Orchestrator routing, and scheduler code. +- Did not rename `work-items/` or remove `tickets.sh`. + +Review: + +- External sibling reviewer approved with no blockers. +- Non-blocker follow-ups recorded in the implementation report/review: + - event references are modeled but not persisted/parsed in `thread.md` yet; + - write paths should avoid emitting extension values that `tickets.sh doctor` rejects unless the format is intentionally extended; + - backend lock coordinates Rust callers but not direct concurrent `tickets.sh` writes; + - inherited `thread.md` `---` separator ambiguity remains. + +Post-merge validation passed: + +- `cargo test -p ticket` +- `cargo fmt --check` +- `git diff --check` +- `./tickets.sh doctor` +- `cargo check --workspace --all-targets` +- `nix build .#yoi --no-link` diff --git a/work-items/open/20260605-040104-ticket-local-files-backend/thread.md b/work-items/closed/20260605-040104-ticket-local-files-backend/thread.md similarity index 86% rename from work-items/open/20260605-040104-ticket-local-files-backend/thread.md rename to work-items/closed/20260605-040104-ticket-local-files-backend/thread.md index 00f8a753..66be40c8 100644 --- a/work-items/open/20260605-040104-ticket-local-files-backend/thread.md +++ b/work-items/closed/20260605-040104-ticket-local-files-backend/thread.md @@ -207,4 +207,46 @@ Non-blocker follow-ups: Yes. +--- + + + +## Closed + +Ticket local files backend is complete and merged. + +Implementation: + +- `740b017 feat: add local ticket backend` +- merge commit: `1041cdb merge: add local ticket backend` + +Summary: + +- Added a new low-level `ticket` workspace crate. +- Added typed Ticket domain types and `TicketBackend` trait. +- Added `LocalTicketBackend` over the current `work-items/` storage. +- Implemented list/show/create/add_event/review/set_status/close/doctor operations. +- Preserved current local storage layout and `tickets.sh` compatibility. +- Kept the implementation independent from `pod`, `tui`, Intake, Orchestrator routing, and scheduler code. +- Did not rename `work-items/` or remove `tickets.sh`. + +Review: + +- External sibling reviewer approved with no blockers. +- Non-blocker follow-ups recorded in the implementation report/review: + - event references are modeled but not persisted/parsed in `thread.md` yet; + - write paths should avoid emitting extension values that `tickets.sh doctor` rejects unless the format is intentionally extended; + - backend lock coordinates Rust callers but not direct concurrent `tickets.sh` writes; + - inherited `thread.md` `---` separator ambiguity remains. + +Post-merge validation passed: + +- `cargo test -p ticket` +- `cargo fmt --check` +- `git diff --check` +- `./tickets.sh doctor` +- `cargo check --workspace --all-targets` +- `nix build .#yoi --no-link` + + ---