Repository navigation
Captain Code v0.3.6
Euclid search
- Workers can search files and code.
captain euclid search,captain euclid code, and the MCPsearch/file_searchtools. Default documents exclude journals.include_journalsadds them. Config search returns tracked paths and no file values. - CodeIntel is behind code search. Euclid asks CodeIntel for declaration hits and fuses them into the code lane. The chain stops at four nested MCP launches. A config file cannot reset that count. CodeIntel's MCP endpoint rejects a callback into Euclid.
- A failed search is an error. It is not reported as zero matches. If CodeIntel is slow or down, Euclid keeps its local hits.
- Plain
-rrrefuses a mismatch. IfCAPTAIN_EUCLID_MCP_CONFIGis set and the revision has noEngineSearchOptions, the launcher stops before it replaces the binary or stops the brain. Use-rr --checkoutonly for a reviewed working tree.
OpenShell
- Confirm the sandbox from the prompt. If
CAPTAIN_OPENSHELL_ALLOWEDorCAPTAIN_OPENSHELL_VERIFYis unset, the sandbox does not start. Captain prints the files the task cites that exist atHEAD, and a test command detected from the repo. You start the run by prefixing the task:confirm allowed=file.go verify=["go","test","./..."]. A path only a model added is not accepted.CAPTAIN_OPENSHELL_PREPAREDandCAPTAIN_OPENSHELL_PILOTstay machine settings. - A strict cap prices the director. The reservation is $0.05 per planner call (
CAPTAIN_OPENSHELL_DIRECTOR_USD). It is taken out of the worker budget before the sandbox starts./team /openshellis no longer refused only because the planner call had no price. - Shield's committed spend is charged. When the provider bill is incomplete and every started worker has a Shield budget, that committed amount is the ledger charge. A complete bill still wins. An incomplete bill with no Shield budget stays unknown.
- A strict-capped run can resume. Spent commitments and the director reservation are subtracted from the saved cap. The remainder is split across the stages that are left.
- A crash mid-stage reruns that stage. A stage that finished but whose checkpoint is stale is reused. A stage that was still running, and does not revalidate, is set aside and rerun. The crashed directory is not the verified export. Deleting a completed stage's
run.jsonstill refuses the resume.
Docs
- The M3.7 sections of
docs/ROADMAP.mdsay shipped in v0.3.0, not unreleased.
Still open: mixed host and sandbox stages, and the upstream VM-driver vouch (NVIDIA OpenShell discussion #4079, PR #3940 still closed).
Install or update: go install github.com/lemma-ventures/captaincode/cmd/captaincode@latest.
If the module proxy still serves an older tag, use GOPROXY=direct go install github.com/lemma-ventures/captaincode/cmd/captaincode@v0.3.6.