Documentation
¶
Overview ¶
Package surla holds the go.mod Surla was built from, so code that needs Surla's own dependency versions reads them from the binary instead of looking for a go.mod on disk.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GoMod ¶
func GoMod() string
GoMod returns the go.mod Surla was built from. The design evaluator (internal/designeval) reads its go directive and the Goa, Goa-AI and Model versions it requires, as the Go version and generator versions for designs that do not require them. Because the file is compiled in, the result does not depend on the working directory or on a source checkout being present.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
surla
command
Command surla runs the Surla MCP software factory control-plane server and CLI utilities (`surla init`, `surla serve`, `surla preview`, `surla preview-change`, `surla diff`, `surla verify` and `surla approve`).
|
Command surla runs the Surla MCP software factory control-plane server and CLI utilities (`surla init`, `surla serve`, `surla preview`, `surla preview-change`, `surla diff`, `surla verify` and `surla approve`). |
|
Package design defines the Goa and Goa-AI MCP contract for the Surla software factory control plane.
|
Package design defines the Goa and Goa-AI MCP contract for the Surla software factory control plane. |
|
targetprompt
Package targetprompt describes, from Surla's side, the one operation Surla calls on a live CP3 target to change a prompt's text.
|
Package targetprompt describes, from Surla's side, the one operation Surla calls on a live CP3 target to change a prompt's text. |
|
gen
|
|
|
internal
|
|
|
abspath
Package abspath resolves existing filesystem paths without changing which directory a symlink followed by a parent component selects.
|
Package abspath resolves existing filesystem paths without changing which directory a symlink followed by a parent component selects. |
|
controlplane
Package controlplane implements the Surla MCP software factory control plane: authenticated intent & ambiguity resolution (CP1), evaluated C4 architecture & cost/safety guardrail preview (CP2), target-bound Fast Draft Mode prompt overrides (CP3), and recorded promotion approval of a passed verification report (CP5).
|
Package controlplane implements the Surla MCP software factory control plane: authenticated intent & ambiguity resolution (CP1), evaluated C4 architecture & cost/safety guardrail preview (CP2), target-bound Fast Draft Mode prompt overrides (CP3), and recorded promotion approval of a passed verification report (CP5). |
|
designeval
Package designeval evaluates Go/Goa/Goa-AI/Model design sources by compiling a standalone evaluator binary and executing it inside verify/candidate.Exec's OS-enforced single-process sandbox.
|
Package designeval evaluates Go/Goa/Goa-AI/Model design sources by compiling a standalone evaluator binary and executing it inside verify/candidate.Exec's OS-enforced single-process sandbox. |
|
diff
Package diff compares generated sources, domain declarations, Model diagrams, agent policies, and module dependencies without claiming runtime compatibility.
|
Package diff compares generated sources, domain declarations, Model diagrams, agent policies, and module dependencies without claiming runtime compatibility. |
|
gitcapture
Package gitcapture captures read-only working-tree snapshots of a Git repository and materializes them into isolated verification clones without mutating the user's checkout or index.
|
Package gitcapture captures read-only working-tree snapshots of a Git repository and materializes them into isolated verification clones without mutating the user's checkout or index. |
|
goldenpath
Package goldenpath embeds and serves the public Golden Path architecture playbook (`GOLDEN_PATH.md`) for building multi-service agentic platforms on the Goa Design suite (goa, goa-ai, pulse, clue, model, and chorus).
|
Package goldenpath embeds and serves the public Golden Path architecture playbook (`GOLDEN_PATH.md`) for building multi-service agentic platforms on the Goa Design suite (goa, goa-ai, pulse, clue, model, and chorus). |
|
procgroup
Package procgroup runs a command in its own process group and stops the whole group, so a command that starts children (go build starting the compiler, a suite starting candidates and Temporal) never leaves them running after it returns.
|
Package procgroup runs a command in its own process group and stops the whole group, so a command that starts children (go build starting the compiler, a suite starting candidates and Temporal) never leaves them running after it returns. |
|
scaffold
Package scaffold creates a new Surla starter project for `surla init`: a Goa / Goa-AI service whose helper agent prices items through a tool, plus a starter evaluator suite that `surla verify` runs against it.
|
Package scaffold creates a new Surla starter project for `surla init`: a Goa / Goa-AI service whose helper agent prices items through a tool, plus a starter evaluator suite that `surla verify` runs against it. |
|
swarm
Package swarm plans deterministic Chorus multi-agent role assignments, capability- and cross-family model routing, and pinned collaboration manifests for Surla builds.
|
Package swarm plans deterministic Chorus multi-agent role assignments, capability- and cross-family model routing, and pinned collaboration manifests for Surla builds. |
|
testmodule
Package testmodule builds real Go module snapshots of Goa designs for tests of the design evaluator and its callers.
|
Package testmodule builds real Go module snapshots of Goa designs for tests of the design evaluator and its callers. |
|
verify
Package verify turns an evaluator suite's eval.Report into Surla's CP4 verification report and checks, at CP5, that the report still describes the change being promoted.
|
Package verify turns an evaluator suite's eval.Report into Surla's CP4 verification report and checks, at CP5, that the report still describes the change being promoted. |
|
verifyrun
Package verifyrun runs one Checkpoint 4 verification in processes that outlive the API that accepted it, and reads its state back from disk.
|
Package verifyrun runs one Checkpoint 4 verification in processes that outlive the API that accepted it, and reads its state back from disk. |
|
verify
|
|
|
candidate
Package candidate is the only place Surla executes candidate code.
|
Package candidate is the only place Surla executes candidate code. |
|
suite
Package suite implements Surla's evaluator suite command contract: the protocol between `surla verify` and an evaluator suite program.
|
Package suite implements Surla's evaluator suite command contract: the protocol between `surla verify` and an evaluator suite program. |
Click to show internal directories.
Click to hide internal directories.