ticket: close legacy schema cleanup

This commit is contained in:
Keisuke Hirata 2026-06-08 21:49:31 +09:00
parent de8e973ce2
commit 1d236de956
No known key found for this signature in database
4 changed files with 60 additions and 3 deletions

View File

@ -2,13 +2,13 @@
id: '20260608-103842-remove-legacy-ticket-schema-fields'
slug: 'remove-legacy-ticket-schema-fields'
title: 'Remove legacy Ticket schema fields and intake compatibility'
status: 'open'
status: 'closed'
kind: 'task'
priority: 'P1'
labels: ['ticket', 'schema', 'migration', 'cleanup']
workflow_state: 'inprogress'
workflow_state: 'done'
created_at: '2026-06-08T10:38:42Z'
updated_at: '2026-06-08T12:45:30Z'
updated_at: '2026-06-08T12:49:24Z'
assignee: null
queued_by: 'workspace-panel'
queued_at: '2026-06-08T11:21:33Z'

View File

@ -0,0 +1,20 @@
Implemented and merged.
Summary:
- Removed `legacy_ticket` from the current Ticket schema, metadata, summary, tool input/output, and CLI show/list/create surfaces.
- Removed `needs_preflight` from current schema/API/panel/tool output surfaces.
- Removed legacy `workflow_state: intake` compatibility; parser/tests now reject `intake` instead of normalizing it to `planning`.
- Migrated local `.yoi/tickets/**/item.md` frontmatter to remove obsolete `legacy_ticket` entries, including non-null values explicitly authorized as obsolete migration breadcrumbs.
- Preserved historical thread/resolution prose as audit history where it is not current schema/API input.
Implementation:
- Coder commit: `934a4b5 ticket: remove legacy schema fields`
- Merge commit: `de8e973 merge: remove legacy ticket schema fields`
- Reviewer approved with no blocking findings.
Validation:
- `cargo fmt --check`
- `git diff --check`
- `cargo run -q -p yoi -- ticket doctor`
- `cargo check --workspace`
- `nix build .#yoi`

View File

@ -274,4 +274,41 @@ Validation run by reviewer:
All passed. No blocking findings.
---
<!-- event: state_changed author: hare at: 2026-06-08T12:49:24Z from: inprogress to: done reason: closed field: workflow_state -->
## State changed
Ticket closed; workflow_state を done に設定しました。
---
<!-- event: close author: hare at: 2026-06-08T12:49:24Z status: closed -->
## 完了
Implemented and merged.
Summary:
- Removed `legacy_ticket` from the current Ticket schema, metadata, summary, tool input/output, and CLI show/list/create surfaces.
- Removed `needs_preflight` from current schema/API/panel/tool output surfaces.
- Removed legacy `workflow_state: intake` compatibility; parser/tests now reject `intake` instead of normalizing it to `planning`.
- Migrated local `.yoi/tickets/**/item.md` frontmatter to remove obsolete `legacy_ticket` entries, including non-null values explicitly authorized as obsolete migration breadcrumbs.
- Preserved historical thread/resolution prose as audit history where it is not current schema/API input.
Implementation:
- Coder commit: `934a4b5 ticket: remove legacy schema fields`
- Merge commit: `de8e973 merge: remove legacy ticket schema fields`
- Reviewer approved with no blocking findings.
Validation:
- `cargo fmt --check`
- `git diff --check`
- `cargo run -q -p yoi -- ticket doctor`
- `cargo check --workspace`
- `nix build .#yoi`
---