Groundnetic and AuthVertex launch soon. Request a demo

Home / Product / Outcome contracts

Outcome contracts

"It ran" is not "it worked"

Before an agent acts, it declares what success means. Afterwards, Groundnetic checks the result against evidence and reports whether the goal was actually achieved.

The problem

Exit codes are not outcomes

Automation usually reports whether a command ran: exit code 0, HTTP 200, "deployment complete". That says nothing about the world afterwards.

A rollout can finish cleanly and push error rates up five minutes later. A ticket can close while the fault stays open. A machine can accept a command and never reach the position. An agent that reads "success" and moves on compounds the damage.

Outcome contracts separate execution success from real-world success, and check the second one with evidence.

Declare success first

Success is written down before the action

A contract is a short, declarative statement over beliefs. It is versioned, deterministic and repeatable. No language model interprets it.

  • Conditions compare beliefs with values: equal, greater than, less than, exists.
  • Time: a condition must hold for a period, become true before a deadline, or meet an aggregate over a window.
  • Fail fast: some conditions fail the contract the moment they hold, without waiting for the window to end.
  • Gaps: each time condition says what missing evidence means: fail, inconclusive, or tolerate for a while.
# "error rate < 1% for 10 minutes after deploy"
success:
  all:
    - claim: gn://sre/service/${service}/deployed_version?env=prod
      op: eq
      value: ${version}
    - holds_for:
        duration: 10m
        on_gap: tolerate(1m)
        condition:
          claim: gn://sre/service/${service}/error_rate?env=prod
          op: lt
          value: "0.01"
fail_fast:
  any:
    - claim: gn://sre/service/${service}/healthy?env=prod
      op: eq
      value: false
A deployment contract: the right version is running, and the error rate stays under 1% for 10 minutes. An unhealthy report fails it at once.

Statuses

Five honest answers

Conditions are true, false or unknown. The future, low confidence, unresolved and conflicted beliefs count as unknown. Groundnetic never guesses that an action worked.

VERIFIED

The declared success condition is true at the required confidence: the intended result was reached. On its own, this does not prove the action caused it.

FAILED

A fail-fast condition held, or success is certainly false. Reported as soon as failure is certain, not at the end of the window.

PENDING

The window is open and the answer is not yet known.

INCONCLUSIVE

Still unknown after the window and a settle period for late evidence: evidence was missing, weak or in conflict. A signal to look, not a pass.

EXPIRED

The contract was never activated before its deadline, so there is nothing to verify.

Decision records

From belief to action to result, in one record

  1. What the agent relied onEach claim it used, with the belief in force at that moment: status, confidence, and whether the agent's expectation held.
  2. What it decidedThe action, its consequence level, the alternatives it considered and the gate's decision.
  3. What happenedThe contract that verified the action, and its result, linked back to the evidence.

Records are append-only. Later evidence never changes what a decision relied on. If late evidence changes a contract's result, a new evaluation version is added; earlier evaluations are never rewritten.

Where contracts help

Agents that replan

Failed and inconclusive results carry the failing conditions, so an agent can roll back or try another way.

People who ask "did it work?"

One status per action, with WHY() behind every condition, instead of reading dashboards.

Agent oversight

Circuit breakers in Agent Guard stop agents whose actions keep diverging from evidence.

See the deployment use case → · How beliefs are worked out →

Find out whether your last deployment actually worked.

Verify real outcomes during a 30-day validation in production.

Request a demo