2.2 KiB
2.2 KiB
完了。
実装内容:
- Runtime-side Execution Workspace materialization boundary を追加した。
- v0 local Git materializer として、configured repository から resolved commit / tree evidence を取り、Runtime root 配下
execution-workspaces/<allocation-id>/root/<repository-id>に detached Git worktree を作成するようにした。 - Worker spawn 時の workspace root / cwd / scope は source repository root ではなく materialized worktree path を使うようにした。
- 同一 source repository に対する複数 Worker が distinct materialized paths を使えるようにした。
- dirty source state は
clean_point_onlypolicy で拒否し、remote URI / non-Git provider / unsupported policy は typed diagnostics で fail closed するようにした。 - allocation evidence / cleanup target / cleanup policy / status を記録し、Worker stop cleanup hook で worktree cleanup と record update を行うようにした。
- Browser/API-facing spawn boundary は raw
ExecutionWorkspaceRequest/local_pathを受け取らないようにし、saferepository_id/ optionalselectorから host/server 内部で materialization request を構築するようにした。 - Focused worker-runtime / workspace-server tests を追加した。
主な commit / merge:
- implementation:
8b7a5da0 feat: materialize execution workspaces - review fix:
c90ebf24 fix: keep execution workspace paths internal - merge into orchestration:
c4cdf1c3 merge: execution workspace materializer
Review:
- 初回 external review は request_changes。
- follow-up external review は approve。merge-blocking issue なし。
Final validation in Orchestrator worktree:
git diff --check: passcargo test -p worker-runtime --features ws-server,fs-store: pass(34 lib tests + 5 main tests + doc tests)cargo test -p yoi-workspace-server: pass(65 lib tests + 2 main tests)cargo check -p yoi: passcd web/workspace && deno task check: pass(0 errors / 0 warnings)cd web/workspace && deno task test: pass(15 tests)yoi ticket doctor: ok
未実行:
nix build .#yoi --no-linkは Cargo.lock / dependency / resource packaging / Nix 変更ではないため未実行。