Commit Graph
5 Commits
Author SHA1 Message Date
Rohit C Prasad c33fe00495 Feature worktrees for the Code coworker, with settings
start_worktree creates a branch + worktree by policy and moves the session into it.
Settings card: location, branch prefix, fetch-first, setup command, cleanup on archive.
Rail shows the branch; clean worktrees are removed when the session is archived.
2026-11-07 15:38:56 -08:00
Rohit C Prasad 7c7a2941ea code persona: promoted, with eight working principles and coding starters
Ships surfaced and enabled beside the everyday Coworker (supersedes the
2026-08-21 lineup for Code only); prompt rebuilt around the discipline of
a worktree per feature, explore-first subagents, proof by tests.
2026-11-07 15:14:51 -08:00
Devika Verma 45c283d75f shell_task_output: wait_seconds, so an agent can wait for a background task instead of polling it (OPE-227)
shell_task_output returned at once, and run_shell's description told the model to poll it. That is right for a dev server (nothing to wait for) and wrong for a build or test run the next step depends on: every poll is a full model call, and the only alternative, run_shell("sleep N"), is a blind wait capped at 600 s. Measured on a sealed evaluation run: 297 polls on one background job, ~$8.50 of cache reads and ~50 min of a 90-min clock spent asking whether it had finished.

wait_seconds (default 0 = unchanged) blocks until the task exits, prints new output, or the user interrupts, up to the shell's 600 s ceiling; the record gains waited_seconds. The sandbox path carries the wait over the socket and stretches the client's RPC timeout to cover it (it was a hard 30 s). Descriptions reworded, generically: check background processes with shell_task_output; if your next step depends on one finishing, pass wait_seconds rather than polling.

Tests, on both executor variants: returns early on exit (with the last line), returns early on new output, gives up at the deadline while running, wait_seconds 0 / negative / omitted unchanged, cap advertised and applied.
2026-10-20 22:36:47 +05:30
Rohit C Prasad 1299760400 Personas: requires_folder/subagents/scheduling traits replace family and the workspace enum
Manifest keeps a legacy family shim; telemetry wire fields unchanged.
No behavior change; spec in ocw-context/docs/workspace-scratch-design.md.
2026-08-20 21:19:56 -07:00
Rohit C PrasadandDevika 2b45018ffa OpenWorker: initial import
Imported from andrewyng/aisuite@1b4bbf303e
(contents of its platform/ directory, hoisted to the repo root).
Development history prior to this commit lives in that repository.

Co-authored-by: Devika <devikaverma11@gmail.com>
2026-07-21 11:09:41 -07:00