Repository navigation
feat(agent-tools): add model-callable workspace workflow - #109
Merged
Merged
Conversation
Qiyuanqiii
marked this pull request as ready for review
August 18, 2026 20:23
This was referenced Aug 18, 2026
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
agent-code-tools.v1registry and exact Code/Plan/Deliver/root/Profile capability matrixworkspace_list,workspace_read,workspace_glob, andworkspace_greptools with stable pagination, UTF-8/binary/ignore/hidden/link/casing/root checks, redaction, and Workspace-bound cursorsos.Root-confined mutationsSecurity boundaries
The model receives schemas and arguments only; it cannot mint the Go-issued authority attached after provider decoding. Execution revalidates Run, Mission, Session, Workspace, root identity, root Agent, mode/profile/permission revisions, active lease, Policy, approval, and content hashes. Plan remains read-only; Review/Learn remain read-only; Cyber and Specialist receive no agent-code tools. This grants no Shell, Git, network, browser, Sandbox, or package-install authority.
Portable replacement re-hashes immediately before an atomic root-handle rename. A non-cooperating local writer can still race that final content-CAS window, but cannot redirect the mutation outside the opened Workspace; the residual is documented in ADR 0116 and Project Status.
Validation
go test -p 2 ./... -count=1 -timeout=30mgo test ./internal/store -count=1 -timeout=20mgo test -race ./internal/workspace ./internal/fileedit ./internal/toolgateway -count=1go test -race ./internal/application -run 'TestAgentCode|TestRunSupervisor.*AgentCode' -count=1go vet ./...npm run typecheck, 60 frontend test files / 246 tests, andnpm run buildnpm run check:apigit diff --checkand credential-shaped diff scanCloses #99