ticket: record worker workdir registry implementation evidence

This commit is contained in:
Keisuke Hirata 2026-07-11 01:40:24 +09:00
parent 1564d7e411
commit c2afaefb5f
No known key found for this signature in database
2 changed files with 36 additions and 1 deletions

View File

@ -2,7 +2,7 @@
title: 'Add Backend Worker/Workdir registry and link model' title: 'Add Backend Worker/Workdir registry and link model'
state: 'inprogress' state: 'inprogress'
created_at: '2026-07-10T15:53:02Z' created_at: '2026-07-10T15:53:02Z'
updated_at: '2026-07-10T16:13:15Z' updated_at: '2026-07-10T16:40:17Z'
assignee: null assignee: null
queued_by: 'workspace-panel' queued_by: 'workspace-panel'
queued_at: '2026-07-10T16:10:57Z' queued_at: '2026-07-10T16:10:57Z'

View File

@ -162,3 +162,38 @@ Implementation routing update:
- 完了後は diff / validation evidence を Orchestrator が確認し、別 sibling Reviewer Pod に read-only review を依頼する。`StopPod` は既知の不具合があるため使用しない。 - 完了後は diff / validation evidence を Orchestrator が確認し、別 sibling Reviewer Pod に read-only review を依頼する。`StopPod` は既知の不具合があるため使用しない。
--- ---
<!-- event: implementation_report author: orchestrator at: 2026-07-10T16:40:17Z -->
## Implementation report
Implementation progress report:
- Coder Pod completed implementation and committed `3e5546ea feat: add backend worker workdir registry` on branch `work/00001KX6BPY7M-worker-workdir-registry`
- Worktree status was clean after commit。
- Changed files include:
- `crates/workspace-server/src/store.rs`
- `crates/workspace-server/src/server.rs`
- `crates/worker-runtime/src/{catalog.rs,worker_backend.rs,working_directory.rs}`
- child implementation also committed `.yoi/tickets/00001KX6BPY7M/{item.md,thread.md}` changes; Orchestrator will preserve authoritative Ticket records during merge if conflicts occur。
- Implementation summary:
- Added Backend SQLite schema v3 tables: `worker_registry`, `workdir_registry`, `worker_workdir_links`
- Added typed store records/APIs for Worker archival registry, Workdir registry, Worker-Workdir link authority, and explicit `pinned` retention representation。
- Backend-managed Workdir IDs and pending registry writes are created before Runtime materialization。
- Browser Workdir lists are based on Backend-managed registry rows。
- Runtime-direct Workdirs are distinguished as `runtime_unmanaged`
- Canonical Workdir records are preserved after cleanup/removal。
- Worker creation/listing records Backend Worker registry entries and links selected Workdirs without storing raw Runtime materialized paths。
- Extended worker-runtime `WorkingDirectoryRequest` with optional `backend_workdir_id`
- Orchestrator reran validation in the implementation worktree:
- `git diff --check`: pass
- `cargo test -p yoi-workspace-server --lib`: pass95 tests
- `cargo test -p worker-runtime --features ws-server,fs-store`: pass48 lib tests + 5 main tests + doc tests
- `cargo check -p yoi`: pass
- `cd web/workspace && deno task check`: pass0 errors / 0 warnings
- `cd web/workspace && deno task test`: pass23 tests
- `yoi ticket doctor`: ok
- `nix build .#yoi --no-link`: pass
- External review will be requested via a read-only sibling Reviewer Pod. `StopPod` は使わない。
---