OSA ProofDocs
Proof-first · Documentation

OSA Framework Docs.

OSA Proof is verifiable AI agent execution infrastructure. It binds missions, runtime evidence, deterministic ProofReceipt V2 verification, signed ActionReceipts and Merkle commitments. Two actual signed Jeverson jobs were independently verified against the OSA Registry on Solana Devnet on 2026-11-27. Inspect the execution evidence.

Start / OSA Framework
Start

Start

Quickstart

You need Node.js 20 or newer. The deterministic fixture mode needs no API key.

  1. Clone and install
    Dependencies are locked in package-lock.json.
    shell
    git clone https://github.com/HazEOskA/osa-proof.git
    cd osa-proof
    npm ci
  2. Run the tests
    Checks that HTTP documentation matches the source manifest, builds TypeScript and runs the current node test suite. The pass/skip totals come from each actual test run, not this page.
    shell
    npm test
  3. Start the API in fixture mode
    OSA_EXECUTION_MODE is required. There is no default: a missing or unknown value refuses to start. Login is on by default (auth modes).
    shell
    npm run build
    OSA_EXECUTION_MODE=fixture PORT=3000 node dist/apps/api/src/server.js
  4. Switch to a real model
    Provider mode calls Anthropic or OpenAI behind the ModelProvider interface. Missing provider, model or key refuses to start.
    shell
    OSA_EXECUTION_MODE=provider \
    OSA_PROVIDER=anthropic \
    OSA_MODEL=<model id> \
    ANTHROPIC_API_KEY=<secret> \
    node dist/apps/api/src/server.js

Your first mission

Register a two-agent Team Graph, submit a mission with one acceptance requirement, run it, and read the receipt. The server decides which implementation serves dev.planner.v1 and dev.builder.v1.

0. Log in (DEV)

POST /auth/dev-login
TOKEN=$(curl -s localhost:3000/auth/dev-login -H 'content-type: application/json' \
  -d '{"display_name":"Dev","email":"dev@example.com"}' | node -pe 'JSON.parse(require("fs").readFileSync(0)).session.token')

Local-dev scope: POST /auth/dev-login assigns organization_id=org_dev_local to the session. The POST /teams and POST /missions examples must use that organization. A different organization returns 403 TENANT_SCOPE_DENIED. This is a local DEV identity, not a production operator authorization.

1. Register the team

POST /teams
curl -s localhost:3000/teams -H "authorization: Bearer $TOKEN" -H 'content-type: application/json' -d '{
  "organization_id": "org_dev_local", "project_id": "project_dev", "team_id": "team_dev", "version": "1",
  "agents": [
    { "agent_id": "planner", "role": "planner", "executor_ref": "dev.planner.v1" },
    { "agent_id": "builder", "role": "builder", "executor_ref": "dev.builder.v1" }
  ],
  "edges": [{ "edge_id": "planner_to_builder", "from_agent_id": "planner", "to_agent_id": "builder", "kind": "handoff" }]
}'

2. Submit the mission

POST /missions
curl -s localhost:3000/missions -H "authorization: Bearer $TOKEN" -H 'content-type: application/json' -d '{
  "organization_id": "org_dev_local", "project_id": "project_dev", "mission_id": "mission_hello",
  "team_id": "team_dev", "team_version": "1", "entry_agent_id": "planner",
  "objective": "Write landing page copy", "input": { "request": "Write landing page copy" },
  "requirements": [{ "requirement_id": "artifact_status", "type": "evidence_field_equals",
    "evidence_kind": "artifact", "agent_id": "builder", "field": "status", "expected": "built" }]
}'

3. Run it and read the proof

POST /missions/:id/run · GET /runs/:id/proof
RUN=$(curl -s -X POST localhost:3000/missions/mission_hello/run -H "authorization: Bearer $TOKEN" | node -pe 'JSON.parse(require("fs").readFileSync(0)).run_id')
curl -s localhost:3000/runs/$RUN/proof -H "authorization: Bearer $TOKEN"

Core concepts

All input surfaces use the same Team Graph. The runtime records events and its own tool calls; Attribution Gate v1 links recognized claims to responses, and the verifier computes the result. The absence of a recognized claim does not establish the validity of all facts.

Canonical state

Team Graph

Agents, their executor refs and the edges between them. Validated before every run. Today: linear handoff.

packages/team-graph
Intent

Mission

An objective, an input and explicit acceptance requirements. A mission without requirements is rejected.

packages/contracts
Execution

Runtime and executors

Walks the graph and calls each executor through the ExecutorRegistry. Providers sit behind ModelProvider.

packages/runtime · packages/adapters
Evidence

Evidence records

Bound to one execution. Core computes evidence_sha256 and content digests; executor hashes are claims. Calls through context.callTool() create a separate runtime record that an agent cannot replace with its own evidence.

packages/evidence
Decision

Deterministic verifier

Checks binding, digests and mission requirements. Attribution Gate is enabled by default; recognized unsupported or contradicted claims can cause FAILED in enforcement mode.

packages/proof-core
Output

Proof receipt

Sealed after the verdict: proof_id binds the result, evidence and output. Tool records use tool_call_refs/tool_call_root; egress is NOT_ENFORCED and the V2 signature is UNAVAILABLE. Signed ActionReceipts are separate.

packages/proof-core

How a run is proven

Six stages: Team Graph, mission, runtime, evidence, verifier and receipt. Runtime failures prevent VERIFIED. In enforcement mode, Attribution Gate may fail recognized unsupported claims; chat uses REPORT_ONLY, preserving observations without automatically rejecting the execution verdict. This integrity pipeline is not a network sandbox or an independent signature of origin.

01Team Graphvalidated
02Missionrequirements set
03Runtimeexecution_id bound
04Evidencehashed by core
05Verifierobserves, decides
06Receiptsealed

Proof receipt

Historical sample from runtime commit a321fd2, dated 2026-09-28, trimmed for length. It is not a freshly replayed proof against current HEAD. This historical example lacks newer Attribution Gate v1 fields (claim_attribution, tool_call_root); VERIFIED concerns only the scope of recorded evidence. verifyProofReceipt recomputes committed hashes (integrity within the trusted inputs), not an independent attestation of origin. For an unanchored, unsigned receipt without trusted timestamps or an external append-only log, an actor able to rewrite the store could replace data and recompute matching hashes.

GET /runs/:id/proof
{
  "proof_id": "proof_75811c7c721e14f4a0dddfee97259da39064852055b151b7dc0f88aead0ed04f",
  "schema": "osa.proof_receipt.v2",
  "verdict": "VERIFIED",
  "run_id": "run_6101dd364aefa2249058d90f",
  "execution_id": "exec_f73d431f-5087-412a-a355-c016bc06353a",
  "mission_id": "mission_landing_copy",
  "team_id": "team_dev",
  "team_version": "1",
  "requirement_verdicts": [
    {
      "requirement_id": "artifact_status",
      "verdict": "VERIFIED",
      "evidence_ids": [
        "run_6101dd364aefa2249058d90f:exec_f73d431f-5087-412a-a355-c016bc06353a:evidence:2"
      ],
      "reason": "evidence satisfied the explicit acceptance requirement"
    }
  ],
  "evidence_root": "6d9b4d9c90731c9101763365f143c6ea99d38ce4cd5ca0319e1d202751be8ddd",
  "final_output_sha256": "ff9481445a64bdb1453610d917d4b3cb3ea0abb20eeb8b856dffa945ee13e663",
  "created_at": "2026-09-28T09:21:00.000Z",
  "verifier": {
    "name": "osa-proof-deterministic",
    "version": "2"
  },
  "evidence_refs": [
    {
      "evidence_id": "run_6101dd364aefa2249058d90f:exec_f73d431f-5087-412a-a355-c016bc06353a:evidence:1",
      "evidence_sha256": "b5312892765aa0503e23762e89b48607b637f455501ae16632d9d1154281db66"
    },
    {
      "\u2026": "1 more"
    }
  ]
}
VerdictWhen
VerifiedEvery requirement is met by evidence that passed binding and digest checks, and the runtime did not fail.
FailedEvidence contradicts a requirement, fails an integrity check, or the runtime failed.
IncompleteThe evidence a requirement needs was never produced.

Layers

One core, six entry points. School enters directly, Dev needs a DEV login, regulated layers fail closed until organization verification exists.

SchoolAcademyPublic
DevBuilder / CoreDEV login
BankRegulatedGated
FinancialRegulatedGated
CybersecurityRegulatedGated
ArmyRegulatedGated

Auth modes

OSA_AUTH_MODE decides whether the API asks for a login. Unset means session. Any value other than session or open refuses to start.

ModeWhereBehaviour
sessionDefaultRoutes marked session in the generated API table need Authorization: Bearer <token> from POST /auth/dev-login (development) when session mode is active. Missing or revoked token: 401. This includes POST /runs/:id/labels. Routes marked public have no blanket login in session mode; extra scope or private-memory checks may still apply.
openExplicitly configured deployments (including some Preview and Production environments)No login. Requests share the explicit OPEN MODE identity, and GET /build/status reports auth_mode: "open". This is not multi-user isolation. Regulated layers stay gated; additional access restrictions are endpoint-specific.

Intelligence layer

Nine modules. Each one reports a status computed from its own proofs, not declared. The dashboard shows each report live under Intelligence in the sidebar. GET /intelligence returns every report with a report_sha256.

  1. No implementation: SOON.
  2. Implemented, but a required proof is missing, failing or throwing: PREVIEW.
  3. Every required proof passes and every dependency is LIVE: LIVE.

Registration below describes the built-in registry in this code revision, not the live status of a deployment. Query GET /intelligence in the target environment for its computed report.

ModuleDefault registrationWhat it does
modelsREGISTEREDConfigured models, read from the environment, validated fail-closed. Details
llm-gatewayREGISTEREDRoutes to Anthropic or OpenAI. Retries follow the official SDKs: 408, 409, 429, 5xx and timeouts, honouring retry-after. Details
model-meshREGISTEREDOrdered fallback across models after retries run out (OSA_MODEL_FALLBACKS). Every hop is evidence. Details
datasetsREGISTEREDVersioned mission examples with sha256 digests. Details
evaluatorsREGISTEREDDeterministic scores and human labels bound to the receipt. Details
experimentsREGISTEREDRun a dataset against team versions and compare receipts. Details
knowledgeREGISTEREDRetrieval where every hit cites a content-addressed source. Details
context-hubNOT REGISTEREDShared context for agents. Depends on memory (neurosa) and knowledge.
memoryNOT REGISTEREDIntelligence module: SOON (not registered). The separate NeurOSA adapter is CODE · GATED; authenticated production recall and restart durability remain NOT VERIFIED. GET /memory/status reports the specific deployment configuration, not the Intelligence module status.

Models

Which model the API may call is read only from the environment and validated before any call. Proofs: config.fails_closed, models.lists_configured, provider.rejects_unknown.

  • OSA_PROVIDER is anthropic or openai. Any other value refuses to start.
  • OSA_MODEL and the provider key are required in provider mode. A missing one refuses to start and the error names the variable, never its value.

LLM Gateway

One call surface over Anthropic and OpenAI. Retry rules follow the official SDKs. Proofs: config.fails_closed, errors.redact_secrets, routing.multi_provider, calls.bounded_retries.

CaseBehaviour
RetriedConnection errors, timeouts, HTTP 408, 409, 429 and 5xx. x-should-retry: true|false overrides the status rule.
Never retriedOther 4xx, incomplete or refused output, invalid response bodies.
AttemptsOSA_PROVIDER_MAX_RETRIES + 1. Default 2 retries, allowed 0 to 10.
Delayretry-after-ms or retry-after when present and at most 60 s. Otherwise OSA_PROVIDER_RETRY_BASE_MS × 2^n (default 500 ms), capped at 8 s, minus up to 25% jitter.
EvidenceEvery provider_call record carries attempts. A run that exhausts its retries fails with each attempt's error listed, secrets redacted.
shell · OpenAI through the gateway
OSA_EXECUTION_MODE=provider OSA_PROVIDER=openai OSA_MODEL=<model id> \
OPENAI_API_KEY=<secret> OSA_PROVIDER_MAX_RETRIES=3 \
node dist/apps/api/src/server.js

Model Mesh

Ordered fallback across models, following the LiteLLM pattern: the next target is tried only after the previous one spent its gateway retries. Proofs: mesh.fallback_on_failure, mesh.evidence_per_hop.

  • Targets: the primary (OSA_PROVIDER, OSA_MODEL), then OSA_MODEL_FALLBACKS, at most 4. Each fallback needs its provider key. Duplicates and malformed entries refuse to start.
  • Only provider errors hand over to the next target. Programming errors are never swallowed.
  • provider_call evidence carries hops: every target tried, in order, with ok, attempts and the redacted error.
  • When every target fails, the run is FAILED and the receipt's runtime_failure lists each hop.
shell · primary OpenAI, fallback Anthropic
OSA_EXECUTION_MODE=provider OSA_PROVIDER=openai OSA_MODEL=<primary model> \
OPENAI_API_KEY=<secret> ANTHROPIC_API_KEY=<secret> \
OSA_MODEL_FALLBACKS="anthropic:<fallback model>" \
node dist/apps/api/src/server.js

Datasets

A dataset is a versioned set of mission examples, following the LangSmith and Braintrust model with OSA proof semantics.

  • An example is a mission template: example_id, objective, input, at least one requirement, and an optional expected.verdict, split and metadata.
  • Every add, update or delete creates a new immutable version. Old versions stay readable. A commit that changes nothing is refused with 409.
  • Tags such as prod point at a version and can move. Read with as_of = version number, tag or latest.
  • Each example has example_sha256, each version has examples_root and version_sha256. GET /datasets/:id/verify recomputes them.
  • A pinned example runs as a mission with id <dataset>@v<version>:<example>.
POST /datasets · PUT /datasets/:id/tags/:tag
curl -s localhost:3000/datasets -H 'content-type: application/json' -d '{
  "dataset_id": "release-notes", "name": "Release notes",
  "examples": [{ "example_id": "a", "objective": "Draft release notes", "input": { "request": "notes" },
    "requirements": [{ "requirement_id": "artifact_status", "type": "evidence_field_equals",
      "evidence_kind": "artifact", "agent_id": "builder", "field": "status", "expected": "built" }],
    "expected": { "verdict": "VERIFIED" } }]
}'
curl -s -X PUT localhost:3000/datasets/release-notes/tags/prod -H 'content-type: application/json' -d '{"version":1}'
curl -s "localhost:3000/datasets/release-notes?as_of=prod"

Evaluators

Evaluators score runs, following OpenAI graders and LangSmith evaluators. Only deterministic checks and human labels are allowed. A model judge is a claim, not a proof, and is refused.

TypeKindScores 1 when
verdict_matchDeterministicThe run verdict equals the example's expected.verdict.
receipt_validDeterministicThe sealed receipt verifies against evidence, observations and final output.
string_checkDeterministicA string in final_output passes eq, neq, like or ilike.
evidence_equalsDeterministicAn evidence record of the given kind has the expected field value.
human_labelLabeledA person picks a score from the fixed choices scale.
  • Definitions are content-addressed (evaluator_sha256) and immutable: the same id with different content is refused with 409.
  • Every result is an observation bound to the run's proof_id and receipt_sha256, sealed with observation_sha256. The receipt itself never changes.
  • Fail closed: when the receipt does not verify, every deterministic evaluator scores 0 and labels are refused.
POST /evaluators · POST /runs/:id/evaluations
curl -s localhost:3000/evaluators -H 'content-type: application/json' \
  -d '{"evaluator_id":"verdict","spec":{"type":"verdict_match"}}'
curl -s localhost:3000/runs/$RUN/evaluations -H "authorization: Bearer $TOKEN" -H 'content-type: application/json' \
  -d '{"evaluator_ids":["verdict"],"example":{"dataset_id":"release-notes","as_of":"prod","example_id":"a"}}'

Knowledge

Retrieval over your sources where every hit cites a content-addressed chunk. Proofs: knowledge.sources_cited, knowledge.content_digests.

  • Documents are split into chunks on blank lines (long paragraphs wrap at 800 characters). Each chunk has chunk_sha256 over its exact text; each document has document_sha256.
  • Search is lexical BM25: deterministic and model-free. The same query over the same collection returns the same hits, sealed with retrieval_sha256.
  • Every hit carries doc_id, chunk index, chunk_sha256 and document_sha256. The dashboard re-hashes each quoted chunk in the browser.
  • A doc_id is immutable: the same id with different text is refused with 409.
  • Integration limit: retrieved hits are not yet attached to run evidence. The Intelligence module's LIVE status covers its own cited/digested retrieval checks, not end-to-end agent proof.
POST /knowledge/:collection/documents · POST /knowledge/:collection/search
curl -s localhost:3000/knowledge/docs/documents -H "authorization: Bearer $TOKEN" -H 'content-type: application/json' \
  -d '{"doc_id":"receipts","title":"Proof receipt","text":"A proof receipt is sealed after the final verdict."}'
curl -s localhost:3000/knowledge/docs/search -H 'content-type: application/json' -d '{"query":"sealed receipt","k":3}'  # public in session mode

Control plane

Deployments, policies, experiments and the job queue. State is held in the API process (PROCESS_MEMORY); every record that matters carries a sha256.

AreaBehaviour
DeploymentsPin one Team Graph version (graph_sha256) to preview or production. One ACTIVE per team and environment; deploying again supersedes it; rollback restores the previous one; promote copies a preview graph to production. POST /deployments/:id/run always runs the pinned graph.
PoliciesRules max_agents, allowed_executor_refs, min_requirements, forbidden_roles. Checked before a deployment runs; any failing enabled policy blocks the run with 403 POLICY_DENIED. Unknown rule types are refused.
ExperimentsRun every example of a pinned dataset version against one team version, score with evaluators, seal outcome_sha256 and experiment_sha256. GET /experiments/compare?a=&b= lists per-example verdict and score changes; different dataset versions are refused.
Queue and schedulerQueue a mission now or at run_at, optionally through a deployment. There is no background worker in a serverless function: due jobs run on POST /queue/drain, which a cron can call.
Organizations · Secrets · PermissionsRegistered plus observed organizations; secret names with set/unset only, never values; the route-by-route enforcement table, checked by a test.

Configuration

Configuration is read from the environment. Provider errors are redacted by the adapter; this does not establish that every log, event, evidence record or receipt is free of secrets.

VariableRequiredDefaultMeaning
OSA_EXECUTION_MODEAlwaysnonefixture or provider. Anything else refuses to start.
OSA_PROVIDERProvider modenoneanthropic or openai
OSA_MODELProvider modenoneModel id sent to the provider.
ANTHROPIC_API_KEY · OPENAI_API_KEYProvider modenoneSecret of the selected provider.
OSA_PROVIDER_BASE_URLNoProvider-dependent: https://api.anthropic.com or https://api.openai.comOverrides the selected provider's default. See packages/adapters/src/config.ts.
OSA_PROVIDER_TIMEOUT_MSNo120000Per-call timeout; a timeout fails the run.
OSA_PROVIDER_MAX_TOKENSNo16000Output token cap per call.
OSA_PROVIDER_MAX_RETRIESNo2Retries for connection errors, timeouts, 408, 409, 429 and 5xx (0 to 10).
OSA_MODEL_FALLBACKSNononeOrdered provider:model fallbacks (max 4) tried after the primary fails; every hop is evidence.
OSA_PROVIDER_RETRY_BASE_MSNo500First backoff step; doubles per retry up to 8 s. A valid retry-after of at most 60 seconds takes precedence.
OSA_AUTH_MODENosessionsession requires a DEV token on routes marked session below. open skips login with a shared identity (including where explicitly configured in Production). Other values refuse to start.
PORT · HOSTNo3000 · 0.0.0.0Where the API listens.
OSA_LIVE_PROVIDER_TESTNooffSet to 1 to run the live provider test.

HTTP API

This generated table lists 91 HTTP method/path combinations from the PERMISSIONS manifest in this code revision; it is not a complete router inventory. Routes appear without the prefix in the local Node server (http://localhost:3000/teams); Vercel rewrites /api/teams to the same handler (apps/api/src/vercel.ts). Do not add /api to local examples. Error status depends on the route: 400, 401, 403 (POLICY_DENIED), 404, 409, plus validation/provider failures such as 413, 422, 429 and 502. Auth column: session needs a Bearer DEV session only when OSA_AUTH_MODE=session; public has no blanket session check. open creates a shared identity and is not a multi-tenant authorization boundary. The dataset create/version/tag and evaluator register mutations are currently public in session mode; do not expose this runtime to untrusted writers without additional access controls. Private NeurOSA may impose stricter identity requirements. Storage: on this branch most route indexes are process-local; different serverless instances do not share them, and a restart can discard state. Some separate deployments use persistent storage: verify their status separately; do not infer persistence from this reference.

Additional Trust routes: when the private Preview operator is not active, the router also handles GET /.well-known/ai-profile.json (503 when the profile is not configured), GET /trust/status and POST /trust/verify/action. They are not included in the 91 manifest entries below. Action signature verification uses the identity supplied in the request; independently authenticate its public key before relying on the result.

MethodPathAuthReturns
GET/durable/statussessionLive worker readiness and persistence; production requires verified owner/operator and exact scope.
POST/durable/jobssessionSubmit a durable job (202) or read an idempotent replay (200); scoped session and same-origin write.
GET/durable/jobs/:idsessionRead a scoped job and its persisted result/evidence.
POST/durable/jobs/:id/cancelsessionCancel a queued job; a running job cannot be cancelled by this route.
GET/chat/delivery/statussessionServer-bound artifact generation availability and model; no provider call.
POST/chat/deliverysessionStream agent lifecycle events, generate model artifact and deliver sealed bundle; session, free-tier and quota gates.
GET/auth/providerspublicLogin provider availability depends on server configuration; local-dev is disabled on Vercel.
POST/auth/dev-loginpublicDEV identity and session token (201).
GET/sessionsessionThe current session (401 without one).
POST/session/logoutsessionRevoke the session token.
GET/build/statuspublicExecution mode, auth mode, persistence and protocol support.
GET/build/workspacesessionThe saved Build workspace (404 until one is saved).
POST/build/workspacesessionValidate and save the Build workspace; registers its Team Graph (201).
GET/layerspublicThe six layer profiles.
GET/layers/:idpublicOne layer profile.
POST/layers/:id/enterpublicALLOWED or GATED, decided by the backend.
GET/intelligencepublicStatus reports for the nine Intelligence modules.
GET/intelligence/:idpublicOne module report with its proofs.
POST/teamssessionThe validated Team Graph (201).
GET/teams/:id?version=sessionOne Team Graph version.
POST/missionssessionThe stored mission (201).
GET/missions/:idsessionRead a stored mission (session and matching tenant required).
GET/missions/:id/timelinesessionMission event timeline.
GET/missions/:id/runsessionAccepted run for the mission, or 404.
GET/missions/:id/receiptsessionMission proof receipt, if available.
GET/missions/:id/plansessionAccepted plan, or 404.
POST/missions/:id/plansessionCreate a plan using the configured Brain/runtime.
POST/missions/:id/cancelsessionCancel a mission in the scoped runtime.
POST/missions/:id/runsessionThe full run result with receipt (201).
GET/runs/:idsessionLatest execution of that run.
GET/runs/:id/eventssessionRuntime events.
GET/runs/:id/evidencesessionEvidence records.
GET/runs/:id/proofsessionThe sealed proof receipt.
GET/runs/:id/evaluationssessionEvery evaluation result for the run.
POST/runs/:id/evaluationssessionScore a run, optionally against a pinned dataset example (201).
POST/runs/:id/labelssessionRecord a human label on the evaluator's scale (201).
GET/evaluatorspublicAll evaluator definitions.
POST/evaluatorspublicRegister a deterministic or labeled evaluator (201).
GET/evaluators/:idpublicOne evaluator definition.
GET/datasetspublicLatest version summary per dataset.
POST/datasetspublicCreate a dataset; version 1 (201).
GET/datasets/:id?as_of=publicOne version by number, tag or latest.
GET/datasets/:id/versionspublicVersion history with tags.
POST/datasets/:id/versionspublicCommit upserts and removals as a new version (201).
GET/datasets/:id/verify?as_of=publicRecompute example and version digests.
PUT/datasets/:id/tags/:tagpublicPin a tag to a version.
GET/deploymentspublicDeployments, newest first.
POST/deploymentssessionDeploy a registered team version to preview or production (201).
GET/deployments/:idsessionInspect a deployment after session verification.
POST/deployments/:id/promotesessionPromote a preview deployment to production (201).
POST/deployments/rollbacksessionReactivate the previous deployment of a team in an environment.
POST/deployments/:id/runsessionRun a mission on the pinned graph after policies allow it (201, 403 when denied).
GET/policiespublicPolicies.
POST/policiessessionAdd a policy (201).
POST/policies/evaluatesessionEvaluate a team version and mission against enabled policies.
DELETE/policies/:idsessionRemove a policy after session verification.
GET/experimentspublicExperiments, newest first.
POST/experimentssessionRun a dataset version against a team version with evaluators (201).
GET/experiments/:idpublicInspect one recorded experiment.
GET/experiments/compare?a=&b=publicPer-example changes between two experiments.
GET/queuepublicQueued, running and finished jobs.
POST/queuesessionQueue a mission now or at run_at (201).
POST/queue/drainsessionRun due jobs.
DELETE/queue/:idsessionCancel a queued job (conflict if already running).
GET/knowledgepublicCollections with document and chunk counts.
GET/knowledge/:collectionpublicDocuments in a collection.
POST/knowledge/:collection/searchpublicBM25 search; hits cite chunk and document digests.
POST/knowledge/:collection/documentssessionAdd a document; chunks and digests are computed by the API (201).
GET/knowledge/:collection/documents/:idpublicOne document with its chunks.
GET/organizationspublicRegistered and observed organizations.
POST/organizationssessionRegister an organization after session verification.
GET/secretssessionSecret names and whether they are set.
GET/permissionspublicRoute-by-route enforcement table.
GET/templates/delivery-labsessionRead the currently supported Delivery Lab template.
POST/templates/delivery-lab/runssessionExecute Delivery Lab starter or connected mission; requires a session.
GET/templates/delivery-lab/missions/:idsessionRead a Delivery Lab report in its existing execution scope.
GET/web3/statussessionInspect read-only Web3 capabilities and current scope.
POST/web3/observesessionRun a scoped Web3 observation when enabled; requires a developer session.
GET/web3/missions/:idsessionRead a scoped Web3 mission record.
POST/web3/intents/previewsessionInspect an intent policy decision without executing the intent.
GET/memory/statuspublicMemory adapter status; private NeurOSA may additionally require identity.
POST/memory/diagnosticsessionRestricted Preview-only memory write/recall diagnostic.
GET/memory/receipts/:idsessionRead an authorized memory receipt.
POST/unified/executesessionExecute a scoped Unified mission; tool mode requires service authorization.
POST/unified/verifysessionVerify an existing Unified evidence bundle.
POST/trace-probesessionBounded runtime trace diagnostic requiring a session.
GET/nvidia/statussessionProvider configuration and availability (not proof of successful generation).
POST/nvidia/chatsessionServer-side NVIDIA chat with request validation and cost guard.
POST/nvidia/fleet-chatsessionAgent fleet chat with memory and rate checks.
GET/platform/statussessionInspect platform status in the current organization scope.
POST/platform/deployments/reviewsessionReview a scoped deployment plan without running it.

Guides

Unavailable functionality is labelled Planned. A present control-plane route does not by itself prove a hosted execution service or durable runtime.

Graph

Conditional edges and loops

Branch on state, fan out and join, bounded loops.

Durability

Checkpoints and resume

Resume after a crash into the same receipt; pause for a human.

Tools

Tools over MCP

Tool calls with digested results and permissions.

Control

Guardrails and budgets

Tripwires that fail the run as a verifier observation.

Quality

Evals

Datasets and deterministic evaluators are implemented; GET /experiments/compare?a=&b= already compares experiment outcomes.

Ship · partial

Deployments and hosted runtime

Deployment records, promotion, rollback and policy-gated runs already have API routes. These routes alone do not establish durable execution or signing. See the separately integrated Durable worker and Devnet Registry.

Durable chat runtime

2026-11-27 — 2/2 signed chat executions verified on Solana Devnet. The persistent Jeverson worker ran Ollama qwen2.5:3b. A separate read-only invocation checked each stored result, its signature, pinned key, attestation, batch, both Merkle inclusions and execution binding, then queried finalized Registry state. Both passed. Formal production close/reopen acceptance remains open.

The Vercel frontend sends authorized jobs through the dedicated HTTPS bridge to the existing persistent Windows host. Accepted jobs receive an exec_... ID; the independent worker executes them and the client retrieves persisted results. Model and artifact jobs are supported; sandbox readiness requires separate checks. NeurOSA is a separate integration.

The gateway checks the exact route without query parameters, the verified owner/operator role and organization, identity and project scope. Rewrite parameters are not forwarded. Missing readiness must not be reported as successful acceptance.

Browser recovery acceptance: sign in, check GET /api/durable/status (HTTP 200, enabled=true, worker=HEALTHY, browser_independent=true, production_supported=true), submit a job, close the tab after acknowledgement, reopen the chat, and verify the same result and ProofReceipt. Readiness alone is not proof of execution.

Server configuration and authorization boundary.

Signed receipts and finalized commitments

For signed runs the Registry state replaces the legacy offline label. The dashboard displays worker RPC readback, not an independent cryptographic verification performed in the browser. VERIFIED does not establish semantic truth or hardware provenance.

The configured worker calls Ollama through loopback (127.0.0.1:11434) and can record a signed software runtime attestation, delegation and Ed25519 ActionReceipt after Supervisor release. The Merkle batch includes both ProofReceipt V2 and ActionReceipt digests. Audit artifacts can be checked against the independently authenticated public key.

Evidence boundary: the separate ActionReceipt is signed; the original ProofReceipt V2 signature remains UNAVAILABLE. Attestation is software-declared, not TEE-backed. The local test bundle and the two later production-connected runs are distinct. No Mainnet deployment, independent security audit or enterprise GA is claimed.

NOT_ANCHORED means there is no confirmed Registry write. The historical Genesis Anchor is a separate Solana Memo transaction. The dedicated Registry stores batch and Merkle digests, not conversation text. VERIFIED requires successful finalized transaction and account readback. Merely creating a batch does not establish anchoring.

The worker persists the signature and signed transaction before broadcast. It may retry only identical bytes before expiry. Expired or legacy incomplete records remain UNKNOWN; a replacement is not automatically signed. The chat displays the program, slot and Explorer link after readback. Job access remains scope-bound.

Observed finalized Devnet transactions

Program: 6QTgaWY6SyZsjCiuY9BGMn5H7PzoFghCocwkbKxxmG8p. Public commitments are independently inspectable; the private production audit exports are not published.

ExecutionTransactionFinalized slot
exec_467870c6-ee5d-4344-842d-003b063d65a1Devnet proof 1526953298
exec_1b59d635-77a2-4c24-9c04-74ac21920ebbDevnet proof 2526956144

Dated execution evidence and verification boundaries · Registry protocol and public test verifier.

Delivery Lab · one demonstration team

Verified scope: structural output and recorded checks, not semantic correctness of arbitrary objectives. Open Delivery Lab in the framework navigation. One versioned TeamGraph routes an objective through ten sequential roles: intake, planner, producer, inspector, policy gate, sandbox builder, test verifier, delivery gate, coverage reviewer and evidence reporter. It uses the existing MissionKernel, configured NeurOSA planner, runtime, event timeline and proof receipts.

Starter produces actual Markdown scaffold bytes or a working, self-contained task-list HTML starter. It does not interpret arbitrary objectives. Connected delegates to the existing provider planner/builder and is BLOCKED when execution mode is fixture. Supported outputs are Markdown documents and standalone HTML; other tasks expose the gap.

Artifact delivery validates hashes, document structure and inline JavaScript syntax. Remote sandbox delivery additionally requires the existing server-side worker connection and executes fixed packaging and byte-integrity checks through WorkspaceProvider and buildAndTest. Generated code is never run in the API process. These checks are not functional browser tests, a vulnerability audit or a semantic quality assessment.

Azure delivery is BLOCKED: image publishing, scoped cloud grant and live verification are not wired into this template. Missing required gates produce a failed mission without a MissionReceipt. A completed artifact mission means ready for human review under its declared checks, not an arbitrary task proven correct.

The result includes per-stage evidence references, measured stage latency, gaps, timeline, artifact download and a JSON proof bundle. Model HTML preview disables scripts; trusted starter preview allows scripts in an opaque sandbox. Team/run indexes remain process-local; capture the bundle before restart. The result can also be opened in the existing OSA Proof verifier, runtime trace and world projection. No distributed fleet, persistent learning, benchmark workload or adaptive routing is implied.

API: GET /api/templates/delivery-lab, POST /api/templates/delivery-lab/runs with objective, kind (document/webapp/other), mode (starter/connected) and target (artifact/sandbox/azure). GET /api/templates/delivery-lab/missions/:id retrieves a report in the current process. Existing session authorization applies; open mode is a shared demo environment.

Browser regression: build the dashboard and run npm run test:delivery-lab:browser with Playwright available. Optional OSA_PLAYWRIGHT_MODULE and OSA_CHROMIUM_PATH select an existing installation. This tests the starter app interaction, iframe isolation, downloads, blocked gates and the existing browser proof verifier.

Historical acceptance baseline: 2026-10-27. Later controlled CI covers local repo:read, two Fleet leases in hermes-fleet-p1.test.ts and local NeurOSA integration. It does not establish external live Hermes search or production recall after restart. See Hermes P1 CI and NeurOSA local CI.

Agentic OS · Memory · 2026-10-27

NeurOSA × OSA Proof LIVE BLOCKED

NeurOSA is the server-side memory plane, not browser history or a second control plane. The protected ChatDelivery path uses an authenticated operator, optional message storage, recall, NVIDIA, Runtime, Evidence and ProofReceipt, followed by a confirmed execution-memory write when available.

CODE · PASS

Merged into main

PR #21 and #24 merged. Historical PR #24 CI: 265 PASS, 0 FAIL, 3 SKIP; TypeScript and dashboard builds passed. Contract tests are not production live tests.

GitHub · main · 54ab16e
STORAGE · PARTIAL

Persistent-volume backup

Railway: 512 MB volume at /persist. SQLite snapshot copied and SHA-256 checked; active database use by Brain API and persistence after restart were not established.

Railway · neurosa-memory-v1
AUTH · BLOCKED

Private GitHub operator

Production memory requires configured authentication, an allowlist and server-side organization/project scope. No memory access without a session.

OSA_AUTH_MODE=session · fail-closed
LIVE · NOT VERIFIED

Golden Flow

No evidence yet for the complete login → remember → recall → model → proof → restart → recall. A READY deployment and unauthenticated 401 do not prove memory.

CLAIM ≠ PROOF

Production memory acceptance requirements

  1. Check the current SQLite backup and Node process write permissions, then perform a separately approved controlled cutover to /persist.
  2. Verify actual write/read, controlled Brain API restart, repeated readback and ledger integrity.
  3. Verify OAuth login, organization/project scope and anonymous-access denial.
  4. Only after PASS: enable the approved production flag, run the memory Golden Flow and test a Hermes mission.

Security boundary: memory_status=VERIFIED means a confirmed execution-memory write; UNAVAILABLE means no confirmed write. NeurOSA data is not an instruction to an agent. Do not run external model tests unless zero-cost access is confirmed.

Historical migration and acceptance runbook · ChatDelivery contract

Workspace themes

The framework includes seven dark palettes (Proof, OSA · black and gold, Vercel · black, Graphite, Midnight, Forest, Plum) and five light palettes (Porcelain, Sand, Sky, Mint, Rose). Use the theme selector in the header, mobile navigation or Settings. Themes also update the runtime world colors.

Open Themes to preview palettes, export the selected palette or import a community JSON file. The format is osa.theme.v1: id, name, mode, optional author and a complete tokens object. Export a built-in palette as your starting template. Only six-digit hex colors are accepted; text contrast must reach 4.5:1. Files are limited to 24 KB and 20 community themes per browser. Importing the same ID updates that community theme.

Selection and community palettes are stored in this browser. Removing an active community palette restores Proof. There is no hosted theme marketplace or cross-device sync.

Debug forum Planned

A community space for reproducible issues, investigation and evidence review is planned. Forum posting, accounts and moderation are not implemented.

Proposed report fields: component and version, expected and actual behavior, reproduction steps, mission/run IDs, environment, test coverage and sanitized evidence references. Never include private keys, seed phrases, credentials or sensitive payloads.

Reports should distinguish reproduced findings, hypotheses, untested paths and verified fixes. “No issues found in these checks” does not establish that a system has no bugs. A claim of a fix needs reproduction evidence and a regression check.

Build · Verify · Access · EverywhereReal worlds. Verified.