ticket: record intake claim review delegation

This commit is contained in:
Keisuke Hirata 2026-06-08 12:24:23 +09:00
parent 78a779e48d
commit 4b97a6a180
No known key found for this signature in database
2 changed files with 43 additions and 1 deletions

View File

@ -8,7 +8,7 @@ priority: P1
labels: [tui, panel, ticket, intake, bug]
workflow_state: 'inprogress'
created_at: 2026-06-07T22:02:25Z
updated_at: '2026-06-08T03:08:56Z'
updated_at: '2026-06-08T03:24:12Z'
assignee: null
legacy_ticket: null
queued_by: 'workspace-panel'

View File

@ -166,3 +166,45 @@ Stop/completion policy:
- Because the human authorized cleanup after completion, this Orchestrator will proceed through reviewer approval, merge-completion validation, Ticket close, Pod stop, worktree removal, and branch deletion if the branch is approved and merge authority remains clear.
---
<!-- event: implementation_report author: orchestrator at: 2026-06-08T03:24:12Z -->
## Implementation report
Coder completed and reviewer delegated.
Coder result:
- Pod: `coder-commit-intake-claims`
- Commit: `6797be3 fix: defer intake claim until launch acceptance`
- Worktree status: clean after commit.
- Diff against `develop`: 1 file changed, 137 insertions, 36 deletions.
Files touched by coder:
- `crates/tui/src/multi_pod.rs`
Coder reported implementation:
- Moved existing-Ticket Intake durable claim persistence from `prepare_existing_ticket_intake_launch` to the post-launch path after `launch_ticket_role_pod_with_options(...)` succeeds.
- `IntakeRegistryUpdate` now carries a deferred `ClaimTicket` update instead of marking the claim as already done.
- Added `commit_intake_registry_update(...)` to centralize post-success registry/session persistence for both pre-ticket Intake session recording and existing-Ticket claim commits.
- Added a transient in-flight guard via `self.sending` so repeated launch attempts in the same panel instance are rejected while launch is ongoing.
- Preserved existing duplicate prevention: an already-present claim is still checked before launch and blocks duplicate Intake launch.
- Preserved peer registration/handoff ordering; peer registration options are still prepared before launch, while durable claim commit happens only after launch acceptance returns.
Coder reported validation:
- `cargo test -p tui role_session_registry --lib`
- `cargo test -p tui multi_pod --lib`
- `cargo fmt --check`
- `git diff --check`
- `cargo run -q -p yoi -- ticket doctor`
- `nix build .#yoi`
Reviewer delegation:
- Spawned sibling reviewer Pod: `reviewer-commit-intake-claims`.
- Reviewer scope: read-only child worktree plus non-recursive parent-root read required by launch cwd validation.
- Reviewer was instructed to judge against the recorded Ticket requirements and binding decisions.
Pending:
- Await reviewer verdict before merge-ready dossier / merge-completion.
- No merge, close, final approval, or cleanup has occurred for this Ticket.
---