Directories
¶
| Path | Synopsis |
|---|---|
|
demo
|
|
|
demotool
command
Command demotool is the offline demo's stand-in model and its small helpers, so the demo needs neither an API key nor Python.
|
Command demotool is the offline demo's stand-in model and its small helpers, so the demo needs neither an API key nor Python. |
|
src
|
|
|
cmd/staircase
command
|
|
|
internal/agent
Package agent is stAirCase's own agent runtime: the tools a model may call, the model clients, and the topology graph that drives them in-process.
|
Package agent is stAirCase's own agent runtime: the tools a model may call, the model clients, and the topology graph that drives them in-process. |
|
internal/approvalhttp
Package approvalhttp exposes a local HTTP API for out-of-process HITL approval.
|
Package approvalhttp exposes a local HTTP API for out-of-process HITL approval. |
|
internal/audit
Package audit provides append-only checkpoint writing outside the SQLite database so that tamper evidence survives DB-level attacks (CHECK 9.2.2).
|
Package audit provides append-only checkpoint writing outside the SQLite database so that tamper evidence survives DB-level attacks (CHECK 9.2.2). |
|
internal/barrier
Package barrier lets a test hold a process at a named point, so a kill drill can wait until the process has really reached a boundary and only then hard-kill it.
|
Package barrier lets a test hold a process at a named point, so a kill drill can wait until the process has really reached a boundary and only then hard-kill it. |
|
internal/blueprint
Package blueprint reads a blueprint - a project's automation (agents, prompts, routing, cases, stories and their scope) kept as files in its own repository - into an immutable snapshot identified by its content hash.
|
Package blueprint reads a blueprint - a project's automation (agents, prompts, routing, cases, stories and their scope) kept as files in its own repository - into an immutable snapshot identified by its content hash. |
|
internal/certificate
Package certificate is the change certificate (docs/adr/0002): a small in-toto statement about one commit, signed in a DSSE envelope, that says how the change was made and decided.
|
Package certificate is the change certificate (docs/adr/0002): a small in-toto statement about one commit, signed in a DSSE envelope, that says how the change was made and decided. |
|
internal/gate
Package gate implements the stAirCase pre-run quality gate system.
|
Package gate implements the stAirCase pre-run quality gate system. |
|
internal/governance
Package governance installs a team's rules and trusted keys from a governance repository into a workspace, pinned to an exact commit (ROADMAP phase 4: git as the control plane).
|
Package governance installs a team's rules and trusted keys from a governance repository into a workspace, pinned to an exact commit (ROADMAP phase 4: git as the control plane). |
|
internal/llm
Package llm talks to chat models that can call tools, over plain HTTPS: one OpenAI-compatible client (the LLM gateway, OpenAI, xAI, Gemini) and one Anthropic client, plus recording and offline replay of their exchanges.
|
Package llm talks to chat models that can call tools, over plain HTTPS: one OpenAI-compatible client (the LLM gateway, OpenAI, xAI, Gemini) and one Anthropic client, plus recording and offline replay of their exchanges. |
|
internal/obs
Package obs provides structured logging with automatic redaction of sensitive fields (CHECK 10.1.2).
|
Package obs provides structured logging with automatic redaction of sensitive fields (CHECK 10.1.2). |
|
internal/orchestrator
Package orchestrator implements the stAirCase run lifecycle state machine.
|
Package orchestrator implements the stAirCase run lifecycle state machine. |
|
internal/orchestrator/runtest
Package runtest runs an in-process agent against a throwaway workspace and repository, for tests of the orchestrator and of agents.
|
Package runtest runs an in-process agent against a throwaway workspace and repository, for tests of the orchestrator and of agents. |
|
internal/persistence
Package persistence - RotationLock provides a filesystem advisory lock that prevents concurrent key-rotation operations (CHECK 4.3.3).
|
Package persistence - RotationLock provides a filesystem advisory lock that prevents concurrent key-rotation operations (CHECK 4.3.3). |
|
internal/plan
Package plan is what compile produces and run executes: a case's topology, prompts and context as canonical JSON, checked before every run.
|
Package plan is what compile produces and run executes: a case's topology, prompts and context as canonical JSON, checked before every run. |
|
internal/policy
Package policy evaluates auto-approval rules against HITL yield requests.
|
Package policy evaluates auto-approval rules against HITL yield requests. |
|
internal/policysim
Package policysim runs expected-outcome scenarios against a policy file through the same admission code a real run uses (the deciders: policy rules, guards, drift supervision, limits, task and evidence approval), so that what a policy must do and must not do can be asserted in CI.
|
Package policysim runs expected-outcome scenarios against a policy file through the same admission code a real run uses (the deciders: policy rules, guards, drift supervision, limits, task and evidence approval), so that what a policy must do and must not do can be asserted in CI. |
|
internal/signal
Package signal asks an evaluation model, such as TypeSafe AI's Jev, typed questions about a proposed change.
|
Package signal asks an evaluation model, such as TypeSafe AI's Jev, typed questions about a proposed change. |
|
internal/sshsig
Package sshsig signs and checks payloads with SSH keys, through ssh-keygen (the format git uses for SSH-signed commits).
|
Package sshsig signs and checks payloads with SSH keys, through ssh-keygen (the format git uses for SSH-signed commits). |
|
internal/testdeps
Package testdeps is for tests that need a program the machine may not have.
|
Package testdeps is for tests that need a program the machine may not have. |
|
internal/vsa
Package vsa builds SLSA Verification Summary Attestations (VSA v1, SLSA v1.2) for commits that `staircase verify` accepted: what was verified, by whom, under which policy, from which attestations.
|
Package vsa builds SLSA Verification Summary Attestations (VSA v1, SLSA v1.2) for commits that `staircase verify` accepted: what was verified, by whom, under which policy, from which attestations. |
|
internal/webhookauth
Package webhookauth provides HMAC-SHA256 request/response authentication for the webhook approval channel.
|
Package webhookauth provides HMAC-SHA256 request/response authentication for the webhook approval channel. |
|
tools/jeveval
command
Command jeveval measures an evaluation model (such as typesafe-ai/jev) on labelled code changes with the questions stAirCase's signal asks (signal.ReviewQuestions): accuracy, calibration (Brier score), missed risky changes, latency and cost.
|
Command jeveval measures an evaluation model (such as typesafe-ai/jev) on labelled code changes with the questions stAirCase's signal asks (signal.ReviewQuestions): accuracy, calibration (Brier score), missed risky changes, latency and cost. |
Click to show internal directories.
Click to hide internal directories.