ticket: close ticket list output slimming

This commit is contained in:
Keisuke Hirata 2026-06-09 19:53:50 +09:00
parent f2cdb6fd19
commit 703176df7c
No known key found for this signature in database
3 changed files with 71 additions and 2 deletions

View File

@ -1,8 +1,8 @@
--- ---
title: 'TicketListの出力を軽量化する' title: 'TicketListの出力を軽量化する'
state: 'inprogress' state: 'closed'
created_at: '2026-06-09T08:52:12Z' created_at: '2026-06-09T08:52:12Z'
updated_at: '2026-06-09T10:45:45Z' updated_at: '2026-06-09T10:53:35Z'
assignee: null assignee: null
queued_by: 'workspace-panel' queued_by: 'workspace-panel'
queued_at: '2026-06-09T10:01:28Z' queued_at: '2026-06-09T10:01:28Z'

View File

@ -0,0 +1,26 @@
Implemented, reviewed, merged, and validated.
Summary:
- Made `TicketList` a lightweight bounded overview/selection surface.
- Default/max limit is bounded; output includes short metadata such as canonical id, truncated title, state, updated timestamp, and hints.
- Tool output includes count/returned/truncated/limit metadata.
- `body`, thread/event text, artifact content/details, and resolution content are not emitted from `TicketList`.
- CLI `yoi ticket list` uses the same bounded policy and `--limit` support.
- `TicketShow` remains the detailed authority for routing/implementation/close decisions.
Implementation:
- Coder commit: `7368416 ticket: lighten ticket list output`
- Reviewer approved with no blocking findings.
- Merge commit: `b6ac36e merge: lighten ticket list output`
- Follow-up mechanical fix after ToolExecutionContext landed: `f2cdb6f fix: align ticket list tests with tool context`
Validation after merge:
- `cargo test -p ticket ticket_list_tool`
- `cargo test -p yoi ticket_cli_list`
- `cargo test -p yoi ticket_cli_create_list_show_comment_review_state_close_and_doctor`
- `cargo test -p ticket ticket_tools_create_list_show_and_doctor`
- `cargo fmt --check`
- `git diff --check`
- `cargo run -q -p yoi -- ticket doctor`
- `cargo check --workspace`
- `nix build .#yoi`

View File

@ -283,4 +283,47 @@ Reviewer validation:
All passed. Residual note: if ToolExecutionContext lands first, final merge may need mechanical API adjustment around tool execution plumbing. This does not affect the bounded TicketList output policy. All passed. Residual note: if ToolExecutionContext lands first, final merge may need mechanical API adjustment around tool execution plumbing. This does not affect the bounded TicketList output policy.
---
<!-- event: state_changed author: hare at: 2026-06-09T10:53:35Z from: inprogress to: closed reason: closed field: state -->
## State changed
Ticket を closed にしました。
---
<!-- event: close author: hare at: 2026-06-09T10:53:35Z status: closed -->
## 完了
Implemented, reviewed, merged, and validated.
Summary:
- Made `TicketList` a lightweight bounded overview/selection surface.
- Default/max limit is bounded; output includes short metadata such as canonical id, truncated title, state, updated timestamp, and hints.
- Tool output includes count/returned/truncated/limit metadata.
- `body`, thread/event text, artifact content/details, and resolution content are not emitted from `TicketList`.
- CLI `yoi ticket list` uses the same bounded policy and `--limit` support.
- `TicketShow` remains the detailed authority for routing/implementation/close decisions.
Implementation:
- Coder commit: `7368416 ticket: lighten ticket list output`
- Reviewer approved with no blocking findings.
- Merge commit: `b6ac36e merge: lighten ticket list output`
- Follow-up mechanical fix after ToolExecutionContext landed: `f2cdb6f fix: align ticket list tests with tool context`
Validation after merge:
- `cargo test -p ticket ticket_list_tool`
- `cargo test -p yoi ticket_cli_list`
- `cargo test -p yoi ticket_cli_create_list_show_comment_review_state_close_and_doctor`
- `cargo test -p ticket ticket_tools_create_list_show_and_doctor`
- `cargo fmt --check`
- `git diff --check`
- `cargo run -q -p yoi -- ticket doctor`
- `cargo check --workspace`
- `nix build .#yoi`
--- ---