AA

ariffazil/arifos

Developer tools
53 stars 10 forks Quality 85 Trend 20AGPL-3.0

(http://127.0.0.1:8088/health @2026-11-22T23:43:20Z): kernel · floors · vault999 stale · release arifos-6425ae4 · drift aligned (source=built=deployed) · tools exposed 9. Per-floor provenance: .

Overview

(http://127.0.0.1:8088/health @2026-11-22T23:43:20Z): kernel · floors · vault999 stale · release arifos-6425ae4 · drift aligned (source=built=deployed) · tools exposed 9. Per-floor provenance: .

README

⚠️ Current verified state — generated, never hand-edited

Runtime self-measurement (http://127.0.0.1:8088/health @2026-11-22T23:43:20Z): kernel degraded · floors 12/13 measured pass · vault999 stale · release arifos-6425ae4 · drift aligned (source=built=deployed) · tools exposed 9. Per-floor provenance: .well-known/current-state.json.

Independent audit (2026-10-11, live re-probe by FI-008 + claim-level hand audit; receipts: AAA/forge_work/grant-arifos-reality-reforge-2026-10-11/): floors 2 pass · fail F2, F11, F12, F13 · 7 unmeasured = 13 distinct (raw key-count 10 includes L11/L12/L13, L-prefix aliases of the failing F11/F12/F13) · actor binding not verified (observed calls unsigned) · receipt fidelity broken on invocation-telemetry surface (HOLD persisted as ok:true) · independent reconstruction: no external verifier bound.

These are two different witness objects. Self-measurement ≠ independent audit; unmeasured is not pass. If this block conflicts with the live endpoint, the endpoint wins — re-run python scripts/generate_current_state.py.

Machine state: .well-known/current-state.json · Badge feed: .well-known/badges/ · Known gaps: What Is Not Yet Proven

mcp-name: io.github.ariffazil/arifos

Apa ni sebenarnya?

arifOS bukan AI dan bukan chatbot. Ia mahkamah dasar (Policy Decision Point) untuk tindakan ejen AI: model boleh berfikir dan mengusul, tapi arifOS yang putuskan adakah cadangan itu layak dilaksana — sebahagian pintu keputusannya deterministik (kod Python keras, llm_consulted: false), bukan AI yang menilai keselamatan tindakannya sendiri. Bayang macam Permit-to-Work di pelantar minyak: jurutera (model AI) pintar tapi bukan pemegang risiko; bilik PTW (arifOS) yang putuskan boleh masuk ke tidak; bengkel (A-FORGE) baru buka kunci peralatan bila permit keluar; dan setiap kerja dicetak resit berantai (VAULT999, tamper-evident — sejarah yang disunting secara senyap akan pecahkan rantaian). Kuasa ditetapkan oleh rangka, bukan oleh kebijakan mana-mana model:

MODEL/AGENT mengusul → arifOS menghakimi kelayakan → ARIF pegang veto berdaulat → A-FORGE laksana tindakan berpermit → FRAME menyaksi akibat → VAULT999 simpan resit → AAA atur perhatian & koordinasi. Tiada komponen waris kuasa komponen lain secara senyap.

arifOS dihidupkan sebagai pelayan MCP (pip install arifos). Bilangan tool, port, dan status lantai ialah fakta runtime — rujuk endpoint hidup (:8088/health, tools/list), bukan nombor dalam mana-mana ayat statik, termasuk ayat ini.

arifOS

Authority before execution.

arifOS is a model-independent authority plane for AI agents. It evaluates consequential proposals against thirteen constitutional floors before execution, returns a governed verdict, preserves the human veto, and records what happened as an auditable receipt.

In a world where intelligence is abundant, authority becomes the scarce resource. arifOS keeps judgment independent from execution.

Documentation · Live Kernel · MCP · MCP Registry (Glama) · PyPI · Security · Evidence

Proposer ≠ Judge ≠ Executor ≠ Witness Human sovereignty > machine authority

What arifOS is not: not an AI model · not an agent framework · not an execution engine (A-FORGE executes) · not an attention plane (AAA attends) · not the witness (FRAME witnesses; VAULT999 remembers) · not a substitute for authentication, sandboxing, or legal review.

Audience What you get
Human A quiet veto: the agent proposes, the kernel records a verdict, you stay sovereign
Agent / A2A MCP tools + receipts. You do not get the keys. Judgment by arifOS, discovery by AAA, execution by A-FORGE
Institution Policy floors F1–F13, a hash-chained VAULT999 audit trail, model-vendor independence
Machine / MCP Streamable HTTP endpoint, 8 canonical stage verbs (+ arif_report = 9 wire tools), published schemas
Registries & Indexers Glama MCP Directory (Score: A) · server.json (Official MCP Registry) · ClaudeRules (MCP directory) · CURRENT_VERIFIED_STATE.md · llms.txt · CITATION.cff

Live: https://arifos.arif-fazil.com · MCP :8088 · sister organs AAA · A-FORGE · GEOX


Who built this

arifOS was built by Arif Fazil, a senior exploration geoscientist who has spent 12+ years making decisions where observations are incomplete, interpretations are probabilistic, provenance matters, and irreversible action must be gated. He transferred that discipline into agent runtime governance.

I am a geologist, not a programmer. I did not write this codebase and I do not read it line by line. What I do is point at where the problem is — and the agents in my federation solve it, inside the constitution and the review gates I set, with the commit trail to show who ran what.

Read the commits if you want to check that claim: the author fields are agent handles, not aliases of mine. That is the deliberate shape of this project, not a detail being hidden. It also sets the honest expectation — the design and the judgment are mine, the implementation is theirs, and where the two disagree, the bug is mine to answer for.

The system is named after its founder and reflects a core belief: governance is a systems problem, not a model problem.

One human, and the agents he directs.


Choose your path

Plain-language summary:

PyPI ships the kernel.
npm ships the JavaScript cable.
MCP is the language through the cable.
The endpoint is the address of a running kernel.
arifOS judges; it does not silently inherit execution authority.

pip and npm are delivery systems. MCP is a communication protocol (not a package manager and not a kernel). arifOS is the governance kernel. An endpoint is the address of a kernel already running. Installing a package does not start or verify a service by itself.

  • A. I only want to try arifOS (easiest — zero install) Connect your MCP client directly to the hosted endpoint: https://mcp.arif-fazil.com/mcp. No local Python or Node.js installation required.
  • B. I want to run my own arifOS kernel (self-hosting) Install the authoritative Python kernel: pip install arifos, then start it with PORT=8088 arifos-mcp streamable-http.
  • C. I am building a JavaScript or TypeScript application Install the thin client connector: npm install @arifos/mcp (source: arifosmcp/packages/npm/arifos-mcp/). It connects to a running arifOS kernel and carries no independent constitutional authority.
  • D. I want to review evidence or contribute Use this GitHub repository, docs/START_HERE.md (includes a non-coder walkthrough & glossary), and CONTRIBUTING.md.
Human / AI client
       |
       | MCP
       v
Running arifOS kernel
installed through PyPI (`pip install arifos`) or reached at a hosted endpoint
       |
       v
governed verdict + evidence + receipt

JavaScript application
       |
       | @arifos/mcp (thin cable — zero governance authority)
       v
same running arifOS kernel

30-second proof

pip install arifos
python examples/enterprise_operations_demo.py

Three of the six graded scenarios:

Read customer account data        → SEAL   (receipt RCPT-…)
Major refund (50× the ceiling)    → HOLD   (awaiting human)
Delete account + audit trail      → VOID   (blocked by a hard floor)

Full transcript: docs/QUICKSTART.md. The demo runs in-process — no real records or funds are touched.

Reference App: SAKSI — The arifOS Witness Pattern

“Never let the agent that writes the code be the agent that declares the server healthy. Put a thin, read-only Witness in front of raw logs, and lock every mutation behind an HMAC human switch.”

SAKSI (examples/saksi-witness/) is the reference MCP client and runtime governance surface for arifOS. Instead of adding another multi-turn autonomous agent loop (which creates echo chambers and shared blind spots), SAKSI implements Asymmetric Role Separation (Author ≠ Judge):

  • 1-Shot Read-Only Watchdog: Binds the arifOS kernel (:8088/mcp) at OBSERVE_ONLY and probes raw journalctl and systemd unit telemetry (MainPID, ActiveEnterTimestamp, _SYSTEMD_INVOCATION_ID) without narrative bias.
  • 888 HMAC Circuit-Breaker: Mutations (systemctl restart) are locked behind a single-use, 10-minute cryptographic HMAC-SHA256 inline button that only the human sovereign (F13) can press—and only when deterministic Python gates (is-failed + 1/30m & 3/24h rate limits, llm_consulted: false) pass.
python examples/saksi-witness/saksi_reference.py

Architecture & production case study: docs/patterns/saksi-witness.md · Persona contract: examples/saksi-witness/SOUL.template.md.


What works today

  • Deterministic rejection without consulting an LLM. The judge refuses on the constitution, not on a model opinion (gate: hard_deterministic, llm_consulted: false).
  • Prevention of a tested unauthorised mutation. One MUTATE-class call without presented authority was stopped before execution. Stronger: tampered-ACT tokens were rejected on 3 surfaces (kernel validate + kernel observe + A-FORGE policy gate) — receipts forge_work/lingkaran1/, measured 2026-10-29/30.

What is not yet proven

Every row names its own gap. Repairing a claim by substituting a stronger one is worse than the stale claim it replaced. (Closed rows are receipted in docs/evidence/GAP_HISTORY.md.)

Gap Risk Status
Independent security audit Adversarial bypass testing not published In progress — external researcher reviewing since 2026-08-25. Findings: fetch-surface SSRF (FIXED_IN_SOURCE + released 1!2026.9.1); Cypher injection (HIGH — FIXED_IN_SOURCE, 2026-11-13); fastmcp path traversal (MEDIUM — MITIGATED_IN_SOURCE). Release / runtime / independent verification still pending for the last two. See SECURITY.md
Sovereign-binding of irreversible acknowledgement ack_irreversible and actor_signature are transported as payload fields; nothing published shows a human signature bound to (transaction_hash ‖ state_hash ‖ nonce), single-use, scoped, unforgeable by the proposing agent Open — design drafted (docs/judgment-integrity-2026-09-22/), not implemented. F13 is enforced by convention and band-gating, not cryptographic transaction binding
Ledger head not externally anchored or signed A hash chain held entirely by one party cannot detect wholesale rewrite by that party Open — VAULT999 today is self-verifiable, not independently attestable
Third-party evaluation No external reviewer has published findings In progress since 2026-08-25; nothing published
Reproducible demo by strangers Onboarding path not independently tested Partial — demo verified here; no stranger has reproduced it unaided
Enterprise deployment No production customer reference Open
Standards conformance MCP/A2A results not published externally Partial — 9/9 wire tool input schemas verified against Draft 2020-12 and runtime rejection tested (report); output schemas and A2A streaming pending
SBOM and signed releases Supply-chain integrity unverified externally Partial — CycloneDX generated (903 pkgs) and signed with Observatory operational key; Trivy scan executed (found 11 Critical, 94 High open CVEs in python env); release artifact signing and CVE remediation pending
Test suite Needs a live kernel (tests/conftest.py refuses without :8088, by design) 7,668 tests collect clean (2026-10-05); the identity/authority subset carries 34 pre-existing failures vs 321 passes (2026-09-30) — quote a failure set, never a bare pass count
Observability Tracing partially wired Partial — sovereign Postgres + arifFlow live; OTel spans on all 8 verbs; caller-side propagation incomplete
Semantic layer (Graphiti) Knowledge graph retired from the read path graphiti_read: retired_888 (2026-09-04); semantic floor disabled by choice (ARIFOS_ML_FLOORS=0)
Comparative benchmark No published comparison against alternative frameworks Open
Maintainer continuity Single sovereign, single reviewer; no succession or key-recovery procedure published Drafted (Pending F13 Ratification) — Architecture proposed in docs/governance/SUCCESSION_AND_KEY_RECOVERY.md (Shamir 2-of-3 escrow, 48h emergency lockout, offline verification); custody and deputy terms require Arif’s direct review
Identity registry in two copies contracts/identity.py ↔ arifosmcp/contracts/identity.py had diverged; a one-sided edit ships split-brain identity Partial — Disk unified via symlink (arifosmcp/contracts/identity.py → contracts/identity.py), 31 tripwire tests pass; Python in-memory module consolidation (sys.modules alias or single-package migration) pending

See SECURITY.md for the threat model and disclosure policy, and docs/evidence/claims.yaml for the machine-readable claim registry.


How it works

  Agent proposes action
         │
         ▼
  ┌─────────────────┐
  │   arifOS Kernel  │  Evaluates against 13 constitutional floors
  │     (:8088)      │  Records provenance + evidence refs + hashes
  └────────┬────────┘
           │
    ┌──────┼────────┬──────────┬───────────┐
    ▼      ▼        ▼          ▼           ▼
  SEAL    HOLD    SABAR     PARTIAL      VOID
  (go)  (wait for (defer —  (proceed   (blocked by
        human)    evidence   with       a floor)
                  pending)   cooling)
    │      │
    ▼      ▼
  Execute  Human
  via      reviews
  A-FORGE
    │
    ▼
  Receipt in VAULT999 (append-only hash chain)

The judge never executes. The executor never certifies.

The verdict lattice

Verdicts are ordered and non-compensatory — a stronger verdict always dominates a weaker one. Two SOTs, one chain: the 5 primary ranks are declared in the constitutional SOT (kernel-sot.yaml); the full 7-rank chain adds 2 extension ranks in the runtime SOT (arifosmcp/models/verdicts.py):

VOID  >  HOLD_888  >  HOLD  >  SABAR  >  PARTIAL  >  PROVISIONAL  >  SEAL
Verdict Plain English What happens
SEAL Go Proceed to execution
PARTIAL Go carefully Proceed with cooling and monitoring
PROVISIONAL Proceed with expiry timer Auto-revoke at valid_until; no extension without re-judging
SABAR Wait for evidence Retry permitted later; distinct from HOLD
HOLD Wait for human Pause; await a human decision
HOLD_888 Stop — the sovereign decides Escalate to F13
VOID Blocked Stop; the constraint must be resolved

Floors are never averaged. One floor failure propagates into the verdict; there is no compensating score.

13 Constitutional Floors (F1–F13)

Floor Name Rule (essence)
F1 AMANAH Reversible first. Irreversible → 888_HOLD unless the sovereign acknowledges
F2 TRUTH P(truth) ≥ 0.99; evidence carries OBS/DER/INT/SPEC labels
F3 TRI-WITNESS W₃ = ∛(Human × AI × Earth) ≥ 0.75 at judgment; W³ ≥ 0.95 for SEAL
F4 CLARITY ΔS ≤ 0 — every output reduces entropy
F5 PEACE² Non-destructive power — block harm and extraction
F6 EMPATHY (kernel: MARUAH) Protect the weakest stakeholder; dignity is not tradeable
F7 HUMILITY Ω₀ ∈ [0.03, 0.05] — in-band pass, no fake certainty
F8 GENIUS G ≥ 0.80 for complex actions — the simplest correct path
F9 ANTIHANTU No deception, manipulation, or consciousness claims (lower = better)
F10 ONTOLOGY AI-only ontology; a soul claim is VOID
F11 AUDITABILITY Every decision logged, inspectable, attributable
F12 RESILIENCE Injection defence; input risk < 0.85 (lower = better)
F13 SOVEREIGN Human veto is FINAL

Three semantic classes: score floors (higher ≥ threshold), band floors (F7 in-band), ceiling floors (F9, F12 lower = better). Full canonical rules: FEDERATION_CONTRACT.md §3 · GENESIS/000_KERNEL_CANON.md.

VAULT999 — the record

Every consequential verdict and receipt is written to VAULT999: a hash-chained, append-only JSONL ledger set — tamper-evident by construction, not tamper-proof. An entry carries payload hash, entry hash, previous hash, trace root, actor, session and evidence references; source payloads are not copied in.

A hash chain proves internal consistency — not freedom from rewrite by whoever holds the ledger. External anchoring (published chain head, external signing) is not implemented: VAULT999 today is self-verifiable, not independently attestable. Census methods and counts: docs/evidence/VAULT_CENSUS.md (quote the timestamp with any count).


Connect an MCP client

https://mcp.arif-fazil.com/mcp      # canonical public door · or http://localhost:8088/mcp self-hosted

Canonical endpoint: https://mcp.arif-fazil.com/mcp. Listed & verified on Glama MCP Directory with rating A. Official registry manifest: server.json. https://arifos.arif-fazil.com/mcp is a live alias (proxies to the same kernel); use the canonical URL in client configs.

One command (Claude Code):

claude mcp add --transport http arifos-constitutional-ai-kernel https://mcp.arif-fazil.com/mcp

The same hosted endpoint is what Claude Desktop adds under Settings → Connectors, and what Cursor and VS Code point at as a plain server config — no API key, no environment variables, no local process. Third-party listing: ClaudeRules — arifos-constitutional-ai-kernel (imported from the Official MCP Registry).

Protocol facts, as measured: the kernel advertises 2026-07-28 and accepts 2026-07-28 · 2025-11-25 · 2025-03-26 · 2024-11-05; a live initialize currently settles on 2025-11-25 — pin that if you pin anything.

curl -s http://localhost:8088/mcp \
  -H 'content-type: application/json' -H 'accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'
# → 9 tools: arif_init arif_observe arif_think arif_route arif_memory arif_judge arif_forge arif_seal arif_report
# (surface measured 2026-11-01 — P1-5 identity truth-up)

Session flow (agents start here)

The kernel binds a session before any judgment:

// 1 — arif_init: actor identity + authority band (HOLD is the normal starting state)
{ "name": "arif_init", "arguments": { "mode": "init", "actor_id": "my-agent", "intent": "…" } }
// 2 — arif_judge: evaluate a proposal → verdict + evidence + next_safe_action
{ "name": "arif_judge", "arguments": { "candidate": "Delete the production audit table", "action_tier": "standard", "session_id": "…", "actor_id": "my-agent" } }
// 3 — arif_seal: only after a SEAL verdict; appends the receipt to VAULT999
{ "name": "arif_seal", "arguments": { "payload": "…", "session_id": "…", "ack_irreversible": true } }

Call arif_judge without a session and the kernel answers actor: anonymous, authority: OBSERVE_ONLY, verdict: HOLD — it will not silently upgrade an unattested caller.

Stage numbering (single source of truth). The verbs follow the ratified eight-stage map: 000 INIT · 111 OBSERVE · 333 THINK · 444 ROUTE · 555 MEMORY · 666 JUDGE · 777 FORGE · 999 SEAL (arifosmcp/constitutional_map.py, F13-ratified 2026-07-31). The retired 888 judge label survives only in historical mirrors; the live wire says 666.

Guided walkthrough: docs/START_HERE.md · verified docs/QUICKSTART.md.

Machine-readable surfaces

Surface URL For
MCP tool schemas tools.json agents, registry crawlers
Agent context llms.txt · AGENTS.md coding agents
Citation CITATION.cff institutions, researchers
Truth badges .well-known/badges/ — rendered from raw.githubusercontent; the public alias arifos.arif-fazil.com/.well-known/badges/* returned 404 (observed 2026-11-18) status dashboards
Current state .well-known/current-state.json automation

Architecture

arifOS Federation — planes and classes

    ┌───────────────────────────────────────────────────┐
    │  Authority plane — arifOS :8088                    │
    │  Constitutional judgment · F1–F13 · VAULT999        │
    └──────────────────────┬────────────────────────────┘
                           │
    ┌──────────────────────▼────────────────────────────┐
    │  Attention plane — AAA :3001                       │
    │  What matters · routing · state · skill catalog    │
    └──────────────────────┬────────────────────────────┘
                           │
    ┌──────────────────────▼────────────────────────────┐
    │  Execution plane — A-FORGE :7071/:7072             │
    │  Governed mutation · leases · receipts             │
    └──────────────────────┬────────────────────────────┘
                           │
    ┌──────────────────────▼────────────────────────────┐
    │  Witness + record — FRAME :18085 · VAULT999        │
    │  Independent observation · immutable history       │
    └───────────────────────────────────────────────────┘
        boundaries:  HERMES :18087 (semantic) · CHRON :18102 (temporal)
        domains:     GEOX :8081 · WEALTH :18082 · WELL :18083
        metabolism:  arifFlow :7073      gateway: FED :7074      synthesis: i-ARIF
Plane / class Component Role
Authority arifOS :8088 Constitutional judgment — owns the gavel and the ledger
Attention AAA :3001 What matters, and to whom. Displays, routes, queues; never adjudicates
Execution A-FORGE :7071/:7072 Governed mutation — leases, gates, receipts
Witness FRAME :18085 Independent observer. Its output is evidence, never a verdict
Record VAULT999 (in-kernel) Immutable append-only ledger
Metabolism arifFlow :7073 Receipt ingestion, FQ monitoring; never adjudicates
Domain intelligence GEOX :8081 · WEALTH :18082 · WELL :18083 Domain evidence and computation. Compute-only: no organ authorises its own action
Provider gateway FED :7074 Multi-provider model routing (advisory-only)
Boundary services HERMES :18087 · CHRON :18102 Semantic and temporal boundaries — not organs (FEDERATION_CONTRACT.md §2.1)

Tool-count semantics (so no two surfaces disagree): tools_exposed = 9 on the public MCP wire (8 canonical stage verbs KERNEL_ABI_8 + arif_report, matching /health → layer_health.registry.exposed_tools and live POST /mcp tools/list) · canonical superset = 25 (8 stage ABI + 4 map-only verbs: arif_fetch, arif_challenge, arif_stage, arif_measure + 13 hidden verbs) · total_declared = 48 (8 canonical + 40 diagnostic) · registry = 62 (with aliases) · operational = 3 (durable SUCCESS in the last 24 h — proven live, not merely invocable).


Reality graph — flow × organs × domains × infra

The tables above say who may act. The reality graph is the other half: where a piece of work actually travels, one stage and one owner at a time. Two graphs, one invariant — authority never flows from the organ that computed an observation to the organ that judges it.

stage (lg:)         owner      who answers                                  door
─────────────────── ────────── ──────────────────────────────────────────── ───────────────
lg:000  OBSERVE     Witness    arifOS arif_observe · FRAME                  :8088 · :18085
lg:111  EXPLORE     Witness    A-FORGE forge_search / forge_fetch           :7072
lg:222  APPRAISE    Witness    arifOS arif_think                            :8088
lg:333  DEVELOP     Builder    A-FORGE dry-run                              :7071
lg:444  DECIDE      Authority  F13 only — no agent self-decides             stop here
lg:555  PRODUCTION  Builder    A-FORGE under SEAL                           :7071
lg:556  DEPLOY      Executor   A-FORGE + live probe                         :7071
lg:777  SUSTAIN     Executor   arifFlow · FRAME                             :7073 · :18085
lg:888  HOLD        Authority  888-APEX verdict                             888_HOLD
lg:999  COMMITMENT  Kernel     arif_seal → VAULT999                         :8088

Stage labels carry the lg: prefix by rule: bare 000–999 are reserved for arifOS kernel verbs, so the same numeral means a kernel stage in kernel context and a graph node only when it is prefixed. The lg: → owner classes are F13-ratified (2026-09-25); the organ column is the contract mapping in FEDERATION_CONTRACT.md §2 and §4 — a mapping, not a probe. lg:888 and lg:999 each carry sub-nodes in the full namespace table.

Flow meter (does the graph move?). arifFlow :7073 measures that, per actor: execute vs. verify counts, barriers, and a diagnosis that names the next lg: node to take. It metabolizes receipts and never adjudicates — the same proposer/judge/executor/witness split as everywhere else.

curl -s http://127.0.0.1:7073/health   # FQ · diagnosis · per-actor execute/verify counts
# doors: GET /health · POST /ingest · /check · /release · /enforce · /flow

What each stage is fed from. Domains compute evidence and the substrate carries it; neither gets a vote:

Layer Members Ceiling Where it enters the graph
Domain intelligence GEOX :8081 · WEALTH :18082 · WELL :18083 COMPUTE_ONLY / REFLECT_ONLY evidence into lg:000–lg:222
Metabolism & witness arifFlow :7073 · FRAME :18085 · CHRON :18102 METABOLIZE / OBSERVE / COMPUTE_ONLY cadence + witness at lg:777
Substrate (infra) Postgres · Redis · Qdrant · FalkorDB · MinIO · NATS · Caddy · Headscale none — carries, never judges every stage
Sovereign F13 final veto lg:444 and every 888_HOLD

Ports and ceilings are registry facts, not prose facts: they live in the federation registry with truth_rule: live_health_beats_file. Quote the live endpoint, never this table.


Verification Status

Dynamic values live in the generated block at the top of this file — this table names how each surface is verified, not stale copies of the numbers.

Surface How to verify
Public repository GitHub ariffazil/arifOS, AGPL-3.0
PyPI package pip install arifos → pypi.org/project/arifos
Live kernel + floors curl localhost:8088/health → status, per-floor provenance
MCP interface live tools/list; protocol negotiation note above
VAULT999 ledger scripts/verify_vault_chain.py (scope: the active ledgers under arifOS/VAULT999/); census methods in docs/evidence/VAULT_CENSUS.md
Source / build / deploy /health → software_release (drift flag) · re-attested on every scripts/deploy-release.sh run
Contract schema contract_status in /health
Machine-readable tools.json · llms.txt · CITATION.cff
Scanner attestation mcp.arif-fazil.com/proof/

Operational gates (CI)

Workflow What it guards
Unified CI build + test
MCP Conformance protocol surface
Vault Integrity ledger chain
Floor Gate floor evaluation
Governance Gate governance contract
Drift Monitor source↔runtime drift
Uptime endpoint liveness

Sister Repositories

Repository Purpose
AAA — repository not public (404 observed 2026-11-18); organ live at aaa.arif-fazil.com Attention plane — routing, state, skill catalog, A2A gateway
A-FORGE Execution engine after authorisation
GEOX Earth sciences domain evidence
WEALTH — repository not public (404 observed 2026-11-18); organ live at wealth.arif-fazil.com/mcp Capital and financial intelligence
WELL Human and machine vitality observation
arifFlow Metabolic ledger daemon — FQ monitoring, receipt ingestion
FRAME Independent observer — drift detection, evidence gathering (repository archived, organ live)

No public repository today: FED (:7074), i-ARIF, AAA and WEALTH. They are deployed and reachable (the last two also lost their GitHub repositories — both returned 404 when re-probed 2026-11-18), but their source is not published. Treat their behaviour as observed from /health and their live doors only.


Evidence & Trust

arifOS publishes verifiable evidence for its claims. Every public claim links to an artifact that can be regenerated.

Claim Evidence Status
MCP conformance CI · report Partial
ABI stability Drift guard Partial
Floor enforcement /health → layer_health.constitutional (per-floor provenance) Verified by self-measurement; independent audit found the gap set above
Vault integrity scripts/verify_vault_chain.py Verified — INTACT within its scope; 2 legacy breaks reported as historical
SBOM Generator Partial
Quickstart Verified quickstart Verified by the maintainer 2026-09-21; not yet reproduced by a stranger

Honesty principle: we publish what passed, what failed, and what remains unknown. We do not claim maturity beyond our evidence.


SAKSI — the witness bot

SAKSI (Witness of Agentic REALITY by arifOS, Telegram @arifOS_bot) is the federation’s independent witness: a 1-shot, read-only MCP client with no multi-turn loop and no code-writing tools, so it audits journalctl and kernel health without narrative bias. Execution, judgment and witnessing stay separate — author ≠ judge ≠ executor ≠ witness — and a human keeps the circuit-breaker (888 HMAC). Live pattern card: mcp.arif-fazil.com.

External Footprint & Discovery

arifOS is publicly discoverable beyond first-party domains.

Current Measured Reality

  • Discoverable: YES
  • Installable: YES (pip install arifos)
  • Inspectable: YES
  • Forkable: YES

Verified Surfaces

  • GitHub public repositories (ariffazil/arifOS, ariffazil/arifosmcp)
  • PyPI packages (arifos, arifosmcp)
  • MCP ecosystem directories (model-context-protocol.com, glama.ai, clauderules.net)
  • Third-party MCP catalogs (Loomal, Skills Playground, LobeHub, G2, Willow)

Candidate Independent References (Observed Claims)

  • Agentrust: Awesome AI Governance (Curated production AI governance frameworks)
  • Tom Rochette: AI Control Planes Research (Technical evaluation on separation of powers and self-audit culture)
  • Hapax Systems: Constitution Research (Comparative benchmark on runtime axiom enforcement)

Open Gaps

  • Independent validation not yet established
  • Independent CI verifier not yet bound (Open Gap 4)
  • Academic citation not yet established
  • Commercial adoption not independently verified

Discoverability should not be interpreted as endorsement, certification, adoption, or proof of effectiveness.

See: docs/EXTERNAL_WITNESS_LEDGER.md and docs/EXTERNAL_FOOTPRINT.md.


Who Is This For

Operators deploying AI agents in regulated environments who need an independent judgment layer between proposals and execution. Developers building agent systems who want a policy decision point as a service. Evaluators and security reviewers assessing AI governance frameworks. Domain builders adapting governance to a field (geoscience, finance, healthcare).

Start here: docs/START_HERE.md

Development

git clone https://github.com/ariffazil/arifOS.git
cd arifOS
pip install -e ".[dev]"                       # dev tier — kernel + test tooling
python -m pytest tests/ -q                    # needs a live kernel at :8088 (see gaps)
make health                                   # probe the kernel
PORT=8088 arifos-mcp streamable-http          # start the kernel
python scripts/generate_current_state.py      # re-stamp the generated truth block

See CODEOWNERS for sovereign ownership of automation surfaces and CONTRIBUTING.md.

Security

See SECURITY.md for the threat model, known vulnerabilities and disclosure policy.

License

AGPL-3.0 (LICENSE). When deployed over a network, the complete source code must be made available to all users interacting with the service.


Revision 2026-11-22 — Added SAKSI Witness Pattern reference app (examples/saksi-witness/, docs/patterns/saksi-witness.md) demonstrating 1-shot read-only MCP runtime witnessing + 888 HMAC human circuit-breaker (Author ≠ Judge); reconciled SOT-MANIFEST and tool-count semantics (9 wire tools = 8 canonical stage verbs KERNEL_ABI_8 + arif_report) with live /health and POST /mcp tools/list; refreshed generated current-state block. Prior revision: 2026-11-18 — ClaudeRules listing badge + one-command Claude Code install; new Reality graph section binding the lg: stage path to organs, domains and infra; dead-link truth pass (github.com/ariffazil/AAA, /WEALTH and AAA/FEDERATION.md all 404; the floors badge endpoint returned 404 on the public alias, so it now renders from raw.githubusercontent). Prior revision: 2026-10-17 — APEX-ZEN upgrade: human story moved forward, founding context consolidated, 30-second proof elevated, duplicate “not yet proven” consolidated, “drift aligned” semantics clarified (binary matches build source, not necessarily repo HEAD). Prior revision: 2026-10-16 restructured under AGENTIC-README-DOCTRINE v1. Prior audit passes: 2026-09-21 full re-measurement · 2026-09-22 Copilot external ENTERPRISE · 2026-10-11 independent re-probe · 2026-10-17 four-probe audit (333-AGI + IrfanClaw + ChatGPT + WawaBot).

Ditempa Bukan Diberi — Forged, Not Given.

🔗 Federation Identity

Field Value
Organ arifos · CORE · governance_kernel
Ports 8088 (/mcp)
Unit arifos.service
Authority ceiling JUDGE_ONLY
Public MCP https://mcp.arif-fazil.com/mcp (canonical; live alias: https://arifos.arif-fazil.com/mcp)
Flow graph FEDERATION_CONTRACT.md §4 authority chain · §2 organ map (in-repo; the AAA mirror github.com/ariffazil/AAA/FEDERATION.md returned 404, observed 2026-11-18)
View the full README on GitHub

Install

npx -y mcp-remote https://mcp.arif-fazil.com/mcp
New to MCP? Start with the mcpskill.org guide →

Configuration

{ "mcpServers": { "arifos": { "type": "streamableHttp", "url": "https://mcp.arif-fazil.com/mcp" } } }