2616 Commits
Author SHA1 Message Date
Hare d69c367285 feat: prepare agen crates for publication 2026-08-23 03:41:51 +09:00
Hare aa8dd4f89e test: align workspace server fixtures with current authority 2026-08-23 02:19:36 +09:00
Hare b12e0785e2 fix: migration error 2026-08-23 02:10:03 +09:00
Hare 24291a4545 fix: resolve ticket assignment target integration 2026-08-23 00:23:38 +09:00
Hare 92d073ff36 fix: accept queued lifecycle assignments 2026-08-22 23:58:55 +09:00
Hare bc57ef38c1 fix: guard state change event transitions 2026-08-22 23:48:11 +09:00
Hare ae8a0316d8 fix: guard state field workflow transitions 2026-08-22 23:41:35 +09:00
Hare 2cfbb1caea fix: make role assignment retries idempotent 2026-08-22 23:34:52 +09:00
Hare 703398bd2c fix: reject invalid coder principals safely 2026-08-22 23:27:27 +09:00
Hare 10c80ae514 fix: close ticket start authority gaps 2026-08-22 23:17:44 +09:00
Hare 285763f4ae fix: enforce ticket assignment mutation fences 2026-08-22 23:06:28 +09:00
Hare 8030045602 feat: generalize ticket role assignments 2026-08-22 22:48:56 +09:00
Hare 8c85b93e7d feat: integrate ticket notify delivery warnings 2026-08-22 21:59:21 +09:00
Hare 4017992c7d fix: share ticket query route contracts 2026-08-22 20:20:38 +09:00
Hare 9dc6d8f144 fix: preserve backend product authority boundaries 2026-08-22 20:03:27 +09:00
Hare 779ced82b1 fix: allow workspace clients through ticket REST operations 2026-08-22 19:43:18 +09:00
Hare 30e4985f9a feat: route product commands through backend targets 2026-08-22 19:16:14 +09:00
Hare 1a1e3c286f feat: integrate workspace memory settings authority 2026-08-22 00:34:30 +09:00
Hare 71c906e04d fix: reject legacy workspace worker restore 2026-08-22 00:28:33 +09:00
Hare e6bfb27fa9 fix: make workdir command completion stateful 2026-08-22 00:20:45 +09:00
Hare 2a3ece0364 fix: validate workspace memory settings authority 2026-08-21 22:16:41 +09:00
Hare 61d174b174 fix: enforce workspace memory settings contract 2026-08-21 22:05:53 +09:00
Hare c4814115de feat: bind memory language to workspace settings 2026-08-21 21:50:12 +09:00
Hare f84377b2fe feat: integrate ticket notify delivery warnings 2026-08-21 20:32:26 +09:00
Hare 19f506f8bc fix: restore reviewer ticket and merge request reads 2026-08-21 20:23:26 +09:00
Hare 0a9d09b958 test: cover complete notification delivery failure 2026-08-21 19:19:26 +09:00
Hare 83c6d290b4 fix: complete notification warning context 2026-08-21 19:11:16 +09:00
Hare 831db34acf fix: surface failed Ticket notification delivery 2026-08-21 19:05:53 +09:00
Hare 4a276b0af0 fix: scope console and workspace shell widths 2026-08-21 18:34:40 +09:00
Hare c2b82a2591 fix: contain ticket operation rail layout 2026-08-21 18:30:38 +09:00
Hare 99daaf31b6 fix: widen workspace shell to 920px 2026-08-21 18:08:53 +09:00
Hare 94e51ea6d1 fix: clean up console task summary 2026-08-21 18:06:55 +09:00
Hare f2d2ab0102 fix: center workspace shell at 720px 2026-08-21 18:04:48 +09:00
Hare 6f42f23d2b fix: enlarge overview activity summaries 2026-08-21 17:40:33 +09:00
Hare 8f54fa2a00 fix: remove console composer overhang 2026-08-21 17:37:37 +09:00
Hare c110965911 fix: remove redundant console chrome 2026-08-21 17:26:47 +09:00
Hare 2a48dfc41a fix: set bash output to compact terminal sizing 2026-08-21 15:22:52 +09:00
Hare 0451142d41 fix: align bash sizing with xterm defaults 2026-08-21 15:18:32 +09:00
Hare 65f18b0cdb fix: match bash output to terminal cell sizing 2026-08-21 15:11:15 +09:00
Hare ea31c7ca81 fix: tighten bash terminal line spacing 2026-08-21 13:46:52 +09:00
Hare dd47dba5b0 feat: render bash ANSI colors in web console 2026-08-21 13:36:03 +09:00
Hare cbedc76d06 fix: simplify live bash output presentation 2026-08-21 13:12:50 +09:00
Hare a4aa1a1848 fix: preserve command telemetry through workdir delegation 2026-08-21 13:01:44 +09:00
Hare ee8ee360ef fix: share workspace runtime worker contracts 2026-08-21 12:35:58 +09:00
Hare 72cae33ea6 chore: merge develop into work/companion 2026-08-21 11:38:47 +09:00
Hare 0cd5ca11cc feat: expose merge requests as workspace resources 2026-08-21 11:31:45 +09:00
Hare ccb9d03865 feat: add workspace switcher menu 2026-08-21 11:30:23 +09:00
Hare 41cd2d044a fix: verify resource key schema drift 2026-08-21 10:32:25 +09:00
Hare 85d1815dcf feat: adopt Workspace resource keys 2026-08-21 10:20:32 +09:00
Hare 9989aed916 Merge branch 'work/companion' into develop 2026-08-21 07:21:09 +09:00
Hare 3f2ba9df47 fix: migration error 2026-08-21 07:20:48 +09:00
Hare cd9f0f009e chore: merge develop into work/companion
# Conflicts:
#	crates/tui/src/app.rs
2026-08-21 07:18:07 +09:00
Hare b49abce798 fix: locate multiline Console Tasks source 2026-08-21 07:13:46 +09:00
Hare 51b381a701 feat: switch Web SubWorker views 2026-08-21 07:12:37 +09:00
Hare bea121ade0 feat: switch TUI SubWorker views 2026-08-21 07:12:20 +09:00
Hare 18112d29a6 feat: project SubWorker activity in sidebar 2026-08-21 07:12:04 +09:00
Hare 8bedfcda84 fix: remove caller worker revision fence 2026-08-21 07:11:45 +09:00
Hare 402543d617 Merge remote-tracking branch 'origin/develop' into develop 2026-08-21 05:37:57 +09:00
Hare a21ef31ee7 fix: make authentication workspace independent 2026-08-21 05:04:17 +09:00
Hare e8c159247a fix: serve chooser before workspace creation 2026-08-21 04:51:44 +09:00
Hare 5dd9392575 fix: serve workspace chooser at root 2026-08-21 04:45:05 +09:00
Hare da2296bc9c fix: restore workspace routing contracts 2026-08-21 04:36:40 +09:00
Hare 8e4f35eb3f fix: update TUI command snapshot fixture 2026-08-21 04:21:18 +09:00
Hare 9917c09b19 feat: integrate workspace switching 2026-08-21 04:18:32 +09:00
Hare 4445501f6c fix: recover command snapshots after provider lag 2026-08-21 04:09:42 +09:00
Hare 6fe36f3e46 feat: integrate command output streaming 2026-08-21 03:54:47 +09:00
Hare cfb173c570 fix: preserve command stream boundaries and lifecycle evidence 2026-08-21 03:49:45 +09:00
Hare ad729af592 feat: add web workspace chooser and creation 2026-08-20 18:34:28 +09:00
Hare 17abe1c40c feat: add scoped TUI workspace selection 2026-08-20 18:34:18 +09:00
Hare 4b8dc302ee fix: fence workspace bootstrap and resource routing 2026-08-20 17:52:23 +09:00
Hare cf2e74404d feat: dispatch registered workspaces independently 2026-08-20 17:28:14 +09:00
Hare a0e161c653 feat: integrate workspace-scoped resource references 2026-08-20 16:10:42 +09:00
Hare 614157424f fix: remove cargo check warnings 2026-08-20 15:16:29 +09:00
Hare f5f80fcd48 feat: add web console modes and run status 2026-08-20 15:02:24 +09:00
Hare 7dd4539f50 feat: add compact TUI activity overview 2026-08-20 15:02:03 +09:00
Hare e66876249e fix: remove redundant system reminder wrappers 2026-08-20 15:01:43 +09:00
Hare d39eb43419 fix: track retained assignment parents 2026-08-20 11:38:13 +09:00
Hare 674b897321 fix: validate assignment runtime snapshots 2026-08-20 11:28:41 +09:00
Hare d7e54ed181 fix: preserve retained assignment history 2026-08-20 11:21:31 +09:00
Hare 3e833b5295 fix: finalize stopped subworker sessions 2026-08-20 11:19:02 +09:00
Hare 9194f0a1ba test: complete ticket reference fixture 2026-08-20 11:19:02 +09:00
Hare 6945b7b3c3 fix: bind assignment events to tickets 2026-08-20 11:14:33 +09:00
Hare 560226dea2 fix: enforce assignment workspace references 2026-08-20 11:06:31 +09:00
Hare 4583b512b3 docs: add workspace schema migration runbook 2026-08-20 10:43:05 +09:00
Hare 223a6ed011 feat: enforce workspace-scoped resource references 2026-08-20 10:42:57 +09:00
Hare a82234a75e docs: report subworker feature installation failure 2026-08-20 10:33:12 +09:00
Hare 92594488da feat: stream workdir command output to consoles 2026-08-20 10:32:58 +09:00
Hare 2315c69f0a fix(worker-runtime): complete embedded store identity migration 2026-08-20 08:44:09 +09:00
Hare 9d003a5c98 fix: exclude stale worker sockets from migration 2026-08-20 07:51:34 +09:00
Hare 53ec914a52 docs: report subworker control dependency failure 2026-08-20 07:21:03 +09:00
Hare d052cedc7d fix: make worker identity migrations dry-runnable 2026-08-20 07:21:03 +09:00
Hare de72afd9a1 fix: clear stale internal worker in-flight state 2026-08-20 06:18:21 +09:00
Hare 80ffff642f fix: resolve ticket keys for nested merge request routes 2026-08-20 02:39:52 +09:00
Hare 97960d4e3f fix: resolve human keys at resource boundaries 2026-08-20 02:30:09 +09:00
Hare a96038d79f feat: add canonical human-key resource routes 2026-08-20 02:17:21 +09:00
Hare 1ca36d6b66 feat: add workspace resource human keys 2026-08-20 02:17:00 +09:00
Hare bb8eda379f fix: migrate all persisted Workspace Worker references 2026-08-20 00:49:21 +09:00
Hare 2858e8ceba fix: align Workdir occupancy UI with stable worker IDs 2026-08-19 23:15:34 +09:00
Hare e35b5797a3 feat: promote workers to Workspace-owned UUIDv7 identities 2026-08-19 23:04:02 +09:00
Hare 25baeedc03 Merge branch 'work/companion' into develop 2026-08-19 21:22:04 +09:00
Hare 17d81e29cc chore: merge authoritative develop into ticket source 2026-08-19 12:05:54 +09:00
Hare 08bce5b630 chore: merge current develop into ticket source 2026-08-19 11:54:35 +09:00
Hare 84f1b229ba fix: validate remote workdir grants before leasing 2026-08-19 11:42:49 +09:00
Hare 856ea7119a fix: clarify orchestrator branch integration 2026-08-19 11:24:55 +09:00
Hare 5f2798458e fix: align delegated paths with provider resolution 2026-08-19 11:22:56 +09:00
Hare af3decce51 fix: preserve nested workdir delegation chains 2026-08-19 11:04:40 +09:00
Hare 1cb6cd4e98 fix: enforce delegated workdir scope after resolution 2026-08-19 10:43:37 +09:00
Hare 21bd089a23 feat: delegate subworker access through workdir sessions 2026-08-19 09:45:56 +09:00
Hare 88f463e633 feat: add scoped workdir delegation sessions 2026-08-19 09:45:49 +09:00
Hare ce62e09919 feat: stream internal subworker output through parent 2026-08-19 09:24:14 +09:00
Hare fe74d7c4b8 chore: update ticket source from develop 2026-08-19 08:38:13 +09:00
Hare 73902b03b6 fix: preserve live errors across segment rotation 2026-08-19 08:29:36 +09:00
Hare 9aeaa52bdb fix: retain worker run errors in console history 2026-08-19 08:12:55 +09:00
Hare 89ee5e48a5 fix: use active prompt projection route 2026-08-19 07:03:15 +09:00
Hare 5b5396599d fix: restore pending workspace prompt catalog 2026-08-19 06:52:32 +09:00
Hare 1e33b2945c fix: requeue uncommitted notifications 2026-08-19 06:45:45 +09:00
Hare 50b05051bb feat: persist prompt render provenance 2026-08-19 06:40:29 +09:00
Hare 4208b6228e fix: fence prompt projection freshness 2026-08-19 06:22:41 +09:00
Hare bb558bad2b fix: share compiled prompt projection cache 2026-08-19 06:19:31 +09:00
Hare fcc7c49ff1 fix: enforce prompt projection workspace scope 2026-08-19 06:07:24 +09:00
Hare fb5f49d2a2 test: align pending orchestrator restore contract 2026-08-19 06:05:43 +09:00
Hare 82eaa986d8 fix: scope prompt projection cache fills 2026-08-19 06:03:18 +09:00
Hare 17d6789b41 feat: propagate workspace prompt revisions 2026-08-19 06:01:03 +09:00
Hare d24d50cac9 feat: refresh prompts at operation boundaries 2026-08-19 06:00:57 +09:00
Hare 44b3c78761 fix: reject unrecoverable pending worker restore 2026-08-19 05:02:50 +09:00
Hare 08daf782b9 fix: accept queued tickets after coder spawn 2026-08-19 04:55:29 +09:00
Hare d7e35ea9ee fix: keep restore independent of live prompts 2026-08-19 04:41:38 +09:00
Hare 39aa465a51 fix: keep config bundles transport-only 2026-08-19 04:36:38 +09:00
Hare 382b5e57f2 fix: carry prompt projection source identity 2026-08-19 04:30:00 +09:00
Hare 0d011ea0cd fix: fence prompt cache source revisions 2026-08-19 04:25:13 +09:00
Hare b740b2d1e2 fix: remove config bundle restore dependency 2026-08-19 04:23:37 +09:00
Hare c97bde9ee0 fix: isolate workspace profile launch projections 2026-08-18 22:47:34 +09:00
Hare bb742e253d feat: allow companion to manage workdirs 2026-08-18 10:47:31 +09:00
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
Hare 6a607ccbed feat: integrate bounded workspace query pagination 2026-08-18 09:03:59 +09:00
Hare 4ac79b3665 fix: publish coder revisions before review 2026-08-18 08:14:58 +09:00
Hare a4fdf9cc45 docs: record test code quality audit 2026-08-18 08:14:58 +09:00
Hare 981c422122 fix: preserve completed merge request replays 2026-08-18 08:14:43 +09:00
Hare ab0f57c00a fix: include incoming Ticket relation filters 2026-08-18 08:14:05 +09:00
Hare b723c64fa1 fix: preserve accepted Ticket query filters 2026-08-18 08:06:21 +09:00
Hare f86ae6d52f feat: connect selector-based merge request flow 2026-08-18 08:06:02 +09:00
Hare 9a548d2b5e fix: require observed merge target completion 2026-08-18 08:05:57 +09:00
Hare 4e738ac5eb fix: query authoritative merge request review events 2026-08-18 07:57:20 +09:00
Hare a6f3e30652 fix: preserve Ticket lane order across pages 2026-08-18 07:50:42 +09:00
Hare 6ca5dfbe11 feat: paginate Ticket board lanes independently 2026-08-18 03:08:39 +09:00
Hare bc835b8503 feat: add bounded Ticket and Objective query pages 2026-08-18 03:08:30 +09:00
Hare 46767daf49 test: remove duplicated resource content assertions 2026-08-18 02:20:32 +09:00
Hare 99170d47ab fix: delegate queued tickets through merge 2026-08-18 02:20:32 +09:00
Hare 796fa2ee85 feat: integrate ticket ready target guards 2026-08-18 01:12:32 +09:00
Hare 200c24bc00 fix: avoid unbounded ticket board queries 2026-08-18 00:46:31 +09:00
Hare 0a2b24bf5e fix: ignore transient vite config bundles 2026-08-17 23:33:12 +09:00
Hare eec2be87ad feat: paginate ticket workflow lanes 2026-08-17 23:33:12 +09:00
Hare 71cd58f868 feat: scope merge request tools by profile flags 2026-08-17 22:53:09 +09:00
Hare 58ed04ac59 Merge branch 'orchestration' into develop 2026-08-17 21:50:21 +09:00
Hare c6a476d65d feat: derive ticket readiness from merge requests 2026-08-17 21:26:42 +09:00
Hare 4c31ea2228 fix: check queue state before local readiness 2026-08-17 14:59:24 +09:00
Hare f9e5fca67d fix: preserve intake and companion ticket workflows 2026-08-17 14:44:59 +09:00
Hare a2cd860199 feat: gate ticket readiness on validated targets 2026-08-17 14:23:47 +09:00
Hare f5fdce2d07 fix: migrate legacy merge request schema marker 2026-08-17 11:54:24 +09:00
Hare 8c60921c99 chore: merge orchestration into develop 2026-08-17 11:02:47 +09:00
Hare 956b453e6a fix: preserve long-running workdir requests 2026-08-17 11:01:33 +09:00
Hare 063f203efe merge: integrate selector-thread merge request authority 2026-08-17 10:34:01 +09:00
Hare 5f44b10ff9 fix: revalidate merge authority in completion transaction 2026-08-17 08:15:13 +09:00
Hare e3dc8ee327 fix: validate merge authority before ref updates 2026-08-17 08:04:33 +09:00
Hare 645458498a fix: fence merge request approval and grant lifecycle 2026-08-17 07:57:23 +09:00
Hare 6c4119e2c6 fix: separate merge request authority from thread projection 2026-08-17 07:46:48 +09:00
Hare 7e9cae5f39 fix: bound merge request thread bodies 2026-08-17 07:44:08 +09:00
Hare 1fe1b7463f fix: align merge requests with selector thread contract 2026-08-17 07:41:03 +09:00
Hare 9e48cae759 feat: expose selector based merge request threads 2026-08-17 07:09:20 +09:00
Hare aeb2727bea feat: replace merge request revision authority 2026-08-17 07:09:10 +09:00
Hare 298c20012a fix: bind relation and event query evidence 2026-08-17 06:57:29 +09:00
Hare 7507412f1c fix: query authoritative Ticket content and relations 2026-08-17 06:46:43 +09:00
Hare 45b7d0764d fix: complete query and workflow alias cutover 2026-08-17 06:35:24 +09:00
Hare 7508d428b0 docs: report MR target discovery blocker 2026-08-17 05:39:18 +09:00
Hare 977c8e7b21 fix: align read projections with query contracts 2026-08-17 05:37:06 +09:00
Hare 4964583868 feat: cut over Ticket and Objective read tools 2026-08-17 05:18:38 +09:00
Hare 14aa1aabea feat: add bounded Ticket and Objective read APIs 2026-08-17 05:18:27 +09:00
Hare 76c427c887 fix: remove redundant merge request diff digest 2026-08-17 04:13:14 +09:00
Hare ff7d874138 fix: rebuild merge request schema authority 2026-08-17 02:51:53 +09:00
Hare e881c8fad8 fix: remove speculative worker control delegation 2026-08-17 02:51:18 +09:00
Hare 06cc6056e5 chore: merge orchestration into develop 2026-08-17 01:09:51 +09:00
Hare c15999b7a6 fix: classify commit messages by change type 2026-08-17 01:09:12 +09:00
Hare 0b954c1ab6 fix: scope merge request foreign key checks 2026-08-17 01:09:05 +09:00
Hare eb0dd67d16 server: recover completed Worker transfers 2026-08-17 00:48:37 +09:00
Hare 97828f8bd5 server: fence Worker control operation identity 2026-08-17 00:38:48 +09:00
Hare 8be2cfd2a3 worker: unify granted Worker control 2026-08-17 00:18:49 +09:00
Hare f41ab0e277 worker: persist known-worker control grants 2026-08-16 23:08:32 +09:00
Hare 46a44b232b merge-request: normalize target observation refs 2026-08-16 21:03:30 +09:00
Hare 2cf4c57813 merge-request: verify guarded target updates 2026-08-16 21:03:30 +09:00
Hare 41534b215a merge-request: harden target update recovery 2026-08-16 21:03:30 +09:00
Hare 5ea2792df7 merge-request: finalize one guarded merge outcome 2026-08-16 21:03:30 +09:00
Hare 1479148f84 merge-request: select one final integration result 2026-08-16 21:03:30 +09:00
Hare 7256d80514 merge-request: preserve migration foreign keys 2026-08-16 21:03:30 +09:00
Hare 8e73d755d3 merge-request: harden latest schema migration 2026-08-16 21:03:30 +09:00
Hare 027f60d262 merge-request: add target and merge result authority 2026-08-16 21:03:30 +09:00
Hare 4f042cae84 tui: scope composer history under client data 2026-08-16 18:24:34 +09:00
Hare 0b8924eda7 merge-request: checkpoint restartable migration 2026-08-15 21:26:02 +09:00
Hare eaaf2f6dcc workdir: display working directory status 2026-08-15 21:26:02 +09:00
Hare f5a0e14991 docs: require root cargo check 2026-08-15 21:26:02 +09:00
Hare 11e4d536c5 ticket: support relation removal 2026-08-15 17:05:47 +09:00
Hare 0fd2486baf Merge ticket 00001M00PZS9R paused Worker Resume 2026-08-15 03:55:20 +09:00
Hare 8294a476d2 runtime: allow safe paused resume on orchestration 2026-08-15 03:49:53 +09:00
Hare 9922b654d7 Merge ticket 00001KZVPX841 workspace Workdir contract 2026-08-15 03:38:24 +09:00
Hare b910efd945 workdir: centralize workspace inventory contract 2026-08-15 03:29:53 +09:00
Hare 20854edca2 Merge ticket 00001KZ9SR97B notification projection 2026-08-15 02:57:46 +09:00
Hare 2a23a5d574 server: minimize ticket notification context 2026-08-15 02:34:28 +09:00
Hare 4cf34375a8 config: commit without preview 2026-08-15 02:06:46 +09:00
Hare 404809ab6e config: format sources before commit 2026-08-15 01:28:25 +09:00
Hare c5c89795e1 config: require schema assertion on main 2026-08-15 00:21:46 +09:00
Hare 99b08e0f0c web: protect config schema wrapper 2026-08-14 23:38:51 +09:00
Hare 83a99541b2 web: repair config source editor 2026-08-14 23:28:14 +09:00
Hare 1ed835fb79 Merge branch 'orchestration' into develop
# Conflicts:
#	web/workspace/deno.json
2026-08-14 14:49:01 +09:00
Hare ace134e2f0 runtime: deliver immutable prompt bundle on initial spawn 2026-08-14 14:24:59 +09:00
Hare ecbd003579 worker: track work as natural task steps 2026-08-14 14:23:58 +09:00
Hare 93e784a3ed prompt: route source assertions through effective catalog 2026-08-14 14:02:01 +09:00
Hare a1f6a6bad5 prompt: close whitespace-control include validation gap 2026-08-14 13:58:11 +09:00
Hare a6f92104fa server: project Workspace prompts into Worker config bundles 2026-08-14 13:45:14 +09:00
Hare 0ad7d6d210 worker: replace filesystem prompts with effective DCDL catalog 2026-08-14 13:45:03 +09:00
Hare 48ff977d06 config-source: validate static template catalog projections 2026-08-14 13:44:51 +09:00
Hare 93eea24420 web: show Worker tasks in Console 2026-08-14 12:46:59 +09:00
Hare e582babae3 runtime: avoid duplicate Notify observations 2026-08-14 12:46:49 +09:00
Hare 46ffde19a6 config-source: bind import cache keys to content 2026-08-14 12:06:10 +09:00
Hare 6446eb1302 server: project Skills from active virtual config 2026-08-14 11:55:33 +09:00
Hare ad0f6c68d5 config-source: project Markdown imports as values 2026-08-14 11:55:10 +09:00
Hare 6bcd59fcc6 test: cover Decodal 0.4 parity contracts 2026-08-14 11:00:50 +09:00
Hare 1fad5fc8ed config: migrate workspace evaluation to Decodal 0.4 2026-08-14 10:53:22 +09:00
Hare 5c57e10de9 web: link profiles to shared config editor 2026-08-14 10:03:36 +09:00
Hare c0f4e80320 server: preserve profile config authority at spawn 2026-08-14 09:54:11 +09:00
Hare 4857910410 web: retire profile-specific editor 2026-08-14 09:19:13 +09:00
Hare c2510495ef server: derive profiles from virtual config 2026-08-14 09:19:04 +09:00
Hare f8baa1edb7 server: compose Workspace config schemas 2026-08-14 05:38:21 +09:00
Hare 7a8bd7717e server: require main config entrypoint 2026-08-14 04:36:26 +09:00
Hare c98048b97b Merge branch 'work/00001KY8KRJKK-virtual-config-tree' into develop 2026-08-14 03:20:59 +09:00
Hare 38dad4e865 server: authorize orchestrator MR completion 2026-08-14 03:14:08 +09:00
Hare d039359386 web: refine workspace sidebar navigation 2026-08-14 02:20:50 +09:00
Hare 8c68129d69 web: reapply original changes after config conflict 2026-08-14 01:48:36 +09:00
Hare 348ac51011 config: add revision reads and conflict recovery 2026-08-14 01:41:23 +09:00
Hare 544abbbf56 config: enforce browser preflight and generated DTOs 2026-08-14 01:27:29 +09:00
Hare fa9bd8207f config: complete virtual tree editor contract 2026-08-14 01:07:14 +09:00
Hare 0a7e67e373 config: validate every Decodal source before commit 2026-08-14 00:45:20 +09:00
Hare 9cd1c1c448 runtime: update Decodal import loader test 2026-08-14 00:40:39 +09:00
Hare dfea679f0b web: update Decodal CodeMirror baseline 2026-08-14 00:36:39 +09:00
Hare 0689116e4d server: update schema migration expectations 2026-08-14 00:33:00 +09:00
Hare 02a09ae2d7 test: verify browser WASM config parity 2026-08-14 00:31:22 +09:00
Hare f9d328f2db worker: add typed feature services for coder spawn 2026-08-14 00:02:13 +09:00
Hare 8c6dcb9483 web: edit virtual config sources with WASM core 2026-08-13 22:34:56 +09:00
Hare c8b57a6a5d server: persist evaluated virtual config trees 2026-08-13 22:26:11 +09:00
Hare 7aa4d3067e config: add canonical Decodal source core 2026-08-13 22:13:33 +09:00
Hare e47eca53a2 Merge branch 'orchestration' into develop 2026-08-13 17:50:33 +09:00
Hare 8d061a8734 fix: guard orchestrator Coder assignment spawn 2026-08-13 17:50:27 +09:00
Hare 9c8ab6441c Merge branch 'work/00001KZVN5J0S-ticket-list-bulk-projection' into orchestration 2026-08-13 05:23:19 +09:00
Hare dfede080d2 ticket: deduplicate bulk relation blockers 2026-08-13 04:56:52 +09:00
Hare cf32d871de server: bulk project ticket list 2026-08-13 04:21:10 +09:00
Hare fe373b5656 runtime: remove embedded worker socket transport 2026-08-13 03:25:57 +09:00
Hare a44a4bc4f8 docs: record ticket audit and restart failures 2026-08-13 02:01:23 +09:00
Hare cb683beef8 dev: gate dogfood restarts with isolated smoke 2026-08-13 02:01:17 +09:00
Hare 1d4ffa875a runtime: restore persisted workers without adapter panic 2026-08-13 02:01:13 +09:00
Hare 297a7ddd9d merge: integrate orchestration merge request lifecycle
# Conflicts:
#	resources/flows/coder-review.dcdl
2026-08-12 18:30:08 +09:00
Hare be698c2239 Merge branch 'work/00001KZPQW4GJ-worker-remove-v3' into orchestration-merge-request-domain-final 2026-08-12 17:49:35 +09:00
Hare e80581d139 worker: preserve retry cleanup stage 2026-08-12 17:40:11 +09:00
Hare 4e7eaac7d5 worker: retry attachment cleanup stages 2026-08-12 17:31:29 +09:00
Hare 92f7f3fca3 Merge branch 'work/00001KZPQW4GJ-worker-remove-v3' into orchestration-merge-request-domain 2026-08-12 17:18:04 +09:00
Hare 1e10cdecc8 docs: report stale Flow verifier capture 2026-08-12 17:16:57 +09:00
Hare ce6b8f65cc Merge branch 'work/00001KZPQW4GJ-worker-remove-v3' into orchestration-merge-request-domain 2026-08-12 17:10:29 +09:00
Hare f60c2d5834 worker: resume failed removal operation 2026-08-12 17:09:39 +09:00
Hare 795f26fb51 Merge branch 'work/00001KZPQW4GJ-worker-remove-v3' into orchestration-merge-request-domain 2026-08-12 17:01:24 +09:00
Hare 8ae930c5fc worker: add guarded WorkerRemove lifecycle 2026-08-12 17:00:32 +09:00
Hare ebe0f93744 Merge branch 'work/00001KZRWSNNE-runtime-worker-source' into orchestration-merge-request-domain 2026-08-12 04:11:22 +09:00
Hare 8cc0aaf8d2 runtime: prove Worker mutation source authority 2026-08-12 04:03:09 +09:00
Hare 86be3a6865 Merge branch 'work/00001KZPQSFQD-worker-retention' into orchestration-merge-request-domain 2026-08-12 00:47:46 +09:00
Hare 5e5ce73fd0 runtime: harden retention reconciliation and retry 2026-08-12 00:46:39 +09:00
Hare 01971807cb Merge branch 'work/00001KZPQSFQD-worker-retention' into orchestration-merge-request-domain 2026-08-11 23:59:19 +09:00
Hare da8313fa1a runtime: add revisioned worker retention authority 2026-08-11 23:57:37 +09:00
Hare 09fd17e38b Merge branch 'work/00001KZPS59RK-worker-aggregate' into orchestration-merge-request-domain 2026-08-11 22:39:30 +09:00
Hare 34f8949e85 runtime: canonicalize Worker aggregates 2026-08-11 22:38:29 +09:00
Hare 33d3d1a43f Merge branch 'work/00001KZNCCD9C-merge-request-domain' into orchestration-merge-request-domain 2026-08-11 21:17:35 +09:00
Hare 1814c35701 feat: add merge request review authority 2026-08-11 20:21:37 +09:00
Hare 6df5fe5b2a flow: require coder work branch commits 2026-08-11 19:39:56 +09:00
Hare c292c01da3 fix: keep active workers visible in sidebar 2026-08-11 15:32:50 +09:00
Hare 133fbbe038 fix: keep reviewer routing owned by coder 2026-08-11 15:02:13 +09:00
Hare 7f0d025312 server: scope repository identity by workspace 2026-08-11 05:44:48 +09:00
Hare 9dccf99c50 ticket: own typed schema migrations 2026-08-11 05:00:40 +09:00
Hare 1d498d13c3 fix: remove secure-context websocket id dependency 2026-08-11 04:58:47 +09:00
Hare e88b0cda18 fix: restore production orchestrator spawn 2026-08-11 04:58:34 +09:00
Hare 8d2b8b690f fix: make image tool results durably prunable 2026-08-11 02:44:37 +09:00
Hare 38b8f26a50 feat: add scoped multimodal image attachments 2026-08-10 21:49:39 +09:00
Hare 64ced7dbad worker: make coder review routing durable 2026-08-10 02:01:08 +09:00
Hare b9dadb6a08 worker: support typed initial submit on spawn 2026-08-09 23:19:29 +09:00
Hare 068ba9afa5 flow: own worker flow state in runtime sessions 2026-08-09 18:04:32 +09:00
Hare c0532fda4e runtime: project granted worker sessions 2026-08-07 16:31:30 +09:00
Hare ff50baec99 worker: split session capture observation features 2026-08-07 16:31:15 +09:00
Hare a9bb806387 subworker: harden internal session lifecycle 2026-08-07 13:36:44 +09:00
Hare 8fe0525295 worker: exercise project reviewer internal spawn 2026-08-07 02:20:52 +09:00
Hare e6703ed18a worker: preserve prompt overrides in internal children 2026-08-07 02:15:00 +09:00
Hare ee75272917 worker: materialize legacy child cleanup only when needed 2026-08-07 02:05:43 +09:00
Hare 620ecbafcb worker: cover legacy sub-worker restore cleanup 2026-08-07 02:04:42 +09:00
Hare cf394403a6 worker: retire process sub-worker registry authority 2026-08-07 02:03:09 +09:00
Hare 8f0d7fa3c0 worker: revoke parent writes before child run 2026-08-07 01:54:31 +09:00
Hare cc7266c801 worker: cover parent teardown scope reclaim 2026-08-07 01:52:07 +09:00
Hare e0ac732769 worker: verify internal sub-worker scope reclaim 2026-08-07 01:48:25 +09:00
Hare c79db24016 worker: run sub-workers as internal sessions 2026-08-07 01:44:04 +09:00
Hare 485918ebe3 worker: route sub-worker tools through internal sessions 2026-08-06 23:15:30 +09:00
Hare d9f399b97b worker: add internal worker session actor 2026-08-06 22:57:42 +09:00
Hare b8a5c60ff9 server: diagnose and fix worker spawn failures 2026-08-06 22:39:24 +09:00
Hare 2d4b93dde7 worker: cover cancelled memory extraction caller 2026-08-06 22:02:57 +09:00
Hare bd893f271a worker: treat rolled-back extraction as cancelled 2026-08-06 09:49:48 +09:00
Hare 2c8e617b2a worker: run internal extraction through Worker 2026-08-06 08:54:40 +09:00
Hare 8207e560e9 worker: compensate spawn finalize failures 2026-08-06 07:45:18 +09:00
Hare 22b6f4e71d worker: allow companion to manage workers 2026-08-05 23:20:38 +09:00
Hare 5c5921fcd2 docs: report LAN websocket UUID failure 2026-08-05 21:31:46 +09:00
Hare a2781f57e9 worker: structure runtime worker identities 2026-08-05 21:26:55 +09:00
Hare fd391ef705 fix: recover partial session log writes 2026-08-05 18:15:49 +09:00
Hare 36df79e561 runtime: allow cross-runtime workdir sessions 2026-08-05 16:02:16 +09:00
Hare 636dc14616 web: refresh worker sidebar snapshots 2026-08-05 05:46:06 +09:00
Hare fb115fbb7e worker: unify workdir attachments 2026-08-05 05:30:58 +09:00
Hare ba009c0a20 worker: separate subworkers from workspace workers 2026-08-05 03:36:59 +09:00
Hare 50726e4cf3 web: show system items in worker console 2026-08-05 03:36:50 +09:00
Hare f98a123e40 runtime: route notifications through worker inbox 2026-08-05 01:44:57 +09:00
Hare dd2ca54874 web: launch embedded workspace orchestrator 2026-08-04 19:52:54 +09:00
Hare da90ac74b4 worker: add workspace workdir management feature 2026-08-04 19:28:59 +09:00
Hare e6a2da548f fs: extract provider operations into shared crate 2026-08-04 02:03:22 +09:00
Hare e5f0c4168f workdir: add authenticated runtime session transport 2026-08-03 23:37:15 +09:00
Hare 05e8b00bf0 workdir: separate identity from worker session 2026-08-03 18:12:47 +09:00
Hare 0ffaa6c741 workspace: remove worker credential refresh flow 2026-08-03 17:08:23 +09:00
Hare ddadc830ac workdir: add network-capable operation boundary 2026-08-03 16:14:01 +09:00
Hare 0fa36395e7 web: show worker status in sidebar 2026-08-02 04:18:16 +09:00
Hare 606cd5fa31 web: subscribe console on route changes 2026-08-02 03:43:53 +09:00
Hare e5f3c20f64 server: restore weak workspace web access 2026-08-02 03:24:54 +09:00
Hare e530150e43 auth: bootstrap legacy workspace ownership 2026-08-02 00:26:28 +09:00
Hare 0f9f06048a runtime: remove legacy event polling authority 2026-08-01 22:55:58 +09:00
Hare 24f7267d55 web: share workspace multiplexer with console 2026-08-01 21:07:45 +09:00
Hare 11f26a1090 server: multiplex worker protocol subscriptions 2026-08-01 21:07:45 +09:00
Hare 72cef5ed9e web: subscribe sidebar to workspace workers 2026-08-01 20:12:27 +09:00
Hare b977c4cbad server: stream workspace worker subscriptions 2026-08-01 20:12:27 +09:00
Hare 5d4deb258a server: expose subscription runtime catalog 2026-08-01 19:34:50 +09:00
Hare f46c82d171 server: broker embedded runtime subscriptions 2026-08-01 19:23:49 +09:00
Hare 42c69f9f6c protocol: identify workspace subscription runtimes 2026-08-01 19:11:41 +09:00
Hare 9308f93de7 server: broker runtime event subscriptions 2026-08-01 19:04:05 +09:00
Hare ecd5751a67 docs: report spawn worker delegation scope 2026-08-01 18:34:32 +09:00
Hare ec262f0238 runtime: serve selective event subscriptions 2026-08-01 18:34:32 +09:00
Hare 21cd672f64 protocol: define multiplexer subscriptions 2026-08-01 18:34:32 +09:00
Hare 9dfcddf40b docs: report spawned worker launcher mismatch 2026-08-01 17:24:10 +09:00
Hare 81e631e640 auth: enforce workspace worker credentials over ticket REST 2026-08-01 17:23:59 +09:00
Hare 3412f1c0ed merge: integrate ticket assignment notifications
# Conflicts:
#	crates/workspace-server/src/store.rs
2026-07-31 23:59:09 +09:00
Hare 48556e1a2c feat: add workspace breadcrumbs 2026-07-31 23:48:46 +09:00
Hare 06a98fe30c workdir: report current selector and ref 2026-07-31 23:48:46 +09:00
Hare 4cf110b28e runtime: replay Worker creation before workdir conflicts 2026-07-31 23:28:07 +09:00
Hare df34d43a23 server: close Ticket lifecycle crash gaps 2026-07-31 23:12:05 +09:00
Hare e9a6269d9f server: address Ticket orchestration review 2026-07-31 22:15:55 +09:00
Hare 005f6cb498 server: route Ticket mutation notifications 2026-07-31 20:15:11 +09:00
Hare 32d3f8f75e Merge branch 'merge/00001KYRRDVH9-ticket-panel' into develop 2026-07-31 02:54:15 +09:00
Hare cb4b588598 fix: remove companion filter from worker list 2026-07-31 02:53:36 +09:00
Hare 20a0f7a454 merge: integrate ticket panel workflow 2026-07-31 02:22:49 +09:00
Hare e720af38a6 workspace: add ticket panel workflow 2026-07-31 01:12:10 +09:00
Hare 1c2d284578 workspace: add typed Ticket API and targets 2026-07-30 22:13:01 +09:00
Hare 3e217adc14 feat: profile解決とmodel catalogを更新 2026-07-30 22:12:25 +09:00
Hare d94ef81b43 runtime: bind workspaces to issuer 2026-07-30 13:42:53 +09:00
Hare ac6c8b275d runtime: require http auth 2026-07-30 13:05:57 +09:00
Hare 3dda06cbe3 runtime: scope worker access by workspace 2026-07-30 00:25:46 +09:00
Hare 0ff8a95da3 docs: mention trybuild policy 2026-07-29 23:18:09 +09:00
Hare be7a96a825 docs: add rust testing strategy 2026-07-29 23:05:10 +09:00
Hare 7265041e55 objective: add mutation tools 2026-07-29 21:58:01 +09:00
Hare 0b64eab148 build: enable runtime server features by default 2026-07-29 19:57:59 +09:00
Hare fb285b17e4 build: rename server runtime binaries 2026-07-29 19:36:05 +09:00
Hare 699290ccb1 cli: support panel restore list 2026-07-29 19:15:57 +09:00
Hare 406104babd cli: update yoi help 2026-07-29 18:44:08 +09:00
Hare 297c56c72d cli: configure target defaults 2026-07-29 18:26:22 +09:00
Hare 8ec940f624 merge: bound task tool output 2026-07-29 16:53:57 +09:00
Hare cbbc860366 cli: route worker lists through targets 2026-07-29 16:04:24 +09:00
Hare acc7281414 runtime: filter stopped workers 2026-07-29 04:27:04 +09:00
Hare bffbe6b551 fix: simplify task item output 2026-07-29 02:36:14 +09:00
Hare b6f83d81bb fix: bound task tool output 2026-07-29 02:29:15 +09:00
Hare 98c1599d1a cli: introduce connection target abstraction 2026-07-29 02:18:02 +09:00
Hare 450e0cddbd prompt: preserve feature instruction order 2026-07-28 22:00:16 +09:00
Hare 44e7014d83 prompt: derive guidance from features 2026-07-28 21:30:06 +09:00
Hare 9125cee6fd prompt: update ticket guidance 2026-07-28 20:58:19 +09:00
Hare 7a1b5e97c1 refactor: make runtime worker state authoritative 2026-07-28 19:21:09 +09:00
Hare 6114cc9018 fix: read secrets from legacy data dir 2026-07-28 04:12:26 +09:00
Hare 5d1950647e fix: keep in-flight cleanup internal 2026-07-27 16:38:47 +09:00
Hare 1dc6429b87 fix: clear stale in-flight state 2026-07-27 15:54:08 +09:00
Hare e20c8a1d0b docs: document runtime auth setup 2026-07-27 02:41:02 +09:00
Hare 3cb056c523 fmt: format runtime auth changes 2026-07-27 01:43:17 +09:00
Hare 55204478c6 fmt: format merged cli changes 2026-07-27 01:43:08 +09:00
Hare 0f2289c539 merge: ticket edit partial replacement 2026-07-27 01:40:54 +09:00
Hare 20dcf429d4 merge: runtime auth 2026-07-27 01:38:58 +09:00
Hare 9a14f1b6fc fix: require explicit runtime trust replacement 2026-07-26 23:18:51 +09:00
Hare 1378581940 ticket: add exact body replacement edits 2026-07-26 20:46:06 +09:00
Hare d994268a6b feat: add runtime trust capability auth 2026-07-26 20:45:52 +09:00
Hare 006762f900 worker: separate display metadata 2026-07-26 17:45:46 +09:00
Hare ff905d4a22 memory: reuse consolidation worker 2026-07-26 17:08:29 +09:00
Hare 3369dbd1eb web: add memory document view 2026-07-26 16:45:12 +09:00
Hare a5d207821d memory: simplify document consolidation tools 2026-07-26 16:18:07 +09:00
Hare e751a11a92 memory: route staging lifecycle through sqlite authority 2026-07-26 15:44:51 +09:00
Hare faaf258a96 merge: sqlite memory tools 2026-07-26 15:23:24 +09:00
Hare 23e47e6097 feat: connect memory tools to workspace authority 2026-07-26 15:17:48 +09:00
Hare 386152749a merge: sqlite memory authority 2026-07-26 14:29:28 +09:00
Hare 82ffc14d65 workspace: add sqlite memory authority 2026-07-26 14:21:27 +09:00
Hare 0eb840ab4b objective: remove one-shot import 2026-07-26 12:47:42 +09:00
Hare e653f8f08b workspace: introduce authority abstraction 2026-07-26 12:20:18 +09:00
Hare 5b1b0688bc objective: move records to sqlite authority 2026-07-26 11:10:00 +09:00
Hare 18b5cead7a objective: add read tools 2026-07-26 02:21:22 +09:00
Hare 2200f60b94 ticket: plan objective tools 2026-07-26 02:06:08 +09:00
Hare e997aa2fc6 memory: gate staging tools by profile 2026-07-25 10:56:27 +09:00
Hare a44673fa6b memory: consolidate staging through queue tools 2026-07-25 09:17:08 +09:00
Hare 4de801f8d0 runtime: avoid profile archive during restore 2026-07-24 21:04:12 +09:00
Hare 7caf6cd6e6 script: migrate workdir layout 2026-07-24 19:01:09 +09:00
Hare 1d64618b4a runtime: simplify workdir layout 2026-07-24 18:37:59 +09:00
Hare 6b824d9018 web: remove unused tailwind import 2026-07-24 18:16:51 +09:00
Hare b22f7d06e7 web: simplify font fallbacks 2026-07-24 18:07:31 +09:00
Hare 54bb7209a4 style: format web workspace 2026-07-24 17:54:16 +09:00
Hare 1c2cb01882 web: split app css by feature 2026-07-24 17:47:25 +09:00
Hare 51e2b721ff web: add ibm plex mono font 2026-07-24 16:14:35 +09:00
Hare 862f8f7f98 web: make running composer stoppable 2026-07-24 15:53:02 +09:00
Hare 342c3dabb7 web: use gen interface font 2026-07-24 15:28:31 +09:00
Hare f7482d6151 runtime: dry-check worker restore 2026-07-24 15:17:53 +09:00
Hare b8cc58ac29 web: expose memory staging view 2026-07-24 14:10:52 +09:00
Hare b9067a8110 web: align ticket table with panel order 2026-07-24 12:46:17 +09:00
Hare 7a28395d75 web: theme ticket table 2026-07-24 11:20:23 +09:00
Hare d3d2b28adc runtime: simplify worker lifecycle 2026-07-24 11:07:04 +09:00
Hare e0b092dbc8 workdir: project occupancy from links 2026-07-24 09:29:25 +09:00
Hare b1570aba63 web: add sortable ticket table 2026-07-24 08:56:36 +09:00
Hare 4ff599c011 server: use single XDG server database 2026-07-24 08:45:51 +09:00
Hare 19d5396897 migrate: move workspace data to XDG SQLite stores 2026-07-24 08:45:42 +09:00
Hare e975c648c2 web: move sidebar fold into frame 2026-07-23 21:59:47 +09:00
Hare 60460b23dc web: make sidebar fold button visible 2026-07-23 21:19:06 +09:00
Hare 62c1e4303b web: move sidebar chrome css out of app 2026-07-23 21:09:44 +09:00
Hare 97397a1c4d web: keep sidebar fold button visible 2026-07-23 20:57:02 +09:00
Hare 6e53df0303 web: rename sidebar collapse to fold 2026-07-23 20:50:30 +09:00
Hare f848a96343 web: keep sidebar collapse local 2026-07-23 20:45:58 +09:00
Hare fb4d3c3f1f web: register sidebar snippets from layouts 2026-07-23 20:01:54 +09:00
Hare b3854004a1 web: restore root sidebar chrome 2026-07-23 19:47:11 +09:00
Hare 308e1ffdbc web: add global sidebar fallback 2026-07-23 19:23:02 +09:00
Hare 2bd69f9403 web: scope sidebar to workspace routes 2026-07-23 19:12:50 +09:00
Hare 61b1735292 web: simplify header chrome 2026-07-23 18:49:36 +09:00
Hare 11663830e3 web: move account nav to header 2026-07-23 18:46:43 +09:00
Hare 2285277060 fix: align account UI actor shape 2026-07-23 18:35:04 +09:00
Hare cd6468bb92 fix: send browser origin for passkey options 2026-07-23 18:03:22 +09:00
Hare 28304f13c3 fix: honor browser origin for passkey ceremonies 2026-07-23 17:54:51 +09:00
Hare 7740191194 web: add account passkey login UI 2026-07-23 03:14:43 +09:00
Hare 7dda898830 web: add workspace ticket routes 2026-07-23 02:44:20 +09:00
Hare 681034db1e merge: account passkey login flow 2026-07-23 02:08:56 +09:00
Hare 554a784639 backend: verify passkey ceremonies 2026-07-23 02:01:28 +09:00
Hare 026e4cf90b docs: record backend auth model 2026-07-23 01:14:24 +09:00
Hare 4f8a2357a5 cli: add backend device login 2026-07-23 01:11:07 +09:00
Hare ba0289b820 backend: add passkey auth api 2026-07-23 01:05:40 +09:00
Hare ed8110ae45 backend: add account auth store schema 2026-07-23 00:57:45 +09:00
Hare 41da9c91b2 docs: record workspace runtime docker boundary 2026-07-23 00:03:46 +09:00
Hare 44deacb3f4 fix: remove workdir management kind 2026-07-22 20:52:09 +09:00
Hare fe2a39c12d fix: async workspace memory backend 2026-07-22 19:44:52 +09:00
Hare aa542b38d9 feat: add local image compose setup 2026-07-22 19:09:17 +09:00
Hare c1ee1ff9e9 feat: build docker images with nix 2026-07-22 18:43:35 +09:00
Hare a8236ff3b4 feat: add docker image targets 2026-07-22 18:03:03 +09:00
Hare c75baacd9b chore: untrack yoi tickets 2026-07-22 17:09:14 +09:00
Hare a8c27f5752 fix: remove console composer click shell 2026-07-22 16:55:28 +09:00
Hare 1ff02151b8 fix: relativize web console tool paths 2026-07-22 16:23:39 +09:00
Hare c7c838b4e5 fix: filter web timeline assistant marks 2026-07-22 16:08:45 +09:00
Hare ad93047a25 fix: handle web console segment rotation 2026-07-22 15:37:02 +09:00
Hare b9f4c06c68 fix: share protocol frame codec 2026-07-22 14:03:33 +09:00
Hare 945716d010 fix: share worker protocol session logic 2026-07-22 12:51:19 +09:00
Hare a164017432 fix: bridge worker log events to protocol 2026-07-22 11:54:44 +09:00
Hare fdf1f43281 fix: echo protocol run inputs 2026-07-22 11:11:53 +09:00
Hare 8aafd388fa fix: proxy backend protocol websocket frames 2026-07-21 20:42:49 +09:00
Hare 8841d063be fix: unify worker protocol websocket 2026-07-21 20:29:30 +09:00
Hare 70a26a3042 feat: route backend worker controls over protocol 2026-07-21 19:33:24 +09:00
Hare bfa9346de2 ticket: target protocol worker controls 2026-07-21 18:47:17 +09:00
Hare c9c1d0bb72 ticket: scope backend worker protocol controls 2026-07-21 18:42:25 +09:00
Hare 58e9fd17cc ticket: close backend worker picker 2026-07-21 18:16:38 +09:00
Hare 4a08b69b4c fix: align backend worker picker style 2026-07-21 18:12:33 +09:00
Hare 2e2d7b7290 fix: expose runtime worker list endpoint 2026-07-21 18:04:14 +09:00
Hare f79892baef feat: surface backend runtime workers in tui 2026-07-21 17:41:50 +09:00
Hare 2b307b8040 merge: worker workspace authority api 2026-07-21 15:45:01 +09:00
Hare 06d4adf198 Update AGENTS.md 2026-07-21 15:34:17 +09:00
Hare 00d6c3a7c4 fix: remove direct worker local workspace discovery 2026-07-21 12:07:38 +09:00
Hare 1251edae04 feat: route worker workspace access through backend authority 2026-07-21 11:21:13 +09:00
Hare 2572dde691 feat: add workspace memory backend for embedded workers 2026-07-21 09:27:28 +09:00
Hare 2e0cd3d161 Merge branch 'work/ticket-access-capabilities' into develop 2026-07-21 06:28:41 +09:00
Hare 8a3c7b4191 Update .gitignore 2026-07-21 06:25:37 +09:00
Hare 7f7d2fe7fc ticket: use boolean ticket capabilities 2026-07-21 06:13:26 +09:00
Hare 064965d350 ticket: collapse ticket access into one feature 2026-07-20 19:51:46 +09:00
Hare 2c01e7672b ticket: split ticket feature access presets 2026-07-20 19:05:55 +09:00
Hare a40d9c2027 ticket: share workspace actionable projection 2026-07-20 17:42:20 +09:00
Hare 556adb429c ticket: use list state tokens in query 2026-07-20 17:16:40 +09:00
Hare 39be7a5a0a ticket: merge TicketListQuery implementation 2026-07-20 17:09:17 +09:00
Hare 0a5270a2cc ticket: update list query semantics 2026-07-20 15:45:53 +09:00
Hare edc495ac01 merge: work/default-ticket-tools 2026-07-20 11:36:12 +09:00
Hare 156dbfda64 dev: harden workspace restart scheduling 2026-07-20 11:35:22 +09:00
Hare 18d9b96cac runtime: avoid ticket backend blocking panic 2026-07-20 09:45:39 +09:00
Hare 2b0901eb62 runtime: avoid websocket runtime drop panic 2026-07-20 08:45:13 +09:00
Hare 1173e3af38 runtime: report adapter task panics 2026-07-19 00:37:53 +09:00
Hare 23234b96ca profile: inherit ticket tools across roles 2026-07-18 21:59:58 +09:00
Hare 5f651755d8 runtime: preserve workdirs across worker deletion 2026-07-18 21:49:19 +09:00
Hare de3416cf3b dev: document workspace process switcher 2026-07-18 19:10:51 +09:00
Hare 76f35a7126 dev: detach workspace process actions 2026-07-18 17:41:09 +09:00
Hare 5e91f98ae0 dev: enable default ticket tools and workdir helpers 2026-07-18 17:32:46 +09:00
Hare 60410f29a1 ticket: plan backend runtime worker list 2026-07-18 11:46:39 +09:00
Hare 7e43c10e2d worker: implement session explore extract worker 2026-07-18 10:35:59 +09:00
Hare 92a825fd15 worker: reuse session reference for compaction reads 2026-07-18 09:03:06 +09:00
Hare 2dd9ef95dd worker: add session reference view 2026-07-18 08:27:42 +09:00
Hare 39fa8827da ticket: add session reference view 2026-07-18 08:15:05 +09:00
Hare 37c44a7942 Update workspace.toml 2026-07-18 07:49:35 +09:00
Hare 62dbed8075 worker: rename internal worker purpose to slug 2026-07-18 06:11:44 +09:00
Hare 88b91a2c55 worker: add internal worker runner 2026-07-18 05:59:02 +09:00
Hare ff04becfab ticket: add internal worker runner 2026-07-18 05:47:48 +09:00
Hare 2352f34c4e memory: implement flat extract staging 2026-07-18 05:46:56 +09:00
Hare 444e6bee42 ticket: define flat memory extract staging 2026-07-18 04:34:28 +09:00
Hare 7c1fb65947 Update AGENTS.md 2026-07-18 03:51:43 +09:00
Hare c5eb28af75 ticket: close staging source anchors work 2026-07-17 04:45:45 +09:00
Hare 9a1a75de48 merge: staging source anchors 2026-07-17 04:44:20 +09:00
Hare d0e514704e ticket: approve staging source anchors implementation 2026-07-17 04:44:11 +09:00
Hare c34a50f7c9 ticket: record staging source anchors implementation 2026-07-17 04:41:00 +09:00
Hare 31798fb285 feat: add staging entry source anchors 2026-07-17 04:39:43 +09:00
Hare 08c4547a2e ticket: accept staging source anchors work 2026-07-17 04:28:08 +09:00
Hare 5aa88f7d0d ticket: queue 00001KXNYXNM6 2026-07-17 04:26:52 +09:00
Hare a9c86297aa merge: sync orchestration before queue 00001KXNYXNM6 2026-07-17 04:26:52 +09:00
Hare 594e4140bf ticket: split memory extract implementation 2026-07-17 04:26:50 +09:00
Hare 65dc67a7a1 prompt: add progress message guidance 2026-07-17 01:49:10 +09:00
Hare 8163c54a44 ticket: plan memory extract improvements 2026-07-17 00:50:43 +09:00
Hare 57bd5a5902 ticket: close agent skills work 2026-07-16 09:15:13 +09:00
Hare 1611e04d17 merge: agent skills support 2026-07-16 09:11:07 +09:00
Hare 888ec11455 ticket: approve agent skills implementation 2026-07-16 09:11:00 +09:00
Hare 3d5c24cc4c ticket: record agent skills review fix 2026-07-16 09:07:45 +09:00
Hare 4ddfccee2d fix: reject unsupported skill fields 2026-07-16 09:06:45 +09:00
Hare 85153cf8a0 ticket: record agent skills review blockers 2026-07-16 08:53:18 +09:00
Hare a92457ea05 ticket: record agent skills implementation 2026-07-16 08:46:52 +09:00
Hare 62ef89a163 feat: add workspace-backed agent skills 2026-07-16 08:41:10 +09:00
Hare 1abf56dbc2 objective: revise memory knowledge skills architecture 2026-07-16 08:38:33 +09:00
Hare 9e0f8e9aad objective: draft memory architecture overview 2026-07-16 08:15:39 +09:00
Hare 05c50e32cf ticket: accept agent skills work 2026-07-16 08:01:35 +09:00
Hare 076e01adbb ticket: close knowledge removal work 2026-07-16 08:00:28 +09:00
Hare f279eb11e8 merge: remove knowledge support 2026-07-16 07:57:16 +09:00
Hare d4665ee8e5 ticket: approve knowledge removal implementation 2026-07-16 07:57:07 +09:00
Hare 8681cfa063 ticket: record knowledge docs fix 2026-07-16 07:55:27 +09:00
Hare 9f527f5ea2 fix: remove stale report knowledge wording 2026-07-16 07:54:35 +09:00
Hare fae9bbe84a ticket: record knowledge docs review blocker 2026-07-16 07:53:26 +09:00
Hare ff8e3c1114 ticket: record knowledge hash completion fix 2026-07-16 07:51:05 +09:00
Hare 20654f9c40 fix: disable hash console completions 2026-07-16 07:50:13 +09:00
Hare da912980fd objective: add sensemaking process reference 2026-07-16 07:47:00 +09:00
Hare 63676b9ae3 ticket: record knowledge hash completion blocker 2026-07-16 07:44:53 +09:00
Hare 4f5cc1e884 ticket: record knowledge guidance fix 2026-07-16 07:41:31 +09:00
Hare ad66650369 fix: remove stale knowledge guidance 2026-07-16 07:40:32 +09:00
Hare 09230633a5 ticket: record knowledge removal review blockers 2026-07-16 07:35:48 +09:00
Hare 149497b823 objective: align memory records with skills direction 2026-07-16 07:34:24 +09:00
Hare ca10a130a7 ticket: record knowledge removal implementation 2026-07-16 07:31:24 +09:00
Hare f786e01997 feat: remove active knowledge support 2026-07-16 07:30:00 +09:00
Hare f2106407be ticket: accept knowledge removal work 2026-07-16 06:40:32 +09:00
Hare 66b3a38f7d ticket: close workflow removal work 2026-07-16 06:39:31 +09:00
Hare 2f260029d4 merge: remove workflow machinery
# Conflicts:
#	.yoi/tickets/00001KXKJGYGD/item.md
#	.yoi/tickets/00001KXKJGYGD/thread.md
2026-07-16 06:35:48 +09:00
Hare 7cd5585a4e ticket: approve workflow removal implementation 2026-07-16 06:35:35 +09:00
Hare 9dc27a10bb ticket: record workflow tui test fix 2026-07-16 06:32:55 +09:00
Hare bc48094dde fix: update workflow-free tui tests 2026-07-16 06:32:07 +09:00
Hare ad1cbbc77f ticket: hold skills support for removal prerequisites 2026-07-16 06:27:03 +09:00
Hare e0f14d402e ticket: queue 00001KXKMX0QM 2026-07-16 06:26:15 +09:00
Hare d64a42125f merge: sync orchestration before queue 00001KXKMX0QM 2026-07-16 06:26:15 +09:00
Hare 5030888cb5 ticket: record workflow snapshot test blocker 2026-07-16 06:25:48 +09:00
Hare 2bd3ccd36c ticket: record workflow completion fix 2026-07-16 06:23:31 +09:00
Hare 0b56052a44 fix: remove workflow completion surface 2026-07-16 06:22:41 +09:00
Hare 0e51461ab6 ticket: ready agent skills support 2026-07-16 06:17:10 +09:00
Hare 5c79bc7609 ticket: record workflow completion review blocker 2026-07-16 06:10:20 +09:00
Hare 21296a10df ticket: add agent skills references 2026-07-16 06:08:16 +09:00
Hare f772977784 ticket: record workflow removal fix 2026-07-16 06:07:05 +09:00
Hare d30dca2d99 fix: remove remaining workflow invoke surfaces 2026-07-16 06:04:19 +09:00
Hare 7a71d9c114 ticket: require workspace skills api 2026-07-16 06:02:43 +09:00
Hare 6d9885aa5d ticket: record workflow removal review blockers 2026-07-16 05:53:09 +09:00
Hare 88f8796cdc ticket: record workflow removal implementation 2026-07-16 05:46:25 +09:00
Hare d801b2698b refactor: remove workflow machinery 2026-07-16 05:45:24 +09:00
Hare 1676018ce7 ticket: make workspace skills authority 2026-07-16 05:43:51 +09:00
Hare a8ac4cc56a ticket: hold knowledge removal for workflow cleanup 2026-07-16 05:27:58 +09:00
Hare 2417ac1960 ticket: queue 00001KXKP2A71 2026-07-16 05:27:03 +09:00
Hare 74f02a0e58 merge: sync orchestration before queue 00001KXKP2A71 2026-07-16 05:27:02 +09:00
Hare 2b73cbfbce ticket: plan knowledge removal before skills 2026-07-16 05:04:54 +09:00
Hare 724fc037ed ticket: require removing skill projection extensions 2026-07-16 04:58:46 +09:00
Hare 29db1b6270 ticket: record current skills support 2026-07-16 04:56:55 +09:00
Hare 83ad7506d7 ticket: accept workflow removal work 2026-07-16 04:55:47 +09:00
Hare 6ce8fdb578 ticket: queue 00001KXKJGYGD 2026-07-16 04:54:36 +09:00
Hare b62946845f ticket: implement skills 2026-07-16 04:54:33 +09:00
Hare e3f4fdb478 Create ticket.config.toml 2026-07-16 04:27:57 +09:00
Hare dec678e9b4 ticket: ready workflow removal skills migration 2026-07-16 04:27:18 +09:00
Hare f32496286e merge: workspace ticket settings 2026-07-16 04:03:53 +09:00
Hare a8f7ea9aed ticket: replace workflow tracking with skills 2026-07-16 04:03:06 +09:00
Hare 3679362f0f ticket: close workspace ticket settings work 2026-07-16 02:51:38 +09:00
Hare 45783b7488 merge: workspace ticket settings 2026-07-16 02:45:52 +09:00
Hare 05cf6e883f ticket: approve workspace ticket settings implementation 2026-07-16 02:45:40 +09:00
Hare 884ced7ecb ticket: record workspace ticket settings fix 2026-07-16 02:43:12 +09:00
Hare 40f2114541 tui: use configured ticket root for overlay 2026-07-16 02:42:29 +09:00
Hare f5c340a120 ticket: record workspace ticket settings review blocker 2026-07-16 02:26:32 +09:00
Hare 1473e874a8 ticket: record workspace ticket settings implementation 2026-07-16 02:20:11 +09:00
Hare b1e3a2ad33 ticket: move ticket settings into workspace config 2026-07-16 02:19:04 +09:00
Hare 7f9b6c01b5 build: update cargo hash after llm engine merge 2026-07-16 01:47:33 +09:00
Hare 88c2edefd4 merge: prepare llm engine for publish 2026-07-16 01:45:09 +09:00
Hare ed825db4e9 ticket: plan workspace orchestrator workdir tools 2026-07-16 01:31:01 +09:00
Hare c68ed1fdc5 ticket: accept workspace ticket settings work 2026-07-16 01:30:44 +09:00
Hare 5c8a7f363c ticket: close completed workspace cleanup items 2026-07-16 01:28:54 +09:00
Hare 16063c636d ticket: route workspace ticket settings work 2026-07-16 01:22:57 +09:00
Hare 7efe13747a ticket: queue 00001KXK9507N 2026-07-16 01:19:31 +09:00
Hare 724a5da67b ticket: plan workspace ticket settings consolidation 2026-07-16 01:19:19 +09:00
Hare 983ffe6017 feat: route ticket tools through workspace backend 2026-07-16 01:18:13 +09:00
Hare 66abd53e51 feat: refine workspace console ui 2026-07-15 22:43:56 +09:00
Hare f9f1f85b07 feat: add worker console timeline 2026-07-15 02:46:45 +09:00
Hare 839fc7b40c refactor: fold provider crate into engine 2026-07-15 00:58:29 +09:00
Hare e298856c85 feat: add web console commands 2026-07-14 07:55:51 +09:00
Hare 520c10d807 ui: refine worker console streaming 2026-07-14 04:54:23 +09:00
Hare 1505c5e8a3 docs: generalize llm-engine comments 2026-07-14 04:14:58 +09:00
Hare ddbcd595ef ticket: close runtime snapshot fix 2026-07-14 02:59:59 +09:00
Hare 6ca0d48327 fix: use live worker observation snapshots 2026-07-14 02:59:52 +09:00
Hare ec951ee5c0 ticket: start runtime snapshot fix 2026-07-14 02:48:47 +09:00
Hare de93d4c3b7 ticket: use live worker snapshots 2026-07-14 02:48:47 +09:00
Hare 1b99b3b4d2 chore: remove "nix build" instruction for development 2026-07-13 23:58:36 +09:00
Hare 1837865b33 runtime: restore from metadata snapshot 2026-07-13 23:56:16 +09:00
Hare bedf087455 ticket: start restore profile decoupling 2026-07-13 23:45:04 +09:00
Hare f93e734c57 ticket: restore without profile fetch 2026-07-13 23:45:03 +09:00
Hare 2e66655652 workspace: render console snapshot entries 2026-07-13 23:30:48 +09:00
Hare bbb79afdd8 ticket: start console snapshot rendering 2026-07-13 23:18:30 +09:00
Hare cdf46bd8eb ticket: render console snapshot entries 2026-07-13 23:18:30 +09:00
Hare 34856b9900 workspace: stop worker before cleanup delete 2026-07-13 23:05:46 +09:00
Hare f5b200d36b ticket: start worker cleanup stop 2026-07-13 22:58:54 +09:00
Hare 9c3677ff67 ticket: stop worker before cleanup delete 2026-07-13 22:58:54 +09:00
Hare 498337317c workspace: stabilize cleanup plan digest 2026-07-13 22:38:35 +09:00
Hare 655cdf9533 ticket: start cleanup plan stabilization 2026-07-13 22:30:39 +09:00
Hare 1b9d8c91c3 ticket: stabilize cleanup plan ordering 2026-07-13 22:30:39 +09:00
Hare 59524679c1 workspace: type workdir cleanup status 2026-07-13 21:57:20 +09:00
Hare daa06f98fb ticket: start typed workdir cleanup 2026-07-13 21:46:05 +09:00
Hare 2061c810db ticket: type workdir cleanup status 2026-07-13 21:46:05 +09:00
Hare 80a84b854c ticket: close completed runtime work 2026-07-13 21:45:11 +09:00
Hare f88ee692c9 workspace: allow not-found workdir cleanup 2026-07-13 20:54:33 +09:00
Hare b583af4dd3 ticket: start not-found workdir cleanup 2026-07-13 20:44:18 +09:00
Hare 81ceb1ceff ticket: allow not-found workdir cleanup 2026-07-13 20:44:18 +09:00
Hare da0fe7c81f runtime: preserve typed workdir errors 2026-07-13 20:17:09 +09:00
Hare 72c7beb9c7 ticket: start workdir error preservation 2026-07-13 19:59:02 +09:00
Hare 490d5ed674 ticket: preserve typed workdir errors 2026-07-13 19:59:02 +09:00
Hare 60c772ec38 workspace: show backend error details 2026-07-13 19:51:28 +09:00
Hare fb0d5aeaa9 ticket: start backend error details 2026-07-13 19:46:30 +09:00
Hare ec4b404580 ticket: show backend error details 2026-07-13 19:46:30 +09:00
Hare 6b91d83fe2 runtime: normalize filesystem options 2026-07-13 19:06:26 +09:00
Hare b82407816e runtime: remove workspace cwd options 2026-07-13 18:31:54 +09:00
Hare f54ba6950c ticket: start runtime option cleanup 2026-07-13 18:22:30 +09:00
Hare a5e38f5964 ticket: remove runtime workspace cwd options 2026-07-13 18:22:30 +09:00
Hare 49f085916e runtime: remove runtime-owned id 2026-07-13 17:38:09 +09:00
Hare 6fedf81785 ticket: start runtime id removal 2026-07-13 16:43:36 +09:00
Hare 6af7f61247 ticket: remove runtime-owned id 2026-07-13 16:43:36 +09:00
Hare 4a90267ebc workspace: remove input readiness capability 2026-07-12 23:43:44 +09:00
Hare c948b669c1 runtime: restore persisted worker execution 2026-07-12 23:38:56 +09:00
Hare c56b8c04ea ticket: start runtime worker restore 2026-07-12 23:16:14 +09:00
Hare 8b235b6cf5 ticket: add runtime worker restore plan 2026-07-12 23:16:05 +09:00
Hare 59b1b3df79 workspace: gate workdir assignment 2026-07-12 20:07:32 +09:00
Hare 21802d68f8 workspace: finalize workdir deletion flow 2026-07-12 16:33:14 +09:00
Hare 52cccc7f2f workspace: track workdir observation state 2026-07-12 12:32:24 +09:00
Hare 3009bb4ad9 workspace: delete workers through runtime 2026-07-12 09:06:59 +09:00
Hare d8c0853d55 workspace: refine runtime and cleanup lists 2026-07-12 06:57:10 +09:00
Hare c5aae4b234 workspace: use opaque numeric worker ids 2026-07-12 05:07:39 +09:00
Hare 664f8693a0 ticket: close worker display name preservation 2026-07-11 17:44:32 +09:00
Hare 88d819591e workspace: preserve worker display names 2026-07-11 17:44:23 +09:00
Hare 593d3309d9 ticket: preserve worker display names 2026-07-11 17:31:54 +09:00
Hare 32d1ae597e ticket: close archived worker console links 2026-07-11 16:01:41 +09:00
Hare 30d15daddf workspace: disable archived worker console links 2026-07-11 16:01:29 +09:00
Hare d8412d022b ticket: disable archived worker console links 2026-07-11 15:52:17 +09:00
Hare d53bfd8087 ticket: close worker status removal 2026-07-11 15:22:34 +09:00
Hare 2d2c29a775 workspace: remove worker status field 2026-07-11 15:22:23 +09:00
Hare 69560addf8 ticket: remove worker status field 2026-07-11 15:06:13 +09:00
Hare b6bb22f956 merge: orchestration 2026-07-11 13:44:15 +09:00
Hare 6823f0e72d ticket: close worker lifecycle state removal 2026-07-11 13:34:08 +09:00
Hare b877c92975 workspace: remove worker lifecycle state 2026-07-11 13:33:49 +09:00
Hare 13f9e0fab8 ticket: remove worker lifecycle state 2026-07-11 13:09:06 +09:00
Hare 7d3b364728 ticket: close workspace backend work 2026-07-11 10:10:05 +09:00
Hare 391f11fc23 merge: workspace backend worker context 2026-07-11 10:07:19 +09:00
Hare 5d4cb9b3fe ticket: approve workspace backend implementation 2026-07-11 10:07:12 +09:00
Hare 0736de6451 ticket: record workspace backend implementation 2026-07-11 10:00:03 +09:00
Hare 142b60e1b3 refactor: separate worker workspace identity 2026-07-11 09:58:20 +09:00
Hare a98e25eda8 ticket: close observation cursor removal 2026-07-11 09:31:57 +09:00
Hare 10762a3c8b workspace: remove observation cursor surface 2026-07-11 09:31:49 +09:00
Hare 74b07bd787 ticket: accept workspace backend work 2026-07-11 09:15:16 +09:00
Hare 14e704b858 ticket: close embedded no-workdir policy work 2026-07-11 09:13:58 +09:00
Hare 2f7b809401 merge: embedded no-workdir worker policy 2026-07-11 09:12:34 +09:00
Hare 50eec7885a ticket: approve embedded no-workdir policy 2026-07-11 09:12:29 +09:00
Hare 54eaa44681 ticket: remove observation cursor surface 2026-07-11 09:09:33 +09:00
Hare 7223cab0b2 ticket: record embedded no-workdir implementation 2026-07-11 09:01:00 +09:00
Hare 10267869ae feat: enforce embedded no-workdir worker policy 2026-07-11 08:59:19 +09:00
Hare 1d7765d9ee ticket: close observation replay removal 2026-07-11 08:50:55 +09:00
Hare 7d393f8c98 ticket: finish observation replay removal 2026-07-11 08:50:55 +09:00
Hare 8a3fca65f2 workspace: remove observation replay 2026-07-11 08:50:42 +09:00
Hare 83c9d8844d ticket: route embedded no-workdir worker work 2026-07-11 08:38:59 +09:00
Hare 3a0600be0f ticket: remove observation replay 2026-07-11 08:35:04 +09:00
Hare 0e01e5c84b workspace: align console colors with tui 2026-07-11 08:18:44 +09:00
Hare 69607d02bc workspace: remove console color rail 2026-07-11 08:05:28 +09:00
Hare 33ae73e7ee ticket: close rich console rendering 2026-07-11 07:46:12 +09:00
Hare db5c1d64d1 workspace: add rich console rendering 2026-07-11 07:46:03 +09:00
Hare 0f2d7263a8 ticket: close worker filesystem authority work 2026-07-11 07:45:08 +09:00
Hare c29e913511 merge: worker filesystem authority 2026-07-11 07:40:45 +09:00
Hare 19a52742a3 ticket: approve worker filesystem authority implementation 2026-07-11 07:40:38 +09:00
Hare 5d07e9b9d5 ticket: console rich rendering 2026-07-11 07:31:41 +09:00
Hare 44410a0fdd ticket: record worker filesystem authority implementation 2026-07-11 07:31:20 +09:00
Hare b50b94612a feat: add explicit worker filesystem authority 2026-07-11 07:30:17 +09:00
Hare 89ba205cac workspace: aggregate console read calls 2026-07-11 07:28:31 +09:00
Hare dbc223e9e0 ticket: close console tool call rendering 2026-07-11 07:17:10 +09:00
Hare 2a6930a946 workspace: group console tool calls 2026-07-11 07:17:03 +09:00
Hare a5417320eb ticket: console tool call rendering 2026-07-11 07:09:21 +09:00
Hare a38fcdf04d ticket: hold workspace backend work for authority base 2026-07-11 07:04:02 +09:00
Hare 4b2e03d7cc ticket: queue 00001KX6Y6ZEA 2026-07-11 07:03:28 +09:00
Hare 603a717e40 merge: sync orchestration before queue 00001KX6Y6ZEA 2026-07-11 07:03:27 +09:00
Hare e6b5013224 ticket: ready worker workspace backend 2026-07-11 07:01:46 +09:00
Hare 3ee9469c1a ticket: hold embedded no-workdir policy for authority base 2026-07-11 07:00:37 +09:00
Hare bbcc91db01 ticket: require workspace root removal 2026-07-11 07:00:25 +09:00
Hare 366af8c544 ticket: queue 00001KX6WVNPD 2026-07-11 07:00:07 +09:00
Hare 505bbd7cc9 merge: sync orchestration before queue 00001KX6WVNPD 2026-07-11 07:00:07 +09:00
Hare e4653f7a2d ticket: ready embedded no-workdir worker 2026-07-11 06:59:20 +09:00
Hare f7191056b7 ticket: align embedded policy with filesystem authority 2026-07-11 06:54:22 +09:00
Hare db3a7165f7 ticket: accept worker filesystem authority work 2026-07-11 06:51:37 +09:00
Hare 5c228a7fae ticket: queue 00001KX6Y2A9Q 2026-07-11 06:51:00 +09:00
Hare e40445b07a ticket: ready worker filesystem authority 2026-07-11 06:49:37 +09:00
Hare 3df1c2dcfa ticket: require cwd authority removal 2026-07-11 06:46:25 +09:00
Hare 6fa3d9d21f ticket: normalize worker authority priority 2026-07-11 06:34:18 +09:00
Hare 358fb32fe7 ticket: clarify worker workspace identity 2026-07-11 06:23:30 +09:00
Hare 632a3310ea ticket: worker workspace backend 2026-07-11 06:16:53 +09:00
Hare 9d6400cf2f ticket: worker filesystem authority 2026-07-11 06:14:22 +09:00
Hare c44bdb286a ticket: embedded no-workdir worker authority 2026-07-11 05:53:24 +09:00
Hare cab6a5300d merge: orchestration 2026-07-11 04:52:53 +09:00
Hare 254360f1ab profile: remove lua profile resolver 2026-07-11 04:44:32 +09:00
Hare 156f8ad044 runtime: remove worker transcript projection 2026-07-11 03:55:44 +09:00
Hare 1262b6022a ticket: close manual cleanup work 2026-07-11 03:37:44 +09:00
Hare 4970a58c5a merge: manual worker workdir cleanup
# Conflicts:
#	.yoi/tickets/00001KX6CRVBE/item.md
#	.yoi/tickets/00001KX6CRVBE/thread.md
2026-07-11 03:36:24 +09:00
Hare 1b4d336d80 ticket: approve manual cleanup implementation 2026-07-11 03:36:14 +09:00
Hare c961185635 ticket: record manual cleanup safety fix 2026-07-11 03:30:57 +09:00
Hare 361569a69e fix: require discard confirmation for unknown workdirs 2026-07-11 03:30:08 +09:00
Hare 29ddc168a3 ticket: record manual cleanup review blocker 2026-07-11 03:19:16 +09:00
Hare 85da6a6c33 ticket: record manual cleanup implementation evidence 2026-07-11 03:13:44 +09:00
Hare ba44391acf feat: add manual worker workdir cleanup 2026-07-11 03:12:51 +09:00
Hare 5f762a6ce3 ticket: accept manual cleanup work 2026-07-11 02:39:10 +09:00
Hare dcab396e69 ticket: close worker workdir registry work 2026-07-11 02:38:25 +09:00
Hare 03652f8210 merge: worker workdir registry
# Conflicts:
#	.yoi/tickets/00001KX6BPY7M/item.md
#	.yoi/tickets/00001KX6BPY7M/thread.md
2026-07-11 02:35:48 +09:00
Hare 763709fdf8 ticket: approve worker workdir registry implementation 2026-07-11 02:35:34 +09:00
Hare 26e4efc990 ticket: record unmanaged workdir fix pass 2026-07-11 02:32:07 +09:00
Hare 239f93b084 fix: keep unmanaged workdirs out of managed lists 2026-07-11 02:31:29 +09:00
Hare d9b3eb0e8b ticket: record unmanaged workdir review blocker 2026-07-11 02:22:18 +09:00
Hare e6b52b045a ticket: record worker workdir registry fix pass 2026-07-11 02:14:06 +09:00
Hare 8695089fba fix: sync backend worker registry projections 2026-07-11 02:13:00 +09:00
Hare 522c7043b1 ticket: record worker workdir registry review blockers 2026-07-11 01:52:34 +09:00
Hare 210f41e020 objective: clarify worker cleanup retention 2026-07-11 01:48:49 +09:00
Hare 1ed0501f8e ticket: hold cleanup work for registry review 2026-07-11 01:46:14 +09:00
Hare 234d62bbef ticket: queue 00001KX6CRVBE 2026-07-11 01:45:14 +09:00
Hare 5f669b90ef merge: sync orchestration before queue 00001KX6CRVBE 2026-07-11 01:45:14 +09:00
Hare db8cfa8142 ticket: ready manual worker workdir cleanup 2026-07-11 01:44:28 +09:00
Hare c949e1b4f2 ticket: simplify worker delete lifecycle 2026-07-11 01:43:46 +09:00
Hare c2afaefb5f ticket: record worker workdir registry implementation evidence 2026-07-11 01:40:24 +09:00
Hare 3e5546ea33 feat: add backend worker workdir registry 2026-07-11 01:38:23 +09:00
Hare c88283dbe5 ticket: include worker pinning in manual prune 2026-07-11 01:31:22 +09:00
Hare 1564d7e411 ticket: route worker workdir registry coder 2026-07-11 01:13:26 +09:00
Hare 452d07273c ticket: manual worker workdir prune 2026-07-11 01:12:43 +09:00
Hare 86f652a72f ticket: accept worker workdir registry work 2026-07-11 01:12:18 +09:00
Hare 651422e0c8 ticket: queue 00001KX6BPY7M 2026-07-11 01:10:57 +09:00
Hare fe66437589 ticket: ready backend worker workdir registry 2026-07-11 01:06:19 +09:00
Hare 04cb2f700d ticket: backend worker workdir registry 2026-07-11 00:54:35 +09:00
Hare 24156947ac ui: add runtime workdir pages 2026-07-11 00:15:49 +09:00
Hare 47e03bd54b ui: move workers list to page 2026-07-10 12:06:10 +09:00
Hare a3cb59af43 ui: move worker launch to page 2026-07-10 10:32:44 +09:00
Hare d149f7e936 runtime: namespace spawned worker names 2026-07-10 04:18:14 +09:00
Hare 611f1656a3 profile: inherit default model for roles 2026-07-10 03:58:45 +09:00
Hare 69fd11a233 runtime: use workspace id for profile archives 2026-07-10 03:14:15 +09:00
Hare 9f6abb675c runtime: tolerate corrupt worker snapshots 2026-07-10 02:51:55 +09:00
Hare c3afcc7491 runtime: fetch profile archives for remote workers 2026-07-10 01:32:26 +09:00
Hare ef0799c278 merge: orchestration 2026-07-09 19:24:12 +09:00
Hare d216b10100 runtime: default working directories to data dir 2026-07-09 19:24:04 +09:00
Hare fa233ba025 runtime: own working directories 2026-07-09 19:04:37 +09:00
Hare 36454e831b ticket: close profile source tree work 2026-07-09 18:18:57 +09:00
Hare 9a2e57fb0e merge: profile source tree editor
# Conflicts:
#	.yoi/tickets/00001KX1JNJ2Y/item.md
#	.yoi/tickets/00001KX1JNJ2Y/thread.md
2026-07-09 18:16:49 +09:00
Hare dccfe539ef ticket: approve profile source tree work 2026-07-09 18:16:38 +09:00
Hare ae227c7e4d ticket: record profile source tree symlink fix 2026-07-09 18:10:08 +09:00
Hare 13c6548b46 fix: reject profile source root symlinks 2026-07-09 18:08:31 +09:00
Hare 2dfad3500f ticket: record profile source tree symlink blocker 2026-07-09 17:57:33 +09:00
Hare c5a9f8a0ab ticket: record profile source tree review fixes 2026-07-09 17:52:24 +09:00
Hare 941b91261b fix: complete profile source tree review fixes 2026-07-09 17:47:19 +09:00
Hare 0458af721f ticket: record profile source tree review blockers 2026-07-09 17:32:43 +09:00
Hare 129079cad4 ticket: record profile source tree implementation evidence 2026-07-09 17:28:23 +09:00
Hare 81abfa630a feat: add profile source tree editor 2026-07-09 17:22:57 +09:00
Hare ce2ccce98e ticket: route profile source tree coder 2026-07-09 16:59:00 +09:00
Hare 7da14f1a8d ticket: accept profile source tree work 2026-07-09 16:58:08 +09:00
Hare afc43780a7 ticket: queue 00001KX1JNJ2Y 2026-07-09 16:56:07 +09:00
Hare b06e1b3dc2 ticket: ready profile source tree editor 2026-07-09 16:18:33 +09:00
Hare 23ab100d20 ticket: include decodal source editor 2026-07-09 04:21:52 +09:00
Hare 1400ebd2f1 ticket: profile source tree virtual fs 2026-07-09 04:19:30 +09:00
Hare 292ad2c202 ui: split workspace settings routes 2026-07-09 01:23:34 +09:00
Hare 981f0501a3 merge: backend resource and profile settings 2026-07-08 23:11:54 +09:00
Hare f3cd632b64 ticket: backend memory observation pipeline 2026-07-08 22:46:50 +09:00
Hare 5c862ca12a ticket: close workspace profile settings work 2026-07-08 22:20:36 +09:00
Hare 0bf3638c64 merge: workspace profile settings
# Conflicts:
#	.yoi/tickets/00001KX0DSMPT/item.md
#	.yoi/tickets/00001KX0DSMPT/thread.md
2026-07-08 22:19:14 +09:00
Hare 137234fae0 ticket: approve profile settings implementation 2026-07-08 22:19:04 +09:00
Hare bfba61cee6 ticket: record profile settings review fixes 2026-07-08 22:07:45 +09:00
Hare 0c2ca1eafb fix: harden profile settings validation 2026-07-08 22:06:12 +09:00
Hare 1a8824613b ticket: record profile settings review blockers 2026-07-08 21:49:19 +09:00
Hare e8048e6dc3 ticket: record profile settings implementation evidence 2026-07-08 21:40:15 +09:00
Hare 3eefd33334 feat: add workspace profile settings 2026-07-08 21:38:23 +09:00
Hare 950427a135 ticket: backend ticket objective api 2026-07-08 21:28:11 +09:00
Hare 3abaf51a66 ticket: record profile settings coder recovery 2026-07-08 21:03:33 +09:00
Hare 620e37da8b ticket: route workspace profile settings coder 2026-07-08 20:58:26 +09:00
Hare c903beee69 ticket: accept workspace profile settings work 2026-07-08 20:56:51 +09:00
Hare a645ee5b79 ticket: close backend resource fetch work 2026-07-08 20:55:03 +09:00
Hare 01f94b7591 merge: backend resource fetch api 2026-07-08 20:53:12 +09:00
Hare fd1ab4bad8 ticket: approve backend resource fetch work 2026-07-08 20:53:12 +09:00
Hare 237c75448c ticket: record backend resource fetch review fixes 2026-07-08 20:45:52 +09:00
Hare e716ae44f0 fix: harden backend resource handles 2026-07-08 20:44:04 +09:00
Hare a0ef9a9f82 ticket: record backend resource fetch review blockers 2026-07-08 20:27:33 +09:00
Hare 595da68751 ticket: record backend resource fetch implementation evidence 2026-07-08 20:20:32 +09:00
Hare 57e96d3be8 feat: add backend resource fetch api 2026-07-08 20:18:38 +09:00
Hare 352be1f4c7 ticket: hold profile settings for resource fetch 2026-07-08 19:45:57 +09:00
Hare 98f6bd14b3 ticket: queue 00001KX0DSMPT 2026-07-08 19:44:13 +09:00
Hare 813af7b4c4 merge: sync orchestration before queue 00001KX0DSMPT 2026-07-08 19:44:12 +09:00
Hare 92adee2ada ticket: route backend resource fetch coder 2026-07-08 19:40:33 +09:00
Hare 0c8b5b962c ticket: ready workspace profile settings 2026-07-08 19:40:06 +09:00
Hare 2109ad1021 ticket: use plain text profile editor 2026-07-08 19:39:46 +09:00
Hare 1a2097b10d ticket: accept backend resource fetch work 2026-07-08 19:39:25 +09:00
Hare ffc16deac2 ticket: close decodal profile archive work 2026-07-08 19:35:46 +09:00
Hare 0334c5725e merge: decodal profile archives
# Conflicts:
#	.yoi/tickets/00001KWZ5KERY/item.md
#	.yoi/tickets/00001KWZ5KERY/thread.md
2026-07-08 19:33:39 +09:00
Hare e17c7a5b82 ticket: approve decodal profile archive work 2026-07-08 19:33:27 +09:00
Hare 7f81c6cdf4 ticket: record decodal profile archive review fixes 2026-07-08 19:23:18 +09:00
Hare a2833dadca fix: reject unknown profile archive selectors 2026-07-08 19:21:52 +09:00
Hare 27fa1cc815 ticket: record decodal profile archive review blockers 2026-07-08 19:07:16 +09:00
Hare ab55238d29 ticket: hold backend resource fetch for decodal ordering 2026-07-08 19:05:49 +09:00
Hare 81cf73e452 ticket: queue 00001KX0G06VA 2026-07-08 19:04:10 +09:00
Hare 0dc5fc687f merge: sync orchestration before queue 00001KX0G06VA 2026-07-08 19:04:10 +09:00
Hare 89fdc6b443 ticket: record decodal profile archive implementation evidence 2026-07-08 18:59:39 +09:00
Hare a823d414d0 feat: add decodal profile archives 2026-07-08 18:57:54 +09:00
Hare 048b0af614 ticket: avoid changing active decodal work 2026-07-08 18:44:12 +09:00
Hare 461ae6a89e ticket: ready runtime backend resource rest api 2026-07-08 18:28:04 +09:00
Hare dccd8d03af ticket: route decodal profile archive coder 2026-07-08 18:14:34 +09:00
Hare 63f3129eb7 ticket: add runtime backend resource channel 2026-07-08 18:14:31 +09:00
Hare 56cac3c74a ticket: accept decodal profile archive work 2026-07-08 18:13:24 +09:00
Hare 190f6a2a8f ticket: queue 00001KWZ5KERY 2026-07-08 18:11:22 +09:00
Hare e5fb26ca74 ticket: ready decodal profile archive migration 2026-07-08 18:03:55 +09:00
Hare 1688f2a640 fix: separate profile base from working directory 2026-07-08 18:03:55 +09:00
Hare 061e52c35c ticket: profile source archive migration order 2026-07-08 18:01:34 +09:00
Hare bbe6694122 ticket: workspace profile settings api 2026-07-08 17:35:01 +09:00
Hare a84e968699 ticket: use event driven worker config bundle sync 2026-07-08 15:55:12 +09:00
Hare fb25f1a33d ticket: scope config bundle sync implementation 2026-07-08 06:05:47 +09:00
Hare ebc3804ebd ticket: design config bundle sync strategy 2026-07-08 05:52:40 +09:00
Hare 25900f31cf refactor: remove working directory allocation terminology 2026-07-08 04:56:22 +09:00
Hare 5c33b2f63d ticket: close runtime connection reload 2026-07-08 04:16:57 +09:00
Hare fa219e40b3 merge: browser working directory spawn 2026-07-08 02:27:53 +09:00
Hare 9745bf041c ui: show worker spawn diagnostics 2026-07-08 02:27:19 +09:00
Hare a6fe68301c Merge branch 'develop' into orchestration
# Conflicts:
#	.yoi/objectives/00001KVJPT2PP/item.md
#	.yoi/objectives/00001KWW44EXK/item.md
2026-07-08 01:15:07 +09:00
Hare 40463b6133 refactor: rename execution workspace to working directory 2026-07-08 01:14:14 +09:00
Hare 0cad2308cc ticket: close browser execution workspace work 2026-07-07 23:59:03 +09:00
Hare b52986e55a merge: browser execution workspaces 2026-07-07 23:57:00 +09:00
Hare 7acf06ad23 ticket: approve browser execution workspace work 2026-07-07 23:57:00 +09:00
Hare 55105564bf ticket: record browser execution workspace review fixes 2026-07-07 23:51:40 +09:00
Hare 9adb0fae82 fix: preserve execution workspace cwd diagnostics 2026-07-07 23:50:01 +09:00
Hare a6b93ceabc objective: clarify working directory terminology 2026-07-07 23:41:27 +09:00
Hare 05a592d80b ticket: record browser execution workspace review blocker 2026-07-07 23:37:08 +09:00
Hare 41cc66b11b ticket: record browser execution workspace implementation evidence 2026-07-07 23:23:35 +09:00
Hare 684b19e87c feat: add browser execution workspaces 2026-07-07 23:21:20 +09:00
Hare 57a5af8efd ticket: route browser execution workspace coder 2026-07-07 22:42:57 +09:00
Hare ecf10c72ab ticket: accept browser execution workspace work 2026-07-07 22:41:51 +09:00
Hare 9f1c17d4e9 ticket: queue 00001KWY8EHEJ 2026-07-07 22:40:23 +09:00
Hare 6db5751bbf ticket: ready browser execution workspace spawn 2026-07-07 21:26:40 +09:00
Hare ce773d0fb4 ticket: browser execution workspace spawn 2026-07-07 21:22:42 +09:00
Hare fbc9ba411e merge: workspace id route scoping
# Conflicts:
#	web/workspace/src/lib/workspace-sidebar/WorkspaceSidebar.svelte
2026-07-07 06:27:48 +09:00
Hare 7f6a057e22 ui: refine workspace sidebar controls 2026-07-07 06:19:08 +09:00
Hare 1d88b333a9 ticket: close workspace id route scoping 2026-07-07 05:53:50 +09:00
Hare 13e756e74f merge: workspace id route scoping 2026-07-07 05:52:46 +09:00
Hare f3fdc98319 ticket: approve workspace id route scoping 2026-07-07 05:52:46 +09:00
Hare 3315fa5458 ticket: record workspace id route review fixes 2026-07-07 05:45:40 +09:00
Hare 71340b8999 fix: redirect unscoped workspace routes 2026-07-07 05:44:22 +09:00
Hare a2f2e37585 ticket: record workspace id route review blockers 2026-07-07 05:36:54 +09:00
Hare 55f93fd987 ticket: record workspace id route implementation evidence 2026-07-07 05:27:20 +09:00
Hare f6ad9cfcd3 feat: scope workspace routes by id 2026-07-07 05:26:03 +09:00
Hare ab33c30d7c ticket: route workspace id scoping coder 2026-07-07 04:55:32 +09:00
Hare 34836d97ae ticket: accept workspace id route scoping 2026-07-07 04:54:37 +09:00
Hare 384d162b74 ticket: queue 00001KWWE8E04 2026-07-07 04:53:14 +09:00
Hare 76153b64c7 merge: sync orchestration before queue 00001KWWE8E04 2026-07-07 04:53:14 +09:00
Hare 72ace6e913 ticket: ready workspace scoped routes 2026-07-07 04:48:42 +09:00
Hare 376a43b8ae ticket: close execution workspace materializer 2026-07-07 04:24:31 +09:00
Hare c4cdf1c37e merge: execution workspace materializer 2026-07-07 04:23:08 +09:00
Hare ab19882b8e ticket: approve execution workspace materializer 2026-07-07 04:23:08 +09:00
Hare 673fbeed09 ticket: record execution workspace review fixes 2026-07-07 04:17:23 +09:00
Hare c90ebf2468 fix: keep execution workspace paths internal 2026-07-07 04:16:04 +09:00
Hare 6c4df18da1 ticket: record execution workspace review blocker 2026-07-07 04:06:30 +09:00
Hare 5ef8e4e8ba refactor: move workspace pages into routes 2026-07-07 04:04:37 +09:00
Hare 504090ac99 ticket: record execution workspace implementation evidence 2026-07-07 03:57:46 +09:00
Hare 8b7a5da031 feat: materialize execution workspaces 2026-07-07 03:56:32 +09:00
Hare 9a064117bd ticket: route execution workspace coder 2026-07-07 03:31:17 +09:00
Hare 50c80e7747 ticket: accept execution workspace materializer 2026-07-07 03:30:04 +09:00
Hare 4e72bc6be3 ticket: queue 00001KWW9DYH4 2026-07-07 03:28:26 +09:00
Hare 3cee4116d1 ticket: plan execution workspace materializer 2026-07-07 03:27:12 +09:00
Hare 1f69061956 fix: normalize runtime workspace bootstrap 2026-07-07 03:27:12 +09:00
Hare b6029220ff fix: refine workspace runtime UI 2026-07-06 22:51:25 +09:00
Hare 5279f8fc0d merge: repository registry 2026-07-05 23:51:54 +09:00
Hare 8528c9057a ticket: close repository registry work 2026-07-05 05:19:21 +09:00
Hare a786fd85a7 merge: repository registry implementation 2026-07-05 05:18:01 +09:00
Hare b0334e042b ticket: approve repository registry implementation 2026-07-05 05:18:01 +09:00
Hare 7163ba7197 ticket: record repository registry review fixes 2026-07-05 05:11:36 +09:00
Hare 14e63ca5b6 fix: derive repository UI from registry 2026-07-05 05:10:23 +09:00
Hare a62653e5bc ticket: record repository registry review blockers 2026-07-05 05:03:00 +09:00
Hare 6717ced46a ticket: record repository registry implementation evidence 2026-07-05 04:58:57 +09:00
Hare 2f0d1cee19 feat: add workspace repository registry 2026-07-05 04:57:52 +09:00
Hare 6c2f2e0df3 ticket: route repository registry coder 2026-07-05 04:37:01 +09:00
Hare 416d67ca06 ticket: accept repository registry work 2026-07-05 04:35:55 +09:00
Hare f4d7631f19 ticket: queue 00001KWPC13WQ 2026-07-05 04:34:04 +09:00
Hare 23d3782f38 ticket: ready repository registry 2026-07-04 19:59:11 +09:00
Hare 078f2137b3 docs: update workspace runtime objective 2026-07-04 19:58:50 +09:00
Hare 1ebdf7cf7a ticket: add repository registry work 2026-07-04 19:51:33 +09:00
Hare b3dac8ea68 feat: live reload runtime connections 2026-07-04 04:47:23 +09:00
Hare 296da3a440 ticket: add runtime registry reload 2026-07-04 01:00:28 +09:00
Hare da047d5686 merge: close runtime worker tickets 2026-07-03 03:24:57 +09:00
Hare f28d4d5d3a ticket: close runtime worker tickets 2026-07-03 03:24:57 +09:00
Hare 540e55d499 merge: runtime worker ticket records 2026-07-03 03:20:35 +09:00
Hare 4edaa73dde merge: runtime worker controls 2026-07-03 03:20:35 +09:00
Hare c2c594411d ticket: approve runtime worker implementation 2026-07-03 03:20:17 +09:00
Hare 50016b122c ticket: record runtime worker review fixes 2026-07-03 03:11:16 +09:00
Hare 47ed0ff825 fix: harden runtime and worker launch controls 2026-07-03 02:54:48 +09:00
Hare f28be76ab6 ticket: record runtime worker review blockers 2026-07-03 02:36:49 +09:00
Hare 64f1780ede ticket: record runtime worker implementation evidence 2026-07-03 02:29:39 +09:00
Hare f2fead7ebd feat: add workspace runtime and worker controls 2026-07-03 02:27:42 +09:00
Hare 4267084d5a ticket: record combined coder routing 2026-07-03 02:03:34 +09:00
Hare 2eb90470bb ticket: accept runtime and worker tickets 2026-07-03 02:01:21 +09:00
Hare 69563cc2f9 ticket: queue 00001KWHHRTM9 2026-07-03 01:45:19 +09:00
Hare dc1f68903d ticket: ready runtime connection management 2026-07-03 01:45:18 +09:00
Hare 9f2c9ac048 ticket: queue 00001KWHEM8YJ 2026-07-03 01:13:24 +09:00
Hare 73f76170ef merge: sync orchestration before queue 00001KWHEM8YJ 2026-07-03 01:13:24 +09:00
Hare d276e27e81 ticket: ready manual coding worker launch 2026-07-03 00:39:49 +09:00
Hare 578ea261a4 ticket: plan runtime connection negotiation 2026-07-03 00:29:58 +09:00
Hare d1e8333551 ticket: record settings admin shell cleanup 2026-07-02 23:39:08 +09:00
Hare 9f9c65bea6 ticket: close settings admin shell 2026-07-02 23:38:40 +09:00
Hare fdad94afbf merge: settings admin shell 2026-07-02 23:37:46 +09:00
Hare fca13aab7a ticket: approve settings admin shell 2026-07-02 23:37:35 +09:00
Hare 02fc884fad ticket: record settings reviewer spawn failure 2026-07-02 23:36:48 +09:00
Hare 9006eb8228 ticket: record settings admin shell implementation 2026-07-02 23:36:17 +09:00
Hare c0c6880b1a feat: add settings admin shell 2026-07-02 23:34:30 +09:00
Hare b2f8f16949 ticket: record settings coder spawn failure 2026-07-02 23:26:45 +09:00
Hare bcf71f588d ticket: accept settings admin shell 2026-07-02 23:25:53 +09:00
Hare fee175fc72 ticket: queue 00001KWHJ0XH6 2026-07-02 23:24:54 +09:00
Hare 109b74da42 ticket: ready settings admin shell 2026-07-02 23:18:50 +09:00
Hare 7a0eb1566a ticket: close worker console redesign 2026-07-02 21:16:11 +09:00
Hare 8e449acd59 feat: manage workspace backend local config 2026-07-02 21:02:45 +09:00
Hare da631029cb feat: add explicit workspace init 2026-07-02 18:20:38 +09:00
Hare 5002be498f ticket: plan workspace init command 2026-07-02 18:03:55 +09:00
Hare a123db83ad feat: install workspace backend config template 2026-07-02 01:38:47 +09:00
Hare 8b1e4b721f ticket: close workspace backend config schema 2026-07-02 00:48:28 +09:00
Hare 5a8d18ec27 feat: add workspace backend config schema 2026-07-02 00:48:17 +09:00
Hare 52b445e6bc ticket: define workspace backend config schema 2026-07-02 00:30:24 +09:00
Hare 9ae9b0a043 ui: filter worker console protocol noise 2026-07-01 23:32:39 +09:00
Hare 11d94d3866 merge: worker runtime orchestration 2026-06-29 11:53:52 +09:00
Hare 3a41581c5c ticket: record old pod crate cleanup cleanup 2026-06-29 05:10:57 +09:00
Hare 0bdb55e658 ticket: close old pod crate cleanup 2026-06-29 05:10:33 +09:00
Hare 83d433bf7e merge: old pod crate cleanup 2026-06-29 05:04:59 +09:00
Hare 9582a1761d ticket: approve old pod crate cleanup 2026-06-29 05:04:52 +09:00
Hare 9b0fe97cd9 ticket: record e2e worker metadata root fix 2026-06-29 05:02:34 +09:00
Hare fdd902d534 fix: align e2e worker metadata root 2026-06-29 05:01:56 +09:00
Hare c8a5b8d53d ticket: request e2e worker metadata root fix 2026-06-29 05:00:17 +09:00
Hare 95523dc66f ticket: record old pod cleanup wording fix 2026-06-29 04:55:15 +09:00
Hare c46e880b50 fix: finish worker wording cleanup 2026-06-29 04:54:33 +09:00
Hare 5e08d328d5 ticket: route old pod cleanup fixes 2026-06-29 04:51:41 +09:00
Hare 4f57beda7a ticket: request old pod cleanup wording fixes 2026-06-29 04:51:07 +09:00
Hare 094a728b8a ticket: start old pod crate cleanup review 2026-06-29 04:46:34 +09:00
Hare a5be6b758c ticket: record old pod crate cleanup implementation 2026-06-29 04:46:06 +09:00
Hare 17a9488a4a refactor: remove old pod crates 2026-06-29 04:44:55 +09:00
Hare 1fa85fb89c ticket: start old pod crate cleanup 2026-06-29 04:18:47 +09:00
Hare 0fd99075f0 ticket: accept old pod crate cleanup 2026-06-29 04:17:41 +09:00
Hare 9eda90067e ticket: record embedded runtime fs-store cleanup 2026-06-29 04:16:57 +09:00
Hare 44be40451b ticket: close embedded runtime fs-store 2026-06-29 04:16:35 +09:00
Hare 888e7b68e5 merge: embedded runtime fs-store 2026-06-29 04:15:25 +09:00
Hare ac42a6477b ticket: approve embedded runtime fs-store 2026-06-29 04:15:17 +09:00
Hare 24118a0f3c ticket: start embedded runtime fs-store review 2026-06-29 04:06:13 +09:00
Hare 6871c19f39 ticket: record embedded runtime fs-store implementation 2026-06-29 04:05:51 +09:00
Hare 736b05c670 feat: persist embedded workspace runtime in fs store 2026-06-29 04:05:02 +09:00
Hare 6a448de618 ticket: start embedded runtime fs-store 2026-06-29 03:41:03 +09:00
Hare e3ad8b6e08 ticket: accept embedded runtime fs-store 2026-06-29 03:40:26 +09:00
Hare d65bc9395e ticket: record runtime worker launch cleanup 2026-06-29 03:39:30 +09:00
Hare 88ef627b6b ticket: close runtime worker launch unification 2026-06-29 03:39:07 +09:00
Hare bdb339fab8 merge: runtime worker launch unification 2026-06-29 03:37:45 +09:00
Hare b246cd97f7 ticket: approve runtime worker launch unification 2026-06-29 03:37:41 +09:00
Hare 9546542c15 ticket: record remote runtime projection fix 2026-06-29 03:35:17 +09:00
Hare ba7f9d2ee8 workspace: respect remote execution projection 2026-06-29 03:34:16 +09:00
Hare 7f0255baf5 ticket: request remote runtime projection fix 2026-06-29 03:17:11 +09:00
Hare 4dfe2394c5 ticket: record runtime worker launch fix 2026-06-29 03:12:06 +09:00
Hare c29d10b67b runtime: persist execution binding projection 2026-06-29 03:11:16 +09:00
Hare f340c6badc ticket: request runtime worker launch changes 2026-06-29 02:51:17 +09:00
Hare ea9f637747 ticket: start runtime worker launch review 2026-06-29 02:46:36 +09:00
Hare c060f5fe50 ticket: record runtime worker launch implementation 2026-06-29 02:46:11 +09:00
Hare 14bb4934a6 runtime: unify worker creation path 2026-06-29 02:44:52 +09:00
Hare eaf17ecb1b ticket: block embedded runtime fs-store on launch unification 2026-06-29 02:12:45 +09:00
Hare 4df3585190 chore: ignore worktree directories 2026-06-29 02:12:29 +09:00
Hare 7d751abc0f ticket: queue 00001KW76E8EG 2026-06-29 02:12:16 +09:00
Hare df8ada7003 merge: sync orchestration before queue 00001KW76E8EG 2026-06-29 02:12:16 +09:00
Hare 300a032562 ticket: ready embedded runtime fs-store 2026-06-29 02:11:13 +09:00
Hare b34bbf6482 ticket: block old pod crate cleanup on launch unification 2026-06-29 01:51:26 +09:00
Hare 445a40d5e7 ticket: queue 00001KW7835H0 2026-06-29 01:51:00 +09:00
Hare 539ee7ef72 merge: sync orchestration before queue 00001KW7835H0 2026-06-29 01:51:00 +09:00
Hare c2941af88a ticket: start runtime worker launch unification 2026-06-29 01:49:14 +09:00
Hare 9c8fb7dea6 ticket: accept runtime worker launch unification 2026-06-29 01:48:30 +09:00
Hare 262fc7f257 ticket: ready remove old pod crates 2026-06-29 01:48:14 +09:00
Hare ecc876b6c1 ticket: queue 00001KW7726H9 2026-06-29 01:47:42 +09:00
Hare 91e5fb41b5 ticket: ready runtime worker startup path 2026-06-29 01:45:14 +09:00
Hare 0602efd3b7 ui: simplify worker console 2026-06-28 22:41:32 +09:00
Hare 05d39e05c7 test: align companion execution assertions 2026-06-28 16:55:34 +09:00
Hare e7d56bba73 merge: embedded worker execution 2026-06-28 16:47:39 +09:00
Hare e5b539faee ticket: record companion llm cleanup 2026-06-28 16:20:27 +09:00
Hare 9c54bfe997 ticket: close workspace companion llm worker 2026-06-28 16:19:54 +09:00
Hare eb06b8a923 merge: workspace companion llm worker 2026-06-28 16:18:48 +09:00
Hare a21a62301d ticket: approve workspace companion llm worker 2026-06-28 16:18:41 +09:00
Hare 169a8d501e ticket: record companion workspace status fix 2026-06-28 16:14:20 +09:00
Hare 3be193223c fix: report companion console runtime status 2026-06-28 16:13:33 +09:00
Hare f00252c8aa ticket: request companion workspace status fix 2026-06-28 16:05:58 +09:00
Hare d09a6f5da1 ticket: record companion llm implementation 2026-06-28 15:56:54 +09:00
Hare ee25cfbcfd fix: route workspace companion through worker runtime 2026-06-28 15:56:00 +09:00
Hare dc8d8a0df5 ticket: request companion llm changes 2026-06-28 15:27:12 +09:00
Hare 05f1e1ed39 ticket: start companion llm review 2026-06-28 15:21:04 +09:00
Hare b43e6b7eee ticket: record companion llm verification pass 2026-06-28 15:20:36 +09:00
Hare 865d1092a0 ticket: record companion coder context error 2026-06-28 15:09:58 +09:00
Hare d91168825c ticket: start workspace companion llm worker 2026-06-28 15:04:06 +09:00
Hare 0c5a769abb ticket: accept workspace companion llm worker 2026-06-28 15:02:59 +09:00
Hare 9c3347f0ec ticket: record worker adapter cleanup 2026-06-28 15:02:21 +09:00
Hare 235cd88db9 ticket: close worker adapter 2026-06-28 06:45:04 +09:00
Hare c3ed223dfd merge: worker runtime worker adapter 2026-06-28 06:42:32 +09:00
Hare 1ab270ba46 ticket: approve worker adapter 2026-06-28 06:42:27 +09:00
Hare a45797baff ticket: record worker adapter spawn failure fix 2026-06-28 06:39:58 +09:00
Hare 7e29ff5ec9 fix: reject embedded spawn execution failures 2026-06-28 06:39:03 +09:00
Hare d02007c993 ticket: request worker adapter spawn failure fix 2026-06-28 06:27:40 +09:00
Hare d549b4bd08 ticket: record worker adapter fix 2026-06-28 06:22:05 +09:00
Hare 9069b03504 fix: connect embedded runtime input lifecycle 2026-06-28 06:20:34 +09:00
Hare af1a1eb836 ticket: request worker adapter changes 2026-06-28 05:58:09 +09:00
Hare ca4498e001 ticket: start worker adapter review 2026-06-28 05:51:46 +09:00
Hare 2d275de3cc ticket: record worker adapter implementation 2026-06-28 05:51:18 +09:00
Hare 18526ee362 feat: connect runtime worker execution adapter 2026-06-28 05:50:11 +09:00
Hare 1c4e7e5198 ticket: start worker runtime worker adapter 2026-06-28 05:12:36 +09:00
Hare e1e9fcb326 ticket: accept worker runtime worker adapter 2026-06-28 05:11:47 +09:00
Hare 435863a07f ticket: record worker execution backend cleanup 2026-06-28 05:09:48 +09:00
Hare 655c0a3ec6 ticket: close worker execution backend 2026-06-28 04:49:51 +09:00
Hare 0753e155a5 merge: worker runtime execution backend 2026-06-28 04:48:38 +09:00
Hare d7d1fbbdcb ticket: approve worker execution backend 2026-06-28 04:48:34 +09:00
Hare f7448c832e ticket: record worker execution backend fix 2026-06-28 04:46:48 +09:00
Hare 761b60c857 fix: initialize restored worker observations 2026-06-28 04:46:08 +09:00
Hare b6bfad7f8b ticket: request worker execution backend changes 2026-06-28 04:41:14 +09:00
Hare 4240bd29bb ticket: start worker execution backend review 2026-06-28 04:36:16 +09:00
Hare c242841957 ticket: record worker execution backend implementation 2026-06-28 04:34:29 +09:00
Hare 2d59717384 feat: add worker execution backend boundary 2026-06-28 04:33:01 +09:00
Hare 5420265236 ticket: start worker runtime execution boundary 2026-06-28 04:09:48 +09:00
Hare 9929d1c704 ticket: accept worker runtime execution boundary 2026-06-28 04:08:53 +09:00
Hare 62ce777cf8 ticket: queue 00001KW55B33H 2026-06-28 04:06:32 +09:00
Hare 6bfeb6d945 ticket: queue 00001KW55B33B 2026-06-28 04:06:30 +09:00
Hare e1f14a920d ticket: queue 00001KW55B32Y 2026-06-28 04:06:28 +09:00
Hare 3836639825 ticket: ready embedded worker execution 2026-06-28 04:06:24 +09:00
Hare d86b1fb06d ticket: plan embedded worker execution 2026-06-28 03:29:57 +09:00
Hare 2fb7514daa runtime: remove fake companion responses 2026-06-28 03:06:12 +09:00
Hare 67df7d1a53 runtime: make worker console observation required 2026-06-28 02:11:43 +09:00
Hare 135667417b ui: remove legacy local worker projection 2026-06-27 18:31:17 +09:00
Hare 62420b7cc4 merge: worker console redesign
# Conflicts:
#	web/workspace/src/lib/workspace-sidebar/WorkersNavSection.svelte
2026-06-27 03:26:48 +09:00
Hare 7d90cb644d ui: compact workspace overview 2026-06-27 03:25:28 +09:00
Hare 18aa07446e ticket: record worker console cleanup 2026-06-27 03:22:58 +09:00
Hare 29d6209ea4 ticket: mark worker console redesign done 2026-06-27 03:22:17 +09:00
Hare 864efe32e4 merge: 00001KW2GCPYF worker console redesign 2026-06-27 03:21:24 +09:00
Hare 867a8ee55b ticket: approve worker console redesign 2026-06-27 03:21:24 +09:00
Hare 10322595c6 ticket: record worker console refresh fix 2026-06-27 03:19:21 +09:00
Hare a1083908b6 fix: stabilize worker console refresh 2026-06-27 03:18:26 +09:00
Hare f98dc7d7ca ticket: request worker console effect fix 2026-06-27 03:12:02 +09:00
Hare a342dfb9d2 ticket: record worker console implementation 2026-06-27 03:07:28 +09:00
Hare c3fed59109 feat: worker attach workspace console 2026-06-27 03:06:10 +09:00
Hare f070b9e56f ticket: start worker console redesign 2026-06-27 02:47:34 +09:00
Hare f64e11b854 ticket: accept worker console redesign 2026-06-27 02:46:44 +09:00
Hare 816c79290f ticket: close runtime migration batch 2026-06-27 02:46:11 +09:00
Hare 22a2350126 ticket: queue 00001KW2GCPYF 2026-06-27 02:45:40 +09:00
Hare 971d2f832f ticket: plan worker console redesign 2026-06-27 02:45:26 +09:00
Hare 390b914268 merge: runtime backend orchestration updates 2026-06-27 01:28:11 +09:00
Hare aaf3cc8391 ticket: record tui runtime migration cleanup 2026-06-26 17:55:36 +09:00
Hare 3f6d5f29b8 ticket: mark tui runtime migration done 2026-06-26 17:54:53 +09:00
Hare 0a683bb227 merge: 00001KW04A8K6 tui runtime migration 2026-06-26 17:52:55 +09:00
Hare bd211d55fd ticket: approve tui runtime migration 2026-06-26 17:52:55 +09:00
Hare 5cfe1d7f4b ticket: record tui runtime migration implementation 2026-06-26 17:44:01 +09:00
Hare 63ec9f9572 feat: add backend runtime console target 2026-06-26 17:42:21 +09:00
Hare 94a2c94cc4 ticket: start tui runtime migration 2026-06-26 17:11:25 +09:00
Hare 65efde7651 ticket: accept tui runtime migration 2026-06-26 17:10:27 +09:00
Hare 0ba188889a ticket: record web console cleanup 2026-06-26 17:09:15 +09:00
Hare d9e6913791 ticket: mark web console mvp done 2026-06-26 17:08:24 +09:00
Hare bf834e8352 merge: 00001KVZ9JGK0 web console mvp 2026-06-26 17:07:32 +09:00
Hare b94fb8167d ticket: approve web console mvp 2026-06-26 17:07:32 +09:00
Hare 95c992ddbd ticket: record web console implementation 2026-06-26 17:02:51 +09:00
Hare f3ad9c96b3 feat: add workspace companion console MVP 2026-06-26 17:01:30 +09:00
Hare d6fe8b8d8a ticket: start web console mvp 2026-06-26 16:43:19 +09:00
Hare f39036032b ticket: accept web console mvp 2026-06-26 16:42:20 +09:00
Hare 32e1360802 ticket: record runtime config bundle cleanup 2026-06-26 16:40:48 +09:00
Hare 2df7a98dbf ticket: mark runtime config bundle sync done 2026-06-26 16:39:56 +09:00
Hare 7e8a8cfa4b merge: 00001KVZQHPNY runtime config bundles 2026-06-26 16:38:34 +09:00
Hare d2dfc186b1 ticket: approve runtime config bundle sync 2026-06-26 16:38:34 +09:00
Hare b6d7a34677 ticket: record config bundle boundary fixes 2026-06-26 16:34:11 +09:00
Hare 4867ab21bf fix: harden runtime config bundle boundary 2026-06-26 16:32:50 +09:00
Hare 0f8c6b80e3 ticket: request config bundle boundary fixes 2026-06-26 16:18:58 +09:00
Hare be396e59d9 ticket: record runtime config bundle implementation 2026-06-26 16:08:39 +09:00
Hare abab1af2f0 feat: add runtime config bundle sync 2026-06-26 16:06:58 +09:00
Hare 0c83d57727 ticket: start runtime config bundle sync 2026-06-26 15:35:33 +09:00
Hare 9a09ebd9ac ticket: accept runtime config bundle sync 2026-06-26 15:34:24 +09:00
Hare 3e550874ac ticket: record remote runtime cleanup 2026-06-26 15:31:00 +09:00
Hare 6c03220c1c ticket: mark remote runtime registry done 2026-06-26 15:30:13 +09:00
Hare bbb5d68c4c merge: 00001KVZSGT14 remote runtime registry 2026-06-26 15:29:18 +09:00
Hare f19ed64feb ticket: approve remote runtime registry 2026-06-26 15:29:18 +09:00
Hare 2d263278e6 ticket: record remote runtime debug redaction fix 2026-06-26 15:27:57 +09:00
Hare 38ff7d8f80 fix: redact observation source debug output 2026-06-26 15:27:08 +09:00
Hare 1bdb8f8a73 ticket: request remote runtime debug redaction 2026-06-26 15:21:40 +09:00
Hare 11f53c197a ticket: record remote runtime implementation 2026-06-26 15:16:41 +09:00
Hare aeb12b3b8e feat: add remote runtime registry source 2026-06-26 15:15:29 +09:00
Hare 71198821ae ticket: start remote runtime registry 2026-06-26 14:50:34 +09:00
Hare ec4ada9464 ticket: accept remote runtime registry 2026-06-26 14:49:45 +09:00
Hare 815b169757 ticket: record embedded runtime cleanup 2026-06-26 14:48:02 +09:00
Hare 5c592938f4 ticket: mark embedded runtime registry done 2026-06-26 14:47:18 +09:00
Hare e0cc7acf13 merge: 00001KVZSGT0Q embedded runtime registry 2026-06-26 14:46:31 +09:00
Hare 3d03ebccf8 ticket: approve embedded runtime registry 2026-06-26 14:46:31 +09:00
Hare 4616eb7254 ticket: record embedded runtime implementation 2026-06-26 14:41:23 +09:00
Hare c820928592 feat: add embedded workspace runtime registry 2026-06-26 14:40:07 +09:00
Hare a533d15bc6 ticket: start embedded runtime registry 2026-06-26 14:19:39 +09:00
Hare 7f312f1f6e ticket: accept embedded runtime registry 2026-06-26 14:18:50 +09:00
Hare bb8e09afa1 ticket: record websocket observation cleanup 2026-06-26 14:16:59 +09:00
Hare 35a5cf2887 ticket: mark websocket observation proxy done 2026-06-26 14:16:19 +09:00
Hare ae0f0d1d96 merge: 00001KVZKSTJT websocket observation proxy 2026-06-26 14:15:11 +09:00
Hare 009d59b3ee ticket: approve websocket observation proxy 2026-06-26 14:15:11 +09:00
Hare 9eaaedd08c ticket: record websocket diagnostic fixes 2026-06-26 14:11:03 +09:00
Hare 8cc9a594f7 fix: preserve runtime websocket diagnostics 2026-06-26 14:10:08 +09:00
Hare e67d884d62 ticket: request websocket diagnostic mapping fixes 2026-06-26 14:02:52 +09:00
Hare 6aba7dbbe0 ticket: record websocket observation implementation 2026-06-26 13:56:13 +09:00
Hare 9807accaf0 feat: add worker observation websocket proxy 2026-06-26 13:54:55 +09:00
Hare d3c9995e25 ticket: start websocket observation proxy 2026-06-26 13:23:32 +09:00
Hare 0c6d603128 ticket: accept websocket observation proxy 2026-06-26 13:22:34 +09:00
Hare 5e7cd8f3a8 ticket: record rest server cleanup 2026-06-26 13:20:40 +09:00
Hare 82850c344a ticket: mark worker runtime rest server done 2026-06-26 12:27:28 +09:00
Hare 660b07e8d7 merge: 00001KVZKSTE2 worker runtime rest server 2026-06-26 12:24:04 +09:00
Hare 15b3f002a3 ticket: approve worker runtime rest server 2026-06-26 12:24:04 +09:00
Hare 336f607536 ticket: record rest server binary fix 2026-06-26 12:21:34 +09:00
Hare d0db32fa6a fix: add worker runtime REST process binary 2026-06-26 12:20:37 +09:00
Hare a9fe199510 ticket: request rest server process wrapper 2026-06-26 12:14:49 +09:00
Hare 526ef640f0 ticket: record worker runtime rest server implementation 2026-06-26 12:10:55 +09:00
Hare 5b0d6551fa ticket: record sequential cleanup 2026-06-26 12:09:07 +09:00
Hare f43a6b8401 feat: add worker runtime REST server 2026-06-26 05:48:23 +09:00
Hare 8f67bd4d3e ticket: mark runtime registry foundation done 2026-06-26 05:44:33 +09:00
Hare fb023aab53 merge: 00001KVZKSV6C runtime registry foundation 2026-06-26 05:41:15 +09:00
Hare 749fe5d090 ticket: approve runtime registry foundation 2026-06-26 05:41:15 +09:00
Hare 7ea5568114 ticket: record runtime registry authority fix 2026-06-26 05:38:38 +09:00
Hare 15c2c38710 ticket: start worker runtime rest server 2026-06-26 05:38:09 +09:00
Hare 523b04d391 ticket: route websocket runtime queue chain 2026-06-26 05:37:09 +09:00
Hare 75a458ddd9 ticket: queue 00001KW04A8K6 2026-06-26 05:34:42 +09:00
Hare 22733deb15 ticket: queue 00001KVZSGT14 2026-06-26 05:34:35 +09:00
Hare 3a76967365 ticket: queue 00001KVZ9JGK0 2026-06-26 05:34:27 +09:00
Hare 7803a170b5 ticket: queue 00001KVZKSTJT 2026-06-26 05:34:20 +09:00
Hare 52f0099f74 ticket: ready websocket proxy and web console 2026-06-26 05:30:38 +09:00
Hare ee8fa17abd merge: orchestration planning returns
# Conflicts:
#	.yoi/tickets/00001KVZKSTJT/item.md
#	.yoi/tickets/00001KVZKSTJT/thread.md
2026-06-26 05:28:20 +09:00
Hare 471dc5bc52 ticket: refine websocket proxy planning 2026-06-26 05:26:33 +09:00
Hare 127bc18bd7 ticket: return web console stream planning 2026-06-26 05:23:24 +09:00
Hare 51d558a7a5 ticket: return websocket stream planning 2026-06-26 05:21:48 +09:00
Hare 15abcf6782 merge: orchestration runtime updates 2026-06-26 05:10:58 +09:00
Hare 243fb40092 ticket: ready runtime websocket stream 2026-06-26 05:10:54 +09:00
Hare f89552cafd ticket: update runtime migration planning 2026-06-26 04:59:15 +09:00
Hare 7110e078cd ticket: mark worker runtime fs store done 2026-06-26 04:49:07 +09:00
Hare 36ff72385c merge: 00001KVZKST83 worker runtime fs store 2026-06-26 04:46:07 +09:00
Hare 8d7ab0c053 ticket: approve worker runtime fs store 2026-06-26 04:46:07 +09:00
Hare d7c4396cd3 fix: scope workspace worker lookup by runtime 2026-06-26 04:45:22 +09:00
Hare fb8dc9fe51 ticket: record worker runtime fs store implementation 2026-06-26 04:41:55 +09:00
Hare 4071343996 feat: add worker runtime fs store 2026-06-26 04:40:58 +09:00
Hare 150d5c49eb ticket: request runtime registry authority fix 2026-06-26 04:37:50 +09:00
Hare f6fe9fba7f ticket: record runtime registry implementation 2026-06-26 04:33:14 +09:00
Hare f6fd7b6323 feat: add workspace runtime registry source boundary 2026-06-26 04:31:59 +09:00
Hare 928074fd64 ticket: resume accepted worker runtime branches 2026-06-26 04:25:03 +09:00
Hare 7d9fed8144 ticket: record spawn launcher blocker 2026-06-26 01:58:53 +09:00
Hare 40d4138068 ticket: accept next worker runtime branches 2026-06-26 01:56:16 +09:00
Hare 07a913f51f ticket: record worker runtime core cleanup 2026-06-26 01:54:24 +09:00
Hare 31c8d99187 ticket: mark worker runtime core done 2026-06-26 01:53:52 +09:00
Hare 56bdf95580 merge: 00001KVZBCQH4 worker runtime core 2026-06-26 01:52:55 +09:00
Hare 138b1fd860 ticket: approve worker runtime core 2026-06-26 01:52:50 +09:00
Hare 6a17366fcf ticket: record worker runtime lifecycle fix 2026-06-26 01:50:53 +09:00
Hare fbd358a195 fix: keep worker terminal lifecycle stable 2026-06-26 01:50:11 +09:00
Hare 9877a20778 ticket: record worker runtime continuation authority 2026-06-26 01:49:58 +09:00
Hare 579ab635cd merge: runtime routing updates 2026-06-26 01:46:39 +09:00
Hare f6159dc16e ticket: return runtime websocket stream to planning 2026-06-26 01:46:39 +09:00
Hare fb6f0ce068 ticket: request worker runtime lifecycle fix 2026-06-26 01:46:23 +09:00
Hare f3538dcd1f ticket: route runtime bundle and console blockers 2026-06-26 01:45:30 +09:00
Hare 1245ce027e ticket: queue 00001KVZ9JGK0 2026-06-26 01:44:45 +09:00
Hare 37c96b6ebd ticket: queue 00001KVZQHPNY 2026-06-26 01:44:39 +09:00
Hare 76b6b1dc4f merge: sync orchestration before queue 00001KVZQHPNY 2026-06-26 01:44:39 +09:00
Hare be8d190138 ticket: route worker runtime feature blockers 2026-06-26 01:44:24 +09:00
Hare 313cbd8bd8 ticket: queue 00001KVZKSTE2 2026-06-26 01:39:39 +09:00
Hare ae6076a5aa ticket: queue 00001KVZKST83 2026-06-26 01:39:26 +09:00
Hare 750ed74106 merge: sync orchestration before queue 00001KVZKST83 2026-06-26 01:39:25 +09:00
Hare f858e015b1 ticket: ready worker runtime followups 2026-06-26 01:39:23 +09:00
Hare 02423dad01 ticket: record worker runtime packaging fix 2026-06-26 01:37:29 +09:00
Hare 593db95175 fix: update nix cargo hash 2026-06-26 01:36:57 +09:00
Hare fc4153ae54 ticket: route backend runtime queue blockers 2026-06-26 01:32:57 +09:00
Hare 1966ec614d ticket: queue 00001KVZSGT0Q 2026-06-26 01:31:30 +09:00
Hare 0b665cd176 ticket: queue 00001KVZKSV6C 2026-06-26 01:31:28 +09:00
Hare 1e9ca19313 merge: sync orchestration before queue 00001KVZKSV6C 2026-06-26 01:31:28 +09:00
Hare 9b2cae32ea feat: add memory worker runtime crate 2026-06-26 01:31:09 +09:00
Hare d6c240af35 ticket: split backend runtime registry integration 2026-06-26 01:30:43 +09:00
Hare e64deceac7 ticket: start worker runtime core implementation 2026-06-26 01:23:28 +09:00
Hare f8d3b1cca9 ticket: accept worker runtime core routing 2026-06-26 01:21:59 +09:00
Hare 30363e5ed9 ticket: queue 00001KVZBCQH4 2026-06-26 01:20:10 +09:00
Hare 53c6799d4d merge: sync orchestration before queue 00001KVZBCQH4 2026-06-26 01:20:09 +09:00
Hare 089840e707 ticket: mark worker crate rename done 2026-06-26 01:19:33 +09:00
Hare 5dceaf9a72 ticket: refine worker runtime core plan 2026-06-26 01:18:21 +09:00
Hare b3db803c73 ticket: record dashboard routing pause 2026-06-26 01:18:09 +09:00
Hare 2a7e877584 merge: 00001KVZG9BMS worker crate rename 2026-06-26 01:15:29 +09:00
Hare 21e8d99494 ticket: approve worker crate rename 2026-06-26 01:15:19 +09:00
Hare b5e5f73071 ticket: record worker wording cleanup 2026-06-26 01:13:47 +09:00
Hare 60dbd724c5 fix: clean remaining worker wording 2026-06-26 01:13:11 +09:00
Hare 712425e3fc ticket: request worker wording cleanup 2026-06-26 01:11:40 +09:00
Hare 0b7a3c2392 ticket: record final worker wording fixes 2026-06-26 01:07:35 +09:00
Hare cb0c52e787 fix: update remaining active worker wording 2026-06-26 01:06:20 +09:00
Hare f75052eb8e ticket: request final worker terminology fixes 2026-06-26 01:00:50 +09:00
Hare 8e8f4f5a6d ticket: record worker rename guidance fixes 2026-06-26 00:58:46 +09:00
Hare da96d06f25 fix: remove stale pod guidance references 2026-06-26 00:57:27 +09:00
Hare 638bd7bcd6 ticket: request worker rename guidance fixes 2026-06-26 00:46:49 +09:00
Hare 6e638d1035 ticket: record remaining worker rename fixes 2026-06-26 00:44:26 +09:00
Hare 94c7aa793a fix: clean remaining worker rename references 2026-06-26 00:43:16 +09:00
Hare 0d296c72a9 ticket: request remaining worker rename fixes 2026-06-26 00:29:35 +09:00
Hare 07b4cffc54 ticket: record worker rename followup fixes 2026-06-26 00:26:22 +09:00
Hare ebf50baa94 fix: align worker rename followups 2026-06-26 00:25:03 +09:00
Hare 47e555ba80 ticket: request worker rename fixes 2026-06-26 00:15:37 +09:00
Hare befbabe13a ticket: split worker runtime implementation 2026-06-26 00:12:00 +09:00
Hare 137673045f ticket: record worker crate implementation report 2026-06-26 00:07:24 +09:00
Hare 6c59fe927b refactor: rename pod crate to worker 2026-06-26 00:05:57 +09:00
Hare ed0c22f959 ticket: record worker crate coder start 2026-06-25 23:16:34 +09:00
Hare 4c677640f4 ticket: accept worker crate rename task 2026-06-25 23:15:27 +09:00
Hare 0bf5b117da ticket: route worker crate rename task 2026-06-25 23:15:08 +09:00
Hare d93dbc0533 ticket: close completed work 2026-06-25 23:14:05 +09:00
Hare 9ee77b44ae ticket: queue 00001KVZG9BMS 2026-06-25 23:13:35 +09:00
Hare 20cfcfaca3 merge: llm engine rename 2026-06-25 23:10:27 +09:00
Hare b367abd76a ticket: plan worker runtime transition 2026-06-25 23:09:25 +09:00
Hare 6ab0d64fcb ticket: mark llm engine rename done 2026-06-25 22:57:39 +09:00
Hare 254ecccba2 merge: 00001KVZD10ED llm engine rename 2026-06-25 22:54:25 +09:00
Hare 4d8e022465 ticket: approve llm engine rename 2026-06-25 22:54:25 +09:00
Hare 50e2754e5e ticket: record llm engine implementation report 2026-06-25 22:47:33 +09:00
Hare 292fc4ea5d refactor: rename llm worker crate to engine 2026-06-25 22:46:26 +09:00
Hare 230b379979 ticket: record llm engine coder start 2026-06-25 22:28:33 +09:00
Hare 22598710fd ticket: accept llm engine rename task 2026-06-25 22:27:24 +09:00
Hare 1d6125e57d ticket: route llm engine rename task 2026-06-25 22:26:27 +09:00
Hare 193c868146 ticket: queue 00001KVZD10ED 2026-06-25 22:24:26 +09:00
Hare 1aa3a409cd ticket: plan llm engine rename 2026-06-25 22:23:50 +09:00
Hare 159704dc6f fix: clear encrypted-only thinking snapshots 2026-06-25 20:28:51 +09:00
Hare 6492f10f42 test: update pod prompt expectations 2026-06-25 18:43:57 +09:00
Hare a525ba4d01 merge: plugin runtime implementation chain 2026-06-25 18:18:14 +09:00
Hare c261aea021 ticket: mark plugin pdk service events done 2026-06-25 16:57:31 +09:00
Hare 8d4fee231b merge: 00001KVXK0WEA plugin pdk service events 2026-06-25 16:55:35 +09:00
Hare 307d38453f ticket: approve plugin pdk service events 2026-06-25 16:55:35 +09:00
Hare d2a8a79ac6 ticket: record plugin pdk template fix 2026-06-25 16:53:19 +09:00
Hare 6c8998878d fix: declare plugin service websocket authority 2026-06-25 16:52:20 +09:00
Hare 41283c8dd9 ticket: request plugin pdk template fix 2026-06-25 16:44:57 +09:00
Hare fa29cc2c95 ticket: record plugin pdk implementation report 2026-06-25 16:38:53 +09:00
Hare 7a4fd97526 feat: update plugin service authoring templates 2026-06-25 16:37:37 +09:00
Hare 103077dfae ticket: record plugin pdk coder start 2026-06-25 16:09:47 +09:00
Hare cd2006305e ticket: accept plugin pdk service events task 2026-06-25 16:08:53 +09:00
Hare a453c6e2da ticket: route plugin pdk service events task 2026-06-25 16:08:34 +09:00
Hare 16247ce7c5 ticket: mark plugin websocket driver done 2026-06-25 16:06:42 +09:00
Hare b9e786e106 merge: 00001KVXK0WE4 plugin websocket driver 2026-06-25 16:03:57 +09:00
Hare ccd4d83d43 ticket: approve plugin websocket driver 2026-06-25 16:03:57 +09:00
Hare 3a9ac1b1b7 ticket: record plugin websocket implementation report 2026-06-25 15:56:44 +09:00
Hare f2c51ffe39 feat: add plugin websocket service driver 2026-06-25 15:54:36 +09:00
Hare ef17955369 ticket: record plugin websocket coder start 2026-06-25 15:24:27 +09:00
Hare 62e467c035 ticket: accept plugin websocket driver task 2026-06-25 15:23:25 +09:00
Hare 4950749c5d ticket: route plugin websocket driver task 2026-06-25 15:22:55 +09:00
Hare dc2f8b409d ticket: mark plugin output commands done 2026-06-25 15:20:33 +09:00
Hare d2aa92a729 merge: 00001KVXK0WDX plugin output commands 2026-06-25 15:18:43 +09:00
Hare 86017a5abc ticket: approve plugin output commands 2026-06-25 15:18:43 +09:00
Hare 799998639a ticket: record plugin output implementation report 2026-06-25 15:13:08 +09:00
Hare 755d460f0d feat: add plugin service output commands 2026-06-25 15:11:30 +09:00
Hare 07f9793bc6 ticket: record plugin output coder start 2026-06-25 14:47:52 +09:00
Hare 89a40db79e ticket: accept plugin output command task 2026-06-25 14:46:54 +09:00
Hare 84a8423611 ticket: route plugin output command task 2026-06-25 14:46:20 +09:00
Hare 8e79c1dc96 ticket: mark plugin service lifecycle done 2026-06-25 06:51:18 +09:00
Hare 000afbbe19 merge: 00001KVXK0WDQ plugin service lifecycle 2026-06-25 06:49:43 +09:00
Hare db1a2f567b ticket: approve plugin service lifecycle 2026-06-25 06:49:43 +09:00
Hare bdd05dce4d ticket: record plugin service implementation report 2026-06-25 06:44:06 +09:00
Hare 4e138b7e36 feat: add plugin service ingress queue 2026-06-25 06:42:56 +09:00
Hare 1839acb3d0 ticket: record plugin service coder start 2026-06-25 06:24:15 +09:00
Hare f26c7e0d09 ticket: accept plugin service lifecycle task 2026-06-25 06:23:22 +09:00
Hare 437ef5b56b ticket: route plugin service lifecycle task 2026-06-25 06:23:06 +09:00
Hare 7d64b443f2 ticket: mark plugin manifest rejection done 2026-06-25 06:20:51 +09:00
Hare 449745ee24 merge: 00001KVXK0WDH plugin manifest rejection 2026-06-25 06:19:01 +09:00
Hare e66efc746f ticket: approve plugin manifest rejection 2026-06-25 06:19:01 +09:00
Hare 436bcc812d ticket: record plugin manifest rejection report 2026-06-25 06:12:05 +09:00
Hare 6086099fe4 feat: reject legacy plugin runtime manifests 2026-06-25 06:11:03 +09:00
Hare 390f468471 ticket: record plugin manifest coder start 2026-06-25 05:54:51 +09:00
Hare ef1d8d9af2 ticket: accept plugin manifest rejection task 2026-06-25 05:53:53 +09:00
Hare ceb7b95096 ticket: route plugin manifest rejection 2026-06-25 05:53:14 +09:00
Hare 237c985f2c ticket: correct legacy wasm merge record 2026-06-25 05:51:08 +09:00
Hare 66c5be16f8 ticket: mark legacy wasm removal done 2026-06-25 05:50:51 +09:00
Hare bedbb670e4 merge: 00001KVXK0WD3 legacy wasm removal 2026-06-25 05:49:01 +09:00
Hare 0591fd528c ticket: approve legacy wasm removal 2026-06-25 05:49:01 +09:00
Hare 19ff3724ed ticket: record legacy wasm removal report 2026-06-25 05:43:58 +09:00
Hare 741d71327a refactor: remove legacy wasm plugin runtime 2026-06-25 05:42:52 +09:00
Hare 27117f3246 ticket: record legacy wasm coder start 2026-06-25 05:15:02 +09:00
Hare 1b5a39dbc9 ticket: accept legacy wasm removal task 2026-06-25 05:14:13 +09:00
Hare f65f0e3b8f ticket: route plugin runtime cleanup chain 2026-06-25 05:13:59 +09:00
Hare e2df9f9493 ticket: queue 00001KVXK0WEA 2026-06-25 05:12:05 +09:00
Hare 959b497135 ticket: queue 00001KVXK0WE4 2026-06-25 05:12:03 +09:00
Hare ef08b873ce ticket: queue 00001KVXK0WDX 2026-06-25 05:12:02 +09:00
Hare 2f975808bb ticket: queue 00001KVXK0WDQ 2026-06-25 05:12:00 +09:00
Hare 273f10e954 ticket: queue 00001KVXK0WDH 2026-06-25 05:11:58 +09:00
Hare f349738257 ticket: queue 00001KVXK0WD3 2026-06-25 05:11:56 +09:00
Hare 577bf75051 ticket: split plugin runtime redesign 2026-06-25 04:56:03 +09:00
Hare 79df31ccf6 ticket: return plugin runtime redesign to planning 2026-06-25 04:40:59 +09:00
Hare 72812878c0 ticket: queue 00001KVXHVCR5 2026-06-25 04:39:36 +09:00
Hare cea115ecd9 merge: sync orchestration before queue 00001KVXHVCR5 2026-06-25 04:39:36 +09:00
Hare 4c3b15d8d6 ticket: plan plugin wasm runtime redesign 2026-06-25 04:39:33 +09:00
Hare 45d21ac032 ticket: mark backend orchestrator design done 2026-06-25 04:15:48 +09:00
Hare 4e713fce19 merge: 00001KVWSQM22 backend orchestrator design 2026-06-25 04:15:14 +09:00
Hare 428b7d0fef ticket: approve backend orchestrator design 2026-06-25 04:15:14 +09:00
Hare 5ddc8dceac ticket: record backend orchestrator design report 2026-06-25 04:12:38 +09:00
Hare f901b9bee3 docs: design backend internal orchestrator runtime 2026-06-25 04:11:47 +09:00
Hare 2f9604a12f ticket: record backend orchestrator coder start 2026-06-25 04:08:16 +09:00
Hare 893122781d ticket: accept backend orchestrator runtime plan 2026-06-25 04:07:16 +09:00
Hare f367d73231 ticket: queue 00001KVWSQM22 2026-06-25 04:04:55 +09:00
Hare 5fa480904d merge: sync orchestration before queue 00001KVWSQM22 2026-06-25 04:04:55 +09:00
Hare 0618de21eb ticket: plan backend internal orchestrator 2026-06-25 03:49:58 +09:00
Hare d5012d3e16 ticket: mark cleanup cli done 2026-06-24 21:36:19 +09:00
Hare 28d53aadf2 nix: update yoi cleanup cargo hash 2026-06-24 21:35:28 +09:00
Hare 4fb75ec324 merge: 00001KVWPVHFJ storage cleanup cli
# Conflicts:
#	.yoi/tickets/00001KVWPVHFJ/item.md
#	.yoi/tickets/00001KVWPVHFJ/thread.md
2026-06-24 21:30:57 +09:00
Hare 091ee764a4 ticket: approve cleanup cli implementation 2026-06-24 21:30:49 +09:00
Hare 439f967cb8 chore: record cleanup cli implementation report 2026-06-24 21:22:58 +09:00
Hare 80d6861aba feat: add pod and session cleanup CLI 2026-06-24 21:22:19 +09:00
Hare d2ec533585 ticket: mark thinking grouping done 2026-06-24 21:20:15 +09:00
Hare b52b7c963c merge: 00001KVWPW3KX thinking grouping
# Conflicts:
#	.yoi/tickets/00001KVWPW3KX/item.md
#	.yoi/tickets/00001KVWPW3KX/thread.md
2026-06-24 21:19:16 +09:00
Hare 89910a1a29 ticket: approve thinking grouping implementation 2026-06-24 21:18:56 +09:00
Hare 7ee2b78bbb ticket: report thinking grouping implementation 2026-06-24 21:14:43 +09:00
Hare 0b2ce6ca1f tui: group consecutive thinking blocks 2026-06-24 21:14:06 +09:00
Hare bca8ba6ed9 ticket: record ui and cleanup coder starts 2026-06-24 21:05:18 +09:00
Hare 5c9331e848 ticket: accept queued ui and cleanup tasks 2026-06-24 21:04:13 +09:00
Hare bb6bc9f6a1 ticket: queue 00001KVWPVHFJ 2026-06-24 21:01:42 +09:00
Hare 845817d3bf ticket: queue 00001KVWPW3KX 2026-06-24 21:01:41 +09:00
Hare 1d98921a45 merge: sync orchestration before queue 00001KVWPW3KX 2026-06-24 21:01:41 +09:00
Hare 7ede927d5a ticket: add pod cleanup and thinking aggregation plans 2026-06-24 20:57:23 +09:00
Hare 6081448a7e fix: trace codex requests and clear reasoning snapshots 2026-06-24 20:37:42 +09:00
Hare 70162d5001 ticket: mark worker registry done 2026-06-24 20:15:18 +09:00
Hare b975812c18 nix: update yoi cargo hash 2026-06-24 20:14:41 +09:00
Hare 1251c0ca70 merge: 00001KVWECEQG worker runtime registry 2026-06-24 20:11:00 +09:00
Hare dd40c41f45 ticket: approve worker registry implementation 2026-06-24 20:11:00 +09:00
Hare 428d255b27 ticket: record worker registry fixes 2026-06-24 20:09:08 +09:00
Hare 38d25582b2 fix: make worker runtime ids resolvable 2026-06-24 20:08:23 +09:00
Hare cdc0a5da33 ticket: request worker registry changes 2026-06-24 20:01:52 +09:00
Hare c96cc49d0a ticket: record worker registry implementation report 2026-06-24 19:57:10 +09:00
Hare 9bd1550715 feat: add worker runtime registry overview 2026-06-24 19:56:08 +09:00
Hare 81fa035a1c ticket: record worker registry orchestration start 2026-06-24 19:38:55 +09:00
Hare 371fd7c6e5 ticket: accept worker runtime registry task 2026-06-24 19:37:58 +09:00
Hare d231f41300 ticket: mark worker runtime spawn done 2026-06-24 19:35:06 +09:00
Hare 97555bb5a1 merge: 00001KVTNAY20 worker runtime spawn 2026-06-24 19:33:35 +09:00
Hare d62ab6e1de docs: record worker runtime implementation report 2026-06-24 19:26:14 +09:00
Hare 217a4828d7 feat: abstract worker runtime spawn boundary 2026-06-24 19:24:18 +09:00
Hare bc2b8513f7 ticket: defer worker runtime registry routing 2026-06-24 18:24:57 +09:00
Hare 73122c10fd ticket: queue 00001KVWECEQG 2026-06-24 18:22:55 +09:00
Hare b84db7fac7 merge: orchestration branch 2026-06-24 18:21:37 +09:00
Hare 911df3df77 ticket: mark worker runtime registry ready 2026-06-24 18:21:37 +09:00
Hare acf1f5fb53 ticket: plan worker runtime registry 2026-06-24 18:12:39 +09:00
Hare 1044b39c3f ticket: plan ticket management api ui 2026-06-24 04:42:37 +09:00
Hare a729d68600 ticket: record coder startup blocker 2026-06-24 04:33:52 +09:00
Hare b83886554f ticket: record worker runtime orchestration start 2026-06-24 04:32:02 +09:00
Hare 5a8bcebdf4 ticket: accept worker runtime spawn task 2026-06-24 04:27:45 +09:00
Hare a479d3e32d ticket: queue 00001KVTNAY20 2026-06-24 04:25:09 +09:00
Hare f399d7383c ticket: mark worker spawn abstraction ready 2026-06-24 04:25:09 +09:00
Hare e8e019eb76 fix: keep initialized ticket directory 2026-06-24 03:26:22 +09:00
Hare 3c2fd5d760 ticket: separate pod launch from orchestration 2026-06-24 03:15:07 +09:00
Hare 1ca5663298 fix: harden StopPod registry cleanup 2026-06-24 00:23:10 +09:00
Hare b28d64c3c6 ticket: close 00001KVSMJJNV 2026-06-23 22:56:21 +09:00
Hare 76c800542c merge: 00001KVSMJJNV paused ctrl-x cancel 2026-06-23 22:54:38 +09:00
Hare cca073f8aa ticket: approve 00001KVSMJJNV implementation 2026-06-23 22:53:20 +09:00
Hare c0f4c184ca ticket: report 00001KVSMJJNV review fix 2026-06-23 22:49:40 +09:00
Hare 8c8fb01426 fix: log paused cancel lifecycle explicitly 2026-06-23 22:48:21 +09:00
Hare 052408392d ticket: update 00001KVSMJJNV review metadata 2026-06-23 22:43:05 +09:00
Hare cfb215ab0c ticket: review 00001KVSMJJNV changes 2026-06-23 22:42:52 +09:00
Hare 3501e0dffe ticket: update 00001KVSMJJNV metadata 2026-06-23 22:38:06 +09:00
Hare af683af2d2 ticket: report 00001KVSMJJNV implementation 2026-06-23 22:38:01 +09:00
Hare 90b1a1fccb tui: cancel paused turns with ctrl-x 2026-06-23 22:37:40 +09:00
Hare 5954021cc5 ticket: accept 00001KVSMJJNV 2026-06-23 22:21:56 +09:00
Hare 108088d811 ticket: queue 00001KVSMJJNV 2026-06-23 17:41:00 +09:00
Hare ca2ad18ded merge: sync orchestration before queue 00001KVSMJJNV 2026-06-23 17:41:00 +09:00
Hare d2e6a2a1a7 ui: simplify workspace sidebar identity 2026-06-23 16:56:00 +09:00
Hare e275a80f4c ticket: close workspace identity 2026-06-23 16:39:16 +09:00
Hare 2745f3d516 merge: workspace identity persistence 2026-06-23 16:35:17 +09:00
Hare 8f7b87a29e ticket: record workspace identity approval 2026-06-23 16:35:13 +09:00
Hare 2a7b659be4 ticket: restart workspace identity review 2026-06-23 16:31:38 +09:00
Hare 3dd680683c ticket: record workspace identity fix 2026-06-23 16:30:50 +09:00
Hare 49c9e19074 fix: return persisted workspace identity 2026-06-23 16:29:48 +09:00
Hare ddd2f86e26 ticket: reroute workspace identity fixes 2026-06-23 16:25:39 +09:00
Hare fac79dc962 ticket: request workspace identity changes 2026-06-23 16:25:03 +09:00
Hare 71a39002fb ticket: close dashboard selection 2026-06-23 16:24:24 +09:00
Hare 58904c441a merge: dashboard no auto selection 2026-06-23 16:23:16 +09:00
Hare 1e812b793b ticket: record dashboard selection review 2026-06-23 16:23:11 +09:00
Hare ff8aa6bcbf ticket: start dashboard selection review 2026-06-23 16:16:42 +09:00
Hare 2b213a8add ticket: record dashboard selection implementation 2026-06-23 16:15:59 +09:00
Hare 021aca8d5e ticket: start workspace identity review 2026-06-23 16:14:48 +09:00
Hare 21b14ba440 ticket: record workspace identity implementation 2026-06-23 16:13:56 +09:00
Hare 5c242d9620 fix: keep dashboard row selection explicit 2026-06-23 16:13:37 +09:00
Hare 31565c9b9e feat: persist workspace identity 2026-06-23 16:12:39 +09:00
Hare 99f31e0055 ticket: start workspace identity and selection work 2026-06-23 15:51:53 +09:00
Hare 4cda83b748 ticket: accept workspace identity and selection work 2026-06-23 15:50:36 +09:00
Hare 13e76d3544 ticket: queue 00001KVSKGDYS 2026-06-23 15:47:18 +09:00
Hare 85b6d9f027 ticket: queue 00001KVSKJ0EA 2026-06-23 15:47:17 +09:00
Hare 8daf9eacb7 merge: sync orchestration before queue 00001KVSKJ0EA 2026-06-23 15:47:17 +09:00
Hare 48672e4317 fix: canonicalize workspace server root 2026-06-23 15:47:11 +09:00
Hare eb998f0ad4 ticket: add workspace identity initialization 2026-06-23 15:44:29 +09:00
Hare 9cbb5b9b71 ticket: record dashboard hint cleanup cleanup 2026-06-23 15:33:30 +09:00
Hare 108666664a ticket: complete dashboard hint cleanup 2026-06-23 15:32:57 +09:00
Hare 5abf16f9e6 merge: dashboard hint cleanup 2026-06-23 15:31:31 +09:00
Hare 78c98a34d1 ticket: approve dashboard hint cleanup 2026-06-23 15:31:31 +09:00
Hare 68f1ddbd5a ticket: start dashboard hint cleanup review 2026-06-23 15:29:26 +09:00
Hare 71284cdc92 ticket: record dashboard hint cleanup implementation 2026-06-23 15:28:24 +09:00
Hare 03ad525fcc tui: trim dashboard redundant hints 2026-06-23 15:27:04 +09:00
Hare af9e940873 ticket: record protocol ts cleanup 2026-06-23 15:22:07 +09:00
Hare b547203fde ticket: complete protocol ts generation 2026-06-23 15:21:30 +09:00
Hare 9728b533b4 merge: protocol typescript generation 2026-06-23 15:17:09 +09:00
Hare 9c4d1559fd ticket: approve protocol ts generation 2026-06-23 15:17:09 +09:00
Hare e0ec8ce78a ticket: record kanban lazy rows cleanup 2026-06-23 15:16:19 +09:00
Hare 9de04f7266 ticket: complete kanban lazy rows 2026-06-23 15:15:33 +09:00
Hare eea26f9174 merge: kanban lazy rows 2026-06-23 15:13:43 +09:00
Hare 0b1e9fdc5b ticket: approve kanban lazy rows 2026-06-23 15:13:43 +09:00
Hare 277af3dec3 ticket: start dashboard hint cleanup 2026-06-23 15:13:01 +09:00
Hare 3bfd1ca07d ticket: accept dashboard hint cleanup 2026-06-23 15:11:48 +09:00
Hare 0e635ba6b4 ticket: start protocol ts review 2026-06-23 15:10:38 +09:00
Hare 017ac70876 ticket: record protocol ts generation 2026-06-23 15:09:50 +09:00
Hare 5428837605 ticket: queue 00001KVSFXY88 2026-06-23 15:08:42 +09:00
Hare 87482df956 merge: sync orchestration before queue 00001KVSFXY88 2026-06-23 15:08:42 +09:00
Hare a13fb6933b protocol: generate workspace TypeScript types 2026-06-23 15:08:22 +09:00
Hare d775e09688 ticket: update workspace web tickets 2026-06-23 15:07:46 +09:00
Hare f1ab40bf01 ticket: start kanban lazy rows review 2026-06-23 15:06:57 +09:00
Hare c92bc447cc ticket: record kanban lazy rows implementation 2026-06-23 15:06:11 +09:00
Hare 6f68bb8d95 web: group repository ticket kanban rows 2026-06-23 15:04:03 +09:00
Hare f39127b752 ticket: start kanban lazy rows 2026-06-23 14:55:34 +09:00
Hare a6f9019edd ticket: accept kanban lazy rows 2026-06-23 14:54:43 +09:00
Hare 2865abb65a ticket: queue 00001KVSGFM65 2026-06-23 14:53:22 +09:00
Hare f6eb11e567 merge: sync orchestration before queue 00001KVSGFM65 2026-06-23 14:53:22 +09:00
Hare ee750363d2 ticket: add workspace kanban improvement 2026-06-23 14:51:34 +09:00
Hare d8f467e30f ticket: start protocol ts generation 2026-06-23 14:42:24 +09:00
Hare 746c51c701 ticket: accept protocol ts generation 2026-06-23 14:41:34 +09:00
Hare f9ca777afe ticket: queue 00001KVSEBF56 2026-06-23 14:40:01 +09:00
Hare 4189b80004 ticket: add protocol type generation work 2026-06-23 14:14:17 +09:00
Hare 6013048f68 merge: orchestration 2026-06-22 20:15:48 +09:00
Hare 1d626cdea6 ui: refine workspace web layout 2026-06-22 20:03:54 +09:00
Hare 615c02501a ticket: record workspace schema cleanup 2026-06-22 18:27:16 +09:00
Hare 7a7891d467 ticket: complete workspace db schema v0 2026-06-22 18:26:32 +09:00
Hare 38bd122dd0 merge: workspace db schema v0 2026-06-22 18:24:14 +09:00
Hare 9c0c7badcf ticket: approve workspace db schema v0 2026-06-22 18:24:14 +09:00
Hare c3798559d2 ticket: record workspace schema migration fix 2026-06-22 18:18:37 +09:00
Hare d89ace5b9c workspace: canonicalize legacy workspaces 2026-06-22 18:17:21 +09:00
Hare 1994d2d668 ticket: request changes on workspace schema migration 2026-06-22 18:13:17 +09:00
Hare 1c3ec71361 ticket: start workspace db schema review 2026-06-22 18:03:59 +09:00
Hare e7333f2e4d ticket: record workspace db schema implementation 2026-06-22 18:03:09 +09:00
Hare 5149ab703f workspace: implement db schema v0 bootstrap 2026-06-22 18:01:38 +09:00
Hare 1e0f2158ba ticket: start workspace db schema v0 2026-06-22 17:51:17 +09:00
Hare f17a458a04 ticket: accept workspace db schema v0 2026-06-22 17:50:22 +09:00
Hare 5f06af81cb ticket: queue 00001KVNKD56W 2026-06-22 17:48:39 +09:00
Hare 8407ce22b4 merge: sync orchestration before queue 00001KVNKD56W 2026-06-22 17:48:39 +09:00
Hare c6ddff159f docs: design workspace db schema v0 2026-06-22 17:48:37 +09:00
Hare b7c890d3f6 ticket: record repository objective cleanup 2026-06-22 02:31:56 +09:00
Hare 4b1f1e593d ticket: complete repository objective pages 2026-06-22 02:31:21 +09:00
Hare 7ee702b162 merge: repository objective pages 2026-06-22 02:30:17 +09:00
Hare 680b2a4160 ticket: approve repository objective pages 2026-06-22 02:30:17 +09:00
Hare 076c504640 ticket: start repository objective review 2026-06-22 02:24:06 +09:00
Hare 2c76675110 ticket: record repository objective implementation 2026-06-22 02:23:23 +09:00
Hare ceb1ee3b56 feat: add repository objective pages 2026-06-22 02:21:51 +09:00
Hare de43209643 ticket: start repository objective pages 2026-06-22 02:03:46 +09:00
Hare 0f7e78c164 ticket: accept repository objective pages 2026-06-22 02:03:04 +09:00
Hare eb2e5907ea ticket: record workspace sidebar cleanup 2026-06-22 02:01:56 +09:00
Hare c29eba0c70 ticket: complete workspace sidebar 2026-06-22 02:01:22 +09:00
Hare 613f412659 merge: workspace sidebar navigation 2026-06-22 02:00:22 +09:00
Hare 5d55e47e9b ticket: approve workspace sidebar 2026-06-22 02:00:22 +09:00
Hare 8066f71b51 ticket: start sidebar review 2026-06-22 01:54:57 +09:00
Hare 5ad588f059 ticket: record sidebar conflict resolution 2026-06-22 01:54:16 +09:00
Hare 4ab696b434 Merge branch 'orchestration' into impl/00001KVNG9B9Z-workspace-sidebar
# Conflicts:
#	web/workspace/src/routes/+page.svelte
2026-06-22 01:52:53 +09:00
Hare d3b8bdfddc feat: add workspace sidebar skeleton 2026-06-22 01:45:46 +09:00
Hare a607a1f20d ticket: defer repository pages behind sidebar 2026-06-22 01:41:16 +09:00
Hare 520209f38c ticket: queue 00001KVNGJPRG 2026-06-22 01:40:36 +09:00
Hare ae2d80ba5a merge: sync orchestration before queue 00001KVNGJPRG 2026-06-22 01:40:35 +09:00
Hare 8652041855 ticket: add repository objective pages 2026-06-22 01:40:33 +09:00
Hare 04f15623f2 ticket: record workspace host worker cleanup 2026-06-22 01:39:51 +09:00
Hare a4ed5fb082 ticket: complete workspace host workers 2026-06-22 01:39:21 +09:00
Hare c884d51702 merge: workspace host workers 2026-06-22 01:38:12 +09:00
Hare ea47e54399 ticket: approve workspace host workers 2026-06-22 01:38:12 +09:00
Hare d953049d7d ticket: start workspace sidebar work 2026-06-22 01:37:40 +09:00
Hare 2c7ef24a29 ticket: accept workspace sidebar ui 2026-06-22 01:36:58 +09:00
Hare 48c09fd709 ticket: queue 00001KVNG9B9Z 2026-06-22 01:35:06 +09:00
Hare 6ebe4f7752 merge: sync orchestration before queue 00001KVNG9B9Z 2026-06-22 01:35:06 +09:00
Hare d4de8e26ce ticket: start workspace host worker review 2026-06-22 01:32:27 +09:00
Hare 42c9e9144c ticket: record workspace host worker implementation 2026-06-22 01:31:54 +09:00
Hare 06a9f2f5fd ticket: add workspace sidebar UI 2026-06-22 01:30:58 +09:00
Hare 58143ead83 feat: expose workspace hosts and workers 2026-06-22 01:30:48 +09:00
Hare b193e3e088 ticket: start workspace host workers 2026-06-22 01:11:53 +09:00
Hare e1f02ffca3 ticket: accept workspace host workers 2026-06-22 01:10:56 +09:00
Hare bd5f2b75c3 ticket: queue 00001KVNEKH9Q 2026-06-22 01:09:10 +09:00
Hare 2bad74046e merge: integrate orchestration branch 2026-06-22 01:06:48 +09:00
Hare dfbfd6ed82 dev: add workspace web hot reload setup 2026-06-22 01:06:37 +09:00
Hare de1a20c007 ticket: add local host worker API 2026-06-22 01:01:43 +09:00
Hare 7abc3c7751 ticket: record plugin websocket cleanup 2026-06-21 22:27:34 +09:00
Hare e8103477a4 ticket: complete plugin websocket host api 2026-06-21 22:26:32 +09:00
Hare 354f1e1081 merge: plugin websocket host api 2026-06-21 22:21:07 +09:00
Hare 8a5b341e5e ticket: approve plugin websocket api 2026-06-21 22:20:58 +09:00
Hare 2232149be0 ticket: record plugin websocket bounds fix 2026-06-21 22:16:11 +09:00
Hare a766048f29 fix: bound plugin websocket open 2026-06-21 22:14:58 +09:00
Hare 168951b668 fix: declare deno workspace frontend deps 2026-06-21 22:08:37 +09:00
Hare 519730e7d3 ticket: request changes on websocket bounds 2026-06-21 21:43:11 +09:00
Hare 27f6b3366c ticket: start plugin websocket review 2026-06-21 21:33:07 +09:00
Hare 07782704d4 ticket: record plugin websocket branch hygiene 2026-06-21 21:32:27 +09:00
Hare e58355e7e3 ticket: record plugin websocket implementation 2026-06-21 21:21:02 +09:00
Hare ce62d23502 chore: keep plugin websocket branch code-only 2026-06-21 21:20:55 +09:00
Hare 4c1b8c3d0a feat: add plugin websocket host api 2026-06-21 21:19:28 +09:00
Hare 8578bc1c29 ticket: record inflight snapshot cleanup 2026-06-21 21:00:38 +09:00
Hare 77b5276fd3 ticket: complete inflight snapshot fix 2026-06-21 21:00:10 +09:00
Hare b21638f56c merge: inflight reconnect snapshot 2026-06-21 20:56:55 +09:00
Hare 08edc767b5 ticket: approve inflight snapshot fix 2026-06-21 20:56:49 +09:00
Hare 4cd4ae9cb5 ticket: record inflight snapshot race fix 2026-06-21 20:53:05 +09:00
Hare 061136d798 fix: close in-flight snapshot commit race 2026-06-21 20:51:48 +09:00
Hare ecdc52fce9 ticket: request changes on inflight snapshot 2026-06-21 20:37:40 +09:00
Hare 406c057025 ticket: start plugin websocket implementation 2026-06-21 20:37:08 +09:00
Hare 3eac7f8eae ticket: accept plugin websocket host api 2026-06-21 20:36:06 +09:00
Hare 79a0e45dbc ticket: queue 00001KVMGAEJN 2026-06-21 20:34:07 +09:00
Hare 2e2fdae8ef merge: sync orchestration before queue 00001KVMGAEJN 2026-06-21 20:34:07 +09:00
Hare d802778104 ticket: start inflight snapshot review 2026-06-21 20:32:03 +09:00
Hare de5f3ba49e ticket: record inflight snapshot implementation 2026-06-21 20:31:18 +09:00
Hare 74aca6f6c5 fix: snapshot in-flight stream state 2026-06-21 20:30:01 +09:00
Hare 2a23b8d770 ticket: record deno tooling cleanup 2026-06-21 20:14:32 +09:00
Hare 54d325aeb4 ticket: complete deno tooling migration 2026-06-21 20:14:07 +09:00
Hare 6dc78e3f2a merge: workspace spa deno tooling 2026-06-21 20:13:04 +09:00
Hare 108b6dc787 ticket: approve deno tooling migration 2026-06-21 20:12:57 +09:00
Hare 395de19639 ticket: start deno tooling review 2026-06-21 20:06:08 +09:00
Hare cc25201c4f ticket: record deno tooling implementation 2026-06-21 20:05:32 +09:00
Hare 66f04e0424 feat: migrate workspace spa tooling to deno 2026-06-21 20:04:08 +09:00
Hare 5f9797fdd6 ticket: ready websocket host api 2026-06-21 20:01:28 +09:00
Hare b4d2b3a442 ticket: start deno and inflight snapshot work 2026-06-21 20:00:13 +09:00
Hare 155e039e66 ticket: route deno and inflight snapshot work 2026-06-21 19:58:49 +09:00
Hare b4786b407a ticket: queue 00001KVMT2J25 2026-06-21 19:56:32 +09:00
Hare a59d935bd3 ticket: queue 00001KVMV03QY 2026-06-21 19:56:31 +09:00
Hare 6e95e497f7 ticket: add workspace follow-up items 2026-06-21 19:56:10 +09:00
Hare ef12c6b185 ticket: close workspace server launcher 2026-06-21 19:56:04 +09:00
Hare e6f68496b4 feat: add workspace server launcher 2026-06-21 19:55:55 +09:00
Hare be517417ff ticket: start workspace server launcher 2026-06-21 19:55:46 +09:00
Hare 3fc0dd0bde merge: integrate orchestration branch 2026-06-21 18:01:45 +09:00
Hare 89eb59505b ticket: record plugin request cleanup 2026-06-21 17:12:42 +09:00
Hare 2601bfa9f0 ticket: complete plugin request host api 2026-06-21 17:12:13 +09:00
Hare 8a15cca567 merge: plugin request host api 2026-06-21 17:08:13 +09:00
Hare ece35c391c ticket: approve plugin request api 2026-06-21 17:08:09 +09:00
Hare 6c3ac08c54 ticket: record plugin request grant fix 2026-06-21 17:04:55 +09:00
Hare 0e14e7c14e plugin: align request grant inspection coverage 2026-06-21 17:04:03 +09:00
Hare 2704b8c4bd ticket: request changes on plugin request grants 2026-06-21 16:58:12 +09:00
Hare d5338f9244 ticket: start plugin request review 2026-06-21 16:48:59 +09:00
Hare e447f177e0 ticket: record plugin request implementation 2026-06-21 16:48:13 +09:00
Hare 962b769989 plugin: replace https host api with request grants 2026-06-21 16:47:06 +09:00
Hare 52a786c780 ticket: record workspace web cleanup 2026-06-21 16:46:59 +09:00
Hare f33415c7e2 ticket: complete workspace web bootstrap 2026-06-21 16:46:25 +09:00
Hare 3e03e53627 merge: workspace web control plane 2026-06-21 16:44:59 +09:00
Hare 794e43a534 ticket: approve workspace web bootstrap 2026-06-21 16:44:54 +09:00
Hare 9f721ba437 ticket: start workspace web review 2026-06-21 16:38:19 +09:00
Hare 4a5e28067e ticket: record workspace web implementation 2026-06-21 16:37:39 +09:00
Hare ab7658c1f2 feat: bootstrap workspace web control plane 2026-06-21 16:34:36 +09:00
Hare 6cc0065d15 ticket: start plugin request implementation 2026-06-21 16:19:01 +09:00
Hare 4cd4a06e98 ticket: route plugin request capabilities 2026-06-21 16:17:57 +09:00
Hare f164483e62 ticket: queue 00001KVMGAEJN 2026-06-21 16:15:42 +09:00
Hare faf9bb0a82 ticket: queue 00001KVMG8FTW 2026-06-21 16:15:41 +09:00
Hare df150647c4 merge: sync orchestration before queue 00001KVMG8FTW 2026-06-21 16:15:41 +09:00
Hare 6434df13aa ticket: plugin request/ws support 2026-06-21 16:15:36 +09:00
Hare 9f664c751a ticket: start workspace web implementation 2026-06-21 16:15:08 +09:00
Hare 1d27f6c90a ticket: accept workspace web control plane 2026-06-21 16:13:54 +09:00
Hare 98c85a1d9e ticket: queue 00001KVMFFYVX 2026-06-21 16:11:58 +09:00
Hare 1f198ccb43 merge: sync orchestration before queue 00001KVMFFYVX 2026-06-21 16:11:58 +09:00
Hare 5fb8c393c5 ticket: bootstrap workspace web control plane 2026-06-21 15:58:18 +09:00
Hare 7c424e7d38 objective: defer memory redesign 2026-06-21 15:31:45 +09:00
Hare 5fa0846dcf ticket: record resume cli cleanup 2026-06-21 02:00:53 +09:00
Hare 19c3ec45eb ticket: complete resume cli command 2026-06-21 02:00:29 +09:00
Hare bdc11c771d merge: explicit resume command 2026-06-21 01:58:41 +09:00
Hare 35fba2b6fb ticket: approve resume cli changes 2026-06-21 01:58:34 +09:00
Hare bf4bf4da09 ticket: record resume guidance fix 2026-06-21 01:54:29 +09:00
Hare d25ca6ff3c fix: update resume guidance 2026-06-21 01:53:32 +09:00
Hare 79ee5c4388 ticket: request changes on resume cli guidance 2026-06-21 01:50:52 +09:00
Hare 2081fd5bda ticket: start resume cli review 2026-06-21 01:46:56 +09:00
Hare 8fcfa6e016 ticket: record resume cli implementation 2026-06-21 01:46:27 +09:00
Hare c14083a45a ticket: close completed audit items 2026-06-21 01:46:02 +09:00
Hare 861c351a96 feat: add explicit resume command 2026-06-21 01:45:28 +09:00
Hare 50b261e7e2 ticket: start resume cli implementation 2026-06-21 01:31:58 +09:00
Hare 54245e3292 ticket: close obsolete planning items 2026-06-21 01:31:34 +09:00
Hare a63b40f460 ticket: accept resume cli routing 2026-06-21 01:31:04 +09:00
Hare 8684344e92 ticket: queue 00001KVJX7VZT 2026-06-21 01:29:26 +09:00
Hare 5f52c72b45 records: add pending objective and ticket 2026-06-21 01:28:36 +09:00
Hare 839783b2e6 merge: integrate orchestration branch 2026-06-21 01:24:03 +09:00
Hare 717ff8db01 ticket: close stale notification guidance item 2026-06-21 01:23:54 +09:00
Hare 249b55ec3f objective: define team workspace roadmap 2026-06-21 01:16:36 +09:00
Hare 5885850726 ticket: record plugin lifecycle cleanup 2026-06-21 00:23:39 +09:00
Hare bc484338df ticket: complete plugin instance lifecycle 2026-06-21 00:23:17 +09:00
Hare 43c9216ef8 merge: plugin instance lifecycle surface 2026-06-21 00:18:43 +09:00
Hare ec3a1c621d ticket: approve plugin instance lifecycle 2026-06-21 00:18:40 +09:00
Hare 2edffafc2b ticket: record plugin static surface fix 2026-06-21 00:14:03 +09:00
Hare 627c8f36ff plugin: filter static enabled surfaces 2026-06-21 00:12:55 +09:00
Hare 01ba4c157a ticket: request changes on plugin surface inspection 2026-06-21 00:04:15 +09:00
Hare 6f790faed9 ticket: record plugin surface selection fix 2026-06-20 23:59:33 +09:00
Hare 79ca0f7f81 plugin: enforce enabled lifecycle surfaces 2026-06-20 23:58:16 +09:00
Hare 8fd75228e4 ticket: request changes on plugin surface selection 2026-06-20 23:50:29 +09:00
Hare dcbd04aacd ticket: record plugin instance lifecycle fixes 2026-06-20 23:43:52 +09:00
Hare 870bcc76a5 plugin: fix instance lifecycle blockers 2026-06-20 23:42:44 +09:00
Hare c383178f7f ticket: request changes on plugin instance lifecycle 2026-06-20 23:24:48 +09:00
Hare 97df2c8a28 ticket: dispatch plugin instance lifecycle review 2026-06-20 23:17:39 +09:00
Hare 6eda265bf2 ticket: record plugin instance lifecycle report 2026-06-20 23:16:51 +09:00
Hare 147a600577 plugin: add instance lifecycle surface 2026-06-20 23:15:47 +09:00
Hare 0dd5be8e7a ticket: close mcp cli inspection 2026-06-20 22:56:47 +09:00
Hare 8c42729e5b ticket: complete mcp cli inspection 2026-06-20 22:56:23 +09:00
Hare 5e0b023a7b merge: mcp cli inspection 2026-06-20 22:54:13 +09:00
Hare 09f0ec5ebf ticket: approve mcp cli inspection 2026-06-20 22:54:13 +09:00
Hare c326c45d70 ticket: dispatch mcp cli inspection review 2026-06-20 22:49:37 +09:00
Hare ebf6beaaf1 ticket: record mcp cli inspection implementation report 2026-06-20 22:48:46 +09:00
Hare c91f5fc9b8 mcp: add cli inspection 2026-06-20 22:47:41 +09:00
Hare 673c739909 chore: remove daemon crate 2026-06-20 22:41:24 +09:00
Hare 3bc0de1762 ticket: remove obsolete daemon crate 2026-06-20 22:36:51 +09:00
Hare 9af2ad7cd9 ticket: start mcp cli inspection worktree 2026-06-20 22:33:12 +09:00
Hare 12d7e69f07 ticket: accept mcp cli inspection 2026-06-20 22:32:24 +09:00
Hare 142fdffb00 ticket: queue 00001KVJKHAFE 2026-06-20 22:31:00 +09:00
Hare c4687b6816 merge: sync orchestration before queue 00001KVJKHAFE 2026-06-20 22:31:00 +09:00
Hare 9b161d251e ticket: start plugin instance lifecycle worktree 2026-06-20 22:30:49 +09:00
Hare a8f058c792 ticket: add mcp cli inspection 2026-06-20 22:30:19 +09:00
Hare 5ec8bae983 ticket: accept plugin instance lifecycle 2026-06-20 22:29:34 +09:00
Hare 7f06e6567a ticket: queue 00001KVJHYP4Q 2026-06-20 22:28:19 +09:00
Hare 3257cf799a ticket: redesign plugin instance runtime 2026-06-20 22:26:49 +09:00
Hare 70b8ed628d ticket: make plugin lifecycle instance-oriented 2026-06-20 22:18:53 +09:00
Hare aadc0329d2 ticket: clarify service-backed tool state 2026-06-20 22:15:09 +09:00
Hare 120044af80 ticket: plan plugin service ingress surface 2026-06-20 22:02:44 +09:00
Hare dfc5263eec merge: integrate orchestration branch 2026-06-20 21:42:13 +09:00
Hare 2646dfae7e ticket: close queue conflict ticket 2026-06-20 21:42:08 +09:00
Hare 7d087afbf6 ticket: close webfetch pdf text 2026-06-20 21:31:42 +09:00
Hare 59c59a6a70 ticket: complete webfetch pdf text 2026-06-20 21:31:15 +09:00
Hare 97edfe8ae7 merge: webfetch pdf text 2026-06-20 21:28:27 +09:00
Hare daf3ae68c3 ticket: approve webfetch pdf text 2026-06-20 21:28:27 +09:00
Hare df5d65dc2d ticket: dispatch webfetch pdf review 2026-06-20 21:24:51 +09:00
Hare 4887aa33d9 ticket: record webfetch pdf implementation report 2026-06-20 21:24:09 +09:00
Hare b1af95ad20 web: fetch pdf text by pages 2026-06-20 21:22:55 +09:00
Hare 865a11c628 ticket: close intake investigation gate 2026-06-20 21:20:21 +09:00
Hare 7c2c5319f4 ticket: complete intake investigation gate 2026-06-20 21:20:03 +09:00
Hare f62ed4db8a merge: intake investigation gate 2026-06-20 21:19:24 +09:00
Hare 556fc353a8 ticket: approve intake investigation gate 2026-06-20 21:19:24 +09:00
Hare 8fd3cb855f ticket: dispatch intake investigation gate review 2026-06-20 21:17:16 +09:00
Hare 448a24a975 merge: integrate orchestration branch 2026-06-20 21:16:54 +09:00
Hare d547198361 ticket: record intake investigation gate implementation report 2026-06-20 21:16:34 +09:00
Hare 1143ae1c5a workflow: add intake investigation gate 2026-06-20 21:15:18 +09:00
Hare 69c55a21a4 ticket: close profile override scope 2026-06-20 21:13:40 +09:00
Hare 22c631cf88 ticket: complete profile override scope 2026-06-20 21:13:19 +09:00
Hare a13868818c merge: profile override scope 2026-06-20 21:12:19 +09:00
Hare 203160db4f ticket: approve profile override scope 2026-06-20 21:12:19 +09:00
Hare 61ae37a752 ticket: start webfetch pdf and intake gate worktrees 2026-06-20 21:09:57 +09:00
Hare e752a7206a ticket: accept webfetch pdf and intake gate 2026-06-20 21:08:41 +09:00
Hare 36b9ed450f ticket: dispatch profile override scope review 2026-06-20 21:07:06 +09:00
Hare 75215bb143 ticket: queue 00001KVJDJD02 2026-06-20 21:06:37 +09:00
Hare 8e625344e6 ticket: queue 00001KVJA7V2R 2026-06-20 21:06:29 +09:00
Hare 3ecd86dbc2 merge: sync orchestration before queue 00001KVJA7V2R 2026-06-20 21:06:29 +09:00
Hare d95e044913 ticket: record profile override scope implementation report 2026-06-20 21:06:28 +09:00
Hare 0717aae341 pod: preserve profile override scope 2026-06-20 21:04:10 +09:00
Hare 054d44f737 ticket: start profile override scope worktree 2026-06-20 20:55:06 +09:00
Hare c04c8796f5 ticket: add pending work items 2026-06-20 20:53:58 +09:00
Hare 72e9f2f14e ticket: accept profile override scope launch 2026-06-20 20:53:58 +09:00
Hare 9e7c84a430 ticket: queue 00001KVJABS1A 2026-06-20 20:52:33 +09:00
Hare a04fe0a9dd merge: sync orchestration before queue 00001KVJABS1A 2026-06-20 20:52:33 +09:00
Hare 9fbe9e7aea ticket: track profile scope override bug 2026-06-20 19:49:37 +09:00
Hare 93bdad4c42 ticket: close mcp list changed handling 2026-06-20 19:33:08 +09:00
Hare 21008249ea ticket: complete mcp list changed handling 2026-06-20 19:32:43 +09:00
Hare ae5f3e425b merge: mcp list changed handling 2026-06-20 19:31:33 +09:00
Hare fccef54cd6 ticket: approve mcp list changed handling 2026-06-20 19:31:33 +09:00
Hare d67f4023e1 ticket: dispatch mcp list changed review 2026-06-20 19:27:00 +09:00
Hare 4caafe99d3 ticket: record mcp list changed implementation report 2026-06-20 19:26:21 +09:00
Hare e33dee192c mcp: handle list changed notifications 2026-06-20 19:24:59 +09:00
Hare 02cd596139 ticket: start mcp list changed worktree 2026-06-20 19:08:13 +09:00
Hare d31b89072d ticket: accept mcp list changed handling 2026-06-20 19:07:15 +09:00
Hare b11f83c8b3 ticket: close mcp resources prompts tools 2026-06-20 19:05:26 +09:00
Hare dbdae3c63f ticket: complete mcp resources prompts tools 2026-06-20 19:05:02 +09:00
Hare 4a4590f86b merge: mcp resources prompts tools 2026-06-20 19:03:32 +09:00
Hare 25e0ae7f0d ticket: approve mcp resources prompts tools 2026-06-20 19:03:32 +09:00
Hare baefa90df9 ticket: dispatch mcp resources prompts review 2026-06-20 18:58:05 +09:00
Hare c4f3c42957 ticket: record mcp resources prompts implementation report 2026-06-20 18:57:22 +09:00
Hare 3a22360a78 mcp: expose resources prompts tools 2026-06-20 18:56:14 +09:00
Hare e4be4944d8 ticket: start mcp resources prompts worktree 2026-06-20 18:38:20 +09:00
Hare b2b4764f36 ticket: accept mcp resources prompts tools 2026-06-20 18:37:30 +09:00
Hare 6ac916c785 ticket: close dashboard console tui refactor 2026-06-20 18:35:58 +09:00
Hare 831c8dc64e ticket: complete dashboard console tui refactor 2026-06-20 18:35:35 +09:00
Hare 23ec2bbd7e merge: dashboard console tui refactor 2026-06-20 18:33:22 +09:00
Hare 945a61c0ed ticket: approve dashboard console tui refactor 2026-06-20 18:33:22 +09:00
Hare 883badc1d8 ticket: record dashboard console tui state fix 2026-06-20 18:30:21 +09:00
Hare 135343a2e7 tui: preserve dashboard after console return 2026-06-20 18:29:10 +09:00
Hare ff3b779fa9 ticket: request changes on dashboard console tui 2026-06-20 18:22:32 +09:00
Hare 24c8297df1 ticket: close mcp tools call 2026-06-20 18:19:01 +09:00
Hare 656b0220c4 ticket: complete mcp tools call 2026-06-20 18:18:19 +09:00
Hare 399a9d43d3 merge: mcp tools call 2026-06-20 18:17:01 +09:00
Hare ee16a4debc ticket: approve mcp tools call 2026-06-20 18:17:01 +09:00
Hare 454d67d0a2 ticket: dispatch dashboard console tui review 2026-06-20 18:14:15 +09:00
Hare bf44d8124d ticket: record dashboard console tui implementation report 2026-06-20 18:13:29 +09:00
Hare 5415a9478d tui: introduce dashboard console boundaries 2026-06-20 18:12:18 +09:00
Hare 62dd661395 ticket: dispatch mcp tools call review 2026-06-20 18:09:57 +09:00
Hare e6b2144f74 ticket: record mcp tools call implementation report 2026-06-20 18:08:52 +09:00
Hare 9a2454037f mcp: execute stdio tool calls 2026-06-20 18:07:21 +09:00
Hare 2fc20adc23 docs: update plugin authoring guide 2026-06-20 18:00:44 +09:00
Hare ae5528b62f ticket: start mcp tools call worktree 2026-06-20 17:49:30 +09:00
Hare 92432ad750 ticket: accept mcp tools call 2026-06-20 17:48:39 +09:00
Hare 381db88e33 ticket: close mcp tool registration 2026-06-20 17:46:38 +09:00
Hare 7abe13f23d ticket: complete mcp tool registration 2026-06-20 17:46:17 +09:00
Hare a1f904b84d merge: mcp tool registration 2026-06-20 17:44:32 +09:00
Hare 3d147c9e01 ticket: approve mcp tool registration 2026-06-20 17:44:32 +09:00
Hare db23435337 ticket: start dashboard console tui worktree 2026-06-20 17:43:59 +09:00
Hare 7e35721a81 ticket: accept dashboard console tui refactor 2026-06-20 17:42:40 +09:00
Hare 8ce4fcdeba ticket: record mcp tool registration collision fix 2026-06-20 17:40:55 +09:00
Hare 0080c5b3d4 mcp: reject colliding tool names 2026-06-20 17:40:03 +09:00
Hare 865c3f01ba ticket: request changes on mcp tool registration 2026-06-20 17:35:19 +09:00
Hare 37d0105319 ticket: hold dashboard console refactor for capacity 2026-06-20 17:31:36 +09:00
Hare c5cd587780 ticket: queue 00001KVHX0WBE 2026-06-20 17:30:58 +09:00
Hare e881c47abf merge: sync orchestration before queue 00001KVHX0WBE 2026-06-20 17:30:58 +09:00
Hare 952020c8a5 ticket: dispatch mcp tool registration review 2026-06-20 17:30:28 +09:00
Hare db1f6fb6d1 ticket: record mcp tool registration implementation report 2026-06-20 17:29:31 +09:00
Hare 66fa9d55a1 mcp: register stdio server tools 2026-06-20 17:28:26 +09:00
Hare 50224326aa ticket: start mcp tool registration worktree 2026-06-20 17:01:54 +09:00
Hare a59e5c1ed3 ticket: accept mcp tool registration 2026-06-20 17:00:59 +09:00
Hare 5df7580a1e merge: integrate orchestration branch 2026-06-20 17:00:26 +09:00
Hare 96223148c0 ticket: clarify mcp runtime-discovered tools 2026-06-20 17:00:17 +09:00
Hare 68a8fc97d2 ticket: close mcp stdio lifecycle client 2026-06-20 16:59:37 +09:00
Hare ca28c927b2 ticket: complete mcp stdio lifecycle client 2026-06-20 16:59:17 +09:00
Hare 9cf5344fc5 merge: mcp stdio lifecycle client 2026-06-20 16:58:29 +09:00
Hare e5510620cc ticket: approve mcp stdio lifecycle client 2026-06-20 16:58:21 +09:00
Hare 8e6b440f9a ticket: record mcp stdio lifecycle redaction fix 2026-06-20 16:56:06 +09:00
Hare f396e1a253 mcp: redact stdio server spec debug 2026-06-20 16:54:48 +09:00
Hare 39b55fb6e8 ticket: request changes on mcp stdio lifecycle 2026-06-20 16:51:36 +09:00
Hare c91ed5600f ticket: dispatch mcp stdio lifecycle review 2026-06-20 16:46:44 +09:00
Hare 35e6533986 ticket: record mcp stdio lifecycle implementation report 2026-06-20 16:46:05 +09:00
Hare a114fa9d0a mcp: implement stdio lifecycle client 2026-06-20 16:45:05 +09:00
Hare 017c4471ed ticket: start mcp stdio lifecycle worktree 2026-06-20 16:31:10 +09:00
Hare c0e760d73e ticket: accept mcp stdio lifecycle client 2026-06-20 16:30:12 +09:00
Hare 8f5eef94e4 ticket: close mcp stdio config trust 2026-06-20 16:29:03 +09:00
Hare c4a7eb7a2e ticket: complete mcp stdio config trust 2026-06-20 16:28:39 +09:00
Hare 9b7c4e279d merge: mcp stdio config trust 2026-06-20 16:27:12 +09:00
Hare c6fa0b2d95 ticket: approve mcp stdio config trust 2026-06-20 16:27:07 +09:00
Hare a0cd3dd0e9 ticket: dispatch mcp stdio config review 2026-06-20 16:19:31 +09:00
Hare e578d888e3 ticket: record mcp stdio config implementation report 2026-06-20 16:18:46 +09:00
Hare e0680ccee0 mcp: add stdio server config 2026-06-20 16:17:38 +09:00
Hare 6cc8551a6c ticket: start mcp stdio config worktree 2026-06-20 15:57:19 +09:00
Hare b0225e48b8 ticket: accept mcp stdio config trust 2026-06-20 15:56:29 +09:00
Hare a5df9e3728 ticket: close plugin authoring cli 2026-06-20 15:55:14 +09:00
Hare ead96654be ticket: complete plugin authoring cli 2026-06-20 15:54:51 +09:00
Hare 0430ed982d merge: plugin authoring cli 2026-06-20 15:50:55 +09:00
Hare 52e40b2fdc ticket: approve plugin authoring cli 2026-06-20 15:50:48 +09:00
Hare 93265ae65c ticket: record plugin authoring cli hardening fix 2026-06-20 15:46:18 +09:00
Hare 699db538b6 plugin: harden authoring checks 2026-06-20 15:45:12 +09:00
Hare 9ac540f7cf ticket: request changes on plugin authoring cli 2026-06-20 15:36:56 +09:00
Hare 8206b5912d ticket: dispatch plugin authoring cli review 2026-06-20 15:26:33 +09:00
Hare 59d0a58e3a ticket: record plugin authoring cli implementation report 2026-06-20 15:25:47 +09:00
Hare 945ecdf64d plugin: add authoring cli 2026-06-20 15:24:35 +09:00
Hare e37a360d07 ticket: hold queued mcp chain for dependencies 2026-06-20 15:00:52 +09:00
Hare 9881a061fe ticket: queue 00001KVHR3WSW 2026-06-20 14:59:05 +09:00
Hare 76729c3377 ticket: queue 00001KVHR3WSD 2026-06-20 14:59:04 +09:00
Hare f880007639 ticket: queue 00001KVHR3WS6 2026-06-20 14:58:58 +09:00
Hare eee2ce00e2 ticket: queue 00001KVHR3WSN 2026-06-20 14:58:57 +09:00
Hare a729282cc1 ticket: queue 00001KVHR3WRY 2026-06-20 14:58:55 +09:00
Hare 061322d425 ticket: queue 00001KVHR3WRF 2026-06-20 14:58:46 +09:00
Hare 191e7999c0 merge: sync orchestration before queue 00001KVHR3WRF 2026-06-20 14:58:46 +09:00
Hare c0239684ed ticket: start plugin authoring cli worktree 2026-06-20 14:55:36 +09:00
Hare d1095f854a ticket: accept plugin authoring cli 2026-06-20 14:54:50 +09:00
Hare 902b383de7 ticket: close plugin rust pdk templates 2026-06-20 14:53:26 +09:00
Hare ab7ab69f20 ticket: complete plugin rust pdk templates 2026-06-20 14:51:47 +09:00
Hare edc53a6bc9 merge: plugin rust pdk templates 2026-06-20 14:47:33 +09:00
Hare 1f0766c1d7 ticket: approve plugin rust pdk templates 2026-06-20 14:47:25 +09:00
Hare 01f2e926b0 ticket: record plugin rust pdk template fix 2026-06-20 14:40:23 +09:00
Hare 0a9e585c1d plugin: fix rust pdk wit template probes 2026-06-20 14:39:10 +09:00
Hare 75e8103cdd ticket: split mcp stdio roadmap 2026-06-20 14:34:00 +09:00
Hare 356d06ef58 fix: allow queueing behind active blockers 2026-06-20 14:34:00 +09:00
Hare 730bc73975 ticket: hold plugin authoring cli for pdk dependency 2026-06-20 14:23:53 +09:00
Hare b4cb9fbc41 ticket: queue 00001KVHKWNQS 2026-06-20 14:23:14 +09:00
Hare 2c78428d9d merge: sync orchestration before queue 00001KVHKWNQS 2026-06-20 14:23:14 +09:00
Hare 88f4c7e104 ticket: request changes on plugin rust pdk 2026-06-20 14:21:54 +09:00
Hare 3fb3368272 ticket: dispatch plugin rust pdk review 2026-06-20 14:16:58 +09:00
Hare af435fa9bc ticket: record plugin rust pdk implementation report 2026-06-20 14:16:22 +09:00
Hare 06287aca40 plugin: add rust pdk template 2026-06-20 14:15:20 +09:00
Hare 6c04cb9a0b merge: sync orchestration before queue 00001KVHKWNQS 2026-06-20 14:12:46 +09:00
Hare b5e623e5a1 ticket: start plugin rust pdk worktree 2026-06-20 13:54:58 +09:00
Hare 5f7f81bdde ticket: accept plugin rust pdk templates 2026-06-20 13:54:09 +09:00
Hare 9ca2f85b08 ticket: queue 00001KVHKWNQA 2026-06-20 13:52:58 +09:00
Hare 8b42e319e2 ticket: add plugin authoring roadmap 2026-06-20 13:43:16 +09:00
Hare c8877b49a4 ticket: close plugin component model runtime 2026-06-20 02:23:35 +09:00
Hare 54a91f1b7e ticket: complete plugin component model runtime 2026-06-20 02:23:17 +09:00
Hare 63d7ad788d merge: plugin component model runtime 2026-06-20 02:20:03 +09:00
Hare e6619bc6c9 ticket: approve plugin component model runtime 2026-06-20 02:19:59 +09:00
Hare ac58bfdd63 ticket: record component runtime resource fix 2026-06-20 02:17:13 +09:00
Hare a705bb3bf2 plugin: bound component model runtime resources 2026-06-20 02:16:16 +09:00
Hare 30e49d806a ticket: request changes on component model runtime 2026-06-20 02:08:22 +09:00
Hare 5f00329d44 ticket: dispatch plugin component model review 2026-06-20 02:01:02 +09:00
Hare ed33a0b00f ticket: record plugin component model implementation report 2026-06-20 02:00:25 +09:00
Hare 57bbf14e1a plugin: implement component model runtime 2026-06-20 01:58:53 +09:00
Hare 02006fee2e ticket: update plugin component model work metadata 2026-06-20 01:25:34 +09:00
Hare 466e2bf927 ticket: start plugin component model runtime worktree 2026-06-20 01:25:27 +09:00
Hare 878517dcd2 ticket: accept plugin component model runtime 2026-06-20 01:22:02 +09:00
Hare b0ea9513e3 ticket: close plugin fs host api 2026-06-20 01:18:14 +09:00
Hare 817c335f30 ticket: approve plugin fs host api 2026-06-20 01:15:35 +09:00
Hare f8a1e9452e ticket: record plugin fs host api merge 2026-06-20 01:14:52 +09:00
Hare 1097f35ed8 ticket: approve plugin fs host api 2026-06-20 01:12:56 +09:00
Hare 3dac71d0a5 ticket: approve plugin fs host api 2026-06-20 01:12:06 +09:00
Hare 993e407df2 ticket: approve plugin fs host api 2026-06-20 01:11:11 +09:00
Hare c94e157b76 merge: plugin fs host api 2026-06-20 01:10:37 +09:00
Hare ca988ffc3a ticket: approve plugin fs host api 2026-06-20 01:10:37 +09:00
Hare 93bd6bdf01 ticket: dispatch plugin fs host api review 2026-06-20 01:02:48 +09:00
Hare ec600c8806 ticket: record plugin fs host api implementation 2026-06-20 01:01:52 +09:00
Hare 717c0999a5 plugin: implement fs host api 2026-06-20 00:58:44 +09:00
Hare c4d7ad8d0d ticket: record plugin fs host api coder start 2026-06-20 00:39:20 +09:00
Hare 6711bcf300 ticket: accept plugin fs host api work 2026-06-20 00:37:54 +09:00
Hare 838b273d9c ticket: close plugin https host api 2026-06-20 00:36:01 +09:00
Hare f64570ee84 ticket: record plugin https host api merge 2026-06-20 00:34:10 +09:00
Hare 94cb37075a ticket: approve plugin https host api 2026-06-20 00:32:31 +09:00
Hare 6beb8625bf merge: plugin https host api 2026-06-20 00:29:59 +09:00
Hare 998225eb4e ticket: approve plugin https host api 2026-06-20 00:29:59 +09:00
Hare 8de6b447ee ticket: record plugin https target hardening fix 2026-06-20 00:23:18 +09:00
Hare 85683f17c3 plugin: harden https target validation 2026-06-20 00:21:37 +09:00
Hare ffa8e2f25a ticket: dispatch plugin https host api fixes 2026-06-20 00:12:33 +09:00
Hare faadebc67a ticket: request plugin https host api changes 2026-06-20 00:10:49 +09:00
Hare 748074ba9f ticket: dispatch plugin https host api review 2026-06-20 00:05:11 +09:00
Hare 884accd976 ticket: record plugin https host api implementation 2026-06-20 00:04:16 +09:00
Hare 7377527f7c plugin: implement https host api 2026-06-20 00:02:24 +09:00
Hare e44827823a ticket: record plugin https host api coder start 2026-06-19 23:26:40 +09:00
Hare 1fdef32a4d ticket: accept plugin https host api work 2026-06-19 23:25:39 +09:00
Hare da2dbfb108 ticket: close plugin cli inspection 2026-06-19 23:23:00 +09:00
Hare f8230f9f59 ticket: record plugin cli inspection merge 2026-06-19 23:21:35 +09:00
Hare 71ca05c899 merge: plugin cli inspection 2026-06-19 23:18:51 +09:00
Hare 509ca60959 ticket: approve plugin cli inspection 2026-06-19 23:18:51 +09:00
Hare be91977725 ticket: dispatch plugin cli missing-diagnostic re-review 2026-06-19 23:11:31 +09:00
Hare 22be375f1b ticket: record plugin cli missing-diagnostic fix report 2026-06-19 23:10:41 +09:00
Hare 0142ef1d3f plugin: distinguish present invalid packages 2026-06-19 23:08:06 +09:00
Hare 6e4c49df61 ticket: dispatch plugin cli missing-diagnostic fixes 2026-06-19 23:03:41 +09:00
Hare 4bf6b1bf0f ticket: request plugin cli missing-diagnostic changes 2026-06-19 23:02:48 +09:00
Hare d2ee3bf379 ticket: dispatch plugin cli invalid package re-review 2026-06-19 22:55:02 +09:00
Hare f1c182072b ticket: record plugin cli invalid package fix report 2026-06-19 22:54:13 +09:00
Hare 877ec94fc9 ticket: dispatch plugin cli invalid package fixes 2026-06-19 22:53:10 +09:00
Hare a5709d8bfc ticket: request plugin cli invalid package changes 2026-06-19 22:52:00 +09:00
Hare a5f3b0b554 plugin: reject configured invalid packages 2026-06-19 22:51:02 +09:00
Hare 3a0fd1c219 ticket: dispatch plugin cli invalid package fixes 2026-06-19 22:45:54 +09:00
Hare 8e600311d0 ticket: request plugin cli invalid package changes 2026-06-19 22:45:09 +09:00
Hare ea6355a73d ticket: dispatch plugin cli schema re-review 2026-06-19 22:37:02 +09:00
Hare 3cfb3a647e ticket: record plugin cli schema fix report 2026-06-19 22:36:03 +09:00
Hare 22af7fd342 ticket: queue 00001KVG0HR96 2026-06-19 22:34:43 +09:00
Hare c0f70d1a88 merge: integrate orchestration branch 2026-06-19 22:33:30 +09:00
Hare 8b135cf47a ticket: close plugin design umbrella 2026-06-19 22:29:47 +09:00
Hare e5126321ad ticket: plan plugin component model migration 2026-06-19 22:21:31 +09:00
Hare 982a1b75ed plugin: validate inspected tool schemas 2026-06-19 20:47:11 +09:00
Hare 86c87ded89 ticket: dispatch plugin cli schema validation fixes 2026-06-19 20:42:31 +09:00
Hare 66821b30a7 ticket: request plugin cli schema validation changes 2026-06-19 20:41:32 +09:00
Hare ecd3f124be ticket: dispatch plugin cli metadata re-review 2026-06-19 20:34:35 +09:00
Hare 41db5a9bf9 ticket: record plugin cli metadata fix report 2026-06-19 20:33:55 +09:00
Hare dfa966dbfc plugin: report inspection package metadata 2026-06-19 20:31:26 +09:00
Hare 00a2459a86 ticket: dispatch plugin cli path api fixes 2026-06-19 20:24:14 +09:00
Hare d5b718b380 ticket: request plugin cli path api changes 2026-06-19 20:23:32 +09:00
Hare 9e08291579 ticket: dispatch plugin cli inspection re-review 2026-06-19 20:17:57 +09:00
Hare 075cdfc810 ticket: record plugin cli inspection fix report 2026-06-19 20:17:15 +09:00
Hare b5f10ab7dc plugin: align inspection statuses 2026-06-19 20:15:48 +09:00
Hare 71f4c11fea ticket: dispatch plugin cli inspection fixes 2026-06-19 20:08:47 +09:00
Hare 8a623394da ticket: request plugin cli inspection changes 2026-06-19 20:08:06 +09:00
Hare 349a55fa33 ticket: dispatch plugin cli inspection review 2026-06-19 20:03:57 +09:00
Hare 83699e2011 ticket: record plugin cli inspection implementation 2026-06-19 20:03:12 +09:00
Hare 462de32a5a plugin: add cli inspection 2026-06-19 19:58:10 +09:00
Hare 630548644d ticket: record plugin cli inspection coder start 2026-06-19 19:24:02 +09:00
Hare d51b610f97 ticket: record plugin host api waiting metadata 2026-06-19 19:23:07 +09:00
Hare aea2a8a45d ticket: accept plugin cli inspection work 2026-06-19 19:22:56 +09:00
Hare 3b026b2f5f ticket: queue 00001KVFDX9AF 2026-06-19 19:19:53 +09:00
Hare ecb23a1651 ticket: queue 00001KVFDX9AY 2026-06-19 19:19:52 +09:00
Hare d7f0a718c3 ticket: queue 00001KVFD3YSV 2026-06-19 19:19:28 +09:00
Hare f1876321c5 ticket: add plugin host api followups 2026-06-19 16:54:40 +09:00
Hare 8940262618 ticket: close panel startup e2e work 2026-06-19 14:44:18 +09:00
Hare 69ab9f7c22 fix: speed up panel startup pod probes 2026-06-19 13:19:49 +09:00
Hare caf18dbaab test: measure panel shell startup path 2026-06-19 13:04:45 +09:00
Hare 7593202492 test: align panel dashboard readiness fixture 2026-06-19 00:53:30 +09:00
Hare 63449a8c26 ticket: close panel workspace pod filter 2026-06-19 00:40:49 +09:00
Hare 0ef36b4e02 merge: panel workspace pod filter 2026-06-19 00:38:03 +09:00
Hare 8e8d95eba4 ticket: approve panel workspace pod filter 2026-06-19 00:38:03 +09:00
Hare 49cc0f2e80 ticket: dispatch panel workspace pod re-review 2026-06-19 00:29:55 +09:00
Hare f7179f7a99 ticket: record panel workspace pod fix report 2026-06-19 00:29:15 +09:00
Hare 160c96ad1e pod: persist metadata workspace root 2026-06-19 00:28:19 +09:00
Hare 86ce56b941 ticket: dispatch panel workspace pod fixes 2026-06-19 00:25:31 +09:00
Hare 6952b265b5 ticket: request panel workspace pod changes 2026-06-19 00:24:47 +09:00
Hare 38cc57e7fb ticket: dispatch panel workspace pod review 2026-06-19 00:16:52 +09:00
Hare 7b975aaf93 ticket: record panel workspace pod implementation 2026-06-19 00:16:04 +09:00
Hare 3b634d66ca tui: filter panel pods by workspace 2026-06-19 00:14:02 +09:00
Hare 6fe2dcdf8e ticket: record panel workspace pod coder start 2026-06-18 23:51:56 +09:00
Hare e2e76d3beb ticket: accept panel workspace pod filter 2026-06-18 23:51:03 +09:00
Hare 6cd2af7b72 ticket: close panel dashboard readiness 2026-06-18 23:48:59 +09:00
Hare 6d289a583a ticket: queue 00001KVDH2E06 2026-06-18 23:47:10 +09:00
Hare 667873bdbf merge: sync orchestration before queue 00001KVDH2E06 2026-06-18 23:47:10 +09:00
Hare 2d4d11e476 merge: panel dashboard readiness metric 2026-06-18 23:46:59 +09:00
Hare a92dff05f8 ticket: approve panel dashboard readiness 2026-06-18 23:46:59 +09:00
Hare cd07a9d846 ticket: dispatch panel dashboard re-review 2026-06-18 23:42:29 +09:00
Hare cd86cc533c fix: restore orchestrator companion notifications 2026-06-18 23:42:07 +09:00
Hare 656f3fb249 ticket: record panel dashboard fix report 2026-06-18 23:41:52 +09:00
Hare 5870251bdf tui: tighten panel dashboard readiness 2026-06-18 23:39:52 +09:00
Hare ef0c22eae9 ticket: close plugin permission grants 2026-06-18 23:24:50 +09:00
Hare 94aa3c1d3b merge: plugin permission grants 2026-06-18 23:22:49 +09:00
Hare a172d46c90 ticket: approve plugin grants implementation 2026-06-18 23:22:40 +09:00
Hare 486ee5f41e ticket: dispatch panel dashboard review fixes 2026-06-18 23:21:02 +09:00
Hare d98872af4c ticket: request panel dashboard review changes 2026-06-18 23:20:26 +09:00
Hare 20cc77573b ticket: dispatch reviewers for implementation branches 2026-06-18 23:16:32 +09:00
Hare 7ae725c95d ticket: record coder implementation reports 2026-06-18 23:15:32 +09:00
Hare b1ba15995f plugin: enforce permission grants 2026-06-18 23:13:40 +09:00
Hare fc1ee5bb55 tui: measure panel dashboard readiness 2026-06-18 23:13:06 +09:00
Hare 6c52e5dddf ticket: record panel dashboard coder start 2026-06-18 22:59:29 +09:00
Hare 3b4879446f ticket: accept panel dashboard latency work 2026-06-18 22:58:41 +09:00
Hare b5f0081566 ticket: record plugin grants coder resume 2026-06-18 22:57:43 +09:00
Hare dcbfb6314e ticket: queue 00001KVDETSN6 2026-06-18 22:55:08 +09:00
Hare d2833ffded merge: sync orchestration before queue 00001KVDETSN6 2026-06-18 22:55:08 +09:00
Hare 8cbade818f chore: record panel followups 2026-06-18 22:41:54 +09:00
Hare 9ca89250b4 ticket: record plugin grant spawn failure 2026-06-18 22:12:56 +09:00
Hare a984f5809f ticket: accept plugin permission grants 2026-06-18 22:12:03 +09:00
Hare b6685af3ae ticket: queue 00001KV5W3PJ3 2026-06-18 22:11:00 +09:00
Hare 63d864e1f0 merge: sync orchestration before queue 00001KV5W3PJ3 2026-06-18 22:11:00 +09:00
Hare 6641bf4860 ticket: complete plugin wasm runtime 2026-06-18 21:39:40 +09:00
Hare 05cd788c13 merge: plugin wasm tool runtime 2026-06-18 21:37:21 +09:00
Hare c05bfaa9c4 ticket: approve plugin wasm runtime 2026-06-18 21:37:21 +09:00
Hare f2d4194f37 ticket: record plugin wasm runtime implementation 2026-06-18 21:31:09 +09:00
Hare 10d12148dd feat: run plugin tools through wasm runtime 2026-06-18 21:29:41 +09:00
Hare ca29cd3b89 ticket: complete panel rows-ready e2e 2026-06-18 21:25:23 +09:00
Hare 226eca7a9d merge: panel rows-ready e2e 2026-06-18 21:24:10 +09:00
Hare 49db85c09a ticket: approve panel rows-ready e2e 2026-06-18 21:24:09 +09:00
Hare 4be925f56c ticket: close commit noise policy 2026-06-18 21:22:17 +09:00
Hare 7de73dbd33 ticket: record panel rows-ready implementation 2026-06-18 21:19:51 +09:00
Hare fffdfd2721 test: assert panel rows-ready fixture data 2026-06-18 21:17:51 +09:00
Hare 54cc87132e ticket: resume queued implementation pods 2026-06-18 21:06:11 +09:00
Hare 94f63b1324 merge: sync orchestration before queue 00001KV5W3PJ3 2026-06-18 20:20:44 +09:00
Hare e729e75aaa ticket: record spawn runtime failure 2026-06-17 18:51:03 +09:00
Hare d32fb3bc3c ticket: route wasm runtime and panel readiness e2e 2026-06-17 18:49:29 +09:00
Hare bcb8068ebd ticket: queue 00001KV5W3PHW 2026-06-17 18:46:10 +09:00
Hare a2583b8114 ticket: queue 00001KV62PF32 2026-06-17 18:46:03 +09:00
Hare 9d477f37e7 ticket: close plugin tool surface 2026-06-17 14:44:13 +09:00
Hare cce36419ac merge: integrate orchestration branch 2026-06-17 14:41:20 +09:00
Hare 05c6978d80 ticket: correct panel startup readiness metric 2026-06-17 14:41:15 +09:00
Hare 0da2b5db7b ticket: complete plugin tool surface 2026-06-16 01:40:07 +09:00
Hare 204d0d022f merge: plugin tool surface registration 2026-06-16 01:38:46 +09:00
Hare fb39bf38a1 ticket: approve plugin tool schema fix 2026-06-16 01:38:46 +09:00
Hare fb44159261 ticket: record plugin tool schema fix 2026-06-16 01:31:00 +09:00
Hare 3413bae7d7 fix: reject nested plugin tool schema errors 2026-06-16 01:30:00 +09:00
Hare d9b986853f ticket: request plugin tool schema changes 2026-06-16 01:26:44 +09:00
Hare f262815990 ticket: record plugin tool surface implementation 2026-06-16 01:20:13 +09:00
Hare 05a9c52217 feat: register plugin tool surfaces 2026-06-16 01:18:54 +09:00
Hare fcae886044 ticket: accept plugin tool surface work 2026-06-16 00:54:32 +09:00
Hare 1fdb4cd6f4 ticket: queue 00001KV5W3PHA 2026-06-16 00:53:32 +09:00
Hare 15e60dcbe6 merge: integrate orchestration branch 2026-06-16 00:50:08 +09:00
Hare a03b86e749 ticket: complete plugin resolver 2026-06-16 00:30:09 +09:00
Hare f678383aad merge: plugin package resolver 2026-06-16 00:27:15 +09:00
Hare 1337425504 ticket: approve plugin resolver restore fix 2026-06-16 00:27:15 +09:00
Hare 37e11e465f ticket: record plugin resolver restore fix 2026-06-16 00:16:22 +09:00
Hare 07978d2df5 fix: persist plugin snapshots for restore 2026-06-16 00:15:04 +09:00
Hare 65803c7868 ticket: close completed panel work 2026-06-16 00:09:02 +09:00
Hare a2b991adf8 ticket: request plugin resolver restore fixes 2026-06-16 00:06:02 +09:00
Hare f223bf44ce ticket: add plugin tool followups 2026-06-16 00:00:14 +09:00
Hare 60348708a1 ticket: record plugin resolver fixes 2026-06-15 23:53:30 +09:00
Hare ede7acfdf6 fix: pin plugin resolution metadata 2026-06-15 23:52:13 +09:00
Hare c29d378d4c ticket: request plugin resolver changes 2026-06-15 23:37:18 +09:00
Hare a89b7ac5de ticket: complete panel startup latency e2e 2026-06-15 23:31:36 +09:00
Hare 6f99ebedcc merge: panel startup latency e2e 2026-06-15 23:30:16 +09:00
Hare 77ace64f87 ticket: record plugin resolver implementation 2026-06-15 23:28:02 +09:00
Hare a03a9da64a feat: add plugin package resolver 2026-06-15 23:26:46 +09:00
Hare 9bad2745f7 fix: measure and defer panel startup reload 2026-06-15 23:24:16 +09:00
Hare 4772c4d6a5 ticket: route plugin and panel latency work 2026-06-15 23:01:29 +09:00
Hare 425a6c66a8 ticket: queue 00001KV5MRH6D 2026-06-15 22:59:47 +09:00
Hare d8300a0211 ticket: queue 00001KV5R5V2S 2026-06-15 22:59:47 +09:00
Hare 49abbd9519 ticket: add panel startup latency e2e 2026-06-15 22:50:38 +09:00
Hare 65fa4c06ce merge: integrate orchestration branch 2026-06-15 22:48:46 +09:00
Hare c3d1490443 ticket: add plugin package resolver 2026-06-15 22:48:26 +09:00
Hare 648422c966 ticket: complete panel orchestration overlay 2026-06-15 22:05:29 +09:00
Hare eeb6986f16 merge: panel orchestration overlay 2026-06-15 22:04:30 +09:00
Hare 3eef5fe1b5 ticket: approve panel orchestration overlay 2026-06-15 22:04:29 +09:00
Hare 01e8cd7fb0 ticket: record panel overlay implementation 2026-06-15 21:57:21 +09:00
Hare e0ddbed1eb feat: show orchestration ticket overlay in panel 2026-06-15 21:56:17 +09:00
Hare 95abdc8d94 ticket: accept panel orchestration overlay 2026-06-15 21:40:53 +09:00
Hare 318aa1912b ticket: queue 00001KV5D7MG5 2026-06-15 21:39:21 +09:00
Hare 6572791e50 merge: integrate orchestration branch 2026-06-15 19:48:59 +09:00
Hare 665c58deab ticket: add panel orchestration overlay 2026-06-15 19:48:49 +09:00
Hare c0d8badf55 ticket: complete single-pod text selection 2026-06-15 16:16:06 +09:00
Hare 3fa52f2c01 merge: single-pod text selection 2026-06-15 16:11:47 +09:00
Hare 73e26c41b5 ticket: approve single-pod selection 2026-06-15 16:11:47 +09:00
Hare 314e317a9a ticket: complete panel row hierarchy 2026-06-15 16:09:15 +09:00
Hare 8c00a6e98e merge: panel row hierarchy 2026-06-15 16:08:23 +09:00
Hare 09c7153a04 ticket: approve panel row hierarchy 2026-06-15 16:08:23 +09:00
Hare 10c29c5ae4 ticket: record panel row hierarchy implementation 2026-06-15 16:04:17 +09:00
Hare 2998f37b5a ticket: record single-pod selection implementation 2026-06-15 16:02:54 +09:00
Hare f3b435e724 fix: clarify panel ticket row hierarchy 2026-06-15 16:02:31 +09:00
Hare 09f5e9d51a feat: add single-pod text selection 2026-06-15 16:01:13 +09:00
Hare 79dda10da3 ticket: accept panel row hierarchy work 2026-06-15 15:52:29 +09:00
Hare 1d21aae32c ticket: complete panel alt-enter newline 2026-06-15 15:51:12 +09:00
Hare 0335cad9ff merge: panel alt-enter newline 2026-06-15 15:50:32 +09:00
Hare dba335f74a ticket: approve panel alt-enter fix 2026-06-15 15:50:32 +09:00
Hare 3001bc6873 ticket: record panel alt-enter implementation 2026-06-15 15:46:37 +09:00
Hare 5c33917753 fix: align panel alt-enter composer handling 2026-06-15 15:45:30 +09:00
Hare 368249d677 ticket: route queued tui panel work 2026-06-15 15:39:26 +09:00
Hare f0de841360 ticket: queue 00001KV4ZPAD3 2026-06-15 15:37:02 +09:00
Hare f205fb7540 ticket: queue 00001KV4ZDMV1 2026-06-15 15:37:01 +09:00
Hare ba5d0ee605 ticket: queue 00001KV4YAAVY 2026-06-15 15:37:00 +09:00
Hare 6d4b700181 ticket: record panel and plugin followups 2026-06-15 15:35:35 +09:00
Hare 169f29e960 merge: integrate orchestration branch 2026-06-15 02:24:46 +09:00
Hare 752cce3ffd ticket: refine plugin surface model 2026-06-15 02:24:23 +09:00
Hare 25a91d1cec ticket: complete panel e2e evidence 2026-06-15 01:54:10 +09:00
Hare b5e7ca98fb merge: panel e2e evidence 2026-06-15 01:52:37 +09:00
Hare 1f07e57a2c test: record panel tui e2e evidence 2026-06-15 01:46:43 +09:00
Hare 5e81bc38e6 ticket: accept panel e2e evidence work 2026-06-15 01:39:23 +09:00
Hare 765e6e8ebc ticket: complete invalid ticket panel tolerance 2026-06-15 01:38:06 +09:00
Hare 863b13b687 merge: tolerate invalid panel tickets 2026-06-15 01:37:21 +09:00
Hare 8af11be0f0 ticket: approve invalid ticket panel fixes 2026-06-15 01:37:21 +09:00
Hare 198d619358 ticket: record invalid ticket panel fixes 2026-06-15 01:30:59 +09:00
Hare 456722c339 fix: disable tickets with invalid detail records 2026-06-15 01:30:21 +09:00
Hare d81fced051 ticket: request invalid ticket panel changes 2026-06-15 01:27:24 +09:00
Hare 092fcd806d ticket: complete active workflow compaction 2026-06-15 01:26:06 +09:00
Hare 64d26f8490 merge: preserve active workflows across compaction 2026-06-15 01:25:09 +09:00
Hare 2f51cb6287 ticket: approve active workflow fixes 2026-06-15 01:25:05 +09:00
Hare b2c08d8043 ticket: record invalid ticket panel implementation 2026-06-15 01:21:54 +09:00
Hare b83b9e4e9e fix: tolerate invalid ticket rows in panel 2026-06-15 01:21:04 +09:00
Hare 30b22c1efc ticket: record active workflow fixes 2026-06-15 01:17:51 +09:00
Hare ff446052c7 fix: gate active workflow rehydration state 2026-06-15 01:16:54 +09:00
Hare 61473f6496 ticket: request active workflow changes 2026-06-15 00:58:53 +09:00
Hare a1c8264beb ticket: accept invalid ticket panel work 2026-06-15 00:57:54 +09:00
Hare 81667a9aca ticket: complete plugin package design 2026-06-15 00:56:49 +09:00
Hare 2b9dae4875 merge: plugin package design 2026-06-15 00:56:29 +09:00
Hare 8bcf833e2e ticket: record plugin package review 2026-06-15 00:56:29 +09:00
Hare b77ab0f424 ticket: complete panel intake pod rows 2026-06-15 00:55:41 +09:00
Hare 2fcbd6aefb merge: panel intake pod rows 2026-06-15 00:54:44 +09:00
Hare 48b0d34938 ticket: record panel intake pod review 2026-06-15 00:54:40 +09:00
Hare 01e643719d ticket: record plugin package implementation 2026-06-15 00:53:19 +09:00
Hare 3c674a7051 docs: propose plugin package distribution 2026-06-15 00:52:19 +09:00
Hare 24d0c2139f ticket: record active workflow implementation 2026-06-15 00:50:45 +09:00
Hare d73f748ee8 ticket: accept plugin package implementation 2026-06-15 00:49:44 +09:00
Hare 362fedfbe6 fix: preserve active workflows across compaction 2026-06-15 00:48:39 +09:00
Hare 80a9e40d3a ticket: record panel intake pod implementation 2026-06-15 00:48:17 +09:00
Hare 2664cdd992 feat: show ticket intake pods in panel 2026-06-15 00:47:08 +09:00
Hare e95af466ce ticket: defer plugin package routing for capacity 2026-06-15 00:40:56 +09:00
Hare 4be6c9662d ticket: queue 00001KT0Z4BK8 2026-06-15 00:40:15 +09:00
Hare a92fe5ca0a merge: sync orchestration before queue 00001KT0Z4BK8 2026-06-15 00:40:15 +09:00
Hare 61ed07f3b5 ticket: ready plugin package discovery 2026-06-15 00:37:35 +09:00
Hare d38828a2b3 ticket: defer conflicting queued panel work 2026-06-15 00:37:08 +09:00
Hare 28f3ed626b ticket: queue 00001KV3BQ7Q3 2026-06-15 00:35:57 +09:00
Hare c49d7f9d05 ticket: queue 00001KV3A5CNH 2026-06-15 00:35:56 +09:00
Hare cfbaad0abd merge: sync orchestration before queue 00001KV3A5CNH 2026-06-15 00:35:56 +09:00
Hare 71bf43224d ticket: add e2e evidence followup 2026-06-15 00:35:53 +09:00
Hare becb963bd0 ticket: add panel invalid ticket resilience 2026-06-15 00:35:16 +09:00
Hare 73d0a6a452 ticket: accept queued implementation work 2026-06-15 00:25:03 +09:00
Hare d311fe8f38 ticket: queue 00001KV09WYC6 2026-06-15 00:23:27 +09:00
Hare 392d4da3ad ticket: queue 00001KTFY8V80 2026-06-15 00:23:07 +09:00
Hare a64674e3ab ticket: ready plugin discovery package work 2026-06-15 00:00:04 +09:00
Hare d66dfbbbc2 chore: update orchestration and plugin tickets 2026-06-14 23:49:45 +09:00
Hare adebedc021 ticket: complete profile launch policy scope 2026-06-14 16:04:32 +09:00
Hare 2eaaac97f5 merge: profile launch policy scope 2026-06-14 16:01:26 +09:00
Hare dcbdf251d7 ticket: approve profile launch policy scope 2026-06-14 16:01:14 +09:00
Hare 77892b94f2 ticket: report 00001KV11DHGZ implementation 2026-06-14 15:53:42 +09:00
Hare 21bf009a3f feat: move profile scope to launch policy 2026-06-14 15:52:59 +09:00
Hare 4d626e9632 ticket: complete panel two-line rows 2026-06-14 15:42:18 +09:00
Hare 98357b8aa2 merge: panel ticket two-line rows 2026-06-14 15:40:45 +09:00
Hare e50e1a1a8c ticket: complete feature provider api 2026-06-14 15:40:10 +09:00
Hare f8daecccb3 merge: feature provider api 2026-06-14 15:38:40 +09:00
Hare 77e57cff5d ticket: approve panel two-line rows 2026-06-14 15:38:27 +09:00
Hare d0e8d79106 ticket: approve feature provider api 2026-06-14 15:38:27 +09:00
Hare cdb12af997 ticket: accept profile launch policy scope 2026-06-14 15:35:56 +09:00
Hare 69fc3675f0 ticket: complete profile extend removal 2026-06-14 15:34:47 +09:00
Hare 783c34e75b merge: profile extend removal 2026-06-14 15:32:49 +09:00
Hare c12fbd8eb7 ticket: approve profile extend removal 2026-06-14 15:32:06 +09:00
Hare 053a4f90dc feat: add protocol provider feature contributions 2026-06-14 15:31:19 +09:00
Hare 645d048df5 tui: render panel ticket rows on two lines 2026-06-14 15:28:53 +09:00
Hare 7c6070ef2f profile: remove extend profile composition 2026-06-14 15:24:41 +09:00
Hare f709fc1000 ticket: accept next queued batch 2026-06-14 15:12:46 +09:00
Hare 095331b06e ticket: queue 00001KV11DHGZ 2026-06-14 15:08:45 +09:00
Hare f6f938b5d3 ticket: queue 00001KV12W2RT 2026-06-14 15:08:41 +09:00
Hare 8ad04b2660 ticket: queue 00001KTZY8HK2 2026-06-14 15:08:28 +09:00
Hare 551ee1658c ticket: queue 00001KTR81P9X 2026-06-14 15:08:25 +09:00
Hare 0248db80e1 merge: integrate orchestration branch
# Conflicts:
#	.yoi/tickets/00001KV10SN02/item.md
#	.yoi/tickets/00001KV10SN02/thread.md
2026-06-14 15:08:02 +09:00
Hare 4d5c8b7f86 ticket: complete e2e critical path 2026-06-14 14:39:11 +09:00
Hare 2d9dd7d5e9 merge: e2e critical path
# Conflicts:
#	.yoi/tickets/00001KV10SN02/item.md
#	.yoi/tickets/00001KV10SN02/thread.md
2026-06-14 14:36:15 +09:00
Hare 86dc41ba7b ticket: record e2e critical recovery handoff 2026-06-14 14:35:16 +09:00
Hare bc1decb940 ticket: approve e2e critical path 2026-06-14 14:34:41 +09:00
Hare db95492a4f chore: record profile scope and restore diagnostics 2026-06-14 14:30:18 +09:00
Hare b6c6fc040d merge: sync e2e critical branch
# Conflicts:
#	.yoi/tickets/00001KV10SN02/item.md
#	.yoi/tickets/00001KV10SN02/thread.md
2026-06-14 14:26:50 +09:00
Hare 3de938b7a1 ticket: report e2e critical implementation 2026-06-14 14:24:52 +09:00
Hare b9f49eee1f test: cover critical tui e2e paths 2026-06-14 14:24:12 +09:00
Hare 8f210af72c ticket: complete panel return planning 2026-06-14 14:09:17 +09:00
Hare 7a6321d955 merge: panel return planning
# Conflicts:
#	.yoi/tickets/00001KV09X0XC/item.md
#	.yoi/tickets/00001KV09X0XC/thread.md
#	crates/tui/src/multi_pod.rs
2026-06-14 14:08:16 +09:00
Hare a389e30142 ticket: complete orchestration branch config 2026-06-14 14:06:06 +09:00
Hare 290c4230ac merge: orchestration branch config
# Conflicts:
#	.yoi/tickets/00001KV0X254D/item.md
#	.yoi/tickets/00001KV0X254D/thread.md
2026-06-14 14:04:50 +09:00
Hare 9d4abe5027 ticket: approve panel planning return 2026-06-14 14:03:44 +09:00
Hare 9ad87dda25 ticket: approve orchestration branch config 2026-06-14 14:03:44 +09:00
Hare c53625946e ticket: stop e2e critical path blocker 2026-06-14 04:05:01 +09:00
Hare cb565477a6 ticket: report panel planning return implementation 2026-06-14 04:02:24 +09:00
Hare a0df3279f5 ticket: complete host authority cleanup 2026-06-14 04:02:08 +09:00
Hare f74146c6b4 tui: return ready tickets to planning from panel 2026-06-14 04:00:29 +09:00
Hare 297e95ef4b merge: remove feature host authority
# Conflicts:
#	.yoi/tickets/00001KV0SP0TY/item.md
#	.yoi/tickets/00001KV0SP0TY/thread.md
2026-06-14 04:00:24 +09:00
Hare fc075bc69e ticket: report orchestration branch config 2026-06-14 03:59:48 +09:00
Hare 92e64bda5f ticket: approve host authority cleanup 2026-06-14 03:59:20 +09:00
Hare 1c54689edb tui: configure orchestration branch 2026-06-14 03:58:58 +09:00
Hare 3faf7d7bd1 ticket: report host authority cleanup 2026-06-14 03:53:11 +09:00
Hare 5549c50d86 feat: remove feature host authority API 2026-06-14 03:52:26 +09:00
Hare 144762023a ticket: record e2e critical acceptance 2026-06-14 03:43:37 +09:00
Hare 931f1a074c ticket: record queued coder handoffs 2026-06-14 03:42:53 +09:00
Hare 1abce888ae chore: capture current pod and panel followups 2026-06-14 03:41:40 +09:00
Hare c4465a04d8 ticket: accept queued implementation batch 2026-06-14 03:41:32 +09:00
Hare d15b0a99ea ticket: start e2e critical path 2026-06-14 03:40:06 +09:00
Hare 6cae63fc53 ticket: queue 00001KV10SN02 2026-06-14 02:51:04 +09:00
Hare fcebd4839b merge: integrate orchestration branch
# Conflicts:
#	.yoi/tickets/00001KV0TJVN5/item.md
#	.yoi/tickets/00001KV0TJVN5/thread.md
2026-06-14 02:50:53 +09:00
Hare d370b67dd7 ticket: add e2e and orchestrator scope followups 2026-06-14 02:47:27 +09:00
Hare 9be3f132ed fix: preserve pod restore manifest snapshot 2026-06-14 02:47:27 +09:00
Hare 6aa7c650e8 ticket: complete e2e tmp isolation 2026-06-14 02:34:03 +09:00
Hare 20184eeb1f merge: e2e tmp isolation
# Conflicts:
#	.yoi/tickets/00001KV0YK5S0/item.md
#	.yoi/tickets/00001KV0YK5S0/thread.md
2026-06-14 02:33:09 +09:00
Hare 39f5fffb2b ticket: approve e2e tmp isolation 2026-06-14 02:32:17 +09:00
Hare 07e754ce4b test: isolate e2e tmp runtime fixtures 2026-06-14 02:07:07 +09:00
Hare eb29b63aa1 ticket: accept e2e tmp isolation 2026-06-14 01:57:03 +09:00
Hare f467a77f6e ticket: create e2e tmp isolation followup 2026-06-14 01:56:31 +09:00
Hare d3ea48c87b ticket: note e2e runtime isolation concern 2026-06-14 01:55:52 +09:00
Hare b24aaaccae ticket: close done items 2026-06-14 01:34:18 +09:00
Hare 1df68c0e4a ticket: queue 00001KV0X254D 2026-06-14 01:33:27 +09:00
Hare f6b37f99b3 ticket: queue 00001KV09X0XC 2026-06-14 01:33:26 +09:00
Hare 4100de4b4d ticket: queue 00001KV0SP0TY 2026-06-14 01:33:15 +09:00
Hare 3003a4c7a4 chore: finalize orchestration merge 2026-06-14 01:31:49 +09:00
Hare 2b339247ed merge: integrate orchestration branch 2026-06-14 01:28:55 +09:00
Hare 0f7cac62ef ticket: refine plugin feature layering 2026-06-14 01:28:42 +09:00
Hare 7fe463af63 ticket: complete e2e binary provider 2026-06-14 01:09:41 +09:00
Hare 8abc2b7fa7 merge: e2e binary provider
# Conflicts:
#	.yoi/tickets/00001KV0TJVN5/item.md
#	.yoi/tickets/00001KV0TJVN5/thread.md
2026-06-14 01:08:49 +09:00
Hare d5782788d1 ticket: record e2e credential boundary 2026-06-14 01:08:08 +09:00
Hare 7e24a8df05 ticket: approve e2e binary provider 2026-06-14 01:07:38 +09:00
Hare 47efeb0143 test: isolate e2e yoi subprocess env 2026-06-14 01:02:19 +09:00
Hare 13d0053036 test: build e2e yoi binary provider 2026-06-14 00:54:41 +09:00
Hare a4df975415 ticket: accept e2e binary build followup 2026-06-14 00:47:10 +09:00
Hare 8fa5239102 ticket: note e2e binary build direction 2026-06-14 00:46:35 +09:00
Hare ceb34ba7f6 ticket: create e2e binary build followup 2026-06-14 00:46:29 +09:00
Hare bdc735b86f ticket: complete e2e harness 2026-06-14 00:23:49 +09:00
Hare b3bd6b114f merge: e2e harness
# Conflicts:
#	.yoi/tickets/00001KSKBP9YG/item.md
#	.yoi/tickets/00001KSKBP9YG/thread.md
2026-06-14 00:22:43 +09:00
Hare 04da452a9b ticket: approve e2e harness 2026-06-14 00:21:59 +09:00
Hare b30b43b989 test: cfg-gate e2e observer payloads 2026-06-14 00:18:33 +09:00
Hare 559adb9a3f ticket: request e2e harness changes 2026-06-14 00:06:43 +09:00
Hare 10a1c383c2 test: harden panel e2e harness 2026-06-14 00:00:41 +09:00
Hare 234ffbff2e ticket: add orchestration follow-up tickets 2026-06-13 23:56:32 +09:00
Hare 143cfde74e ticket: request e2e harness corrections 2026-06-13 23:40:48 +09:00
Hare 96561897ae test: add opt-in panel e2e harness 2026-06-13 23:38:51 +09:00
Hare a2084e881e ticket: record e2e coder handoff 2026-06-13 23:19:09 +09:00
Hare 134e8b8b57 ticket: accept e2e harness implementation 2026-06-13 23:17:46 +09:00
Hare 587a06fdad ticket: record e2e design direction 2026-06-13 23:15:54 +09:00
Hare d3d24a03a4 ticket: refine e2e harness scope 2026-06-13 22:56:44 +09:00
Hare 3a6461b6c5 ticket: record panel validation failures 2026-06-13 21:57:59 +09:00
Hare e5150aa9c9 ticket: complete panel quit latency 2026-06-13 20:41:30 +09:00
Hare db7bad7a64 merge: panel quit latency 2026-06-13 20:40:35 +09:00
Hare 2bb36cc40d ticket: approve panel quit latency 2026-06-13 20:40:31 +09:00
Hare 8de8283634 ticket: report panel quit latency fix 2026-06-13 20:35:35 +09:00
Hare cfe411e50d fix: avoid panel quit notice wait 2026-06-13 20:34:40 +09:00
Hare 9dacc90e66 ticket: accept panel quit latency 2026-06-13 20:27:42 +09:00
Hare 6c73b8e076 ticket: complete panel mouse selection 2026-06-13 20:26:34 +09:00
Hare 02311883f7 merge: panel mouse selection
# Conflicts:
#	.yoi/tickets/00001KV072V89/item.md
#	.yoi/tickets/00001KV072V89/thread.md
2026-06-13 20:25:52 +09:00
Hare 6c7385e5cc ticket: approve panel mouse selection 2026-06-13 20:25:03 +09:00
Hare 880cb2f418 ticket: complete rewind live refresh 2026-06-13 20:24:38 +09:00
Hare 802fa1f00f merge: rewind live refresh
# Conflicts:
#	.yoi/tickets/00001KV04NJ8D/item.md
#	.yoi/tickets/00001KV04NJ8D/thread.md
2026-06-13 20:23:46 +09:00
Hare 06a6e4ec57 ticket: approve rewind live refresh 2026-06-13 20:22:36 +09:00
Hare c96a6c465b ticket: report panel mouse implementation 2026-06-13 20:15:11 +09:00
Hare 3a7edbde52 ticket: record rewind live refresh report 2026-06-13 20:14:36 +09:00
Hare 452c9df178 tui: select panel rows by mouse 2026-06-13 20:14:32 +09:00
Hare 949ceb5a21 fix: refresh tui after rewind 2026-06-13 20:13:45 +09:00
Hare 6329e598ae ticket: retain panel quit queue 2026-06-13 20:00:48 +09:00
Hare 200f952228 ticket: refresh coder handoff timestamps 2026-06-13 19:59:51 +09:00
Hare 6f8d2c619f ticket: record coder handoffs 2026-06-13 19:59:41 +09:00
Hare 20daae0c59 ticket: accept panel mouse and rewind routing 2026-06-13 19:57:19 +09:00
Hare 68f1631672 ticket: queue 00001KV04NJ8D 2026-06-13 19:53:20 +09:00
Hare 2ca7c22f99 ticket: queue 00001KV0723PC 2026-06-13 19:53:17 +09:00
Hare 82ea738e4a ticket: queue 00001KV072V89 2026-06-13 19:53:16 +09:00
Hare 8e9855cf56 chore: record current yoi fixes 2026-06-13 19:51:15 +09:00
Hare ad4d0866ae merge: integrate orchestrator companion event notify 2026-06-13 15:03:11 +09:00
Hare 074f4b6ff9 ticket: close event companion notify 2026-06-13 13:22:26 +09:00
Hare ed639ac85f ticket: mark event companion notify done 2026-06-13 13:21:40 +09:00
Hare 2e5a60f4fc merge: companion ticket event notify 2026-06-13 13:20:30 +09:00
Hare 08baab8cbc ticket: record event companion review 2026-06-13 13:20:19 +09:00
Hare e9208295f1 ticket: record event companion implementation 2026-06-13 13:09:50 +09:00
Hare 6f8571f77f fix: render ticket event notice from prompt resource 2026-06-13 13:08:12 +09:00
Hare 465ef1004b feat: notify Companion on Orchestrator ticket events 2026-06-13 12:56:46 +09:00
Hare f58207d2da ticket: delegate event companion notify coder 2026-06-13 12:33:09 +09:00
Hare a3233f04b1 ticket: accept event companion notify 2026-06-13 12:32:03 +09:00
Hare 7ff2f8e3e8 fix: remove panel companion progress feed 2026-06-13 11:51:22 +09:00
Hare 2a7c96909c ticket: reopen companion notify 2026-06-13 11:38:08 +09:00
Hare 20ce1dcda9 merge: integrate orchestration branch 2026-06-13 10:53:20 +09:00
Hare 76ab8c3584 ui: allow panel queue with unrelated root dirt 2026-06-13 10:53:20 +09:00
Hare f235fd18b2 ticket: close idle queued attention 2026-06-13 01:13:08 +09:00
Hare 60cf2d9f09 ticket: mark idle queued done 2026-06-13 01:11:57 +09:00
Hare 9538feb1ce merge: idle queued orchestrator attention 2026-06-13 01:10:38 +09:00
Hare 255a212af9 ticket: record idle queued review 2026-06-13 01:10:31 +09:00
Hare 3005884032 ticket: delegate idle queued review 2026-06-13 01:05:16 +09:00
Hare 81e666d1ee ticket: record idle queued implementation 2026-06-13 01:04:26 +09:00
Hare d2fae81a36 tui: add idle queued orchestrator attention 2026-06-13 01:02:51 +09:00
Hare a85826e82d ticket: delegate idle queued coder 2026-06-13 00:47:58 +09:00
Hare 3b3e786a0b ticket: record idle queued worktree 2026-06-13 00:47:08 +09:00
Hare e72a4536b4 ticket: accept idle queued rekick 2026-06-13 00:46:37 +09:00
Hare 6a1d60f9a5 ticket: close companion notify 2026-06-13 00:44:49 +09:00
Hare 2b64f42854 ticket: mark companion notify done 2026-06-13 00:44:04 +09:00
Hare 56b10a2d6b merge: companion weak progress notify 2026-06-13 00:42:33 +09:00
Hare 85f4bafca6 ticket: approve companion notify review 2026-06-13 00:42:28 +09:00
Hare 40bdb90243 ticket: record companion notify fix 2026-06-13 00:40:21 +09:00
Hare 61e6c0683c fix: resource-back companion progress notice 2026-06-13 00:38:52 +09:00
Hare 042da1bcfd ticket: delegate companion notify fix 2026-06-13 00:31:08 +09:00
Hare 4ad7ae9b8f ticket: request companion notify changes 2026-06-13 00:30:37 +09:00
Hare 46da9523ed ticket: delegate companion notify review 2026-06-13 00:24:00 +09:00
Hare 839b241c2c ticket: record companion notify implementation 2026-06-13 00:23:08 +09:00
Hare 724b79f1c0 Merge branch 'orchestration/yoi-orchestrator' into ticket/orchestrator-progress-companion-notify 2026-06-13 00:21:06 +09:00
Hare 3bcf677768 ticket: close language guidance 2026-06-13 00:20:20 +09:00
Hare 2ba97b674e ticket: mark language guidance done 2026-06-13 00:19:35 +09:00
Hare a87d315471 feat: weak companion progress notify 2026-06-13 00:18:41 +09:00
Hare ec66cad8f8 merge: ticket language guidance for tool users 2026-06-13 00:17:10 +09:00
Hare e1a10e4af4 ticket: record language guidance review 2026-06-13 00:17:05 +09:00
Hare c400fd5062 ticket: delegate language guidance review 2026-06-13 00:11:32 +09:00
Hare 00127ceffa ticket: record language guidance implementation 2026-06-13 00:10:46 +09:00
Hare 2e7ed31f87 ticket: close panel focus model 2026-06-13 00:09:23 +09:00
Hare e330685ec3 ticket: mark panel focus done 2026-06-13 00:08:20 +09:00
Hare 92c4dee71a ticket: guide Ticket tool language universally 2026-06-13 00:08:01 +09:00
Hare d6166c7215 merge: panel focus composer row selection 2026-06-13 00:07:22 +09:00
Hare e9b73d987c ticket: record panel focus review 2026-06-13 00:07:17 +09:00
Hare 8928937942 ticket: delegate panel focus review 2026-06-13 00:02:02 +09:00
Hare 8acf6812a6 ticket: record panel focus implementation 2026-06-13 00:01:13 +09:00
Hare c5ef6f794f tui: clarify panel composer target and row selection 2026-06-12 23:59:05 +09:00
Hare 1ead5f2597 ticket: refresh idle rekick queue note 2026-06-12 23:56:30 +09:00
Hare a9b1ab302d ticket: defer idle rekick for capacity 2026-06-12 23:56:24 +09:00
Hare dcd61410ad ticket: delegate language guidance coder 2026-06-12 23:55:50 +09:00
Hare 97719f6c47 ticket: refresh language guidance state 2026-06-12 23:55:05 +09:00
Hare e34496ff05 ticket: record language guidance worktree 2026-06-12 23:54:54 +09:00
Hare 76d358e824 ticket: accept ticket language guidance 2026-06-12 23:54:31 +09:00
Hare 365051a440 ticket: delegate companion notify coder 2026-06-12 23:52:39 +09:00
Hare 3d3c6d6d45 ticket: refresh companion notify state 2026-06-12 23:51:45 +09:00
Hare 1f2bd8a840 ticket: record companion notify worktree 2026-06-12 23:51:37 +09:00
Hare 05fe1f6fb3 ticket: accept companion progress notify 2026-06-12 23:51:11 +09:00
Hare c3bf6f9a34 ticket: queue 00001KTJXS31R 2026-06-12 23:49:40 +09:00
Hare 25476f993d ticket: queue 00001KTVJGC0Y 2026-06-12 23:49:39 +09:00
Hare cf1e401df6 merge: sync orchestration before queue 00001KTVJGC0Y 2026-06-12 23:49:38 +09:00
Hare f7d5195a4d ticket: refresh panel focus state 2026-06-12 23:46:53 +09:00
Hare d9a5099944 ticket: delegate panel focus coder 2026-06-12 23:46:46 +09:00
Hare 2fa5c0ac7b ticket: record panel focus worktree 2026-06-12 23:46:06 +09:00
Hare f13ab29456 ticket: accept panel focus model 2026-06-12 23:45:46 +09:00
Hare 10e8c84e51 ticket: queue 00001KTVJFT6F 2026-06-12 23:44:16 +09:00
Hare 75d7470923 merge: sync orchestration before queue 00001KTVJFT6F 2026-06-12 23:44:16 +09:00
Hare 550d770fa6 ui: show panel diagnostics and preserve mouse selection 2026-06-12 23:00:31 +09:00
Hare af00af0366 ticket: close role launch split 2026-06-12 22:09:34 +09:00
Hare 9ad5ed6d86 ticket: mark role launch done 2026-06-12 22:08:17 +09:00
Hare bdbd955bc6 merge: ticket role launch input split 2026-06-12 22:07:07 +09:00
Hare 0ebe870658 ticket: record role launch review 2026-06-12 22:07:00 +09:00
Hare 4e8bf411d3 docs: relax nix build validation policy 2026-06-12 21:59:11 +09:00
Hare 2e1eabb186 ticket: delegate role launch review 2026-06-12 21:57:33 +09:00
Hare 57e8663f7e ticket: record role launch implementation 2026-06-12 21:56:53 +09:00
Hare 949531a07e client: shorten ticket role launch input 2026-06-12 21:53:18 +09:00
Hare 6e3970b7d1 ticket: delegate role launch coder 2026-06-12 21:34:25 +09:00
Hare 77a3043a73 ticket: record role launch worktree 2026-06-12 21:32:42 +09:00
Hare ae66c44728 ticket: accept role launch prompt split 2026-06-12 21:32:20 +09:00
Hare 9cc91eea75 ticket: queue 00001KTVPS6K3 2026-06-12 21:29:10 +09:00
Hare 370940a959 ticket: close panel queue orchestrator sync 2026-06-12 21:26:41 +09:00
Hare edb736f4ce merge: integrate orchestrator panel queue sync 2026-06-12 20:50:33 +09:00
Hare ba009b47b2 merge: integrate panel queue orchestrator sync 2026-06-12 20:50:24 +09:00
Hare 47c82103cd prompt: confine orchestrator integration to orchestration branch 2026-06-12 20:49:51 +09:00
Hare 0bcf90680c profile: enable local orchestration tools 2026-06-12 18:50:14 +09:00
Hare a010c8f94b docs: add crate test validity reports 2026-06-12 18:50:14 +09:00
Hare 74b655df0e ui: narrow panel ticket id column 2026-06-12 18:50:14 +09:00
Hare 870b6446b1 ticket: record panel queue sync dossier 2026-06-12 18:12:31 +09:00
Hare 2e29f91bd4 ticket: defer role launch input routing 2026-06-12 18:11:35 +09:00
Hare 190f596413 ticket: delegate panel queue sync review 2026-06-12 18:06:06 +09:00
Hare 28180cc337 ticket: record panel queue sync implementation 2026-06-12 18:05:38 +09:00
Hare 04a3c6e03c tui: make panel queue handoff durable 2026-06-12 18:02:35 +09:00
Hare 25487c9325 ticket: delegate panel queue sync coder 2026-06-12 17:47:26 +09:00
Hare 571b0ce53c ticket: update panel queue sync timestamp 2026-06-12 17:46:11 +09:00
Hare ae55260174 ticket: start panel queue sync implementation 2026-06-12 17:46:06 +09:00
Hare de0f533bc3 ticket: route panel queue sync 2026-06-12 17:45:39 +09:00
Hare 466f90bdd5 prompt: clarify orchestrator branch base 2026-06-12 17:16:01 +09:00
Hare 2ec96d0e47 ticket: start orchestrator branch base guidance 2026-06-12 17:11:52 +09:00
Hare b7e53a185c ticket: add orchestrator branch base guidance 2026-06-12 17:10:59 +09:00
Hare c04b1ca289 fix: validate spawn delegation authority 2026-06-12 17:10:59 +09:00
Hare ee508f707f ticket: accept companion progress work 2026-06-12 12:48:57 +09:00
Hare 3c36d1feb8 fix: use cwd for ticket backend 2026-06-12 11:45:20 +09:00
Hare 9dc78d38bf ticket: queue orchestrator worktree sync 2026-06-12 11:39:25 +09:00
Hare a111a91c83 ticket: record cwd workspace followups 2026-06-12 01:05:29 +09:00
Hare 7eff9301b9 fix: separate workspace root from cwd 2026-06-12 01:03:33 +09:00
Hare 23a5b53807 progress: prepare companion orchestration notifications 2026-06-11 23:12:14 +09:00
Hare e159e9d338 ticket: close builtin workflow resources 2026-06-11 17:52:36 +09:00
Hare ef2099c10a merge: builtin workflow knowledge resources 2026-06-11 17:50:54 +09:00
Hare fb772e29bd ticket: record builtin workflow review and companion progress intake 2026-06-11 17:50:54 +09:00
Hare 58666e3377 ticket: report builtin workflow resources 2026-06-11 17:46:50 +09:00
Hare 2418ad330e feat: add builtin workflow resources 2026-06-11 17:44:42 +09:00
Hare bf5b5bef48 ticket: accept builtin workflow knowledge resources 2026-06-11 17:30:48 +09:00
Hare cd831ec432 ticket: add companion progress notification planning 2026-06-11 17:30:12 +09:00
Hare ef1f5710b3 ticket: close panel orchestration worktree 2026-06-11 17:14:47 +09:00
Hare 735b0c048a merge: panel orchestration worktree 2026-06-11 17:13:14 +09:00
Hare d4dc41bb3f ticket: record panel orchestration review 2026-06-11 17:13:14 +09:00
Hare ab7ea17819 ticket: consolidate lifecycle commit policy 2026-06-11 17:11:22 +09:00
Hare f2938f4e2e ticket: record panel orchestration second fix 2026-06-11 17:10:54 +09:00
Hare 00e11b3df7 feat: launch orchestrator from worktree 2026-06-11 17:10:22 +09:00
Hare dcc87973bd ticket: refine builtin resource implementation 2026-06-11 17:05:24 +09:00
Hare 3b4bb0e62c ticket: record panel orchestration fix loop 2026-06-11 17:04:50 +09:00
Hare 831c59bd12 ticket: report panel orchestration worktree 2026-06-11 16:55:33 +09:00
Hare 02979cb76f ticket: accept panel orchestration worktree 2026-06-11 16:42:35 +09:00
Hare b75e131478 ticket: add orchestrator worktree auto-create 2026-06-11 16:28:38 +09:00
Hare 1810debb58 fix: inherit default role profile config 2026-06-11 16:28:38 +09:00
Hare 730dab65b8 ticket: close orchestrator worktree layout 2026-06-11 14:00:12 +09:00
Hare 5f7b301542 merge: orchestrator worktree layout 2026-06-11 13:59:08 +09:00
Hare 7775ed4184 ticket: record orchestrator worktree review 2026-06-11 13:59:08 +09:00
Hare 93d4053cf3 ticket: record orchestrator worktree fix loop 2026-06-11 13:56:57 +09:00
Hare e7c78f96df feat: track orchestration workspace roots 2026-06-11 13:56:28 +09:00
Hare 3a291439b5 ticket: report orchestrator worktree roots 2026-06-11 13:46:50 +09:00
Hare 95fb8340eb ticket: accept orchestrator worktree layout 2026-06-11 13:35:34 +09:00
Hare 53254ee1f8 ticket: refine orchestration worktree merge policy 2026-06-11 12:49:05 +09:00
Hare d900bdc234 ticket: close workflow split design 2026-06-11 12:48:48 +09:00
Hare af30d64152 ticket: add orchestration worktree planning 2026-06-11 12:48:00 +09:00
Hare 1c2cde51a4 merge: workflow public dogfood split 2026-06-11 12:47:27 +09:00
Hare 8789191787 ticket: add workflow split dossier 2026-06-11 11:33:40 +09:00
Hare 7265f4e7c2 ticket: record workflow split fix loop 2026-06-11 11:32:09 +09:00
Hare 21a25e127f docs: split public and dogfood workflows 2026-06-11 11:31:41 +09:00
Hare 28d6246979 ticket: report workflow split design 2026-06-11 11:27:36 +09:00
Hare 50d826b11a ticket: accept workflow split design 2026-06-11 11:24:33 +09:00
Hare b7a3dae543 ticket: close builtin role profiles 2026-06-11 09:05:29 +09:00
Hare 7daecca8c5 merge: builtin role profiles 2026-06-11 09:04:05 +09:00
Hare f8096bd306 ticket: add builtin role profile dossier 2026-06-11 00:26:39 +09:00
Hare 274e5d3dbf ticket: record builtin role profile fix loop 2026-06-11 00:24:04 +09:00
Hare 85c06dc62e feat: add builtin role profiles 2026-06-11 00:23:15 +09:00
Hare fc32c459bd ticket: report builtin role profiles 2026-06-11 00:15:42 +09:00
Hare a901ebeb4f ticket: accept builtin role profiles 2026-06-11 00:00:41 +09:00
Hare a0b688e29a ticket: record intake and companion closure 2026-06-11 00:00:02 +09:00
Hare 978d97a90a ticket: record builtin role profile routing wait 2026-06-10 20:17:47 +09:00
Hare e3a1292d75 ticket: close lua profile yoi api 2026-06-10 18:55:28 +09:00
Hare 15dc176e81 merge: lua profile yoi api 2026-06-10 18:53:17 +09:00
Hare c8d30df05d ticket: record lua profile api review 2026-06-10 18:53:17 +09:00
Hare e4dd08f8b6 ticket: close file mutation serialization 2026-06-10 18:40:43 +09:00
Hare 29960c1589 merge: serialize file mutations 2026-06-10 18:38:04 +09:00
Hare 05bb33ed8e ticket: record file mutation review 2026-06-10 18:38:04 +09:00
Hare 60e12a94d1 ticket: report lua profile api implementation 2026-06-10 18:37:07 +09:00
Hare 4e1a08c23d feat: add yoi profile lua api 2026-06-10 18:36:40 +09:00
Hare c88b8cccc0 ticket: accept lua profile yoi api 2026-06-10 18:32:32 +09:00
Hare 50f417593c ticket: close setup model wizard 2026-06-10 18:31:50 +09:00
Hare 791ebbf576 ticket: close pod fresh-start path 2026-06-10 18:31:20 +09:00
Hare 021661b568 merge: setup model wizard 2026-06-10 18:29:47 +09:00
Hare 710d962ffe ticket: record setup wizard review 2026-06-10 18:29:47 +09:00
Hare 15daadd015 ticket: report file mutation serialization 2026-06-10 18:29:12 +09:00
Hare c06817b48b fix: list setup command in help 2026-06-10 18:27:18 +09:00
Hare 66d6bf2e2a fix: update setup packaging 2026-06-10 18:27:02 +09:00
Hare 401301438d fix: serialize same-file mutations 2026-06-10 18:24:53 +09:00
Hare 536ff4dd57 ticket: accept file mutation serialization 2026-06-10 18:19:18 +09:00
Hare 5e716fb351 ticket: report setup wizard implementation 2026-06-10 18:17:10 +09:00
Hare 32be6075c1 feat: add setup model command 2026-06-10 18:16:23 +09:00
Hare 6bb023e9fe merge develop into setup wizard worktree 2026-06-10 18:12:31 +09:00
Hare 9309cef4fb ticket: record setup wizard routing blocker 2026-06-10 18:09:03 +09:00
Hare 6e0cff0830 ticket: close prompt resource centralization 2026-06-10 18:08:37 +09:00
Hare 9aaa3232ef merge: prompt resource centralization 2026-06-10 18:07:29 +09:00
Hare ed1b456284 ticket: add prompt resource merge dossier 2026-06-10 18:07:25 +09:00
Hare 41f7449008 ticket: record routing progress 2026-06-10 18:07:00 +09:00
Hare 16ceb3e22e ticket: record prompt resource implementation 2026-06-10 17:11:58 +09:00
Hare 2cedd97d25 ticket: record additional queue notifications 2026-06-10 17:11:28 +09:00
Hare 342d5cf8dd refactor: move ticket role prompts to resources 2026-06-10 17:10:47 +09:00
Hare 76165b47d6 ticket: accept wizard and prompt cleanup 2026-06-10 16:59:39 +09:00
Hare 095441dbd1 ticket: record new objectives and tickets 2026-06-10 16:58:12 +09:00
Hare 63524215f0 ticket: close base32 id migration 2026-06-09 22:26:03 +09:00
Hare 5f6c695b80 merge: unify project record ids 2026-06-09 22:24:40 +09:00
Hare 52c5c3afec ticket: approve base32 id migration 2026-06-09 22:24:40 +09:00
Hare bd9651bddd ticket: record base32 implementation report 2026-06-09 22:12:35 +09:00
Hare 4203988d74 ticket: use base32 project record ids 2026-06-09 22:10:47 +09:00
Hare 2bc299c5b1 ticket: route base32 id implementation 2026-06-09 21:48:05 +09:00
Hare 0803bc3725 ticket: accept base32 id migration 2026-06-09 21:46:51 +09:00
Hare 264dfce3c5 ticket: close profile feature flags 2026-06-09 21:46:13 +09:00
Hare c71a27275d merge: gate tool surfaces by profile features 2026-06-09 21:42:57 +09:00
Hare b43e6e8d72 ticket: approve profile feature flags 2026-06-09 21:42:49 +09:00
Hare 977313dd90 ticket: record project profile test fix 2026-06-09 21:38:35 +09:00
Hare 656048a0ad test: cover project role feature profiles 2026-06-09 21:38:12 +09:00
Hare 2a0911ec30 ticket: close action attention cleanup 2026-06-09 21:33:31 +09:00
Hare 1e534b954b merge: remove ticket attention fields 2026-06-09 21:32:36 +09:00
Hare 61c93990d1 ticket: record feature role fix and attention approval 2026-06-09 21:32:06 +09:00
Hare 507863f86a fix: lock project role feature surfaces 2026-06-09 21:31:33 +09:00
Hare 4eb3e117e3 ticket: record feature cleanup review fixes 2026-06-09 21:22:21 +09:00
Hare 2fd37afb9e fix: align pod feature flag naming 2026-06-09 21:21:40 +09:00
Hare 94db2dc8c9 fix: hide obsolete ticket fields in cli show 2026-06-09 21:19:42 +09:00
Hare 7f2a6568c3 ticket: route feature cleanup reviews 2026-06-09 21:10:26 +09:00
Hare 7b80a9b69c ticket: record coder reports and intake refinement 2026-06-09 21:08:31 +09:00
Hare 3afdd894d8 ticket: remove action attention fields 2026-06-09 21:05:48 +09:00
Hare f0f6cc92d8 feat: gate built-in tools by profile features 2026-06-09 21:05:38 +09:00
Hare 2bd4e43eaa ticket: record feature and attention handoffs 2026-06-09 20:32:02 +09:00
Hare 41133e0cd5 ticket: route feature flags and attention cleanup 2026-06-09 20:30:37 +09:00
Hare bebb0bd5da ticket: close panel composer keys 2026-06-09 20:28:55 +09:00
Hare 57ed405890 merge: improve panel composer keys 2026-06-09 20:26:09 +09:00
Hare bf701b9fed ticket: record panel composer review 2026-06-09 20:26:09 +09:00
Hare 1611f61675 ticket: record panel composer fix loop 2026-06-09 20:21:17 +09:00
Hare 573b02fbfc tui: clarify panel composer enter hints 2026-06-09 20:18:47 +09:00
Hare 774bb10c35 ticket: close analytics batching and record panel review 2026-06-09 20:07:52 +09:00
Hare c837fbceb5 merge: add session analytics response batching 2026-06-09 20:04:28 +09:00
Hare b2e1b91265 ticket: record analytics batching review 2026-06-09 20:04:28 +09:00
Hare c306339e0a ticket: record panel and analytics implementations 2026-06-09 19:55:50 +09:00
Hare 703176df7c ticket: close ticket list output slimming 2026-06-09 19:53:50 +09:00
Hare f2cdb6fd19 fix: align ticket list tests with tool context 2026-06-09 19:53:16 +09:00
Hare 963db29d96 analytics: add response batching metrics 2026-06-09 19:51:06 +09:00
Hare 20f06b3541 tui: clarify panel focus and composer keys 2026-06-09 19:49:26 +09:00
Hare b6ac36e65e merge: lighten ticket list output 2026-06-09 19:48:09 +09:00
Hare 81feb77433 ticket: close parallel queued routing 2026-06-09 19:47:56 +09:00
Hare ad5d3bad64 merge: prefer parallel queued routing 2026-06-09 19:47:28 +09:00
Hare c5a022bbdf ticket: close tool execution context 2026-06-09 19:47:01 +09:00
Hare 89e768a658 ticket: record tool context and parallel reviews 2026-06-09 19:46:29 +09:00
Hare 4744548d27 merge: add tool execution context 2026-06-09 19:43:53 +09:00
Hare a775a10d95 ticket: record tool context review and parallel guidance implementation 2026-06-09 19:43:13 +09:00
Hare 492fe06832 workflow: prefer parallel queued starts 2026-06-09 19:41:20 +09:00
Hare 762a18425f ticket: record ticketlist implementation 2026-06-09 19:39:46 +09:00
Hare 7368416e54 ticket: lighten ticket list output 2026-06-09 19:38:09 +09:00
Hare 65c47d6c38 ticket: record analytics and parallel handoffs 2026-06-09 19:36:54 +09:00
Hare 5d9e227823 ticket: route analytics batching and parallel guidance 2026-06-09 19:35:18 +09:00
Hare 28e7fe3890 ticket: record tool context implementation 2026-06-09 19:33:54 +09:00
Hare 5f0be7eaad ticket: record additional queued updates 2026-06-09 19:32:59 +09:00
Hare d8aed7befe tool: add execution context 2026-06-09 19:31:11 +09:00
Hare f7ff7e20f5 ticket: record panel ticket updates 2026-06-09 19:21:47 +09:00
Hare 873076e973 ticket: record parallel handoffs 2026-06-09 19:21:14 +09:00
Hare d95b3ffff6 ticket: route parallel ticketlist and panel work 2026-06-09 19:19:43 +09:00
Hare 949d6ee705 ticket: add parallel routing guidance 2026-06-09 19:18:50 +09:00
Hare 101061031c ticket: defer attention field cleanup routing 2026-06-09 19:12:32 +09:00
Hare 3c67ae5aa9 ticket: record tool execution context handoff 2026-06-09 19:05:13 +09:00
Hare b21fab82fc ticket: route tool execution context 2026-06-09 19:03:56 +09:00
Hare 5e7f1b921e ticket: record queued tool and panel updates 2026-06-09 19:02:50 +09:00
Hare 3b6a3da19f ticket: record tool analytics followups 2026-06-09 18:51:03 +09:00
Hare 7f4c78f1b6 ticket: close session analytics tooling 2026-06-09 16:41:14 +09:00
Hare 0d2a6a7bf3 merge: add session analytics tooling 2026-06-09 16:39:41 +09:00
Hare b9dda788f6 ticket: record session analytics review 2026-06-09 16:39:41 +09:00
Hare c7ce8d6dbb ticket: add base32 id unification 2026-06-09 16:39:41 +09:00
Hare 277cb547f5 objective: record e2e test strategy 2026-06-09 16:27:27 +09:00
Hare 32f4656b87 ticket: record session analytics implementation 2026-06-09 16:26:58 +09:00
Hare c1809b37b1 feat: add session analytics tooling 2026-06-09 16:24:55 +09:00
Hare fdf2efbd82 ticket: record session analytics handoff 2026-06-09 16:00:46 +09:00
Hare c166140660 ticket: route session analytics tooling 2026-06-09 15:59:29 +09:00
Hare bd4c3afb22 ticket: record session analytics queue 2026-06-09 15:58:15 +09:00
Hare 91c3763653 ticket: close objective records 2026-06-09 15:57:30 +09:00
Hare be69a8b06f merge: add objective records 2026-06-09 15:56:29 +09:00
Hare 8e17b00b51 ticket: record objective records review 2026-06-09 15:56:29 +09:00
Hare 5b92e1da12 ticket: record objective records implementation 2026-06-09 15:50:04 +09:00
Hare be12072547 objective: add lightweight records 2026-06-09 15:48:07 +09:00
Hare f2f4039389 ticket: record objective records handoff 2026-06-09 15:33:35 +09:00
Hare 4b3be3f0b3 ticket: route objective records 2026-06-09 15:32:34 +09:00
Hare 0fef311f75 ticket: close typed relation metadata 2026-06-09 15:31:27 +09:00
Hare 2225311d0b merge: add typed ticket relation metadata 2026-06-09 15:29:49 +09:00
Hare 8aaeb2d6f8 ticket: record relation metadata review 2026-06-09 15:29:49 +09:00
Hare 51c6176ce1 ticket: record relation metadata implementation 2026-06-09 15:19:43 +09:00
Hare 4601ad2b41 ticket: add typed relation metadata 2026-06-09 15:17:45 +09:00
Hare 02b0ec1e9a ticket: record relation metadata handoff 2026-06-09 14:43:53 +09:00
Hare 41a61d79d9 ticket: route typed relation metadata 2026-06-09 14:42:56 +09:00
Hare 7cfc108030 ticket: close identity simplification 2026-06-09 14:41:27 +09:00
Hare 634da5d769 merge: simplify ticket identity fields
# Conflicts:
#	.yoi/tickets/20260607-020215-001/item.md
#	.yoi/tickets/20260607-020215-001/thread.md
#	.yoi/tickets/20260608-072732-001/item.md
#	.yoi/tickets/20260608-110940-001/item.md
#	.yoi/tickets/20260608-125430-001/item.md
#	.yoi/tickets/closed/20260607-020215-workspace-panel-orchestrator-queue-automation/item.md
#	.yoi/tickets/closed/20260607-020215-workspace-panel-orchestrator-queue-automation/thread.md
#	.yoi/tickets/open/20260607-020215-workspace-panel-orchestrator-queue-automation/item.md
#	.yoi/tickets/open/20260607-020215-workspace-panel-orchestrator-queue-automation/thread.md
2026-06-09 14:13:30 +09:00
Hare 3b01c9b3b2 ticket: record pre-migration ticket updates 2026-06-09 14:06:28 +09:00
Hare 93648e6d50 ticket: record identity simplification approval 2026-06-09 14:05:01 +09:00
Hare b4f16592d3 ticket: record identity simplification fourth fix loop 2026-06-09 13:59:17 +09:00
Hare a6326a989e fix: align ticket intake state wording 2026-06-09 13:57:35 +09:00
Hare efad0e678e ticket: record identity simplification fourth review 2026-06-09 13:50:26 +09:00
Hare c8d2415989 ticket: record identity simplification third fix loop 2026-06-09 13:41:59 +09:00
Hare 6ca27f3663 fix: use flat ticket path in tui test 2026-06-09 13:40:41 +09:00
Hare dfe3749af9 ticket: record identity simplification third review 2026-06-09 13:36:05 +09:00
Hare 08ff812ce4 ticket: record identity simplification second fix loop 2026-06-09 13:28:28 +09:00
Hare 8fe4b822ee fix: align ticket flat-state surfaces 2026-06-09 13:27:02 +09:00
Hare e9e5caccd6 ticket: record identity simplification second review 2026-06-09 13:16:19 +09:00
Hare 61b8b67951 ticket: record identity simplification fix loop 2026-06-09 13:07:07 +09:00
Hare 21114fdd6f fix: remove stale ticket status surfaces 2026-06-09 13:04:57 +09:00
Hare 5d2290ac2d ticket: record identity simplification review changes 2026-06-09 12:27:23 +09:00
Hare 953f2917f7 ticket: record identity simplification implementation 2026-06-09 12:17:29 +09:00
Hare 591db3ff72 test: update ticket schema expectations 2026-06-09 12:15:58 +09:00
Hare 191a875f5a ticket: simplify ticket identity fields 2026-06-09 11:57:15 +09:00
Hare 06f08edecc ticket: defer relation and objective routing 2026-06-09 11:28:28 +09:00
Hare 48efcc7dfb ticket: route identity simplification 2026-06-09 11:14:41 +09:00
Hare 9d9baba969 ticket: record identity simplification queue 2026-06-09 11:13:57 +09:00
Hare 9bbbad5546 ticket: close umbrella deprecation 2026-06-09 11:04:52 +09:00
Hare ee41ed94d6 merge: deprecate umbrella tickets 2026-06-09 11:04:08 +09:00
Hare 340cf2c6ed ticket: record umbrella deprecation review dossier 2026-06-09 10:38:06 +09:00
Hare d5c04128b6 ticket: record umbrella deprecation implementation 2026-06-09 10:33:32 +09:00
Hare 1349a75350 ticket: deprecate umbrella containers 2026-06-09 10:31:58 +09:00
Hare 09afc812dd ticket: record umbrella deprecation handoff 2026-06-09 10:20:40 +09:00
Hare 8db8d7d926 ticket: route umbrella deprecation 2026-06-09 10:19:46 +09:00
Hare 832e01a0ab ticket: close return planning policy 2026-06-09 10:19:04 +09:00
Hare 5af58b5ad8 merge: tighten orchestrator planning return policy 2026-06-09 10:18:28 +09:00
Hare bcf9e2e58c ticket: defer umbrella deprecation routing 2026-06-09 10:14:57 +09:00
Hare d50e6236f8 ticket: record return planning review dossier 2026-06-09 09:24:35 +09:00
Hare 427a919077 ticket: record return planning implementation 2026-06-09 09:20:08 +09:00
Hare 03c3218dc7 ticket: record additional queued updates 2026-06-09 09:20:08 +09:00
Hare 8576615f2c workflow: tighten orchestrator planning return policy 2026-06-09 09:18:08 +09:00
Hare 2a3f744c26 ticket: record return planning handoff 2026-06-09 09:07:17 +09:00
Hare 9f35442a41 ticket: route return-to-planning policy 2026-06-09 09:06:32 +09:00
Hare 958b24133d ticket: close composer history persistence 2026-06-09 09:05:23 +09:00
Hare e6593d0549 ticket: record return planning queue 2026-06-09 09:04:54 +09:00
Hare b616420722 merge: persist tui composer history 2026-06-09 09:04:03 +09:00
Hare 2eafe24607 ticket: record composer history review dossier 2026-06-09 09:00:47 +09:00
Hare f37b341677 ticket: record composer history implementation 2026-06-09 08:55:33 +09:00
Hare 64b7ff7c7c tui: persist composer history 2026-06-09 08:54:15 +09:00
Hare 7af88483fc ticket: record composer history handoff 2026-06-09 08:39:02 +09:00
Hare ff5f985f70 ticket: route composer history persistence 2026-06-09 08:38:10 +09:00
Hare 208f7b3eaa ticket: close merged queued tickets 2026-06-09 08:37:01 +09:00
Hare e6bae0429f merge: render tui markdown tables 2026-06-09 08:34:14 +09:00
Hare b3eab44412 merge: add ticket orchestration plan tools 2026-06-09 08:34:10 +09:00
Hare 1cf54efd89 ticket: record tui table rendering review dossier 2026-06-08 22:29:35 +09:00
Hare 68b0156faa ticket: record tui table rendering implementation 2026-06-08 22:26:28 +09:00
Hare f767ec7a59 tui: render markdown pipe tables in chat 2026-06-08 22:25:29 +09:00
Hare 897835b678 ticket: record orchestration plan review dossier 2026-06-08 22:23:53 +09:00
Hare af13abdaa7 ticket: defer composer history routing 2026-06-08 22:19:39 +09:00
Hare 17bddbae20 ticket: record orchestration plan review handoff 2026-06-08 22:18:40 +09:00
Hare f264663367 ticket: record tui table rendering handoff 2026-06-08 22:17:05 +09:00
Hare 3f9d5448f8 ticket: record orchestration plan implementation report 2026-06-08 22:16:22 +09:00
Hare b28b7759f5 ticket: add orchestration plan tools 2026-06-08 22:16:08 +09:00
Hare 33467911ca ticket: record composer history readiness 2026-06-08 22:15:44 +09:00
Hare 60609ec326 ticket: route tui markdown table rendering 2026-06-08 22:15:21 +09:00
Hare 0ba56fdc37 project: record queued tickets and issue notes 2026-06-08 22:14:49 +09:00
Hare 0b9ce1e36b ticket: record orchestration plan tool handoff 2026-06-08 21:51:45 +09:00
Hare 68770a2b66 ticket: route orchestration plan tool 2026-06-08 21:50:55 +09:00
Hare 1d236de956 ticket: close legacy schema cleanup 2026-06-08 21:49:31 +09:00
Hare de8e973ce2 merge: remove legacy ticket schema fields
# Conflicts:
#	.yoi/tickets/open/20260608-103842-remove-legacy-ticket-schema-fields/item.md
#	.yoi/tickets/open/20260608-103842-remove-legacy-ticket-schema-fields/thread.md
2026-06-08 21:48:40 +09:00
Hare 242f9266d7 ticket: record legacy schema implementation report 2026-06-08 21:47:18 +09:00
Hare 934a4b5802 ticket: remove legacy schema fields 2026-06-08 21:36:56 +09:00
Hare 51adf011b6 ticket: authorize legacy ticket field removal 2026-06-08 21:17:56 +09:00
Hare 2a6b9162d4 ticket: record legacy schema cleanup block 2026-06-08 21:13:33 +09:00
Hare fdb9f50bd8 ticket: route queued schema cleanup 2026-06-08 21:10:39 +09:00
Hare 87d89bfa5c ticket: record queued intake updates 2026-06-08 21:09:58 +09:00
Hare 939ba16e8d ticket: close investigator role cleanup 2026-06-08 20:55:32 +09:00
Hare b552372d76 merge: remove fixed investigator ticket role 2026-06-08 20:54:46 +09:00
Hare 427a270722 ticket: remove fixed investigator role 2026-06-08 20:42:37 +09:00
Hare 5025ca9b36 ticket: record orchestration plan delegation block 2026-06-08 20:21:53 +09:00
Hare d7e2b6f628 ticket: record investigator role delegation block 2026-06-08 20:18:36 +09:00
Hare dc65b7d4a1 ticket: route investigator role cleanup 2026-06-08 20:17:15 +09:00
Hare c24b101ad2 ticket: remove legacy ticket schema fields 2026-06-08 19:56:08 +09:00
Hare 07f8b3cb8a ticket: migrate open tickets to planning state 2026-06-08 19:22:03 +09:00
Hare 603af8bd3b ticket: close planning workflow-state replacement 2026-06-08 18:19:29 +09:00
Hare 64466f2916 merge: replace intake state with planning 2026-06-08 18:17:52 +09:00
Hare f15ccf5e9e ticket: record planning state merge-ready dossier 2026-06-08 18:17:34 +09:00
Hare 212c38eb1b ticket: record planning state re-review 2026-06-08 18:15:08 +09:00
Hare eddb33cf83 docs: fix planning sync workflow references 2026-06-08 18:13:46 +09:00
Hare e8b463f82a ticket: record planning state review changes 2026-06-08 18:09:37 +09:00
Hare cbbccae7da ticket: record planning state review delegation 2026-06-08 18:02:28 +09:00
Hare ada6db99d8 feat: replace intake workflow state with planning 2026-06-08 18:00:23 +09:00
Hare 109e991ffb ticket: record planning state coder delegation 2026-06-08 17:38:47 +09:00
Hare cb234b86ad ticket: route planning workflow-state replacement 2026-06-08 17:37:32 +09:00
Hare 7e29c1ac4e ticket: record planning workflow followups 2026-06-08 17:22:18 +09:00
Hare af13a8bddb ticket: close ticket record language split 2026-06-08 17:22:05 +09:00
Hare a74e315bc3 merge: separate ticket record language 2026-06-08 17:19:10 +09:00
Hare ccea1e05a9 ticket: record ticket language merge-ready dossier 2026-06-08 17:18:55 +09:00
Hare 0b6f4a3b22 ticket: close spawnpod child cwd 2026-06-08 17:18:03 +09:00
Hare 05df656616 merge: allow SpawnPod child cwd
# Conflicts:
#	crates/pod/src/pod.rs
2026-06-08 17:15:05 +09:00
Hare 53c052578d ticket: record spawnpod cwd merge-ready dossier 2026-06-08 17:13:46 +09:00
Hare 2bd0789713 ticket: close intake idle-shutdown 2026-06-08 17:13:01 +09:00
Hare f7c50606e4 merge: shutdown intake after ready idle 2026-06-08 17:11:19 +09:00
Hare 4cb2235c91 ticket: record intake idle shutdown merge-ready dossier 2026-06-08 17:10:52 +09:00
Hare 885e493ba2 ticket: record spawnpod cwd re-review 2026-06-08 17:08:21 +09:00
Hare 248744f9cd fix: keep SpawnPod cwd separate 2026-06-08 17:06:50 +09:00
Hare b1346eeea3 ticket: record ticket language review delegation 2026-06-08 17:04:34 +09:00
Hare b662f84d41 ticket: record intake idle shutdown review delegation 2026-06-08 17:03:09 +09:00
Hare fb261bb4f6 feat: add ticket record language config 2026-06-08 17:02:16 +09:00
Hare 61c323189c pod: stop intake after ready idle 2026-06-08 17:00:37 +09:00
Hare a987250cd3 ticket: record ticket language coder delegation 2026-06-08 16:42:18 +09:00
Hare 17ac5b04f0 ticket: route ticket record language implementation 2026-06-08 16:41:20 +09:00
Hare 2f4addbfb9 ticket: record intake idle shutdown coder delegation 2026-06-08 16:38:32 +09:00
Hare 64318e8045 ticket: route intake idle shutdown implementation 2026-06-08 16:37:28 +09:00
Hare d380d20e84 ticket: record spawnpod cwd review changes 2026-06-08 16:32:13 +09:00
Hare a3edd11528 ticket: record spawnpod cwd review delegation 2026-06-08 16:25:13 +09:00
Hare 3dd77079f1 feat: add SpawnPod cwd 2026-06-08 16:23:37 +09:00
Hare 815213cb5c ticket: record spawnpod cwd coder delegation 2026-06-08 16:07:42 +09:00
Hare 15cf4a1332 ticket: route spawnpod cwd implementation 2026-06-08 16:06:37 +09:00
Hare 3db52a63ad ticket: close direct delegation authority split 2026-06-08 15:44:01 +09:00
Hare 92d1c0bb10 merge: split direct and delegation authority 2026-06-08 15:41:01 +09:00
Hare 4b84be4bb8 ticket: record direct delegation merge-ready dossier 2026-06-08 15:40:46 +09:00
Hare a255fe7231 ticket: record direct delegation re-review 2026-06-08 15:38:36 +09:00
Hare f43c8ac65c fix: validate delegation path sets exactly 2026-06-08 15:37:13 +09:00
Hare c835c16f1d ticket: refine orchestrator planning queue 2026-06-08 15:33:04 +09:00
Hare 6e77b1cccd ticket: record direct delegation review changes 2026-06-08 15:31:21 +09:00
Hare c8440d2078 ticket: record direct delegation review delegation 2026-06-08 15:24:53 +09:00
Hare a4a9b002c6 feat: split direct and delegation scope authority 2026-06-08 15:22:39 +09:00
Hare dfd155ab0f ticket: route intake idle-shutdown preflight 2026-06-08 15:21:15 +09:00
Hare 9129e81fbe ticket: close panel done-ticket action 2026-06-08 15:11:08 +09:00
Hare 24159561b6 merge: close done tickets from panel 2026-06-08 15:09:56 +09:00
Hare 78b4257f25 ticket: record panel close merge-ready dossier 2026-06-08 15:09:38 +09:00
Hare 59ebac76e0 ticket: record panel close review and language preflight 2026-06-08 15:03:51 +09:00
Hare 6d41ed31cf tui: close done tickets from panel 2026-06-08 15:01:09 +09:00
Hare b0e587cb8d ticket: record panel close coder delegation 2026-06-08 14:51:15 +09:00
Hare c6e8f6af8f ticket: route panel close done tickets 2026-06-08 14:50:18 +09:00
Hare 67519f5387 ticket: record direct delegation coder delegation 2026-06-08 14:48:26 +09:00
Hare fa39f921d5 ticket: route direct delegation authority split 2026-06-08 14:47:22 +09:00
Hare 776e7ca3e3 ticket: route pod archive fresh-start preflight 2026-06-08 12:49:22 +09:00
Hare 856de91c51 ticket: close intake claim timing fix 2026-06-08 12:33:01 +09:00
Hare 3bc4ab2840 merge: defer intake claims until launch success 2026-06-08 12:31:53 +09:00
Hare 2f62092413 ticket: record intake claim merge-ready dossier 2026-06-08 12:31:42 +09:00
Hare 731237ac8d config: set project role language 2026-06-08 12:30:50 +09:00
Hare 4b97a6a180 ticket: record intake claim review delegation 2026-06-08 12:24:23 +09:00
Hare 6797be30f0 fix: defer intake claim until launch acceptance 2026-06-08 12:23:06 +09:00
Hare 78a779e48d ticket: record intake claim coder delegation 2026-06-08 12:09:35 +09:00
Hare d2a040d77a ticket: route intake claim and spawn cwd tickets 2026-06-08 12:08:33 +09:00
Hare 50c5743fa0 ticket: close podclient reader cleanup 2026-06-08 11:54:41 +09:00
Hare b0f37b52eb merge: abort podclient reader task on drop 2026-06-08 11:53:18 +09:00
Hare 6864413456 ticket: record podclient reader merge-ready dossier 2026-06-08 11:52:58 +09:00
Hare ca9b5c69c0 ticket: record podclient reader review delegation 2026-06-08 11:50:49 +09:00
Hare aec75b3a35 fix: abort PodClient reader task on drop 2026-06-08 11:49:26 +09:00
Hare a6c3ef1a79 ticket: record podclient reader coder delegation 2026-06-08 11:43:00 +09:00
Hare 89b4369f2a ticket: route podclient reader cleanup 2026-06-08 11:42:09 +09:00
Hare 9b3041ec3a ticket: close workspace panel nonblocking transitions 2026-06-08 11:29:28 +09:00
Hare 86198d85c3 merge: workspace panel nonblocking transitions 2026-06-08 11:27:22 +09:00
Hare 99b24ffcec ticket: record workspace panel merge-ready dossier 2026-06-08 11:27:10 +09:00
Hare ebcc32ddb3 ticket: close workflow template non-goals cleanup 2026-06-08 11:23:30 +09:00
Hare c2d624569c merge: workflow template non-goals cleanup 2026-06-08 11:21:35 +09:00
Hare 45ee5d4fee ticket: record workflow template merge-ready dossier 2026-06-08 11:21:26 +09:00
Hare 2514b6f99e ticket: record workspace panel review delegation 2026-06-08 11:20:56 +09:00
Hare 12a4f39328 tui: make panel transitions nonblocking 2026-06-08 11:19:28 +09:00
Hare 18b6d8a620 ticket: record workspace panel coder delegation 2026-06-08 11:09:26 +09:00
Hare e3df2231cb ticket: route workspace panel nonblocking transitions 2026-06-08 11:08:27 +09:00
Hare df83d3f8cf ticket: record workflow template review delegation 2026-06-08 11:05:11 +09:00
Hare 783cd42638 workflow: replace non-goals template language 2026-06-08 11:03:56 +09:00
Hare d6f66dec01 ticket: close runtime workspace identity bundle 2026-06-08 11:00:39 +09:00
Hare b7a533f6cb merge: runtime workspace identity bundle 2026-06-08 10:57:47 +09:00
Hare 7729c83581 ticket: record runtime workspace merge-ready dossier 2026-06-08 10:54:18 +09:00
Hare 7eb0304ca2 ticket: record workflow template coder delegation 2026-06-08 10:51:26 +09:00
Hare b45d8f1f6e ticket: route workflow template non-goals cleanup 2026-06-08 10:50:39 +09:00
Hare 17248b5eca ticket: record runtime workspace re-review 2026-06-08 10:49:35 +09:00
Hare 15f54df0ba runtime: use pod flag for session identity 2026-06-08 10:48:00 +09:00
Hare 9a9c28bcc6 ticket: record runtime workspace review changes 2026-06-08 10:43:12 +09:00
Hare 8587f623f7 ticket: clarify panel and spawn authority tasks 2026-06-08 10:37:20 +09:00
Hare 0f8aede253 ticket: record runtime workspace review delegation 2026-06-08 10:36:06 +09:00
Hare b6af761da0 runtime: separate workspace pod and profile identity 2026-06-08 10:34:50 +09:00
Hare e210d76a82 ticket: record runtime workspace coder delegation 2026-06-08 10:04:52 +09:00
Hare d68e8d3f95 ticket: record runtime workspace delegation block 2026-06-08 09:59:55 +09:00
Hare 9df7f4eeb7 ticket: record workspace identity routing 2026-06-08 09:57:46 +09:00
Hare 992949e3b1 ticket: record pod identity boundary decision 2026-06-08 09:56:47 +09:00
Hare c6afb5004b ticket: add pod naming cleanup tasks 2026-06-08 09:07:29 +09:00
Hare 6903eea686 ticket: record yaml and planning merge completion 2026-06-08 08:38:45 +09:00
Hare 3079606054 merge: relax implementation planning readiness 2026-06-08 08:35:31 +09:00
Hare 10dc6da903 merge: parse ticket frontmatter as yaml 2026-06-08 08:35:31 +09:00
Hare 5b7c32ca4d ticket: record planning readiness dossier 2026-06-08 08:30:01 +09:00
Hare 54f227a9e1 ticket: record yaml and planning review progress 2026-06-08 08:25:55 +09:00
Hare 1e2d1d8545 docs: relax implementation readiness wording 2026-06-08 08:22:35 +09:00
Hare dbdccc50c7 ticket: quote frontmatter strings conservatively 2026-06-08 08:22:01 +09:00
Hare 10d7844fc8 ticket: parse item frontmatter as YAML 2026-06-08 08:13:19 +09:00
Hare aa61285dc3 ticket: delegate planning readiness coder 2026-06-08 08:10:26 +09:00
Hare c83fecd057 ticket: accept planning readiness implementation 2026-06-08 08:09:38 +09:00
Hare 2abc5df9ac ticket: add workflow policy cleanup tasks 2026-06-08 08:08:40 +09:00
Hare 4dbe029bd3 ticket: route planning readiness preflight 2026-06-08 08:04:05 +09:00
Hare 5944ec673a ticket: delegate yaml frontmatter coder 2026-06-08 07:59:49 +09:00
Hare de3a5569da ticket: accept yaml frontmatter implementation 2026-06-08 07:59:14 +09:00
Hare 1af710e998 ticket: route yaml frontmatter parsing preflight 2026-06-08 07:43:30 +09:00
Hare fd4c34b292 ticket: route panel nonblocking transitions preflight 2026-06-08 07:36:38 +09:00
Hare 906e46c8db ticket: add yaml frontmatter parsing task 2026-06-08 07:33:33 +09:00
Hare 58f770b626 ticket: record bare shortcut cleanup 2026-06-08 07:26:48 +09:00
Hare 8302cbb123 ticket: record bare shortcut merge completion 2026-06-08 07:26:10 +09:00
Hare b633319705 merge: remove workspace panel bare letter shortcuts 2026-06-08 07:24:56 +09:00
Hare a5fa3d840b fix: remove panel bare letter shortcuts 2026-06-08 07:14:23 +09:00
Hare 9341c8049e ticket: add ticket action commit policy task 2026-06-08 07:06:43 +09:00
Hare 696ef30d10 config: tune workspace profiles and codex models 2026-06-08 07:05:28 +09:00
Hare d406df3056 ticket: add intake claim timing bug 2026-06-08 07:04:58 +09:00
Hare b2f6a4b1db ticket: add panel shortcut removal task 2026-06-08 06:47:13 +09:00
Hare d17b44596e ticket: close companion pod lifecycle 2026-06-08 05:45:36 +09:00
Hare f7c5b56eb0 merge: companion pod lifecycle 2026-06-08 05:45:05 +09:00
Hare 9d030fbbc9 ticket: approve companion pod lifecycle 2026-06-08 05:45:05 +09:00
Hare ba0c9d565a feat: wire panel companion lifecycle 2026-06-07 19:39:41 +09:00
1449 changed files with 243191 additions and 85976 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
/target
/result
/.direnv
/.worktree
/.yoi/dev
.worktree
*.local*
.env
+3
View File
@@ -1 +1,4 @@
/memory/
tickets/.ticket-backend.lock
/workspace.db*
tickets
+60
View File
@@ -0,0 +1,60 @@
---
title: "E2E テスト戦略"
state: "active"
created_at: "2026-06-09T07:09:26Z"
updated_at: "2026-06-09T07:09:26Z"
linked_tickets: ["00001KSKBP9YG"]
---
## Goal
Yoi の実プロセス・実 socket・実 provider 境界をまたぐ振る舞いを、通常の crate 内 unit / integration test だけに頼らず検証できる E2E テスト戦略を確立する。
最初の到達点は、実 `pod` / product binary を spawn し、protocol 経由で最小シナリオを実行し、graceful shutdown まで確認できる opt-in E2E harness を持つこと。その上で、permission、resume/fork、spawned Pod、provider stream、TUI/Panel などの重要境界を段階的に増やせる状態にする。
## Motivation / background
現状のテストは crate 内の in-process coverage が厚い一方で、以下の性質は単体テストだけでは十分に確認しづらい。
- 実プロセス spawn と runtime dir / socket / env の相互作用。
- Pod controller / protocol client / session store / metadata / restore の統合挙動。
- provider endpoint、streaming、auth/token、tool call、continuation、retry の実接続に近い振る舞い。
- permission deny、scope、manifest/profile 解決、child Pod delegation など、複数 crate と実 runtime state をまたぐ policy。
- TUI / Panel が前提にする Pod lifecycle や Ticket orchestration の外形。
E2E は常時実行の軽いテストではなく、dogfooding 中に「この機能は実 runtime でも壊れていない」と確認するための opt-in 検証基盤として必要。
## Strategy / design direction
- E2E は通常の `cargo test --workspace` からは外し、明示 feature / 専用 package / 独立 job で opt-in 実行する。
- まずはワークスペース直下の専用 E2E package / harness として設計し、個別 crate の unit test に押し込めない。
- protocol を喋る側は TUI の PTY 操作ではなく、typed client / protocol client を使う方向を優先する。
- provider 依存は最初から全部を対象にしない。
- 最小 harness では canned / fixture / mock HTTP server を使う。
- provider 差分は代表 provider から段階的に増やす。
- env / runtime dir / socket path は test ごとに隔離し、並列実行方針を明示する。
- 必要なら最初は `--test-threads=1` 相当で安全側に倒す。
- 将来的には per-test runtime dir と typed launch config で並列性を上げる。
- E2E は「全シナリオを大量に持つ」より、重要な runtime seam ごとに少数の高価値 scenario を置く。
- 失敗時 diagnostics は、secret を出さずに process phase、socket path、session id、log path、provider fixture id を辿れる形にする。
- E2E harness 自体が flaky にならないよう、network / time / external auth への依存は明示 opt-in に分ける。
## Success criteria / exit conditions
- `cargo test --workspace` では E2E が走らず、通常開発の feedback loop を重くしない。
- 明示コマンドで E2E harness を実行できる。
- 例: `cargo test -p e2e --features e2e` または後続で決める同等コマンド。
- 最小 scenario が実 `pod` / product binary を spawn し、protocol 経由で 1 turn 実行し、graceful shutdown まで通る。
- E2E 実行は専用 runtime/data dir を使い、通常の user/workspace state を汚さない。
- fixture / mock provider の設計があり、少なくとも 1 provider 相当の canned response を実 HTTP 経由で返せる。
- failure diagnostics から、spawn 失敗・socket 接続失敗・provider fixture 失敗・protocol 失敗・shutdown 失敗を区別できる。
- 後続 Ticket が permission / resume / fork / spawned Pod / provider streaming / Panel などを追加できる harness boundary がある。
## Decision context
- linked Ticket `00001KSKBP9YG` は、E2E harness の最初の concrete implementation Ticket として扱う。
- この Objective は E2E 全体の中長期方針・判断軸を保持する。個別 scenario の実装や harness の細部は concrete Ticket に分ける。
- TUI を直接 PTY で叩く方針は初期 harness では避け、protocol/client 経由を優先する。
- provider 全対応は初期 scope にしない。fixture / mock HTTP server を基礎にし、代表 provider から段階的に広げる。
- E2E は flakiness と実行コストが高いため、既定 CI / 既定 workspace test には入れず、opt-in 検証として始める。
- Objective context は判断材料であり、実装 authority は各 Ticket の body/thread/artifacts と明示的な Ticket relation / OrchestrationPlan に置く。
+73
View File
@@ -0,0 +1,73 @@
---
title: "ネイティブGUIアプリケーション"
state: "active"
created_at: "2026-06-10T07:41:18Z"
updated_at: "2026-07-15T21:18:00Z"
linked_tickets: []
---
## Goal
Yoi の Pod / Ticket / Orchestrator / Skill・prompt resource 操作を、TUI だけでなくネイティブ GUI から扱えるようにする。
最初の到達点は、既存の runtime / Ticket backend / Pod protocol / Profile / Skill/prompt resource authority を再実装せずに、workspace の状態を視覚的に把握し、選択した Pod・Ticket・role action に対して安全に操作できる desktop GUI client を持つこと。GUI は core authority ではなく client surface とし、既存 CLI/TUI と同じ durable state・同じ protocol・同じ permission/prompt/resource 境界を使う。
## Motivation / background
現在の TUI / Panel は dogfooding 可能な状態まで進んでいるが、複数 Pod・複数 Ticket・Orchestrator 状態・session output・role launch・review/merge dossier を同時に扱うには、terminal UI の表示密度・視覚的状態表現・スクロール/選択/比較操作に限界が出ている。
ネイティブ GUI があると、以下をより自然に扱える。
- live / stored Pod、Ticket lane、Orchestrator progress、Companion/Intake 状態の同時表示。
- Ticket body/thread/artifacts、Pod output、validation evidence、diff/report の並列閲覧。
- composer target、role action、queue/routing/attach/restore の明確な affordance。
- long-running orchestration の通知、状態変化、失敗診断の視覚化。
- 将来的な review / merge-ready dossier / plan board / settings editor の専用 UI。
一方で、GUI を理由に runtime authority を分散させたり、Ticket/Pod state を独自 DB として二重管理したり、prompt/resource 文字列を GUI code に直書きしたりしてはいけない。
## Strategy / design direction
- GUI は Yoi core の上に乗る client として作る。
- Pod lifecycle、session/history、Ticket storage、Profile resolution、resource/prompt authority は既存 core を正とする。
- GUI 固有 state は selection、layout、local UI preference などに限定する。
- 最初に toolkit / architecture の小さな spike を置く。
- 評価軸は Rust code reuse、async/runtime 統合、native packaging、Linux dogfooding しやすさ、testability、accessibility、long-running log/output 表示、将来の cross-platform 余地。
- toolkit 選定は Objective では固定しない。候補比較と採用理由を Ticket に残す。
- 実装は段階的に進める。
1. read-only workspace dashboard: Pod / Ticket / Orchestrator 状態を既存 backend から表示する。
2. attach / restore / open など、既存 protocol に乗る低リスク操作を追加する。
3. composer と role action: Companion / Intake / Orchestrator / coder / reviewer launch を既存 launcher 経由で扱う。
4. Ticket body/thread/artifacts、Pod output、validation evidence、review report を閲覧しやすくする。
5. 必要に応じて settings/profile/config editor や merge-ready dossier UI を追加する。
- TUI は廃止前提にしない。
- GUI 導入後も CLI/TUI は fallback / automation / terminal-first operation flow として維持する。
- GUI で見つかった state model の改善は、TUI と共有できる pure data model / client API に寄せる。
- Prompt / resource / role guidance は GUI code に直書きしない。
- LLM-facing prompt は `resources/prompts` または `.yoi/skills` / configured resources を正とする。
- GUI は prompt 文言を所有せず、選択・起動・runtime context の入力面を担当する。
- Security / privacy / authority boundary を保つ。
- secret-like data は UI diagnostics / logs / model context に漏らさない。
- permission / scope / profile の authority は既存 resolver/policy に従う。
- GUI convenience action は durable Ticket/Pod state transition と対応付け、暗黙の side effect を避ける。
## Success criteria / exit conditions
- 明示コマンドまたは binary で native GUI を起動できる。
- GUI は既存 workspace config、Profile、Ticket backend、Pod registry/protocol を使い、独自の authority store を持たない。
- 最小 dashboard で live/stored Pod、Ticket lane/state、Orchestrator/role session の概況を確認できる。
- GUI から少なくとも attach/restore/open 相当の安全な Pod 操作ができる。
- GUI から Ticket Intake または既存 role launcher を使った role action を実行でき、既存の prompt/resource 境界を壊さない。
- Pod output / Ticket body/thread/artifacts を、TUI より見通しよく閲覧できる最小 UI がある。
- GUI 固有 state と core durable state の境界が文書化されている。
- toolkit / architecture 選定理由、採用しなかった選択肢、packaging 方針が Ticket artifact または design note として残っている。
- GUI で使う state transformation / action eligibility は pure model として test 可能で、主要な selection/action state の unit test がある。
- GUI 実装は CLI/TUI の既存 operation flow を破壊せず、必要な targeted validation が定義されている。
## Decision context
- この Objective は中長期の方向性・判断軸を保持する。具体的な toolkit 選定、crate 構成、初期 dashboard 実装、role action 実装、packaging は個別 Ticket に分ける。
- GUI は TUI の単純な置換ではなく、複数 Pod / Ticket / Orchestrator を扱う workspace cockpit として設計する。
- authority は既存 core に残す。GUI は client/view/controller surface であり、Pod/Ticket/resource/prompt の正本を所有しない。
- Prompt 直書き禁止方針を守る。GUI 実装中に LLM-facing 文言が必要になった場合は、`resources/prompts` または Skill/resource 側に置く。
- 初期 target は dogfooding しやすい desktop GUI とし、public release / cross-platform polish / installer は後続段階で扱う。
+111
View File
@@ -0,0 +1,111 @@
---
title: 'MCP local stdio integration roadmap'
state: 'active'
created_at: '2026-06-10T07:48:45Z'
updated_at: '2026-06-20T05:34:00Z'
linked_tickets: ['00001KTR81P9X', '00001KV0SP0TY', '00001KVHR3WRF', '00001KVHR3WRY', '00001KVHR3WS6', '00001KVHR3WSD', '00001KVHR3WSN', '00001KVHR3WSW']
---
## Goal
Add MCP local stdio integration to Yoi without weakening Worker history, prompt-context, scoped tool permission, or Plugin/Feature layering invariants.
MCP is a protocol-backed integration layer on top of `pod::feature`. `pod::feature` supplies contribution/lifecycle/runtime-discovered registration substrate; MCP owns its own enablement, local server trust model, command/env/secret policy, and MCP-specific permission decisions. MCP is not the Plugin model, and Plugin permission policy is not implemented by feature-layer authority grants.
## Motivation / background
Yoi needs to integrate with external capability providers without turning them into hidden context sources or bypassing ordinary Tool/Worker safety rules. MCP is useful because it can expose tools, resources, and prompts from local protocol servers, but those server-provided declarations and results are untrusted and must be normalized through Yoi's existing authority boundaries.
The first MCP slice should focus on local stdio servers because they are concrete enough to implement and debug while keeping remote auth, OAuth, Streamable HTTP, registry distribution, sampling, and elicitation out of the initial trust boundary.
A configured local MCP server runs as a local executable. Yoi feature authority does not sandbox that executable's OS-level side effects, so command/env/secret handling and explicit local trust policy are MCP-layer responsibilities rather than generic `pod::feature` grants.
## Strategy / design direction
- Baseline the initial implementation on MCP specification `2025-11-25`.
- Start with local stdio MCP servers only.
- Treat MCP server metadata, tools, resources, prompts, and results as untrusted content.
- Do not allow MCP resources/prompts to become hidden context injection.
- They must be explicit tool operations with history records.
- Use the normal Yoi ToolRegistry, PreToolCall permission, history, and bounded result paths.
- Do not add private MCP-only bypasses around Worker/tool invariants.
- Keep sampling and elicitation fail-closed initially.
- Keep Streamable HTTP, remote auth, OAuth, and MCP Registry/distribution out of the first slice.
- Treat local stdio server execution as an explicit MCP config/trust decision, not as a `pod::feature` authority grant.
- Document clearly that a configured local MCP server runs as a local executable; Yoi feature authority does not sandbox its OS-level side effects.
### Layering decisions
- `pod::feature` is an API/contribution substrate.
- It owns contribution declarations, provider/service lifecycle hooks, diagnostics, runtime-discovered registration plumbing, and integration with normal Worker/ToolRegistry paths.
- It does not own Plugin permission policy or MCP server trust policy.
- Plugin is a user-facing package/config/runtime layer over `pod::feature`.
- Plugin permissions are Plugin-layer policy.
- Plugin package discovery/enablement must not be conflated with MCP local server execution.
- MCP is a separate feature-backed integration layer.
- MCP enablement, command/env/secret handling, server trust, and MCP-specific permission decisions live in MCP config/implementation.
- MCP provider-discovered tools/resources/prompts are exposed through the feature API and ordinary Yoi tool paths.
### Concrete implementation tickets
Completed prerequisites:
- `00001KTR81P9X` — Extend `pod::feature` API for external protocol-backed capability providers.
- `00001KV0SP0TY` — Remove feature-layer HostAuthority model.
Concrete MCP implementation sequence:
1. `00001KVHR3WRF` — MCP local stdio server config and trust policy.
- explicit config, command/env/secret redaction, local executable trust boundary, no auto-start.
2. `00001KVHR3WRY` — MCP stdio JSON-RPC lifecycle client.
- subprocess lifecycle, initialize/capability negotiation, diagnostics, shutdown.
3. `00001KVHR3WS6` — MCP tools/list registration into ToolRegistry.
- provider-discovered tools, stable namespacing, schema validation, untrusted metadata normalization, no tools/call yet.
4. `00001KVHR3WSD` — MCP tools/call execution through ordinary Tool path.
- PreToolCall gate before server call, bounded result serialization, history path.
5. `00001KVHR3WSN` — MCP resources/prompts as explicit tool operations.
- resources/list/read and prompts/list/get without hidden context injection.
6. `00001KVHR3WSW` — MCP list_changed notification handling.
- deterministic safe refresh/diagnostic behavior without breaking tool schema or prompt-cache invariants.
The old broad implementation Ticket `00001KTR82RB7` is superseded by this sequence and should not be used as an implementation work item.
### Terminology
Use `runtime-discovered` or `provider-discovered` for MCP tools/resources/prompts discovered from `tools/list`, `resources/list`, or `prompts/list`. Avoid `dynamic tools` / `dynamic registry` in new MCP design prose because those phrases imply that model-visible tool schemas may change during an active LLM run.
The intended invariant is:
```text
provider-discovered at startup / provider initialization;
registered into the ordinary ToolRegistry before model exposure;
run-stable for the duration of a model request/run;
refreshed only at a safe boundary or reported as a diagnostic.
```
### Later follow-ups
- Richer MCP task/task-support integration if ordinary tool-call fallback is insufficient.
- Streamable HTTP transport.
- OAuth / remote auth.
- Registry/package distribution.
- Explicit MCP/Plugin bridge only if separately approved; do not conflate Plugin packages with MCP local server execution.
## Success criteria / exit conditions
- A local mock MCP server can be configured explicitly and initialized.
- Discovered MCP tools appear as ordinary Yoi tools with stable namespacing.
- Tool calls go through ordinary permission and history paths.
- MCP resources/prompts are explicit operations, not hidden context injections.
- MCP result forms are bounded and safely serialized.
- Secret values, command/env details, and server diagnostics are redacted where required.
- Local server trust boundary is documented: Yoi does not sandbox the configured executable through feature authority.
- Feature, Plugin, and MCP permission/trust responsibilities are documented as separate layers.
## Decision context
- MCP is not the Plugin model; it is a protocol-backed integration layer using `pod::feature` substrate.
- `pod::feature` should provide contribution/lifecycle/runtime-discovered registration plumbing, not MCP server trust policy or Plugin package permission policy.
- MCP resources and prompts must never be hidden context injection. They are explicit operations recorded through ordinary history/tool paths.
- Provider-discovered tools are discovered at startup/provider initialization and registered before model exposure; model-visible schemas remain run-stable during a request/run.
- Local stdio server execution is a user/config trust decision. Yoi does not sandbox the local executable merely because it is configured through MCP.
+101
View File
@@ -0,0 +1,101 @@
---
title: "Plugin platform roadmap"
state: "active"
created_at: "2026-06-19T13:18:58Z"
updated_at: "2026-06-24T19:55:00Z"
linked_tickets: ["00001KV5R5V2S", "00001KV5W3PHA", "00001KV5W3PHW", "00001KV5W3PJ3", "00001KVFD3YSV", "00001KVFDX9AF", "00001KVFDX9AY", "00001KVG0HR96", "00001KVXHVCR5", "00001KVXK0WD3", "00001KVXK0WDH", "00001KVXK0WDQ", "00001KVXK0WDX", "00001KVXK0WE4", "00001KVXK0WEA"]
---
## Goal
Build Yoi's Plugin platform as a coherent extension system: packages are discovered and inspected safely, enabled explicitly, registered through typed Plugin surfaces, executed in a sandboxed runtime, constrained by Plugin-layer grants, and authored through SDK/templates rather than raw runtime ABI details.
The long-term platform goal is not merely to run Wasm. It is to make Plugin packages a durable, inspectable, permissioned, and authorable extension layer for Tools first, then host APIs (`https`, `fs`), and later Service / Ingress surfaces when concrete needs justify them.
## Motivation / background
The current Plugin foundation is already substantial:
- package discovery and explicit enablement resolver;
- Tool surface registration through the ordinary ToolRegistry/model-visible schema path;
- minimal sandboxed WASM Tool execution;
- Plugin permission grant enforcement;
- follow-up Tickets for read-only inspection CLI, `https`, `fs`, and Component Model migration.
The remaining work must be kept as one roadmap because the pieces constrain each other:
- Plugin authoring needs an SDK/PDK and examples, not raw pointer/length Wasm ABI hand-coding.
- `https` and `fs` host APIs must be grant-gated and shaped so they can move cleanly to typed Component Model interfaces.
- Diagnostics (`yoi plugin list/show`) are needed before the system becomes harder to debug.
- Component Model adoption should guide new host API design before a custom raw ABI becomes entrenched.
- Service / Ingress are useful for bridge-style integrations, but should come after Tool runtime, diagnostics, and host API policy are stable.
Research of common Wasm extension systems points to the same pattern: mature systems combine a package manifest, explicit capabilities, a sandbox runtime, host-provided capability APIs, language SDK/PDK bindings, templates/examples, inspection/check tooling, and versioned interfaces.
## Strategy / design direction
- Keep Plugin as a user-facing package/config/runtime layer above lower-level `pod::feature` substrate.
- `pod::feature` provides contribution/registration substrate.
- Plugin owns package discovery, enablement, grant policy, runtime selection, authoring UX, and user-facing diagnostics.
- Preserve authority boundaries.
- Package discovery is read-only inventory.
- Package presence never registers a Tool/Hook, executes Wasm, starts a Service, reads files, opens network, or injects context.
- Explicit enablement and Plugin grants are required before registration/execution/host API use.
- Tool calls/results continue through ordinary ToolRegistry and Worker history paths.
- Treat Component Model as the active Plugin runtime shape before public release.
- New typed Plugin host APIs should be designed in WIT-compatible terms.
- `runtime.kind = "wasm-component"` is the current Plugin runtime authority for new work.
- The earlier `yoi-plugin-wasm-1` raw core-Wasm compatibility bridge is retired from the active roadmap because Plugin has not been publicly released and compatibility would preserve the wrong boundary.
- Sequence the platform in usable layers:
1. Package discovery / explicit enablement / digest-pinned restore. Completed foundation.
2. Tool surface registration. Completed foundation.
3. Minimal WASM Tool execution. Completed foundation.
4. Permission grants. Completed foundation.
5. Read-only Plugin CLI inspection (`yoi plugin list/show`) for debugging discovery/enablement/grants/runtime metadata.
6. `https` and `fs` host APIs for Tool Plugins, grant-gated and WIT-compatible.
7. Remove the raw core-Wasm compatibility bridge and reject legacy runtime manifests.
8. Component Model runtime and authoring model become the only active Plugin runtime path.
9. Guest SDK/PDK, examples, `check`/`pack`/`new` authoring tooling target Component Model only.
10. Service / Ingress runtime is developed as host-managed lifecycle, event queue, output command, and diagnostics slices.
11. WebSocket support for long-lived integrations is host-owned connection driver + ingress event delivery + output command, not Plugin-owned polling with `recv(timeout)`.
- Keep Discord-style bridge goals split into two stages.
- Outbound Discord/webhook Tool is possible after `https`.
- Bidirectional Discord bridge requires Service + Ingress + WebSocket or inbound HTTP and host routing policy.
## Current implementation split
The broad Plugin runtime redesign is tracked by `00001KVXHVCR5` as context only; implementation should proceed through concrete Tickets instead of routing that umbrella as a single coding task.
1. `00001KVXK0WD3` Remove legacy raw WASM Plugin runtime.
- Deletes the active `LegacyToolAdapter` / raw-Wasm execution path.
2. `00001KVXK0WDH` Reject legacy Plugin runtime in manifest and CLI diagnostics.
- Makes `plugin.toml`, `yoi plugin check/list/show`, docs, and fixtures reflect Component Model only runtime authority.
3. `00001KVXK0WDQ` Define Plugin Service lifecycle and ingress queue runtime.
- Adds host-managed lifecycle, bounded queue, serial dispatch, backpressure, timeout, and diagnostics.
4. `00001KVXK0WDX` Add Plugin service output command model.
- Lets service handlers request side effects as grant-checked commands rather than ambient authority.
5. `00001KVXK0WE4` Add host-owned WebSocket driver for Plugin services.
- Converts incoming WS frames into ingress events and sends outbound frames through output commands.
6. `00001KVXK0WEA` Update Plugin WIT PDK templates for service event runtime.
- Aligns authoring API, WIT, PDK, templates, and docs with the new event/command execution model.
## Success criteria / exit conditions
- Users can inspect Plugin discovery/enablement/grant/runtime state through a read-only CLI without executing Plugin code.
- Plugin authors can build a Tool Plugin without writing raw memory/pointer ABI plumbing.
- Tool Plugins can safely call grant-gated `https` and `fs` host APIs.
- Component Model is the only active Plugin runtime path, with WIT-compatible host API types and measured packaging/runtime impact.
- Plugin grants remain authoritative over registration, execution, and host API calls.
- Plugin diagnostics explain missing package, invalid manifest, digest/version mismatch, missing grant, rejected schema, runtime mismatch, legacy runtime rejection, and unsupported host API cases safely.
- Raw core-Wasm Plugin compatibility is removed before public release; tests and docs no longer treat it as a current runtime.
- Documentation covers package format, Component Model runtime, host API authority, authoring SDK/templates, Service/Ingress event runtime, and operational debugging.
- Service/Ingress work is host-managed: services have lifecycle/status, ingress uses bounded queues, side effects are output commands, and WebSocket integrations use host-owned connection drivers.
## Decision context
- This Objective is roadmap context, not Ticket authority. Implementation still requires reading concrete Ticket bodies, threads, artifacts, and relations.
- Component Model direction supersedes Yoi's custom raw ABI as both long-term and current active Plugin runtime authority before public release.
- `https` / `fs` work should avoid choices that conflict with later WIT typed interfaces.
- Guest SDK work targets Component Model directly; raw ABI wrappers are not a supported transitional authoring path.
- Plugin and MCP remain separate. Component Model adoption for Plugin does not imply MCP server execution, MCP prompt/resource injection, or MCP trust policy changes.
- Plugin surfaces remain Tool / Hook / Service / Ingress; outbound side effects are Tool metadata and host API grants, not a separate surface.
+287
View File
@@ -0,0 +1,287 @@
---
title: "Team workspace control plane and runtime architecture"
state: "active"
created_at: "2026-06-20T14:26:29Z"
updated_at: "2026-07-15T21:18:00Z"
linked_tickets: ["00001KVMFFYVX", "00001KWMBAA6V"]
---
## Goal
Yoi を、単一のローカル開発ディレクトリで動くエージェント実行ツールから、チームで作業・判断・実行結果を管理できるワークスペース基盤へ発展させる。
この Objective の中心は、Web から扱える管理システムを作り、その管理システムにローカル Runtime・リモート Runtime・将来のクラウド Runtime を接続できるようにすることである。管理システムは Ticket、Objective、Memory、Skill catalog、Artifact、Policy、Actor、Repository、Runtime state の正本を持つ。Runtime はその管理システムから Worker launch request / config bundle / repository target / authority を受け取り、作業環境を用意して Worker を実行し、結果・イベント・証跡を返す。
この Objective は Git ホスティングサービスを作るものではない。Git は重要な Repository provider として扱うが、Yoi の Workspace は Git Repository root と同じものにしない。Yoi が作るべきものは、コード・ドキュメント・データ・成果物などの Repository と Runtime を接続しながら、人間とエージェントの作業、Ticket lifecycle、Memory、Skill catalog、検証証跡、実行環境配置を管理するチームワークスペースである。
## Glossary
この Objective では、以下の語をこの意味で使う。
- Workspace: チームまたはプロジェクトの管理単位。Ticket、Objective、Memory、Skill catalog、Artifact、Policy、Actor、Repository、Runtime state を持つ。Git Repository root ではない。
- Control plane: Workspace の正本を持ち、Web UI / API / CLI から操作される管理システム。
- Runtime: Worker 群を束ねる実行基盤。Worker lifecycle、sandbox、mount、cache、checkout/worktree/container filesystem などの working directory materialization、event/control plane を管理する。将来的には 1 つの Runtime が複数 Workspace / Repository の Worker を抱えられる。
- Worker: Runtime が管理する 1 つの agent/session/process。Runtime が用意した working directory と authority の中で動く。
- Repository: Workspace に接続される source/storage。コード、ドキュメント、local directory、object storage、artifact store、dataset などを含む。Git Repository も Repository の一種であり、基本的には filesystem path ではなく URI / URL で識別する。
- RepositoryId: Workspace 内でどの Repository を対象にするかを指す安定 identifier。Git hash、branch、path ではない。
- Repository provider: Repository の種類ごとの実装。Git、local filesystem、object store、artifact store、将来の non-Git VCS など。
- RepositorySelector: Repository provider に渡す未解決の地点指定。branch/tag/PR/revspec/bookmark/revset/path@revision/object version/latest など provider-specific な symbolic / mutable / query-like locator であり、それ自体は再現性の authority ではない。
- RepositoryPoint: RepositorySelector をある時点で解決した具体地点。Git commit/tree、Mercurial changeset、SVN revision、object store version/manifest digest、file snapshot など provider ごとの immutable / reproducible point を表し、Artifact/evidence に残す。
- working directory: Runtime が Worker のために作る作業環境。1 つ以上の RepositoryPoint から materialize される作業用ディレクトリ、container filesystem、sandbox mount の集合であり、Git worktree、clone、sparse checkout などはこれを作る手段である。Browser-facing UI/API では product `Workspace` と混同しないよう、この呼称に寄せる。`Volume` は storage backing の候補名に留め、作業領域そのものの呼称にはしない。
- Ticket: チームで扱う作業単位。目的、要件、判断、議論、完了条件、関係、証跡を持つ。
- Objective: 複数の Ticket を束ねる長期目標や設計方針。
- Artifact: Ticket や Worker 実行に紐づく成果物や証跡。diff、log、validation result、review result、report など。
- Memory: エージェントやユーザーが再利用するための要約された文脈。Ticket や Artifact の正本ではない。
- Skill catalog: `.yoi/skills` / builtin skills から Workspace backend が解決する procedural guidance catalog。外部状態 authority は持たず、Ticket / Worker / workdir などの操作は typed feature/tool surface が担う。
- Actor: 人間、エージェント、システム、外部サービスなど、Workspace 上で操作や発言を行う主体。
## Motivation / background
現在の Yoi は、ローカルの `.yoi` ディレクトリ、ローカルプロセス、Ticket ファイル、ワークツリー運用によって、自分自身の開発に使えるエージェント実行環境になっている。しかし、チーム利用、Web UI、リモート実行、クラウド実行、最終的な SaaS 提供を考えると、次の前提を変える必要がある。
- Workspace を Git Repository root と同一視しない。
- ローカル filesystem 上の `.yoi` を、長期的なチーム用正本 store にしない。
- Ticket をローカル作業メモではなく、チームの作業調整 record にする。
- 実行証跡は Ticket thread、Artifact、WorkerRef snapshot、Runtime event として扱い、独立した実行単位概念を先に増やさない。
- 管理システムと Runtime を分ける。
- まず Web から Ticket、Objective、Memory、Skill catalog、Artifact、Runtime / Worker state を見られるようにする。
- 最初はローカル Runtime を使い、後でリモート Runtime、クラウド Runtime、runtime pool、resource allocation、quota、billing、sandboxing に拡張する。
- Git ホスティング機能を取り込むのではなく、Git Repository / worktree / clone は Repository provider と working directory materialization の手段として扱う。
OSS として Control plane、Runtime、Web frontend、protocol を公開しつつ、managed service では hosted control plane、runtime fleet、リソース柔軟性、team auth、backup、audit、availability、multi-tenant operations で価値を出す。
## Strategy / design direction
### 1. Control plane を先に作る
Team Workspace の正本は server-side control plane に置く。`.yoi` は local backend、single-user/self-hosted compatibility、offline/export/import、local projection、migration bridge として残せるが、multi-user SaaS の正本とはみなさない。
Control plane は Ticket、Objective、Memory、Skill catalog、Artifact、Actor、Permission、Audit、Repository、Runtime / Worker state を管理する。Web UI、CLI、TUI、将来の desktop client は、この Control plane を操作する client であり、別の正本 store を持たない。
### 2. Workspace と Repository を同一視しない
Workspace はチームまたはプロジェクトの作業管理単位である。Repository は Workspace に接続される source/storage である。Git Repository は Repository の一種にすぎない。
1 つの Workspace は複数の Repository を持てる。Repository は filesystem path ではなく URI / URL で識別する。例として `git+https://...``file://...``s3://...``artifact://...`、将来の VCS provider URI などを扱えるようにする。
Ticket と Objective は Repository 配下に置かず、Workspace 配下に平たく持つ。Ticket は必要に応じて対象 RepositoryId、RepositorySelector、path scope、必要 capability を持つ。Objective は複数 Ticket にまたがる target default / scope hint を持てるが、Repository の所有物にはしない。
RepositorySelector は Git branch/tag の抽象化ではない。Selector は provider-specific な未解決 locator であり、Git provider なら branch/tag/ref/revspec/PR/commit、Mercurial provider なら bookmark/revset/changeset、SVN provider なら path/revision、object store provider なら prefix/version/latest などを解釈する。実行時には Control plane または Repository provider が Selector を RepositoryPoint に解決し、Runtime はその RepositoryPoint を materialize する。
Worker launch request は Ticket の target selector を concrete RepositoryPoint に解決し、その RepositoryPoint から Runtime が working directory を materialize する。Git worktree 相当の機能は、この working directory を作るための実装戦略として扱う。
Backend は cwd や `--workspace` を暗黙の Repository として扱わない。`--workspace` は当面 workspace config root / local descriptor root を指すだけであり、Repository registry は明示設定された Workspace config から構築する。短期的には `.yoi/workspace-backend.local.toml``[[repositories]]` を local descriptor として使い、`uri = "."` のような local repository も明示 entry として登録する。`./` を暗黙 Repository として自動採用しない。
`.yoi` は現在の local backend / fs-store / compatibility surface として残るが、long-term Backend store ではない。将来的には `~/.yoi` 側に Backend store と Workspace registry を置き、1 Backend process が複数 Workspace を扱える形へ移行する。`.yoi/workspace-backend.local.toml` はその移行までの workspace-local descriptor / override surface として扱う。
短期的には Git を主な Repository provider とする。ただし Yoi の authority model を Git object、Git branch、Git Repository root、worktree path に固定しない。Orchestration は Git そのものではなく、`resolve_ref``materialize``diff``patch``commit``merge` などの Repository capability に依存する。
### 3. Ticket を team coordination record にする
Ticket は実行そのものではない。Ticket は「何を、なぜ、どの条件で完了とみなすか」を持つ。Ticket は Workspace に平たく所属し、Repository には所属しない。コードやドキュメントを対象にする Ticket は、対象 Repository / ref selector / path / intent を target として持つ。
Ticket target は intent/selector であり、実行再現性のための immutable point ではない。Worker launch request が target selector を concrete RepositoryPoint に解決し、Runtime が実際にどの revision/snapshot を materialize したかを Artifact / evidence として記録する。
```text
Ticket
-> target selectors: Repository + ref selector + path + intent
-> resolved RepositoryPoint
-> working directory
-> WorkerRef / Artifact / Evidence
-> Review / Decision
-> Audit / Notification
```
Target 例:
```text
Ticket targets:
- repository: main-code
role: primary
ref: develop
paths: ["crates/pod/"]
intent: change
- repository: docs
role: related
ref: main
paths: ["docs/development/"]
intent: read
Worker launch materialization:
- repository: main-code
requested_ref: develop
resolved_point: git commit abc123
mount: /workspace/main-code
```
Ticket には次の概念が必要になる。
- Actor identity: human / agent / system / service account.
- Assignment / owner / reviewer / watcher.
- Typed thread events: comment, decision, plan, review, implementation report, state transition.
- Linked Objective / Artifact / WorkerRef / Repository / RepositoryPoint / working directory.
- Permission / visibility.
- Audit trail.
- Notification / mention.
- Board / queue / planning / review / done / archived views.
- Conflict handling and concurrent editing policy.
### 4. Memory / Skill catalog の本格再設計は後回しにする
Memory は Ticket / Artifact のコピーではない。再利用可能な文脈、方針、学習された制約を扱うが、Ticket や Artifact の authority を置き換えない。Skill catalog は procedural guidance の catalog であり、外部状態 authority を持たない。Knowledge record kind は削除方針なので、この Objective では separate Knowledge storage を新しい control plane entity として増やさない。
理由は、Memory と Skill catalog の正しい設計が Workspace control plane の record model、Actor / visibility / permission、Ticket、Artifact / evidence、RepositoryPoint、Runtime に渡す context の監査方法に依存するためである。これらが固まる前に Memory schema や Skill API だけを作ると、local `.yoi` 前提や現行 agent runtime 前提に引っ張られ、後で再設計が必要になる。
この Objective では、Memory / Skill catalog について以下の platform contract だけを維持する。
- Memory は Control plane が扱う record だが、Ticket / Artifact の authority を置き換えない。
- Skill catalog は Workspace backend が扱う prompt/resource catalog だが、Ticket / Worker / workdir / queue の authority を持たない。
- 将来、Memory と Skill catalog の canonical storage / API は Workspace control plane 側に置く。
- local `.yoi` memory と `.yoi/skills` は compatibility、offline/export/import、local projection、migration bridge として扱う。
- Personal Memory、Workspace Memory、Worker Summary、Skill catalog は分離が必要である。
- Generated Memory には provenance、visibility、approval、audit が必要である。
- Runtime / Worker に渡した Memory / Skill context は、将来 ContextPack などとして Artifact/evidence に記録できる必要がある。
本格的な Memory 再設計は、Memory の保存先を Workspace backend / control plane record に移すタイミングで回収する。それまでは低リスクな観察、問題例の収集、既存 local memory の互換維持に留める。
### 5. Control plane / Runtime を分離する
Control plane は正本と調整を持つ。Runtime は Worker 群と実行基盤を管理する。初期実装では local backend と runtime process が同じマシン上にあり、役割が近く見えるが、設計上は分ける。
初期形:
```text
Web UI / Control Plane
-> Runtime registry / local backend
-> Runtime process
-> Workers
-> Existing Yoi tools, working copy, build/test commands
```
この段階では、現在ローカル管理画面が行っている Ticket 選択、エージェント起動、レビュー起動、作業用 checkout 作成、検証実行、結果表示を、Web/control plane から local Runtime に対して実行できるようにする。
長期的には Runtime が作業環境の用意まで請け負う。Runtime は Worker launch request / config bundle / repository target / authority を受け取り、必要な checkout、worktree、container filesystem、sandbox mount、cache、secret boundary を準備して Worker を起動する。Runtime 起動時に特定 Workspace path を必須にする形は暫定であり、Workspace / Repository 情報は Runtime process 起動引数ではなく Worker launch request 側の入力に寄せる。
Sandbox と authority 分離が成立している前提では、1 つの Runtime が複数 Workspace / Repository の Worker を抱えられる。したがって Runtime identity は Git repository root や single workspace directory と同一視しない。Runtime は execution substrate、Workspace は作業管理 record の正本として扱う。
Worker の作業環境を用意する経路は次のようにまとめる。
```text
Ticket / user intent
-> RepositoryId + RepositorySelector + path scope + required authority
-> resolved RepositoryPoint
-> WorkerLaunchRequest / ConfigBundle / AuthorityBundle
-> Runtime WorkingDirectoryMaterializer
-> working directory allocation
-> Worker process
-> WorkerRef + Artifact/evidence
```
Control plane は Workspace authority、Ticket target、Repository registry、Actor permission、設定 bundle の正本を持つ。Control plane または Repository provider は RepositorySelector を RepositoryPoint に解決し、どの地点を対象にしたかを evidence に残す。Runtime は RepositoryPoint、materialization policy、sandbox policy、mount/cache/secret policy、Worker config を受け取り、Runtime-local な working directory を確保して Worker を起動する。
この境界では、Worker は host filesystem path や Repository credential を自分で発見しない。Worker は Runtime が materialize した working directory root、mount、環境変数、tool authority、config bundle だけを見る。Runtime は working directory の lifecycle、cleanup、cache reuse、namespace、quota、sandbox boundary、event collection を管理する。Control plane / Browser-facing API は raw host path、secret、socket、internal runtime path を authority-bearing internals として扱い、必要な evidence だけを Artifact として公開する。
v0 materializer は existing local root を明示的な working directory として返してよい。ただし型と呼び出し順序は、後で Git worktree、clone、sparse checkout、container filesystem、remote object snapshot、multi-repository mount に置き換えられる形にする。Runtime process 起動時の `--workspace` はこの v0 materializer の legacy bootstrap input であり、Runtime identity や long-term workspace binding ではない。
その後で、remote Runtime、self-hosted Runtime、hosted cloud runtime fleet、runtime pool、resource allocation、quota、billing、sandbox、network policy、secret distribution を追加する。
```text
Phase 1: Web control plane + local Runtime
Phase 2: Remote/self-hosted Runtime
Phase 3: Hosted cloud runtime fleet
Phase 4: Resource allocation / scheduling / quotas / billing / isolation
```
### 6. Web frontend を先に作る
Desktop app は対応コストが高いので、まず Web frontend を primary UI とする。
- Web: チームで使う主要 UI。
- CLI: automation、scripting、local operations。
- TUI/local panel: fallback、dogfooding surface。
- Future desktop: Web/control-plane model が安定した後に検討する optional client。
Web UI は Ticket、Objective、Memory、Skill catalog、Runtime、Worker、Artifact を扱う。UI の都合で正本を二重化しない。
### 7. 多重起動コストと runtime placement を見直す
Cloud/remote execution を成立させるには、多数のエージェント実行を安く管理できる必要がある。logical Worker session と Runtime process/resource placement を分ける。Runtime は Git Repository root や Workspace path に固定されず、request ごとに必要な working directory を materialize できる実行基盤として扱う。
初期 Workspace DB では、Worker を canonical table として永続化しない。Runtime / Worker 一覧は backend-local runtime inspection や将来の Runtime protocol から逐次取得する live view とし、Ticket に関わった Worker は Ticket thread events と WorkerRef snapshot / TicketWorkerLink として記録する。
Worker の一元管理、データ永続化、アーカイブは将来的には必要になる。これは Runtime protocol、remote/self-hosted/hosted runtime lifecycle、worker identity、retention policy、audit requirements が固まった後に、dedicated Worker registry / archive model として追加する。v0 で Pod metadata の代替として Worker table を作らない。
検討対象:
- Worker identity と Runtime process/resource placement の分離。
- 1 Runtime が複数 Workspace / Repository の Worker を抱える場合の namespace、quota、cleanup、audit boundary。
- Runtime-side working directory materialization、sandbox、mount、checkout/worktree/container filesystem の責務。
- Provider client、tool registry、resource cache の共有可能性。
- Prompt/resource/profile/config bundle resolution cache。
- Model call multiplexing and scheduling。
- Tool execution sandbox reuse。
- Plugin instance / Service runtime との統合。
- Session/event stream と runtime lifecycle の分離。
- Runtime-local cache、checkout reuse、build cache、dependency cache。
## Initial phases / candidate tickets
1. **Vocabulary / architecture record**
- Workspace / RepositoryId / RepositorySelector / RepositoryPoint / working directory / Runtime / Worker / Control Plane / Ticket / Memory の用語と境界を固める。
2. **Team-space canonical data model**
- Ticket / Objective / Target / Artifact / Actor / Permission / Audit / Memory の entity/event model を設計する。
3. **Ticket evidence model**
- Ticket lifecycle、WorkerRef、Artifact、validation evidence、review evidence、Ticket thread の責務を明確化する。
4. **Memory storage migration boundary**
- Memory の本格再設計は後回しにし、まずは Workspace backend に移す時の platform contract、compatibility/cache/export 方針、将来の provenance / visibility / approval 要件だけを固定する。
5. **Control plane backend architecture**
- local `.yoi` backend と server-side canonical backend の境界、migration/export/import、compatibility mode を設計する。
6. **Web control plane MVP design**
- read-only Ticket / Objective / Memory / Runtime / Worker state UI/API の範囲を決める。
7. **Local Runtime protocol design**
- Web/control plane から local Runtime に安全な操作を送り、Runtime が Worker lifecycle と working directory materialization を担う protocol と authority boundary を設計する。
8. **Repository and working directory materialization model**
- Repository URI、Repository provider capability、RepositorySelector resolution、RepositoryPoint evidence、Git worktree / clone / sparse checkout / future source backend を Runtime-side materialization strategy として抽象化する。
9. **Remote/hosted runtime foundation**
- runtime registration, heartbeat, capability advertisement, job assignment, logs/events, secrets, sandbox/resource policy を設計する。
## Non-goals
- Git hosting service を作ること。
- `.yoi` filesystem をそのまま SaaS canonical store にすること。
- 最初から full hosted cloud execution を作ること。
- local execution / CLI / TUI / local panel を捨てること。
- Ticket を単なる issue tracker clone にすること。
- Memory を Ticket/Artifact audit log の代替にすること。
- Web UI のために core authority を二重化すること。
- hidden server state を LLM context に直接注入すること。
- multi-tenant auth/billing/secret/security を shortcut して実装すること。
## Success criteria / exit conditions
- Workspace / RepositoryId / RepositorySelector / RepositoryPoint / working directory / Runtime / Worker / Control Plane / Ticket / Memory の境界が文書化されている。
- Ticket が team coordination record として、target selector / Artifact / Actor / Permission / Audit と分離された model を持つ。
- `.yoi` local backend は compatibility/local backend として整理され、server-side canonical backend の設計を阻害しない。
- Web UI/API が Ticket / Objective / Runtime / Worker state を中心とした read-only view を提供できる設計または MVP を持つ。Memory は既存 record の表示または将来 placeholder に留め、本格再設計をこの段階の必須条件にしない。
- Control plane から local Runtime に対して、現在のローカル管理画面相当の安全な操作を実行できる design/protocol がある。
- Runtime は single Workspace / Git repository root 専用 process ではなく、sandbox/authority が成立すれば複数 Workspace / Repository の Worker を抱えられる execution substrate として設計されている。
- Git Repository root に依存しない Workspace model があり、Git Repository は Repository provider の一種として扱われている。
- Ticket と Objective は Workspace 配下に平たく存在し、Repository への所属ではなく RepositoryId / RepositorySelector / path scope / intent で対象を表現する。
- Git worktree 相当は working directory materialization strategy として扱われ、Artifact/evidence が concrete RepositoryPoint を記録する。
- Memory は Ticket / Artifact の authority を置き換えない record として platform contract だけを持つ。本格的な意味論・抽出・承認・検索・staleness 処理は、Memory の保存先を Workspace backend / control plane record に移すタイミングで回収する。
- Hosted Runtime / resource allocation / SaaS offering に進むための後続 Ticket が切れる状態になっている。
- 既存 local dogfooding runtime を壊さず、local use と remote-capable architecture が両立している。
## Decision context
- Yoi は hosted Git tool ではなく、team workspace control plane + Runtime execution environment として設計する。
- Team-space の長期 canonical authority は server-side control plane に置く。local `.yoi` は互換/local/offline/export/import surface だが、multi-user SaaS の正本ではない。
- 実行環境と管理システムは弱結合にする。まず管理システムを独立させ、local Runtime を実行環境として接続する。その後に remote/self-hosted/hosted runtime fleet へ進む。
- Runtime は Worker 群を束ねる実行基盤であり、将来的には作業環境の用意、sandbox、mount、checkout/worktree/container filesystem、cache、secret boundary を Worker launch request ごとに準備する。Runtime process は single Workspace / Git repository root 専用に固定しない。RepositorySelector は provider-specific な未解決 locator、RepositoryPoint は解決済み evidence として扱う。
- Web frontend を最初の primary team UI とする。Desktop app は web/control-plane model が安定した後に検討する。
- Git は重要な Repository provider / materialization backend として使うが、Workspace identity と authority を Git Repository root に固定しない。
- Ticket と Objective は Workspace 配下に平たく持つ。対象コードベースや地点指定は RepositoryId / RepositorySelector / path scope / intent として表現し、Worker launch materialization が concrete RepositoryPoint に解決する。
- Backend Repository は cwd inspection ではなく、Workspace config の明示 Repository registry から構築する。`--workspace` は Repository ではなく workspace config root / local descriptor root を指す。
- `./.yoi` は local descriptor / fs-store / compatibility surface であり、将来の Backend canonical store と Workspace registry は `~/.yoi` 側へ寄せる。
- Memory の本格再設計は後回しにする。先に Workspace / Ticket / Repository / Runtime/Worker live view / Control plane の基盤を固め、Memory の保存先を Workspace backend に移すタイミングで、意味論・抽出・承認・検索・staleness 処理をまとめて回収する。
- Worker の一元管理・データ永続化・アーカイブも後続設計に回す。初期 DB では Worker を Pod metadata の代替として永続化せず、live view と Ticket-linked WorkerRef 記録に留める。
+289
View File
@@ -0,0 +1,289 @@
---
title: "効果的な Memory システム設計・検証"
state: "active"
created_at: "2026-06-20T15:16:00Z"
updated_at: "2026-07-17T23:10:00Z"
linked_tickets: ["00001KSKBPHRG", "00001KT02TCCG", "00001KTGCAFXG", "00001KSKBPTHR", "00001KXMEZNYC", "00001KXMK7YMC", "00001KXNYXNM6", "00001KXRM6G0G", "00001KXS56AS5", "00001KXMK846H"]
---
## Goal
Yoi の Memory / Knowledge / Skills / generated context / resident context / retrieval / usage metrics を、実際の開発・設計・レビュー・オーケストレーションに効く sensemaking substrate として再設計・検証する。Memory は短期・変化前提の context、Knowledge は育てる long-term note、Skill は移植可能な workflow として分け、この Objective ではそれらと authority record / docs / typed tools の境界を再整理する。
この Objective でいう「効果的な Memory システム」は、単に多く保存する仕組みではなく、作業中の問いに対して relevant material を集め、根拠を検証可能にし、再表現・仮説形成・反証探索・意思決定・成果物への反映を低コストにする仕組みである。
暫定的な定義:
- foraging cost を下げる: Ticket / Objective / current question に対して、関連する memory / docs / tickets / session evidence / code references を探しやすい。
- evidence を失わない: Memory が authority そのものにならず、Ticket / docs / git history / session logs / user instruction への検証可能な入口になる。
- schema 化を支援する: raw summary ではなく、subsystem、invariant、risk、authority boundary、open question、rejected alternative、hypothesis など推論しやすい形へ再表現できる。
- hypothesis loop を支援する: 支持証拠だけでなく、代替仮説・棄却理由・反証 evidence・stale assumption を扱える。
- product に戻る: Memory に保存して終わりではなく、Ticket、review、docs、implementation、decision、report に影響を戻せる。
- stale / contradiction を扱う: 古い前提、矛盾、適用範囲外の memory を検出・降格・更新できる。
- usage を成果基準で測る: resident exposure や read count ではなく、判断・レビュー・実装・docs に効いたかを観測できる。
## Motivation / background
現在の Memory システムは「墓場化」している。保存された情報はあるが、後続の作業で自然に使われにくく、使われたとしても根拠・適用範囲・鮮度・反証可能性が弱い。結果として Memory は、作業場ではなく古い結論の倉庫になりやすい。
Pirolli & Card 2005 の sensemaking model では、分析作業は単なる保存ではなく、次の変換として捉えられる。
```text
external data sources
-> shoebox
-> evidence file
-> schema / representation
-> hypotheses
-> presentation / product
```
Yoi の現行 Memory は、この流れのうち「保存」と「一部の検索」には対応しているが、少なくとも以下が弱い。
- Ticket / task / question ごとの shoebox がない。
- shoebox から evidence snippets を切り出し、source / provenance / applicability / confidence と共に扱う evidence file がない。
- `summary`, `decision`, `request` は durable memory storage taxonomy であり、sensemaking 用 schema としては粗い。Knowledge は古い record kind をそのまま残すのではなく、育てる long-term note subsystem として再設計する。再利用可能な手順は Skill、保守された設計資料は Knowledge / docs / Ticket decisions に寄せる。
- decision は残るが、hypothesis space、alternative、rejected reason、disconfirming evidence が残りにくい。
- reviewer / orchestrator が confirmation bias を避けるための反証探索導線が弱い。関連する手順誘導は旧 Workflow ではなく Skill と role prompt / typed tools へ寄せる。
- resident exposure と explicit retrieval は観測できても、Memory が product に効いたかは測りにくい。
この Objective は、Memory 関連の設計・検証・検討・考察を一元化し、個別 Ticket がばらばらに storage、prompt、retrieval、metrics を改善して再び墓場を増やすことを防ぐための判断背景である。
## Strategy / design direction
Memory を「長期保存領域」ではなく、Yoi の multi-agent 開発における sensemaking loop の支援機構として設計する。
### 1. Pirolli & Card の stage に合わせて責務を分ける
- external data sources: Tickets、docs、git history、session logs、reports、code、user instructions。
- shoebox: 特定 Ticket / Objective / design question に対して関連しそうな材料を集めた task-bound working set。
- evidence file: shoebox から抜き出した根拠 snippet。source anchor、支持/反証、適用範囲、confidence、staleness を持つ。
- schema / representation: subsystem、invariant、risk、authority boundary、open question、hypothesis、alternative、contradiction など、推論しやすい再表現。
- hypotheses: 採用前の設計仮説、代替案、棄却条件、反証 evidence。
- product: Ticket、review、docs、implementation、decision、report、orchestration plan などの成果物。
### 2. 最初の重点は task-bound shoebox と evidence file
Memory 墓場化の最初の原因は、保存情報が現在の問いに集まらないことである。まずは Orchestrator / Intake / Reviewer が Ticket を扱う時に、関連 memory / docs / tickets / reports / prior decisions を shoebox として束ねる導線を作る。
この段階では大きな永続 schema 追加に飛びつかず、report / Ticket artifact / bounded generated context として検証してよい。
### 3. Session Overview を extract の足場にする
現在の extract は、tool call / tool result summary を含む flat slice から意味を復元しようとして断片化しやすい。改善方針は、main Worker が通常 Assistant Message として Progress message を残し、user messages + Assistant messages を Session Overview として先に読む形にする。
- Progress message は専用 Tool ではなく通常 Message とし、ユーザーへの進捗報告と extract 用 semantic summary を兼ねる。
- extract worker には専用の read-only evidence tools を渡し、Overview で重要そうに見えた箇所だけ session range / tool summaries / source anchors を探索させる。
- extract worker は Memory / Knowledge / Skill を直接更新しない。output は必ず staging を挟み、source / provenance を host 側で機械的に保持する。
- trigger は初期実装では現行通り Worker run cycle 完了後の threshold 判定にする。LLM call 単位や Run 中の Overview accumulation trigger は含めない。
### 4. Memory を authority にしない
Memory は Ticket、docs、git history、session logs、user instruction の代替ではない。Memory は authority record への evidence index / schema / reasoning aid として扱う。
したがって、改善案は次の性質を持つべきである。
- source / provenance を辿れる。
- stale / superseded / contradicted を扱える。
- Memory の断定をそのまま authority として使わない。
- Ticket body/thread/artifacts を読まずに Objective や Memory だけで実装判断できる状態を作らない。
### 5. 反証探索を first-class にする
より効果的な Memory は、過去方針を思い出すだけでなく、現在案を疑うために使える必要がある。
Reviewer / Orchestrator / Intake の導線では、次を探せるようにする。
- supporting evidence
- contradicting evidence
- stale decisions
- rejected alternatives
- unresolved questions
- authority boundary risks
- prior failures / reports
### 6. Metrics は exposure から product impact へ寄せる
Memory が prompt に入った、または query されたことは成功ではない。評価は次を区別する。
- resident exposure
- explicit retrieval
- cited in response
- cited in Ticket / review / report
- changed requirement
- changed implementation
- contradicted / invalidated
- led to docs or decision update
### 7. 後続 Ticket は concrete slice に分割する
この Objective は中期的な設計・検証の一元化 record であり、umbrella Ticket ではない。実装や調査は、単独で実装・レビュー・close できる concrete Ticket に分割する。
候補 slice:
- Memory sensemaking 分析 report を `docs/report/` に作る。
- Ticket routing 用 Memory shoebox artifact を試作する。
- evidence snippet schema / source resolver を設計する。
- hypothesis / rejected alternative / disconfirming evidence の表現を追加する。
- Reviewer Skill / review process に反証探索を入れる。
- Memory usage metrics を product impact oriented に拡張する。
- stale / contradiction / renewal の検出・表示を設計する。
- turn 中の Progress message を通常 Assistant Message として残す prompt/guidance を追加する (`00001KXMEZNYC`)。
- Session Overview + Evidence index を使う extract input を設計・実装する。
- extract worker 専用の read-only evidence search/read/source-anchor tools を設計する。
- extract output を staging に限定し、source range と output entry を結びつける schema を設計する。
## Success criteria / exit conditions
- Memory システムの目的が「保存」ではなく「sensemaking loop 支援」として project records / docs / prompts / Skills で一貫して説明されている。
- Pirolli & Card の `shoebox -> evidence file -> schema -> hypotheses -> product` に対応する Yoi 内の責務と非責務が整理されている。
- Ticket / Objective / docs / session logs / Memory / Skills の authority boundary が明確で、Memory が authority を僭称せず、Skill は手順資源として外部状態 authority を持たない。
- 少なくとも一つの実作業 routing / review / design analysis で、task-bound shoebox または evidence file が生成・利用され、作業品質にどう効いたかが確認されている。
- Memory records または関連 artifacts が source / provenance / applicability / staleness / supports-or-refutes のいずれかを扱えるようになっている。
- extract が User / Assistant messages 由来の Session Overview を primary input とし、tool logs を evidence として探索できる設計になっている。
- extract worker 専用の read-only evidence tools が設計され、main Worker の tool surface を増やさない方針になっている。
- extract output は direct Memory / Knowledge / Skill write ではなく staging を挟む方針になっている。
- Reviewer / Orchestrator が supporting evidence だけでなく、contradicting evidence / stale assumptions / rejected alternatives を探す導線を持っている。
- Memory usage metrics が resident exposure と product impact を区別している。
- 古い Memory が放置されるのではなく、stale / superseded / contradicted / needs-review として扱える方針がある。
- 後続の実装 Ticket が concrete slice として分割され、Objective が Ticket dependency や進捗 container として使われていない。
この Objective は、Memory が少なくとも一つの中規模設計・実装・レビュー作業で「関連情報を見つける」「根拠を確認する」「代替案/反証を検討する」「成果物へ反映する」流れを実証し、その設計方針が docs / Skills / metrics に反映された時点で `done` を検討できる。
## Decision context
- ユーザー指摘: 「Memoryシステムが完全に墓場化している」。これは保存量不足ではなく、保存情報が現在の問い・根拠・仮説・成果物に接続されない問題として扱う。
- ユーザー指示: Memory システムの設計・検証・検討・考察を Objective にまとめ、より効果的な Memory システムを作成する目標のもとで情報を一元化する。
- 「効果的」の定義は未確定だが、当面は Pirolli & Card の sensemaking process に沿って、foraging cost、evidence quality、schema usefulness、hypothesis/disconfirmation support、product impact、staleness handling を評価軸にする。
- Memory は durable project authority ではない。Ticket、docs、git history、session logs、明示 user instruction の代替として使わない。
- Objective context は判断背景であり、個別実装の authority は各 Ticket body/thread/artifacts と明示的な Ticket relations / OrchestrationPlan records にある。
- `history` に残らない context-only injection を改善案にしない。新しい context input は history に commit する原則を守る。
- Knowledge は古い unused record kind をそのまま残すのではなく、育てる long-term Markdown note subsystem として再設計する。再利用可能な手順・作法は Agent Skills (`.yoi/skills/<skill>/SKILL.md`) へ、durable policy/rationale は Knowledge / maintained docs / Ticket decisions へ、外部状態 authority は typed feature/tool surface へ分ける。
- Generated memory / Ticket / docs / report / Skill の境界を再定義する場合は、authority boundary と migration/staleness を明示する。
- 関連する既存 Ticket:
- `00001KSKBPHRG` — Prompt / Workflow 評価メトリクスと改善 Offer
- `00001KT02TCCG` — Memory prompt: conditional guidance and proactive lookup
- `00001KTGCAFXG` — Use .yoi/memory marker for repo-local memory root
- `00001KSKBPTHR` — ワークスペースのメモリーをLintするヘッドレスCLI
- `00001KXMEZNYC` — ターン中のProgress messageを残す指示を追加する
## Historical references / prior design sources
現在の Memory システムの初期設計時には、Codex Memories / Chronicle と HermesAgent を明示的な参考事例として調査していた。関連する調査・設計記録は、現在は主に以下に退避されている。
- `docs/.local/old-docs/ref/memory-systems.md`
- `docs/.local/old-docs/plan/memory.md`
- 初期設計 commit: `ca5a3d11``2026-04-21 メモリシステムの設計`
- 関連 commit:
- `0c1276b7``Memoryシステムの整理・Promptカタログチケット`
- `3d04f793``memoryを抽出する仕組みの実装`
- `f1b7af62``docs: memoryシステムの仕様変更と、動的Tool・VCSの話`
- `a2aecbf0``update: memoryシステムの"Phase"表記を撤廃`
### Codex Memories / Chronicle から得た設計要素
旧設計では、Codex Memories / Chronicle を `extract -> staging -> consolidation -> durable Markdown memory` の非同期パイプラインとして捉えていた。
主な参照点:
- extract と consolidation の 2 段構成。
- extract は JSON schema / structured output で分類ブレを抑える。
- consolidation は reasoning model / agentic rewrite によって、既存 memory と staging entries を統合・整理する。
- staging と durable memory を分ける。
- `MEMORY.md` は retrieval-oriented handbook として扱う。
- `memory_summary.md` は prompt-loaded high-signal context として扱う。
- `raw_memories.md` は routing layer / task inventory 的な中間層として扱う。
- workspace diff や usage 情報を使い、stale / deleted evidence / noisy entries を整理する。
- consolidation は append だけでなく、rewrite / merge / split / trim / drop / cleanup を担う。
Yoi 初期設計では、これを参考に以下を意図していた。
- activity token 閾値で extract を発火する。
- compact より前に session log range を抽出する。
- extract は `decisions`, `discussions`, `attempts`, `requests` などの候補を staging に保存する。
- 抽出時点では durable policy / Skill / docs へ早期分類せず、純粋な「起きたこと」に寄せる。
- consolidation が summary / decisions / requests と、必要に応じた docs / Skill / Ticket decision 更新候補を整理する。
- consolidation 入力に linter warnings / usage metrics / stale cleanup 候補を含める。
- stale / superseded / unused / noisy な情報を整理する。
この Objective での再解釈:
- Codex の `raw_memories.md` は、Pirolli & Card の sensemaking model では `shoebox` または `evidence file` に近い。
- Yoi は extract / consolidation という pipeline だけを継承しても不十分であり、task-bound shoebox / evidence file / hypothesis loop / product feedback がなければ Memory は再び墓場化する。
- 特に、staging を consolidation の一時入力としてだけ扱うと、後続 Ticket / Objective / review が使う探索入口にならない。
- Yoi では `raw memories` 相当の中間層を、現在の問いに紐づく working set / evidence index として再設計する必要がある。
### HermesAgent から得た設計要素
旧設計では、Nous Research HermesAgent を 3 層の memory system として整理していた。
- Persistent Memory:
- `MEMORY.md` / `USER.md`
- Markdown + SQLite / FTS5 session search
- 起動時 system prompt snapshot
- bounded character limits
- Skill Library:
- procedural memory
- `~/.hermes/skills/<name>/SKILL.md`
- `skill_manage` tool による agentic CRUD
- User Model / Honcho:
- dialectic user modeling
- 外部 service 連携
HermesAgent で特に重要だった点:
- memory / skill review は一定 turn / tool iteration ごとに background agent として起動する。
- 保存すべきものがなければ `Nothing to save.` で NOP として終了する。
- Yoi extract の「空配列許容」はこの設計からも影響を受けている。
- memory は session start 時の frozen snapshot として system prompt に入り、mid-session write で prompt cache を壊さない。
- persistent memory は bounded で、limit 超過時は deterministic eviction ではなく、agent に replace / remove を促す。
- procedural memory / skills は一般 memory から分離されている。
- SQLite FTS5 + LLM summarization による cross-session recall がある。
この Objective での再解釈:
- HermesAgent の `MEMORY.md` / `USER.md` / `skills` の分離は、Yoi の Memory / Knowledge / Skills / prompt resources / docs / Ticket decision / generated memory の責務再整理に使える。
- Yoi は foreground isolation 自体をすでに持つため、取り入れるべきなのは isolation そのものではなく、Overview を足場にした maintenance / extraction の質改善である。
- main Worker が通常 Assistant Message として残す Progress message は、人間向け進捗報告と machine-readable session overview を兼ねられる。
- extract worker は専用 read-only evidence tools で必要箇所だけ探索し、direct write ではなく staging に出力する。
- reusable procedure, reviewer focus, orchestration tactic, project preference, user preference, design invariant を同じ Memory bucket に入れると墓場化しやすい。
- `Nothing to save.` / empty extraction allowed は重要だが、保存抑制だけでは効果的な Memory にはならない。保存されたものが task-bound shoebox / evidence / schema / hypothesis / product に接続される必要がある。
- frozen snapshot / prompt cache 配慮は Yoi の history/context 加工原則と整合するが、それだけでは retrieval / resurfacing / disconfirmation は解決しない。
### Lessons for the next design iteration
Codex と HermesAgent の調査から、Yoi が継承すべきものと、継承するだけでは足りないものを分ける。
継承すべきもの:
- structured extract と agentic consolidation の分離。
- staging / raw memories / durable memory の分離。
- 保存対象がなければ NOP にする発火設計。
- prompt-loaded summary と durable retrieval-oriented memory の分離。
- stale / noisy / unused entries の cleanup。
- procedural memory と declarative memory の分離。
- session search / usage metrics / linter feedback を consolidation に入れる設計。
- user / Assistant messages から作る Session Overview を semantic guide にし、tool logs を evidence として探索する設計。
足りないもの:
- Pirolli & Card の sensemaking stage における各 record の役割定義。
- Ticket / Objective / current question に紐づく task-bound shoebox。
- authority record へ戻れる evidence file / provenance / source anchor。
- hypothesis, alternative hypothesis, rejected reason, disconfirming evidence の first-class 表現。
- reviewer / orchestrator が confirmation bias を避けるための反証探索導線。
- resident exposure や read count ではなく product impact を測る metrics。
- stale / contradiction / renewal を作業中に resurfacing する導線。
したがって、次の Memory 設計は Codex / HermesAgent の単純なコピーではなく、以下を満たす必要がある。
```text
external data / sessions / tickets / docs / code
-> task-bound shoebox
-> evidence file with provenance
-> schema / representation
-> hypotheses and disconfirmation
-> Ticket / review / docs / implementation / decision product
-> product impact and stale-feedback metrics
```
この Objective では、以後の Memory 関連 Ticket / report / implementation をこの historical reference と sensemaking model の両方に照らして判断する。
@@ -0,0 +1,916 @@
---
created_at: "2026-07-15T21:33:00Z"
updated_at: "2026-07-16T18:20:00Z"
objective: "00001KVJSMQXZ"
status: "architecture-draft"
notes: "Memory / Knowledge / Skills を別々の workspace resource として再設計するための draft architecture。この文書は Objective resource であり、実装 authority ではない。"
---
# Memory / Knowledge / Skills architecture overview
## 1. Position
Yoi は **Memory**、**Knowledge**、**Skills** を 1 つの汎用 record store に押し込めず、別々の resource class として扱う。
最初に固めるべきなのは、成果物が人間に読める形で成長できる workspace resource model である。Pirolli & Card の sensemaking process は有用な背景知識だが、storage taxonomy を shoebox / evidence / hypothesis として先に固定しない。sensemaking は Memory / Knowledge / Skills の上に乗る usage pattern として扱う。
Target split:
- **Memory**: 短期 fact、嗜好、現在の focus、進行中の context。変化する前提で書く。
- **Knowledge**: 長期的に育てる note。人間と agent が改訂し、相互リンクで mesh を形成し、durable project understanding として読めるもの。
- **Skill**: Agent Skills format に従う、移植可能で確立された手順・workflow。
この文書の中核は次の 2 つである。
1. resource class の境界を明確にする。
2. session から extract / staging / consolidation を経て resource に至る pipeline の責務を明確にする。
## 2. Design goals
- 人間が読め、成長できる artifact を作る。
- 一時的な model summary だけでは足りない。
- 有用な成果は Knowledge note、Skill、Ticket decision、doc、report に育てられるべき。
- 揮発的なものと durable なものを分ける。
- 短期 context が長期 note を汚染しないようにする。
- 長期 note が session extraction のたびに上書きされないようにする。
- 手順と note を分ける。
- 繰り返し使える作業方法は Knowledge note ではなく Skill にする。
- authority boundary を明示する。
- Ticket は work authority を定義する。
- docs と Objective resources は maintained design context を持つ。
- Knowledge notes は育てる project understanding を持つ。
- Skills は execution を guide する。
- Memory は変化する working context と preferences を追跡する。
- typed feature/tool surfaces が external state changes を所有する。
- 可能な限り Workspace backend を resource API の共有 authority にする。
- `WorkspaceClient::Http` が使えるときに、Worker ごとに local view が分岐してはいけない。
## 3. Resource model
### 3.1 Memory
Memory は、agent が作業を継続する助けになる volatile / short-to-medium-term な情報を扱う。長期的な project truth のふりはしない。
Memory record に入るもの:
- 現在の focus。
- user preferences。
- working assumptions。
- authority が別にある recent decisions の要約や pointer。
- 進行中の constraints。
- あとで Ticket / doc / session を再確認するための reminder。
- session から得た observations。
- 変化することが前提の personal / workspace context。
Memory は provisional に書く:
- いつ / なぜ learned したかを書く。
- どの前提で learned したかを必要な範囲で書く。
- staleness / supersession を許す。
- authoritative records を verbatim にコピーしない。
- 可能なら Tickets / docs / Knowledge notes への pointer を優先する。
Memory は resident context と lightweight lookup には有用だが、permanent note system として最適化しない。
#### 3.1.1 Memory storage profile: bounded H2 Markdown file
Memory の初期 storage profile は、bounded な single Markdown file にする。
Memory は Knowledge のような note bundle ではない。1〜3 行程度の short items を H2 section ごとに並べる resident context surface として扱う。
初期 filesystem shape:
```text
.yoi/memory/
memory.md
_staging/
_resolutions.jsonl
```
`memory.md` は H2 section を基本単位にする。
```md
# Workspace Memory
## Current focus
- Memory extract redesign is focused on Overview-first extraction and staging resolution.
Source: Objective 00001KVJSMQXZ. Stale when related tickets close.
## Preferences
- User prefers implementation Tickets, not design-only Tickets.
Source: 2026-07-16 session.
## Working assumptions
- Knowledge should be OKF-compatible, while volatile Memory and staging should not be OKF.
Source: architecture objective.
## Reminders
- Re-check extract/consolidation prompts after staging resolution is implemented.
```
Recommended H2 sections:
- `## Current focus`
- `## Preferences`
- `## Working assumptions`
- `## Constraints`
- `## Reminders`
- `## Stale or superseded`
Each item should stay short. When useful, include `Source` and `Stale when` inline. Long explanations, evidence-heavy analysis, durable rationale, citations, and cross-linked concepts should be routed to Knowledge rather than expanded inside Memory.
The single-file layout is an initial storage profile, not an API contract. Workers, Web, Runtime, and CLI should use the Workspace Memory API view rather than depending on the exact file layout, so storage can later split or evolve without changing the model-visible contract.
#### Memory examples
```text
User preference: prefers direct commits only when explicitly requested.
Source: repeated user corrections in sessions around git operations.
Staleness: revisit if user changes repo workflow.
```
```text
Current focus: web Workspace console and Workspace-backed Ticket/Skill authority.
Source: recent Tickets and Objective updates.
Expected to change after current milestone.
```
### 3.2 Knowledge
Knowledge は long-term note system。人間と agent が育て、改訂し、link し、split / merge しながら読むもの。抽出 snippet の山ではなく、project understanding の mesh を形成する。
Target Knowledge は、古い未使用の Knowledge feature をそのまま残すものではない。legacy implementation は先に削除してよい。置き換えは proper workspace note subsystem として設計する。
Knowledge notes の要件:
- Markdown-first で人間が読める。
- OKF-compatible な concept document として扱える。
- stable path / slug を持ち、OKF concept ID として参照できる。
- Yoi 内部で move / rename に強い identity が必要な場合は、extension frontmatter として `yoi_id` を持てる。
- bidirectional links / backlinks を support する。
- Obsidian-style wiki links (`[[slug]]`, `[[slug|label]]`) を support し、Knowledge mesh の authoring shorthand として使える。
- 必要なら tags や typed relations を support する。
- 重要な claim には provenance / citations を残す。
- Tickets、Objectives、docs、commits、reports、Skills、他 Knowledge notes に link できる。
- review / staleness / supersession を support する。
- 自動生成だけに頼らず、意図的に maintain される。
Knowledge は、長期 architecture note、conceptual model、subsystem explanation、decision context、recurring constraints、domain understanding を育てる場所である。
#### 3.2.1 Knowledge format profile: OKF-compatible bundle
Yoi Knowledge は、可能な限り Open Knowledge Format (OKF) compatible な bundle として設計する。
OKF から採用する baseline:
- Knowledge bundle は Markdown file tree とする。
- non-reserved `.md` file は concept document とする。
- concept document は YAML frontmatter + Markdown body とする。
- path without `.md` を OKF concept ID として扱う。
- `type` は required field とする。
- `title`, `description`, `resource`, `tags`, `timestamp` は recommended field とする。
- normal Markdown links を OKF-compatible graph edges として扱う。
- Obsidian-style wiki links (`[[slug]]`, `[[slug|label]]`) も graph edges として扱い、Markdown links へ解決・export できるようにする。
- `index.md` は progressive disclosure のための directory listing として使える。
- `log.md` は agent-readable update history として使える。
- `# Citations` section は external source / authority reference を示す convention として使う。
- consumers は unknown frontmatter fields、unknown `type`、broken links を tolerant に扱う。
Yoi は OKF に extension frontmatter を足してよい。候補:
```yaml
yoi_id: 00001...
status: draft | active | stale | superseded
source_refs: []
authority_refs: []
objective_refs: []
ticket_refs: []
skill_refs: []
reviewed_at: 2026-07-16T00:00:00Z
staleness: "Revisit when ..."
supersedes: []
superseded_by: null
```
Filesystem shape の例:
```text
.yoi/knowledge/
index.md
log.md
architecture/
index.md
memory-architecture.md
workspace-authority.md
references/
pirolli-card-2005-sensemaking.md
```
OKF compatibility は Knowledge の exchange / storage profile であり、Memory / staging / Skill の format ではない。
- Memory は短期・変化前提の resident context store なので OKF にしない。
- staging は extract / consolidation の審査キューなので OKF にしない。
- Skill は Agent Skills format を維持する。OKF `type: Playbook` に吸収しない。
#### Knowledge examples
- `workspace-authority-model`
- Workspace backend が Tickets / Skills / Runtime views の authority である理由を説明する。
- Ticket backend API design、Skill support ticket、Workspace control plane Objective に link する。
- `memory-knowledge-skill-boundary`
- Memory / Knowledge / Skills の boundary を定義する。
- この architecture resource と将来の implementation Tickets に link する。
- `ticket-lifecycle-authority`
- Ticket state authority と transition graph の rationale を説明する。
- 関連 decisions と code locations に link する。
### 3.3 Skill
Skill は、ある種類の task に対して確立された、portable な workflow / procedure。Agent Skills format に従う。
```text
.yoi/skills/<skill-name>/
SKILL.md
scripts/
references/
assets/
```
Skill は state machine ではなく、external authority も所有しない。agent が available tools を使って task をどう実行するかを示す prompt/resource guidance である。
Skill に含めるもの:
- いつその Skill を使うか。
- step-by-step procedure。
- expected inputs。
- expected outputs / report shape。
- examples。
- edge cases。
- optional references / scripts / assets。
Skill は、project-specific assumptions が少なく、別 workspace に移しても使えるとき portable と言える。
#### Skill examples
- `coder-review-cycle`
- Coder が実装、検証、review request、feedback 対応、dossier 作成をどう行うか。
- `ticket-intake`
- 曖昧な user request を accepted Ticket requirements に変換する方法。
- `architecture-review`
- design proposals、alternatives、authority boundaries を評価する方法。
## 4. Resource boundaries and authority
### 4.1 Memory vs Knowledge
Memory は provisional / change-oriented。Knowledge は maintained / growth-oriented。
Memory を使うべきとき:
- 情報が短命。
- preference や working assumption である。
- resident context として有用。
- 長期的な置き場所がまだ明確でない。
Knowledge を使うべきとき:
- 時間をかけて読み直し、改訂するべき情報。
- durable project concept を説明する情報。
- 複数の future tasks から link されるべき情報。
- backlinks / mesh structure が有用な note。
- 人間が project understanding として browse できるべきもの。
Promotion path:
```text
Memory observation -> candidate note/update -> Knowledge note / docs / Ticket decision
```
Promotion は明示的に行う。すべての Memory item が Knowledge になるわけではない。
### 4.2 Knowledge vs Docs
Docs は public / project-facing な maintained exposition。Knowledge は internal で、link され、発展する understanding。
Knowledge note は後で doc になり得るが、threshold は違う:
- Knowledge は uncertainty、partial models、evidence links を含められる。
- Docs は settled explanations または user/developer guidance を提示するべき。
### 4.3 Knowledge vs Ticket decisions
Ticket decisions は work item history と state の authority。Knowledge notes は複数 Ticket をまたいだ synthesis。
ある decision が Ticket の requirement、state、acceptance criteria を変えるなら、それは Ticket に記録する。Knowledge はそこに link し、より広い pattern を説明できる。
### 4.4 Skill vs Knowledge
Knowledge は「何が true か」「project をどう理解するか」を説明する。Skill は「recurring task をどう実行するか」を説明する。
Skill を使うべきとき:
- review process。
- implementation process。
- release checklist。
- architecture evaluation method。
Knowledge を使うべきとき:
- Workspace authority model。
- Memory architecture。
- Ticket lifecycle rationale。
### 4.5 Skill vs Feature/Plugin
Skill は prompt/resource guidance。Feature/Plugin は executable authority と tool surface。
Skill は「何をどう進めるか」を書けるが、Ticket、Workspace、Memory、外部状態を変更する権限そのものは持たない。その権限は Feature/Plugin や typed tool/API が持つ。
例: Skill は「review 前に Ticket shoebox を作る」と指示できる。実際に作成する authority は Workspace / Memory feature の typed tool/API が提供する。
## 5. Workspace API authority
Target architecture は Workspace-backed にする。
### 5.1 Memory API
Workspace backend が最終的に提供するもの:
- Memory list / search / read / write / edit / delete。
- resident memory summary の生成または取得。
- staleness / supersession markers。
- sessions や artifacts からの Memory candidate proposal。
- provenance と audit events。
- preference / current-focus surfaces。
移行期間中は local `.yoi/memory` を compatibility / offline storage として残してよい。初期 storage profile は H2 section ベースの bounded `.yoi/memory/memory.md` だが、これは API contract ではない。
### 5.2 Knowledge API
Workspace backend は、raw filesystem layout を唯一の interface にするのではなく、proper note API を提供する。
- Knowledge catalog / list / search。
- note read / write / edit / delete。
- OKF-compatible frontmatter validation / normalization。
- link / backlink extraction from Markdown links and wiki links (`[[slug]]`)。
- relation / tag metadata。
- staleness / supersession markers。
- note diagnostics / lint。
- source / provenance refs and citations。
- Markdown files からの import / export。
- OKF bundle import / export profile。
Filesystem representation は `.yoi/knowledge/` 配下の OKF-compatible bundle を第一候補にする。ただし Worker / Runtime / Web / CLI は、利用可能なら raw filesystem ではなく Workspace API view に収束する。
### 5.3 Skill API
Skill support は separate Skill Ticket の方針に従う。
- Workspace backend が discovery / lint / catalog / activation を所有する。
- `.yoi/skills/<skill>/SKILL.md` は workspace storage convention。
- `WorkspaceClient::Http` が使えるとき、Workers は Workspace API から Skill metadata / body を使う。
- Skill references / assets は backend-resolved authority または Skill resource APIs 経由で access する。
## 6. Session-to-resource pipeline
この章が extract 改善の中心である。`extract -> staging -> consolidate` の分割は維持する。3 つは同じ memory maintenance pipeline の一部だが、判断の種類が違う。
```text
Session history
-> Overview + Evidence index
-> extract
-> staging
-> consolidation
-> Memory / Knowledge candidate / Skill candidate / Ticket-doc candidate / discard
```
役割の要約:
- **extract**: session から候補を拾う。recall 寄り。Memory 化はしない。
- **staging**: provenance 付き候補キュー。まだ Memory ではない。
- **consolidation**: staging を審査・剪定・統合する。precision 寄り。Memory 肥大化と陳腐化を防ぐ。
### 6.1 Overview: transcript as semantic backbone
Overview は、committed history にある user messages と normal Assistant text outputs から作る。Assistant text outputs には、最終応答だけでなく、長い作業中の Progress message も含める。
Progress message は専用 Tool ではなく、ordinary user-visible prose response として残す。Tool surface を増やさず、ユーザーへの進捗報告と extract 用 semantic summary を兼ねるためである。
Overview に含めるもの:
- user requests / corrections / approvals。
- Assistant progress messages。
- Assistant final responses。
- parent delegation や Ticket context のように、history に commit された task context。
- tool evidence への bounded index。
Overview に含めないもの:
- raw reasoning / chain-of-thought。
- raw tool-result content 全文。
- secret-like data。
- history に commit されていない hidden context injection。
Overview の意図は、extract worker に「何のための探索だったか」「どの判断が節目だったか」「どこが未解決か」を伝えることである。Overview は authority ではない。durable output には evidence と source anchors が必要である。
### 6.2 Extract: candidate generation
Extract は candidate generation であり、Memory 化ではない。runtime 側の extract worker が Overview と session evidence を読んで、後で記憶化を検討すべき **flat candidate records** を staging に出す。
Extract の責務:
- Overview を読んで、記憶化を検討すべき candidate を見つける。
- 必要な箇所だけ evidence tools で確認する。
- candidate ごとに bounded evidence snippets / source anchors を選ぶ。
- candidate ごとに `stage_candidate` を呼び、1 candidate = 1 staging record として保存する。
- 最後に `finish_extraction` を呼び、staged count または NOP reason を残す。
Extract がしてはいけないこと:
- Memory / Knowledge / Skill / Ticket / docs を直接変更しない。
- batch payload として複数 candidate を 1 staging record にまとめない。
- tool result 全文や reasoning を無制限に取り込まない。
- local slice だけから根拠を推測しない。
- tool call chronology、generic progress、current focus update を抽出しない。
- 「進捗報告があった」こと自体を Memory 化しない。
Staging candidate は、Consolidation がそれ単体で discard / merge / promote / defer を判断できる最小単位にする。
`decisions` / `discussions` / `attempts` / `requests` batch schema は維持しなくてよい。互換性よりも、flat candidate records と clear responsibility を優先する。
#### 6.2.1 Extract candidate taxonomy
Extract が抽出する対象は activity log ではない。抽出対象は次の candidate kinds に絞る。
| kind | extract で見る観点 | consolidation での扱い |
| --- | --- | --- |
| `preference` | ユーザーまたは workspace の継続的な好み・作法。単発指示ではなく、今後の agent behavior に効くもの。 | Memory に短く merge / replace する候補。既存 preference と重複するなら統合。Ticket/docs の要件そのものなら mirror せず authority link へ。曖昧なら discard / defer。 |
| `working_assumption` | 現時点で仮に置いている設計・実装前提。future work に影響し、変更条件や反証条件があり得るもの。 | Memory に入れる場合は short-lived assumption として stale condition 必須。長期設計なら Knowledge candidate。すでに authority record に反映済みなら Memory には pointer だけ、または discard。 |
| `constraint` | 今後守るべき境界・禁止・invariant。実装や review でチェック可能なもの。 | active implementation に効くなら Memory。durable policy なら Ticket decision / Knowledge / docs candidate。破られた既存 Memory があれば mark_stale / replace。 |
| `decision` | alternatives / chosen / rationale がある判断。単なる事実確認や作業進行ではないもの。 | まず authority routing を判断する。Ticket 要件・state・acceptance に関係するなら Ticket decision/comment candidate。長期設計なら Knowledge/Objective candidate。短期実装判断だけ Memory に短く置く。会話中の一時結論なら discard。 |
| `open_question` | 未解決で後続作業に影響する問い。next action が書けるもの。単なる会話中の疑問ではない。 | Memory reminder にするか、Ticket follow-up / planning item に送る。解決済みなら discard。長く残る概念的問いなら Knowledge candidate。TTL / defer reason を持たせる。 |
| `lesson` | 検証・失敗・試行から得た再利用価値のある学び。同じ失敗を避ける、作業方法を改善する、Skill 化できる可能性があるもの。 | Memory に短く残すか、recurring / portable なら Skill candidate。単なる tool execution result は discard。validation evidence として Ticket/report に残すべきものは authority link。 |
抽出しないもの:
- `current_focus` update。これは resident summary surface であり、extract candidate kind ではない。
- tool call chronology。
- file read/write history。
- generic progress updates。
- one-off chit-chat。
- resolved local confusion。
- assistant self-corrections without durable consequence。
- authoritative Ticket/docs/git facts copied verbatim。
- validation results unless they imply a reusable lesson, active blocker, or authority evidence。
- implementation details that belong only in commit diff。
### 6.3 Extract worker tools
extract worker には `session-explore` feature の constrained tools だけを渡す。これは main Worker の tool 数を増やすものではない。
Tool surface:
- `search_evidence`: session snapshot / tool summaries / message index から query で候補 range を探す。
- `read_evidence`: bounded な session entry range、tool call/result summary、host が許す bounded excerpt を読む。
- `stage_candidate`: 1 candidate を staging record として保存する。
- `finish_extraction`: extract run を終了し、staged count または NOP reason を記録する。
`stage_candidate` は direct Memory write ではない。これは staging write だけを行う output tool である。
`stage_candidate` input の概念形:
```json
{
"kind": "decision",
"claim": "Overview is runtime-only extract projection, not staging data.",
"why_useful": "Clarifies extract/consolidate responsibility boundary.",
"staleness": "Revisit if Workspace can directly explore runtime sessions.",
"evidence_ids": ["E001", "E002"]
}
```
Host wrapper は `evidence_ids` を runtime reference environment から解決し、bounded evidence snippets と source anchors を staging record に機械的に付与する。LLM に自由な source anchor を書かせない。
`finish_extraction` の概念形:
```json
{
"staged_count": 0,
"reason": "Only local progress and tool chronology; no durable candidates."
}
```
候補が無い場合は `stage_candidate` を呼ばず、`finish_extraction` で NOP を明示する。tool call なし終了も host 側では NOP fallback として扱ってよいが、基本は `finish_extraction` を要求する。
制約:
- read-only evidence access。file write、Ticket mutation、Memory/Knowledge/Skill direct write は持たせない。
- bounded output。large tool result は summary / excerpt / pointer に留める。
- provenance first。extract worker が根拠を推測せず、読んだ evidence ids を `stage_candidate` に渡す。
### 6.4 Staging: flat provenance-backed candidate records
Staging は Memory ではない。Staging は、extract が切り出した candidate を provenance 付きで保管し、consolidation が後で審査できるようにする queue である。
Staging は flat records にする。
```text
1 extract run = 0..N staging records
1 staging record = 1 candidate = 1 consolidation decision unit
```
1 record の概念形:
```json
{
"schema_version": 2,
"id": "stg_...",
"extract_run_id": "er_...",
"source": {
"segment_id": "segment-1",
"range": [120, 180]
},
"kind": "constraint",
"claim": "Extract worker must not direct-write Memory/Knowledge/Skill; it only writes staging.",
"why_useful": "Preserves runtime/embedded responsibility boundary.",
"staleness": "Revisit if extract and consolidation move into the same Workspace execution context.",
"evidence": [
{
"id": "E001",
"kind": "message",
"entry_range": [132, 133],
"excerpt": "extract worker は Memory / Knowledge / Skill を直接更新しない",
"summary": "User and architecture discussion fixed staging-only extract boundary."
}
],
"source_refs": [
{
"evidence_id": "E001",
"evidence_kind": "message",
"entry_range": [132, 133]
}
]
}
```
Staging の責務:
- candidate kind / claim / hints を保持する。
- extract が選んだ bounded evidence snippets を保持する。
- source anchors を保持する。
- extract と consolidation を decouple する。
- duplicate / defer / discard / consumed の追跡対象になる。
- crash / cancel / long-running work の途中でも、後から審査できる候補を残す。
Staging がしてはいけないこと:
- Memory として resident context に直接入らない。
- Knowledge note の代替にならない。
- raw session log や Overview 全体の保存場所にならない。
- extract run 単位の batch file として複数 candidate を抱え込まない。
- staging entry をすべて Memory 化する前提にしない。
Pirolli & Card 的には、staging は shoebox / evidence file に近い。ただし Yoi の storage taxonomy そのものを shoebox にするのではなく、審査前の evidence-backed candidate queue として扱う。
### 6.5 Staging resolution: the important filter
Staging から Memory 化する段階が、Memory 肥大化と陳腐化を防ぐ中核 filter である。
Consolidation は staging entry ごとに resolution / disposition を決めるべきである。
Disposition action 候補:
- `discard`: 保存価値なし。discard reason を残す。
- `merge_memory`: 既存 Memory に統合する。
- `replace_memory`: 古い Memory を新しい内容で置換する。
- `mark_memory_stale`: 既存 Memory が古くなったことを記録する。
- `delete_memory`: 邪魔または誤った Memory を削除する。
- `defer`: 価値判断できないため短期保留する。TTL / defer reason を持つ。
- `promote_to_knowledge_candidate`: long-term note に育てる候補へ送る。
- `promote_to_skill_candidate`: recurring / portable procedure の候補へ送る。
- `link_to_authority`: Ticket / doc / commit / Objective への pointer だけ残す。
- `create_ticket_or_doc_candidate`: authority / public guidance にすべき候補として送る。
Resolution に残すべき情報:
- staging entry id。
- action。
- reason。
- source anchors。
- target record / candidate destination。
- consolidation run id / consumed_by。
- reviewed_at。
- discard / defer / stale reason。
Consumed staging を削除する場合も、resolution は残す。これにより「何を Memory にしなかったか」が改善材料として残る。
### 6.6 Consolidation: memoryization, routing, and gardening
Consolidation は precision-oriented pass である。staging を読んで、Memory にするか、別 resource candidate に送るか、捨てるかを決める。
Consolidation の責務:
- staging entry を candidate kind ごとの扱いに沿って評価する。
- Memory 化するなら usefulness / staleness / source を要求する。
- 既存 Memory と merge / replace / mark stale / delete する。
- decision / constraint / lesson などを authority / Knowledge / Skill / Ticket / docs candidate に routing する。
- discard reason / defer reason を残す。
- linter feedback / usage evidence / tidy hints を使う。
- Memory bloat と stale records を防ぐ。
Consolidation がしてはいけないこと:
- staging entry を無条件に append しない。
- Ticket / docs / git / session log の mirror を Memory に作らない。
- Knowledge / Skill / docs を background review だけで無制限に rewrite しない。
- source / provenance のない claim を durable Memory にしない。
Memory 化に必要な minimum fields / prose:
```text
content: 何を覚えるか
why_useful: 今後なぜ役立つか
source: staging / evidence anchor
staleness: 何が起きたら古くなるか
destination_reason: なぜ Knowledge / Skill / Ticket / docs ではなく Memory なのか
```
Consolidation は append worker ではなく garden worker である。新規作成より、既存 record の統合・置換・陳腐化・削除を優先する。
### 6.7 Trigger policy
発火単位は LLM call 単位にしない。LLM call 単位では文脈が薄く、断片的な extraction になりやすい。
初期方針:
- 現行通り、Worker run cycle が完了してから threshold を判定し、超えていれば extract を発火する。
- extract 開始時点で immutable snapshot / Overview projection / Evidence index を作る。
- LLM call ごとには発火しない。
- Run 中の Overview accumulation trigger / mid-run extract は初期実装に含めない。
- 将来 long-running 中に mid-run 発火を入れる場合も、direct update ではなく staging/checkpoint extraction に限定する。
この trigger は、まず既存の post-run memory job model を保ち、extract の入力品質と staging record 粒度の改善に集中する。
## 7. Sensemaking interpretation
Sensemaking は storage taxonomy ではなく、pipeline の見方として使う。
Pirolli & Card の flow を Yoi に対応させるとこうなる:
```text
External data sources
= session log, tool results, Tickets, docs, code, web refs
Shoebox
= Overview + Evidence index + selected candidate ranges
Evidence file
= source anchors 付き staging entries
Schemas / hypotheses
= Memory 化すべきか、Knowledge/Skill に送るべきか、stale かの判断
Product
= Memory update, Knowledge candidate, Skill candidate,
Ticket/doc update, review evidence, discard resolution
```
重要なのは、Memory 化を evidence から product へ進める審査の一形態として扱うこと。Memory record は「将来の作業に効く」という hypothesis なので、why_useful、staleness、source が必要である。
初期 sensemaking support は lightweight でよい:
- task-bound collected references as Ticket/Objective artifacts。
- provenance 付き evidence summaries。
- review Skills における explicit contradictory evidence sections。
- recurring patterns を synthesize する Knowledge notes。
- staging resolution に discard / defer / promote reason を残す。
## 8. Human-readable growth paths
中核要件は、有用な material が人間に読める形へ成長できること。
Typical paths:
```text
Session observation
-> staging candidate
-> Memory record
-> Knowledge note candidate
-> Knowledge note with links/backlinks
-> maintained doc or Ticket decision if it becomes authority
```
```text
Repeated successful procedure
-> staging candidate / Memory observation / Ticket comment
-> Skill candidate
-> `.yoi/skills/<skill>/SKILL.md`
-> builtin or shared Skill if portable
```
```text
Design discussion
-> Objective resource
-> Knowledge note synthesis
-> implementation Tickets
-> docs after stabilization
```
Architecture は、これらの promotion を explicit and reviewable にする。
## 9. External reference lessons
### 9.1 Current Yoi pipeline
現在の Yoi extraction は activity-log pipeline:
- `build_extract_input` が conversation slice を flat Markdown として render する。
- user / assistant text は保持する。
- tool-call names を含める。
- raw tool-result content ではなく tool-result summaries のみを含める。
- reasoning は落とす。
- extract worker の tool は `write_extracted` 1 つだけ。
- `write_extracted``decisions``discussions``attempts``requests` を持つ structured `ExtractedPayload` を 1 件受け取る。
- LLM は provenance を作らない。Worker が `StagingRecord` を書くときに `source` を機械的に付与する。
- empty payload は valid で、no-op として扱える。
- consolidation は後で staging entries、full current Memory records、usage evidence、tidy hints を consume する。
- consolidation は Memory tools 経由で write し、linter feedback に対応し、record を merge / replace し、outdated / superseded / unused / noisy records を clean up する。
残す価値がある点:
- foreground 応答生成から memory maintenance が隔離されている。
- provenance が host 側で機械付与される。
- extract が direct write せず staging を挟む。
- empty / no-op が許される。
- consolidation が linter feedback と tidy hints を使う。
変えるべき点:
- flat slice ではなく Overview-first / Evidence-index-second にする。
- extract worker に read-only evidence tools を持たせる。
- staging を一時バッファではなく審査キューとして扱う。
- consolidation に entry-level disposition / resolution を要求する。
- legacy Knowledge as generated memory 前提を外す。
### 9.2 HermesAgent
HermesAgent は background review により、conversation snapshot から Memory / Skill update を直接判断する。
参考になる点:
- maintenance を foreground interaction から隔離する。
- 保存すべきものがなければ NOP にする。
- Memory と Skill を分ける。
- prompt snapshot / drift / injection guard を重視する。
そのまま採用しない点:
- direct write-only review を主経路にしない。
- aggressive Skill update bias を避ける。
- `MEMORY.md` / `USER.md` two-file model を Yoi 全体の architecture にしない。
Yoi では、Hermes 的な direct maintenance は bounded Memory update lane では参考になるが、extract worker 自体は direct write しない。
### 9.3 Codex
Codex は session / rollout を durable source として扱い、background pipeline が後から claim / extract / consolidate する。
参考になる点:
- durable source。
- phase separation。
- claim / lease / retry / global lock。
- workspace diff / baseline guard。
- extraction と consolidation の分離。
Yoi では、Codex 的な durable job / phase pipeline は staging resolution と consolidation scheduling に取り入れる価値がある。ただし、この architecture phase ではまず Overview-first extract と staging resolution を優先する。
## 10. Implementation posture
現在の実装は redesign してよい。既存の Memory / Knowledge shape があるからという理由で残さない。
ただし big-bang rewrite は避ける。この architecture が accepted されてから分割する。
Recommended implementation sequence:
1. **Knowledge removal 後の current Memory を clarify する**
- short-term / resident Memory を維持する。
- Memory が Knowledge を代替しなければならない、という前提を外す。
- legacy `knowledge/*` を generated memory として扱う stale consolidation prompt language を削除する。
2. **Progress message guidance を追加する**
- 長い作業や tool loop の節目で、main Worker が ordinary user-visible prose response として短い Progress message を残す。
- 専用 Tool は追加しない。
- Progress message は public に見せられる作業状態、確認済み事実、判断、未解決点、次の作業に限定する。
3. **Overview-first extract input を実装する**
- user messages + Assistant text outputs を semantic Overview として優先する。
- tool calls / tool results は Evidence index として分離する。
- committed history だけから Overview を作り、hidden context injection を避ける。
4. **Extract worker 専用 evidence tools と staging output tools を実装する**
- extract worker に read-only Evidence search / Evidence read を渡す。
- main Worker の tool surface は増やさない。
- output tools は `stage_candidate` / `finish_extraction` にする。
- `stage_candidate` は 1 candidate = 1 flat staging record を書く。
- source range と candidate record を結びつけられる schema / staging format を実装する。
5. **Staging-first extract を維持する**
- extract worker は direct Memory / Knowledge / Skill write をしない。
- overview accumulation / evidence growth / run or task boundary で extract を予約する。
- mid-run 発火を入れる場合も staging/checkpoint extraction に限定する。
6. **Staging resolution / disposition を実装する**
- staging entry ごとに discard / merge / replace / stale / delete / defer / promote / link を記録する。
- consumed staging を削除する前に resolution log / archive を残す。
- discard reason と defer reason を extract prompt 改善に使えるようにする。
7. **Target Knowledge note model を設計する**
- OKF-compatible Markdown concept document / bundle profile。
- Yoi extension frontmatter。
- link / backlink model。
- provenance / citations / staleness metadata。
- Workspace API surface。
- reviewable Knowledge updates の candidate / staging format。
8. **Consolidation / tidy lane を更新する**
- staging entries、existing Memory、usage evidence、linter feedback、stale/noisy hints を統合する。
- legacy Knowledge as generated memory 前提を外す。
- Memory update、Knowledge candidate、Skill candidate を分けて扱う。
9. **Minimal Knowledge catalog/read/write を実装する**
- OKF-compatible Markdown files と Workspace API から始める。
- frontmatter validation / lint と backlinks を追加する。
- `index.md` progressive disclosure と `# Citations` の扱いを実装する。
10. **Skill support を別に実装する**
- Agent Skills standard と Workspace authority に従う。
- Skill と Knowledge note schema を混ぜない。
- automatic Skill modification は recurrence と portability で gate する。
11. **Promotion workflows/tools を追加する**
- Memory -> Knowledge candidate。
- Knowledge -> docs / Ticket decision candidate。
- repeated procedure -> Skill candidate。
12. **Resource classes が安定してから sensemaking helpers を追加する**
- collected refs。
- evidence extraction。
- contradiction / staleness views。
- product-impact metrics。
## 11. Non-goals
- Memory を唯一の long-term knowledge store として扱うこと。
- Knowledge を名前だけ変えた generated memory として扱うこと。
- Skill を Workflow tracker や state machine として扱うこと。
- Worker history / tool results の外で context injection を隠すこと。
- Knowledge notes を Tickets / docs / git history より authoritative にすること。
- review なしに Knowledge / Skills / docs を自動 rewrite すること。
- extract worker に direct resource mutation authority を持たせること。
- extract run 単位の batch staging record に複数 candidate を抱え込ませること。
- staging entry をすべて Memory 化すること。
- human-readable artifact model が安定する前に vector database を設計すること。
- volatile Memory や staging queue を OKF concept document として扱うこと。
- H2 Markdown single-file layout を Workspace Memory API の長期 contract として固定すること。
- Agent Skills format を OKF Playbook documents で置き換えること。
## 12. Open decisions
- Knowledge bundle の exact directory organization: flat files、nested directories、domain directories のどれを初期推奨にするか。
- Yoi extension frontmatter の exact fields。
- Yoi stable `yoi_id` を必須にするか optional にするか。
- OKF `type` values の初期 convention をどうするか。
- Link syntax は OKF-compatible Markdown links と Obsidian-style wiki links (`[[slug]]`, `[[slug|label]]`) を support する。canonical internal representation と export normalization をどうするか。
- Knowledge note IDs / slugs と titles の関係。
- Memory は local-first のままにするか、Knowledge と同じ phase で Workspace API-first にするか。
- Memory / Knowledge APIs は同じ crate にするか、別 domain crates にするか。
- Memory -> Knowledge の promotion UI/tool をどうするか。
- personal Memory と workspace Memory をどう区別するか。
- Knowledge drafts の auto-generation をどこまで許すか。
- extract worker 専用 evidence tools の exact API: search/read の引数、上限、evidence id format。
- `stage_candidate` / `finish_extraction` の exact tool schema。
- flat staging record の exact fields: `claim`, `why_useful`, `staleness`, `evidence`, `source_refs`, `extract_run_id` など。
- Overview trigger を overview token count、Assistant message count、evidence growth、run/task boundary のどれで制御するか。
- mid-run extract をどこまで許すか。初期は staging/checkpoint extraction に限定する方針。
- staging resolution log / archive の保持期間と compact policy。
- どの Memory sidecar writes を direct に許し、どれを staged proposals にするか。extract worker 自体は direct write しない。
- Skill sidecar output は patches/proposals だけから始めるか、low-risk Skill edits を auto-apply してよいか。
- Memory / Knowledge / Skill Workspace APIs をまたぐ sidecar audit events をどう表現するか。
- prompt-cache-aware sidecar input で full replay と digest-plus-tail をどう選ぶか。
## 13. Exit criteria for architecture phase
この architecture は、次が満たされたら Tickets に分割できる。
- Memory / Knowledge / Skill boundary が accepted される。
- OKF-compatible bundle / Markdown concept documents としての target Knowledge が accepted される。
- Memory / Knowledge / Skills の Workspace backend authority が accepted される。
- Overview-first extract、extract worker 専用 evidence tools、staging-first output の方針が accepted される。
- staging resolution / disposition と、staging -> Memory 化 filter の方針が accepted される。
- 最初の implementation slice が選ばれる。
- non-goals が accepted され、old Workflow tracking や old unused Knowledge をそのまま再作成しないことが確認される。
@@ -0,0 +1,137 @@
---
source_url: "https://andymatuschak.org/files/papers/Pirolli%2C%20Card%20-%202005%20-%20The%20sensemaking%20process%20and%20leverage%20points%20for%20analyst%20technology%20as.pdf"
fetched_at: "2026-07-15T21:24:00Z"
content_type: "application/pdf"
notes: "Untrusted external reference captured as local Objective resource for Memory sensemaking design. This is a summary/extraction for design discussion, not project authority."
---
# Pirolli & Card (2005): The sensemaking process and leverage points for analyst technology
## Citation / source
Peter Pirolli and Stuart Card, PARC. "The Sensemaking Process and Leverage Points for Analyst Technology as Identified Through Cognitive Task Analysis" (2005).
Source PDF: <https://andymatuschak.org/files/papers/Pirolli%2C%20Card%20-%202005%20-%20The%20sensemaking%20process%20and%20leverage%20points%20for%20analyst%20technology%20as.pdf>
## Core model
The paper frames intelligence analysis as a sensemaking task:
```text
Information -> Schema -> Insight -> Product
```
The analyst transforms raw data into progressively more structured representations so expertise can apply and so results can be communicated.
The paper's notional data flow is especially relevant to Yoi Memory design:
```text
External data sources
-> shoebox
-> evidence file
-> schemas
-> hypotheses
-> presentation / work product
```
- **External data sources**: raw material, mostly text in the studied setting.
- **Shoebox**: the smaller subset collected as relevant for the task.
- **Evidence file**: extracted snippets / nuggets from the shoebox, plus low-level inferences.
- **Schemas**: re-representations that organize information for analysis.
- **Hypotheses**: tentative conclusions with supporting or disconfirming evidence.
- **Product**: report / presentation / action suited for communication.
## Two major loops
The process has two interacting loops rather than a simple linear pipeline.
### Foraging loop
Activities aimed at finding and selecting information:
- search and filter external data sources;
- collect potentially relevant material into a shoebox;
- read and extract evidence snippets;
- follow up on questions generated by extracted evidence.
The paper highlights the exploration / enrichment / exploitation tradeoff:
- **Exploration**: monitor or search more of the information space; increases recall.
- **Enrichment**: narrow the collected set into smaller, higher-precision subsets.
- **Exploitation**: read/extract/analyze the chosen material more thoroughly.
Analyst tooling can help by changing the cost structure of search, scanning, assessment, selection, attention shifting, and follow-up searches.
### Sensemaking loop
Activities aimed at structuring and reasoning:
- schematize evidence;
- build a case;
- generate / manage hypotheses;
- marshal evidence for and against hypotheses;
- tell a story / produce a report;
- re-evaluate based on feedback or new evidence.
The paper emphasizes opportunistic mixing of bottom-up and top-down processing:
- **Bottom-up**: data triggers schemas, relations, hypotheses, and products.
- **Top-down**: hypotheses / client feedback trigger new searches, re-reading, and re-organization.
## Leverage points
### Foraging loop leverage
- Cost structure of exploration / enrichment / exploitation.
- Cost structure of scanning, recognizing, and selecting items for attention.
- Cost of shifting attentional control to a new domain or task.
- Cost of follow-up searches generated by extracted information.
- Broad-band low-fidelity assessment plus narrow-band high-fidelity processing is a useful design pattern.
### Sensemaking loop leverage
- Span of attention for evidence, hypotheses, and evidentiary relations.
- Generation of alternative hypotheses.
- Confirmation bias and failure to seek disconfirming evidence.
- External representations can expand working memory for evidence/hypothesis structures.
- Tools should help distribute attention toward diagnostic evidence and disconfirming relations.
## Implications for Yoi Memory Objective
This paper directly supports the Objective's direction that effective Memory is not just durable storage or retrieval count.
Useful design implications:
1. **Task-bound shoebox**
- For each Ticket / Objective / question, provide a bounded collection of potentially relevant materials.
- Include provenance and why each item was collected.
2. **Evidence file**
- Extract snippets from source material with source, applicability, confidence, and context.
- Evidence should be usable for support and disconfirmation, not only recall.
3. **Schema / representation layer**
- The system should help create intermediate structures: timelines, entity/relation maps, alternatives, checklists, hypothesis spaces, decision tables.
- These are separate from raw Memory records.
4. **Hypotheses and alternatives**
- Record competing explanations, rejected alternatives, open questions, and evidence gaps.
- Avoid only storing final decisions.
5. **Disconfirming evidence**
- Reviewer / Orchestrator support should explicitly search for contradiction and diagnostic evidence.
- This belongs in Skill guidance and typed review tooling, not in a separate Knowledge store.
6. **Metrics**
- Measure whether Memory changes product quality, review quality, decision quality, or time-to-evidence.
- Avoid treating exposure/retrieval counts alone as success.
7. **Product connection**
- The loop should end in a product: Ticket decision, implementation report, review, design doc, Skill update, or validated artifact.
- Memory that never reaches a product is likely a graveyard.
## Boundary with current Yoi direction
- Knowledge as a separate record kind is being removed; this paper's reusable representations should map to Memory artifacts, Ticket artifacts, maintained docs, or Skills depending on authority.
- Workflow tracking is being removed; procedural guidance such as "generate alternatives" or "seek disconfirming evidence" should live in Skills / role prompts and be enforced by typed tools where authority is needed.
- Workspace backend should eventually be the authority for task-bound shoebox / evidence artifacts when Memory moves from local compatibility storage to control-plane records.
+343
View File
@@ -0,0 +1,343 @@
---
title: "Runtime working directory materialization and sandboxed agent environments"
state: "active"
created_at: "2026-07-06T16:28:12Z"
updated_at: "2026-07-10T16:50:00Z"
linked_tickets: ["00001KWPC13WQ", "00001KWMBAA6V", "00001KX6BPY7M", "00001KX6CRVBE"]
---
## Goal
Runtime が Worker ごとに安全で安価な作業環境を用意できるようにする。Yoi の Runtime は、単に既存ディレクトリで Worker process を起動する launcher ではなく、RepositoryPoint から working directory を materialize し、sandbox / mount / cache / cleanup / evidence を管理する実行基盤になる。
この Objective の中心は、Worker 用 working directory の materialization、Repository cache、working directory allocation、sandboxed agent environment の境界を設計し、将来的に 1 つの Runtime が複数 Workspace / Repository の Worker を抱えられるようにすることである。
初期実装では Git/local repository を主対象にしてよい。ただし設計は Git worktree 固定にしない。Git worktree、bare object cache、sparse checkout、copy-on-write snapshot、reflink copy、APFS clonefile、btrfs snapshot、overlay filesystem、container filesystem、remote object snapshot は、すべて working directory materialization strategy の候補として扱う。
## Motivation / background
現在の Runtime は `--workspace` で与えられた単一 root を Worker の workspace scope として使う。この形では次の問題がある。
- 複数 Worker が同じ repository root を scope として要求すると allocation conflict が起きる。
- Runtime が single Workspace / Git repository root 専用 process になってしまう。
- Worker が source repository root を直接触るため、sandbox / cleanup / quota / evidence の境界が曖昧になる。
- Worker ごとに full clone すると容量と時間のコストが大きすぎる。
- `.yoi` / Backend fs-store / Workspace descriptor と、Worker 実行用 checkout / scratch / build output の lifecycle が混ざりやすい。
Yoi は Workspace / Repository / Runtime を分ける方針になっている。Backend は Repository registry、RepositorySelector、RepositoryPoint、Ticket/Artifact evidence の authority を持つ。一方 Runtime は RepositoryPoint を受け取り、Worker が使う working directory を用意する責務を持つべきである。
したがって、Repository を持ってくる実体ディレクトリは Backend / Workspace store ではなく Runtime 管理領域に置く。`./.yoi` は local descriptor / compatibility / project record surface であり、Worker ごとの checkout、worktree、snapshot、sandbox root、build cache、dependency cache を置く場所ではない。
参考になる方向性として、Rift のような copy-on-write workspace snapshot / reflink / btrfs snapshot / APFS clonefile による安価な workspace creation がある。ただし Yoi は Rift を Git worktree 代替 CLI として直接前提にするのではなく、Runtime materializer backend の一候補として扱う。
## Glossary
- Runtime root: Runtime が自身の store、cache、Worker metadata、working directory allocation を管理する root。長期的には `~/.yoi/runtimes/<runtime-id>/` 配下など、Workspace backend store とは別に置く。
- Repository cache: Runtime-local の共有 source/cache。Git なら bare mirror / object cache / packfile cache など。重く、長寿命で、複数 Worker allocation から共有される。
- working directory: Worker ごとの作業環境。短寿命で、Worker が読み書きする root / mounts / scratch / overlay を含む。Browser-facing UI では `workspace` と混同しないよう `workdir` と表示してよい。`Volume` は storage backing の候補名であり、この作業領域そのものの呼称にはしない。
- Worker record: 作業単位として保存する record。profile、Runtime、RepositoryPoint / workdir evidence、session/transcript refs、status、diagnostics、summary、pinned flag を束ねる。Session 単体ではなく Worker を保存・削除の単位にする。
- Materialization strategy: RepositoryPoint から working directory を作る実装戦略。Git detached worktree、sparse checkout、CoW snapshot、reflink copy、overlay、container filesystem など。
- WorkingDirectoryAllocation: Runtime が払い出した作業環境の record。allocation id、worker id、workspace id、repository point、materializer kind、root、mounts、cleanup policy、status を持つ。
- Sandbox policy: Worker が見られる filesystem、network、process、secret、tool authority の境界を表す policy。
- Dirty state policy: local uncommitted changes を Worker environment に含めるかどうかの方針。clean point only、patch artifact apply、snapshot current worktree など。
## Strategy / design direction
### 1. Backend store と Runtime execution storage を分ける
Workspace/backend store は canonical or local descriptor records を扱う。
```text
Backend / Control plane store
- Workspace registry
- Repository registry
- Ticket / Objective
- Artifact metadata / evidence
- Actor / Permission / Audit
- Runtime registry / observed state
```
Runtime execution storage は Worker 実行のための materialized filesystem と cache を扱う。
```text
Runtime root
- runtime catalog / runtime-local DB
- config bundles
- worker metadata / transcript references
- repository-cache
- working-directories
- sandbox state
- build/dependency cache
- cleanup ledger
```
この 2 つを混ぜない。特に `.yoi` や workspace config root に Worker ごとの checkout/worktree/sandbox root を置かない。
推奨配置の方向:
```text
~/.yoi/
workspace-server/
backend.db
workspaces/
<workspace-id>/
workspace.db
artifacts/
runtimes/
<runtime-id>/
runtime.db
config-bundles/
workers/
<worker-id>/
metadata/
repository-cache/
git/
<repository-cache-key>/
bare.git
working-directories/
<allocation-id>/
root/
mounts/
scratch/
materialization.json
build-cache/
tmp/
```
### 2. clone ではなく materialize と呼ぶ
Runtime は Repository を毎回 clone するのではない。Runtime は RepositoryPoint を Worker 用の working directory として materialize する。
```text
RepositoryId + RepositorySelector
-> resolved RepositoryPoint
-> Runtime repository-cache
-> WorkingDirectoryMaterializer
-> WorkingDirectoryAllocation
-> Worker process
```
Git の場合でも materialization strategy は複数あり得る。
- shared bare cache + detached Git worktree
- sparse checkout
- partial clone / blob filter
- reflink copy
- btrfs writable snapshot
- APFS clonefile
- overlay filesystem
- external tool backed snapshot, e.g. Rift-like CoW workspace creation
### 3. Repository cache と Worker working directory を分離する
full clone を Worker ごとに作らない。重い source/object data は Runtime-local repository cache に集約し、Worker ごとの working directory は cheap allocation にする。
Git v0 の方向:
```text
repository-cache/git/<repo-key>/bare.git
working-directories/<allocation-id>/root/<repository-id>/
```
初回:
```text
git clone --mirror <uri> repository-cache/git/<repo-key>/bare.git
```
次回以降:
```text
git -C repository-cache/git/<repo-key>/bare.git fetch --prune
```
Worker allocation:
```text
git --git-dir=<bare.git> worktree add --detach <execution-root>/<repository-id> <commit>
```
Git branch 名を直接 checkout しない。Git worktree は同一 branch を複数 worktree に checkout しづらいため、RepositorySelector を RepositoryPoint に解決し、resolved commit を detached worktree として materialize する。Worker が branch を必要とする場合は Worker/Task ごとの synthetic branch を別途作る。
### 4. Dirty state を明示 policy にする
local dirty changes を暗黙に Worker に見せない。
可能な policy:
- `clean_point_only`: dirty workspace は materialization 拒否。再現性が高く v0 の default 候補。
- `patch_artifact`: clean RepositoryPoint を materialize し、Backend が保存した dirty diff artifact を apply する。
- `current_worktree_snapshot`: CoW/reflink/Rift-like snapshot で現在の working tree を snapshot として materialize する。便利だが evidence と cleanup の扱いを明示する必要がある。
- `direct_legacy_mount`: 既存 root をそのまま渡す。debug/legacy only。通常 Worker creation の default にしない。
Dirty state を含める場合、Artifact/evidence には source RepositoryPoint、patch/snapshot digest、created_at、materializer kind を残す。
### 5. Sandbox を materialization と同じ境界で扱う
working directory は単なる directory path ではなく、Worker が見てよい filesystem view である。Runtime は working directory allocation と同時に sandbox/mount/authority を構築する。
Worker に渡すもの:
- workspace root
- repository mounts
- scratch/cache dirs
- tool authority
- env vars
- config bundle
- secret handles, not raw secrets
Worker が自分で発見してはいけないもの:
- host repository root
- Backend store path
- `.yoi` authority-bearing internals
- raw credentials
- Runtime socket/store/cache internals
- sibling Worker working directories
Sandbox v0 は strong isolation でなくてもよい。ただし型と lifecycle は、後で container sandbox、namespace, mount filtering, network policy, secret boundary に拡張できる形にする。
### 6. working directory registry を持つ
Runtime は materialized workspace を filesystem だけでなく registry でも管理する。
必要な record:
```text
WorkingDirectoryAllocation
id
runtime_id
worker_id
workspace_id
repository_points[]
materializer_kind
root
mounts[]
scratch
source_cache_refs[]
sandbox_policy
dirty_state_policy
cleanup_policy
status: active | stopped | cleanup_pending | removed | failed
created_at
stopped_at
diagnostics[]
```
この registry は Runtime root 側に置く。Backend は必要な evidence と summary だけを受け取る。Browser-facing API は raw host paths を原則漏らさない。
### 7. Heavy regenerable artifacts は policy で除外または cache 化する
Worker working directory creation では、`node_modules`, `target`, `.venv`, framework cache, dist, build, coverage などを無条件に full copy しない。
Materialization policy は以下を持てるようにする。
- exclude regenerable artifacts
- include manifests / lockfiles
- share dependency cache
- use build cache
- path scope / sparse checkout
- per-repository materialization options
Rift の filtered CoW creation のように、重い artifacts を除外しながら source tree を高速に用意できる strategy を将来取り込めるようにする。
## Initial implementation phases
### Phase 1: Materialization boundary and legacy allocation record
- `CreateWorkerRequest` に working directory request / target placeholder を追加する。
- `WorkingDirectoryMaterializer` trait を `worker-runtime` に追加する。
- `WorkerRuntimeExecutionBackend` が Worker spawn 前に materializer を呼ぶ順序にする。
- v0 materializer は existing local root を explicit allocation として返してよいが、`direct_legacy_mount` として明示し、通常設計の final form と混同しない。
- Allocation record / cleanup policy / diagnostics の型を先に作る。
- Worker が source repository root を直接 scope として要求する経路を deprecated/legacy に閉じ込める。
### Phase 2: Runtime root and working directory storage
- `--runtime-root` を導入し、Runtime state / repository-cache / working-directories / worker metadata / worker runtime dirs を Runtime root 配下へ寄せる。
- `--workspace` は legacy bootstrap input としてだけ扱い、Runtime identity / long-term workspace binding から外す。
- Runtime root default は user data 配下にする。
- working directory allocation registry を Runtime root に保存する。
### Phase 3: Git cached detached worktree materializer
- Git repository cache を Runtime root に作る。
- RepositorySelector を RepositoryPoint に解決する呼び出し境界を作る。
- resolved commit/tree を evidence として残す。
- Worker ごとに detached worktree を `working-directories/<allocation-id>/root/<repository-id>` に作る。
- Worker stop / cleanup 時に `git worktree remove` と registry cleanup を行う。
- dirty state は v0 では `clean_point_only` を default にし、dirty local workspace は明示 diagnostic で拒否する。
### Phase 4: Path scope / sparse checkout / cache policies
- Ticket target / Worker launch request の path scope を materialization に渡す。
- Git sparse checkout を materializer strategy として追加する。
- heavy artifact exclude / dependency cache / build cache policy を導入する。
### Phase 5: CoW / snapshot materializer
- btrfs snapshot、Linux reflink、macOS APFS clonefile、Rift-like snapshot backend を materializer strategy として検討・実装する。
- `current_worktree_snapshot` policy を evidence と cleanup 付きで扱う。
- source root と generated workspace の registry / ancestor / cleanup model を設計する。
### Phase 6: Strong sandbox and remote Runtime support
- container filesystem / mount namespace / network policy / secret handle / tool authority を Runtime allocation と統合する。
- Runtime が複数 Workspace / Repository の Worker を同時に抱える場合の namespace、quota、cleanup、audit boundary を固める。
- remote/self-hosted/hosted Runtime fleet で repository cache と working directory storage をどう扱うかを設計する。
### 7. Worker / Session / workdir retention and cleanup policy
- Worker を保存・削除単位にする。Session / transcript は Worker に内包または参照される履歴として扱い、Session 単体を長期保存 authority にしない。
- Worker lifecycle は `running -> stopped -> delete` を基本にする。`archived` を lifecycle state として導入しない。
- Worker には `pinned` flag を持たせる。Pinned Worker は manual delete / cleanup / future automatic prune から守られる。
- Worker delete は Worker record と内包する Session / transcript history の削除を意味する。Workdir files は自動削除しない。
- Session / transcript は削除可能にする。圧縮 archive storage や高度な summarized retention は必要になった時点で別の storage policy として設計する。
- Workdir 実ファイルは durable history ではなく再現可能 cache として扱う。RepositoryPoint / resolved commit から再現でき、dirty/uncommitted state が無いなら、running Worker に紐づかない workdir files は manual cleanup eligible とする。
- Dirty Workdir は活動中または要判断状態として扱う。削除は可能だが、changes ごと消す explicit confirmation を要求する。Dirty orphan は recovery Worker 起動または explicit discard の判断対象であり、通常の clean cleanup と区別する。
- Workdir record は materialization evidence として扱う。実ファイルが削除済みなら `removed`、外部要因で欠落しているなら stale/missing materialization として診断可能にする。
- Worker と Workdir の関係は Backend registry の link table を authority にする。Worker record は最後に活動した RepositoryPoint / resolved commit / workdir binding summary を保持し、Stopped Worker + Removed Workdir でも必要に応じて再 materialize できるようにする。
- Cleanup/delete は当面 manual-first にする。削除前に対象、理由、削除される bytes、blocking conditionsrunning Worker、pinned Worker、dirty state、unreachable commit など)を plan として提示する。
- 将来的には容量/期限ベースの automatic prune を設定可能にする予定。ただし automatic prune は user-configured policy と pinned protection を前提にし、初期の manual cleanup/delete とは別段階で扱う。
- UI 表示は `workdir` に寄せる。内部型/API の互換名 `working_directory` は移行中に残ってよいが、Browser-facing navigation では Runtime 管理配下の `Workdirs` として扱う。
## Non-goals
- v0 で完全な container sandbox を実装すること。
- Worker ごとに full clone すること。
- `.yoi` や Backend workspace store に Worker working directory を置くこと。
- Git worktree を唯一の materialization strategy として固定すること。
- Dirty local changes を暗黙に Worker に渡すこと。
- Browser-facing API に raw host path、secret、Runtime internal store path を公開すること。
- Repository credential / secret distribution の本格設計をこの Objective だけで完了させること。
## Success criteria / exit conditions
- Runtime root、Repository cache、working directory、Backend/Workspace store の境界が文書化されている。
- Runtime が Worker spawn 前に working directory materializer を呼ぶ型と順序を持つ。
- Worker は source repository root ではなく materialized working directory を scope として起動する。
- working directory allocation が Runtime registry に記録され、cleanup policy を持つ。
- Git/local repository の v0 materializer が full clone 連発ではなく shared cache / detached worktree / cheap allocation の方向に進んでいる。
- dirty state policy が明示され、clean point、patch artifact、snapshot のどれを使ったか evidence に残せる。
- Runtime process 起動時の `--workspace` は legacy bootstrap input として隔離され、Runtime identity や single workspace binding とみなされない。
- Worker ごとの scope allocation conflict が、同一 source root を直接渡す設計ではなく materialized workspace allocation によって解消される。
- Sandbox / mount / cache / secret boundary を後続実装で強化できる model になっている。
- Worker record が Session / transcript refs と pinned flag を束ね、`pinned` Worker を cleanup/delete/future automatic prune から守れる。
- Workdir 実ファイルは再現可能 cache として manual cleanup/delete でき、削除前に plan-first で linked Worker、session retention、commit reachability、dirty/missing 状態を確認できる。
- 将来的に容量/期限ベースの automatic prune を user-configured policy として追加できる設計余地がある。
## References
- [Rift: Worktree alternative for fast copy-on-write workspaces](https://github.com/anomalyco/rift) — CoW snapshot / reflink / btrfs snapshot / APFS clonefile による高速 workspace creation、heavy regenerable artifacts の除外、workspace registry などを Runtime materializer backend 設計の参考にする。
## Decision context
- Runtime は Worker 群を束ねる実行基盤であり、Worker 用の作業環境を用意する責務を持つ。
- Repository は clone されるものではなく、RepositoryPoint から Worker 用 working directory として materialize される。
- Runtime execution storage は Backend/Workspace store と分離する。`.yoi` は Worker working directory 置き場ではない。
- full clone を Worker ごとに作らない。Runtime-local repository cache と Worker-local cheap workspace allocation を分ける。
- Git detached worktree は v0 materialization strategy として有力だが、Git worktree 固定の設計にはしない。
- CoW snapshot / reflink / btrfs snapshot / APFS clonefile / Rift-like workspace creation は、将来の materializer backend として検討する。
- Dirty local state は暗黙に渡さず、policy と evidence を持って扱う。
- Sandbox は後付けの別機能ではなく、working directory allocation と同じ境界で扱う。
+2 -20
View File
@@ -1,21 +1,3 @@
default = "project:companion"
default = "builtin:companion"
[profile.companion]
description = "Companion role profile: GPT-5.5 with bundled default behavior"
path = "profiles/companion.lua"
[profile.intake]
description = "Intake role profile: GPT-5.5 with bundled default behavior"
path = "profiles/intake.lua"
[profile.orchestrator]
description = "Orchestrator role profile: GPT-5.5 with bundled default behavior"
path = "profiles/orchestrator.lua"
[profile.coder]
description = "Coder role profile: GPT-5.5 with bundled default behavior"
path = "profiles/coder.lua"
[profile.reviewer]
description = "Reviewer role profile: GPT-5.5 with bundled default behavior"
path = "profiles/reviewer.lua"
[profile]
-44
View File
@@ -1,44 +0,0 @@
local profile = require("yoi.profile")
local scope = require("yoi.scope")
local compact = require("yoi.compact")
return function(opts)
return profile {
slug = opts.slug,
description = opts.description,
scope = scope.workspace_write(),
session = {
record_event_trace = true,
},
worker = {
reasoning = "high",
},
model = {
ref = opts.model_ref,
},
compaction = compact.tokens {
threshold = 240000,
request_threshold = 270000,
worker_context_max_tokens = 100000,
},
memory = {
extract_threshold = 50000,
consolidation_threshold_files = 5,
consolidation_threshold_bytes = 50000,
},
web = {
enabled = true,
search = {
provider = "brave",
api_key_secret = "web/brave/default",
},
},
}
end
-7
View File
@@ -1,7 +0,0 @@
local base = require("_base")
return base {
slug = "coder",
description = "Coder role profile: GPT-5.5 with bundled default behavior",
model_ref = "codex-oauth/gpt-5.5",
}
-7
View File
@@ -1,7 +0,0 @@
local base = require("_base")
return base {
slug = "companion",
description = "Companion role profile: GPT-5.5 with bundled default behavior",
model_ref = "codex-oauth/gpt-5.5",
}
-7
View File
@@ -1,7 +0,0 @@
local base = require("_base")
return base {
slug = "intake",
description = "Intake role profile: GPT-5.5 with bundled default behavior",
model_ref = "codex-oauth/gpt-5.5",
}
-7
View File
@@ -1,7 +0,0 @@
local base = require("_base")
return base {
slug = "orchestrator",
description = "Orchestrator role profile: GPT-5.5 with bundled default behavior",
model_ref = "codex-oauth/gpt-5.5",
}
-7
View File
@@ -1,7 +0,0 @@
local base = require("_base")
return base {
slug = "reviewer",
description = "Reviewer role profile: GPT-5.5 with bundled default behavior",
model_ref = "codex-oauth/gpt-5.5",
}
-19
View File
@@ -1,19 +0,0 @@
[backend]
provider = "builtin:yoi_local"
root = ".yoi/tickets"
[roles.intake]
profile = "project:intake"
workflow = "ticket-intake-workflow"
[roles.orchestrator]
profile = "project:orchestrator"
workflow = "ticket-orchestrator-routing"
[roles.coder]
profile = "project:coder"
workflow = "multi-agent-workflow"
[roles.reviewer]
profile = "project:reviewer"
workflow = "multi-agent-workflow"
@@ -1,88 +0,0 @@
---
id: 20260527-000001-auto-maintain-workflow
slug: auto-maintain-workflow
title: 半自動開発運用 Workflow
status: closed
kind: task
priority: P2
labels: [migrated]
created_at: 2026-05-27T00:00:01Z
updated_at: 2026-06-05T15:56:29Z
assignee: null
legacy_ticket: tickets/auto-maintain-workflow.md
---
## Migration reference
- legacy_ticket: tickets/auto-maintain-workflow.md
- migrated_from: TODO.md / tickets directory migration on 2026-05-27
# 半自動開発運用 Workflow
## 背景
insomnia では insomnia 自身の開発を、ユーザーがタスクを投げ、設計相談をし、実装 Pod / reviewer Pod に分担させる形で進めている。既に Workflow / Skills、SpawnPod、Pod 間通信、scope 委譲、ticket / review lifecycle は揃っており、局所的な実装判断は AI に移譲できる余地が大きい。
一方で、完全な unattended 自動開発にするには、永続ジョブキュー、git 書き込み権限、設計判断のエスカレーション基準など未整理の領域がある。初期段階では、常駐 scheduler ではなく、ユーザーが明示的に起動する「maintainer workflow」として、TODO / tickets を俯瞰し、実装・レビュー・修正依頼を orchestration し、設計境界や完了判断だけを人間に戻す運用を整備する。
## 要件
### Workflow の役割
`/auto-maintain` 相当の Workflow を用意し、親 Pod が以下を実行できるようにする。
- `TODO.md``tickets/` から着手候補を把握する
- 既存方針・既存 ticket から実装方針が十分に導ける作業を選ぶ
- 要件が曖昧、または設計判断が必要な場合は実装前に人間へ質問する
- 実装 Pod を spawn し、適切な read / write scope を委譲する
- 実装 Pod の完了報告と diff / build / test 結果を確認する
- 必要に応じて reviewer Pod、または親 Pod 自身でレビューする
- レビュー指摘があれば修正を依頼する
- 最終的に「完了候補」として人間に報告する
### エスカレーション基準
Workflow は、少なくとも以下の場合に作業を止めて人間へ確認する。
- ticket の要件から複数の設計方針が自然に導け、選択が将来の構造に影響する
- scope / permission / history 永続化 / prompt context 加工原則など、システムの安全モデルに触れる
- 新しい ticket の追加、既存 ticket の大幅な要件変更、ticket 完了削除を行う
- git の commit / merge / push など書き込み操作が必要になる
- テスト不能、再現不能、または作業範囲外の不具合に遭遇する
### Pod orchestration 規約
- 実装 Pod と reviewer Pod は原則分ける。ただし scope 衝突や作業粒度により、親 Pod がレビューしてもよい。
- 実装 Pod に worktree write scope を渡す場合、review artifact を親または reviewer が書く前に実装 Pod を停止して scope を回収する。
- spawn 時は、作業対象 worktree の write scope だけでなく、必要な参照元 ticket / project root の read scope も明示する。
- 子 Pod の出力は `ReadPodOutput` で確認し、必要なら `SendToPod` で追加依頼する。
- orphan 化した Pod や不要になった Pod は `StopPod` する。
### 成果物
- Workflow 本文、またはそれに準じる運用手順が workspace から呼び出せる形で追加される
- Workflow が resident workflow として広告可能かどうかを判断し、必要なら `model_invokation` 設定を含める
- 実際の insomnia 開発 ticket を 1 件以上試走し、実装 Pod / review / 人間確認の境界が機能することを確認する
- 試走で見つかった不足(永続ジョブキュー、scope handoff、review artifact の置き場所等)は、本チケット内で解決せず、必要なら別 ticket として切り出す
## 範囲外
- 常駐 scheduler / daemon による unattended 実行
- git commit / merge / push の自動化
- ticket 完了削除の自動化
- Workflow の状態機械化、永続ジョブキュー化、トランザクション管理
- scope owner handoff など、Pod 権限モデル自体の変更
## 完了条件
- `/auto-maintain` 相当の半自動開発運用 Workflow が利用可能になっている
- Workflow は TODO / tickets から作業を選び、実装 Pod / reviewer / 人間確認を使い分ける手順を明示している
- エスカレーション基準により、設計判断・git 書き込み・ticket 完了判断が人間に戻る
- 少なくとも 1 件の小さな実開発作業で試走し、結果と不足点が記録されている
- 既存の Workflow / Skill / memory の設計方針、特に Workflow 自動生成禁止と history に commit されない context input 禁止に反していない
## 参照
- `docs/plan/workflow.md`
- `docs/report/2026-05-05-file-ticket-scope.md`
- `tickets/internal-worker-workflow.md`
@@ -1,25 +0,0 @@
The old Auto Maintain workflow is retired and removed.
Resolution:
- Deleted `.yoi/workflow/auto-maintain.md`.
- Closed this Ticket as superseded by the newer Ticket-based orchestration workflow split:
- `ticket-intake-workflow`
- `ticket-orchestrator-routing`
- `ticket-preflight-workflow`
- `multi-agent-workflow`
- Updated `multi-agent-workflow` to point to Ticket Intake / Orchestrator Routing / Preflight instead of `$user/auto-maintain`.
- Updated `ticket-intake-workflow` to remove the obsolete auto-maintain connection.
- Updated `prompt-eval-metrics` so future prompt/workflow evaluation targets the current Ticket workflows or worktree workflow instead of `/auto-maintain`.
Rationale:
`auto-maintain` had become a broad and unstable WIP workflow with old assumptions around TODO/tickets and maintenance loops. Keeping it resident risks encouraging large implicit automation and bypassing the clearer gates now provided by Ticket Intake, Ticket Orchestrator Routing, Ticket Preflight, and Multi-agent Worktree Workflow.
Future maintainer/scheduler/lease behavior should be designed as explicit follow-up work, not revived through the deleted auto-maintain workflow.
Validation:
- `git diff --check`
- `./tickets.sh doctor`
- open workflow/docs search no longer finds `auto-maintain` references outside this closed historical Ticket context.
@@ -1,40 +0,0 @@
<!-- event: migration author: tickets.sh-migration at: 2026-05-27T00:00:01Z -->
## Migrated
Migrated from tickets/auto-maintain-workflow.md. No legacy review file was present at migration time.
---
<!-- event: close author: hare at: 2026-06-05T15:56:29Z status: closed -->
## Closed
The old Auto Maintain workflow is retired and removed.
Resolution:
- Deleted `.yoi/workflow/auto-maintain.md`.
- Closed this Ticket as superseded by the newer Ticket-based orchestration workflow split:
- `ticket-intake-workflow`
- `ticket-orchestrator-routing`
- `ticket-preflight-workflow`
- `multi-agent-workflow`
- Updated `multi-agent-workflow` to point to Ticket Intake / Orchestrator Routing / Preflight instead of `$user/auto-maintain`.
- Updated `ticket-intake-workflow` to remove the obsolete auto-maintain connection.
- Updated `prompt-eval-metrics` so future prompt/workflow evaluation targets the current Ticket workflows or worktree workflow instead of `/auto-maintain`.
Rationale:
`auto-maintain` had become a broad and unstable WIP workflow with old assumptions around TODO/tickets and maintenance loops. Keeping it resident risks encouraging large implicit automation and bypassing the clearer gates now provided by Ticket Intake, Ticket Orchestrator Routing, Ticket Preflight, and Multi-agent Worktree Workflow.
Future maintainer/scheduler/lease behavior should be designed as explicit follow-up work, not revived through the deleted auto-maintain workflow.
Validation:
- `git diff --check`
- `./tickets.sh doctor`
- open workflow/docs search no longer finds `auto-maintain` references outside this closed historical Ticket context.
---
@@ -1,155 +0,0 @@
---
id: 20260527-000004-manual-turn-rollback
slug: manual-turn-rollback
title: Pod/TUI: 手動 rewind 導線
status: closed
kind: task
priority: P2
labels: [tui, pod, ux]
created_at: 2026-05-27T00:00:04Z
updated_at: 2026-05-29T03:09:22Z
assignee: null
legacy_ticket: tickets/manual-turn-rollback.md
---
## Background
`pod-empty-turn-rollback` / `tui-empty-turn-restore` により、AI 側出力が 0 の interrupted turn については Pod 側で自動 rollback し、TUI 側で入力を復元できるようになった。
次に欲しいのは、直前 turn だけの rollback command ではなく、TUI から過去の user message を選び、その地点まで会話を戻してその入力を composer に復元する **manual rewind** 導線である。
誤送信、モデル選択ミス、途中で方針を変えた場合などに、ユーザーは過去の入力を選び直し、必要なら編集してから Enter で retry できる。選択した瞬間に再実行はしない。
## UX
- `:rewind` command を追加する。
- `:rollback``:rewind` の alias として扱ってよい。
- `Ctrl+R` は rewind/rollback を表す shortcut として、同じ picker を開く。
- `:rewind` / `Ctrl+R` は引数を取らず、TUI 内の picker を開く。
- Rewind picker は popup/overlay ではなく、通常の conversation/history view area を一時的に置き換える dedicated view として表示する。
- composer/input area と actionbar/status area は通常通り残す。
- main view area だけが message history から rewind target list に切り替わる。
- Esc 等で picker を閉じると、通常の conversation/history view に戻る。
- `:rewind` command は `Idle` / `Paused` の時だけ picker を開く。`Running` 中は visible diagnostic を出して何もしない。
- `Ctrl+R` shortcut も Pod が停止中 (`Idle` または `Paused`) の時だけ有効にする。`Running` 中は無視または visible diagnostic にする。
- picker は過去の user message を新しい順に表示する。
- turn number / index
- timestamp または relative time
- message preview
- eligible / disabled reason
- picker で user message を選択すると、Pod はその user message の直前まで history/session log を rewind し、選択された message を TUI composer に復元する。
- 選択後は、composer に該当 message が入っている状態になる。
- Enter を押すとその message で retry できる。
- ユーザーは送信前に編集できる。
- 選択しただけで自動実行しない。
- Esc 等で picker を閉じると何も変更しない。
## Semantics
Manual rewind は destructive operation として扱う。選択地点より後の履歴 suffix は捨てる。fork は優先度低めの別機能であり、この ticket の実装では fork を作らない。
- Rewind は current active segment/session に対して行う。
- Rewind 成功時、選択された `UserInput` entry 自体も履歴から取り除かれ、composer に戻る。
- Rewind 後、選択地点より後の assistant output / later user messages / usage entries / display blocks は現 branch から消える。
- 元 suffix を保持したい場合は将来の `pod-session-fork` で扱う。この ticket では保持しない。
- Tool side effect の undo はしない。
Initial safety policy:
- Pod が `Idle` または `Paused` の時だけ許可する。
- `Running` 中は拒否する。
- picker 表示時から head が変わった場合は apply 時に再検証して拒否する。
- segment rotation / compaction を跨ぐ rewind は初期実装では対象外でよい。
- suffix に tool call / tool result / other side-effect-looking entries が含まれる場合でも、初期方針としては destructive rewind を許可してよい。ただし UI には「以降の履歴は破棄され、tool side effects は undo されない」ことが分かる notice/diagnostic を出す。
- 実装上どうしても安全に整合性を保てない suffix 種別がある場合は、具体的な disabled reason を表示して拒否する。
## Protocol / ownership
TUI がローカルに履歴を削るのではなく、Pod が authoritative に rewind を検証・適用する。
Suggested protocol shape:
```rust
Method::ListRewindTargets { limit: Option<usize> }
Method::RewindTo {
target: RewindTargetId,
expected_head_entries: usize,
}
Event::RewindTargets { targets: Vec<RewindTarget> }
Event::RewindApplied {
entries: Vec<serde_json::Value>,
input: Vec<Segment>,
summary: RewindSummary,
}
```
Exact names may differ, but the behavior should stay:
- listing targets and applying a target are separate operations.
- apply revalidates target identity and current head.
- success returns enough entries for clients to reseed their view.
- success returns the selected user input segments so TUI can restore the composer.
- failure uses visible diagnostics, e.g. `Event::Error { code: InvalidRequest, message }`.
`RunResult::RolledBack` should not be reused for this idle control operation. It remains the run-lifecycle signal for submit-time empty-turn rollback.
## Implementation notes
- Target identity can initially be current segment + entry index:
```rust
RewindTargetId {
segment_id: SegmentId,
user_input_entry_index: usize,
}
```
- Include `expected_head_entries` to reject stale picker selections.
- Each target should include:
- preview
- original `Vec<Segment>`
- turn/index metadata if available
- whether the target is eligible
- disabled/warning reason if relevant
- the entry count to truncate to, which is before the selected user message.
- Rewind apply must keep these in sync:
- worker history
- `user_segments`
- session store segment log
- `SegmentLogSink` mirror
- usage history / trackers
- TUI view reconstructed from returned entries
- If a complete current-state reconstruction from log is simpler and safer than maintaining many historical snapshots, prefer that over fragile partial truncation.
## Acceptance criteria
- `:rewind` opens a picker of past user messages by replacing the normal conversation/history view area, not by drawing a small popup.
- `Ctrl+R` opens the same picker only while Pod status is `Idle` or `Paused`; it is disabled/rejected while `Running`.
- Selecting a message rewinds the Pod state to before that message and restores the message into the TUI composer.
- Rewind does not auto-run; pressing Enter after selection retries the restored message.
- Rewind success updates Pod session log, SegmentLogSink mirror, worker state, and TUI display consistently.
- Esc returns from the rewind picker to the normal conversation/history view without changing Pod state.
- Rewind failure leaves state unchanged and shows a clear reason.
- Picker selections are revalidated at apply time to avoid stale-head corruption.
- Rewound suffix is intentionally discarded; no fork is created.
- Tool side effects are not undone; UI/diagnostics make this clear when relevant.
- Tests cover target listing, apply success, stale-head rejection, composer restore, TUI display reseed, and at least one suffix-with-tool case.
- `cargo fmt --check`
- `cargo check -p protocol -p pod -p tui`
- Relevant focused tests.
## Out of scope
- Creating a fork when rewinding.
- Fork tree visualization.
- Merging branches.
- Undoing tool side effects.
- Rollback history stack / redo.
- Rewind across compacted segments unless it falls out naturally from implementation.
## Related
- `20260527-000009-pod-session-fork` remains a lower-priority future feature for preserving alternate histories.
- Completed: `pod-empty-turn-rollback`
- Completed: `tui-empty-turn-restore`
@@ -1,155 +0,0 @@
---
id: 20260527-000004-manual-turn-rollback
slug: manual-turn-rollback
title: Pod/TUI: 手動 rewind 導線
status: closed
kind: task
priority: P2
labels: [tui, pod, ux]
created_at: 2026-05-27T00:00:04Z
updated_at: 2026-05-29T03:09:22Z
assignee: null
legacy_ticket: tickets/manual-turn-rollback.md
---
## Background
`pod-empty-turn-rollback` / `tui-empty-turn-restore` により、AI 側出力が 0 の interrupted turn については Pod 側で自動 rollback し、TUI 側で入力を復元できるようになった。
次に欲しいのは、直前 turn だけの rollback command ではなく、TUI から過去の user message を選び、その地点まで会話を戻してその入力を composer に復元する **manual rewind** 導線である。
誤送信、モデル選択ミス、途中で方針を変えた場合などに、ユーザーは過去の入力を選び直し、必要なら編集してから Enter で retry できる。選択した瞬間に再実行はしない。
## UX
- `:rewind` command を追加する。
- `:rollback``:rewind` の alias として扱ってよい。
- `Ctrl+R` は rewind/rollback を表す shortcut として、同じ picker を開く。
- `:rewind` / `Ctrl+R` は引数を取らず、TUI 内の picker を開く。
- Rewind picker は popup/overlay ではなく、通常の conversation/history view area を一時的に置き換える dedicated view として表示する。
- composer/input area と actionbar/status area は通常通り残す。
- main view area だけが message history から rewind target list に切り替わる。
- Esc 等で picker を閉じると、通常の conversation/history view に戻る。
- `:rewind` command は `Idle` / `Paused` の時だけ picker を開く。`Running` 中は visible diagnostic を出して何もしない。
- `Ctrl+R` shortcut も Pod が停止中 (`Idle` または `Paused`) の時だけ有効にする。`Running` 中は無視または visible diagnostic にする。
- picker は過去の user message を新しい順に表示する。
- turn number / index
- timestamp または relative time
- message preview
- eligible / disabled reason
- picker で user message を選択すると、Pod はその user message の直前まで history/session log を rewind し、選択された message を TUI composer に復元する。
- 選択後は、composer に該当 message が入っている状態になる。
- Enter を押すとその message で retry できる。
- ユーザーは送信前に編集できる。
- 選択しただけで自動実行しない。
- Esc 等で picker を閉じると何も変更しない。
## Semantics
Manual rewind は destructive operation として扱う。選択地点より後の履歴 suffix は捨てる。fork は優先度低めの別機能であり、この ticket の実装では fork を作らない。
- Rewind は current active segment/session に対して行う。
- Rewind 成功時、選択された `UserInput` entry 自体も履歴から取り除かれ、composer に戻る。
- Rewind 後、選択地点より後の assistant output / later user messages / usage entries / display blocks は現 branch から消える。
- 元 suffix を保持したい場合は将来の `pod-session-fork` で扱う。この ticket では保持しない。
- Tool side effect の undo はしない。
Initial safety policy:
- Pod が `Idle` または `Paused` の時だけ許可する。
- `Running` 中は拒否する。
- picker 表示時から head が変わった場合は apply 時に再検証して拒否する。
- segment rotation / compaction を跨ぐ rewind は初期実装では対象外でよい。
- suffix に tool call / tool result / other side-effect-looking entries が含まれる場合でも、初期方針としては destructive rewind を許可してよい。ただし UI には「以降の履歴は破棄され、tool side effects は undo されない」ことが分かる notice/diagnostic を出す。
- 実装上どうしても安全に整合性を保てない suffix 種別がある場合は、具体的な disabled reason を表示して拒否する。
## Protocol / ownership
TUI がローカルに履歴を削るのではなく、Pod が authoritative に rewind を検証・適用する。
Suggested protocol shape:
```rust
Method::ListRewindTargets { limit: Option<usize> }
Method::RewindTo {
target: RewindTargetId,
expected_head_entries: usize,
}
Event::RewindTargets { targets: Vec<RewindTarget> }
Event::RewindApplied {
entries: Vec<serde_json::Value>,
input: Vec<Segment>,
summary: RewindSummary,
}
```
Exact names may differ, but the behavior should stay:
- listing targets and applying a target are separate operations.
- apply revalidates target identity and current head.
- success returns enough entries for clients to reseed their view.
- success returns the selected user input segments so TUI can restore the composer.
- failure uses visible diagnostics, e.g. `Event::Error { code: InvalidRequest, message }`.
`RunResult::RolledBack` should not be reused for this idle control operation. It remains the run-lifecycle signal for submit-time empty-turn rollback.
## Implementation notes
- Target identity can initially be current segment + entry index:
```rust
RewindTargetId {
segment_id: SegmentId,
user_input_entry_index: usize,
}
```
- Include `expected_head_entries` to reject stale picker selections.
- Each target should include:
- preview
- original `Vec<Segment>`
- turn/index metadata if available
- whether the target is eligible
- disabled/warning reason if relevant
- the entry count to truncate to, which is before the selected user message.
- Rewind apply must keep these in sync:
- worker history
- `user_segments`
- session store segment log
- `SegmentLogSink` mirror
- usage history / trackers
- TUI view reconstructed from returned entries
- If a complete current-state reconstruction from log is simpler and safer than maintaining many historical snapshots, prefer that over fragile partial truncation.
## Acceptance criteria
- `:rewind` opens a picker of past user messages by replacing the normal conversation/history view area, not by drawing a small popup.
- `Ctrl+R` opens the same picker only while Pod status is `Idle` or `Paused`; it is disabled/rejected while `Running`.
- Selecting a message rewinds the Pod state to before that message and restores the message into the TUI composer.
- Rewind does not auto-run; pressing Enter after selection retries the restored message.
- Rewind success updates Pod session log, SegmentLogSink mirror, worker state, and TUI display consistently.
- Esc returns from the rewind picker to the normal conversation/history view without changing Pod state.
- Rewind failure leaves state unchanged and shows a clear reason.
- Picker selections are revalidated at apply time to avoid stale-head corruption.
- Rewound suffix is intentionally discarded; no fork is created.
- Tool side effects are not undone; UI/diagnostics make this clear when relevant.
- Tests cover target listing, apply success, stale-head rejection, composer restore, TUI display reseed, and at least one suffix-with-tool case.
- `cargo fmt --check`
- `cargo check -p protocol -p pod -p tui`
- Relevant focused tests.
## Out of scope
- Creating a fork when rewinding.
- Fork tree visualization.
- Merging branches.
- Undoing tool side effects.
- Rollback history stack / redo.
- Rewind across compacted segments unless it falls out naturally from implementation.
## Related
- `20260527-000009-pod-session-fork` remains a lower-priority future feature for preserving alternate histories.
- Completed: `pod-empty-turn-rollback`
- Completed: `tui-empty-turn-restore`
@@ -1,170 +0,0 @@
<!-- event: migration author: tickets.sh-migration at: 2026-05-27T00:00:04Z -->
## Migrated
Migrated from tickets/manual-turn-rollback.md. No legacy review file was present at migration time.
---
<!-- event: close author: hare at: 2026-05-29T03:09:22Z status: closed -->
## Closed
---
id: 20260527-000004-manual-turn-rollback
slug: manual-turn-rollback
title: Pod/TUI: 手動 rewind 導線
status: closed
kind: task
priority: P2
labels: [tui, pod, ux]
created_at: 2026-05-27T00:00:04Z
updated_at: 2026-05-29T03:09:22Z
assignee: null
legacy_ticket: tickets/manual-turn-rollback.md
---
## Background
`pod-empty-turn-rollback` / `tui-empty-turn-restore` により、AI 側出力が 0 の interrupted turn については Pod 側で自動 rollback し、TUI 側で入力を復元できるようになった。
次に欲しいのは、直前 turn だけの rollback command ではなく、TUI から過去の user message を選び、その地点まで会話を戻してその入力を composer に復元する **manual rewind** 導線である。
誤送信、モデル選択ミス、途中で方針を変えた場合などに、ユーザーは過去の入力を選び直し、必要なら編集してから Enter で retry できる。選択した瞬間に再実行はしない。
## UX
- `:rewind` command を追加する。
- `:rollback``:rewind` の alias として扱ってよい。
- `Ctrl+R` は rewind/rollback を表す shortcut として、同じ picker を開く。
- `:rewind` / `Ctrl+R` は引数を取らず、TUI 内の picker を開く。
- Rewind picker は popup/overlay ではなく、通常の conversation/history view area を一時的に置き換える dedicated view として表示する。
- composer/input area と actionbar/status area は通常通り残す。
- main view area だけが message history から rewind target list に切り替わる。
- Esc 等で picker を閉じると、通常の conversation/history view に戻る。
- `:rewind` command は `Idle` / `Paused` の時だけ picker を開く。`Running` 中は visible diagnostic を出して何もしない。
- `Ctrl+R` shortcut も Pod が停止中 (`Idle` または `Paused`) の時だけ有効にする。`Running` 中は無視または visible diagnostic にする。
- picker は過去の user message を新しい順に表示する。
- turn number / index
- timestamp または relative time
- message preview
- eligible / disabled reason
- picker で user message を選択すると、Pod はその user message の直前まで history/session log を rewind し、選択された message を TUI composer に復元する。
- 選択後は、composer に該当 message が入っている状態になる。
- Enter を押すとその message で retry できる。
- ユーザーは送信前に編集できる。
- 選択しただけで自動実行しない。
- Esc 等で picker を閉じると何も変更しない。
## Semantics
Manual rewind は destructive operation として扱う。選択地点より後の履歴 suffix は捨てる。fork は優先度低めの別機能であり、この ticket の実装では fork を作らない。
- Rewind は current active segment/session に対して行う。
- Rewind 成功時、選択された `UserInput` entry 自体も履歴から取り除かれ、composer に戻る。
- Rewind 後、選択地点より後の assistant output / later user messages / usage entries / display blocks は現 branch から消える。
- 元 suffix を保持したい場合は将来の `pod-session-fork` で扱う。この ticket では保持しない。
- Tool side effect の undo はしない。
Initial safety policy:
- Pod が `Idle` または `Paused` の時だけ許可する。
- `Running` 中は拒否する。
- picker 表示時から head が変わった場合は apply 時に再検証して拒否する。
- segment rotation / compaction を跨ぐ rewind は初期実装では対象外でよい。
- suffix に tool call / tool result / other side-effect-looking entries が含まれる場合でも、初期方針としては destructive rewind を許可してよい。ただし UI には「以降の履歴は破棄され、tool side effects は undo されない」ことが分かる notice/diagnostic を出す。
- 実装上どうしても安全に整合性を保てない suffix 種別がある場合は、具体的な disabled reason を表示して拒否する。
## Protocol / ownership
TUI がローカルに履歴を削るのではなく、Pod が authoritative に rewind を検証・適用する。
Suggested protocol shape:
```rust
Method::ListRewindTargets { limit: Option<usize> }
Method::RewindTo {
target: RewindTargetId,
expected_head_entries: usize,
}
Event::RewindTargets { targets: Vec<RewindTarget> }
Event::RewindApplied {
entries: Vec<serde_json::Value>,
input: Vec<Segment>,
summary: RewindSummary,
}
```
Exact names may differ, but the behavior should stay:
- listing targets and applying a target are separate operations.
- apply revalidates target identity and current head.
- success returns enough entries for clients to reseed their view.
- success returns the selected user input segments so TUI can restore the composer.
- failure uses visible diagnostics, e.g. `Event::Error { code: InvalidRequest, message }`.
`RunResult::RolledBack` should not be reused for this idle control operation. It remains the run-lifecycle signal for submit-time empty-turn rollback.
## Implementation notes
- Target identity can initially be current segment + entry index:
```rust
RewindTargetId {
segment_id: SegmentId,
user_input_entry_index: usize,
}
```
- Include `expected_head_entries` to reject stale picker selections.
- Each target should include:
- preview
- original `Vec<Segment>`
- turn/index metadata if available
- whether the target is eligible
- disabled/warning reason if relevant
- the entry count to truncate to, which is before the selected user message.
- Rewind apply must keep these in sync:
- worker history
- `user_segments`
- session store segment log
- `SegmentLogSink` mirror
- usage history / trackers
- TUI view reconstructed from returned entries
- If a complete current-state reconstruction from log is simpler and safer than maintaining many historical snapshots, prefer that over fragile partial truncation.
## Acceptance criteria
- `:rewind` opens a picker of past user messages by replacing the normal conversation/history view area, not by drawing a small popup.
- `Ctrl+R` opens the same picker only while Pod status is `Idle` or `Paused`; it is disabled/rejected while `Running`.
- Selecting a message rewinds the Pod state to before that message and restores the message into the TUI composer.
- Rewind does not auto-run; pressing Enter after selection retries the restored message.
- Rewind success updates Pod session log, SegmentLogSink mirror, worker state, and TUI display consistently.
- Esc returns from the rewind picker to the normal conversation/history view without changing Pod state.
- Rewind failure leaves state unchanged and shows a clear reason.
- Picker selections are revalidated at apply time to avoid stale-head corruption.
- Rewound suffix is intentionally discarded; no fork is created.
- Tool side effects are not undone; UI/diagnostics make this clear when relevant.
- Tests cover target listing, apply success, stale-head rejection, composer restore, TUI display reseed, and at least one suffix-with-tool case.
- `cargo fmt --check`
- `cargo check -p protocol -p pod -p tui`
- Relevant focused tests.
## Out of scope
- Creating a fork when rewinding.
- Fork tree visualization.
- Merging branches.
- Undoing tool side effects.
- Rollback history stack / redo.
- Rewind across compacted segments unless it falls out naturally from implementation.
## Related
- `20260527-000009-pod-session-fork` remains a lower-priority future feature for preserving alternate histories.
- Completed: `pod-empty-turn-rollback`
- Completed: `tui-empty-turn-restore`
---
@@ -1,87 +0,0 @@
---
id: 20260527-000005-memory-tool-guidance-prompt
slug: memory-tool-guidance-prompt
title: プロンプト: memory / knowledge tool 利用タイミングのガイダンス
status: closed
kind: task
priority: P2
labels: [migrated]
created_at: 2026-05-27T00:00:05Z
updated_at: 2026-05-28T23:59:06Z
assignee: null
legacy_ticket: tickets/memory-tool-guidance-prompt.md
---
## Migration reference
- legacy_ticket: tickets/memory-tool-guidance-prompt.md
- migrated_from: TODO.md / tickets directory migration on 2026-05-27
# プロンプト: memory / knowledge tool 利用タイミングのガイダンス
## 背景
通常 Pod には `MemoryQuery` / `MemoryRead` / `KnowledgeQuery` / `MemoryWrite` 等の memory / knowledge tools が提供されているが、現状の通常 system prompt はそれらを「いつ使うべきか」をほとんど説明していない。
現在の `resources/prompts/common/tool-usage.md` は、既知パスなら Read、検索なら Grep/Glob、並列可能ならまとめる、という汎用 tool 方針に留まる。memory / knowledge tools の description には操作方法はあるが、モデルが自発的に memory lookup すべき状況は明示されていない。
このため、過去の決定・ユーザー嗜好・以前の経緯を問われても、モデルが `MemoryQuery` / `MemoryRead` を自発的に使わない可能性が高い。`summary.md` resident injection により短い durable context は常時見えるようになるが、詳細な過去判断や request を探すには query guidance が必要である。
## 方針
通常 Pod の system prompt に、memory / knowledge tools の利用タイミングを短く追加する。
目的は「必要な時に過去情報を探す」ことであり、毎 turn memory query を強制することではない。memory / knowledge は helpful context だが stale になり得るため、現在の user instruction / files / tickets / git state / session log を上書きする権威として扱わせない。
## 推奨する追加文言
`resources/prompts/common/tool-usage.md` に新しい小節を足すか、`resources/prompts/common/memory.md` を作って `default.md` から include する。
例:
```md
## Memory and knowledge
Use memory and knowledge tools when the user asks about past decisions, prior requests, durable preferences, project history, or why something was done. Do not guess from vague recollection when a targeted memory lookup would answer the question.
- Use `MemoryQuery` for durable memory records: summary, decisions, and requests.
- Use `KnowledgeQuery` for project knowledge records.
- Use `MemoryRead(kind=summary)` when you need the full workspace memory summary.
- Use `MemoryRead` on returned slugs when query excerpts are insufficient.
Resident memory and knowledge are helpful context but may be stale. Current user instructions, repository files, tickets, git history, and session logs are more authoritative for exact current state.
Do not query memory on every turn. Prefer it when past context, user preferences, or prior rationale materially affects the answer or implementation.
```
文言は実装時に自然に調整してよいが、以下の意味は維持する。
- 過去判断 / 過去依頼 / ユーザー嗜好 / project history / why 系では memory lookup を促す。
- `MemoryQuery`, `KnowledgeQuery`, `MemoryRead(kind=summary)`, slug read の役割を明示する。
- resident context は stale になり得ると明示する。
- current user instruction / files / tickets / git / session logs の方が exact current state では強いと明示する。
- 毎 turn query しないと明示する。
## 要件
- 通常 Pod の default prompt に memory / knowledge tool 利用タイミングの guidance が入る。
- internal prompts (`memory_extract_system`, `memory_consolidation_system`, `compact_system`) の挙動を変えない。
- guidance は短く、通常 turn の token overhead を過度に増やさない。
- guidance は memory / knowledge を current authority より上に置かない。
- guidance は毎 turn memory query を促さない。
- `MemoryWrite` / `MemoryEdit` / `MemoryDelete` の自発的利用を安易に促さない。
- 通常作業では read/query を促し、write/edit/delete は明示的な依頼または memory maintenance worker に寄せる。
## 完了条件
- `resources/prompts/default.md` から memory guidance が render される。
- prompt render / catalog 関連 test があれば更新されている。
- internal worker prompt には不要な memory guidance が混ざらない。
- `cargo fmt --check` と関連 test が通る。
## 範囲外
- `summary.md` resident injection の実装。これは `memory-summary-resident-injection.md` で扱う。
- memory tool descriptions の大幅変更。
- memory usage metrics の設計変更。
- global memory / project local memory の store 分離。
@@ -1,87 +0,0 @@
---
id: 20260527-000005-memory-tool-guidance-prompt
slug: memory-tool-guidance-prompt
title: プロンプト: memory / knowledge tool 利用タイミングのガイダンス
status: closed
kind: task
priority: P2
labels: [migrated]
created_at: 2026-05-27T00:00:05Z
updated_at: 2026-05-28T23:59:06Z
assignee: null
legacy_ticket: tickets/memory-tool-guidance-prompt.md
---
## Migration reference
- legacy_ticket: tickets/memory-tool-guidance-prompt.md
- migrated_from: TODO.md / tickets directory migration on 2026-05-27
# プロンプト: memory / knowledge tool 利用タイミングのガイダンス
## 背景
通常 Pod には `MemoryQuery` / `MemoryRead` / `KnowledgeQuery` / `MemoryWrite` 等の memory / knowledge tools が提供されているが、現状の通常 system prompt はそれらを「いつ使うべきか」をほとんど説明していない。
現在の `resources/prompts/common/tool-usage.md` は、既知パスなら Read、検索なら Grep/Glob、並列可能ならまとめる、という汎用 tool 方針に留まる。memory / knowledge tools の description には操作方法はあるが、モデルが自発的に memory lookup すべき状況は明示されていない。
このため、過去の決定・ユーザー嗜好・以前の経緯を問われても、モデルが `MemoryQuery` / `MemoryRead` を自発的に使わない可能性が高い。`summary.md` resident injection により短い durable context は常時見えるようになるが、詳細な過去判断や request を探すには query guidance が必要である。
## 方針
通常 Pod の system prompt に、memory / knowledge tools の利用タイミングを短く追加する。
目的は「必要な時に過去情報を探す」ことであり、毎 turn memory query を強制することではない。memory / knowledge は helpful context だが stale になり得るため、現在の user instruction / files / tickets / git state / session log を上書きする権威として扱わせない。
## 推奨する追加文言
`resources/prompts/common/tool-usage.md` に新しい小節を足すか、`resources/prompts/common/memory.md` を作って `default.md` から include する。
例:
```md
## Memory and knowledge
Use memory and knowledge tools when the user asks about past decisions, prior requests, durable preferences, project history, or why something was done. Do not guess from vague recollection when a targeted memory lookup would answer the question.
- Use `MemoryQuery` for durable memory records: summary, decisions, and requests.
- Use `KnowledgeQuery` for project knowledge records.
- Use `MemoryRead(kind=summary)` when you need the full workspace memory summary.
- Use `MemoryRead` on returned slugs when query excerpts are insufficient.
Resident memory and knowledge are helpful context but may be stale. Current user instructions, repository files, tickets, git history, and session logs are more authoritative for exact current state.
Do not query memory on every turn. Prefer it when past context, user preferences, or prior rationale materially affects the answer or implementation.
```
文言は実装時に自然に調整してよいが、以下の意味は維持する。
- 過去判断 / 過去依頼 / ユーザー嗜好 / project history / why 系では memory lookup を促す。
- `MemoryQuery`, `KnowledgeQuery`, `MemoryRead(kind=summary)`, slug read の役割を明示する。
- resident context は stale になり得ると明示する。
- current user instruction / files / tickets / git / session logs の方が exact current state では強いと明示する。
- 毎 turn query しないと明示する。
## 要件
- 通常 Pod の default prompt に memory / knowledge tool 利用タイミングの guidance が入る。
- internal prompts (`memory_extract_system`, `memory_consolidation_system`, `compact_system`) の挙動を変えない。
- guidance は短く、通常 turn の token overhead を過度に増やさない。
- guidance は memory / knowledge を current authority より上に置かない。
- guidance は毎 turn memory query を促さない。
- `MemoryWrite` / `MemoryEdit` / `MemoryDelete` の自発的利用を安易に促さない。
- 通常作業では read/query を促し、write/edit/delete は明示的な依頼または memory maintenance worker に寄せる。
## 完了条件
- `resources/prompts/default.md` から memory guidance が render される。
- prompt render / catalog 関連 test があれば更新されている。
- internal worker prompt には不要な memory guidance が混ざらない。
- `cargo fmt --check` と関連 test が通る。
## 範囲外
- `summary.md` resident injection の実装。これは `memory-summary-resident-injection.md` で扱う。
- memory tool descriptions の大幅変更。
- memory usage metrics の設計変更。
- global memory / project local memory の store 分離。
@@ -1,102 +0,0 @@
<!-- event: migration author: tickets.sh-migration at: 2026-05-27T00:00:05Z -->
## Migrated
Migrated from tickets/memory-tool-guidance-prompt.md. No legacy review file was present at migration time.
---
<!-- event: close author: hare at: 2026-05-28T23:59:06Z status: closed -->
## Closed
---
id: 20260527-000005-memory-tool-guidance-prompt
slug: memory-tool-guidance-prompt
title: プロンプト: memory / knowledge tool 利用タイミングのガイダンス
status: closed
kind: task
priority: P2
labels: [migrated]
created_at: 2026-05-27T00:00:05Z
updated_at: 2026-05-28T23:59:06Z
assignee: null
legacy_ticket: tickets/memory-tool-guidance-prompt.md
---
## Migration reference
- legacy_ticket: tickets/memory-tool-guidance-prompt.md
- migrated_from: TODO.md / tickets directory migration on 2026-05-27
# プロンプト: memory / knowledge tool 利用タイミングのガイダンス
## 背景
通常 Pod には `MemoryQuery` / `MemoryRead` / `KnowledgeQuery` / `MemoryWrite` 等の memory / knowledge tools が提供されているが、現状の通常 system prompt はそれらを「いつ使うべきか」をほとんど説明していない。
現在の `resources/prompts/common/tool-usage.md` は、既知パスなら Read、検索なら Grep/Glob、並列可能ならまとめる、という汎用 tool 方針に留まる。memory / knowledge tools の description には操作方法はあるが、モデルが自発的に memory lookup すべき状況は明示されていない。
このため、過去の決定・ユーザー嗜好・以前の経緯を問われても、モデルが `MemoryQuery` / `MemoryRead` を自発的に使わない可能性が高い。`summary.md` resident injection により短い durable context は常時見えるようになるが、詳細な過去判断や request を探すには query guidance が必要である。
## 方針
通常 Pod の system prompt に、memory / knowledge tools の利用タイミングを短く追加する。
目的は「必要な時に過去情報を探す」ことであり、毎 turn memory query を強制することではない。memory / knowledge は helpful context だが stale になり得るため、現在の user instruction / files / tickets / git state / session log を上書きする権威として扱わせない。
## 推奨する追加文言
`resources/prompts/common/tool-usage.md` に新しい小節を足すか、`resources/prompts/common/memory.md` を作って `default.md` から include する。
例:
```md
## Memory and knowledge
Use memory and knowledge tools when the user asks about past decisions, prior requests, durable preferences, project history, or why something was done. Do not guess from vague recollection when a targeted memory lookup would answer the question.
- Use `MemoryQuery` for durable memory records: summary, decisions, and requests.
- Use `KnowledgeQuery` for project knowledge records.
- Use `MemoryRead(kind=summary)` when you need the full workspace memory summary.
- Use `MemoryRead` on returned slugs when query excerpts are insufficient.
Resident memory and knowledge are helpful context but may be stale. Current user instructions, repository files, tickets, git history, and session logs are more authoritative for exact current state.
Do not query memory on every turn. Prefer it when past context, user preferences, or prior rationale materially affects the answer or implementation.
```
文言は実装時に自然に調整してよいが、以下の意味は維持する。
- 過去判断 / 過去依頼 / ユーザー嗜好 / project history / why 系では memory lookup を促す。
- `MemoryQuery`, `KnowledgeQuery`, `MemoryRead(kind=summary)`, slug read の役割を明示する。
- resident context は stale になり得ると明示する。
- current user instruction / files / tickets / git / session logs の方が exact current state では強いと明示する。
- 毎 turn query しないと明示する。
## 要件
- 通常 Pod の default prompt に memory / knowledge tool 利用タイミングの guidance が入る。
- internal prompts (`memory_extract_system`, `memory_consolidation_system`, `compact_system`) の挙動を変えない。
- guidance は短く、通常 turn の token overhead を過度に増やさない。
- guidance は memory / knowledge を current authority より上に置かない。
- guidance は毎 turn memory query を促さない。
- `MemoryWrite` / `MemoryEdit` / `MemoryDelete` の自発的利用を安易に促さない。
- 通常作業では read/query を促し、write/edit/delete は明示的な依頼または memory maintenance worker に寄せる。
## 完了条件
- `resources/prompts/default.md` から memory guidance が render される。
- prompt render / catalog 関連 test があれば更新されている。
- internal worker prompt には不要な memory guidance が混ざらない。
- `cargo fmt --check` と関連 test が通る。
## 範囲外
- `summary.md` resident injection の実装。これは `memory-summary-resident-injection.md` で扱う。
- memory tool descriptions の大幅変更。
- memory usage metrics の設計変更。
- global memory / project local memory の store 分離。
---
@@ -1,76 +0,0 @@
---
id: 20260527-000007-pod-inbound-pod-event-dedup
slug: pod-inbound-pod-event-dedup
title: Inbound PodEvent ハンドリングの重複を統合する
status: closed
kind: task
priority: P2
labels: [migrated]
created_at: 2026-05-27T00:00:07Z
updated_at: 2026-05-30T05:37:00Z
assignee: null
legacy_ticket: tickets/pod-inbound-pod-event-dedup.md
---
## Migration reference
- legacy_ticket: tickets/pod-inbound-pod-event-dedup.md
- migrated_from: TODO.md / tickets directory migration on 2026-05-27
# Inbound PodEvent ハンドリングの重複を統合する
## 背景
子 Pod から `Method::PodEvent(event)` を受けたときの処理が `controller_loop``drive_turn` の 2 箇所にコピーされている。
`controller.rs:693-720`idle / paused 中):
```rust
Method::PodEvent(event) => {
crate::ipc::event::apply_event_side_effects(
&event, &spawned_registry, &spawner_name, &self_parent_socket,
).await;
pod.push_pod_event_notify(event);
if shared_state.get_status() == PodStatus::Idle {
pending = Some(PendingRun::RunForNotification);
}
}
```
`controller.rs:861-879`in-flight turn 中):
```rust
Some(Method::PodEvent(event)) => {
let self_parent_socket = parent_socket.cloned();
crate::ipc::event::apply_event_side_effects(
&event, spawned_registry, self_name, &self_parent_socket,
).await;
notify_buffer.push_pod_event(event);
}
```
差分は 2 点:
1. **buffer への push 経路**: `pod.push_pod_event_notify(event)` vs `notify_buffer.push_pod_event(event)`。両者は同じ `NotifyBuffer` を叩く(`pod.rs:845-846``self.pending_notifies.push_pod_event(event)` を呼ぶだけで、`notify_buffer_handle()` はその `pending_notifies.clone()` を返す)。**完全に等価**。
2. **auto-kick**: idle 経路だけ `PendingRun::RunForNotification` を stage する。in-flight 経路は in-flight 自体が消化するので不要。
つまり「event の処理本体」(side-effects + notify buffer への push)は同一で、後段の auto-kick だけが state-dependent な分岐。にもかかわらず関数化されておらず、片方をいじってもう片方を忘れると挙動が割れる。
## 要件
- side-effects 適用 + NotifyBuffer への typed push の流れを単一関数 `handle_inbound_pod_event` に切り出す。
- `controller_loop` / `drive_turn` の両方からこのヘルパーを呼ぶ形に置き換える。
- auto-kick (`PendingRun::RunForNotification` の stage) は呼び出し側の責務として残す。これは Pod のライフサイクル状態に依存した判断で、ヘルパー内には押し込めない。
- 関数シグネチャは引数を最小化する。`event``spawned_registry``self_name: &str``self_parent_socket: &Option<PathBuf>` または `Option<&PathBuf>``notify_buffer: &NotifyBuffer` の 5 つで足りる前提。`Pod` への可変参照は不要(`notify_buffer` で代用可能)。
- 動作変化なし。既存の `Method::PodEvent` 挙動(in-flight / idle 両方)が完全に同一で続行すること。
## 完了条件
- `controller.rs` 内に `apply_event_side_effects` 呼び出しが 1 箇所だけ残り、`controller_loop``drive_turn``Method::PodEvent` アームはどちらも `handle_inbound_pod_event(...)` 呼び出し + idle 経路のみ auto-kick stage、という形になる。
- 既存の inbound PodEvent 関連テスト(特に `apply_event_side_effects` の idempotency や `notify_buffer` への typed push)が通る。
## 範囲外
- `apply_event_side_effects` 自体の中身変更。
- `NotifyBuffer` API のリネーム / 統合。
- `pod.push_pod_event_notify` の削除([[pod-interrupt-prep-internalize]] と同じく将来の整理対象だが、本チケットでは外向き API は触らない)。
@@ -1,76 +0,0 @@
---
id: 20260527-000007-pod-inbound-pod-event-dedup
slug: pod-inbound-pod-event-dedup
title: Inbound PodEvent ハンドリングの重複を統合する
status: closed
kind: task
priority: P2
labels: [migrated]
created_at: 2026-05-27T00:00:07Z
updated_at: 2026-05-30T05:37:00Z
assignee: null
legacy_ticket: tickets/pod-inbound-pod-event-dedup.md
---
## Migration reference
- legacy_ticket: tickets/pod-inbound-pod-event-dedup.md
- migrated_from: TODO.md / tickets directory migration on 2026-05-27
# Inbound PodEvent ハンドリングの重複を統合する
## 背景
子 Pod から `Method::PodEvent(event)` を受けたときの処理が `controller_loop``drive_turn` の 2 箇所にコピーされている。
`controller.rs:693-720`idle / paused 中):
```rust
Method::PodEvent(event) => {
crate::ipc::event::apply_event_side_effects(
&event, &spawned_registry, &spawner_name, &self_parent_socket,
).await;
pod.push_pod_event_notify(event);
if shared_state.get_status() == PodStatus::Idle {
pending = Some(PendingRun::RunForNotification);
}
}
```
`controller.rs:861-879`in-flight turn 中):
```rust
Some(Method::PodEvent(event)) => {
let self_parent_socket = parent_socket.cloned();
crate::ipc::event::apply_event_side_effects(
&event, spawned_registry, self_name, &self_parent_socket,
).await;
notify_buffer.push_pod_event(event);
}
```
差分は 2 点:
1. **buffer への push 経路**: `pod.push_pod_event_notify(event)` vs `notify_buffer.push_pod_event(event)`。両者は同じ `NotifyBuffer` を叩く(`pod.rs:845-846``self.pending_notifies.push_pod_event(event)` を呼ぶだけで、`notify_buffer_handle()` はその `pending_notifies.clone()` を返す)。**完全に等価**。
2. **auto-kick**: idle 経路だけ `PendingRun::RunForNotification` を stage する。in-flight 経路は in-flight 自体が消化するので不要。
つまり「event の処理本体」(side-effects + notify buffer への push)は同一で、後段の auto-kick だけが state-dependent な分岐。にもかかわらず関数化されておらず、片方をいじってもう片方を忘れると挙動が割れる。
## 要件
- side-effects 適用 + NotifyBuffer への typed push の流れを単一関数 `handle_inbound_pod_event` に切り出す。
- `controller_loop` / `drive_turn` の両方からこのヘルパーを呼ぶ形に置き換える。
- auto-kick (`PendingRun::RunForNotification` の stage) は呼び出し側の責務として残す。これは Pod のライフサイクル状態に依存した判断で、ヘルパー内には押し込めない。
- 関数シグネチャは引数を最小化する。`event``spawned_registry``self_name: &str``self_parent_socket: &Option<PathBuf>` または `Option<&PathBuf>``notify_buffer: &NotifyBuffer` の 5 つで足りる前提。`Pod` への可変参照は不要(`notify_buffer` で代用可能)。
- 動作変化なし。既存の `Method::PodEvent` 挙動(in-flight / idle 両方)が完全に同一で続行すること。
## 完了条件
- `controller.rs` 内に `apply_event_side_effects` 呼び出しが 1 箇所だけ残り、`controller_loop``drive_turn``Method::PodEvent` アームはどちらも `handle_inbound_pod_event(...)` 呼び出し + idle 経路のみ auto-kick stage、という形になる。
- 既存の inbound PodEvent 関連テスト(特に `apply_event_side_effects` の idempotency や `notify_buffer` への typed push)が通る。
## 範囲外
- `apply_event_side_effects` 自体の中身変更。
- `NotifyBuffer` API のリネーム / 統合。
- `pod.push_pod_event_notify` の削除([[pod-interrupt-prep-internalize]] と同じく将来の整理対象だが、本チケットでは外向き API は触らない)。
@@ -1,91 +0,0 @@
<!-- event: migration author: tickets.sh-migration at: 2026-05-27T00:00:07Z -->
## Migrated
Migrated from tickets/pod-inbound-pod-event-dedup.md. No legacy review file was present at migration time.
---
<!-- event: close author: hare at: 2026-05-30T05:37:00Z status: closed -->
## Closed
---
id: 20260527-000007-pod-inbound-pod-event-dedup
slug: pod-inbound-pod-event-dedup
title: Inbound PodEvent ハンドリングの重複を統合する
status: closed
kind: task
priority: P2
labels: [migrated]
created_at: 2026-05-27T00:00:07Z
updated_at: 2026-05-30T05:37:00Z
assignee: null
legacy_ticket: tickets/pod-inbound-pod-event-dedup.md
---
## Migration reference
- legacy_ticket: tickets/pod-inbound-pod-event-dedup.md
- migrated_from: TODO.md / tickets directory migration on 2026-05-27
# Inbound PodEvent ハンドリングの重複を統合する
## 背景
子 Pod から `Method::PodEvent(event)` を受けたときの処理が `controller_loop``drive_turn` の 2 箇所にコピーされている。
`controller.rs:693-720`idle / paused 中):
```rust
Method::PodEvent(event) => {
crate::ipc::event::apply_event_side_effects(
&event, &spawned_registry, &spawner_name, &self_parent_socket,
).await;
pod.push_pod_event_notify(event);
if shared_state.get_status() == PodStatus::Idle {
pending = Some(PendingRun::RunForNotification);
}
}
```
`controller.rs:861-879`in-flight turn 中):
```rust
Some(Method::PodEvent(event)) => {
let self_parent_socket = parent_socket.cloned();
crate::ipc::event::apply_event_side_effects(
&event, spawned_registry, self_name, &self_parent_socket,
).await;
notify_buffer.push_pod_event(event);
}
```
差分は 2 点:
1. **buffer への push 経路**: `pod.push_pod_event_notify(event)` vs `notify_buffer.push_pod_event(event)`。両者は同じ `NotifyBuffer` を叩く(`pod.rs:845-846``self.pending_notifies.push_pod_event(event)` を呼ぶだけで、`notify_buffer_handle()` はその `pending_notifies.clone()` を返す)。**完全に等価**。
2. **auto-kick**: idle 経路だけ `PendingRun::RunForNotification` を stage する。in-flight 経路は in-flight 自体が消化するので不要。
つまり「event の処理本体」(side-effects + notify buffer への push)は同一で、後段の auto-kick だけが state-dependent な分岐。にもかかわらず関数化されておらず、片方をいじってもう片方を忘れると挙動が割れる。
## 要件
- side-effects 適用 + NotifyBuffer への typed push の流れを単一関数 `handle_inbound_pod_event` に切り出す。
- `controller_loop` / `drive_turn` の両方からこのヘルパーを呼ぶ形に置き換える。
- auto-kick (`PendingRun::RunForNotification` の stage) は呼び出し側の責務として残す。これは Pod のライフサイクル状態に依存した判断で、ヘルパー内には押し込めない。
- 関数シグネチャは引数を最小化する。`event``spawned_registry``self_name: &str``self_parent_socket: &Option<PathBuf>` または `Option<&PathBuf>``notify_buffer: &NotifyBuffer` の 5 つで足りる前提。`Pod` への可変参照は不要(`notify_buffer` で代用可能)。
- 動作変化なし。既存の `Method::PodEvent` 挙動(in-flight / idle 両方)が完全に同一で続行すること。
## 完了条件
- `controller.rs` 内に `apply_event_side_effects` 呼び出しが 1 箇所だけ残り、`controller_loop``drive_turn``Method::PodEvent` アームはどちらも `handle_inbound_pod_event(...)` 呼び出し + idle 経路のみ auto-kick stage、という形になる。
- 既存の inbound PodEvent 関連テスト(特に `apply_event_side_effects` の idempotency や `notify_buffer` への typed push)が通る。
## 範囲外
- `apply_event_side_effects` 自体の中身変更。
- `NotifyBuffer` API のリネーム / 統合。
- `pod.push_pod_event_notify` の削除([[pod-interrupt-prep-internalize]] と同じく将来の整理対象だが、本チケットでは外向き API は触らない)。
---
@@ -1,76 +0,0 @@
---
id: 20260527-000008-pod-scope-persistence-authority
slug: pod-scope-persistence-authority
title: Pod: scope 永続化 authority の整理
status: closed
kind: task
priority: P2
labels: [migrated]
created_at: 2026-05-27T00:00:08Z
updated_at: 2026-05-30T05:57:16Z
assignee: null
legacy_ticket: tickets/pod-scope-persistence-authority.md
---
## Migration reference
- legacy_ticket: tickets/pod-scope-persistence-authority.md
- migrated_from: TODO.md / tickets directory migration on 2026-05-27
# Pod: scope 永続化 authority の整理
## 背景
Pod の scope は複数の場所に関連情報が存在している。
- session log の `pod.scope` extension: Pod 自身の復元用 runtime scope snapshot
- Pod metadata: Pod 名から active session/segment への pointer と spawned child 情報
- spawned child 情報: child に委譲した scope
- runtime registry: live Pod の allocation / conflict detection 用 scope
- runtime mirror: `spawned_pods.json` 等の現在プロセス向け表示・制御用情報
これらは用途が異なるが、どの情報が durable authority で、どれが live mirror / derived state なのかが読み取りづらい。特に restore、compact/fork による segment 切替、child scope の委譲・reclaim、runtime registry の再構築で、scope の保存先と復元順序が曖昧だと権限の過大復元または過小復元につながる。
## 要件
- Pod scope に関する durable authority を明確に定義する。
- Pod 自身の base scope / effective runtime scope / deny による delegated-out 部分を区別する。
- spawned child に委譲した scope と、親 Pod 自身の effective scope を区別する。
- live registry / runtime mirror は durable authority ではないことを明確にする。
- Pod 名からの restore に必要な情報の保存先を一貫させる。
- Pod 名から active session/segment を解決できる。
- 解決した Pod が、前回終了時点の effective scope を過大に復元しない。
- child が生存・復元対象の場合、親の delegated-out scope が意図せず reclaim されない。
- segment 遷移で scope が失われない。
- compact / fork / resume / attach の後も、次にその segment を restore したとき同じ effective scope が得られる。
- 新 segment 作成時に scope authority が必要なら、初期状態として確実に引き継がれる。
- spawned child の scope 永続化を親 Pod の restore/reclaim 要件と整合させる。
- 親は child に委譲済みの scope を把握できる。
- child 停止・shutdown・restore 時の prune により、親の effective write scope が正しく reclaim される。
- explicit deny と delegated-out deny を混同しない。
- runtime registry 再構築時の入力と副作用を定義する。
- restore 時にどの durable state から allocation を再作成するかが明確である。
- stale / unreachable child を pruning した場合、durable state と runtime mirror が矛盾しない。
- 保存形式は inspect/debug しやすい。
- Pod ごとに「active pointer」「自身の scope」「spawned child と delegated scope」が追跡できる。
- restore 失敗時に、欠けている authority が何か分かる error になる。
- session log の conversation/history authority と scope authority の関係を明確にする。
- scope 更新が conversation history の意味内容を汚染しない。
- append-only session log に置く場合は、compact/fork と replay semantics 上の扱いが明示される。
- Pod metadata に置く場合は、session/segment lineage との整合と更新順序が明示される。
## 完了条件
- Pod scope に関する durable authority / runtime mirror / derived state の責務がコードとドキュメント上で一致している。
- Pod restore が、前回の effective scope を過大復元しない regression test を持つ。
- compact または fork 後の新 segment restore で scope が失われない regression test を持つ。
- spawned child に scope 委譲済みの親 Pod を restore しても、child 側の write scope が親に二重に戻らない regression test を持つ。
- child 停止・shutdown・restore pruning 後に、親の effective scope と durable state が一致する regression test を持つ。
- runtime registry / runtime mirror が durable authority と矛盾した場合の扱いが test で確認されている。
## 範囲外
- manifest scope 設定そのものの設計変更。
- tool permission policy の allow / ask / deny 挙動変更。
- UI 表示だけで scope 不整合を隠す対応。
- 既存の壊れた手元 session log を自動修復する migration。
@@ -1,3 +0,0 @@
後続の `session-pod-state-boundary` / `pod-store` / spawned registry work により、scope authority の主設計と restore/reclaim 実装は吸収済み。
残る小粒な責務重複は `KNOWN_ISSUES.md` に移したため、この migrated ticket は superseded として閉じる。
@@ -1,17 +0,0 @@
<!-- event: migration author: tickets.sh-migration at: 2026-05-27T00:00:08Z -->
## Migrated
Migrated from tickets/pod-scope-persistence-authority.md. No legacy review file was present at migration time.
---
<!-- event: close author: hare at: 2026-05-30T05:57:16Z status: closed -->
## Closed
後続の `session-pod-state-boundary` / `pod-store` / spawned registry work により、scope authority の主設計と restore/reclaim 実装は吸収済み。
残る小粒な責務重複は `KNOWN_ISSUES.md` に移したため、この migrated ticket は superseded として閉じる。
---
@@ -1,80 +0,0 @@
---
id: 20260527-000011-session-todo-reminder
slug: session-todo-reminder
title: セッション内 Task ツールの注意機構
status: closed
kind: task
priority: P2
labels: [migrated]
created_at: 2026-05-27T00:00:11Z
updated_at: 2026-05-29T04:31:10Z
assignee: null
legacy_ticket: tickets/session-todo-reminder.md
---
## Migration reference
- legacy_ticket: tickets/session-todo-reminder.md
- migrated_from: TODO.md / tickets directory migration on 2026-05-27
# セッション内 Task ツールの注意機構
## 背景
`tickets/session-todo.md` で導入した Task ツール群があっても、LLM はそれを使わずに作業を続け得る。ツールを呼ばないまま会話が長引くと、
- 開始した作業の `inprogress` がずっと放置されたままになる
- 「やったつもり」になって `completed` への更新を忘れる
- そもそも TaskStore の存在を忘れて、構造化を諦めて自由記述に回帰する
OpenCode の todo は専用の注意機構を持たない(汎用 reminder 経由)。一方、一部の既存エージェント実装では todo reminder を「N リクエスト無アクティビティで初めて発火するナッジ型」として扱い、毎リクエスト押し戻しはしない。
Insomnia でも同方針を採り、active Task が残っているのに `TaskCreate` / `TaskUpdate` が一定リクエスト呼ばれていない場合に限り、`<system-reminder>` Item を 1件 history に append する。「やったつもり」抑止と、トークン浪費・LLM の自律性侵害のバランスを取るため、毎リクエスト押し戻しはしない。
## 前提
- `tickets/session-todo.md` の TaskStore と `TaskCreate` / `TaskUpdate` / `TaskList` / `TaskGet` ツールが利用可能
- `Interceptor::pending_history_appends` レーンが利用可能(`tickets/notify-history-persist.md` で導入済み)
## 方針
- **`pending_history_appends` で実装**。発火時に `<system-reminder>` ブロックを含む新規 system message Item を返し、Worker が `worker.history` に append する。Notify / PodEvent と同じレーンで永続化・resume・compaction が自動で揃う
- **揮発的注入は採らない**`AGENTS.md` 「LLM コンテキストの加工原則」で禁止。history に commit せずに context を変えると、resume 時に LLM の発言の根拠が再現できなくなる)
- **system-reminder 注入機構の汎用化はやらない**。利用者が Task 1機構しかない段階で抽象を立てない(`AGENTS.md`「概念の追加は不在が問題になってから」)。タグ形式 `<system-reminder>...</system-reminder>` の規約は本実装で踏襲する
- **発火はナッジ型**。N リクエスト無アクティビティで初めて発火し、cooldown も持つ
## 要件
### Interceptor
- `pending_history_appends` で以下を **AND** で満たす場合のみ発動し、`<system-reminder>` ブロックを含む `Item::system_message` を 1件返す。条件外なら空 `Vec<Item>` を返す
- active Task`pending` または `inprogress`)が 1件以上存在する
- 直近 N リクエスト(暫定 N=8`TaskCreate` / `TaskUpdate` のいずれも呼ばれていない
- 前回 reminder Item の append から M リクエスト(暫定 M=8)以上経過
- ここで言う「リクエスト」は LLM への 1回の推論呼び出し(assistant 応答 1回)の単位。1ユーザー発火内で tool ループが回れば、`tool_result` を受けて発火する次のリクエストもそれぞれ 1としてカウントする
- カウンタは Pod 側の session-lifetime 状態として保持する(`requests_since_last_task_management` / `requests_since_last_reminder`)。resume 時は worker.history の逆走査で再計算するか 0 リセットで再開する。後者でも「初回ナッジが最大 N リクエスト遅れる」だけで挙動として致命ではない
- 返す Item の本文は `<system-reminder>` で囲み、現在の active Task を `taskid` / `status` / `subject` を含む簡潔な形式で列挙する。`description` は長大化を避けるため省略してよい
- active Task が空の場合は何も append しない(思い出させる対象が無いなら不要)
## 完了条件
- 直近 N リクエスト連続で `TaskCreate` / `TaskUpdate` が呼ばれず、かつ active Task が残っている場合に限り、`pending_history_appends``<system-reminder>` を含む `Item::system_message` を 1件返す
- 返された Item が `worker.history` に append され、その後のリクエスト・`history.json`・resume 後の `get_history` でも同じ Item が見える(揮発レーンは持たない)
- `TaskCreate` / `TaskUpdate` のいずれかが呼ばれるとカウンタがリセットされ、再び N リクエスト経過するまでは reminder が出ない
- reminder が一度出たあとは、cooldown M リクエストが経過するまで再注入されない
- active Task が 0件の場合は reminder が出ない
- 単体テストで Interceptor の発火条件(リクエスト回数閾値、active 0件、cooldown)がカバーされる
## 範囲外
- inprogress 滞留検出 / 多重 inprogress 検出など、状態異常ベースの追加トリガ(必要になれば別チケットで追加)
- system-reminder 注入機構の汎用化(`TODO.md` に立項済み、別途検討)
- `TaskCreate` / `TaskUpdate` の戻り値に active Task 全件を埋め込む強化(必要に応じて Tool ticket 側で対応)
- サブエージェント / sidechain での独自 reminder 発火(main Pod の interceptor から動く構造のため自然に対象外)
## 参照
- 設計指針: `AGENTS.md`(LLM コンテキストの加工原則。揮発的注入は禁止、history に append してから commit する)
- 前提: `tickets/session-todo.md`Tool 群と TaskStore)、`tickets/notify-history-persist.md``pending_history_appends` レーン)
- 参考: 一部エージェント実装の todo reminder は、一定リクエスト無アクティビティ後に発火し、再通知にも cooldown を置くナッジ型として扱われている
@@ -1,80 +0,0 @@
---
id: 20260527-000011-session-todo-reminder
slug: session-todo-reminder
title: セッション内 Task ツールの注意機構
status: closed
kind: task
priority: P2
labels: [migrated]
created_at: 2026-05-27T00:00:11Z
updated_at: 2026-05-29T04:31:10Z
assignee: null
legacy_ticket: tickets/session-todo-reminder.md
---
## Migration reference
- legacy_ticket: tickets/session-todo-reminder.md
- migrated_from: TODO.md / tickets directory migration on 2026-05-27
# セッション内 Task ツールの注意機構
## 背景
`tickets/session-todo.md` で導入した Task ツール群があっても、LLM はそれを使わずに作業を続け得る。ツールを呼ばないまま会話が長引くと、
- 開始した作業の `inprogress` がずっと放置されたままになる
- 「やったつもり」になって `completed` への更新を忘れる
- そもそも TaskStore の存在を忘れて、構造化を諦めて自由記述に回帰する
OpenCode の todo は専用の注意機構を持たない(汎用 reminder 経由)。一方、一部の既存エージェント実装では todo reminder を「N リクエスト無アクティビティで初めて発火するナッジ型」として扱い、毎リクエスト押し戻しはしない。
Insomnia でも同方針を採り、active Task が残っているのに `TaskCreate` / `TaskUpdate` が一定リクエスト呼ばれていない場合に限り、`<system-reminder>` Item を 1件 history に append する。「やったつもり」抑止と、トークン浪費・LLM の自律性侵害のバランスを取るため、毎リクエスト押し戻しはしない。
## 前提
- `tickets/session-todo.md` の TaskStore と `TaskCreate` / `TaskUpdate` / `TaskList` / `TaskGet` ツールが利用可能
- `Interceptor::pending_history_appends` レーンが利用可能(`tickets/notify-history-persist.md` で導入済み)
## 方針
- **`pending_history_appends` で実装**。発火時に `<system-reminder>` ブロックを含む新規 system message Item を返し、Worker が `worker.history` に append する。Notify / PodEvent と同じレーンで永続化・resume・compaction が自動で揃う
- **揮発的注入は採らない**`AGENTS.md` 「LLM コンテキストの加工原則」で禁止。history に commit せずに context を変えると、resume 時に LLM の発言の根拠が再現できなくなる)
- **system-reminder 注入機構の汎用化はやらない**。利用者が Task 1機構しかない段階で抽象を立てない(`AGENTS.md`「概念の追加は不在が問題になってから」)。タグ形式 `<system-reminder>...</system-reminder>` の規約は本実装で踏襲する
- **発火はナッジ型**。N リクエスト無アクティビティで初めて発火し、cooldown も持つ
## 要件
### Interceptor
- `pending_history_appends` で以下を **AND** で満たす場合のみ発動し、`<system-reminder>` ブロックを含む `Item::system_message` を 1件返す。条件外なら空 `Vec<Item>` を返す
- active Task`pending` または `inprogress`)が 1件以上存在する
- 直近 N リクエスト(暫定 N=8`TaskCreate` / `TaskUpdate` のいずれも呼ばれていない
- 前回 reminder Item の append から M リクエスト(暫定 M=8)以上経過
- ここで言う「リクエスト」は LLM への 1回の推論呼び出し(assistant 応答 1回)の単位。1ユーザー発火内で tool ループが回れば、`tool_result` を受けて発火する次のリクエストもそれぞれ 1としてカウントする
- カウンタは Pod 側の session-lifetime 状態として保持する(`requests_since_last_task_management` / `requests_since_last_reminder`)。resume 時は worker.history の逆走査で再計算するか 0 リセットで再開する。後者でも「初回ナッジが最大 N リクエスト遅れる」だけで挙動として致命ではない
- 返す Item の本文は `<system-reminder>` で囲み、現在の active Task を `taskid` / `status` / `subject` を含む簡潔な形式で列挙する。`description` は長大化を避けるため省略してよい
- active Task が空の場合は何も append しない(思い出させる対象が無いなら不要)
## 完了条件
- 直近 N リクエスト連続で `TaskCreate` / `TaskUpdate` が呼ばれず、かつ active Task が残っている場合に限り、`pending_history_appends``<system-reminder>` を含む `Item::system_message` を 1件返す
- 返された Item が `worker.history` に append され、その後のリクエスト・`history.json`・resume 後の `get_history` でも同じ Item が見える(揮発レーンは持たない)
- `TaskCreate` / `TaskUpdate` のいずれかが呼ばれるとカウンタがリセットされ、再び N リクエスト経過するまでは reminder が出ない
- reminder が一度出たあとは、cooldown M リクエストが経過するまで再注入されない
- active Task が 0件の場合は reminder が出ない
- 単体テストで Interceptor の発火条件(リクエスト回数閾値、active 0件、cooldown)がカバーされる
## 範囲外
- inprogress 滞留検出 / 多重 inprogress 検出など、状態異常ベースの追加トリガ(必要になれば別チケットで追加)
- system-reminder 注入機構の汎用化(`TODO.md` に立項済み、別途検討)
- `TaskCreate` / `TaskUpdate` の戻り値に active Task 全件を埋め込む強化(必要に応じて Tool ticket 側で対応)
- サブエージェント / sidechain での独自 reminder 発火(main Pod の interceptor から動く構造のため自然に対象外)
## 参照
- 設計指針: `AGENTS.md`(LLM コンテキストの加工原則。揮発的注入は禁止、history に append してから commit する)
- 前提: `tickets/session-todo.md`Tool 群と TaskStore)、`tickets/notify-history-persist.md``pending_history_appends` レーン)
- 参考: 一部エージェント実装の todo reminder は、一定リクエスト無アクティビティ後に発火し、再通知にも cooldown を置くナッジ型として扱われている
@@ -1,95 +0,0 @@
<!-- event: migration author: tickets.sh-migration at: 2026-05-27T00:00:11Z -->
## Migrated
Migrated from tickets/session-todo-reminder.md. No legacy review file was present at migration time.
---
<!-- event: close author: hare at: 2026-05-29T04:31:10Z status: closed -->
## Closed
---
id: 20260527-000011-session-todo-reminder
slug: session-todo-reminder
title: セッション内 Task ツールの注意機構
status: closed
kind: task
priority: P2
labels: [migrated]
created_at: 2026-05-27T00:00:11Z
updated_at: 2026-05-29T04:31:10Z
assignee: null
legacy_ticket: tickets/session-todo-reminder.md
---
## Migration reference
- legacy_ticket: tickets/session-todo-reminder.md
- migrated_from: TODO.md / tickets directory migration on 2026-05-27
# セッション内 Task ツールの注意機構
## 背景
`tickets/session-todo.md` で導入した Task ツール群があっても、LLM はそれを使わずに作業を続け得る。ツールを呼ばないまま会話が長引くと、
- 開始した作業の `inprogress` がずっと放置されたままになる
- 「やったつもり」になって `completed` への更新を忘れる
- そもそも TaskStore の存在を忘れて、構造化を諦めて自由記述に回帰する
OpenCode の todo は専用の注意機構を持たない(汎用 reminder 経由)。一方、一部の既存エージェント実装では todo reminder を「N リクエスト無アクティビティで初めて発火するナッジ型」として扱い、毎リクエスト押し戻しはしない。
Insomnia でも同方針を採り、active Task が残っているのに `TaskCreate` / `TaskUpdate` が一定リクエスト呼ばれていない場合に限り、`<system-reminder>` Item を 1件 history に append する。「やったつもり」抑止と、トークン浪費・LLM の自律性侵害のバランスを取るため、毎リクエスト押し戻しはしない。
## 前提
- `tickets/session-todo.md` の TaskStore と `TaskCreate` / `TaskUpdate` / `TaskList` / `TaskGet` ツールが利用可能
- `Interceptor::pending_history_appends` レーンが利用可能(`tickets/notify-history-persist.md` で導入済み)
## 方針
- **`pending_history_appends` で実装**。発火時に `<system-reminder>` ブロックを含む新規 system message Item を返し、Worker が `worker.history` に append する。Notify / PodEvent と同じレーンで永続化・resume・compaction が自動で揃う
- **揮発的注入は採らない**`AGENTS.md` 「LLM コンテキストの加工原則」で禁止。history に commit せずに context を変えると、resume 時に LLM の発言の根拠が再現できなくなる)
- **system-reminder 注入機構の汎用化はやらない**。利用者が Task 1機構しかない段階で抽象を立てない(`AGENTS.md`「概念の追加は不在が問題になってから」)。タグ形式 `<system-reminder>...</system-reminder>` の規約は本実装で踏襲する
- **発火はナッジ型**。N リクエスト無アクティビティで初めて発火し、cooldown も持つ
## 要件
### Interceptor
- `pending_history_appends` で以下を **AND** で満たす場合のみ発動し、`<system-reminder>` ブロックを含む `Item::system_message` を 1件返す。条件外なら空 `Vec<Item>` を返す
- active Task`pending` または `inprogress`)が 1件以上存在する
- 直近 N リクエスト(暫定 N=8`TaskCreate` / `TaskUpdate` のいずれも呼ばれていない
- 前回 reminder Item の append から M リクエスト(暫定 M=8)以上経過
- ここで言う「リクエスト」は LLM への 1回の推論呼び出し(assistant 応答 1回)の単位。1ユーザー発火内で tool ループが回れば、`tool_result` を受けて発火する次のリクエストもそれぞれ 1としてカウントする
- カウンタは Pod 側の session-lifetime 状態として保持する(`requests_since_last_task_management` / `requests_since_last_reminder`)。resume 時は worker.history の逆走査で再計算するか 0 リセットで再開する。後者でも「初回ナッジが最大 N リクエスト遅れる」だけで挙動として致命ではない
- 返す Item の本文は `<system-reminder>` で囲み、現在の active Task を `taskid` / `status` / `subject` を含む簡潔な形式で列挙する。`description` は長大化を避けるため省略してよい
- active Task が空の場合は何も append しない(思い出させる対象が無いなら不要)
## 完了条件
- 直近 N リクエスト連続で `TaskCreate` / `TaskUpdate` が呼ばれず、かつ active Task が残っている場合に限り、`pending_history_appends``<system-reminder>` を含む `Item::system_message` を 1件返す
- 返された Item が `worker.history` に append され、その後のリクエスト・`history.json`・resume 後の `get_history` でも同じ Item が見える(揮発レーンは持たない)
- `TaskCreate` / `TaskUpdate` のいずれかが呼ばれるとカウンタがリセットされ、再び N リクエスト経過するまでは reminder が出ない
- reminder が一度出たあとは、cooldown M リクエストが経過するまで再注入されない
- active Task が 0件の場合は reminder が出ない
- 単体テストで Interceptor の発火条件(リクエスト回数閾値、active 0件、cooldown)がカバーされる
## 範囲外
- inprogress 滞留検出 / 多重 inprogress 検出など、状態異常ベースの追加トリガ(必要になれば別チケットで追加)
- system-reminder 注入機構の汎用化(`TODO.md` に立項済み、別途検討)
- `TaskCreate` / `TaskUpdate` の戻り値に active Task 全件を埋め込む強化(必要に応じて Tool ticket 側で対応)
- サブエージェント / sidechain での独自 reminder 発火(main Pod の interceptor から動く構造のため自然に対象外)
## 参照
- 設計指針: `AGENTS.md`(LLM コンテキストの加工原則。揮発的注入は禁止、history に append してから commit する)
- 前提: `tickets/session-todo.md`Tool 群と TaskStore)、`tickets/notify-history-persist.md``pending_history_appends` レーン)
- 参考: 一部エージェント実装の todo reminder は、一定リクエスト無アクティビティ後に発火し、再通知にも cooldown を置くナッジ型として扱われている
---
@@ -1,84 +0,0 @@
---
id: 20260527-000012-spawnpod-initial-run-confirmation
slug: spawnpod-initial-run-confirmation
title: SpawnPod: initial Run delivery confirmation
status: closed
kind: task
priority: P2
labels: [migrated]
created_at: 2026-05-27T00:00:12Z
updated_at: 2026-05-28T13:24:48Z
assignee: null
legacy_ticket: tickets/spawnpod-initial-run-confirmation.md
---
## Migration reference
- legacy_ticket: tickets/spawnpod-initial-run-confirmation.md
- migrated_from: TODO.md / tickets directory migration on 2026-05-27
# SpawnPod: initial Run delivery confirmation
## 背景
`SpawnPod` は child Pod を起動し、初回 task を `Method::Run` として送る。しかし、実例として `impl-llm-worker-stream-continuation` を再作成した際、runtime registry / socket / process は生きている一方で、初回 task の session log が materialize されず、Pod は `idle` のままだった。
確認された状態:
- `<runtime-dir>/pods.json` に live allocation がある
- `<runtime-dir>/<pod>/status.json``state: "idle"` と runtime `segment_id` を持つ
- `<insomnia-sessions>/pods/<pod>/metadata.json` は pending segment のまま
- 対応する session / segment `.jsonl` が存在しない
- `ReadPodOutput` は no new assistant text
`SpawnPod` の送信側は `send_run``Method::Run` を write してすぐ切断し、`TurnStart` 等の ack を待っていない。一方 server 側は接続直後に `Snapshot` を書いてから method を読むため、client がすぐ close すると server が snapshot write で失敗し、method を読む前に connection handler が終了する race があり得る。
この場合 `SpawnPod` は成功を返すが、child Pod は初回 task を実行していない。
同種の問題は child Pod の通知経路でも既に踏んでおり、送信側が write 後にすぐ切断せず、receiver 側の acknowledgement / observable event を待つ形にして解消している。`SpawnPod` の初回 task delivery も同じ性質の race と見なす。
追加確認として、Pod socket server は接続直後に replayed `Alert` と connect-time `Snapshot` を送ってから client `Method` を読む。したがって one-shot / send-only client は初期 event を消化してから Method を送る必要がある。
- `send_run_and_confirm``Method::Run` を送った後に event を読む実装になっており、Snapshot が大きい場合や Run payload が大きい場合に双方向で詰まる余地がある。
- `connect_and_send` / `fetch_history` は既に Snapshot まで drain / read しており、この系統の問題は対策済み。
- `probe_socket` は最初の event だけを見て `Snapshot` でなければ status を取らないため、replayed `Alert` が先に来る live Pod で reachable だが status unknown になる可能性がある。
- `PodClient::connect` は background reader を起動するため、通常の TUI attach / interactive client では初期 Snapshot を詰まらせにくい。
## 方針
`SpawnPod` は child process / socket の起動だけでなく、初回 task が controller に受理され、少なくとも `UserMessage` または `TurnStart` が観測できるまで確認してから成功を返す。
既存の `SendToPod` / `SpawnPod` が使う run delivery confirmation ロジックを、接続直後の `Alert` / `Snapshot` drain を含む形へ共通化・安全化する。
## 要件
- `SpawnPod` の初回 task 送信は fire-and-forget にしない。
- `Method::Run` 送信後、`UserMessage` / `TurnStart` / `InvokeStart` など、run が受理されたことを示す event を待つ。
- timeout 時は `SpawnPod` を失敗扱いにする。
- 初回 task delivery に失敗した場合、process / registry / delegated scope の扱いを明確にする。
- cleanup するか、attach 可能な idle Pod として残すかを実装で決める。
- 少なくとも成功扱いで返さない。
- Server が connection 開始時に `Alert` / `Snapshot` を書く設計と競合しない。
- client 側が `Alert` / `Snapshot` を読みながら `Method::Run` ack を待つ形にする。
- `send_run_and_confirm` は connect-time `Snapshot` を消化してから `Method::Run` を送る。
- live Pod status probe は replayed `Alert` によって status 取得を落とさない。
- `probe_socket` は first event だけで判断せず、`Snapshot` まで初期 event を読む。
- `SpawnPod` 成功後は、child Pod の metadata が pending でも、初回 run が開始済みであることを確認できる。
- session log materialization のタイミングそのものは別設計でもよい。
- `SendToPod``SpawnPod` の run delivery confirmation ロジックを可能な範囲で共通化する。
## 完了条件
- `SpawnPod` が初回 task の受理確認を待つ。
- 初回 task が実行されない race を再現する test または regression test がある。
- connect-time `Alert` / `Snapshot` がある状態でも `send_run_and_confirm` が詰まらず、受理 event を観測する regression test がある。
- `probe_socket` が replayed `Alert` の後の `Snapshot` から status を取得できる regression test がある。
- `SpawnPod` が success を返した後、child Pod が idle pending のまま task 未実行になる状態が起きない。
- delivery timeout / failure 時の error message が人間に分かる。
- `cargo fmt --check` と関連 crate の test が通る。
## 範囲外
- `tui -r` picker に live pending Pod を表示する修正。
- session log の SegmentStart materialization 方針変更。
- spawned child Pod panel UI。
@@ -1,84 +0,0 @@
---
id: 20260527-000012-spawnpod-initial-run-confirmation
slug: spawnpod-initial-run-confirmation
title: SpawnPod: initial Run delivery confirmation
status: closed
kind: task
priority: P2
labels: [migrated]
created_at: 2026-05-27T00:00:12Z
updated_at: 2026-05-28T13:24:48Z
assignee: null
legacy_ticket: tickets/spawnpod-initial-run-confirmation.md
---
## Migration reference
- legacy_ticket: tickets/spawnpod-initial-run-confirmation.md
- migrated_from: TODO.md / tickets directory migration on 2026-05-27
# SpawnPod: initial Run delivery confirmation
## 背景
`SpawnPod` は child Pod を起動し、初回 task を `Method::Run` として送る。しかし、実例として `impl-llm-worker-stream-continuation` を再作成した際、runtime registry / socket / process は生きている一方で、初回 task の session log が materialize されず、Pod は `idle` のままだった。
確認された状態:
- `<runtime-dir>/pods.json` に live allocation がある
- `<runtime-dir>/<pod>/status.json``state: "idle"` と runtime `segment_id` を持つ
- `<insomnia-sessions>/pods/<pod>/metadata.json` は pending segment のまま
- 対応する session / segment `.jsonl` が存在しない
- `ReadPodOutput` は no new assistant text
`SpawnPod` の送信側は `send_run``Method::Run` を write してすぐ切断し、`TurnStart` 等の ack を待っていない。一方 server 側は接続直後に `Snapshot` を書いてから method を読むため、client がすぐ close すると server が snapshot write で失敗し、method を読む前に connection handler が終了する race があり得る。
この場合 `SpawnPod` は成功を返すが、child Pod は初回 task を実行していない。
同種の問題は child Pod の通知経路でも既に踏んでおり、送信側が write 後にすぐ切断せず、receiver 側の acknowledgement / observable event を待つ形にして解消している。`SpawnPod` の初回 task delivery も同じ性質の race と見なす。
追加確認として、Pod socket server は接続直後に replayed `Alert` と connect-time `Snapshot` を送ってから client `Method` を読む。したがって one-shot / send-only client は初期 event を消化してから Method を送る必要がある。
- `send_run_and_confirm``Method::Run` を送った後に event を読む実装になっており、Snapshot が大きい場合や Run payload が大きい場合に双方向で詰まる余地がある。
- `connect_and_send` / `fetch_history` は既に Snapshot まで drain / read しており、この系統の問題は対策済み。
- `probe_socket` は最初の event だけを見て `Snapshot` でなければ status を取らないため、replayed `Alert` が先に来る live Pod で reachable だが status unknown になる可能性がある。
- `PodClient::connect` は background reader を起動するため、通常の TUI attach / interactive client では初期 Snapshot を詰まらせにくい。
## 方針
`SpawnPod` は child process / socket の起動だけでなく、初回 task が controller に受理され、少なくとも `UserMessage` または `TurnStart` が観測できるまで確認してから成功を返す。
既存の `SendToPod` / `SpawnPod` が使う run delivery confirmation ロジックを、接続直後の `Alert` / `Snapshot` drain を含む形へ共通化・安全化する。
## 要件
- `SpawnPod` の初回 task 送信は fire-and-forget にしない。
- `Method::Run` 送信後、`UserMessage` / `TurnStart` / `InvokeStart` など、run が受理されたことを示す event を待つ。
- timeout 時は `SpawnPod` を失敗扱いにする。
- 初回 task delivery に失敗した場合、process / registry / delegated scope の扱いを明確にする。
- cleanup するか、attach 可能な idle Pod として残すかを実装で決める。
- 少なくとも成功扱いで返さない。
- Server が connection 開始時に `Alert` / `Snapshot` を書く設計と競合しない。
- client 側が `Alert` / `Snapshot` を読みながら `Method::Run` ack を待つ形にする。
- `send_run_and_confirm` は connect-time `Snapshot` を消化してから `Method::Run` を送る。
- live Pod status probe は replayed `Alert` によって status 取得を落とさない。
- `probe_socket` は first event だけで判断せず、`Snapshot` まで初期 event を読む。
- `SpawnPod` 成功後は、child Pod の metadata が pending でも、初回 run が開始済みであることを確認できる。
- session log materialization のタイミングそのものは別設計でもよい。
- `SendToPod``SpawnPod` の run delivery confirmation ロジックを可能な範囲で共通化する。
## 完了条件
- `SpawnPod` が初回 task の受理確認を待つ。
- 初回 task が実行されない race を再現する test または regression test がある。
- connect-time `Alert` / `Snapshot` がある状態でも `send_run_and_confirm` が詰まらず、受理 event を観測する regression test がある。
- `probe_socket` が replayed `Alert` の後の `Snapshot` から status を取得できる regression test がある。
- `SpawnPod` が success を返した後、child Pod が idle pending のまま task 未実行になる状態が起きない。
- delivery timeout / failure 時の error message が人間に分かる。
- `cargo fmt --check` と関連 crate の test が通る。
## 範囲外
- `tui -r` picker に live pending Pod を表示する修正。
- session log の SegmentStart materialization 方針変更。
- spawned child Pod panel UI。
@@ -1,99 +0,0 @@
<!-- event: migration author: tickets.sh-migration at: 2026-05-27T00:00:12Z -->
## Migrated
Migrated from tickets/spawnpod-initial-run-confirmation.md. No legacy review file was present at migration time.
---
<!-- event: close author: hare at: 2026-05-28T13:24:48Z status: closed -->
## Closed
---
id: 20260527-000012-spawnpod-initial-run-confirmation
slug: spawnpod-initial-run-confirmation
title: SpawnPod: initial Run delivery confirmation
status: closed
kind: task
priority: P2
labels: [migrated]
created_at: 2026-05-27T00:00:12Z
updated_at: 2026-05-28T13:24:48Z
assignee: null
legacy_ticket: tickets/spawnpod-initial-run-confirmation.md
---
## Migration reference
- legacy_ticket: tickets/spawnpod-initial-run-confirmation.md
- migrated_from: TODO.md / tickets directory migration on 2026-05-27
# SpawnPod: initial Run delivery confirmation
## 背景
`SpawnPod` は child Pod を起動し、初回 task を `Method::Run` として送る。しかし、実例として `impl-llm-worker-stream-continuation` を再作成した際、runtime registry / socket / process は生きている一方で、初回 task の session log が materialize されず、Pod は `idle` のままだった。
確認された状態:
- `<runtime-dir>/pods.json` に live allocation がある
- `<runtime-dir>/<pod>/status.json``state: "idle"` と runtime `segment_id` を持つ
- `<insomnia-sessions>/pods/<pod>/metadata.json` は pending segment のまま
- 対応する session / segment `.jsonl` が存在しない
- `ReadPodOutput` は no new assistant text
`SpawnPod` の送信側は `send_run``Method::Run` を write してすぐ切断し、`TurnStart` 等の ack を待っていない。一方 server 側は接続直後に `Snapshot` を書いてから method を読むため、client がすぐ close すると server が snapshot write で失敗し、method を読む前に connection handler が終了する race があり得る。
この場合 `SpawnPod` は成功を返すが、child Pod は初回 task を実行していない。
同種の問題は child Pod の通知経路でも既に踏んでおり、送信側が write 後にすぐ切断せず、receiver 側の acknowledgement / observable event を待つ形にして解消している。`SpawnPod` の初回 task delivery も同じ性質の race と見なす。
追加確認として、Pod socket server は接続直後に replayed `Alert` と connect-time `Snapshot` を送ってから client `Method` を読む。したがって one-shot / send-only client は初期 event を消化してから Method を送る必要がある。
- `send_run_and_confirm``Method::Run` を送った後に event を読む実装になっており、Snapshot が大きい場合や Run payload が大きい場合に双方向で詰まる余地がある。
- `connect_and_send` / `fetch_history` は既に Snapshot まで drain / read しており、この系統の問題は対策済み。
- `probe_socket` は最初の event だけを見て `Snapshot` でなければ status を取らないため、replayed `Alert` が先に来る live Pod で reachable だが status unknown になる可能性がある。
- `PodClient::connect` は background reader を起動するため、通常の TUI attach / interactive client では初期 Snapshot を詰まらせにくい。
## 方針
`SpawnPod` は child process / socket の起動だけでなく、初回 task が controller に受理され、少なくとも `UserMessage` または `TurnStart` が観測できるまで確認してから成功を返す。
既存の `SendToPod` / `SpawnPod` が使う run delivery confirmation ロジックを、接続直後の `Alert` / `Snapshot` drain を含む形へ共通化・安全化する。
## 要件
- `SpawnPod` の初回 task 送信は fire-and-forget にしない。
- `Method::Run` 送信後、`UserMessage` / `TurnStart` / `InvokeStart` など、run が受理されたことを示す event を待つ。
- timeout 時は `SpawnPod` を失敗扱いにする。
- 初回 task delivery に失敗した場合、process / registry / delegated scope の扱いを明確にする。
- cleanup するか、attach 可能な idle Pod として残すかを実装で決める。
- 少なくとも成功扱いで返さない。
- Server が connection 開始時に `Alert` / `Snapshot` を書く設計と競合しない。
- client 側が `Alert` / `Snapshot` を読みながら `Method::Run` ack を待つ形にする。
- `send_run_and_confirm` は connect-time `Snapshot` を消化してから `Method::Run` を送る。
- live Pod status probe は replayed `Alert` によって status 取得を落とさない。
- `probe_socket` は first event だけで判断せず、`Snapshot` まで初期 event を読む。
- `SpawnPod` 成功後は、child Pod の metadata が pending でも、初回 run が開始済みであることを確認できる。
- session log materialization のタイミングそのものは別設計でもよい。
- `SendToPod``SpawnPod` の run delivery confirmation ロジックを可能な範囲で共通化する。
## 完了条件
- `SpawnPod` が初回 task の受理確認を待つ。
- 初回 task が実行されない race を再現する test または regression test がある。
- connect-time `Alert` / `Snapshot` がある状態でも `send_run_and_confirm` が詰まらず、受理 event を観測する regression test がある。
- `probe_socket` が replayed `Alert` の後の `Snapshot` から status を取得できる regression test がある。
- `SpawnPod` が success を返した後、child Pod が idle pending のまま task 未実行になる状態が起きない。
- delivery timeout / failure 時の error message が人間に分かる。
- `cargo fmt --check` と関連 crate の test が通る。
## 範囲外
- `tui -r` picker に live pending Pod を表示する修正。
- session log の SegmentStart materialization 方針変更。
- spawned child Pod panel UI。
---
@@ -1,211 +0,0 @@
---
id: 20260527-000013-tickets-sh-workitem-thread-mvp
slug: tickets-sh-workitem-thread-mvp
title: Ticket 管理: tickets.sh による WorkItem / Thread MVP
status: closed
kind: task
priority: P2
labels: [migrated]
created_at: 2026-05-27T00:00:13Z
updated_at: 2026-05-27T19:28:41Z
assignee: null
legacy_ticket: tickets/tickets-sh-workitem-thread-mvp.md
---
## Migration reference
- legacy_ticket: tickets/tickets-sh-workitem-thread-mvp.md
- migrated_from: TODO.md / tickets directory migration on 2026-05-27
# Ticket 管理: tickets.sh による WorkItem / Thread MVP
## 背景
現在の ticket 運用は `TODO.md``tickets/*.md`、必要に応じて `tickets/*.review.md` を Git 履歴で管理している。要件と完了条件を追うには機能しているが、multi-agent worktree workflow と組み合わせると review / 修正依頼 / 実装報告が扱いづらい。
特に `.review.md` は、review artifact を main workspace の ticket directory に作る必要がある。一方で実装 Pod は child worktree だけに write scope を持つため、review thread と実装 thread が分断されやすい。子 Pod を止めて scope を回収し、review file を作り、再度 restore / spawn するような運用になりがちで面倒である。
Git は履歴の保存層として有用だが、人間や AI maintainer が毎回 file move / delete / review file 作成 / git log 探索を直接操作するのは低級すぎる。repository 内の file backend を正本にしつつ、`tickets.sh` で create / list / show / comment / review / close などの意味的操作を提供する。
この ticket は `docs/plan/maintainer-work-items.md` の抽象メモを踏まえた最小実装である。既存 `TODO.md` / `tickets/` を併用したまま新規領域を試すのではなく、今回の MVP では既存 `TODO.md` / `tickets/*.md` を手動で `work-items/` に移し、`tickets.sh doctor` が通る状態までをゴールにする。
## 方針
- 新しい正本は repo root の `work-items/` に置く。
- 既存 `TODO.md` / `tickets/*.md` は手動 migration の入力として扱う。
- migration 完了後、`TODO.md` は残す場合でも legacy / generated view 相当の最小内容にする。少なくとも未完了 item の正本を `tickets/*.md` に残さない。
- `tickets.sh` は Git を内部保存層として前提にしてよいが、操作単位は file path ではなく WorkItem 操作にする。
- 初期実装では自動 commit しない。
- `tickets.sh` は file 操作まで。
- `git add/commit` は利用者または追加指示に任せる。
- `--help` だけで基本操作と migration 方針が分かるようにする。
- shell script なので依存は POSIX shell + 基本 Unix tool に寄せる。`jq` 必須にはしない。
- 既存 `tickets/*.review.md` がある場合は、対象 WorkItem の `thread.md` に review event として手動で移す。
## backend schema
```text
work-items/
README.md
open/
20260526-123456-short-slug/
item.md
thread.md
artifacts/
pending/
...
closed/
...
resolution.md
artifacts/
```
`item.md` は YAML frontmatter + Markdown body。
```yaml
---
id: 20260526-123456-short-slug
slug: short-slug
title: Human-readable title
status: open
kind: feature
priority: P2
labels: [maintainer, workflow]
created_at: 2026-05-26T12:34:56Z
updated_at: 2026-05-26T12:34:56Z
assignee: null
legacy_ticket: tickets/foo.md
---
## Background
...
## Acceptance criteria
- ...
```
`legacy_ticket` は migration 直後の追跡用 metadata とする。移行元 file は Git history で参照できるため、migration commit 後に `tickets/foo.md` を残し続けない。
`thread.md` は append-only Markdown event log とする。JSONL より人間が読みやすいことを優先する。
```md
<!-- event: comment author: hare at: 2026-05-26T12:40:00Z -->
## Comment
...
---
<!-- event: review author: orchestrator at: 2026-05-26T13:00:00Z status: request_changes -->
## Review: request changes
...
```
`tickets.sh` が必ず event header と separator を付ける。機械 parse は初期実装では簡易でよい。
## コマンド MVP
```text
./tickets.sh help
./tickets.sh list [--status open|pending|closed|all]
./tickets.sh show <id-or-slug>
./tickets.sh create --title <title> [--slug <slug>] [--kind <kind>] [--priority P2] [--label a,b]
./tickets.sh comment <id-or-slug> [--role comment|plan|decision|implementation_report] [--author <name>] [--file <path>]
./tickets.sh review <id-or-slug> --approve|--request-changes [--author <name>] [--file <path>]
./tickets.sh status <id-or-slug> open|pending|closed
./tickets.sh close <id-or-slug> [--resolution <text>|--file <path>]
./tickets.sh doctor
```
`help` / `--help` は同じ内容を出す。
### list
- `work-items/{open,pending,closed}/*/item.md` を scan する。
- status / id / slug / title / kind / priority / updated_at を一行で表示する。
- 初期実装では frontmatter parser は簡易でよい。
### show
- `item.md``thread.md` の末尾を読みやすく表示する。
- 完全な thread 全体を出すか、初期は tail 表示でもよい。`--all` は後続でよい。
### create
- ID は `YYYYMMDD-HHMMSS-<slug>`
- 同一 path が存在する場合は短い random suffix または pid suffix を付けて衝突回避する。
- `work-items/open/<id>/item.md`, `thread.md`, `artifacts/` を作る。
- central `SEQUENCE` は作らない。
### comment / review
- `thread.md` に append する。
- `item.md``updated_at` を更新する。
- review は role/comment の special case として、`approve` / `request_changes` が分かる event header を付ける。
- `.review.md` は作らない。
### status / close
- status directory を move する。
- `item.md` frontmatter の `status``updated_at` を更新する。
- `close``status closed` + optional `resolution.md` + close event append。
- 完了しても削除しない。
### doctor
- directory status と frontmatter `status` の一致を検査する。
- `item.md` / `thread.md` / `artifacts/` の存在を検査する。
- duplicate slug / duplicate id を検査する。
- `TODO.md` / `tickets/*.md` に未移行の未完了 ticket が残っていないことを検査する。
- `tickets/*.review.md` が残っていないことを検査する。
- work-items 配下の markdown frontmatter に必須 field があることを検査する。
- error は非ゼロ exit。
## 手動 migration 要件
この ticket の作業には既存運用からの手動 migration を含める。
- 現在 `TODO.md` に載っている未完了 ticket を `work-items/open/` に移す。
-`tickets/*.md` の本文を対応する `item.md` に移す。
- 既存 `tickets/*.review.md` があれば対応する `thread.md` に review event として移す。
- 移行元 ticket path は `legacy_ticket` metadata または本文の参照欄に残す。
- migration commit 後、未完了 work item の正本として `tickets/*.md` を残さない。
- `TODO.md` は legacy notice / generated view 相当の最小内容に更新する。
- `tickets.sh doctor` が repository の移行状態まで含めて 0 になることをゴールにする。
## 要件
- `tickets.sh --help` で使い方と migration 後の配置が分かる。
- `create/list/show/comment/review/status/close/doctor` が動く。
- WorkItem ID は timestamp-based で、central sequence file を使わない。
- close しても削除せず `work-items/closed/` に移動する。
- review は `.review.md` ではなく thread event として append できる。
- `doctor` が directory status と frontmatter status の不一致を検出する。
- `doctor` が未移行 `TODO.md` / `tickets/*.md` / `tickets/*.review.md` を検出する。
- 初期実装では自動 git commit しない。
- README 相当の usage は `--help` または `work-items/README.md` に含める。
## 完了条件
- repo root に `tickets.sh` が追加される。
- `work-items/README.md` で schema / migration 後の運用が説明される。
- `tickets.sh create` で WorkItem を作成できる。
- `tickets.sh comment` / `tickets.sh review` で thread event を append できる。
- `tickets.sh close` で closed に移動できる。
- 既存 `TODO.md` / `tickets/*.md` / `tickets/*.review.md` が手動で `work-items/` に移行される。
- migration 後、`tickets.sh doctor` が repository 全体の状態に対して 0 になる。
- 不整合 fixture または smoke test で `doctor` が非ゼロになることを確認する。
- shellcheck が利用可能なら通る。無い場合は少なくとも focused smoke test を実行する。
## 範囲外
- Rust crate / DB / remote backend 実装。
- LeaseStore / Pod run tracking の実装。
- Git commit の自動化。
- TUI 統合。
- WorkItem から TODO.md を自動生成する仕組み。
@@ -1,211 +0,0 @@
---
id: 20260527-000013-tickets-sh-workitem-thread-mvp
slug: tickets-sh-workitem-thread-mvp
title: Ticket 管理: tickets.sh による WorkItem / Thread MVP
status: closed
kind: task
priority: P2
labels: [migrated]
created_at: 2026-05-27T00:00:13Z
updated_at: 2026-05-27T19:28:41Z
assignee: null
legacy_ticket: tickets/tickets-sh-workitem-thread-mvp.md
---
## Migration reference
- legacy_ticket: tickets/tickets-sh-workitem-thread-mvp.md
- migrated_from: TODO.md / tickets directory migration on 2026-05-27
# Ticket 管理: tickets.sh による WorkItem / Thread MVP
## 背景
現在の ticket 運用は `TODO.md``tickets/*.md`、必要に応じて `tickets/*.review.md` を Git 履歴で管理している。要件と完了条件を追うには機能しているが、multi-agent worktree workflow と組み合わせると review / 修正依頼 / 実装報告が扱いづらい。
特に `.review.md` は、review artifact を main workspace の ticket directory に作る必要がある。一方で実装 Pod は child worktree だけに write scope を持つため、review thread と実装 thread が分断されやすい。子 Pod を止めて scope を回収し、review file を作り、再度 restore / spawn するような運用になりがちで面倒である。
Git は履歴の保存層として有用だが、人間や AI maintainer が毎回 file move / delete / review file 作成 / git log 探索を直接操作するのは低級すぎる。repository 内の file backend を正本にしつつ、`tickets.sh` で create / list / show / comment / review / close などの意味的操作を提供する。
この ticket は `docs/plan/maintainer-work-items.md` の抽象メモを踏まえた最小実装である。既存 `TODO.md` / `tickets/` を併用したまま新規領域を試すのではなく、今回の MVP では既存 `TODO.md` / `tickets/*.md` を手動で `work-items/` に移し、`tickets.sh doctor` が通る状態までをゴールにする。
## 方針
- 新しい正本は repo root の `work-items/` に置く。
- 既存 `TODO.md` / `tickets/*.md` は手動 migration の入力として扱う。
- migration 完了後、`TODO.md` は残す場合でも legacy / generated view 相当の最小内容にする。少なくとも未完了 item の正本を `tickets/*.md` に残さない。
- `tickets.sh` は Git を内部保存層として前提にしてよいが、操作単位は file path ではなく WorkItem 操作にする。
- 初期実装では自動 commit しない。
- `tickets.sh` は file 操作まで。
- `git add/commit` は利用者または追加指示に任せる。
- `--help` だけで基本操作と migration 方針が分かるようにする。
- shell script なので依存は POSIX shell + 基本 Unix tool に寄せる。`jq` 必須にはしない。
- 既存 `tickets/*.review.md` がある場合は、対象 WorkItem の `thread.md` に review event として手動で移す。
## backend schema
```text
work-items/
README.md
open/
20260526-123456-short-slug/
item.md
thread.md
artifacts/
pending/
...
closed/
...
resolution.md
artifacts/
```
`item.md` は YAML frontmatter + Markdown body。
```yaml
---
id: 20260526-123456-short-slug
slug: short-slug
title: Human-readable title
status: open
kind: feature
priority: P2
labels: [maintainer, workflow]
created_at: 2026-05-26T12:34:56Z
updated_at: 2026-05-26T12:34:56Z
assignee: null
legacy_ticket: tickets/foo.md
---
## Background
...
## Acceptance criteria
- ...
```
`legacy_ticket` は migration 直後の追跡用 metadata とする。移行元 file は Git history で参照できるため、migration commit 後に `tickets/foo.md` を残し続けない。
`thread.md` は append-only Markdown event log とする。JSONL より人間が読みやすいことを優先する。
```md
<!-- event: comment author: hare at: 2026-05-26T12:40:00Z -->
## Comment
...
---
<!-- event: review author: orchestrator at: 2026-05-26T13:00:00Z status: request_changes -->
## Review: request changes
...
```
`tickets.sh` が必ず event header と separator を付ける。機械 parse は初期実装では簡易でよい。
## コマンド MVP
```text
./tickets.sh help
./tickets.sh list [--status open|pending|closed|all]
./tickets.sh show <id-or-slug>
./tickets.sh create --title <title> [--slug <slug>] [--kind <kind>] [--priority P2] [--label a,b]
./tickets.sh comment <id-or-slug> [--role comment|plan|decision|implementation_report] [--author <name>] [--file <path>]
./tickets.sh review <id-or-slug> --approve|--request-changes [--author <name>] [--file <path>]
./tickets.sh status <id-or-slug> open|pending|closed
./tickets.sh close <id-or-slug> [--resolution <text>|--file <path>]
./tickets.sh doctor
```
`help` / `--help` は同じ内容を出す。
### list
- `work-items/{open,pending,closed}/*/item.md` を scan する。
- status / id / slug / title / kind / priority / updated_at を一行で表示する。
- 初期実装では frontmatter parser は簡易でよい。
### show
- `item.md``thread.md` の末尾を読みやすく表示する。
- 完全な thread 全体を出すか、初期は tail 表示でもよい。`--all` は後続でよい。
### create
- ID は `YYYYMMDD-HHMMSS-<slug>`
- 同一 path が存在する場合は短い random suffix または pid suffix を付けて衝突回避する。
- `work-items/open/<id>/item.md`, `thread.md`, `artifacts/` を作る。
- central `SEQUENCE` は作らない。
### comment / review
- `thread.md` に append する。
- `item.md``updated_at` を更新する。
- review は role/comment の special case として、`approve` / `request_changes` が分かる event header を付ける。
- `.review.md` は作らない。
### status / close
- status directory を move する。
- `item.md` frontmatter の `status``updated_at` を更新する。
- `close``status closed` + optional `resolution.md` + close event append。
- 完了しても削除しない。
### doctor
- directory status と frontmatter `status` の一致を検査する。
- `item.md` / `thread.md` / `artifacts/` の存在を検査する。
- duplicate slug / duplicate id を検査する。
- `TODO.md` / `tickets/*.md` に未移行の未完了 ticket が残っていないことを検査する。
- `tickets/*.review.md` が残っていないことを検査する。
- work-items 配下の markdown frontmatter に必須 field があることを検査する。
- error は非ゼロ exit。
## 手動 migration 要件
この ticket の作業には既存運用からの手動 migration を含める。
- 現在 `TODO.md` に載っている未完了 ticket を `work-items/open/` に移す。
-`tickets/*.md` の本文を対応する `item.md` に移す。
- 既存 `tickets/*.review.md` があれば対応する `thread.md` に review event として移す。
- 移行元 ticket path は `legacy_ticket` metadata または本文の参照欄に残す。
- migration commit 後、未完了 work item の正本として `tickets/*.md` を残さない。
- `TODO.md` は legacy notice / generated view 相当の最小内容に更新する。
- `tickets.sh doctor` が repository の移行状態まで含めて 0 になることをゴールにする。
## 要件
- `tickets.sh --help` で使い方と migration 後の配置が分かる。
- `create/list/show/comment/review/status/close/doctor` が動く。
- WorkItem ID は timestamp-based で、central sequence file を使わない。
- close しても削除せず `work-items/closed/` に移動する。
- review は `.review.md` ではなく thread event として append できる。
- `doctor` が directory status と frontmatter status の不一致を検出する。
- `doctor` が未移行 `TODO.md` / `tickets/*.md` / `tickets/*.review.md` を検出する。
- 初期実装では自動 git commit しない。
- README 相当の usage は `--help` または `work-items/README.md` に含める。
## 完了条件
- repo root に `tickets.sh` が追加される。
- `work-items/README.md` で schema / migration 後の運用が説明される。
- `tickets.sh create` で WorkItem を作成できる。
- `tickets.sh comment` / `tickets.sh review` で thread event を append できる。
- `tickets.sh close` で closed に移動できる。
- 既存 `TODO.md` / `tickets/*.md` / `tickets/*.review.md` が手動で `work-items/` に移行される。
- migration 後、`tickets.sh doctor` が repository 全体の状態に対して 0 になる。
- 不整合 fixture または smoke test で `doctor` が非ゼロになることを確認する。
- shellcheck が利用可能なら通る。無い場合は少なくとも focused smoke test を実行する。
## 範囲外
- Rust crate / DB / remote backend 実装。
- LeaseStore / Pod run tracking の実装。
- Git commit の自動化。
- TUI 統合。
- WorkItem から TODO.md を自動生成する仕組み。
@@ -1,226 +0,0 @@
<!-- event: migration author: tickets.sh-migration at: 2026-05-27T00:00:13Z -->
## Migrated
Migrated from tickets/tickets-sh-workitem-thread-mvp.md. No legacy review file was present at migration time.
---
<!-- event: close author: hare at: 2026-05-27T19:28:41Z status: closed -->
## Closed
---
id: 20260527-000013-tickets-sh-workitem-thread-mvp
slug: tickets-sh-workitem-thread-mvp
title: Ticket 管理: tickets.sh による WorkItem / Thread MVP
status: closed
kind: task
priority: P2
labels: [migrated]
created_at: 2026-05-27T00:00:13Z
updated_at: 2026-05-27T19:28:41Z
assignee: null
legacy_ticket: tickets/tickets-sh-workitem-thread-mvp.md
---
## Migration reference
- legacy_ticket: tickets/tickets-sh-workitem-thread-mvp.md
- migrated_from: TODO.md / tickets directory migration on 2026-05-27
# Ticket 管理: tickets.sh による WorkItem / Thread MVP
## 背景
現在の ticket 運用は `TODO.md``tickets/*.md`、必要に応じて `tickets/*.review.md` を Git 履歴で管理している。要件と完了条件を追うには機能しているが、multi-agent worktree workflow と組み合わせると review / 修正依頼 / 実装報告が扱いづらい。
特に `.review.md` は、review artifact を main workspace の ticket directory に作る必要がある。一方で実装 Pod は child worktree だけに write scope を持つため、review thread と実装 thread が分断されやすい。子 Pod を止めて scope を回収し、review file を作り、再度 restore / spawn するような運用になりがちで面倒である。
Git は履歴の保存層として有用だが、人間や AI maintainer が毎回 file move / delete / review file 作成 / git log 探索を直接操作するのは低級すぎる。repository 内の file backend を正本にしつつ、`tickets.sh` で create / list / show / comment / review / close などの意味的操作を提供する。
この ticket は `docs/plan/maintainer-work-items.md` の抽象メモを踏まえた最小実装である。既存 `TODO.md` / `tickets/` を併用したまま新規領域を試すのではなく、今回の MVP では既存 `TODO.md` / `tickets/*.md` を手動で `work-items/` に移し、`tickets.sh doctor` が通る状態までをゴールにする。
## 方針
- 新しい正本は repo root の `work-items/` に置く。
- 既存 `TODO.md` / `tickets/*.md` は手動 migration の入力として扱う。
- migration 完了後、`TODO.md` は残す場合でも legacy / generated view 相当の最小内容にする。少なくとも未完了 item の正本を `tickets/*.md` に残さない。
- `tickets.sh` は Git を内部保存層として前提にしてよいが、操作単位は file path ではなく WorkItem 操作にする。
- 初期実装では自動 commit しない。
- `tickets.sh` は file 操作まで。
- `git add/commit` は利用者または追加指示に任せる。
- `--help` だけで基本操作と migration 方針が分かるようにする。
- shell script なので依存は POSIX shell + 基本 Unix tool に寄せる。`jq` 必須にはしない。
- 既存 `tickets/*.review.md` がある場合は、対象 WorkItem の `thread.md` に review event として手動で移す。
## backend schema
```text
work-items/
README.md
open/
20260526-123456-short-slug/
item.md
thread.md
artifacts/
pending/
...
closed/
...
resolution.md
artifacts/
```
`item.md` は YAML frontmatter + Markdown body。
```yaml
---
id: 20260526-123456-short-slug
slug: short-slug
title: Human-readable title
status: open
kind: feature
priority: P2
labels: [maintainer, workflow]
created_at: 2026-05-26T12:34:56Z
updated_at: 2026-05-26T12:34:56Z
assignee: null
legacy_ticket: tickets/foo.md
---
## Background
...
## Acceptance criteria
- ...
```
`legacy_ticket` は migration 直後の追跡用 metadata とする。移行元 file は Git history で参照できるため、migration commit 後に `tickets/foo.md` を残し続けない。
`thread.md` は append-only Markdown event log とする。JSONL より人間が読みやすいことを優先する。
```md
<!-- event: comment author: hare at: 2026-05-26T12:40:00Z -->
## Comment
...
---
<!-- event: review author: orchestrator at: 2026-05-26T13:00:00Z status: request_changes -->
## Review: request changes
...
```
`tickets.sh` が必ず event header と separator を付ける。機械 parse は初期実装では簡易でよい。
## コマンド MVP
```text
./tickets.sh help
./tickets.sh list [--status open|pending|closed|all]
./tickets.sh show <id-or-slug>
./tickets.sh create --title <title> [--slug <slug>] [--kind <kind>] [--priority P2] [--label a,b]
./tickets.sh comment <id-or-slug> [--role comment|plan|decision|implementation_report] [--author <name>] [--file <path>]
./tickets.sh review <id-or-slug> --approve|--request-changes [--author <name>] [--file <path>]
./tickets.sh status <id-or-slug> open|pending|closed
./tickets.sh close <id-or-slug> [--resolution <text>|--file <path>]
./tickets.sh doctor
```
`help` / `--help` は同じ内容を出す。
### list
- `work-items/{open,pending,closed}/*/item.md` を scan する。
- status / id / slug / title / kind / priority / updated_at を一行で表示する。
- 初期実装では frontmatter parser は簡易でよい。
### show
- `item.md``thread.md` の末尾を読みやすく表示する。
- 完全な thread 全体を出すか、初期は tail 表示でもよい。`--all` は後続でよい。
### create
- ID は `YYYYMMDD-HHMMSS-<slug>`
- 同一 path が存在する場合は短い random suffix または pid suffix を付けて衝突回避する。
- `work-items/open/<id>/item.md`, `thread.md`, `artifacts/` を作る。
- central `SEQUENCE` は作らない。
### comment / review
- `thread.md` に append する。
- `item.md``updated_at` を更新する。
- review は role/comment の special case として、`approve` / `request_changes` が分かる event header を付ける。
- `.review.md` は作らない。
### status / close
- status directory を move する。
- `item.md` frontmatter の `status``updated_at` を更新する。
- `close``status closed` + optional `resolution.md` + close event append。
- 完了しても削除しない。
### doctor
- directory status と frontmatter `status` の一致を検査する。
- `item.md` / `thread.md` / `artifacts/` の存在を検査する。
- duplicate slug / duplicate id を検査する。
- `TODO.md` / `tickets/*.md` に未移行の未完了 ticket が残っていないことを検査する。
- `tickets/*.review.md` が残っていないことを検査する。
- work-items 配下の markdown frontmatter に必須 field があることを検査する。
- error は非ゼロ exit。
## 手動 migration 要件
この ticket の作業には既存運用からの手動 migration を含める。
- 現在 `TODO.md` に載っている未完了 ticket を `work-items/open/` に移す。
-`tickets/*.md` の本文を対応する `item.md` に移す。
- 既存 `tickets/*.review.md` があれば対応する `thread.md` に review event として移す。
- 移行元 ticket path は `legacy_ticket` metadata または本文の参照欄に残す。
- migration commit 後、未完了 work item の正本として `tickets/*.md` を残さない。
- `TODO.md` は legacy notice / generated view 相当の最小内容に更新する。
- `tickets.sh doctor` が repository の移行状態まで含めて 0 になることをゴールにする。
## 要件
- `tickets.sh --help` で使い方と migration 後の配置が分かる。
- `create/list/show/comment/review/status/close/doctor` が動く。
- WorkItem ID は timestamp-based で、central sequence file を使わない。
- close しても削除せず `work-items/closed/` に移動する。
- review は `.review.md` ではなく thread event として append できる。
- `doctor` が directory status と frontmatter status の不一致を検出する。
- `doctor` が未移行 `TODO.md` / `tickets/*.md` / `tickets/*.review.md` を検出する。
- 初期実装では自動 git commit しない。
- README 相当の usage は `--help` または `work-items/README.md` に含める。
## 完了条件
- repo root に `tickets.sh` が追加される。
- `work-items/README.md` で schema / migration 後の運用が説明される。
- `tickets.sh create` で WorkItem を作成できる。
- `tickets.sh comment` / `tickets.sh review` で thread event を append できる。
- `tickets.sh close` で closed に移動できる。
- 既存 `TODO.md` / `tickets/*.md` / `tickets/*.review.md` が手動で `work-items/` に移行される。
- migration 後、`tickets.sh doctor` が repository 全体の状態に対して 0 になる。
- 不整合 fixture または smoke test で `doctor` が非ゼロになることを確認する。
- shellcheck が利用可能なら通る。無い場合は少なくとも focused smoke test を実行する。
## 範囲外
- Rust crate / DB / remote backend 実装。
- LeaseStore / Pod run tracking の実装。
- Git commit の自動化。
- TUI 統合。
- WorkItem から TODO.md を自動生成する仕組み。
---
@@ -1,66 +0,0 @@
---
id: 20260527-000014-tui-actionbar-transient-notice-api
slug: tui-actionbar-transient-notice-api
title: TUI: actionbar transient notice API
status: closed
kind: task
priority: P2
labels: [migrated]
created_at: 2026-05-27T00:00:14Z
updated_at: 2026-05-29T03:57:35Z
assignee: null
legacy_ticket: tickets/tui-actionbar-transient-notice-api.md
---
## Migration reference
- legacy_ticket: tickets/tui-actionbar-transient-notice-api.md
- migrated_from: TODO.md / tickets directory migration on 2026-05-27
# TUI: actionbar transient notice API
## 背景
TUI の actionbar は最下部の補助表示行として、現在の mode や一時的な操作フィードバックを出す場所になりつつある。
一方で、現在は `Ctrl-C` の二段階終了 guard のような一時通知も `app.push_error(...)` 等で view 上に残る message として扱われている。これは後から見返すログではなく、数秒だけ見えれば十分な操作フィードバックである。
また、memory audit log 実装では extract / consolidation worker の直近 event を actionbar に表示する予定であり、個別機能ごとに ad hoc な actionbar 表示を増やすと優先順位・寿命・表示競合の扱いが散らばる。
## 方針
Actionbar を「history / transcript に残さない transient UI state」の共通表示面として扱う API を App 側に用意する。
永続的に残すべき Pod event / model output / tool result / user-visible error と、一時的な操作フィードバックを分離する。actionbar notice は UI の補助表示であり、LLM context や session history へ暗黙注入しない。
## 要件
- App に actionbar transient notice を設定・期限切れ・取得するための API を追加する。
- 例: `flash_actionbar_notice(text, duration)` または `set_actionbar_notice(...)`
- notice には最低限 `text`, `level`, `source`, `expires_at` 相当を持たせる。
- time source はテストしやすい形にする。
- actionbar rendering は transient notice を優先表示できる。
- 既存の command mode marker、queued input hint、scroll indicator、view mode label と競合しない優先順位を定義する。
- notice が期限切れなら表示しない。
- `Ctrl-C` の二段階終了 guard の表示を view log から actionbar notice に移す。
- `Pod keeps running` などの一時説明は transcript/view 上に残さない。
- 二度押しの挙動自体は変えない。
- memory worker の actionbar 表示が既に実装済みの場合、可能な範囲でこの API に寄せる。
- 未実装・別 branch 上の場合は、この ticket の範囲では API 設計が衝突しないようにする。
- actionbar notice は通常の LLM context に暗黙注入しない。
- 必要な正本ログは各機能の audit/session log に残す。
## 完了条件
- actionbar transient notice 用 API が App/UI に追加されている。
- `Ctrl-C` 二段階終了 guard の一時メッセージが actionbar に表示され、view log には残らない。
- notice の期限切れと優先表示の挙動がテストされている。
- 既存の command mode / queued input / scroll / view mode actionbar 表示が破綻していない。
- `cargo fmt --check` と関連 TUI テストが通る。
## 範囲外
- actionbar の複数行化。
- 汎用 notification center / viewer UI。
- Pod / worker の正本ログ形式の変更。
- memory audit log 本体の実装。
@@ -1,66 +0,0 @@
---
id: 20260527-000014-tui-actionbar-transient-notice-api
slug: tui-actionbar-transient-notice-api
title: TUI: actionbar transient notice API
status: closed
kind: task
priority: P2
labels: [migrated]
created_at: 2026-05-27T00:00:14Z
updated_at: 2026-05-29T03:57:34Z
assignee: null
legacy_ticket: tickets/tui-actionbar-transient-notice-api.md
---
## Migration reference
- legacy_ticket: tickets/tui-actionbar-transient-notice-api.md
- migrated_from: TODO.md / tickets directory migration on 2026-05-27
# TUI: actionbar transient notice API
## 背景
TUI の actionbar は最下部の補助表示行として、現在の mode や一時的な操作フィードバックを出す場所になりつつある。
一方で、現在は `Ctrl-C` の二段階終了 guard のような一時通知も `app.push_error(...)` 等で view 上に残る message として扱われている。これは後から見返すログではなく、数秒だけ見えれば十分な操作フィードバックである。
また、memory audit log 実装では extract / consolidation worker の直近 event を actionbar に表示する予定であり、個別機能ごとに ad hoc な actionbar 表示を増やすと優先順位・寿命・表示競合の扱いが散らばる。
## 方針
Actionbar を「history / transcript に残さない transient UI state」の共通表示面として扱う API を App 側に用意する。
永続的に残すべき Pod event / model output / tool result / user-visible error と、一時的な操作フィードバックを分離する。actionbar notice は UI の補助表示であり、LLM context や session history へ暗黙注入しない。
## 要件
- App に actionbar transient notice を設定・期限切れ・取得するための API を追加する。
- 例: `flash_actionbar_notice(text, duration)` または `set_actionbar_notice(...)`
- notice には最低限 `text`, `level`, `source`, `expires_at` 相当を持たせる。
- time source はテストしやすい形にする。
- actionbar rendering は transient notice を優先表示できる。
- 既存の command mode marker、queued input hint、scroll indicator、view mode label と競合しない優先順位を定義する。
- notice が期限切れなら表示しない。
- `Ctrl-C` の二段階終了 guard の表示を view log から actionbar notice に移す。
- `Pod keeps running` などの一時説明は transcript/view 上に残さない。
- 二度押しの挙動自体は変えない。
- memory worker の actionbar 表示が既に実装済みの場合、可能な範囲でこの API に寄せる。
- 未実装・別 branch 上の場合は、この ticket の範囲では API 設計が衝突しないようにする。
- actionbar notice は通常の LLM context に暗黙注入しない。
- 必要な正本ログは各機能の audit/session log に残す。
## 完了条件
- actionbar transient notice 用 API が App/UI に追加されている。
- `Ctrl-C` 二段階終了 guard の一時メッセージが actionbar に表示され、view log には残らない。
- notice の期限切れと優先表示の挙動がテストされている。
- 既存の command mode / queued input / scroll / view mode actionbar 表示が破綻していない。
- `cargo fmt --check` と関連 TUI テストが通る。
## 範囲外
- actionbar の複数行化。
- 汎用 notification center / viewer UI。
- Pod / worker の正本ログ形式の変更。
- memory audit log 本体の実装。
@@ -1,81 +0,0 @@
<!-- event: migration author: tickets.sh-migration at: 2026-05-27T00:00:14Z -->
## Migrated
Migrated from tickets/tui-actionbar-transient-notice-api.md. No legacy review file was present at migration time.
---
<!-- event: close author: hare at: 2026-05-29T03:57:35Z status: closed -->
## Closed
---
id: 20260527-000014-tui-actionbar-transient-notice-api
slug: tui-actionbar-transient-notice-api
title: TUI: actionbar transient notice API
status: closed
kind: task
priority: P2
labels: [migrated]
created_at: 2026-05-27T00:00:14Z
updated_at: 2026-05-29T03:57:34Z
assignee: null
legacy_ticket: tickets/tui-actionbar-transient-notice-api.md
---
## Migration reference
- legacy_ticket: tickets/tui-actionbar-transient-notice-api.md
- migrated_from: TODO.md / tickets directory migration on 2026-05-27
# TUI: actionbar transient notice API
## 背景
TUI の actionbar は最下部の補助表示行として、現在の mode や一時的な操作フィードバックを出す場所になりつつある。
一方で、現在は `Ctrl-C` の二段階終了 guard のような一時通知も `app.push_error(...)` 等で view 上に残る message として扱われている。これは後から見返すログではなく、数秒だけ見えれば十分な操作フィードバックである。
また、memory audit log 実装では extract / consolidation worker の直近 event を actionbar に表示する予定であり、個別機能ごとに ad hoc な actionbar 表示を増やすと優先順位・寿命・表示競合の扱いが散らばる。
## 方針
Actionbar を「history / transcript に残さない transient UI state」の共通表示面として扱う API を App 側に用意する。
永続的に残すべき Pod event / model output / tool result / user-visible error と、一時的な操作フィードバックを分離する。actionbar notice は UI の補助表示であり、LLM context や session history へ暗黙注入しない。
## 要件
- App に actionbar transient notice を設定・期限切れ・取得するための API を追加する。
- 例: `flash_actionbar_notice(text, duration)` または `set_actionbar_notice(...)`
- notice には最低限 `text`, `level`, `source`, `expires_at` 相当を持たせる。
- time source はテストしやすい形にする。
- actionbar rendering は transient notice を優先表示できる。
- 既存の command mode marker、queued input hint、scroll indicator、view mode label と競合しない優先順位を定義する。
- notice が期限切れなら表示しない。
- `Ctrl-C` の二段階終了 guard の表示を view log から actionbar notice に移す。
- `Pod keeps running` などの一時説明は transcript/view 上に残さない。
- 二度押しの挙動自体は変えない。
- memory worker の actionbar 表示が既に実装済みの場合、可能な範囲でこの API に寄せる。
- 未実装・別 branch 上の場合は、この ticket の範囲では API 設計が衝突しないようにする。
- actionbar notice は通常の LLM context に暗黙注入しない。
- 必要な正本ログは各機能の audit/session log に残す。
## 完了条件
- actionbar transient notice 用 API が App/UI に追加されている。
- `Ctrl-C` 二段階終了 guard の一時メッセージが actionbar に表示され、view log には残らない。
- notice の期限切れと優先表示の挙動がテストされている。
- 既存の command mode / queued input / scroll / view mode actionbar 表示が破綻していない。
- `cargo fmt --check` と関連 TUI テストが通る。
## 範囲外
- actionbar の複数行化。
- 汎用 notification center / viewer UI。
- Pod / worker の正本ログ形式の変更。
- memory audit log 本体の実装。
---
@@ -1,81 +0,0 @@
---
id: 20260527-000016-tui-picker-live-pending-pods
slug: tui-picker-live-pending-pods
title: TUI picker: live pending Pod の表示優先と状態補完
status: closed
kind: task
priority: P2
labels: [migrated]
created_at: 2026-05-27T00:00:16Z
updated_at: 2026-05-30T05:00:56Z
assignee: null
legacy_ticket: tickets/tui-picker-live-pending-pods.md
---
## Migration reference
- legacy_ticket: tickets/tui-picker-live-pending-pods.md
- migrated_from: TODO.md / tickets directory migration on 2026-05-27
# TUI picker: live pending Pod の表示優先と状態補完
## 背景
`tui -r` の Pod picker は session store の name-keyed Pod metadata と runtime registry の live allocation を合わせて表示している。しかし、spawned child Pod がまだ最初の user turn / SegmentStart を materialize していない場合、Pod metadata は pending segment のままになり、session log も存在しない。
実例として、`impl-llm-worker-stream-continuation` は live socket と runtime registry 上の segment_id を持っていたが、metadata は以下のように `session_id` のみだった。
```json
{
"pod_name": "impl-llm-worker-stream-continuation",
"active": {
"session_id": "019e5bc6-c3f3-7193-98a1-d64c635f86a1"
}
}
```
一方で runtime 側には segment_id が存在する。
```json
{
"pod_name": "impl-llm-worker-stream-continuation",
"segment_id": "019e5bc6-c3f3-7193-98a1-d6559bdc9cd6",
"state": "idle"
}
```
この状態の Pod は attach 可能だが、session log がないため `updated_at = 0` になり、picker の `updated_at desc` sort と `MAX_ROWS = 10` truncate によって一覧から漏れやすい。
## 方針
Live socket が reachable な Pod は、session log / metadata active segment が未確定でも attach 可能な対象として picker に表示する。restore 可能性と attach 可能性を分け、live pending Pod は restore 不能でも live attach 対象として扱う。
## 要件
- `tui -r` picker は reachable live Pod を stopped Pod より優先して表示する。
- `updated_at = 0` でも live row が `MAX_ROWS` truncate で落ちない。
- sort key は少なくとも live first, updated_at desc, pod_name になる。
- Live Pod の metadata が pending segment の場合でも picker row に表示する。
- preview は `[live, pending segment]` など、人間が状態を理解できる文言にする。
- debug id 表示では runtime registry の segment_id を可能なら表示する。
- Runtime registry / live status に segment_id があり、metadata に segment_id が無い場合、表示上は runtime segment_id を補完できるようにする。
- ただし session log が存在しない限り restore 可能とは扱わない。
- attach は live socket に対して行う。
- Existing stopped / corrupt Pod metadata rows の表示を壊さない。
- `ListVisiblePods` / discovery 側にも同様の pending live 表示不整合がある場合、必要なら後続 ticket に切り出す。
- この ticket の主対象は `tui -r` picker。
## 完了条件
- live pending Pod が `tui -r` に表示される。
- live pending Pod を選択すると live socket に attach する。
- live pending Pod が多数の stopped Pod によって `MAX_ROWS` truncate から漏れない。
- picker の sort / row build の unit test が追加または更新されている。
- `cargo fmt --check``cargo test -p tui picker` あるいは関連 TUI test が通る。
## 範囲外
- pending Pod metadata を runtime segment_id で永続的に書き換えること。
- session log が無い Pod を restore 可能にすること。
- spawned child Pod の first turn / SegmentStart materialization 方針の変更。
- 汎用 spawned Pod panel UI。
@@ -1,81 +0,0 @@
---
id: 20260527-000016-tui-picker-live-pending-pods
slug: tui-picker-live-pending-pods
title: TUI picker: live pending Pod の表示優先と状態補完
status: closed
kind: task
priority: P2
labels: [migrated]
created_at: 2026-05-27T00:00:16Z
updated_at: 2026-05-30T05:00:56Z
assignee: null
legacy_ticket: tickets/tui-picker-live-pending-pods.md
---
## Migration reference
- legacy_ticket: tickets/tui-picker-live-pending-pods.md
- migrated_from: TODO.md / tickets directory migration on 2026-05-27
# TUI picker: live pending Pod の表示優先と状態補完
## 背景
`tui -r` の Pod picker は session store の name-keyed Pod metadata と runtime registry の live allocation を合わせて表示している。しかし、spawned child Pod がまだ最初の user turn / SegmentStart を materialize していない場合、Pod metadata は pending segment のままになり、session log も存在しない。
実例として、`impl-llm-worker-stream-continuation` は live socket と runtime registry 上の segment_id を持っていたが、metadata は以下のように `session_id` のみだった。
```json
{
"pod_name": "impl-llm-worker-stream-continuation",
"active": {
"session_id": "019e5bc6-c3f3-7193-98a1-d64c635f86a1"
}
}
```
一方で runtime 側には segment_id が存在する。
```json
{
"pod_name": "impl-llm-worker-stream-continuation",
"segment_id": "019e5bc6-c3f3-7193-98a1-d6559bdc9cd6",
"state": "idle"
}
```
この状態の Pod は attach 可能だが、session log がないため `updated_at = 0` になり、picker の `updated_at desc` sort と `MAX_ROWS = 10` truncate によって一覧から漏れやすい。
## 方針
Live socket が reachable な Pod は、session log / metadata active segment が未確定でも attach 可能な対象として picker に表示する。restore 可能性と attach 可能性を分け、live pending Pod は restore 不能でも live attach 対象として扱う。
## 要件
- `tui -r` picker は reachable live Pod を stopped Pod より優先して表示する。
- `updated_at = 0` でも live row が `MAX_ROWS` truncate で落ちない。
- sort key は少なくとも live first, updated_at desc, pod_name になる。
- Live Pod の metadata が pending segment の場合でも picker row に表示する。
- preview は `[live, pending segment]` など、人間が状態を理解できる文言にする。
- debug id 表示では runtime registry の segment_id を可能なら表示する。
- Runtime registry / live status に segment_id があり、metadata に segment_id が無い場合、表示上は runtime segment_id を補完できるようにする。
- ただし session log が存在しない限り restore 可能とは扱わない。
- attach は live socket に対して行う。
- Existing stopped / corrupt Pod metadata rows の表示を壊さない。
- `ListVisiblePods` / discovery 側にも同様の pending live 表示不整合がある場合、必要なら後続 ticket に切り出す。
- この ticket の主対象は `tui -r` picker。
## 完了条件
- live pending Pod が `tui -r` に表示される。
- live pending Pod を選択すると live socket に attach する。
- live pending Pod が多数の stopped Pod によって `MAX_ROWS` truncate から漏れない。
- picker の sort / row build の unit test が追加または更新されている。
- `cargo fmt --check``cargo test -p tui picker` あるいは関連 TUI test が通る。
## 範囲外
- pending Pod metadata を runtime segment_id で永続的に書き換えること。
- session log が無い Pod を restore 可能にすること。
- spawned child Pod の first turn / SegmentStart materialization 方針の変更。
- 汎用 spawned Pod panel UI。
@@ -1,179 +0,0 @@
<!-- event: migration author: tickets.sh-migration at: 2026-05-27T00:00:16Z -->
## Migrated
Migrated from tickets/tui-picker-live-pending-pods.md. No legacy review file was present at migration time.
---
<!-- event: plan author: hare at: 2026-05-30T04:54:03Z -->
## Plan
## Preflight implementation plan
Classification: implementation-ready.
No blocking preflight gap remains. The product rule is settled: reachable live Pods must be visible/attachable even if durable session-log metadata is incomplete, but missing session logs must not make them restorable.
Implementation detail to preserve:
- Treat “pending live” as a display/model condition, not persisted state.
- Use reachable `LivePodInfo` plus incomplete stored/session summary or runtime-only segment id to improve row order/preview/debug ids.
- Do not mark the Pod restorable unless stored metadata has a usable active segment/session under existing restore rules.
Current code map:
- `crates/tui/src/picker.rs`: picker construction, row rendering, live attach socket override.
- `crates/tui/src/pod_list.rs`: shared model merge/sort/truncation/actions; current sort is updated_at desc only; `merge_live` already supplements segment id from runtime.
- `crates/tui/src/main.rs`: selected live row attaches via socket override before restore fallback.
- `crates/tui/src/multi_pod.rs`: also uses `PodList`, so ordering effects should be checked.
- `crates/pod/src/discovery.rs`: List/Attach/Restore behavior is related but out of scope.
- `crates/pod-registry/src/table.rs`: runtime allocation segment id source.
- `crates/pod-store/src/lib.rs`: pending active segment metadata; do not persist runtime supplementation.
Implementation phases:
1. Change `PodList::from_sources` sorting to reachable-live first, then updated_at desc, then pod_name asc; truncation remains after sorting.
2. Make reachable live pending preview explicit, e.g. `[live, pending segment]`, when durable summary is incomplete.
3. Preserve and test runtime segment id supplementation for display/debug ids only.
4. Add focused `pod_list` tests for live-first-before-truncation, live pending runtime segment attach-only behavior, and live-only runtime segment attach-only behavior.
5. Adjust existing sort/multi-pod tests only as needed.
6. Keep `PodDiscovery::inspect` / `AttachOrRestorePod` behavior out of scope; record follow-up if needed.
Critical risks:
- Live attachability and restoreability must stay separate.
- Do not persist runtime segment supplementation to pod-store.
- Sort must happen before truncation.
- Do not duplicate picker-specific merge/sort logic; fix shared `PodList`.
- Rank reachable live rows, not unreachable registry allocations.
- Preview wording must not imply restoreability.
- Multi-Pod dashboard ordering may change; reviewer should check it remains intended.
Validation plan:
- `cargo test -p tui pod_list`
- `cargo test -p tui picker`
- `cargo test -p tui multi_pod`
- `cargo test -p tui`
- `cargo fmt --check`
---
<!-- event: review author: hare at: 2026-05-30T05:00:32Z status: approve -->
## Review: approve
Approve.
The change correctly moves the live-priority rule into shared `PodList` construction, so both the resume picker and multi-Pod dashboard consume the same merged/sorted model. Reachable live Pods now sort ahead of non-live/unreachable/stopped/corrupt rows before truncation, and live pending rows get display-only runtime segment supplementation plus clearer pending preview text without changing pod-store metadata or restore behavior.
Blocker findings: none.
Requirement coverage:
- Reachable live rows sort before stopped/corrupt/unreachable rows before truncation.
- Sorting remains deterministic inside groups: `updated_at` desc, then pod name asc.
- Live pending/runtime-only rows remain attachable/openable but not restorable.
- Runtime segment id supplementation is display/model-only; no pod-store write path is touched.
- Pending preview uses `[live, pending segment]` and does not imply restoreability.
- Shared `PodList` was fixed rather than duplicating picker-specific logic.
- Unreachable registry allocations are not promoted.
- PodDiscovery / AttachOrRestore behavior was not broadened.
Validation reviewed from coder report:
- `cargo test -p tui pod_list` — passed.
- `cargo test -p tui picker` — passed.
- `cargo test -p tui multi_pod` — passed.
- `cargo test -p tui` — passed.
- `cargo fmt --check` — passed.
Final verdict: approve.
---
<!-- event: close author: hare at: 2026-05-30T05:00:56Z status: closed -->
## Closed
---
id: 20260527-000016-tui-picker-live-pending-pods
slug: tui-picker-live-pending-pods
title: TUI picker: live pending Pod の表示優先と状態補完
status: closed
kind: task
priority: P2
labels: [migrated]
created_at: 2026-05-27T00:00:16Z
updated_at: 2026-05-30T05:00:56Z
assignee: null
legacy_ticket: tickets/tui-picker-live-pending-pods.md
---
## Migration reference
- legacy_ticket: tickets/tui-picker-live-pending-pods.md
- migrated_from: TODO.md / tickets directory migration on 2026-05-27
# TUI picker: live pending Pod の表示優先と状態補完
## 背景
`tui -r` の Pod picker は session store の name-keyed Pod metadata と runtime registry の live allocation を合わせて表示している。しかし、spawned child Pod がまだ最初の user turn / SegmentStart を materialize していない場合、Pod metadata は pending segment のままになり、session log も存在しない。
実例として、`impl-llm-worker-stream-continuation` は live socket と runtime registry 上の segment_id を持っていたが、metadata は以下のように `session_id` のみだった。
```json
{
"pod_name": "impl-llm-worker-stream-continuation",
"active": {
"session_id": "019e5bc6-c3f3-7193-98a1-d64c635f86a1"
}
}
```
一方で runtime 側には segment_id が存在する。
```json
{
"pod_name": "impl-llm-worker-stream-continuation",
"segment_id": "019e5bc6-c3f3-7193-98a1-d6559bdc9cd6",
"state": "idle"
}
```
この状態の Pod は attach 可能だが、session log がないため `updated_at = 0` になり、picker の `updated_at desc` sort と `MAX_ROWS = 10` truncate によって一覧から漏れやすい。
## 方針
Live socket が reachable な Pod は、session log / metadata active segment が未確定でも attach 可能な対象として picker に表示する。restore 可能性と attach 可能性を分け、live pending Pod は restore 不能でも live attach 対象として扱う。
## 要件
- `tui -r` picker は reachable live Pod を stopped Pod より優先して表示する。
- `updated_at = 0` でも live row が `MAX_ROWS` truncate で落ちない。
- sort key は少なくとも live first, updated_at desc, pod_name になる。
- Live Pod の metadata が pending segment の場合でも picker row に表示する。
- preview は `[live, pending segment]` など、人間が状態を理解できる文言にする。
- debug id 表示では runtime registry の segment_id を可能なら表示する。
- Runtime registry / live status に segment_id があり、metadata に segment_id が無い場合、表示上は runtime segment_id を補完できるようにする。
- ただし session log が存在しない限り restore 可能とは扱わない。
- attach は live socket に対して行う。
- Existing stopped / corrupt Pod metadata rows の表示を壊さない。
- `ListVisiblePods` / discovery 側にも同様の pending live 表示不整合がある場合、必要なら後続 ticket に切り出す。
- この ticket の主対象は `tui -r` picker。
## 完了条件
- live pending Pod が `tui -r` に表示される。
- live pending Pod を選択すると live socket に attach する。
- live pending Pod が多数の stopped Pod によって `MAX_ROWS` truncate から漏れない。
- picker の sort / row build の unit test が追加または更新されている。
- `cargo fmt --check``cargo test -p tui picker` あるいは関連 TUI test が通る。
## 範囲外
- pending Pod metadata を runtime segment_id で永続的に書き換えること。
- session log が無い Pod を restore 可能にすること。
- spawned child Pod の first turn / SegmentStart materialization 方針の変更。
- 汎用 spawned Pod panel UI。
---
@@ -1,86 +0,0 @@
---
id: 20260527-000017-tui-spawned-pod-panel
slug: tui-spawned-pod-panel
title: TUI: spawned child Pod の一覧と一時 attach
status: closed
kind: task
priority: P2
labels: [migrated]
created_at: 2026-05-27T00:00:17Z
updated_at: 2026-06-07T03:14:39Z
assignee: null
legacy_ticket: tickets/tui-spawned-pod-panel.md
workflow_state: done
---
## Migration reference
- legacy_ticket: tickets/tui-spawned-pod-panel.md
- migrated_from: TODO.md / tickets directory migration on 2026-05-27
# TUI: spawned child Pod の一覧と一時 attach
## 背景
insomnia の開発では、親 Pod が複数の実装 Pod / reviewer Pod を spawn し、並列に作業させる運用が増えている。現在、spawned child の状態確認や出力確認は主に tool (`ListPods`, `ReadPodOutput`, `SendToPod`, `StopPod`) 経由で行っているが、TUI 上では親 Pod の会話と child Pod の進捗を行き来しにくい。
ネイティブ GUI は将来的には便利だが、現時点で必要なタスクではない。まず TUI のまま、現在の Pod が spawn した child Pod を一覧し、一時的に attach / view できる UI を用意したい。
## Prerequisite
- `20260528-141602-tui-pod-list-view-abstraction`
This ticket should build on the shared TUI Pod list/view abstraction instead of introducing a separate child-Pod-specific list model. The child panel may specialize the source/visibility to current-parent spawned children, but row status, reachability diagnostics, attach target representation, selection, and refresh behavior should reuse the prerequisite abstraction.
## 要件
- TUI 上で、現在の Pod が spawn した child Pod を一覧できる。
- source は spawned child registry / Pod state persistence を使う。
- ホスト上の全 Pod を無条件に見せる UI にはしない。
- current parent から見える child Pod だけを対象にする。
- 各 child row には最低限以下を表示する。
- pod name
- alive / stopped / unreachable などの状態
- delegated scope の概要
- 最終更新時刻または最終出力時刻(取得できる範囲)
- 未読出力の有無または最終 assistant text preview(可能なら)
- TUI から child Pod に一時 attach / view できる。
- 親 Pod の TUI を完全に終了せず、child の履歴 / streaming 出力を確認できる。
- 戻る操作で親 Pod view に戻れる。
- 最小実装では read-only view でもよい。child へ入力を送る操作は後続でもよい。
- child view 中でも、どの Pod を見ているか視覚的に分かる。
- status line / title / breadcrumb など。
- child が stopped / unreachable の場合は明確に表示し、attach 失敗を診断する。
- 既存 tool の `ListPods` / `ReadPodOutput` / `SendToPod` / `StopPod` の意味を変えない。
- visibility は parent-child 関係に基づけ、Pod discovery の global list と混ぜない。
## 操作案
詳細 keybinding は実装時に確定する。
候補:
- command mode から `:pods` で child Pod list を開く。
- list 上で Enter すると child view へ一時 attach。
- `Esc` / `b` / command で parent view へ戻る。
- child view から `:send` などで入力する機能は後続 ticket にしてよい。
## 完了条件
- 親 Pod の TUI で spawned child Pod の一覧を表示できる。
- live child Pod を選択すると、その child の snapshot / streaming output を TUI 上で確認できる。
- parent view に戻れる。
- stopped / unreachable child は一覧上で状態が分かり、attach 失敗が診断される。
- ホスト全 Pod ではなく、parent から見える child Pod だけが対象である。
- `cargo fmt --check`
- `cargo check --workspace`
- `cargo test -p tui -p pod -p protocol`
## 範囲外
- ネイティブ GUI クライアント。
- 複数 Pod view の同時分割表示。
- child Pod への full interactive input。
- child Pod の自動再起動。
- host-wide Pod browser。
- Pod discovery tool の visibility model 変更。
@@ -1,3 +0,0 @@
Closed as intentionally not planned.
The old migrated spawned-Pod panel idea has been superseded by the workspace panel, Pod list/open/attach behavior, Ticket role launching, and the local role session registry. The remaining direction is not to revive this standalone spawned-child panel ticket. Future panel work should be tracked through the newer workspace panel / orchestration tickets.
@@ -1,39 +0,0 @@
<!-- event: migration author: tickets.sh-migration at: 2026-05-27T00:00:17Z -->
## Migrated
Migrated from tickets/tui-spawned-pod-panel.md. No legacy review file was present at migration time.
---
<!-- event: decision author: hare at: 2026-06-05T04:03:38Z -->
## Decision
Decision: deprioritize this ticket for the current multi-agent system direction.
Current need is not a TUI panel for spawned Pods. The priority is Ticket-driven intake/routing: making Tickets a code-facing durable orchestration record, then exposing Ticket operations to Intake/Orchestrator through a typed backend/tool surface.
This ticket is not closed as technically invalid; it is moved out of the active multi-agent implementation path. Revisit only if direct child Pod visibility/attach UI becomes a concrete UX requirement.
---
<!-- event: state_changed author: hare at: 2026-06-07T03:14:39Z from: intake to: done reason: closed field: workflow_state -->
## State changed
Ticket closed; workflow_state set to done.
---
<!-- event: close author: hare at: 2026-06-07T03:14:39Z status: closed -->
## Closed
Closed as intentionally not planned.
The old migrated spawned-Pod panel idea has been superseded by the workspace panel, Pod list/open/attach behavior, Ticket role launching, and the local role session registry. The remaining direction is not to revive this standalone spawned-child panel ticket. Future panel work should be tracked through the newer workspace panel / orchestration tickets.
---
@@ -1,64 +0,0 @@
---
id: 20260527-000019-workspace-memory-lint-cli
slug: workspace-memory-lint-cli
title: ワークスペースのメモリーをLintするヘッドレスCLI
status: closed
kind: task
priority: P2
labels: [migrated, memory, cli]
created_at: 2026-05-27T00:00:19Z
updated_at: 2026-05-31T02:15:17Z
assignee: null
legacy_ticket: null
---
## Background
The memory linter currently exists as library/pre-write validation used by memory tools, but there is no headless command to check all existing workspace memory/knowledge records at once. This makes it hard to validate `.insomnia/memory` and `.insomnia/knowledge` before commits, migrations, or manual edits.
The installed user-facing binary is currently produced by the `tui` crate as `insomnia`. It is acceptable for this ticket to add the headless lint command to that crate/binary instead of introducing a separate binary. A future rename from `tui` crate to `insomnia`, or a more explicit single-binary CLI structure, can be handled separately.
## Requirements
- Add a headless CLI mode to the existing `insomnia` binary in the `tui` crate.
- Preferred invocation shape: `insomnia memory lint [--workspace <PATH>] [--json] [--warnings-as-errors]`.
- `insomnia memory` without `lint` should remain available as a normal positional Pod name if possible.
- If this shape is awkward with the current parser, keep the command unambiguous and document the chosen shape in tests/help text.
- Default workspace root is the current working directory.
- `--workspace <PATH>` overrides the workspace root passed to `memory::WorkspaceLayout::new`.
- Lint all existing records classified by `memory::WorkspaceLayout`:
- `.insomnia/memory/summary.md` when present;
- `.insomnia/memory/decisions/*.md`;
- `.insomnia/memory/requests/*.md`;
- `.insomnia/knowledge/*.md`.
- Do not lint subsystem-owned opaque trees such as `.insomnia/memory/_staging`, `_logs`, `_usage`.
- Use the existing `memory::Linter` and `WriteMode::Update` for existing files so the CLI matches tool pre-write validation semantics without triggering create-only duplicate slug checks on the file itself.
- Print a deterministic, human-readable report by default:
- file path;
- errors;
- warnings;
- summary counts.
- Exit status:
- `0` if no errors, and no warnings when `--warnings-as-errors` is set;
- `1` if lint errors are found, or warnings are found with `--warnings-as-errors`;
- `2` for CLI usage / I/O / unexpected runtime failures.
- `--json` may be simple but should be machine-readable and stable enough for scripts: include workspace, files, errors, warnings, and counts.
- The command must not start a Pod, connect to sockets, enter raw terminal mode, or mutate files.
## Non-goals
- Renaming the `tui` crate to `insomnia`.
- Adding a separate installed binary.
- Linting Workflow files; workflow linting can be a future command.
- Auto-fixing memory/knowledge records.
- Changing memory schema/linter rules.
## Acceptance criteria
- `insomnia memory lint` runs headlessly against the current directory and reports existing memory/knowledge lint results.
- `insomnia memory lint --workspace <PATH>` works in tests/fixtures.
- The command exits non-zero for lint errors.
- `--warnings-as-errors` makes warnings fail.
- `--json` returns valid JSON containing counts and per-file diagnostics.
- Existing Pod/TUI argument parsing behavior remains covered by tests, especially positional Pod names and `--multi`/`--resume` conflicts.
- `cargo fmt --check`, focused `cargo test -p tui` tests, `cargo check -p tui`, `./tickets.sh doctor`, and `git diff --check` pass.
@@ -1 +0,0 @@
Implemented `insomnia memory lint` as a headless command in the existing user-facing `insomnia` binary. The command lints workspace memory/knowledge records with the existing `memory::Linter` using `WriteMode::Update`, supports human and JSON output, handles warnings-as-errors, preserves `insomnia memory` as a positional Pod name, and returns before TUI/raw-terminal or Pod connection paths. External review approved and validation passed.
@@ -1,105 +0,0 @@
<!-- event: migration author: tickets.sh-migration at: 2026-05-27T00:00:19Z -->
## Migrated
Migrated from TODO.md entry without a legacy ticket file. No legacy review file was present at migration time.
---
<!-- event: plan author: hare at: 2026-05-31T00:51:55Z -->
## Plan
Planning note:
- Keep this in the existing user-facing `insomnia` binary implemented by the `tui` crate. Do not add another installed command for this ticket.
- The command should be headless: parse args, lint files, print report, exit. It must not initialize terminal UI or connect to a Pod.
- `insomnia memory lint` is preferred, but `insomnia memory` alone should continue to be a valid Pod-name attach/create path if practical with the current parser.
- Use `memory::Linter` directly so CLI behavior tracks tool pre-write validation. Existing files should be linted with `WriteMode::Update`.
- Keep crate rename / single-binary architecture as future cleanup, not part of this ticket.
---
<!-- event: implementation_report author: hare at: 2026-05-31T02:14:28Z -->
## Implementation report
Implementation report from coder Pod `workspace-memory-lint-coder-20260531`:
- Branch: `workspace-memory-lint-cli`
- Commit: `7a717f2d259563df562913e0c3ceb388b094b697` (`cli: add workspace memory lint`)
- Added `insomnia memory lint [--workspace <PATH>] [--json] [--warnings-as-errors]` as a headless mode in the existing `tui` crate/user-facing `insomnia` binary.
- `insomnia memory` alone remains a positional Pod name.
- The lint command resolves workspace root, collects existing summary/decisions/requests/knowledge records through `memory::WorkspaceLayout`, and lints with existing `memory::Linter` using `WriteMode::Update`.
- The command prints deterministic human output by default and stable JSON with workspace/files/errors/warnings/counts when `--json` is requested.
- Exit codes follow the ticket: 0 clean, 1 lint failures or warnings-as-errors, 2 usage/I/O/output/runtime failures.
- The headless path returns before raw terminal setup or Pod connection/spawn logic.
Validation reported by coder:
- `cargo fmt --check` passed
- `cargo test -p tui memory_lint -- --nocapture` passed
- `cargo test -p tui` passed
- `cargo check -p tui` passed
- `./tickets.sh doctor` passed
- `git diff --check` passed
Unresolved issues: none.
---
<!-- event: review author: hare at: 2026-05-31T02:14:28Z status: approve -->
## Review: approve
External review by reviewer Pod `workspace-memory-lint-reviewer-rerun-20260531`: approve.
The original reviewer Pod `workspace-memory-lint-reviewer-20260531` became non-visible to the parent before output could be recovered; this review was rerun with a replacement read-only reviewer Pod.
Reviewer summary:
- The implementation adds `insomnia memory lint` as a headless mode in the existing user-facing `insomnia` binary.
- The memory lint path branches before raw terminal setup and Pod connection/spawn logic.
- Parser tests preserve `insomnia memory` as positional Pod name behavior.
- The collector targets summary, decisions, requests, and knowledge records while ignoring opaque memory subsystem directories and workflow files.
- Existing `memory::Linter` and `WriteMode::Update` are used, and the code only reads files / writes reports.
- Human and JSON outputs are deterministic enough for the ticket, and exit code mapping matches requirements.
Blockers: none.
Non-blocking follow-ups:
- Add broader fixture coverage for `_staging`, `_usage`, knowledge, and decisions if desired.
- Add process-level exit-code integration tests if a CLI test harness is introduced later.
Validation adequacy: coder-reported validation is sufficient for this ticket. Reviewer additionally checked `git diff --check develop...HEAD` read-only.
---
<!-- event: implementation_report author: hare at: 2026-05-31T02:15:16Z -->
## Implementation report
Main workspace validation after merge:
- `cargo fmt --check` passed
- `cargo test -p tui memory_lint -- --nocapture` passed (10 passed)
- `cargo test -p tui` passed (224 passed)
- `cargo check -p tui` passed with pre-existing dead-code warnings in `llm-worker` and `tui`
- `./tickets.sh doctor` passed
- `git diff --check` passed
---
<!-- event: close author: hare at: 2026-05-31T02:15:17Z status: closed -->
## Closed
Implemented `insomnia memory lint` as a headless command in the existing user-facing `insomnia` binary. The command lints workspace memory/knowledge records with the existing `memory::Linter` using `WriteMode::Update`, supports human and JSON output, handles warnings-as-errors, preserves `insomnia memory` as a positional Pod name, and returns before TUI/raw-terminal or Pod connection paths. External review approved and validation passed.
---
@@ -1,69 +0,0 @@
---
id: 20260527-000020-system-reminder-injection-generalization
slug: system-reminder-injection-generalization
title: Generalize system-reminder history append lane
status: closed
kind: task
priority: P2
labels: [pod, llm-worker, history, system-reminder]
created_at: 2026-05-27T00:00:20Z
updated_at: 2026-05-29T05:05:43Z
assignee: null
legacy_ticket: null
---
## Background
`session-todo-reminder` established the first concrete `<system-reminder>...</system-reminder>` user: Task inactivity reminders are appended through `pending_history_appends` so the reminder is persisted in `worker.history` before the next LLM request. This follows the context-processing rule that new non-volatile input must be appended to history rather than injected only into request context.
The current implementation should now be generalized so future reminder producers do not each hand-roll XML tags, `SystemItem` construction, source labeling, cooldown/priority plumbing, or history-append integration.
This ticket is about making the system-reminder append lane a small typed facility. It is not about adding new reminder policies beyond existing Task reminders.
## Requirements
- Introduce a typed internal representation for pending system reminders.
- text/body
- source/kind, e.g. task inactivity
- optional priority/order key if needed
- helper that renders the body inside `<system-reminder>...</system-reminder>` exactly once
- Route reminders through the existing `Interceptor::pending_history_appends` lane.
- The final result must still be `Item::System(SystemItem { kind: InvokeKind::SystemReminder, ... })` or equivalent current protocol type.
- The reminder must be appended to `worker.history`; do not introduce hidden request-only context injection.
- Refactor `session-todo-reminder` to use this typed helper/facility.
- Task reminder behavior, thresholds, cooldown, and tests should remain unchanged.
- The helper should prevent double-wrapping if the body is already tagged, or the API should make double-wrapping impossible.
- Keep `Notify` / `PodEvent` behavior unchanged.
- Do not merge raw notify and system reminder semantics.
- If they share buffering mechanics, keep the public behavior and rendered tags distinct.
- Keep ordering deterministic.
- If multiple reminder producers are added later, ordering should be explicit or stable.
- For now, existing Task reminder order relative to Notify/PodEvent should be preserved unless there is a clear reason to change it.
- Add docs/comments near the facility explaining the rule:
- system reminders are durable input and must be appended through history.
- they are not transient UI notices.
- they are not prompt-cache/context-only injections.
## Acceptance criteria
- There is a typed system-reminder helper/facility rather than ad-hoc string construction in Task reminder code.
- Task inactivity reminders still appear as `<system-reminder>...</system-reminder>` in `pending_history_appends` output.
- The helper emits `InvokeKind::SystemReminder` / current system-reminder item kind.
- Existing Task reminder tests continue to pass.
- New focused tests cover:
- rendering wraps body once.
- source/kind is retained or observable where appropriate.
- Task reminder uses the helper and remains history-append based.
- no hidden context-only injection path is introduced.
- `cargo fmt --check`
- `cargo check -p pod -p llm-worker -p session-store`
- Relevant focused tests, e.g. `cargo test -p pod reminder --no-default-features`.
## Out of scope
- Adding a second reminder policy.
- Changing Task reminder thresholds/cooldown.
- Changing Notify/PodEvent user-visible behavior.
- UI actionbar notices.
- Prompt text changes.
- Generic notification center or reminder scheduling service.
@@ -1,69 +0,0 @@
---
id: 20260527-000020-system-reminder-injection-generalization
slug: system-reminder-injection-generalization
title: Generalize system-reminder history append lane
status: closed
kind: task
priority: P2
labels: [pod, llm-worker, history, system-reminder]
created_at: 2026-05-27T00:00:20Z
updated_at: 2026-05-29T05:05:43Z
assignee: null
legacy_ticket: null
---
## Background
`session-todo-reminder` established the first concrete `<system-reminder>...</system-reminder>` user: Task inactivity reminders are appended through `pending_history_appends` so the reminder is persisted in `worker.history` before the next LLM request. This follows the context-processing rule that new non-volatile input must be appended to history rather than injected only into request context.
The current implementation should now be generalized so future reminder producers do not each hand-roll XML tags, `SystemItem` construction, source labeling, cooldown/priority plumbing, or history-append integration.
This ticket is about making the system-reminder append lane a small typed facility. It is not about adding new reminder policies beyond existing Task reminders.
## Requirements
- Introduce a typed internal representation for pending system reminders.
- text/body
- source/kind, e.g. task inactivity
- optional priority/order key if needed
- helper that renders the body inside `<system-reminder>...</system-reminder>` exactly once
- Route reminders through the existing `Interceptor::pending_history_appends` lane.
- The final result must still be `Item::System(SystemItem { kind: InvokeKind::SystemReminder, ... })` or equivalent current protocol type.
- The reminder must be appended to `worker.history`; do not introduce hidden request-only context injection.
- Refactor `session-todo-reminder` to use this typed helper/facility.
- Task reminder behavior, thresholds, cooldown, and tests should remain unchanged.
- The helper should prevent double-wrapping if the body is already tagged, or the API should make double-wrapping impossible.
- Keep `Notify` / `PodEvent` behavior unchanged.
- Do not merge raw notify and system reminder semantics.
- If they share buffering mechanics, keep the public behavior and rendered tags distinct.
- Keep ordering deterministic.
- If multiple reminder producers are added later, ordering should be explicit or stable.
- For now, existing Task reminder order relative to Notify/PodEvent should be preserved unless there is a clear reason to change it.
- Add docs/comments near the facility explaining the rule:
- system reminders are durable input and must be appended through history.
- they are not transient UI notices.
- they are not prompt-cache/context-only injections.
## Acceptance criteria
- There is a typed system-reminder helper/facility rather than ad-hoc string construction in Task reminder code.
- Task inactivity reminders still appear as `<system-reminder>...</system-reminder>` in `pending_history_appends` output.
- The helper emits `InvokeKind::SystemReminder` / current system-reminder item kind.
- Existing Task reminder tests continue to pass.
- New focused tests cover:
- rendering wraps body once.
- source/kind is retained or observable where appropriate.
- Task reminder uses the helper and remains history-append based.
- no hidden context-only injection path is introduced.
- `cargo fmt --check`
- `cargo check -p pod -p llm-worker -p session-store`
- Relevant focused tests, e.g. `cargo test -p pod reminder --no-default-features`.
## Out of scope
- Adding a second reminder policy.
- Changing Task reminder thresholds/cooldown.
- Changing Notify/PodEvent user-visible behavior.
- UI actionbar notices.
- Prompt text changes.
- Generic notification center or reminder scheduling service.
@@ -1,84 +0,0 @@
<!-- event: migration author: tickets.sh-migration at: 2026-05-27T00:00:20Z -->
## Migrated
Migrated from TODO.md entry without a legacy ticket file. No legacy review file was present at migration time.
---
<!-- event: close author: hare at: 2026-05-29T05:05:43Z status: closed -->
## Closed
---
id: 20260527-000020-system-reminder-injection-generalization
slug: system-reminder-injection-generalization
title: Generalize system-reminder history append lane
status: closed
kind: task
priority: P2
labels: [pod, llm-worker, history, system-reminder]
created_at: 2026-05-27T00:00:20Z
updated_at: 2026-05-29T05:05:43Z
assignee: null
legacy_ticket: null
---
## Background
`session-todo-reminder` established the first concrete `<system-reminder>...</system-reminder>` user: Task inactivity reminders are appended through `pending_history_appends` so the reminder is persisted in `worker.history` before the next LLM request. This follows the context-processing rule that new non-volatile input must be appended to history rather than injected only into request context.
The current implementation should now be generalized so future reminder producers do not each hand-roll XML tags, `SystemItem` construction, source labeling, cooldown/priority plumbing, or history-append integration.
This ticket is about making the system-reminder append lane a small typed facility. It is not about adding new reminder policies beyond existing Task reminders.
## Requirements
- Introduce a typed internal representation for pending system reminders.
- text/body
- source/kind, e.g. task inactivity
- optional priority/order key if needed
- helper that renders the body inside `<system-reminder>...</system-reminder>` exactly once
- Route reminders through the existing `Interceptor::pending_history_appends` lane.
- The final result must still be `Item::System(SystemItem { kind: InvokeKind::SystemReminder, ... })` or equivalent current protocol type.
- The reminder must be appended to `worker.history`; do not introduce hidden request-only context injection.
- Refactor `session-todo-reminder` to use this typed helper/facility.
- Task reminder behavior, thresholds, cooldown, and tests should remain unchanged.
- The helper should prevent double-wrapping if the body is already tagged, or the API should make double-wrapping impossible.
- Keep `Notify` / `PodEvent` behavior unchanged.
- Do not merge raw notify and system reminder semantics.
- If they share buffering mechanics, keep the public behavior and rendered tags distinct.
- Keep ordering deterministic.
- If multiple reminder producers are added later, ordering should be explicit or stable.
- For now, existing Task reminder order relative to Notify/PodEvent should be preserved unless there is a clear reason to change it.
- Add docs/comments near the facility explaining the rule:
- system reminders are durable input and must be appended through history.
- they are not transient UI notices.
- they are not prompt-cache/context-only injections.
## Acceptance criteria
- There is a typed system-reminder helper/facility rather than ad-hoc string construction in Task reminder code.
- Task inactivity reminders still appear as `<system-reminder>...</system-reminder>` in `pending_history_appends` output.
- The helper emits `InvokeKind::SystemReminder` / current system-reminder item kind.
- Existing Task reminder tests continue to pass.
- New focused tests cover:
- rendering wraps body once.
- source/kind is retained or observable where appropriate.
- Task reminder uses the helper and remains history-append based.
- no hidden context-only injection path is introduced.
- `cargo fmt --check`
- `cargo check -p pod -p llm-worker -p session-store`
- Relevant focused tests, e.g. `cargo test -p pod reminder --no-default-features`.
## Out of scope
- Adding a second reminder policy.
- Changing Task reminder thresholds/cooldown.
- Changing Notify/PodEvent user-visible behavior.
- UI actionbar notices.
- Prompt text changes.
- Generic notification center or reminder scheduling service.
---
@@ -1,28 +0,0 @@
---
id: 20260527-000021-bash-tool-editing-guidance
slug: bash-tool-editing-guidance
title: Bashツールがファイル編集に常用されている問題をdesciptionで抑制
status: closed
kind: task
priority: P2
labels: [migrated]
created_at: 2026-05-27T00:00:21Z
updated_at: 2026-05-31T22:36:34Z
assignee: null
legacy_ticket: null
---
## Migration reference
- legacy_ticket: null
- migrated_from: TODO.md / tickets directory migration on 2026-05-27
# Bashツールがファイル編集に常用されている問題をdesciptionで抑制
## Background
This work item was migrated from an unfinished TODO.md entry that did not have a dedicated legacy ticket file.
## Acceptance criteria
- Define the concrete requirements before implementation.
@@ -1 +0,0 @@
Closed without implementation for now. Current Bash tool description already nudges agents toward Read/Edit/Glob/Grep over shell-based file edits, and this is not urgent enough to carry as an active work item. If the behavior becomes a recurring problem, reopen as a focused prompt-description polish ticket covering Bash child processes such as cat/tee/sed/perl/python rewrites.
@@ -1,16 +0,0 @@
<!-- event: migration author: tickets.sh-migration at: 2026-05-27T00:00:21Z -->
## Migrated
Migrated from TODO.md entry without a legacy ticket file. No legacy review file was present at migration time.
---
<!-- event: close author: hare at: 2026-05-31T22:36:34Z status: closed -->
## Closed
Closed without implementation for now. Current Bash tool description already nudges agents toward Read/Edit/Glob/Grep over shell-based file edits, and this is not urgent enough to carry as an active work item. If the behavior becomes a recurring problem, reopen as a focused prompt-description polish ticket covering Bash child processes such as cat/tee/sed/perl/python rewrites.
---
@@ -1,116 +0,0 @@
---
id: 20260527-000022-manifest-profiles
slug: manifest-profiles
title: Nix profile entrypoints that resolve to portable Pod manifests
status: closed
kind: feature
priority: P2
labels: [manifest, profiles, nix, tui]
created_at: 2026-05-27T00:00:22Z
updated_at: 2026-05-29T17:45:59Z
assignee: null
legacy_ticket: null
---
## Migration reference
- legacy_ticket: null
- migrated_from: TODO.md / tickets directory migration on 2026-05-27
# Nix profile entrypoints that resolve to portable Pod manifests
## Background
This work item was migrated from an unfinished TODO.md entry:
> 事前定義したManifestをProfile的に扱い、Orchestrator/Coder/Researcherで別々のモデル/設定を使わせる運用ができるようにする
The current manifest cascade is good at configuration defaults by location: built-in defaults, user manifest, workspace manifest, and explicit overlays. That is less suitable for operational role selection. Users want to choose between profiles such as Orchestrator, Coder, Researcher, Reviewer, or cheap/fast variants, and they want those profiles to be portable as a pure artifact rather than assembled implicitly from several ambient layers.
Another problem is authoring ergonomics. The current manifest exposes many low-level numeric parameters that require implementation-specific intuition, such as compaction thresholds, pruning protection sizes, memory thresholds, and feature-specific token limits. Profiles should let users express high-level intent and reusable presets while the resolver produces the precise runtime manifest.
## Related work
- `work-items/open/20260529-145355-manifest-profile-encrypted-secrets/item.md`: profiles should integrate with explicit encrypted secret references so API keys/tokens are not limited to process environment variables.
## Design direction
Use Nix as the default human-authored profile format. A profile is a Nix expression that produces the final Pod manifest/configuration artifact through an Insomnia-provided `mkProfile` / `mkManifest` style library.
The profile itself is the source of truth. Commonality, imports, role presets, and any cascade-like behavior should be expressed in Nix by the profile author instead of being implemented as an additional ambient manifest cascade in Insomnia.
The runtime boundary should be:
```text
selected Nix profile + explicit startup inputs
=> deterministic resolved manifest/config snapshot
=> Pod runtime
```
Do not introduce a three-layer authoring model where Nix generates TOML profiles that then merge into TOML manifests. That would make manifest/profile/Nix ownership unclear and hard to operate. Rust should consume the resolved artifact, ideally as a typed JSON/config representation, and preserve a snapshot for Pod restore.
## Requirements
- Add a Nix-based profile entrypoint as the default path for new Pod creation.
- Provide an Insomnia Nix library with `mkProfile` / `mkManifest` helpers.
- The helper should produce a pure resolved manifest/config artifact that Rust can deserialize and validate.
- Profile authors may use Nix imports/functions to share common settings, implement their own cascade, or build role presets.
- Treat the resolved manifest/config as the runtime contract.
- Persist the selected profile identity/source and the resolved snapshot in Pod/session metadata.
- Pod resume should prefer the saved resolved snapshot, not silently re-evaluate the Nix profile.
- Re-evaluating a profile for an existing Pod must be explicit because it may change model, tools, permissions, or thresholds.
- Move role-oriented authoring into profiles.
- Support profiles for roles such as Orchestrator, Coder, Researcher, Reviewer, and cost/performance variants.
- Profiles should be able to select model/provider settings, prompts, tools, permissions, memory behavior, web/search behavior, workflows, skills, and context/compaction strategy.
- Prefer semantic presets in the Nix library for values that are difficult to tune by raw numbers, e.g. context budget, compaction behavior, retention, autonomy, and tool policy.
- Keep raw low-level numeric overrides available as an advanced escape hatch, not the primary user-facing interface.
- Shrink ambient cascade to discovery/default selection rather than runtime config merging.
- User/project configuration may provide profile registries, aliases, defaults, and UI preferences.
- User/project configuration should not be required as intermediate runtime override layers for model IDs, compaction thresholds, or other behavior controlled by the selected profile.
- Existing TOML manifest cascade can remain as compatibility/debug/test infrastructure, but it should not be the main profile design.
- Add profile discovery and selection UX.
- New Pod creation UI should show a selectable profile field such as `profile: coder (default)`.
- The profile picker should list built-in/user/project/explicit profiles with enough source/default information to avoid ambiguity.
- CLI/TUI should support explicit profile selection by name/source and by path/flakeref where appropriate.
- Ambiguous profile names should fail closed or require source-qualified selection rather than being implicitly merged.
- Keep secrets as references, not plaintext values.
- Nix profiles may refer to credentials using typed secret references, e.g. `secrets.ref "brave.search.default"`.
- Nix evaluation output, resolved config serialization, diagnostics, session logs, and model context must not contain plaintext secrets.
- Secret dereferencing/decryption happens in Rust at the consumer boundary.
- Define compatibility and fallback behavior.
- `--manifest` / TOML manifest loading may continue to work for compatibility, tests, fixtures, and low-level debugging.
- If Nix is unavailable, diagnostics should clearly say that profile resolution requires Nix and point to the manifest/resolved-config fallback path.
- Existing manifest behavior should not be broken until the Nix profile path is implemented and documented.
## Open design points
- Exact Nix entrypoint shape:
- flake output names, e.g. `insomniaProfiles.<name>` / `profiles.<name>`
- path-based profiles, e.g. `.insomnia/profiles/coder/profile.nix`
- whether both are supported initially
- Exact Rust-facing artifact:
- JSON resolved config vs TOML manifest snapshot vs a new typed `ResolvedPodConfig`
- whether `PodManifest` remains the final runtime type or becomes the legacy/compatibility representation
- Profile registry/default storage:
- where user-level profile aliases live
- where project-level defaults live
- how built-in profiles are exposed
- How much Nix support is external-command based initially vs embedded/library-integrated later.
- How profile summaries are generated for the new Pod UI without exposing low-level internals or secrets.
## Acceptance criteria
- A Nix profile can be selected when creating a new Pod and resolves to the complete runtime manifest/config for that Pod.
- Insomnia provides a documented `mkProfile` / `mkManifest` Nix helper for producing a valid resolved profile artifact.
- Profile authors can share common settings and implement cascade-like composition in Nix without relying on ambient user/project manifest merging.
- New Pod UI includes profile selection and displays the effective default, e.g. `profile: coder (default)`.
- CLI/TUI profile selection supports at least one explicit path/flakeref flow and one discovered-name/default flow.
- Resolved profile artifacts are validated with clear diagnostics before Pod creation.
- Pod/session metadata persists the selected profile identity/source and the resolved snapshot.
- Pod resume uses the persisted resolved snapshot unless the user explicitly asks to reload/re-resolve the profile.
- Secret references are preserved as references through Nix evaluation and resolved config; plaintext secrets are not written to config snapshots, logs, diagnostics, or model context.
- Existing TOML manifest path remains available as a compatibility/debug/test path during the migration.
- Documentation explains the new profile model, why ambient cascade is no longer the primary runtime config mechanism, and how users should structure reusable Nix profiles.
- Focused tests cover Nix profile resolution, validation errors, profile default/source selection, ambiguity handling, snapshot persistence, and no-plaintext secret serialization paths.
- `cargo fmt --check`
- Relevant manifest/profile/pod/tui tests pass.
@@ -1,116 +0,0 @@
---
id: 20260527-000022-manifest-profiles
slug: manifest-profiles
title: Nix profile entrypoints that resolve to portable Pod manifests
status: closed
kind: feature
priority: P2
labels: [manifest, profiles, nix, tui]
created_at: 2026-05-27T00:00:22Z
updated_at: 2026-05-29T17:45:59Z
assignee: null
legacy_ticket: null
---
## Migration reference
- legacy_ticket: null
- migrated_from: TODO.md / tickets directory migration on 2026-05-27
# Nix profile entrypoints that resolve to portable Pod manifests
## Background
This work item was migrated from an unfinished TODO.md entry:
> 事前定義したManifestをProfile的に扱い、Orchestrator/Coder/Researcherで別々のモデル/設定を使わせる運用ができるようにする
The current manifest cascade is good at configuration defaults by location: built-in defaults, user manifest, workspace manifest, and explicit overlays. That is less suitable for operational role selection. Users want to choose between profiles such as Orchestrator, Coder, Researcher, Reviewer, or cheap/fast variants, and they want those profiles to be portable as a pure artifact rather than assembled implicitly from several ambient layers.
Another problem is authoring ergonomics. The current manifest exposes many low-level numeric parameters that require implementation-specific intuition, such as compaction thresholds, pruning protection sizes, memory thresholds, and feature-specific token limits. Profiles should let users express high-level intent and reusable presets while the resolver produces the precise runtime manifest.
## Related work
- `work-items/open/20260529-145355-manifest-profile-encrypted-secrets/item.md`: profiles should integrate with explicit encrypted secret references so API keys/tokens are not limited to process environment variables.
## Design direction
Use Nix as the default human-authored profile format. A profile is a Nix expression that produces the final Pod manifest/configuration artifact through an Insomnia-provided `mkProfile` / `mkManifest` style library.
The profile itself is the source of truth. Commonality, imports, role presets, and any cascade-like behavior should be expressed in Nix by the profile author instead of being implemented as an additional ambient manifest cascade in Insomnia.
The runtime boundary should be:
```text
selected Nix profile + explicit startup inputs
=> deterministic resolved manifest/config snapshot
=> Pod runtime
```
Do not introduce a three-layer authoring model where Nix generates TOML profiles that then merge into TOML manifests. That would make manifest/profile/Nix ownership unclear and hard to operate. Rust should consume the resolved artifact, ideally as a typed JSON/config representation, and preserve a snapshot for Pod restore.
## Requirements
- Add a Nix-based profile entrypoint as the default path for new Pod creation.
- Provide an Insomnia Nix library with `mkProfile` / `mkManifest` helpers.
- The helper should produce a pure resolved manifest/config artifact that Rust can deserialize and validate.
- Profile authors may use Nix imports/functions to share common settings, implement their own cascade, or build role presets.
- Treat the resolved manifest/config as the runtime contract.
- Persist the selected profile identity/source and the resolved snapshot in Pod/session metadata.
- Pod resume should prefer the saved resolved snapshot, not silently re-evaluate the Nix profile.
- Re-evaluating a profile for an existing Pod must be explicit because it may change model, tools, permissions, or thresholds.
- Move role-oriented authoring into profiles.
- Support profiles for roles such as Orchestrator, Coder, Researcher, Reviewer, and cost/performance variants.
- Profiles should be able to select model/provider settings, prompts, tools, permissions, memory behavior, web/search behavior, workflows, skills, and context/compaction strategy.
- Prefer semantic presets in the Nix library for values that are difficult to tune by raw numbers, e.g. context budget, compaction behavior, retention, autonomy, and tool policy.
- Keep raw low-level numeric overrides available as an advanced escape hatch, not the primary user-facing interface.
- Shrink ambient cascade to discovery/default selection rather than runtime config merging.
- User/project configuration may provide profile registries, aliases, defaults, and UI preferences.
- User/project configuration should not be required as intermediate runtime override layers for model IDs, compaction thresholds, or other behavior controlled by the selected profile.
- Existing TOML manifest cascade can remain as compatibility/debug/test infrastructure, but it should not be the main profile design.
- Add profile discovery and selection UX.
- New Pod creation UI should show a selectable profile field such as `profile: coder (default)`.
- The profile picker should list built-in/user/project/explicit profiles with enough source/default information to avoid ambiguity.
- CLI/TUI should support explicit profile selection by name/source and by path/flakeref where appropriate.
- Ambiguous profile names should fail closed or require source-qualified selection rather than being implicitly merged.
- Keep secrets as references, not plaintext values.
- Nix profiles may refer to credentials using typed secret references, e.g. `secrets.ref "brave.search.default"`.
- Nix evaluation output, resolved config serialization, diagnostics, session logs, and model context must not contain plaintext secrets.
- Secret dereferencing/decryption happens in Rust at the consumer boundary.
- Define compatibility and fallback behavior.
- `--manifest` / TOML manifest loading may continue to work for compatibility, tests, fixtures, and low-level debugging.
- If Nix is unavailable, diagnostics should clearly say that profile resolution requires Nix and point to the manifest/resolved-config fallback path.
- Existing manifest behavior should not be broken until the Nix profile path is implemented and documented.
## Open design points
- Exact Nix entrypoint shape:
- flake output names, e.g. `insomniaProfiles.<name>` / `profiles.<name>`
- path-based profiles, e.g. `.insomnia/profiles/coder/profile.nix`
- whether both are supported initially
- Exact Rust-facing artifact:
- JSON resolved config vs TOML manifest snapshot vs a new typed `ResolvedPodConfig`
- whether `PodManifest` remains the final runtime type or becomes the legacy/compatibility representation
- Profile registry/default storage:
- where user-level profile aliases live
- where project-level defaults live
- how built-in profiles are exposed
- How much Nix support is external-command based initially vs embedded/library-integrated later.
- How profile summaries are generated for the new Pod UI without exposing low-level internals or secrets.
## Acceptance criteria
- A Nix profile can be selected when creating a new Pod and resolves to the complete runtime manifest/config for that Pod.
- Insomnia provides a documented `mkProfile` / `mkManifest` Nix helper for producing a valid resolved profile artifact.
- Profile authors can share common settings and implement cascade-like composition in Nix without relying on ambient user/project manifest merging.
- New Pod UI includes profile selection and displays the effective default, e.g. `profile: coder (default)`.
- CLI/TUI profile selection supports at least one explicit path/flakeref flow and one discovered-name/default flow.
- Resolved profile artifacts are validated with clear diagnostics before Pod creation.
- Pod/session metadata persists the selected profile identity/source and the resolved snapshot.
- Pod resume uses the persisted resolved snapshot unless the user explicitly asks to reload/re-resolve the profile.
- Secret references are preserved as references through Nix evaluation and resolved config; plaintext secrets are not written to config snapshots, logs, diagnostics, or model context.
- Existing TOML manifest path remains available as a compatibility/debug/test path during the migration.
- Documentation explains the new profile model, why ambient cascade is no longer the primary runtime config mechanism, and how users should structure reusable Nix profiles.
- Focused tests cover Nix profile resolution, validation errors, profile default/source selection, ambiguity handling, snapshot persistence, and no-plaintext secret serialization paths.
- `cargo fmt --check`
- Relevant manifest/profile/pod/tui tests pass.
@@ -1,250 +0,0 @@
<!-- event: migration author: tickets.sh-migration at: 2026-05-27T00:00:22Z -->
## Migrated
Migrated from TODO.md entry without a legacy ticket file. No legacy review file was present at migration time.
---
<!-- event: plan author: hare at: 2026-05-29T16:09:27Z -->
## Plan
Implementation will proceed through a child orchestrator Pod in a dedicated worktree as an experiment in nested Pod delegation.
Initial implementation target:
- Introduce Nix profile resolution as a new manifest source before the existing manifest cascade.
- Start with explicit path-based profiles; discovered-name/default selection and rich TUI picker can be staged after the core resolver if necessary.
- Provide a minimal bundled Nix helper that can produce a typed resolved manifest/config artifact.
- Keep existing TOML manifest loading as compatibility/debug/test infrastructure.
- Persist enough profile identity and resolved snapshot data for future restore semantics; do not silently re-evaluate profiles on resume.
- Secret values must remain references only; plaintext secrets are out of scope for the profile resolver.
The child orchestrator may split implementation among sub-Pods, but final merge/close remains parent-side.
---
<!-- event: review author: hare at: 2026-05-29T16:52:47Z status: approve -->
## Review: approve
Reviewed the nested Pod implementation from branch `work/nix-manifest-profiles`.
Result: approved after blocking fix.
Findings:
- Initial review found one blocking issue: `--profile` rejected non-empty `INSOMNIA_USER_MANIFEST`. That contradicted the profile design because a selected Nix profile is a standalone runtime config artifact and ambient user/project manifest cascade should not affect it.
- The child orchestrator fixed this in commit `c9a175a fix: ignore user manifest for profiles` and added `profile_ignores_non_empty_user_manifest_env` without invoking real Nix.
- Profile foundation is intentionally a vertical slice: explicit path-based Nix profile resolution, minimal Nix helper, CLI/TUI spawn entrypoints, resolved snapshot metadata, and restore-from-snapshot behavior. Rich discovery/default picker remains future work.
Validation run by reviewer:
- `cargo fmt --check`
- `cargo test -p manifest profile -- --nocapture`
- `cargo test -p pod --bin insomnia-pod profile -- --nocapture`
- `cargo check -p session-store -p manifest -p pod -p client -p tui -p provider`
- `cargo check -p pod -p tui`
- `git diff --check`
- Manual `nix eval --json --file` smoke check for `resources/nix/profile-lib.nix`
Non-blocking follow-up candidates:
- Hide or narrow `ResolvedProfile::raw_artifact` if future call sites might log/persist accidental raw Nix output.
- Add a timeout around `nix eval` so profile startup cannot hang indefinitely.
- Validate direct `client::SpawnConfig` construction that combines `profile_path` with `resume_from`; TUI currently avoids it.
- Build richer profile discovery/default selection and the full TUI profile picker.
---
<!-- event: plan author: hare at: 2026-05-29T16:59:41Z -->
## Plan
Continue implementation beyond the merged Nix profile foundation. The previous nested delegation stopped at a reviewable vertical slice; this phase should keep iterating until the work item acceptance criteria are materially closer to completion or a real blocker is found.
Phase 2 target:
- Add profile discovery/default selection instead of requiring only explicit `--profile <path>`.
- Support discovered-name selection with source disambiguation where needed, e.g. builtin/user/project/path semantics.
- Add or substantially advance the new Pod profile selection UX so a default can be displayed as `profile: coder (default)` and changed before spawn.
- Preserve the core design: selected Nix profile resolves to a standalone manifest/config artifact; ambient user/project manifests do not merge into it.
- Keep Pod resume using resolved snapshots rather than silent Nix re-evaluation.
- Keep secrets as references only.
The delegated orchestrator should not return merely because one slice is reviewable. It should internally review acceptance criteria, delegate sub-Pods as needed, and continue with the next reachable slice unless it hits a concrete design or technical blocker. Parent-side merge/close remains reserved for this parent Pod.
---
<!-- event: review author: hare at: 2026-05-29T17:44:47Z status: approve -->
## Review: approve
Reviewed phase 2 implementation from branch `work/nix-manifest-profiles-phase2`.
Result: approved after two parent-review fixes.
Implemented scope:
- Profile registry/discovery for builtin/user/project sources.
- `[profiles]` metadata in user/project manifests for discovery/default/alias only; it is not merged into the selected runtime manifest.
- `--profile` selector parsing for explicit paths, `path:<path>`, discovered names, `default`, and source-qualified names such as `project:coder`.
- Ambiguous unqualified discovered names fail closed.
- TUI fresh-spawn UI now shows a selectable `profile:` row, uses discovered choices, marks defaults, and includes `manifest cascade` as opt-out.
- SpawnConfig passes selected profiles to `insomnia-pod --profile`; resume/attach paths do not re-evaluate profiles.
- Docs and focused tests updated.
Parent review findings fixed by child orchestrator:
1. Unqualified alias targets initially resolved globally. Fixed so aliases declared in a source resolve unqualified targets within that declaring source by default.
2. Defaults pointing at aliases initially did not mark the resolved target entry as default, causing TUI to fall back to `manifest cascade`. Fixed by resolving the default through `select_named()` before setting `is_default` flags.
Validation run by parent reviewer:
- `cargo fmt --check`
- `cargo check`
- `cargo test -p manifest profile -- --nocapture`
- `cargo test -p tui spawn -- --nocapture`
- `cargo test -p pod profile -- --nocapture`
- `cargo test -p client spawn -- --nocapture`
- `git diff --check`
All passed. Full `cargo test` was run by the child orchestrator and failed only in the unrelated existing/flaky `llm-worker` parallel timing test class.
Remaining polish/follow-up candidates, not blockers for this work item:
- A richer popup-style profile picker instead of inline cycling.
- Actual bundled builtin profile files once default builtin semantics are decided.
- `nix eval` timeout/robustness follow-up.
- Encrypted secret store integration remains tracked by the related encrypted-secrets work item.
---
<!-- event: close author: hare at: 2026-05-29T17:45:59Z status: closed -->
## Closed
---
id: 20260527-000022-manifest-profiles
slug: manifest-profiles
title: Nix profile entrypoints that resolve to portable Pod manifests
status: closed
kind: feature
priority: P2
labels: [manifest, profiles, nix, tui]
created_at: 2026-05-27T00:00:22Z
updated_at: 2026-05-29T17:45:59Z
assignee: null
legacy_ticket: null
---
## Migration reference
- legacy_ticket: null
- migrated_from: TODO.md / tickets directory migration on 2026-05-27
# Nix profile entrypoints that resolve to portable Pod manifests
## Background
This work item was migrated from an unfinished TODO.md entry:
> 事前定義したManifestをProfile的に扱い、Orchestrator/Coder/Researcherで別々のモデル/設定を使わせる運用ができるようにする
The current manifest cascade is good at configuration defaults by location: built-in defaults, user manifest, workspace manifest, and explicit overlays. That is less suitable for operational role selection. Users want to choose between profiles such as Orchestrator, Coder, Researcher, Reviewer, or cheap/fast variants, and they want those profiles to be portable as a pure artifact rather than assembled implicitly from several ambient layers.
Another problem is authoring ergonomics. The current manifest exposes many low-level numeric parameters that require implementation-specific intuition, such as compaction thresholds, pruning protection sizes, memory thresholds, and feature-specific token limits. Profiles should let users express high-level intent and reusable presets while the resolver produces the precise runtime manifest.
## Related work
- `work-items/open/20260529-145355-manifest-profile-encrypted-secrets/item.md`: profiles should integrate with explicit encrypted secret references so API keys/tokens are not limited to process environment variables.
## Design direction
Use Nix as the default human-authored profile format. A profile is a Nix expression that produces the final Pod manifest/configuration artifact through an Insomnia-provided `mkProfile` / `mkManifest` style library.
The profile itself is the source of truth. Commonality, imports, role presets, and any cascade-like behavior should be expressed in Nix by the profile author instead of being implemented as an additional ambient manifest cascade in Insomnia.
The runtime boundary should be:
```text
selected Nix profile + explicit startup inputs
=> deterministic resolved manifest/config snapshot
=> Pod runtime
```
Do not introduce a three-layer authoring model where Nix generates TOML profiles that then merge into TOML manifests. That would make manifest/profile/Nix ownership unclear and hard to operate. Rust should consume the resolved artifact, ideally as a typed JSON/config representation, and preserve a snapshot for Pod restore.
## Requirements
- Add a Nix-based profile entrypoint as the default path for new Pod creation.
- Provide an Insomnia Nix library with `mkProfile` / `mkManifest` helpers.
- The helper should produce a pure resolved manifest/config artifact that Rust can deserialize and validate.
- Profile authors may use Nix imports/functions to share common settings, implement their own cascade, or build role presets.
- Treat the resolved manifest/config as the runtime contract.
- Persist the selected profile identity/source and the resolved snapshot in Pod/session metadata.
- Pod resume should prefer the saved resolved snapshot, not silently re-evaluate the Nix profile.
- Re-evaluating a profile for an existing Pod must be explicit because it may change model, tools, permissions, or thresholds.
- Move role-oriented authoring into profiles.
- Support profiles for roles such as Orchestrator, Coder, Researcher, Reviewer, and cost/performance variants.
- Profiles should be able to select model/provider settings, prompts, tools, permissions, memory behavior, web/search behavior, workflows, skills, and context/compaction strategy.
- Prefer semantic presets in the Nix library for values that are difficult to tune by raw numbers, e.g. context budget, compaction behavior, retention, autonomy, and tool policy.
- Keep raw low-level numeric overrides available as an advanced escape hatch, not the primary user-facing interface.
- Shrink ambient cascade to discovery/default selection rather than runtime config merging.
- User/project configuration may provide profile registries, aliases, defaults, and UI preferences.
- User/project configuration should not be required as intermediate runtime override layers for model IDs, compaction thresholds, or other behavior controlled by the selected profile.
- Existing TOML manifest cascade can remain as compatibility/debug/test infrastructure, but it should not be the main profile design.
- Add profile discovery and selection UX.
- New Pod creation UI should show a selectable profile field such as `profile: coder (default)`.
- The profile picker should list built-in/user/project/explicit profiles with enough source/default information to avoid ambiguity.
- CLI/TUI should support explicit profile selection by name/source and by path/flakeref where appropriate.
- Ambiguous profile names should fail closed or require source-qualified selection rather than being implicitly merged.
- Keep secrets as references, not plaintext values.
- Nix profiles may refer to credentials using typed secret references, e.g. `secrets.ref "brave.search.default"`.
- Nix evaluation output, resolved config serialization, diagnostics, session logs, and model context must not contain plaintext secrets.
- Secret dereferencing/decryption happens in Rust at the consumer boundary.
- Define compatibility and fallback behavior.
- `--manifest` / TOML manifest loading may continue to work for compatibility, tests, fixtures, and low-level debugging.
- If Nix is unavailable, diagnostics should clearly say that profile resolution requires Nix and point to the manifest/resolved-config fallback path.
- Existing manifest behavior should not be broken until the Nix profile path is implemented and documented.
## Open design points
- Exact Nix entrypoint shape:
- flake output names, e.g. `insomniaProfiles.<name>` / `profiles.<name>`
- path-based profiles, e.g. `.insomnia/profiles/coder/profile.nix`
- whether both are supported initially
- Exact Rust-facing artifact:
- JSON resolved config vs TOML manifest snapshot vs a new typed `ResolvedPodConfig`
- whether `PodManifest` remains the final runtime type or becomes the legacy/compatibility representation
- Profile registry/default storage:
- where user-level profile aliases live
- where project-level defaults live
- how built-in profiles are exposed
- How much Nix support is external-command based initially vs embedded/library-integrated later.
- How profile summaries are generated for the new Pod UI without exposing low-level internals or secrets.
## Acceptance criteria
- A Nix profile can be selected when creating a new Pod and resolves to the complete runtime manifest/config for that Pod.
- Insomnia provides a documented `mkProfile` / `mkManifest` Nix helper for producing a valid resolved profile artifact.
- Profile authors can share common settings and implement cascade-like composition in Nix without relying on ambient user/project manifest merging.
- New Pod UI includes profile selection and displays the effective default, e.g. `profile: coder (default)`.
- CLI/TUI profile selection supports at least one explicit path/flakeref flow and one discovered-name/default flow.
- Resolved profile artifacts are validated with clear diagnostics before Pod creation.
- Pod/session metadata persists the selected profile identity/source and the resolved snapshot.
- Pod resume uses the persisted resolved snapshot unless the user explicitly asks to reload/re-resolve the profile.
- Secret references are preserved as references through Nix evaluation and resolved config; plaintext secrets are not written to config snapshots, logs, diagnostics, or model context.
- Existing TOML manifest path remains available as a compatibility/debug/test path during the migration.
- Documentation explains the new profile model, why ambient cascade is no longer the primary runtime config mechanism, and how users should structure reusable Nix profiles.
- Focused tests cover Nix profile resolution, validation errors, profile default/source selection, ambiguity handling, snapshot persistence, and no-plaintext secret serialization paths.
- `cargo fmt --check`
- Relevant manifest/profile/pod/tui tests pass.
---
@@ -1,118 +0,0 @@
---
id: 20260527-000023-multi-pod-view-ui
slug: multi-pod-view-ui
title: Multi-Pod view UI
status: closed
kind: task
priority: P2
labels: [tui, pod]
created_at: 2026-05-27T00:00:23Z
updated_at: 2026-05-28T16:09:01Z
assignee: null
legacy_ticket: null
---
## Background
This work item was migrated from an unfinished TODO.md entry that did not have a dedicated legacy ticket file.
The direction is to make TUI capable of treating multiple Pods as first-class targets instead of forcing the operator to attach/open one Pod at a time before sending input. The main view should be able to show live Pods by status, show stopped Pod history entries, and keep an editable composer available while the user moves selection across Pods.
This ticket is downstream of the shared TUI Pod list/view abstraction. The concrete multi-Pod view requirements should be defined after the common list/view model exists, so this ticket can focus on view switching and interaction policy rather than inventing another Pod list representation.
## Prerequisite
- `20260528-141602-tui-pod-list-view-abstraction`
## CLI entrypoint
- Add `tui --multi` as the explicit entrypoint for the multi-Pod dashboard.
- Do not change `tui -r` / `tui --resume` semantics; those remain the resume picker.
- Do not add a short `-m` alias yet.
- `--multi` conflicts with direct single-Pod/session selectors for this ticket:
- positional pod name
- `--pod <name>`
- `--session <UUID>`
- `-r` / `--resume`
- `--socket`
- Initial selected Pod for `--multi --pod <name>` is out of scope; add it later if the UX needs it.
## Current implementation notes
Current TUI is essentially single-Pod oriented:
- `crates/tui/src/main.rs` starts one `PodClient` and the event loop sends composer input to that attached Pod.
- `App` owns one conversation/history view, one composer, and one local queued-input state for the currently attached Pod.
- The existing picker can list/restore/attach Pods, but choosing an entry transitions the TUI into that Pod rather than keeping a multi-Pod dashboard active.
- Live/stopped Pod discovery already exists around picker/discovery code, and should be reused through the prerequisite abstraction rather than duplicated in this ticket.
Because of this, multi-Pod view should be designed as a new TUI mode/state over the shared Pod list abstraction, not as a small tweak to the current single attached-Pod event loop.
## Desired UX direction
The multi-Pod view should center on a Pod list and a persistent composer:
- Live Pods are grouped or visibly categorized by status.
- waiting / idle Pods: ready to receive input.
- working / running Pods: currently processing; input should not be sent as another immediate `Method::Run` unless the protocol can accept it.
- paused Pods: distinguish from both idle and working.
- Stopped Pods are shown as history/restorable entries.
- They are visible for review/restore/open actions.
- Direct message send is disabled until an explicit restore/attach/create flow exists for that entry.
- The text area/composer remains visible and retains its contents while the selected Pod changes.
- The selected Pod is the current send target.
- The UI must show the target Pod name/status near the composer so a message cannot be sent to the wrong Pod silently.
- Sending to an idle live Pod should be possible without opening/attaching that Pod as the main conversation view.
- Sending should clear the composer only after delivery is accepted or otherwise reported as queued according to the rule below.
- For a working/running Pod, the initial behavior should be conservative.
- Do not blindly issue `Method::Run` and surface `AlreadyRunning` as normal UX.
- Either disable direct send with an actionbar diagnostic, or implement target-specific local queueing that sends when that Pod becomes idle.
- If queueing is implemented, queues must be per-Pod, visibly attached to the target, and should not reuse the current single-Pod composer queue implicitly.
## Requirements
- Add the `tui --multi` CLI entrypoint and reject conflicting single-Pod/session selectors.
- Build on the completed `tui-pod-list-view-abstraction` for row/state/source modeling.
- Add or design a TUI mode for multi-Pod view that can show:
- live idle/waiting Pods.
- live working/running Pods.
- paused Pods.
- stopped/restorable Pod history entries.
- Preserve a composer/text area while the selection changes.
- Support direct send to the selected idle live Pod without switching the whole TUI into that Pod view.
- Delivery must use the same safety expectations as other socket send paths: no fire-and-forget success, and no connect-time `Alert` / `Snapshot` deadlock.
- Failed delivery must leave the text in the composer or an explicit per-target queue.
- Define interaction for non-idle targets.
- running: disabled or per-target queued.
- paused: resume/continue action is separate from normal send unless protocol semantics are explicitly defined.
- stopped: restore/open action is separate from send.
- Keep the single-Pod conversation view available.
- Opening/attaching a selected Pod remains an explicit action.
- Direct send from multi-Pod view must not imply that the selected Pod's full history is now loaded as the main conversation view.
- Avoid host-wide visibility expansion.
- The list source must be explicit and must respect the visibility model decided by the prerequisite ticket.
## Acceptance criteria
- `tui --multi` starts the multi-Pod view, and conflicting CLI argument combinations are rejected with clear errors.
- Multi-Pod view requirements are implemented against the shared Pod list/view abstraction, not a separate list model.
- The view can render live Pods with idle/running/paused distinctions and stopped/restorable history entries.
- A persistent composer remains available while moving selection.
- Sending from the composer targets the selected idle live Pod without opening it as the main conversation view.
- Non-idle and stopped targets have explicit, safe UX behavior.
- Delivery failure does not lose user input.
- The UI clearly indicates the selected send target and status.
- Existing single-Pod TUI attach/resume behavior continues to work.
- Tests cover selection-to-target mapping, disabled/queued non-idle behavior, and composer preservation across selection changes.
- `cargo fmt --check`
- `cargo check -p tui -p client -p pod`
- Relevant focused tests for TUI state/model behavior.
## Out of scope
- Implementing the prerequisite Pod list/view abstraction itself.
- Child Pod panel completion (`20260527-000017-tui-spawned-pod-panel`).
- Host-wide Pod browser.
- Changing Pod visibility, permission, registry, or discovery authority.
- Protocol changes for accepting concurrent user messages while a Pod is already running.
- Native GUI.
@@ -1,118 +0,0 @@
---
id: 20260527-000023-multi-pod-view-ui
slug: multi-pod-view-ui
title: Multi-Pod view UI
status: closed
kind: task
priority: P2
labels: [tui, pod]
created_at: 2026-05-27T00:00:23Z
updated_at: 2026-05-28T16:09:01Z
assignee: null
legacy_ticket: null
---
## Background
This work item was migrated from an unfinished TODO.md entry that did not have a dedicated legacy ticket file.
The direction is to make TUI capable of treating multiple Pods as first-class targets instead of forcing the operator to attach/open one Pod at a time before sending input. The main view should be able to show live Pods by status, show stopped Pod history entries, and keep an editable composer available while the user moves selection across Pods.
This ticket is downstream of the shared TUI Pod list/view abstraction. The concrete multi-Pod view requirements should be defined after the common list/view model exists, so this ticket can focus on view switching and interaction policy rather than inventing another Pod list representation.
## Prerequisite
- `20260528-141602-tui-pod-list-view-abstraction`
## CLI entrypoint
- Add `tui --multi` as the explicit entrypoint for the multi-Pod dashboard.
- Do not change `tui -r` / `tui --resume` semantics; those remain the resume picker.
- Do not add a short `-m` alias yet.
- `--multi` conflicts with direct single-Pod/session selectors for this ticket:
- positional pod name
- `--pod <name>`
- `--session <UUID>`
- `-r` / `--resume`
- `--socket`
- Initial selected Pod for `--multi --pod <name>` is out of scope; add it later if the UX needs it.
## Current implementation notes
Current TUI is essentially single-Pod oriented:
- `crates/tui/src/main.rs` starts one `PodClient` and the event loop sends composer input to that attached Pod.
- `App` owns one conversation/history view, one composer, and one local queued-input state for the currently attached Pod.
- The existing picker can list/restore/attach Pods, but choosing an entry transitions the TUI into that Pod rather than keeping a multi-Pod dashboard active.
- Live/stopped Pod discovery already exists around picker/discovery code, and should be reused through the prerequisite abstraction rather than duplicated in this ticket.
Because of this, multi-Pod view should be designed as a new TUI mode/state over the shared Pod list abstraction, not as a small tweak to the current single attached-Pod event loop.
## Desired UX direction
The multi-Pod view should center on a Pod list and a persistent composer:
- Live Pods are grouped or visibly categorized by status.
- waiting / idle Pods: ready to receive input.
- working / running Pods: currently processing; input should not be sent as another immediate `Method::Run` unless the protocol can accept it.
- paused Pods: distinguish from both idle and working.
- Stopped Pods are shown as history/restorable entries.
- They are visible for review/restore/open actions.
- Direct message send is disabled until an explicit restore/attach/create flow exists for that entry.
- The text area/composer remains visible and retains its contents while the selected Pod changes.
- The selected Pod is the current send target.
- The UI must show the target Pod name/status near the composer so a message cannot be sent to the wrong Pod silently.
- Sending to an idle live Pod should be possible without opening/attaching that Pod as the main conversation view.
- Sending should clear the composer only after delivery is accepted or otherwise reported as queued according to the rule below.
- For a working/running Pod, the initial behavior should be conservative.
- Do not blindly issue `Method::Run` and surface `AlreadyRunning` as normal UX.
- Either disable direct send with an actionbar diagnostic, or implement target-specific local queueing that sends when that Pod becomes idle.
- If queueing is implemented, queues must be per-Pod, visibly attached to the target, and should not reuse the current single-Pod composer queue implicitly.
## Requirements
- Add the `tui --multi` CLI entrypoint and reject conflicting single-Pod/session selectors.
- Build on the completed `tui-pod-list-view-abstraction` for row/state/source modeling.
- Add or design a TUI mode for multi-Pod view that can show:
- live idle/waiting Pods.
- live working/running Pods.
- paused Pods.
- stopped/restorable Pod history entries.
- Preserve a composer/text area while the selection changes.
- Support direct send to the selected idle live Pod without switching the whole TUI into that Pod view.
- Delivery must use the same safety expectations as other socket send paths: no fire-and-forget success, and no connect-time `Alert` / `Snapshot` deadlock.
- Failed delivery must leave the text in the composer or an explicit per-target queue.
- Define interaction for non-idle targets.
- running: disabled or per-target queued.
- paused: resume/continue action is separate from normal send unless protocol semantics are explicitly defined.
- stopped: restore/open action is separate from send.
- Keep the single-Pod conversation view available.
- Opening/attaching a selected Pod remains an explicit action.
- Direct send from multi-Pod view must not imply that the selected Pod's full history is now loaded as the main conversation view.
- Avoid host-wide visibility expansion.
- The list source must be explicit and must respect the visibility model decided by the prerequisite ticket.
## Acceptance criteria
- `tui --multi` starts the multi-Pod view, and conflicting CLI argument combinations are rejected with clear errors.
- Multi-Pod view requirements are implemented against the shared Pod list/view abstraction, not a separate list model.
- The view can render live Pods with idle/running/paused distinctions and stopped/restorable history entries.
- A persistent composer remains available while moving selection.
- Sending from the composer targets the selected idle live Pod without opening it as the main conversation view.
- Non-idle and stopped targets have explicit, safe UX behavior.
- Delivery failure does not lose user input.
- The UI clearly indicates the selected send target and status.
- Existing single-Pod TUI attach/resume behavior continues to work.
- Tests cover selection-to-target mapping, disabled/queued non-idle behavior, and composer preservation across selection changes.
- `cargo fmt --check`
- `cargo check -p tui -p client -p pod`
- Relevant focused tests for TUI state/model behavior.
## Out of scope
- Implementing the prerequisite Pod list/view abstraction itself.
- Child Pod panel completion (`20260527-000017-tui-spawned-pod-panel`).
- Host-wide Pod browser.
- Changing Pod visibility, permission, registry, or discovery authority.
- Protocol changes for accepting concurrent user messages while a Pod is already running.
- Native GUI.
@@ -1,133 +0,0 @@
<!-- event: migration author: tickets.sh-migration at: 2026-05-27T00:00:23Z -->
## Migrated
Migrated from TODO.md entry without a legacy ticket file. No legacy review file was present at migration time.
---
<!-- event: close author: hare at: 2026-05-28T16:09:01Z status: closed -->
## Closed
---
id: 20260527-000023-multi-pod-view-ui
slug: multi-pod-view-ui
title: Multi-Pod view UI
status: closed
kind: task
priority: P2
labels: [tui, pod]
created_at: 2026-05-27T00:00:23Z
updated_at: 2026-05-28T16:09:01Z
assignee: null
legacy_ticket: null
---
## Background
This work item was migrated from an unfinished TODO.md entry that did not have a dedicated legacy ticket file.
The direction is to make TUI capable of treating multiple Pods as first-class targets instead of forcing the operator to attach/open one Pod at a time before sending input. The main view should be able to show live Pods by status, show stopped Pod history entries, and keep an editable composer available while the user moves selection across Pods.
This ticket is downstream of the shared TUI Pod list/view abstraction. The concrete multi-Pod view requirements should be defined after the common list/view model exists, so this ticket can focus on view switching and interaction policy rather than inventing another Pod list representation.
## Prerequisite
- `20260528-141602-tui-pod-list-view-abstraction`
## CLI entrypoint
- Add `tui --multi` as the explicit entrypoint for the multi-Pod dashboard.
- Do not change `tui -r` / `tui --resume` semantics; those remain the resume picker.
- Do not add a short `-m` alias yet.
- `--multi` conflicts with direct single-Pod/session selectors for this ticket:
- positional pod name
- `--pod <name>`
- `--session <UUID>`
- `-r` / `--resume`
- `--socket`
- Initial selected Pod for `--multi --pod <name>` is out of scope; add it later if the UX needs it.
## Current implementation notes
Current TUI is essentially single-Pod oriented:
- `crates/tui/src/main.rs` starts one `PodClient` and the event loop sends composer input to that attached Pod.
- `App` owns one conversation/history view, one composer, and one local queued-input state for the currently attached Pod.
- The existing picker can list/restore/attach Pods, but choosing an entry transitions the TUI into that Pod rather than keeping a multi-Pod dashboard active.
- Live/stopped Pod discovery already exists around picker/discovery code, and should be reused through the prerequisite abstraction rather than duplicated in this ticket.
Because of this, multi-Pod view should be designed as a new TUI mode/state over the shared Pod list abstraction, not as a small tweak to the current single attached-Pod event loop.
## Desired UX direction
The multi-Pod view should center on a Pod list and a persistent composer:
- Live Pods are grouped or visibly categorized by status.
- waiting / idle Pods: ready to receive input.
- working / running Pods: currently processing; input should not be sent as another immediate `Method::Run` unless the protocol can accept it.
- paused Pods: distinguish from both idle and working.
- Stopped Pods are shown as history/restorable entries.
- They are visible for review/restore/open actions.
- Direct message send is disabled until an explicit restore/attach/create flow exists for that entry.
- The text area/composer remains visible and retains its contents while the selected Pod changes.
- The selected Pod is the current send target.
- The UI must show the target Pod name/status near the composer so a message cannot be sent to the wrong Pod silently.
- Sending to an idle live Pod should be possible without opening/attaching that Pod as the main conversation view.
- Sending should clear the composer only after delivery is accepted or otherwise reported as queued according to the rule below.
- For a working/running Pod, the initial behavior should be conservative.
- Do not blindly issue `Method::Run` and surface `AlreadyRunning` as normal UX.
- Either disable direct send with an actionbar diagnostic, or implement target-specific local queueing that sends when that Pod becomes idle.
- If queueing is implemented, queues must be per-Pod, visibly attached to the target, and should not reuse the current single-Pod composer queue implicitly.
## Requirements
- Add the `tui --multi` CLI entrypoint and reject conflicting single-Pod/session selectors.
- Build on the completed `tui-pod-list-view-abstraction` for row/state/source modeling.
- Add or design a TUI mode for multi-Pod view that can show:
- live idle/waiting Pods.
- live working/running Pods.
- paused Pods.
- stopped/restorable Pod history entries.
- Preserve a composer/text area while the selection changes.
- Support direct send to the selected idle live Pod without switching the whole TUI into that Pod view.
- Delivery must use the same safety expectations as other socket send paths: no fire-and-forget success, and no connect-time `Alert` / `Snapshot` deadlock.
- Failed delivery must leave the text in the composer or an explicit per-target queue.
- Define interaction for non-idle targets.
- running: disabled or per-target queued.
- paused: resume/continue action is separate from normal send unless protocol semantics are explicitly defined.
- stopped: restore/open action is separate from send.
- Keep the single-Pod conversation view available.
- Opening/attaching a selected Pod remains an explicit action.
- Direct send from multi-Pod view must not imply that the selected Pod's full history is now loaded as the main conversation view.
- Avoid host-wide visibility expansion.
- The list source must be explicit and must respect the visibility model decided by the prerequisite ticket.
## Acceptance criteria
- `tui --multi` starts the multi-Pod view, and conflicting CLI argument combinations are rejected with clear errors.
- Multi-Pod view requirements are implemented against the shared Pod list/view abstraction, not a separate list model.
- The view can render live Pods with idle/running/paused distinctions and stopped/restorable history entries.
- A persistent composer remains available while moving selection.
- Sending from the composer targets the selected idle live Pod without opening it as the main conversation view.
- Non-idle and stopped targets have explicit, safe UX behavior.
- Delivery failure does not lose user input.
- The UI clearly indicates the selected send target and status.
- Existing single-Pod TUI attach/resume behavior continues to work.
- Tests cover selection-to-target mapping, disabled/queued non-idle behavior, and composer preservation across selection changes.
- `cargo fmt --check`
- `cargo check -p tui -p client -p pod`
- Relevant focused tests for TUI state/model behavior.
## Out of scope
- Implementing the prerequisite Pod list/view abstraction itself.
- Child Pod panel completion (`20260527-000017-tui-spawned-pod-panel`).
- Host-wide Pod browser.
- Changing Pod visibility, permission, registry, or discovery authority.
- Protocol changes for accepting concurrent user messages while a Pod is already running.
- Native GUI.
---
@@ -1,35 +0,0 @@
---
id: 20260527-194421-pod-orchestration-system-guidance
slug: pod-orchestration-system-guidance
title: Pod orchestration tool availability に応じた system guidance
status: closed
kind: feature
priority: P2
labels: [pod, workflow, prompt]
created_at: 2026-05-27T19:44:21Z
updated_at: 2026-06-01T01:24:59Z
assignee: null
legacy_ticket: null
---
## Background
Child Pod completion/status notifications are delivered as non-blocking background signals. Parent Pods that have Pod management tools should treat notifications for Pods they spawned as actionable orchestration state, but should not block the active turn merely to wait for output.
Current guidance is too weak: agents may either ignore routine child-Pod follow-up until the user asks, or waste a turn with `sleep`/polling while waiting for a notification. The desired behavior is notification-driven follow-up at a natural stopping point.
Prompt text belongs under `resources/prompts`; Rust code should only assemble it conditionally.
## Acceptance criteria
- Pod management toolsが有効な Worker の system prompt に orchestration guidance が含まれる。
- Pod management tools が無効な Worker には含まれない。
- prompt 本文が `resources/prompts` にある。
- guidance includes:
- spawned Pod notifications are background signals the parent should handle at a natural stopping point;
- the parent does not need to keep a turn open or call tools solely to wait for a notification;
- do not use `sleep`/polling loops just to wait for Pod output;
- read child output/diff/test evidence before treating delegated work as complete;
- do not start scheduler/auto-maintain behavior or bypass user/workflow authorization.
- Prompt assembly tests cover conditional inclusion/exclusion.
- Related focused tests and `cargo fmt --check` pass.
@@ -1,18 +0,0 @@
Merged and completed.
Implementation:
- Added resource-backed Pod orchestration guidance at `resources/prompts/common/pod-orchestration.md`.
- Registered the guidance through the prompt catalog and internal prompt resources.
- Added conditional system prompt assembly based on registered Pod-management tool names.
- Guidance is included for Workers with Pod management tools and omitted otherwise.
- Guidance explicitly says Pod notifications are background signals handled at natural stopping points, that the parent does not need to keep a turn open solely to wait, and that agents should not use `sleep`/polling loops just to wait for Pod output.
- Guidance also preserves evidence-before-completion and no scheduler/authorization-bypass constraints.
Review:
- External reviewer approved with no blockers.
Validation after merge:
- `cargo test -p pod pod_orchestration` passed.
- `cargo test -p pod prompt::catalog` passed.
- `cargo fmt --check` passed.
- `./tickets.sh doctor` passed.
@@ -1,177 +0,0 @@
<!-- event: create author: tickets.sh at: 2026-05-27T19:44:21Z -->
## Created
Created by tickets.sh create.
---
<!-- event: plan author: orchestrator at: 2026-05-27T19:44:43Z -->
## Plan
## Background
Pod notification / notice によって child Pod の完了や状態変化が見えても、現状の assistant はユーザーから明示的に「レビューして」「確認して」と言われるまで自発的に消化しないことがある。
AGENTS.md や workflow に multi-agent の運用は書かれているが、これは知識として読めるだけで、Pod 管理ツールが利用可能な turn における runtime 行動規範としては弱い。特に、自分が spawn した child Pod の完了通知は background signal として扱い、自然な区切りで `ReadPodOutput` / worktree status / diff / test を確認して次の action に進むべきである。
一方で、notification は non-blocking であり、進行中の user request を不必要に中断してまで消化すべきではない。system instruction には「自発的に follow-up するが、現在の user task を壊さない」というバランスを明示する必要がある。
## Requirements
- Pod management tools が有効な Worker にだけ、Pod orchestration 用の system guidance を注入する。
- 例: `SpawnPod` / `ReadPodOutput` / `SendToPod` / `StopPod` / `AttachOrRestorePod` などが利用可能な場合。
- Pod 管理 tool がない通常 Worker / child Pod には不要な guidance を出さない。
- guidance 本文は `resources/prompts` 配下に置く。
- prompt 文字列を Rust code に直書きしない。
- guidance には以下を含める。
- Pod notification / notice は、自分が処理すべき background signal として扱う。
- 自分が spawn した child Pod の完了通知を受けたら、自然な区切りで `ReadPodOutput` を確認する。
- 委譲 task が完了していれば、報告・worktree status・diff・test 結果を確認し、修正依頼 / merge / ticket 完了処理 / Pod 停止のいずれかに進む。
- user が明示的に follow-up を要求するまで routine follow-up を放置しない。
- ただし進行中の user request を不用意に中断しない。
- output / diff / test を確認せずに完了扱いしない。
- この guidance は scheduler / auto-maintainer ではない。
- workflow を勝手に開始しない。
- project decision / merge / cleanup は既存 workflow と user authorization に従う。
- notification / PodEvent を context に載せる場合は、既存の history 永続化原則を破らない。
- turn を跨げない情報を history に残さず system context にだけ差し込まない。
## Acceptance criteria
- Pod management tools が有効な Worker の system prompt に orchestration guidance が含まれる。
- Pod management tools が無効な Worker には含まれない。
- prompt 本文が `resources/prompts` にある。
- prompt assembly の test で conditional inclusion が確認されている。
- guidance が user request の中断を促さず、natural stopping point での follow-up を促す文言になっている。
- `cargo fmt --check` と関連 crate の test が通る。
## Out of scope
- 自動 scheduler / auto-maintain loop の実装。
- PodEvent / notification の protocol 変更。
- spawned Pod registry restore の修正。
- TUI notification UI の変更。
---
<!-- event: comment author: hare at: 2026-06-01T00:57:03Z -->
## Comment
## Supplemental guidance from dogfooding
Add two explicit rules to the Pod orchestration/system guidance:
- A spawned Pod completion notification is delivered as a normal background signal. The parent does not need to keep the turn open or call tools solely to wait for it; it is acceptable to finish the current turn and handle the notification at the next natural point.
- Do not use `sleep`/polling loops just to wait for a Pod's output. If there is no other useful immediate work, return control to the user instead of blocking the turn; when the notification arrives, read the Pod output then.
Rationale: during multi-agent work, waiting with `sleep` wastes the active turn and fights the notification model. The desired behavior is notification-driven follow-up, not artificial polling.
---
<!-- event: plan author: hare at: 2026-06-01T01:10:57Z -->
## Plan
## Preflight classification
implementation-ready.
The ticket affects prompt/system guidance and conditional prompt assembly, but the desired product behavior is already specified in the ticket thread and item: include orchestration guidance only when Pod management tools are available, keep the prose in `resources/prompts`, and explicitly avoid `sleep`/polling or turn-blocking waits for child Pod output.
## Current code map
- `resources/prompts/`: prompt text sources; new guidance text should live here.
- Prompt assembly code/tests: locate the system prompt construction path that already conditionally includes memory/workflow/tool guidance and add a tool-availability gate for Pod orchestration guidance.
- Tool registry / available tool list: use existing tool availability rather than hard-coding a Worker kind if possible.
- Existing prompt assembly tests: add inclusion/exclusion coverage for Pod management tools available/unavailable.
## Requirements / invariants
- Guidance is conditional on Pod management tools being available.
- Guidance is not shown to Workers without Pod management tools.
- Guidance must not imply an auto scheduler or unauthorized workflow start.
- Guidance must say notifications can be handled at the next natural point and the parent need not keep the turn open just to wait.
- Guidance must say not to use `sleep`/polling loops merely to wait for Pod output.
- Do not change PodEvent/notification protocol, TUI notification UI, spawned registry restore, or workflow semantics.
## Escalate if
- The only available hook requires injecting notification-derived context without durable history.
- Conditional tool-availability detection would require broad ToolRegistry redesign.
- The implementation would change runtime notification delivery or Pod lifecycle behavior instead of prompt guidance.
## Validation
- Focused prompt assembly tests for conditional inclusion/exclusion.
- Any touched crate tests relevant to prompt loading/assembly.
- `cargo fmt --check`.
---
<!-- event: review author: hare at: 2026-06-01T01:24:27Z status: approve -->
## Review: approve
External reviewer recommendation: approve.
Summary:
- Static Pod orchestration guidance was added under `resources/prompts/common/pod-orchestration.md` and registered through the prompt catalog.
- The guidance is appended to the materialized system prompt only when available tool names include Pod-management capabilities.
- The gate uses registered tool definitions, not Worker kind, matching the ticket boundary.
- The prompt explicitly covers background notifications, natural stopping points, not keeping a turn open solely to wait, no `sleep`/polling loops for Pod output, evidence-before-completion, and no scheduler/authorization bypass.
Intent / requirement mapping:
- Included when Pod management tools are enabled: satisfied.
- Omitted when Pod management tools are disabled: satisfied.
- Prompt body lives under `resources/prompts`: satisfied.
- Conditional prompt assembly tests exist: satisfied.
Invariant check:
- No changes to PodEvent/notification protocol, TUI notification UI, spawned registry restore, Pod lifecycle behavior, scheduler/auto-maintain behavior, or notification-derived context injection.
- The implementation adds static guidance based on durable tool availability, not transient notification state.
Blockers: none.
Non-blocking follow-ups:
- A future small test could pin the intended "any Pod-management tool is enough" semantics with a single representative tool.
- Tool-name class recognition could be centralized later if more prompt gates need it.
Reported validation from coder was considered sufficient:
- `cargo test -p pod pod_orchestration`
- `cargo test -p pod prompt::catalog`
- `cargo fmt --check`
---
<!-- event: close author: hare at: 2026-06-01T01:24:59Z status: closed -->
## Closed
Merged and completed.
Implementation:
- Added resource-backed Pod orchestration guidance at `resources/prompts/common/pod-orchestration.md`.
- Registered the guidance through the prompt catalog and internal prompt resources.
- Added conditional system prompt assembly based on registered Pod-management tool names.
- Guidance is included for Workers with Pod management tools and omitted otherwise.
- Guidance explicitly says Pod notifications are background signals handled at natural stopping points, that the parent does not need to keep a turn open solely to wait, and that agents should not use `sleep`/polling loops just to wait for Pod output.
- Guidance also preserves evidence-before-completion and no scheduler/authorization-bypass constraints.
Review:
- External reviewer approved with no blockers.
Validation after merge:
- `cargo test -p pod pod_orchestration` passed.
- `cargo test -p pod prompt::catalog` passed.
- `cargo fmt --check` passed.
- `./tickets.sh doctor` passed.
---
@@ -1,21 +0,0 @@
---
id: 20260527-201313-openai-responses-unhandled-sse-observability
slug: openai-responses-unhandled-sse-observability
title: OpenAI Responses 未対応 SSE event を破棄せず観測する
status: closed
kind: feature
priority: P1
labels: [llm, openai, observability, trace]
created_at: 2026-05-27T20:13:13Z
updated_at: 2026-05-27T20:44:19Z
assignee: null
legacy_ticket: null
---
## Background
Created by tickets.sh.
## Acceptance criteria
- TBD
@@ -1,21 +0,0 @@
---
id: 20260527-201313-openai-responses-unhandled-sse-observability
slug: openai-responses-unhandled-sse-observability
title: OpenAI Responses 未対応 SSE event を破棄せず観測する
status: closed
kind: feature
priority: P1
labels: [llm, openai, observability, trace]
created_at: 2026-05-27T20:13:13Z
updated_at: 2026-05-27T20:44:19Z
assignee: null
legacy_ticket: null
---
## Background
Created by tickets.sh.
## Acceptance criteria
- TBD
@@ -1,95 +0,0 @@
<!-- event: create author: tickets.sh at: 2026-05-27T20:13:13Z -->
## Created
Created by tickets.sh create.
---
<!-- event: plan author: orchestrator at: 2026-05-27T20:13:30Z -->
## Plan
## Background
OpenAI Responses parser currently drops unsupported SSE event types by falling through to `_ => Ok(Vec::new())`. That means provider events that do not yet have a match arm are neither visible in stream trace nor preserved as diagnostics. This made it impossible to inspect the "unexpected event" class of logs after the fact.
Recent work preserved diagnostics for known error-like event types (`response.failed`, `response.incomplete`, top-level `error`), but it did not cover event types that are not matched at all. We need observability for those raw/unhandled SSE frames without turning them into conversation history or model-visible content.
## Requirements
- OpenAI Responses SSE event types that are not otherwise handled must be observable.
- Do not silently return `Ok(Vec::new())` without any traceable signal.
- Include the raw `event_type` and a bounded preview of `data`.
- Include full data length so truncation is visible.
- The signal must be visible in existing stream trace when `[session].record_event_trace = true`.
- The signal must not become assistant/user history and must not be sent back to the model as normal content.
- Timeline / collectors must ignore the signal for generation semantics.
- Known intentionally ignorable events may be classified separately if needed, but they must still be observable enough for debugging.
- Add tests for at least one unknown OpenAI Responses event type.
- Existing `unknown_event_is_ignored` should be replaced or updated.
- Verify event type and data preview are retained.
- Verify large data is bounded / marked by length.
## Suggested implementation shape
A small normalized event variant is acceptable, for example:
```rust
Event::UnhandledSse {
provider: "openai_responses",
event_type: String,
data_preview: String,
data_len: usize,
}
```
or equivalent. If adding a generic variant to `llm_client::event::Event`, make sure Timeline ignores it and trace serialization captures it.
Avoid plumbing raw SSE into session history. This is observability only.
## Acceptance criteria
- Unknown OpenAI Responses SSE event types appear in trace output instead of disappearing.
- Timeline semantics / assistant output are unchanged for unknown events.
- Large raw data is capped in the event payload but original byte length is recorded.
- Focused tests pass for OpenAI Responses parser and Timeline behavior if touched.
- `cargo fmt --check` and related crate tests pass.
## Out of scope
- Implementing semantics for every OpenAI Responses event type.
- Retrying or changing behavior based on unknown events.
- Raw SSE frame permanent audit log separate from trace.
---
<!-- event: close author: hare at: 2026-05-27T20:44:19Z status: closed -->
## Closed
---
id: 20260527-201313-openai-responses-unhandled-sse-observability
slug: openai-responses-unhandled-sse-observability
title: OpenAI Responses 未対応 SSE event を破棄せず観測する
status: closed
kind: feature
priority: P1
labels: [llm, openai, observability, trace]
created_at: 2026-05-27T20:13:13Z
updated_at: 2026-05-27T20:44:19Z
assignee: null
legacy_ticket: null
---
## Background
Created by tickets.sh.
## Acceptance criteria
- TBD
---
@@ -1,143 +0,0 @@
---
id: 20260528-001748-compact-session-log-exploration
slug: compact-session-log-exploration
title: Compact: session log 探索型の要約入力に変更する
status: closed
kind: task
priority: P2
labels: [compact, session-log]
created_at: 2026-05-28T00:17:48Z
updated_at: 2026-05-28T03:41:42Z
assignee: null
legacy_ticket: null
---
# Compact: session log 探索型の要約入力に変更する
## 背景
`insomnia-troubleshoot` Pod の手動 compact で、Compact Worker が入力トークン上限に到達して停止した。現行実装は `Pod::compact` で retained tail より前の `items_to_summarise``build_summary_input()` に渡し、`build_summary_prompt()` が user / assistant / system message と tool result summary を `## Conversation` に連結して Compact Worker の初回 input に載せている。
raw tool output や reasoning は落としているが、長い session では pruned transcript だけでも `compact_worker_max_input_tokens` を超える。Compact の目的は「全履歴を読ませる」ことではなく、次セッションに必要な構造化要約と file auto-read/reference を作ることなので、初期 input は軽量 overview に留め、必要箇所は Compact Worker が session log / workspace file を探索して確認できる形にする。
また、Compact Worker の健全性は「初期 input が小さいこと」だけでは保証できない。探索 tool の結果、assistant 出力、`write_summary` 呼び出しまでを含む Compact Worker 全体の context と、compact 後に作られる新 session 初期 context を別々に制御する必要がある。
## 方針
Compact Worker の初期 context は、全文 transcript ではなく決定的に生成した session overview / index を渡す。LLM には探索空間を狭めた上で、必要な session log 範囲や workspace file を tool で読む権限を与える。
基本方針:
- 初期 input は User / Assistant / System の継続に必要な情報を中心に、target size 内の overview として生成する。
- 初期 overview が target を超えた程度で compact を失敗させない。warning / trace に記録して続行する。
- 初期 overview deadline は通常運用の調整値ではなく、想定外の入力生成バグを検出する最悪ケースの安全網とする。deadline 超過時は、可能ならより粗い overview へ fallback し、それでも最低限の入力を作れない場合だけ失敗する。
- ToolCall / ToolResult は初期 input では本文を展開しない。
- tool 名、summary、対象 path、成否、大きな出力の有無、session log 上の位置などの index に留める。
- Compact Worker は session log の必要箇所を探索・再読できる。
- Compact Worker の探索量は、session-log/file-read 個別の総量 budget ではなく、Compact Worker session 全体の context budget で制御する。
- Compact Worker context が上限に近づいたら、`mark_read_required` とは独立に「探索を切り上げて `write_summary` へ進め」という勧告を Worker に渡し、人間にも警告を出す。
- 最終 summary と closing turn のための reserve を確保し、reserve を食い潰すほど大きい tool result は残 budget に合わせて抑制・切り詰め・再読指示にする。
- AutoRead 判断のため、workspace file は現行通り `read_file` で確認し、必要なものだけ `mark_read_required` / `add_reference` する。
- AutoRead budget は Compact Worker の探索 budget ではなく、compact 後の新 session 初期 context に注入される file content の合計上限として扱う。
- Compact Worker の出力は現行と同じく structured summary + auto-read + references を生成する。
## Compact Worker / compaction parameters
`[compaction]` 配下では `compact_` prefix を新規 parameter 名につけない。既存の `compact_*` key は、この ticket の実装時に同じ意味の prefix なし key へ整理する。
必要な parameter:
- `retained_tokens`
- compact 後に verbatim で残す history tail の token budget。
- `overview_target_tokens`
- 初期 overview / index 生成器が目指す通常サイズ。超過しても即失敗しない。
- `overview_warning_tokens`
- 初期 overview が想定より大きいことを記録・警告する閾値。compact は続行する。
- `overview_deadline_tokens`
- 初期 overview の最悪ケース deadline。超過時はより粗い overview へ deterministic fallback し、それでも無理な場合だけ compact を失敗させる。
- `worker_context_max_tokens`
- Compact Worker session 全体の context hard limit。system prompt、overview、assistant output、tool calls/results、session-log/file read results、`write_summary` 周辺の蓄積を含む。
- `finish_warning_remaining_tokens`
- 残り context がこの値以下になったら、Compact Worker に探索切り上げと `write_summary` を促す勧告を入れる。
- `final_reserve_tokens`
- 最終 summary と closing turn のために残す reserve。これを割り込みそうな tool result は full content を返さず、range 縮小や summary への移行を促す。
- `worker_max_turns`
- Compact Worker の tool-loop 最大 turn 数。budget 制御とは別の runaway guard。
- `summary_target_tokens`
- `write_summary` text の目標サイズ。prompt / nudge に使う。
- `summary_max_tokens`
- `write_summary` text の hard validation。超過した summary は縮約を促すか compact 成功扱いにしない。
- `auto_read_budget_tokens`
- `mark_read_required` によって compact 後の新 session に注入される file content の合計 token budget。
- `result_context_max_tokens`
- compact 成功前に dry-run する新 session 初期 context の上限。summary、auto-read contents、references、task snapshot、retained tail を含む。
- `model`
- compactor model。未指定なら main Worker の client を clone する。
Compact 発火条件の `threshold` / `request_threshold` は Compact Worker の健全性 parameter ではないが、既存の `compact_threshold` / `compact_request_threshold` を整理する場合は `[compaction]` 内の prefix なし key として扱う。
## 要件
- `build_summary_input()` / compact 入力生成を、prefix 全体の pruned transcript 一括投入から、bounded overview + index 生成に変更する。
- overview は `overview_target_tokens` を目指して生成する。
- `overview_warning_tokens` 超過時は警告・trace を記録しつつ続行する。
- `overview_deadline_tokens` 超過時はより粗い deterministic overview に fallback する。通常ケースの user-facing hard error にしない。
- User / Assistant / System message を優先し、古い detail は落としてよい。
- Tool output content は初期 input に載せない。
- Compact Worker 用の session log 探索 tool を追加する。
- 例: `search_session_log(query, filters, range)`
- 例: `read_session_items(range | item_ids, mode = compact/full)`
- 必要なら large tool result を個別に読む tool を追加する。
- 探索 tool は session-store の現在 segment / compact 対象 range を正本として読む。
- Compact 対象外の future/retained tail と混ざらないよう range 境界を明示する。
- tool result full content を返す場合は Compact Worker の残り context / `final_reserve_tokens` を守る。
- session-log/file-read 個別の総量 budget を user-facing parameter として増やさず、主制御は `worker_context_max_tokens` に寄せる。
- Compact Worker の context occupancy を request 前に見積もり、`worker_context_max_tokens` を最後の hard stop として扱う。
- Compact Worker の残り context が `finish_warning_remaining_tokens` 以下になったら、追加探索を切り上げて `write_summary` に進むよう Worker に勧告し、人間向け warning も出す。
- `final_reserve_tokens` を割り込む可能性がある tool result は、full content を返さず bounded/truncated result とし、range 縮小または `write_summary` への移行を促す。
- `write_summary` 後に `summary_max_tokens` を validation する。超過時は縮約を促し、改善できない場合は compact 成功扱いにしない。
- compact 成功前に、`summary + auto-read + references + retained tail + task snapshot` の新 session 初期 context を dry-run 見積もりし、`result_context_max_tokens` を超えないことを確認する。
- `mark_read_required` / `add_reference` の意味論は維持する。
- AutoRead は session log 上の過去 tool output ではなく、現在の workspace file を `read_file` で確認してから選ぶ。
- `auto_read_budget_tokens` は新 session 初期 context への file content 注入上限であり、Compact Worker の探索 budget ではない。
- `resources/prompts/internal/compact_system.md` の summary target は `summary_target_tokens` から反映する。
- 手動 compact / auto compact の双方で同じ経路を使う。
- 巨大 session でも Compact Worker が初回 input 上限で即停止しない。
## 完了条件
- 長い session で compact 初期 overview が transcript 全体を載せず、`overview_target_tokens` を目指して生成される unit test がある。
- `overview_warning_tokens` 超過時に compact が続行し、警告・trace が記録される test がある。
- `overview_deadline_tokens` 超過時に粗い deterministic overview へ fallback する test がある。
- Tool result content が初期 compact input に混入しないことを test で確認している。
- Compact Worker が session log overview から必要 range を tool で読み、`write_summary` まで到達できる test がある。
- `finish_warning_remaining_tokens` 到達時に Compact Worker へ探索切り上げ勧告が入り、人間向け warning も出る test がある。
- `final_reserve_tokens` を守るため、過大な tool result が bounded/truncated される test がある。
- `summary_max_tokens` 超過 summary が compact 成功扱いにならない、または縮約 nudge を受ける test がある。
- compact 後の新 session 初期 context が `result_context_max_tokens` で dry-run validation される test がある。
- `mark_read_required` / `add_reference` 既存 test が通り、auto-read budget の挙動が維持されている。
- `[compaction]` の新 parameter 名が docs / manifest schema / defaults に反映されている。
- `docs/compaction.md``resources/prompts/internal/compact_system.md` が新しい探索型 flow と budget/warning semantics に更新されている。
- `cargo fmt --check` と関連 crate の compact/session-store/pod/manifest tests が通る。
## 範囲外
- Compact summary 自体を deterministic summarizer に置き換えること。
- Memory extract / consolidation の入力方式変更。
- 過去の壊れた session log の migration。
- Compact 後の retained tail token policy の再設計。
- session-log/file-read ごとの user-facing 総量 budget を増やすこと。
## 実装メモ
現行コード上の主な起点:
- `crates/pod/src/pod.rs::compact`
- `crates/pod/src/pod.rs::build_summary_input`
- `crates/pod/src/pod.rs::build_summary_prompt`
- `crates/pod/src/compact/worker.rs`
- `crates/manifest/src/lib.rs::CompactionConfig`
- `crates/manifest/src/config.rs::CompactionConfigPartial`
- `crates/manifest/src/defaults.rs`
- `resources/prompts/internal/compact_system.md`
- `docs/compaction.md`
@@ -1,143 +0,0 @@
---
id: 20260528-001748-compact-session-log-exploration
slug: compact-session-log-exploration
title: Compact: session log 探索型の要約入力に変更する
status: closed
kind: task
priority: P2
labels: [compact, session-log]
created_at: 2026-05-28T00:17:48Z
updated_at: 2026-05-28T03:41:42Z
assignee: null
legacy_ticket: null
---
# Compact: session log 探索型の要約入力に変更する
## 背景
`insomnia-troubleshoot` Pod の手動 compact で、Compact Worker が入力トークン上限に到達して停止した。現行実装は `Pod::compact` で retained tail より前の `items_to_summarise``build_summary_input()` に渡し、`build_summary_prompt()` が user / assistant / system message と tool result summary を `## Conversation` に連結して Compact Worker の初回 input に載せている。
raw tool output や reasoning は落としているが、長い session では pruned transcript だけでも `compact_worker_max_input_tokens` を超える。Compact の目的は「全履歴を読ませる」ことではなく、次セッションに必要な構造化要約と file auto-read/reference を作ることなので、初期 input は軽量 overview に留め、必要箇所は Compact Worker が session log / workspace file を探索して確認できる形にする。
また、Compact Worker の健全性は「初期 input が小さいこと」だけでは保証できない。探索 tool の結果、assistant 出力、`write_summary` 呼び出しまでを含む Compact Worker 全体の context と、compact 後に作られる新 session 初期 context を別々に制御する必要がある。
## 方針
Compact Worker の初期 context は、全文 transcript ではなく決定的に生成した session overview / index を渡す。LLM には探索空間を狭めた上で、必要な session log 範囲や workspace file を tool で読む権限を与える。
基本方針:
- 初期 input は User / Assistant / System の継続に必要な情報を中心に、target size 内の overview として生成する。
- 初期 overview が target を超えた程度で compact を失敗させない。warning / trace に記録して続行する。
- 初期 overview deadline は通常運用の調整値ではなく、想定外の入力生成バグを検出する最悪ケースの安全網とする。deadline 超過時は、可能ならより粗い overview へ fallback し、それでも最低限の入力を作れない場合だけ失敗する。
- ToolCall / ToolResult は初期 input では本文を展開しない。
- tool 名、summary、対象 path、成否、大きな出力の有無、session log 上の位置などの index に留める。
- Compact Worker は session log の必要箇所を探索・再読できる。
- Compact Worker の探索量は、session-log/file-read 個別の総量 budget ではなく、Compact Worker session 全体の context budget で制御する。
- Compact Worker context が上限に近づいたら、`mark_read_required` とは独立に「探索を切り上げて `write_summary` へ進め」という勧告を Worker に渡し、人間にも警告を出す。
- 最終 summary と closing turn のための reserve を確保し、reserve を食い潰すほど大きい tool result は残 budget に合わせて抑制・切り詰め・再読指示にする。
- AutoRead 判断のため、workspace file は現行通り `read_file` で確認し、必要なものだけ `mark_read_required` / `add_reference` する。
- AutoRead budget は Compact Worker の探索 budget ではなく、compact 後の新 session 初期 context に注入される file content の合計上限として扱う。
- Compact Worker の出力は現行と同じく structured summary + auto-read + references を生成する。
## Compact Worker / compaction parameters
`[compaction]` 配下では `compact_` prefix を新規 parameter 名につけない。既存の `compact_*` key は、この ticket の実装時に同じ意味の prefix なし key へ整理する。
必要な parameter:
- `retained_tokens`
- compact 後に verbatim で残す history tail の token budget。
- `overview_target_tokens`
- 初期 overview / index 生成器が目指す通常サイズ。超過しても即失敗しない。
- `overview_warning_tokens`
- 初期 overview が想定より大きいことを記録・警告する閾値。compact は続行する。
- `overview_deadline_tokens`
- 初期 overview の最悪ケース deadline。超過時はより粗い overview へ deterministic fallback し、それでも無理な場合だけ compact を失敗させる。
- `worker_context_max_tokens`
- Compact Worker session 全体の context hard limit。system prompt、overview、assistant output、tool calls/results、session-log/file read results、`write_summary` 周辺の蓄積を含む。
- `finish_warning_remaining_tokens`
- 残り context がこの値以下になったら、Compact Worker に探索切り上げと `write_summary` を促す勧告を入れる。
- `final_reserve_tokens`
- 最終 summary と closing turn のために残す reserve。これを割り込みそうな tool result は full content を返さず、range 縮小や summary への移行を促す。
- `worker_max_turns`
- Compact Worker の tool-loop 最大 turn 数。budget 制御とは別の runaway guard。
- `summary_target_tokens`
- `write_summary` text の目標サイズ。prompt / nudge に使う。
- `summary_max_tokens`
- `write_summary` text の hard validation。超過した summary は縮約を促すか compact 成功扱いにしない。
- `auto_read_budget_tokens`
- `mark_read_required` によって compact 後の新 session に注入される file content の合計 token budget。
- `result_context_max_tokens`
- compact 成功前に dry-run する新 session 初期 context の上限。summary、auto-read contents、references、task snapshot、retained tail を含む。
- `model`
- compactor model。未指定なら main Worker の client を clone する。
Compact 発火条件の `threshold` / `request_threshold` は Compact Worker の健全性 parameter ではないが、既存の `compact_threshold` / `compact_request_threshold` を整理する場合は `[compaction]` 内の prefix なし key として扱う。
## 要件
- `build_summary_input()` / compact 入力生成を、prefix 全体の pruned transcript 一括投入から、bounded overview + index 生成に変更する。
- overview は `overview_target_tokens` を目指して生成する。
- `overview_warning_tokens` 超過時は警告・trace を記録しつつ続行する。
- `overview_deadline_tokens` 超過時はより粗い deterministic overview に fallback する。通常ケースの user-facing hard error にしない。
- User / Assistant / System message を優先し、古い detail は落としてよい。
- Tool output content は初期 input に載せない。
- Compact Worker 用の session log 探索 tool を追加する。
- 例: `search_session_log(query, filters, range)`
- 例: `read_session_items(range | item_ids, mode = compact/full)`
- 必要なら large tool result を個別に読む tool を追加する。
- 探索 tool は session-store の現在 segment / compact 対象 range を正本として読む。
- Compact 対象外の future/retained tail と混ざらないよう range 境界を明示する。
- tool result full content を返す場合は Compact Worker の残り context / `final_reserve_tokens` を守る。
- session-log/file-read 個別の総量 budget を user-facing parameter として増やさず、主制御は `worker_context_max_tokens` に寄せる。
- Compact Worker の context occupancy を request 前に見積もり、`worker_context_max_tokens` を最後の hard stop として扱う。
- Compact Worker の残り context が `finish_warning_remaining_tokens` 以下になったら、追加探索を切り上げて `write_summary` に進むよう Worker に勧告し、人間向け warning も出す。
- `final_reserve_tokens` を割り込む可能性がある tool result は、full content を返さず bounded/truncated result とし、range 縮小または `write_summary` への移行を促す。
- `write_summary` 後に `summary_max_tokens` を validation する。超過時は縮約を促し、改善できない場合は compact 成功扱いにしない。
- compact 成功前に、`summary + auto-read + references + retained tail + task snapshot` の新 session 初期 context を dry-run 見積もりし、`result_context_max_tokens` を超えないことを確認する。
- `mark_read_required` / `add_reference` の意味論は維持する。
- AutoRead は session log 上の過去 tool output ではなく、現在の workspace file を `read_file` で確認してから選ぶ。
- `auto_read_budget_tokens` は新 session 初期 context への file content 注入上限であり、Compact Worker の探索 budget ではない。
- `resources/prompts/internal/compact_system.md` の summary target は `summary_target_tokens` から反映する。
- 手動 compact / auto compact の双方で同じ経路を使う。
- 巨大 session でも Compact Worker が初回 input 上限で即停止しない。
## 完了条件
- 長い session で compact 初期 overview が transcript 全体を載せず、`overview_target_tokens` を目指して生成される unit test がある。
- `overview_warning_tokens` 超過時に compact が続行し、警告・trace が記録される test がある。
- `overview_deadline_tokens` 超過時に粗い deterministic overview へ fallback する test がある。
- Tool result content が初期 compact input に混入しないことを test で確認している。
- Compact Worker が session log overview から必要 range を tool で読み、`write_summary` まで到達できる test がある。
- `finish_warning_remaining_tokens` 到達時に Compact Worker へ探索切り上げ勧告が入り、人間向け warning も出る test がある。
- `final_reserve_tokens` を守るため、過大な tool result が bounded/truncated される test がある。
- `summary_max_tokens` 超過 summary が compact 成功扱いにならない、または縮約 nudge を受ける test がある。
- compact 後の新 session 初期 context が `result_context_max_tokens` で dry-run validation される test がある。
- `mark_read_required` / `add_reference` 既存 test が通り、auto-read budget の挙動が維持されている。
- `[compaction]` の新 parameter 名が docs / manifest schema / defaults に反映されている。
- `docs/compaction.md``resources/prompts/internal/compact_system.md` が新しい探索型 flow と budget/warning semantics に更新されている。
- `cargo fmt --check` と関連 crate の compact/session-store/pod/manifest tests が通る。
## 範囲外
- Compact summary 自体を deterministic summarizer に置き換えること。
- Memory extract / consolidation の入力方式変更。
- 過去の壊れた session log の migration。
- Compact 後の retained tail token policy の再設計。
- session-log/file-read ごとの user-facing 総量 budget を増やすこと。
## 実装メモ
現行コード上の主な起点:
- `crates/pod/src/pod.rs::compact`
- `crates/pod/src/pod.rs::build_summary_input`
- `crates/pod/src/pod.rs::build_summary_prompt`
- `crates/pod/src/compact/worker.rs`
- `crates/manifest/src/lib.rs::CompactionConfig`
- `crates/manifest/src/config.rs::CompactionConfigPartial`
- `crates/manifest/src/defaults.rs`
- `resources/prompts/internal/compact_system.md`
- `docs/compaction.md`
@@ -1,189 +0,0 @@
<!-- event: create author: tickets.sh at: 2026-05-28T00:17:48Z -->
## Created
Created by tickets.sh create.
---
<!-- event: review author: insomnia at: 2026-05-28T03:41:41Z status: approve -->
## Review: approve
実装を review し、approve する。
確認内容:
- Compact Worker 初期入力が bounded overview / index に変更され、ToolCall arguments / ToolResult full content / Reasoning body が初期 input に混入しない。
- `[compaction]` の prefix なし parameter と旧 `compact_*` alias が manifest/config/defaults に反映されている。
- `finish_warning_remaining_tokens` で Worker history に永続化される budget warning が入り、人間向け warning も出る。
- `final_reserve_tokens` 到達後は `write_summary` 以外の探索 tool が synthetic error になり、summary 用 reserve を守る。
- `search_session_log` / `read_session_items` が Compact Worker に登録され、bounded overview から漏れた履歴を探索できる。
- `summary_max_tokens``result_context_max_tokens` の validation が入っている。
- docs / compact system prompt が新 flow に更新されている。
検証:
- cargo fmt --check
- cargo check -p llm-worker -p pod -p manifest
- cargo test -p manifest compaction
- cargo test -p pod compact_worker_interceptor --no-default-features
- cargo test -p pod build_summary_prompt_tests --no-default-features
- cargo test -p pod session_log --no-default-features
- cargo test -p pod read_session_items --no-default-features
注意:
- `cargo test -p pod --no-default-features` 全体は master 上の trace commit だけでも controller empty-turn rollback 系 3 tests が失敗するため、この ticket の blocking とはしない。
- `cargo test -p manifest` 全体は環境依存の `runtime_dir_prefers_xdg_runtime_dir` が失敗するため、この ticket の blocking とはしない。
---
<!-- event: close author: hare at: 2026-05-28T03:41:42Z status: closed -->
## Closed
---
id: 20260528-001748-compact-session-log-exploration
slug: compact-session-log-exploration
title: Compact: session log 探索型の要約入力に変更する
status: closed
kind: task
priority: P2
labels: [compact, session-log]
created_at: 2026-05-28T00:17:48Z
updated_at: 2026-05-28T03:41:42Z
assignee: null
legacy_ticket: null
---
# Compact: session log 探索型の要約入力に変更する
## 背景
`insomnia-troubleshoot` Pod の手動 compact で、Compact Worker が入力トークン上限に到達して停止した。現行実装は `Pod::compact` で retained tail より前の `items_to_summarise``build_summary_input()` に渡し、`build_summary_prompt()` が user / assistant / system message と tool result summary を `## Conversation` に連結して Compact Worker の初回 input に載せている。
raw tool output や reasoning は落としているが、長い session では pruned transcript だけでも `compact_worker_max_input_tokens` を超える。Compact の目的は「全履歴を読ませる」ことではなく、次セッションに必要な構造化要約と file auto-read/reference を作ることなので、初期 input は軽量 overview に留め、必要箇所は Compact Worker が session log / workspace file を探索して確認できる形にする。
また、Compact Worker の健全性は「初期 input が小さいこと」だけでは保証できない。探索 tool の結果、assistant 出力、`write_summary` 呼び出しまでを含む Compact Worker 全体の context と、compact 後に作られる新 session 初期 context を別々に制御する必要がある。
## 方針
Compact Worker の初期 context は、全文 transcript ではなく決定的に生成した session overview / index を渡す。LLM には探索空間を狭めた上で、必要な session log 範囲や workspace file を tool で読む権限を与える。
基本方針:
- 初期 input は User / Assistant / System の継続に必要な情報を中心に、target size 内の overview として生成する。
- 初期 overview が target を超えた程度で compact を失敗させない。warning / trace に記録して続行する。
- 初期 overview deadline は通常運用の調整値ではなく、想定外の入力生成バグを検出する最悪ケースの安全網とする。deadline 超過時は、可能ならより粗い overview へ fallback し、それでも最低限の入力を作れない場合だけ失敗する。
- ToolCall / ToolResult は初期 input では本文を展開しない。
- tool 名、summary、対象 path、成否、大きな出力の有無、session log 上の位置などの index に留める。
- Compact Worker は session log の必要箇所を探索・再読できる。
- Compact Worker の探索量は、session-log/file-read 個別の総量 budget ではなく、Compact Worker session 全体の context budget で制御する。
- Compact Worker context が上限に近づいたら、`mark_read_required` とは独立に「探索を切り上げて `write_summary` へ進め」という勧告を Worker に渡し、人間にも警告を出す。
- 最終 summary と closing turn のための reserve を確保し、reserve を食い潰すほど大きい tool result は残 budget に合わせて抑制・切り詰め・再読指示にする。
- AutoRead 判断のため、workspace file は現行通り `read_file` で確認し、必要なものだけ `mark_read_required` / `add_reference` する。
- AutoRead budget は Compact Worker の探索 budget ではなく、compact 後の新 session 初期 context に注入される file content の合計上限として扱う。
- Compact Worker の出力は現行と同じく structured summary + auto-read + references を生成する。
## Compact Worker / compaction parameters
`[compaction]` 配下では `compact_` prefix を新規 parameter 名につけない。既存の `compact_*` key は、この ticket の実装時に同じ意味の prefix なし key へ整理する。
必要な parameter:
- `retained_tokens`
- compact 後に verbatim で残す history tail の token budget。
- `overview_target_tokens`
- 初期 overview / index 生成器が目指す通常サイズ。超過しても即失敗しない。
- `overview_warning_tokens`
- 初期 overview が想定より大きいことを記録・警告する閾値。compact は続行する。
- `overview_deadline_tokens`
- 初期 overview の最悪ケース deadline。超過時はより粗い overview へ deterministic fallback し、それでも無理な場合だけ compact を失敗させる。
- `worker_context_max_tokens`
- Compact Worker session 全体の context hard limit。system prompt、overview、assistant output、tool calls/results、session-log/file read results、`write_summary` 周辺の蓄積を含む。
- `finish_warning_remaining_tokens`
- 残り context がこの値以下になったら、Compact Worker に探索切り上げと `write_summary` を促す勧告を入れる。
- `final_reserve_tokens`
- 最終 summary と closing turn のために残す reserve。これを割り込みそうな tool result は full content を返さず、range 縮小や summary への移行を促す。
- `worker_max_turns`
- Compact Worker の tool-loop 最大 turn 数。budget 制御とは別の runaway guard。
- `summary_target_tokens`
- `write_summary` text の目標サイズ。prompt / nudge に使う。
- `summary_max_tokens`
- `write_summary` text の hard validation。超過した summary は縮約を促すか compact 成功扱いにしない。
- `auto_read_budget_tokens`
- `mark_read_required` によって compact 後の新 session に注入される file content の合計 token budget。
- `result_context_max_tokens`
- compact 成功前に dry-run する新 session 初期 context の上限。summary、auto-read contents、references、task snapshot、retained tail を含む。
- `model`
- compactor model。未指定なら main Worker の client を clone する。
Compact 発火条件の `threshold` / `request_threshold` は Compact Worker の健全性 parameter ではないが、既存の `compact_threshold` / `compact_request_threshold` を整理する場合は `[compaction]` 内の prefix なし key として扱う。
## 要件
- `build_summary_input()` / compact 入力生成を、prefix 全体の pruned transcript 一括投入から、bounded overview + index 生成に変更する。
- overview は `overview_target_tokens` を目指して生成する。
- `overview_warning_tokens` 超過時は警告・trace を記録しつつ続行する。
- `overview_deadline_tokens` 超過時はより粗い deterministic overview に fallback する。通常ケースの user-facing hard error にしない。
- User / Assistant / System message を優先し、古い detail は落としてよい。
- Tool output content は初期 input に載せない。
- Compact Worker 用の session log 探索 tool を追加する。
- 例: `search_session_log(query, filters, range)`
- 例: `read_session_items(range | item_ids, mode = compact/full)`
- 必要なら large tool result を個別に読む tool を追加する。
- 探索 tool は session-store の現在 segment / compact 対象 range を正本として読む。
- Compact 対象外の future/retained tail と混ざらないよう range 境界を明示する。
- tool result full content を返す場合は Compact Worker の残り context / `final_reserve_tokens` を守る。
- session-log/file-read 個別の総量 budget を user-facing parameter として増やさず、主制御は `worker_context_max_tokens` に寄せる。
- Compact Worker の context occupancy を request 前に見積もり、`worker_context_max_tokens` を最後の hard stop として扱う。
- Compact Worker の残り context が `finish_warning_remaining_tokens` 以下になったら、追加探索を切り上げて `write_summary` に進むよう Worker に勧告し、人間向け warning も出す。
- `final_reserve_tokens` を割り込む可能性がある tool result は、full content を返さず bounded/truncated result とし、range 縮小または `write_summary` への移行を促す。
- `write_summary` 後に `summary_max_tokens` を validation する。超過時は縮約を促し、改善できない場合は compact 成功扱いにしない。
- compact 成功前に、`summary + auto-read + references + retained tail + task snapshot` の新 session 初期 context を dry-run 見積もりし、`result_context_max_tokens` を超えないことを確認する。
- `mark_read_required` / `add_reference` の意味論は維持する。
- AutoRead は session log 上の過去 tool output ではなく、現在の workspace file を `read_file` で確認してから選ぶ。
- `auto_read_budget_tokens` は新 session 初期 context への file content 注入上限であり、Compact Worker の探索 budget ではない。
- `resources/prompts/internal/compact_system.md` の summary target は `summary_target_tokens` から反映する。
- 手動 compact / auto compact の双方で同じ経路を使う。
- 巨大 session でも Compact Worker が初回 input 上限で即停止しない。
## 完了条件
- 長い session で compact 初期 overview が transcript 全体を載せず、`overview_target_tokens` を目指して生成される unit test がある。
- `overview_warning_tokens` 超過時に compact が続行し、警告・trace が記録される test がある。
- `overview_deadline_tokens` 超過時に粗い deterministic overview へ fallback する test がある。
- Tool result content が初期 compact input に混入しないことを test で確認している。
- Compact Worker が session log overview から必要 range を tool で読み、`write_summary` まで到達できる test がある。
- `finish_warning_remaining_tokens` 到達時に Compact Worker へ探索切り上げ勧告が入り、人間向け warning も出る test がある。
- `final_reserve_tokens` を守るため、過大な tool result が bounded/truncated される test がある。
- `summary_max_tokens` 超過 summary が compact 成功扱いにならない、または縮約 nudge を受ける test がある。
- compact 後の新 session 初期 context が `result_context_max_tokens` で dry-run validation される test がある。
- `mark_read_required` / `add_reference` 既存 test が通り、auto-read budget の挙動が維持されている。
- `[compaction]` の新 parameter 名が docs / manifest schema / defaults に反映されている。
- `docs/compaction.md``resources/prompts/internal/compact_system.md` が新しい探索型 flow と budget/warning semantics に更新されている。
- `cargo fmt --check` と関連 crate の compact/session-store/pod/manifest tests が通る。
## 範囲外
- Compact summary 自体を deterministic summarizer に置き換えること。
- Memory extract / consolidation の入力方式変更。
- 過去の壊れた session log の migration。
- Compact 後の retained tail token policy の再設計。
- session-log/file-read ごとの user-facing 総量 budget を増やすこと。
## 実装メモ
現行コード上の主な起点:
- `crates/pod/src/pod.rs::compact`
- `crates/pod/src/pod.rs::build_summary_input`
- `crates/pod/src/pod.rs::build_summary_prompt`
- `crates/pod/src/compact/worker.rs`
- `crates/manifest/src/lib.rs::CompactionConfig`
- `crates/manifest/src/config.rs::CompactionConfigPartial`
- `crates/manifest/src/defaults.rs`
- `resources/prompts/internal/compact_system.md`
- `docs/compaction.md`
---
@@ -1,167 +0,0 @@
---
id: 20260528-141602-tui-pod-list-view-abstraction
slug: tui-pod-list-view-abstraction
title: TUI Pod list/view abstraction
status: closed
kind: task
priority: P2
labels: [tui, pod, architecture]
created_at: 2026-05-28T14:16:02Z
updated_at: 2026-05-28T15:40:30Z
assignee: null
legacy_ticket: null
---
## Background
TUI で扱う Pod 関連 UI は、少なくとも次の二つの後続 ticket から使われる。
- `20260527-000017-tui-spawned-pod-panel`: spawned child Pod の一覧と一時 attach。
- `20260527-000023-multi-pod-view-ui`: 複数 Pod view を行き来する UI。
両者は表示対象や操作範囲が異なる一方で、Pod の一覧取得、status 表示、visible / attachable 判定、row 表示、選択状態、view 切り替えの土台を共有する。これを各 ticket が個別に実装すると、TUI 内で Pod list / picker / view 管理が重複し、visibility model や attach 診断がずれやすい。
まず TUI 内で用いる複数 Pod の list/view model を抽象化し、後続 UI が同じ情報構造と操作プリミティブを使える状態にする。
## Design direction
Trait 階層ではなく、source ごとの data struct を name-keyed に合成した UI model を採用する。
- `StoredPod` / `LivingPod` trait は作らない。
- `LivePodInfo``StoredPodInfo` は plain data struct として扱う。
- UI は `Vec<PodListEntry>` / `PodList` を読む。
- `PodListEntry` は Pod name を primary key として、`live: Option<LivePodInfo>``stored: Option<StoredPodInfo>` を合成した normalized row にする。
- live / stored は排他的ではない。
- 起動中かつ stored metadata がある Pod。
- 起動中だが durable metadata / segment がまだ薄い pending Pod。
- stopped で stored metadata だけある Pod。
- stored metadata が壊れている Pod。
- registry にはあるが socket unreachable な Pod。
これらを enum の継承的分類へ押し込めず、entry の合成状態として扱う。
この ticket で抽象化するのは list/read/merge/selection/action eligibility の土台まで。`Method::Run` の送信、attach、restore の実行そのものは入れない。
## Requirement
- TUI crate 内に Pod list 用 module を用意する。
- 推奨名: `crates/tui/src/pod_list.rs`
- 既存 picker の private `Row` / `PodRowState` / `LivePodRecord` / `build_rows` / metadata + registry + session summary 読み取りを、この module の model / builder へ寄せる。
- TUI が Pod 一覧 UI を構成するための共通 model / state / helper を用意する。
- `PodList`
- `PodListEntry`
- `LivePodInfo`
- `StoredPodInfo`
- `PodVisibilitySource`
- `PodEntryActions` または同等の action eligibility model
- selection stateindex だけでなく Pod name を primary identity として維持できること)
- `PodListEntry` は表示情報と action eligibility を持つ。
- Pod name
- source / visibility kind(例: resume picker, current parent spawned child, future multi-view target
- live reachability / `PodStatus`
- socket path / attach target
- stored active session / segment id
- updated time / preview
- stopped / unreachable / missing state / corrupt metadata の診断情報
- `can_open`
- `can_restore`
- `can_send_now`
- `can_queue_send`
- disabled reason / diagnostic
- direct send 自体はこの ticket の範囲外だが、multi-pod view が send target 判定に使える情報は model に含める。
- live + reachable + `PodStatus::Idle` なら `can_send_now`
- running は send disabled または future queue eligible として区別できる。
- stopped は restore/open 可能だが direct send は不可。
- `tui -r` picker は新しい `PodList` / `PodListEntry` を最初の consumer として使う。
- picker の見た目・key binding・attach/restore outcome は変えない。
- existing picker-specific rendering は残してよいが、row data source は共有 model に寄せる。
- list row rendering / selection / refresh の責務境界を整理する。
- TUI widget は表示と選択に寄せる。
- Pod discovery / client protocol / registry state / session summary の取得詳細を UI 表示ロジックへ直接散らさない。
- child Pod panel と multi-Pod view UI が同じ抽象を使える設計にする。
- visibility model は変えない。
- host-wide Pod browser を新設しない。
- `tui -r` は既存 resume picker 相当の source だけを扱う。
- spawned child panel は current parent から見える child Pod のみを対象にする後続 consumer として想定する。
- multi-Pod view UI も、具体要件が決まるまではこの抽象に新しい可視範囲を勝手に足さない。
- 既存の `ListPods` / `ReadPodOutput` / `SendToPod` / `StopPod` tool semantics は変えない。
- 既存の TUI resume picker / attach flow を壊さない。
## Suggested model sketch
Exact names may differ, but implementation should keep this shape simple and data-oriented.
```rust
pub struct PodList {
pub entries: Vec<PodListEntry>,
pub selected_name: Option<String>,
}
pub struct PodListEntry {
pub name: String,
pub source: PodVisibilitySource,
pub live: Option<LivePodInfo>,
pub stored: Option<StoredPodInfo>,
pub summary: PodEntrySummary,
pub actions: PodEntryActions,
pub diagnostics: Vec<PodEntryDiagnostic>,
}
pub struct LivePodInfo {
pub socket_path: PathBuf,
pub status: Option<PodStatus>,
pub reachable: bool,
pub segment_id: Option<SegmentId>,
}
pub struct StoredPodInfo {
pub metadata_state: StoredMetadataState,
pub active_session_id: Option<SessionId>,
pub active_segment_id: Option<SegmentId>,
pub updated_at: Option<u64>,
pub preview: Option<String>,
}
pub struct PodEntryActions {
pub can_open: bool,
pub can_restore: bool,
pub can_send_now: bool,
pub can_queue_send: bool,
pub disabled_reason: Option<String>,
}
```
## Acceptance criteria
- TUI crate 内に、複数 Pod list/view UI で再利用できる typed abstraction がある。
- 既存 `tui -r` picker が、その abstraction を使って rows を構成する。
- spawned child Pod list と multi-Pod view UI の後続実装が、その abstraction を使う前提で説明できる。
- Pod row の status / reachability / attach target / diagnostic 表示に必要な情報が一箇所の model にまとまっている。
- visibility scope は caller が明示的に渡すか、source kind として表現され、UI helper が host-wide enumeration を暗黙に行わない。
- selection は refresh 後も Pod name を primary identity として維持できる。
- unit test で以下が確認されている。
- stored only row は restore/open 可能で direct send 不可。
- live idle reachable row は open/attach 可能かつ direct send 可能。
- live running reachable row は attach 可能だが direct send 可能とは扱わない。
- corrupt stored metadata は diagnostic を持つ。
- rows refresh / rebuild 後に selected Pod name が維持される。
- 既存 picker / attach 関連テストが通る。
- `cargo fmt --check`
- `cargo check -p tui -p client -p pod`
- 必要に応じて `cargo test -p tui -p pod -p protocol`
## Relationship
This is a prerequisite for:
- `20260527-000017-tui-spawned-pod-panel`
- `20260527-000023-multi-pod-view-ui`
## Out of scope
- spawned child Pod panel の完成。
- 複数 Pod view UI の完成。
- child Pod への interactive input。
- multi-Pod view からの direct send 実行。
- host-wide Pod browser。
- Pod discovery / permission / registry visibility model の変更。
- native GUI。
@@ -1,167 +0,0 @@
---
id: 20260528-141602-tui-pod-list-view-abstraction
slug: tui-pod-list-view-abstraction
title: TUI Pod list/view abstraction
status: closed
kind: task
priority: P2
labels: [tui, pod, architecture]
created_at: 2026-05-28T14:16:02Z
updated_at: 2026-05-28T15:40:30Z
assignee: null
legacy_ticket: null
---
## Background
TUI で扱う Pod 関連 UI は、少なくとも次の二つの後続 ticket から使われる。
- `20260527-000017-tui-spawned-pod-panel`: spawned child Pod の一覧と一時 attach。
- `20260527-000023-multi-pod-view-ui`: 複数 Pod view を行き来する UI。
両者は表示対象や操作範囲が異なる一方で、Pod の一覧取得、status 表示、visible / attachable 判定、row 表示、選択状態、view 切り替えの土台を共有する。これを各 ticket が個別に実装すると、TUI 内で Pod list / picker / view 管理が重複し、visibility model や attach 診断がずれやすい。
まず TUI 内で用いる複数 Pod の list/view model を抽象化し、後続 UI が同じ情報構造と操作プリミティブを使える状態にする。
## Design direction
Trait 階層ではなく、source ごとの data struct を name-keyed に合成した UI model を採用する。
- `StoredPod` / `LivingPod` trait は作らない。
- `LivePodInfo``StoredPodInfo` は plain data struct として扱う。
- UI は `Vec<PodListEntry>` / `PodList` を読む。
- `PodListEntry` は Pod name を primary key として、`live: Option<LivePodInfo>``stored: Option<StoredPodInfo>` を合成した normalized row にする。
- live / stored は排他的ではない。
- 起動中かつ stored metadata がある Pod。
- 起動中だが durable metadata / segment がまだ薄い pending Pod。
- stopped で stored metadata だけある Pod。
- stored metadata が壊れている Pod。
- registry にはあるが socket unreachable な Pod。
これらを enum の継承的分類へ押し込めず、entry の合成状態として扱う。
この ticket で抽象化するのは list/read/merge/selection/action eligibility の土台まで。`Method::Run` の送信、attach、restore の実行そのものは入れない。
## Requirement
- TUI crate 内に Pod list 用 module を用意する。
- 推奨名: `crates/tui/src/pod_list.rs`
- 既存 picker の private `Row` / `PodRowState` / `LivePodRecord` / `build_rows` / metadata + registry + session summary 読み取りを、この module の model / builder へ寄せる。
- TUI が Pod 一覧 UI を構成するための共通 model / state / helper を用意する。
- `PodList`
- `PodListEntry`
- `LivePodInfo`
- `StoredPodInfo`
- `PodVisibilitySource`
- `PodEntryActions` または同等の action eligibility model
- selection stateindex だけでなく Pod name を primary identity として維持できること)
- `PodListEntry` は表示情報と action eligibility を持つ。
- Pod name
- source / visibility kind(例: resume picker, current parent spawned child, future multi-view target
- live reachability / `PodStatus`
- socket path / attach target
- stored active session / segment id
- updated time / preview
- stopped / unreachable / missing state / corrupt metadata の診断情報
- `can_open`
- `can_restore`
- `can_send_now`
- `can_queue_send`
- disabled reason / diagnostic
- direct send 自体はこの ticket の範囲外だが、multi-pod view が send target 判定に使える情報は model に含める。
- live + reachable + `PodStatus::Idle` なら `can_send_now`
- running は send disabled または future queue eligible として区別できる。
- stopped は restore/open 可能だが direct send は不可。
- `tui -r` picker は新しい `PodList` / `PodListEntry` を最初の consumer として使う。
- picker の見た目・key binding・attach/restore outcome は変えない。
- existing picker-specific rendering は残してよいが、row data source は共有 model に寄せる。
- list row rendering / selection / refresh の責務境界を整理する。
- TUI widget は表示と選択に寄せる。
- Pod discovery / client protocol / registry state / session summary の取得詳細を UI 表示ロジックへ直接散らさない。
- child Pod panel と multi-Pod view UI が同じ抽象を使える設計にする。
- visibility model は変えない。
- host-wide Pod browser を新設しない。
- `tui -r` は既存 resume picker 相当の source だけを扱う。
- spawned child panel は current parent から見える child Pod のみを対象にする後続 consumer として想定する。
- multi-Pod view UI も、具体要件が決まるまではこの抽象に新しい可視範囲を勝手に足さない。
- 既存の `ListPods` / `ReadPodOutput` / `SendToPod` / `StopPod` tool semantics は変えない。
- 既存の TUI resume picker / attach flow を壊さない。
## Suggested model sketch
Exact names may differ, but implementation should keep this shape simple and data-oriented.
```rust
pub struct PodList {
pub entries: Vec<PodListEntry>,
pub selected_name: Option<String>,
}
pub struct PodListEntry {
pub name: String,
pub source: PodVisibilitySource,
pub live: Option<LivePodInfo>,
pub stored: Option<StoredPodInfo>,
pub summary: PodEntrySummary,
pub actions: PodEntryActions,
pub diagnostics: Vec<PodEntryDiagnostic>,
}
pub struct LivePodInfo {
pub socket_path: PathBuf,
pub status: Option<PodStatus>,
pub reachable: bool,
pub segment_id: Option<SegmentId>,
}
pub struct StoredPodInfo {
pub metadata_state: StoredMetadataState,
pub active_session_id: Option<SessionId>,
pub active_segment_id: Option<SegmentId>,
pub updated_at: Option<u64>,
pub preview: Option<String>,
}
pub struct PodEntryActions {
pub can_open: bool,
pub can_restore: bool,
pub can_send_now: bool,
pub can_queue_send: bool,
pub disabled_reason: Option<String>,
}
```
## Acceptance criteria
- TUI crate 内に、複数 Pod list/view UI で再利用できる typed abstraction がある。
- 既存 `tui -r` picker が、その abstraction を使って rows を構成する。
- spawned child Pod list と multi-Pod view UI の後続実装が、その abstraction を使う前提で説明できる。
- Pod row の status / reachability / attach target / diagnostic 表示に必要な情報が一箇所の model にまとまっている。
- visibility scope は caller が明示的に渡すか、source kind として表現され、UI helper が host-wide enumeration を暗黙に行わない。
- selection は refresh 後も Pod name を primary identity として維持できる。
- unit test で以下が確認されている。
- stored only row は restore/open 可能で direct send 不可。
- live idle reachable row は open/attach 可能かつ direct send 可能。
- live running reachable row は attach 可能だが direct send 可能とは扱わない。
- corrupt stored metadata は diagnostic を持つ。
- rows refresh / rebuild 後に selected Pod name が維持される。
- 既存 picker / attach 関連テストが通る。
- `cargo fmt --check`
- `cargo check -p tui -p client -p pod`
- 必要に応じて `cargo test -p tui -p pod -p protocol`
## Relationship
This is a prerequisite for:
- `20260527-000017-tui-spawned-pod-panel`
- `20260527-000023-multi-pod-view-ui`
## Out of scope
- spawned child Pod panel の完成。
- 複数 Pod view UI の完成。
- child Pod への interactive input。
- multi-Pod view からの direct send 実行。
- host-wide Pod browser。
- Pod discovery / permission / registry visibility model の変更。
- native GUI。
@@ -1,182 +0,0 @@
<!-- event: create author: tickets.sh at: 2026-05-28T14:16:02Z -->
## Created
Created by tickets.sh create.
---
<!-- event: close author: hare at: 2026-05-28T15:40:30Z status: closed -->
## Closed
---
id: 20260528-141602-tui-pod-list-view-abstraction
slug: tui-pod-list-view-abstraction
title: TUI Pod list/view abstraction
status: closed
kind: task
priority: P2
labels: [tui, pod, architecture]
created_at: 2026-05-28T14:16:02Z
updated_at: 2026-05-28T15:40:30Z
assignee: null
legacy_ticket: null
---
## Background
TUI で扱う Pod 関連 UI は、少なくとも次の二つの後続 ticket から使われる。
- `20260527-000017-tui-spawned-pod-panel`: spawned child Pod の一覧と一時 attach。
- `20260527-000023-multi-pod-view-ui`: 複数 Pod view を行き来する UI。
両者は表示対象や操作範囲が異なる一方で、Pod の一覧取得、status 表示、visible / attachable 判定、row 表示、選択状態、view 切り替えの土台を共有する。これを各 ticket が個別に実装すると、TUI 内で Pod list / picker / view 管理が重複し、visibility model や attach 診断がずれやすい。
まず TUI 内で用いる複数 Pod の list/view model を抽象化し、後続 UI が同じ情報構造と操作プリミティブを使える状態にする。
## Design direction
Trait 階層ではなく、source ごとの data struct を name-keyed に合成した UI model を採用する。
- `StoredPod` / `LivingPod` trait は作らない。
- `LivePodInfo``StoredPodInfo` は plain data struct として扱う。
- UI は `Vec<PodListEntry>` / `PodList` を読む。
- `PodListEntry` は Pod name を primary key として、`live: Option<LivePodInfo>``stored: Option<StoredPodInfo>` を合成した normalized row にする。
- live / stored は排他的ではない。
- 起動中かつ stored metadata がある Pod。
- 起動中だが durable metadata / segment がまだ薄い pending Pod。
- stopped で stored metadata だけある Pod。
- stored metadata が壊れている Pod。
- registry にはあるが socket unreachable な Pod。
これらを enum の継承的分類へ押し込めず、entry の合成状態として扱う。
この ticket で抽象化するのは list/read/merge/selection/action eligibility の土台まで。`Method::Run` の送信、attach、restore の実行そのものは入れない。
## Requirement
- TUI crate 内に Pod list 用 module を用意する。
- 推奨名: `crates/tui/src/pod_list.rs`
- 既存 picker の private `Row` / `PodRowState` / `LivePodRecord` / `build_rows` / metadata + registry + session summary 読み取りを、この module の model / builder へ寄せる。
- TUI が Pod 一覧 UI を構成するための共通 model / state / helper を用意する。
- `PodList`
- `PodListEntry`
- `LivePodInfo`
- `StoredPodInfo`
- `PodVisibilitySource`
- `PodEntryActions` または同等の action eligibility model
- selection stateindex だけでなく Pod name を primary identity として維持できること)
- `PodListEntry` は表示情報と action eligibility を持つ。
- Pod name
- source / visibility kind(例: resume picker, current parent spawned child, future multi-view target
- live reachability / `PodStatus`
- socket path / attach target
- stored active session / segment id
- updated time / preview
- stopped / unreachable / missing state / corrupt metadata の診断情報
- `can_open`
- `can_restore`
- `can_send_now`
- `can_queue_send`
- disabled reason / diagnostic
- direct send 自体はこの ticket の範囲外だが、multi-pod view が send target 判定に使える情報は model に含める。
- live + reachable + `PodStatus::Idle` なら `can_send_now`
- running は send disabled または future queue eligible として区別できる。
- stopped は restore/open 可能だが direct send は不可。
- `tui -r` picker は新しい `PodList` / `PodListEntry` を最初の consumer として使う。
- picker の見た目・key binding・attach/restore outcome は変えない。
- existing picker-specific rendering は残してよいが、row data source は共有 model に寄せる。
- list row rendering / selection / refresh の責務境界を整理する。
- TUI widget は表示と選択に寄せる。
- Pod discovery / client protocol / registry state / session summary の取得詳細を UI 表示ロジックへ直接散らさない。
- child Pod panel と multi-Pod view UI が同じ抽象を使える設計にする。
- visibility model は変えない。
- host-wide Pod browser を新設しない。
- `tui -r` は既存 resume picker 相当の source だけを扱う。
- spawned child panel は current parent から見える child Pod のみを対象にする後続 consumer として想定する。
- multi-Pod view UI も、具体要件が決まるまではこの抽象に新しい可視範囲を勝手に足さない。
- 既存の `ListPods` / `ReadPodOutput` / `SendToPod` / `StopPod` tool semantics は変えない。
- 既存の TUI resume picker / attach flow を壊さない。
## Suggested model sketch
Exact names may differ, but implementation should keep this shape simple and data-oriented.
```rust
pub struct PodList {
pub entries: Vec<PodListEntry>,
pub selected_name: Option<String>,
}
pub struct PodListEntry {
pub name: String,
pub source: PodVisibilitySource,
pub live: Option<LivePodInfo>,
pub stored: Option<StoredPodInfo>,
pub summary: PodEntrySummary,
pub actions: PodEntryActions,
pub diagnostics: Vec<PodEntryDiagnostic>,
}
pub struct LivePodInfo {
pub socket_path: PathBuf,
pub status: Option<PodStatus>,
pub reachable: bool,
pub segment_id: Option<SegmentId>,
}
pub struct StoredPodInfo {
pub metadata_state: StoredMetadataState,
pub active_session_id: Option<SessionId>,
pub active_segment_id: Option<SegmentId>,
pub updated_at: Option<u64>,
pub preview: Option<String>,
}
pub struct PodEntryActions {
pub can_open: bool,
pub can_restore: bool,
pub can_send_now: bool,
pub can_queue_send: bool,
pub disabled_reason: Option<String>,
}
```
## Acceptance criteria
- TUI crate 内に、複数 Pod list/view UI で再利用できる typed abstraction がある。
- 既存 `tui -r` picker が、その abstraction を使って rows を構成する。
- spawned child Pod list と multi-Pod view UI の後続実装が、その abstraction を使う前提で説明できる。
- Pod row の status / reachability / attach target / diagnostic 表示に必要な情報が一箇所の model にまとまっている。
- visibility scope は caller が明示的に渡すか、source kind として表現され、UI helper が host-wide enumeration を暗黙に行わない。
- selection は refresh 後も Pod name を primary identity として維持できる。
- unit test で以下が確認されている。
- stored only row は restore/open 可能で direct send 不可。
- live idle reachable row は open/attach 可能かつ direct send 可能。
- live running reachable row は attach 可能だが direct send 可能とは扱わない。
- corrupt stored metadata は diagnostic を持つ。
- rows refresh / rebuild 後に selected Pod name が維持される。
- 既存 picker / attach 関連テストが通る。
- `cargo fmt --check`
- `cargo check -p tui -p client -p pod`
- 必要に応じて `cargo test -p tui -p pod -p protocol`
## Relationship
This is a prerequisite for:
- `20260527-000017-tui-spawned-pod-panel`
- `20260527-000023-multi-pod-view-ui`
## Out of scope
- spawned child Pod panel の完成。
- 複数 Pod view UI の完成。
- child Pod への interactive input。
- multi-Pod view からの direct send 実行。
- host-wide Pod browser。
- Pod discovery / permission / registry visibility model の変更。
- native GUI。
---

Some files were not shown because too many files have changed in this diff Show More