ticket: close local ticket backend

This commit is contained in:
Keisuke Hirata 2026-06-05 13:45:54 +09:00
parent 1041cdb961
commit d9003e525d
No known key found for this signature in database
7 changed files with 78 additions and 2 deletions

View File

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

View File

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

View File

@ -207,4 +207,46 @@ Non-blocker follow-ups:
Yes.
---
<!-- event: close author: hare at: 2026-06-05T04:45:46Z status: closed -->
## 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`
---