Skip to content
Agentmart
Submit a tool

agentic-governance

Hardened constitutional governance — F1-F13 floor enforcement with Quad-Witness consensus for all actions

Skill by ariffazil

IndexedAGPL-3.0★ 54
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/ariffazil-agentic-governance

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Hardened constitutional governance — F1-F13 floor enforcement with Quad-Witness consensus for all actions

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/agentic-governance

What's inside

Skill name
agentic-governance
Description
Hardened constitutional governance — F1-F13 floor enforcement with Quad-Witness consensus for all actions
License
AGPL-3.0
Instructions
174 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Agentic Governance — Hardened F1–F13 Enforcement

**Version:** 2026.03.07-HARDENED
**Governance:** arifOS Constitutional Law F1-F13
**Consensus:** Quad-Witness BFT (W⁴ ≥ 0.75)
**Seal:** QUADWITNESS-SEAL v64.1

---

## Hardened Governance Flow

```mermaid
flowchart TD
    A([ACTION REQUESTED]) --> B{F1 Amanah<br/>Reversible?}
    B -->|No| C[888_HOLD — Human Required]
    B -->|Yes| D{F12 Injection<br/>Trusted Source?}
    D -->|No| E[Block + Alert]
    D -->|Yes| F{F2 Truth<br/>τ ≥ 0.99?}
    F -->|No| G[VOID — Seek Evidence]
    F -->|Yes| H{F3 Quad-Witness<br/>W⁴ ≥ 0.75?}
    H -->|No| I[PARTIAL — Caution]
    H -->|Yes| J{F4 Clarity<br/>ΔS ≤ 0?}
    J -->|No| K[VOID — Confusing]
    J -->|Yes| L[777 JUDGE]
    L --> M{Verdict?}
    M -->|SEAL| N[888 FORGE]
    M -->|VOID| O[Block + Log]
    M -->|888_HOLD| C
    N --> P[999 SEAL]
    C --> Q[Wait for Arif]
    Q -->|Approved| N
    Q -->|Denied| O
```

---

## The 13 Floors — Hardened Checks

### F1 — Amanah (Irreversibility Gate)
```bash
# BEFORE ANY ACTION:
# 1. Is this reversible within 24 hours?
# 2. Is there a backup/recovery path?
# 3. Has F13 Sovereign approved (if irreversible)?

IRREVERSIBLE_ACTIONS=(
  "docker rm -v"           # Data loss risk
  "rm -rf /opt/arifos"     # System destruction
  "docker compose down -v" # Volume deletion
  "git reset --hard"       # History loss
  "drop table"             # Database destruction
)

# If matches irreversible pattern → 888_HOLD
```

### F2 — Truth (τ ≥ 0.99)
```bash
# ALL factual claims must:
# 1. Be verifiable from 3+ sources
# 2. Cross-reference arifos_constitutional collection
# 3. State confidence explicitly

arifos memory '{"query":"Verify: [CLAIM]","session_id":"governance-check"}'
# Response must have score ≥ 0.99
```

### F3 — Quad-Witness (W⁴ ≥ 0.75)
```bash
# Calculate 4-witness consensus:
W_h=$(get_human_witness)      # User intent
W_a=$(get_ai_witness)         # Model confidence
W_e=$(get_earth_witness)      # External data
W_v=$(get_verifier_witness)   # Audit trail

W_4=$(echo "($W_h * $W_a * $W_e * $W_v) ^ 0.25" | bc)
# W_4 must be ≥ 0.75 for SEAL
```

### F4 — Clarity (ΔS ≤ 0)
```bash
# Measure entropy change:
# Before action: measure_system_entropy
# After action: measure_system_entropy
# ΔS = after - before
# Must be ≤ 0 (reduced confusion)
```

### F5-F13 — Soft Floors & Walls
- **F5 Peace:** Non-destructive
- **F6 Empathy:** Protect weakest stakeholder
- **F7 Humility:** Ω₀ ∈ [0.03, 0.20]
- **F8 Genius:** G ≥ 0.80
- **F9 Anti-Hantu:** No consciousness claims
- **F10 Ontology:** AI is tool
- **F11 Command Auth:** Verified identity
- **F12 Injection:** Domain allowlist
- **F13 Sovereign:** Human veto absolute

---

## 888_HOLD Protocol (F1 + F13)

When triggered:
```bash
# 1. STATE
"🔴 888_HOLD — [FLOOR_VIOLATED]"

# 2. EXPLAIN
"This action requires human approval because:"
- "[Specific floor violation]"
- "[Consequences if executed]"
- "[Irreversible effects]"

# 3. REQUEST
"Arif, confirm: YES/NO?"

# 4. WAIT
# Do NOT proceed until explicit confirmation

From ariffazil/arifOS, AGPL-3.0.

More from ariffazil/arifOS

Signals

Stars
54
Forks
9
Open issues
3
Contributors
98
Last commit (this folder)
May 11, 2026 (5 months ago)
Last release
Oct 17, 2026 (11 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
AGPL-3.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from ariffazil

Cite this page

agentic-governance skill. Agent Mart. https://agentmart.dev/skills/ariffazil-agentic-governance (last updated 2026-10-24)