Repository navigation
Add governed code agent and terminal smoke coverage - #775
Merged
Merged
Conversation
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a bundled
codeagent 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
codeagent. Cowork's inherited five-minute resume lifetime is shorter than its hour-long work budget and ten-minute approvals./v1/modelsas 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.Changelog
Added
codeto inspect repositories, make focused changes and verify results with authenticated, approved client tools and a two-hour durable-run lifetime.uv run python scripts/smoke-code-tui.pyagainst a built sibling TUI to verify approvals, durable execution and local command results without invoking a vendor model.Fixed
Gates run
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