A deterministic operational boundary for probabilistic AI engineering agents.
Português: README_PT-BR.md
Surgical DevOps is an open-source development orchestrator that keeps AI models outside the operational trust boundary. Models may reason, explain, and propose. Human authority, scope, execution, evidence, mutation, and failure handling remain governed by deterministic contracts.
The project does not claim to make a language model deterministic. It makes the operational system around the model explicit, bounded, auditable, and fail-closed.
| Evidence | Value |
|---|---|
| Release line | Surgical AI Control Plane product v0.1.0-beta.1 on Surgical DevOps v2.6.0-rc.6 |
| Qualified architectural parent | ecc87210f0ab3aee93064bba917d859e7028e706 |
| Historical release-candidate baseline | 24f0f1946eb795b3464b2846953e191755b9c8c3; preserved for the rc.6 evidence chain |
| Historical exact-ref qualification | Accelerator Conformance 34860826996; Ubuntu, macOS, and Windows: PASS |
| Historical main-push qualification | Accelerator Conformance 34862373028; same SHA and native matrix: PASS |
| Review binding policy | RUNTIME_EXACT_SHA_EVIDENCE; CI produces the exact SHA/run/artifact tuple |
| Product qualification | Exact feature-branch SHA, native runs, and artifact hashes are recorded by CI; no public release is authorized |
| Active normative protocols | BH-SEP v2.4 + BH-SDP v2.4; containment integrated in RAW |
The complete trail, including runs that failed before the green baseline, is in Engineering Evidence. Independent reviewers can start with the External Engineering Review Package.
AI engineering tools are probabilistic, but filesystem writes, process execution, Git state, credentials, and production mutation require deterministic authority:
Human objective
|
v
Probabilistic cognition (no operational authority)
|
v
Deterministic admission and authority contracts
|
v
Canonical Orchestrator
|
v
Governed adapter -> bound evidence or fail-closed result
The AI provider never becomes an authority provider. A useful answer, a plan, or a confident model output does not authorize a physical operation.
- Human sovereignty: critical authority originates from verified human intent.
- Intent is not authority: natural language does not create capabilities.
- Inspect first: mutation requires declarative inspection and bounded scope.
- PATCH by default: minimal changes take precedence over broad rewrites.
- Exact grants: operations bind action, target, workspace, lifecycle, risk, and identity.
- No direct model execution: cognitive providers receive no filesystem, shell, process, network, credential, or mutation authority.
- Durable mutation state: locking, journal, commit authority, recovery, and replay remain explicit.
- Fail-closed: missing, invalid, expired, ambiguous, or unqualified evidence cannot become success.
| Platform | Qualified mechanism | Evidence status |
|---|---|---|
| Linux | Bubblewrap deny-default containment and POSIX primitives | Historical exact-ref baseline: PASS; final EER-1 artifact pending authorized CI |
| macOS | Seatbelt deny-default profile applied by fixed native helper | Historical exact-ref baseline: PASS; final EER-1 artifact pending authorized CI |
| Windows | Fixed Win32 security/durability helper and governed adapters | Historical exact-ref baseline: PASS; final EER-1 artifact pending authorized CI |
These mechanisms are not presented as identical sandboxes. They are different native implementations evaluated against common bounded contracts. See Engineering Evidence.
- NATURAL: outcome-oriented language and progressive disclosure.
- ENGINEER: natural language with relevant technical evidence.
- EXPERT: deterministic command-oriented control.
NATURAL may automatically discover and activate only a qualified local Ollama model already installed behind the canonical loopback transport; it never downloads a model. External providers are explicit opt-in only, and an explicit human selection is never silently replaced. No selection grants operational authority. Providers are replaceable and remain outside operational authority. Broad analyses in NATURAL mode cross human authorization, bind a deterministic physical workspace session, open a governed discovery index, inspect sensitive content before provider exposure, evaluate micro-reads against a bounded task envelope, and record an audit without content.
For advanced repository engineering, OpenAI Codex is the recommended reference agent and the closest target to the complete conversational development loop. This recommendation grants no privileged authority and claims no universal comparative superiority. See the bilingual AI provider selection guide.
ENGINEER mode adds an immutable proposal bound to the observed READ_FILE target
and the actual BEFORE SHA-256. The flow must stop at
HUMAN_AUTHORITY_REQUIRED; physical mutation remains a separate explicit R3
operation.
Declared runtime: Node.js >=24.18.0.
Install the supplied beta artifact; no development source checkout is required:
npm install -g ./surgical-dev-ops-2.6.0-rc.6.tgz
surgical init --profile developer
surgical doctor
surgical start
surgical demoSee the customer documentation for repository onboarding, authority, evidence, recovery, upgrade, and removal.
To run the governed Codex SDK integration with the same command on Linux, macOS, and Windows:
npm run start:codexThis path uses the local Codex authentication already configured on the machine. Codex remains cognitive-only and read-only; physical mutations continue through the governed Surgical DevOps adapters.
The compatibility executable surgical is also provided. To run the suite:
On first launch in a human terminal, bilingual onboarding selects one of the
three experiences provided by the same installation: NATURAL, ENGINEER, or
EXPERT. To redo the interface preference:
surgical-devops --configureTo use a profile only for the current invocation, without changing the saved preference:
surgical-devops --interaction NATURAL
surgical-devops --interaction ENGINEER
surgical-devops --interaction EXPERTTo select the complete human-facing language only for the current invocation, without rewriting the saved preference:
surgical-devops --language pt-BR
surgical-devops --language enThe preference contains no operational authority. All profiles use the same Orchestrator and the same BH-SEP/BH-SDP, R3, journal, Manifest CAS, and anti-replay contracts.
To run the suite:
npm ci
npm testProtocol versions are independent from the Surgical DevOps software release;
v2.6.0-rc.6 identifies the Surgical runtime, while product v0.1.0-beta.1
identifies the customer surface and BH-SEP and BH-SDP v2.3 govern the
current runtime.
- BH-SEP v2.2 — original RAW
- BH-SDP v2.2 — original RAW
- BH-SEP v2.2 — stable repository path
- BH-SDP v2.2 — stable repository path
- BH-SEP v2.2 — English translation
- BH-SDP v2.2 — English translation
- BH-SEP v2.3 — original RAW
- BH-SDP v2.3 — original RAW
- BH-SEP v2.3 — English translation
- BH-SDP v2.3 — English translation
- BH-SEP v2.4 — original RAW
- BH-SDP v2.4 — original RAW
- BH-SEP v2.4 — English translation
- BH-SDP v2.4 — English translation
- BH-SEP + BH-SDP v2.4 — combined PT-BR copy
- BH-SEP + BH-SDP v2.4 — combined English translation
- Integrated containment profile — PT-BR
- Integrated containment profile — English
The active protected profile is BH-SEP v2.4 + BH-SDP v2.4 with containment integrated directly into the normative RAW. v2.3 remains immutable historical evidence.
- Operational entry point — English
- Ponto de entrada operacional — PT-BR
- BH-CONTAINMENT extension — English
- Extensão BH-CONTAINMENT — PT-BR
The historical v2.3 protected profile is BH-SEP v2.3 + BH-SDP v2.3 + BH-CONTAINMENT. It remains preserved as immutable historical evidence and must not be used as a less restrictive fallback for the active v2.4 contained profile.
Future versions must use new versioned paths and must not overwrite or redirect the original RAW artifacts. See Protocol Preservation and ADR-018.
- Engineering Evidence Trail
- Documentation Map
- Trust Boundary — ADR-004
- Human Authority — ADR-006
- Journal and Recovery — ADR-007
- Windows Adapter — ADR-008
- Content-Addressed Authority — ADR-010
- Interaction Modes — ADR-011
- Governed AI Behavior — ADR-014
- Complete Bilingual Human Experience — ADR-031
- Deterministic Governed Workspace Experience — ADR-034
- NATURAL Governed Agentic Experience — ADR-036
- Integrated Governed Agent Gateway — ADR-037
- Governed Control Plane Physical Execution — ADR-042
- Commercial Beta Production Gate and Writer Recovery — ADR-043
- Physical Execution Operator Contract
- Commercial Beta Engineering Checklist
- It is not proof of absolute security.
- It does not make probabilistic model reasoning deterministic.
- It does not claim universal durability against physical power loss.
POWER_LOSS_VALIDATEDremains false until specific physical qualification.- Strict pathname CAS remains unqualified according to ADR-009.
- Windows, Linux, and macOS do not have identical isolation primitives.
- External adversarial review remains a separate qualification.
- The reproducible external challenge is available at
docs/review/TRY_TO_BREAK_IT.md.
Unsupported claims remain unqualified rather than becoming green.
Read CONTRIBUTING.md. Changes must preserve the authority model, bilingual parity, stable RAW artifacts, and fail-closed behavior.
MIT © 2026 Thales Rangel.