6.4 KiB
6.4 KiB
作成
LocalTicketBackend によって作成されました。
Intake summary
Marked ready by yoi ticket state.
State changed
Marked ready by yoi ticket state.
State changed
Ticket を workspace-panel が queued にしました。
Decision
Routing decision: implementation_ready
Reason:
- Dashboard Queue により人間が Orchestrator routing を許可した queued Ticket として確認した。
- outgoing
depends_onは00001KVZD10EDで、00001KVZD10EDは done / merged / reviewed / validated 済み。TicketShowderived blockers は空で、implementation acceptance blocker は残っていない。 - incoming dependent
00001KVZBCQH4は後続 worker-runtime creation であり、この Ticket の acceptance blocker ではない。 - Ticket body は
crates/pod->crates/workercrate/package/import rename、public execution-unit API rename、CLI/process surface update、non-goals、validation を具体的に列挙している。 - bounded context check で current active references to
crates/pod,pod::, packagepod,yoi podprocess entrypoint, tests/docs/Nix を確認した。変更量は大きいが mechanical rename + bounded public surface alignment として進められる。 - CLI/process surface は risk だが、Ticket は backward compatibility alias 不要、dogfooding runtime/spawn path/scripts/tests 影響を明示処理することを要求している。設計未決定というより implementation slice 内の bounded choice と判断する。
Evidence checked:
- Ticket body / thread:
item.md,thread.md。thread は create、planning->ready、ready->queued のみで未解決 blocker は記録されていない。 - Relations / orchestration plan: outgoing depends_on
00001KVZD10EDis done; incoming dependent00001KVZBCQH4; routing 前 plan 0 件。accepted planorch-plan-20260625-141406-1を記録済み。 - Code context:
git grepでcrates/pod,pod::, package/dependencypod,yoi pod,Podpublic API refs を確認。 - Workspace state:
/home/hare/Projects/yoi/.worktree/orchestrationは clean。queued Ticket はこの 1 件、inprogress Ticket は 0 件。
IntentPacket:
Intent:
- 現在の single execution-unit host crate
podをworkerに rename し、実行単位としてのworker::Workerと LLM turn enginellm_engine::Engineの命名境界を揃える。
Binding decisions / invariants:
- This is a rename / API terminology alignment Ticket, not a responsibility rewrite.
workercrate remains the current single Worker host: input handling, llm-engine integration, event emission, session/transcript compatibility, tool registry, workflow integration, legacy socket compatibility.- Do not implement
worker-runtimecrate or multi-worker Runtime API. - Do not standalone-rename
pod-store/pod-registrytoworker-store/worker-registryin this Ticket. - Do not change provider request/tool-call/history semantics.
- Do not create
podcrate/import compatibility alias. - Existing on-disk/socket/session compatibility may retain legacy
podstrings only where explicitly legacy/internal and documented.
Requirements / acceptance criteria:
crates/workerexists;crates/poddoes not remain.- Cargo package/import path are
worker. - Public execution-unit type is
worker::Worker, notpod::Pod. - Active repository references to
podcrate /pod::import /crates/podare gone except intentional legacy context. - Dependent crates compile against
workercrate. llm_engine::Enginevsworker::Workerboundary is clear in code/docs/comments.- Existing process/socket/session compatibility path still works or is explicitly updated without old-name alias.
pod-store/pod-registryare not renamed as standalone crates.- Validation target includes
cargo test -p worker,cargo test -p yoior relevant CLI tests,cargo check -p yoi,git diff --check,nix build .#yoi --no-link.
Implementation latitude:
- Exact CLI command spelling may be updated according to Ticket requirement, but no backward alias should be added unless a hard blocker appears. If command migration threatens current runtime dogfooding assumptions, escalate.
- Internal legacy file/socket/session names may remain only when required for compatibility and must be clearly legacy/internal, not active API guidance.
- Type/module rename can be staged mechanically; prioritize compile/test correctness and grep evidence.
Escalate if:
- Rename requires broad runtime architecture rewrite or worker-runtime implementation.
- Current process launch/spawn mechanics cannot work without a compatibility
podcommand/alias. pod-store/pod-registrymust be renamed for compile correctness.- Session/socket/on-disk migration would be required beyond explicit legacy compatibility labels.
- Behavior changes unrelated to naming are needed.
Validation:
cargo test -p workercargo test -p yoior focused process/CLI testscargo check -p yoigit diff --checknix build .#yoi --no-link- grep evidence for stale active references.
Current code map:
- Primary:
crates/pod, workspaceCargo.toml, dependent crates (crates/yoi,crates/tui, workspace-server/client as discovered), tests/docs/resources,Cargo.lock,package.nix. - Avoid:
pod-store/pod-registrystandalone rename, worker-runtime implementation, root/original workspace operations.
Critical risks / reviewer focus:
- stale active
podcrate/import/directory references. - hidden compatibility alias.
- breaking runtime process launch / spawn command path.
- accidentally renaming persistence crates out of scope.
- behavior changes mixed into mechanical rename.
- confusion between
llm_engine::Engineandworker::Workerresponsibilities.
Next action:
queued -> inprogressを記録してから worktree-workflow で/home/hare/Projects/yoi/.worktree/00001KVZG9BMS-worker-crate-renameを作成し、multi-agent-workflow で Coder/Reviewer sibling loop に進める。