Files
yoi/crates/worker
Hare a10507c54f merge: integrate orchestration
# Conflicts:
#	crates/flow/src/builtin.rs
#	crates/manifest/src/profile.rs
#	crates/worker/src/prompt/catalog.rs
#	crates/worker/src/prompt/system.rs
#	resources/flows/coder-review.dcdl
#	resources/prompts/role/coder.md
#	resources/prompts/role/orchestrator.md
#	web/workspace/src/lib/workspace/console/worker-console.ui.test.ts
#	web/workspace/src/lib/workspace/styles/tickets.css
#	web/workspace/src/routes/w/[workspaceId]/tickets/+page.svelte
#	web/workspace/src/routes/w/[workspaceId]/tickets/+page.ts
2026-08-18 09:55:27 +09:00
..
2026-06-29 04:44:55 +09:00
2026-08-18 09:55:27 +09:00
2026-06-29 04:44:55 +09:00

worker

Role

worker turns an llm-engine Engine into a named runtime entity with manifest configuration, scoped tools, session persistence, protocol handling, and Worker metadata integration.

Boundaries

Owns:

  • Worker lifecycle and socket protocol serving
  • Engine construction around a resolved Manifest
  • session-store and session-store worker metadata coordination
  • built-in tool registration under scope/policy
  • spawned-child orchestration hooks

Does not own:

  • provider-specific wire formats (provider / llm-engine clients)
  • product CLI parsing (yoi)
  • TUI display authority (tui)
  • current-state storage schema outside Worker metadata (session-store worker metadata)

Design notes

A Worker is runtime authority, not UI state. It should commit model-visible events through history/session paths and keep current Worker-name state in Worker metadata rather than in transient runtime files.

See also