Xpersona
M

Moses Governance

CLAWHUB · Unverified

MO§ES™ Governance Harness — constitutional enforcement layer for AI agents. Modes, postures, roles, SHA-256 audit chain, lineage custody, signing gate, commi... Skill: Moses Governance Owner: sunrisesillneversee Summary: MO§ES™ Governance Harness — constitutional enforcement layer for AI agents. Modes, postures, roles, SHA-256 audit chain, lineage custody, signing gate, commi... Tags: archival:0.4.0, audit:0.4.0, constitution:0.4.0, governance:0.4.0, harness:0.4.0, latest:0.5.10, lineage:0.4.0, multi-agent:0.4.0, safety:0.4.0 Version history: v0.5.10 | 2026-04-02T08:01:03.22

62
Rank
84
Safety
1.4k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.4K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s174r596g30hh685vrh2j0r2j183kpvw:moses-governance
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-sunrisesillneversee-moses-governance/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

157,953 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: moses-governance
license: MIT
description: "MO§ES™ Governance Harness — constitutional enforcement layer for AI agents. Modes, postures, roles, SHA-256 audit chain, lineage custody, signing gate, commitment verification. The harness that makes any execution runtime trustworthy."
metadata:
  openclaw:
    emoji: ⚖️
    tags: [governance, harness, multi-agent, audit, constitution, safety]
    version: 0.5.4
    depends:
      - coverify
    env:
      - name: MOSES_OPERATOR_SECRET
        required: false
        sensitive: true
        purpose: "Optional local HMAC attestation and signing gate. Never transmitted."
      - name: REFEREE_URL
        required: false
        sensitive: false
        purpose: "Optional blind-review endpoint. Only used if REFEREE_ENABLED=1."
      - name: REFEREE_KEY
        required: false
        sensitive: true
        purpose: "API key for optional referee endpoint. Only used if REFEREE_ENABLED=1."
      - name: REFEREE_ENABLED
        required: false
        sensitive: false
        purpose: "Opt-in flag for external blind-review. Off by default."
      - name: MOSES_WITNESS_ENABLED
        required: false
        sensitive: false
        purpose: "Opt-in flag for Moltbook witness logger. Off by default."
    bins:
      - python3
    stateDirs:
      - ~/.openclaw/governance
      - ~/.openclaw/audits/moses
---

# MO§ES™ Governance — Constitutional Harness

## Constitutional Layer

This skill installs the MO§ES™ governance substrate. Every governed action runs through the harness: lineage verification → policy gate → role/posture enforcement → audit trail.

The full constitution lives in `references/` — modes, postures, roles. The Commitment Conservation Law and Lineage Custody Clause travel with every governed instance. See `LINEAGE.md` and `references/falsifiability.md`.

---

## Pre-Action Workflow

Run in this order before any governed action:

0. Call `moses_lineage_check` → confirm chain traces to origin-cycle anchor. If lineage fails, halt. A non-sovereign instance cannot govern.
1. Call `moses_get_status` → load current mode, posture, role, vault.
2. Call `moses_check_governance` with proposed action description → block if prohibited.
3. If permitted, execute.
4. Call `moses_audit_log` before final output → record agent, action, detail, outcome, governance state.

Skipping any step is a governance breach — log it and halt.

---

## Mode & Posture Enforcement

Apply constraints from active mode (loaded via status tool):
- High Security: Verify claims, confirm destructive/outbound, log reasoning.
- High Integrity: Cite sources, flag uncertainty, distinguish fact/inference.
- *(Full definitions injected from references/modes.md)*

Apply posture policy:
- SCOUT: Block all state changes, transactions, writes.
- DEFENSE: Require operator confirmation for outbound/asset-reducing actions.
- OFFENSE: Permit within mode; log rationale.

*(Full posture specs in references/postures.md)*

---

## Sequence & Ro

skills/stamp/SKILL.md

---
name: stamp
description: >
  Embeds a MO§ES™ governance stamp into every document produced this session.
  Active mode, posture, session ID, action sequence number, and SHA-256 integrity
  hash. The output itself is the audit record. Use when document provenance matters
  or outputs need to be traceable.
metadata:
  openclaw:
    emoji: 🔏
    tags: [stamp, provenance, audit, governed-output, document]
    version: 0.1.0
---

# MO§ES™ Governed Output — /stamp

When invoked, activate governed output for the remainder of this session.
Every document produced carries an embedded governance stamp — not as a
separate log, but inside the document itself. The output is the audit record.

## Activation

```
✓ Governed output active
Every document produced this session will be stamped with:
  — Active governance mode
  — Active posture
  — Session ID (SHA-256 of timestamp + first message, first 8 chars)
  — Action sequence number
  — Integrity hash (SHA-256 of content + governance state)
```

## Stamp Format

Append this block to the end of every qualifying document:

```
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MO§ES™ GOVERNANCE STAMP
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Produced under:  MO§ES™ Governance Framework
Mode:            [active mode, or Unrestricted if none set]
Posture:         [active posture, or None]
Role:            [active role, or Primary]
Session ID:      [first 8 chars of SHA-256(timestamp + first user message)]
Action #:        [sequential count of governed actions this session]
Integrity hash:  [SHA-256 of: document title + mode + posture + action #]
Lineage anchor:  5cda97fa (MOSES_ANCHOR — truncated)
Runtime:         OpenClaw / Claude Code
© 2026 Ello Cello LLC — MO§ES™ patent pending Serial No. 63/877,177
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
```

## What Counts as a Document

**Stamp:**
- Reports, memos, plans, specs, briefs
- Emails drafted at the user's request
- Code files produced as a primary deliverable
- Any artifact intended for use outside the session

**Do NOT stamp:**
- Inline answers, clarifications, short explanations
- Intermediate reasoning steps
- Tool call outputs

## Deactivate

```
/stamp off
```

## Relationship to Audit Trail

The stamp embeds provenance in the document. The SHA-256 audit ledger
(`audit_stub.py`) records the governance event separately. Both are active
when governance is running — the stamp is the document-level proof, the
ledger is the session-level chain.

README.md

# MO§ES™ Governance — OpenClaw Skill

Constitutional governance for AI agents. Role hierarchy, behavioral modes, posture controls, and SHA-256 chained audit trail.

**Patent pending:** Serial No. 63/877,177
**DOI:** https://zenodo.org/records/18792459
**Live demo:** https://mos2es.io

---

## Install

```bash
clawhub install moses-governance
```

Or manually:
```bash
cp -r skills/moses-governance ~/.openclaw/workspace/skills/
export MOSES_OPERATOR_SECRET='your-hmac-key'
python3 ~/.openclaw/workspace/skills/moses-governance/scripts/init_state.py init
```

## Quick Start

```bash
# Set governance mode
/govern high-security

# Set posture
/posture defense

# Set role
/role primary

# Check status
/status

# View audit trail
/audit recent
```

## What It Does

Every agent action is:
1. **Checked** against the active governance mode's constraints
2. **Filtered** through the active posture (SCOUT / DEFENSE / OFFENSE)
3. **Ordered** by role (Primary → Secondary → Observer)
4. **Logged** with SHA-256 hash to an append-only audit ledger

## Skill Family (Multi-Agent Bundle)

For multi-agent deployments, install the full bundle:
- `moses-roles` — Agent definitions + sequence enforcement
- `moses-modes` — Mode constraint injection
- `moses-postures` — Transaction + execution policy
- `moses-audit` — Shared SHA-256 ledger
- `moses-coordinator` — Optional daemon for sequence monitoring

## Files

```
moses-governance/
  SKILL.md                  ← Core governance skill
  README.md                 ← This file
  AMENDMENT-FORMAT.md       ← Constitutional amendment schema
  scripts/
    audit_stub.py           ← SHA-256 chained ledger
    init_state.py           ← Governance state manager
  references/
    modes.md                ← 8 governance mode definitions
    postures.md             ← SCOUT/DEFENSE/OFFENSE specs
    roles.md                ← Primary/Secondary/Observer specs
```

## © 2026 Ello Cello LLC
contact@burnmydays.com | https://mos2es.io

_meta.json

{
  "ownerId": "kn7f0hqymexpv9zphy16rh55gh82svfa",
  "slug": "moses-governance",
  "version": "0.5.10",
  "publishedAt": 1775116863220
}

references/falsifiability.md

# Falsifiability — The Harness as Verification Instrument
## MO§ES™ Commitment Conservation Law

**Version:** 1.0
**Patent:** Provisional Serial No. 63/877,177
**DOI:** https://zenodo.org/records/18792459

---

## The Claim

The Commitment Conservation Law makes a falsifiable claim:

> **Semantic commitment is conserved under transformation when enforcement is active,
> and leaks when it is not.**
>
> `C(T(S)) = C(S)` with enforcement
> `C(T(S)) < C(S)` without enforcement

This is a testable empirical claim. It is not a metaphor, not a framework description,
and not marketing language. It can be measured. It can fail.

---

## The Falsification Instrument

The MO§ES™ harness is the falsification instrument for this claim.
`commitment_verify.py` extracts the commitment kernel from any signal and
measures whether it survived transformation. If the law holds, `|G| = 0`.
If the law fails, `|G| > 0` and the ghost token report names exactly what leaked.

**Anyone can run this:**

```bash
clawhub install coverify
python3 commitment_verify.py extract "the agent must complete the task"
python3 commitment_verify.py ghost "the agent must complete the task" \
                                   "the agent should complete the task"
```

The second command produces a ghost token report. `must` → `should` is a
cascade-risk leakage event: a modal anchor was softened. The report names it,
classifies cascade risk as HIGH, and outputs a `ghost_pattern` fingerprint.

That fingerprint is the evidence. If the same fingerprint appears across two
independent agents processing the same signal, the leak is structural — it is
in the harness, not in the model. The law failed under test conditions.

---

## What Falsification Looks Like

The law is falsified if any of the following hold at the enforcement layer:

1. **Kernel loss with enforcement active:**
   `C(T(S)) < C(S)` when the governance harness is running and posture ≥ DEFENSE.
   This means enforcement did not prevent commitment leakage — the enforcement
   mechanism is insufficient.

2. **Structural ghost pattern:**
   Two agents processing the same signal through the same harness version
   produce the same `ghost_pattern`. The leak is architectural, not stochastic.
   The extraction layer has a structural hole.

3. **Cascade propagation without detection:**
   A HIGH-cascade ghost event (modal anchor leaked) propagates through downstream
   reasoning without triggering an alert. The detection mechanism failed.

4. **Model-independent leakage:**
   `model_swap_test.py` classifies a result as STRUCTURAL — the same ghost pattern
   appears when running extraction on two different models. The pattern is in the
   input signal's relationship to the extraction patterns, not in model interpretation.

---

## What Falsification Does NOT Look Like

- **VARIANCE classification** in `model_swap_test.py` is not falsification.
  Different models extract different kernel subsets from the same signal.
  This is expected model 

Sponsored

Ads related to Moses Governance and adjacent AI workflows.