Skip to content

About

Sentin8 Serv8:Agent - process ownership, agent bindings, the autonomy ladder and the gate ledger

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Serv8:Agent - Governance Service

Summary

Serv8:Agent is the vertical's governance authority. It records which named human owns each of the fourteen FitSM processes, binds AI agents to those processes, tracks each agent's autonomy level, and evaluates every gate that stands between an agent and a write.

Motivation

An AI-driven ITSM platform has one problem no conventional tool has: automation that must be accountable to a person. Two failure modes dominate. An agent acts without a named owner, and an audit cannot attribute the decision. Or an agent is given write access on day one, and its first mistake is a production incident. Serv8:Agent makes both states structurally impossible: an ownerless process cannot have an enabled agent, and no binding starts above shadow.

Architecture & High-Level Design

graph TD
    O["Process owner (human)"] -->|"promote / demote / suspend"| B["binding"]
    P["Process (14 FitSM codes)"] --> O
    P --> B
    B --> L["autonomy: shadow -> advise -><br/>execute_gated -> execute_auto"]
    AI["Sentin8:AI"] -->|"resolve binding"| B
    DOM["domain services"] -->|"evaluate gate"| G["gate: confidence / spend / risk"]
    G --> B
    G --> D["gate_decisions (append-only)"]
Loading

Key Traits and Data Structures

  • ProcessOwner: the human accountable for a process. Non-nullable; the write path rejects an M2M workload identity.
  • AgentBinding: agent name, process, autonomy level, confidence threshold, spend threshold, gated risk classes, state.
  • AutonomyHistory: one row per transition, carrying the deciding owner and the evidence reference.
  • GateDecision: one row per evaluation, carrying the inputs and the verdict, so a reviewer can prove what the policy was at the time.
  • GateDecision also carries the hand-off lifecycle: the group the decision was offered to, the person who claimed it, an optional bounded delegation, an optional suspension with its reason, the decision deadline for the risk class, and the person who decided it.

Rationale, Trade-offs, and Alternatives

Why a separate service. Governance records are read on every gated write and written rarely. Keeping them in the domain services would duplicate them ten times and create ten authorities. One authority, cached by consumers, is the only shape that keeps the answer consistent.

Why the gate lives in the domain service. Evaluating the gate in the AI plane only would let a direct MCP or API call bypass it. Evaluating it in the domain service means every path to a write passes the same check.

Why promotion is one step. Allowing a two-level jump invites promoting an agent straight to production write access on the strength of a shadow trial. One step forces a gated trial where a human watches real decisions.

Internal Implementation & Invariants

  • A binding references an owner through its process; there is no ownerless binding.
  • The autonomy CHECK constraint is the ladder; a jump is refused, not clamped.
  • autonomy_history and gate_decisions are append-only.
  • A missing binding, owner, or confidence resolves to deny or park, never allow.

Development

make build        # release build from the committed offline sqlx cache
make test         # the domain test suite
make lint         # clippy, warnings are errors
make openapi      # print the OpenAPI document

# from the vertical group, for the whole fleet:
make build        # ../serv8/Makefile
make enroll

Unresolved Questions / Future Designs

  • Delegation beyond one hop for an absent owner.
  • Per-catalogue-item autonomy rather than per-process.
  • Whether gate decisions need their own hash chain on top of the platform audit ingest.

About

Sentin8 Serv8:Agent - process ownership, agent bindings, the autonomy ladder and the gate ledger

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages