ticket: remove legacy schema fields

This commit is contained in:
2026-06-08 21:36:56 +09:00
parent 51adf011b6
commit 934a4b5802
169 changed files with 91 additions and 247 deletions
@@ -10,7 +10,6 @@ workflow_state: planning
created_at: 2026-05-27T00:00:02Z
updated_at: 2026-05-27T00:00:02Z
assignee: null
legacy_ticket: tickets/e2e-harness.md
---
## Migration reference
@@ -10,7 +10,6 @@ workflow_state: planning
created_at: 2026-05-27T00:00:03Z
updated_at: 2026-05-27T00:00:03Z
assignee: null
legacy_ticket: tickets/internal-worker-workflow.md
---
## Migration reference
@@ -10,7 +10,6 @@ workflow_state: planning
created_at: 2026-05-27T00:00:06Z
updated_at: 2026-05-27T00:00:06Z
assignee: null
legacy_ticket: tickets/permission-default-policy.md
---
## Migration reference
@@ -10,7 +10,6 @@ workflow_state: planning
created_at: 2026-05-27T00:00:09Z
updated_at: 2026-05-27T00:00:09Z
assignee: null
legacy_ticket: tickets/pod-session-fork.md
---
## Migration reference
@@ -10,7 +10,6 @@ workflow_state: planning
created_at: 2026-05-27T00:00:10Z
updated_at: 2026-05-27T00:00:10Z
assignee: null
legacy_ticket: tickets/prompt-eval-metrics.md
---
## Migration reference
@@ -10,7 +10,6 @@ workflow_state: planning
created_at: 2026-05-27T00:00:15Z
updated_at: 2026-05-27T00:00:15Z
assignee: null
legacy_ticket: tickets/tui-navigation-mode-design.md
---
## Migration reference
@@ -9,7 +9,6 @@ labels: [migrated]
created_at: 2026-05-27T00:00:18Z
updated_at: '2026-06-08T07:29:10Z'
assignee: null
legacy_ticket: tickets/tui-user-model-setup.md
workflow_state: 'ready'
---
@@ -10,7 +10,6 @@ workflow_state: planning
created_at: 2026-05-28T13:13:17Z
updated_at: 2026-05-28T13:13:17Z
assignee: null
legacy_ticket: null
---
## Background
@@ -10,7 +10,6 @@ workflow_state: planning
created_at: 2026-05-29T04:19:11Z
updated_at: 2026-05-29T04:19:11Z
assignee: null
legacy_ticket: null
---
## Background
@@ -10,7 +10,6 @@ workflow_state: planning
created_at: 2026-05-29T16:19:28Z
updated_at: 2026-05-29T16:19:28Z
assignee: null
legacy_ticket: null
---
## Background
@@ -10,7 +10,6 @@ workflow_state: planning
created_at: 2026-05-30T05:37:21Z
updated_at: 2026-05-30T05:38:11Z
assignee: null
legacy_ticket: null
---
## Background
@@ -10,7 +10,6 @@ workflow_state: planning
created_at: 2026-05-31T01:00:05Z
updated_at: 2026-06-03T12:25:05Z
assignee: null
legacy_ticket: null
---
## Background
@@ -10,7 +10,6 @@ workflow_state: planning
created_at: 2026-06-01T02:11:04Z
updated_at: 2026-06-05T23:01:38Z
assignee: null
legacy_ticket: null
---
## Issue
@@ -10,7 +10,6 @@ workflow_state: planning
created_at: 2026-06-01T06:49:53Z
updated_at: 2026-06-01T06:50:33Z
assignee: null
legacy_ticket: null
---
## Background
@@ -10,7 +10,6 @@ workflow_state: planning
created_at: 2026-06-01T12:36:41Z
updated_at: 2026-06-01T13:08:45Z
assignee: null
legacy_ticket: null
---
## Background
@@ -10,7 +10,6 @@ workflow_state: planning
created_at: 2026-06-07T00:16:51Z
updated_at: 2026-06-07T02:45:32Z
assignee: null
legacy_ticket: null
---
## Background
@@ -10,7 +10,6 @@ workflow_state: planning
created_at: 2026-06-07T00:16:51Z
updated_at: 2026-06-07T03:13:01Z
assignee: null
legacy_ticket: null
---
## Background
@@ -10,7 +10,6 @@ workflow_state: planning
created_at: 2026-06-07T02:02:15Z
updated_at: 2026-06-07T03:57:24Z
assignee: null
legacy_ticket: null
---
## Background
@@ -10,7 +10,6 @@ workflow_state: planning
created_at: 2026-06-07T02:23:28Z
updated_at: 2026-06-07T02:23:28Z
assignee: null
legacy_ticket: null
---
## Background
@@ -10,7 +10,6 @@ workflow_state: 'queued'
created_at: 2026-06-07T03:57:10Z
updated_at: '2026-06-08T12:10:29Z'
assignee: null
legacy_ticket: null
queued_by: 'workspace-panel'
queued_at: '2026-06-08T11:21:13Z'
---
@@ -10,7 +10,6 @@ workflow_state: planning
created_at: 2026-06-07T07:27:08Z
updated_at: 2026-06-07T07:27:08Z
assignee: null
legacy_ticket: null
---
## Background
@@ -10,7 +10,6 @@ workflow_state: planning
created_at: 2026-06-07T07:33:13Z
updated_at: 2026-06-07T07:33:13Z
assignee: null
legacy_ticket: null
---
## Background
@@ -10,7 +10,6 @@ workflow_state: done
created_at: 2026-06-07T21:38:08Z
updated_at: 2026-06-07T22:26:19Z
assignee: null
legacy_ticket: null
queued_by: workspace-panel
queued_at: 2026-06-07T22:04:20Z
---
@@ -10,7 +10,6 @@ workflow_state: planning
created_at: 2026-06-07T22:06:06Z
updated_at: 2026-06-07T22:06:06Z
assignee: null
legacy_ticket: null
---
## Background
@@ -10,7 +10,6 @@ workflow_state: done
created_at: 2026-06-07T22:32:33Z
updated_at: 2026-06-07T23:38:32Z
assignee: null
legacy_ticket: null
queued_by: workspace-panel
queued_at: 2026-06-07T22:43:03Z
---
@@ -21,7 +20,6 @@ Ticket `item.md` frontmatter is written in YAML-like syntax and uses YAML null v
```yaml
assignee: null
legacy_ticket: null
attention_required: null
queued_by: null
queued_at: null
@@ -10,7 +10,6 @@ workflow_state: planning
created_at: 2026-06-07T22:43:09Z
updated_at: 2026-06-07T22:43:09Z
assignee: null
legacy_ticket: null
---
## Background
@@ -10,7 +10,6 @@ workflow_state: done
created_at: 2026-06-07T23:00:44Z
updated_at: 2026-06-07T23:38:32Z
assignee: null
legacy_ticket: null
queued_by: workspace-panel
queued_at: 2026-06-07T23:03:35Z
---
@@ -10,7 +10,6 @@ workflow_state: 'planning'
created_at: 2026-06-07T23:45:30Z
updated_at: '2026-06-08T03:49:14Z'
assignee: null
legacy_ticket: null
queued_by: 'workspace-panel'
queued_at: '2026-06-08T03:48:46Z'
---
@@ -10,7 +10,6 @@ workflow_state: planning
created_at: '2026-06-08T06:12:35Z'
updated_at: '2026-06-08T06:27:33Z'
assignee: null
legacy_ticket: null
---
## Background
@@ -10,7 +10,6 @@ workflow_state: 'ready'
created_at: '2026-06-08T07:17:22Z'
updated_at: '2026-06-08T10:58:29Z'
assignee: null
legacy_ticket: null
---
## Background
@@ -10,7 +10,6 @@ workflow_state: planning
created_at: '2026-06-08T07:27:32Z'
updated_at: '2026-06-08T07:28:29Z'
assignee: null
legacy_ticket: null
---
## Background
@@ -10,7 +10,6 @@ workflow_state: 'ready'
created_at: '2026-06-08T10:31:33Z'
updated_at: '2026-06-08T10:31:40Z'
assignee: null
legacy_ticket: null
risk_flags: ['tui-rendering', 'markdown']
---
@@ -8,9 +8,8 @@ priority: 'P1'
labels: ['ticket', 'schema', 'migration', 'cleanup']
workflow_state: 'inprogress'
created_at: '2026-06-08T10:38:42Z'
updated_at: '2026-06-08T12:17:50Z'
updated_at: '2026-06-08T12:36:29Z'
assignee: null
legacy_ticket: null
queued_by: 'workspace-panel'
queued_at: '2026-06-08T11:21:33Z'
---
@@ -192,4 +192,28 @@ Policy for this Ticket:
This resolves the implementation block and authorizes Coder to continue the schema cleanup.
---
<!-- event: implementation_report author: hare at: 2026-06-08T12:36:29Z -->
## Implementation report
Implemented legacy Ticket schema field removal.
- Removed current schema/API exposure for `legacy_ticket` and `needs_preflight` from Ticket metadata, summaries, tool output, and create inputs.
- Rejected `workflow_state: intake` instead of treating it as a planning alias.
- Migrated current local Ticket `item.md` frontmatter to remove obsolete `legacy_ticket` / `needs_preflight` entries, including non-null migration breadcrumbs.
- Updated focused tests for create/list/show/tool output and panel metadata behavior.
Validation completed before this report:
- `cargo test -p ticket --lib`
- `cargo test -p yoi ticket_cli`
- `cargo test -p tui workspace_panel`
- `cargo fmt --check`
- `git diff --check`
- `cargo run -q -p yoi -- ticket doctor`
- `cargo check --workspace`
- `nix build .#yoi`
---
@@ -10,7 +10,6 @@ workflow_state: 'planning'
created_at: '2026-06-08T11:09:40Z'
updated_at: '2026-06-08T11:15:09Z'
assignee: null
legacy_ticket: null
---
## Background