ticket: close panel role session registry

This commit is contained in:
Keisuke Hirata 2026-06-07 11:34:55 +09:00
parent 7e8e03d4a1
commit b660e790c6
No known key found for this signature in database
4 changed files with 75 additions and 3 deletions

View File

@ -2,13 +2,13 @@
id: 20260607-012131-workspace-panel-local-role-session-registry id: 20260607-012131-workspace-panel-local-role-session-registry
slug: workspace-panel-local-role-session-registry slug: workspace-panel-local-role-session-registry
title: Workspace panel local role session registry title: Workspace panel local role session registry
status: open status: closed
kind: task kind: task
priority: P1 priority: P1
labels: [tui, panel, ticket, pod, orchestration] labels: [tui, panel, ticket, pod, orchestration]
workflow_state: ready workflow_state: done
created_at: 2026-06-07T01:21:31Z created_at: 2026-06-07T01:21:31Z
updated_at: 2026-06-07T02:34:09Z updated_at: 2026-06-07T02:34:48Z
assignee: null assignee: null
legacy_ticket: null legacy_ticket: null
--- ---

View File

@ -0,0 +1,28 @@
Implemented, externally reviewed, merged, and validated.
Summary:
- Added a local workspace-scoped panel role session registry under user data.
- Added local Ticket claim files to enforce at most one active local Pod claim per Ticket.
- Supported pre-Ticket Intake sessions and 0..N related Tickets per role session.
- Preserved `ticket-*` Pod heuristic visibility while adding local claim status display.
- Existing-Ticket Intake now claims before launch and refuses to silently start a second Pod when a live/restorable/stale claim exists.
- Local Pod assignment is not written into git-tracked Ticket metadata/thread.
- Preserved the already-merged no-direct-selected-Pod-send behavior.
Merged implementation:
- `4890590 tui: add panel role session registry`
- `2f3f54b fixup! tui: add panel role session registry`
- Merge commit: `merge: panel role session registry`
Review:
- Initial review requested changes for direct-send semantic conflict, incomplete registry schema, and launch failure/recording behavior.
- Fixup addressed blockers.
- Follow-up review approved with only non-blocking follow-ups: stale-lock recovery and temp claim file housekeeping.
Validation after merge:
- `cargo test -p tui role_session_registry --lib`
- `cargo test -p tui workspace_panel --lib`
- `cargo test -p tui multi_pod --lib`
- `cargo fmt --check`
- `git diff --check`
- `target/debug/yoi ticket doctor`

View File

@ -163,3 +163,47 @@ Non-blocking follow-ups:
- Temp claim files may remain after a crash before link/cleanup, though they are not read as claim JSON. - Temp claim files may remain after a crash before link/cleanup, though they are not read as claim JSON.
--- ---
<!-- event: state_changed author: hare at: 2026-06-07T02:34:48Z from: ready to: done reason: closed field: workflow_state -->
## State changed
Ticket closed; workflow_state set to done.
---
<!-- event: close author: hare at: 2026-06-07T02:34:48Z status: closed -->
## Closed
Implemented, externally reviewed, merged, and validated.
Summary:
- Added a local workspace-scoped panel role session registry under user data.
- Added local Ticket claim files to enforce at most one active local Pod claim per Ticket.
- Supported pre-Ticket Intake sessions and 0..N related Tickets per role session.
- Preserved `ticket-*` Pod heuristic visibility while adding local claim status display.
- Existing-Ticket Intake now claims before launch and refuses to silently start a second Pod when a live/restorable/stale claim exists.
- Local Pod assignment is not written into git-tracked Ticket metadata/thread.
- Preserved the already-merged no-direct-selected-Pod-send behavior.
Merged implementation:
- `4890590 tui: add panel role session registry`
- `2f3f54b fixup! tui: add panel role session registry`
- Merge commit: `merge: panel role session registry`
Review:
- Initial review requested changes for direct-send semantic conflict, incomplete registry schema, and launch failure/recording behavior.
- Fixup addressed blockers.
- Follow-up review approved with only non-blocking follow-ups: stale-lock recovery and temp claim file housekeeping.
Validation after merge:
- `cargo test -p tui role_session_registry --lib`
- `cargo test -p tui workspace_panel --lib`
- `cargo test -p tui multi_pod --lib`
- `cargo fmt --check`
- `git diff --check`
- `target/debug/yoi ticket doctor`
---