Skip to content

Add governed code agent and terminal smoke coverage - #775

Merged
blakebauman merged 1 commit into
mainfrom
feat/code-agent
Nov 14, 2026
Merged

blakebauman merged 1 commit into
mainfrom
feat/code-agent

Conversation

@blakebauman

@blakebauman blakebauman commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Add a bundled code agent for repository work, derived from cowork with coding instructions, coding starters, authenticated local tools, and a two-hour durable-run lifetime. Cowork's manifest is unchanged.

Add a reusable terminal smoke test that starts the real HTTP API and durable fiber loop with isolated memory stores and a scripted model, drives both approval prompts in the built companion TUI, and verifies the command output reaches the model and the terminal.

Evidence re-verified at HEAD

  • The base branch has no bundled code agent. Cowork's inherited five-minute resume lifetime is shorter than its hour-long work budget and ten-minute approvals.
  • The new agent is listed through /v1/models as a client workspace, refuses anonymous execution, gates shell delegation, preserves failed client results, and recovers after a worker lease expires without a stale worker invoking it twice.
  • The built TUI completed the real HTTP/approval/fiber/local-shell path with two scripted model calls and no vendor calls.

Changelog

Added

  • Coding agent: select code to inspect repositories, make focused changes and verify results with authenticated, approved client tools and a two-hour durable-run lifetime.
  • Terminal smoke check: run uv run python scripts/smoke-code-tui.py against a built sibling TUI to verify approvals, durable execution and local command results without invoking a vendor model.

Fixed

  • Reconnect documentation: distinguish foreground runs that end on disconnect from durable runs that continue in the worker.

Gates run

ruff check .: All checks passed!
code-agent integration and unit tests: 8 passed
schemas/manifest.schema.json is current
strict bundle validation: validated 19 manifests
markdownlint-cli2........................................................Passed
real-stack terminal smoke: passed=true, model_calls=2, vendor_calls=0, tui_exit_code=0

The broader suite passed during implementation: 10656 passed, 708 skipped, 3 warnings in 78.62s. The additional lease-recovery test was subsequently verified in the final targeted run above.

Not verified

Live vendor-model behavior and separate API/worker deployment with Postgres and Redis. Lease-expiry recovery is tested with a controlled clock; the smoke test uses the production API/compiler/fiber path with in-memory stores. A fresh full-suite run at final HEAD was not repeated after the additional integration test.

Companions

Felix-Thread: not applicable

@blakebauman
blakebauman merged commit 54e60a7 into main Nov 14, 2026
24 checks passed
@blakebauman
blakebauman deleted the feat/code-agent branch November 14, 2026 15:34
@blakebauman blakebauman mentioned this pull request Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant