arifOS — Constitutional AI Kernel

io.github.ariffazil由 GitHub 帳號 ariffazil 發布v1!2026.10.11更新於 Oct 30, 2026

Constitutional verdict layer for AI agents. SEAL/HOLD before mutation. F1-F13 floors; audit ledger.

已驗證Streamable HTTP可網頁執行知識與記憶安全與監控AI 與機器學習

概覽

AI 產生的概覽

遠端 MCP 核心,依 13 條憲法底線評判代理程式擬執行的動作,在執行前回傳 SEAL、HOLD 或 VOID 裁決。

可以做什麼
  • 啟動與恢復受治理的核心工作階段,綁定執行者身分與稽核鏈
  • 蒐集帶認知標籤的證據,檢索或抓取來源,讀取核心遙測
  • 執行結構化推理,並把自然語言意圖路由到專門器官
  • 召回、檢視、修訂、提升或遺忘分層核心記憶
  • 評判候選動作與主張,回傳裁決及完整理由鏈
  • 預覽或套用受治理的變更,並向僅追加帳本寫入永久條目
適用情境
適合在受監管或高風險環境中運行 AI 代理程式的團隊,在提案與執行之間加入獨立的評判層並留下決策紀錄。也適合想把策略決策點當成服務使用的開發者,以及評估 AI 治理框架的審查者。
執行需求
需要一個遠端 streamable HTTP 端點;未宣告任何套件、環境變數或請求標頭。README 描述的工作階段流程中,arif_init 回傳的工作階段 ID 與權杖是後續呼叫所必需的,沒有工作階段的呼叫會被視為匿名且僅有 OBSERVE_ONLY 權限。自架方式則以 Python 套件與本機核心埠說明。
安裝前請注意
README 說明部分動詞會修改記憶層級,promote 與 forget 需要 human_approval=true;arif_forge 在持有已封存裁決 ID 時會實際套用變更;經 arif_seal 寫入的帳本條目不可編輯或刪除。README 也列出未解決缺口:ack_irreversible 與 actor_signature 僅以酬載欄位傳輸,沒有公開的人類簽章綁定,帳本鏈頭也未做外部錨定。其中引用的獨立稽核發現多條底線失敗或未量測,核心被描述為降級狀態。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 arifOS — Constitutional AI Kernel,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.ariffazil%2Farifos/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "arifos-constitutional-ai-kernel": {
      "type": "http",
      "url": "https://mcp.arif-fazil.com/mcp"
    }
  }
}

README

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

Runtime self-measurement (http://127.0.0.1:8088/health @2026-10-29T17:02:36Z): kernel degraded · floors 12/13 measured pass · vault999 healthy · release arifos-5564ca6f7f61 · 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

[arifOS — agent proposes, arifOS judges, human authority, A-FORGE executes, reality and receipt]

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

[PyPI] [Python] [License] [Glama] [Unified CI] [Floors] [Security audit]

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.

AudienceWhat you get
HumanA quiet veto: the agent proposes, the kernel records a verdict, you stay sovereign
Agent / A2AMCP tools + receipts. You do not get the keys. Judgment by arifOS, discovery by AAA, execution by A-FORGE
InstitutionPolicy floors F1–F13, a hash-chained VAULT999 audit trail, model-vendor independence
Machine / MCPStreamable HTTP endpoint, 8 canonical verbs, published schemas
Registries & IndexersGlama MCP Directory (Score: A) · server.json (Official MCP Registry) · 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 spent his career 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.


30-second proof

bash
pip install arifospython examples/enterprise_operations_demo.py

Three of the six graded scenarios:

text
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.


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.)

GapRiskStatus
Independent security auditAdversarial bypass testing not publishedIn progress — external researcher reviewing since 2026-08-25. Findings so far: fetch-surface SSRF (fixed, 1!2026.9.1); Cypher injection (HIGH — key whitelist landed) and fastmcp path traversal (MEDIUM — containment guard landed). See SECURITY.md
Sovereign-binding of irreversible acknowledgementack_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 agentOpen — 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 signedA hash chain held entirely by one party cannot detect wholesale rewrite by that partyOpen — VAULT999 today is self-verifiable, not independently attestable
Third-party evaluationNo external reviewer has published findingsIn progress since 2026-08-25; nothing published
Reproducible demo by strangersOnboarding path not independently testedPartial — demo verified here; no stranger has reproduced it unaided
Enterprise deploymentNo production customer referenceOpen
Standards conformanceMCP/A2A results not published externallyPartial — report: result: PARTIAL, per-tool schema validation DEFERRED
SBOM and signed releasesSupply-chain integrity unverified externallyPartial — CycloneDX on publish; no signing, no CVE scan
Test suiteNeeds 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
ObservabilityTracing partially wiredPartial — sovereign Postgres + arifFlow live; OTel spans on all 8 verbs; caller-side propagation incomplete
Semantic layer (Graphiti)Knowledge graph retired from the read pathgraphiti_read: retired_888 (2026-09-04); semantic floor disabled by choice (ARIFOS_ML_FLOORS=0)
Comparative benchmarkNo published comparison against alternative frameworksOpen
Maintainer continuitySingle sovereign, single reviewer; no succession or key-recovery procedure publishedOpen — relevant to institutional adoption
Identity registry in two copiescontracts/identity.py ↔ arifosmcp/contracts/identity.py had diverged; a one-sided edit ships split-brain identityMitigated 2026-09-30 (tripwire tests, 18 actors aligned) — consolidation to one owner still open

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
VerdictPlain EnglishWhat happens
SEALGoProceed to execution
PARTIALGo carefullyProceed with cooling and monitoring
PROVISIONALProceed with expiry timerAuto-revoke at valid_until; no extension without re-judging
SABARWait for evidenceRetry permitted later; distinct from HOLD
HOLDWait for humanPause; await a human decision
HOLD_888Stop — the sovereign decidesEscalate to F13
VOIDBlockedStop; 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)

FloorNameRule (essence)
F1AMANAHReversible first. Irreversible → 888_HOLD unless the sovereign acknowledges
F2TRUTHP(truth) ≥ 0.99; evidence carries OBS/DER/INT/SPEC labels
F3TRI-WITNESSW₃ = ∛(Human × AI × Earth) ≥ 0.75 at judgment; W³ ≥ 0.95 for SEAL
F4CLARITYΔS ≤ 0 — every output reduces entropy
F5PEACE²Non-destructive power — block harm and extraction
F6EMPATHY (kernel: MARUAH)Protect the weakest stakeholder; dignity is not tradeable
F7HUMILITYΩ₀ ∈ [0.03, 0.05] — in-band pass, no fake certainty
F8GENIUSG ≥ 0.80 for complex actions — the simplest correct path
F9ANTIHANTUNo deception, manipulation, or consciousness claims (lower = better)
F10ONTOLOGYAI-only ontology; a soul claim is VOID
F11AUDITABILITYEvery decision logged, inspectable, attributable
F12RESILIENCEInjection defence; input risk < 0.85 (lower = better)
F13SOVEREIGNHuman 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

[Glama] [Official Registry Manifest]

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.

Client config — Cline · Cursor · Windsurf · Claude Desktop

Cline — cline_mcp_settings.json:

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

Cursor — ~/.cursor/mcp.json:

json
{ "mcpServers": { "arifos": { "url": "https://mcp.arif-fazil.com/mcp" } } }

Windsurf — mcp_config.json (note: serverUrl, not url):

json
{ "mcpServers": { "arifos": { "type": "streamable-http", "serverUrl": "https://mcp.arif-fazil.com/mcp" } } }

Claude Desktop — stdio bridge to the HTTP door:

json
{ "mcpServers": { "arifos": { "command": "npx", "args": ["-y", "mcp-remote", "https://mcp.arif-fazil.com/mcp"] } } }

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.

bash
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":{}}'# → 8 tools: arif_init arif_observe arif_think arif_route arif_memory arif_judge arif_forge arif_seal

Session flow (agents start here)

The kernel binds a session before any judgment:

jsonc
// 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

SurfaceURLFor
MCP tool schemastools.jsonagents, registry crawlers
Agent contextllms.txt · AGENTS.mdcoding agents
CitationCITATION.cffinstitutions, researchers
Truth badges.well-known/badges/status dashboards
Current state.well-known/current-state.jsonautomation

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 / classComponentRole
AuthorityarifOS :8088Constitutional judgment — owns the gavel and the ledger
AttentionAAA :3001What matters, and to whom. Displays, routes, queues; never adjudicates
ExecutionA-FORGE :7071/:7072Governed mutation — leases, gates, receipts
WitnessFRAME :18085Independent observer. Its output is evidence, never a verdict
RecordVAULT999 (in-kernel)Immutable append-only ledger
MetabolismarifFlow :7073Receipt ingestion, FQ monitoring; never adjudicates
Domain intelligenceGEOX :8081 · WEALTH :18082 · WELL :18083Domain evidence and computation. Compute-only: no organ authorises its own action
Provider gatewayFED :7074Multi-provider model routing (advisory-only)
Boundary servicesHERMES :18087 · CHRON :18102Semantic and temporal boundaries — not organs (FEDERATION_CONTRACT.md §2.1)

Tool-count semantics (so no two surfaces disagree): tools_loaded = 8 — the public MCP facade (KERNEL_ABI_8), the only number to quote publicly · canonical superset = 25 (8 public 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).


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.

SurfaceHow to verify
Public repositoryGitHub ariffazil/arifOS, AGPL-3.0
PyPI packagepip install arifos → pypi.org/project/arifos
Live kernel + floorscurl localhost:8088/health → status, per-floor provenance
MCP interfacelive tools/list; protocol negotiation note above
VAULT999 ledgerscripts/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 schemacontract_status in /health
Machine-readabletools.json · llms.txt · CITATION.cff
Scanner attestationmcp.arif-fazil.com/proof/

Operational gates (CI)

WorkflowWhat it guards
Unified CIbuild + test
MCP Conformanceprotocol surface
Vault Integrityledger chain
Floor Gatefloor evaluation
Governance Gategovernance contract
Drift Monitorsource↔runtime drift
Uptimeendpoint liveness

Sister Repositories

RepositoryPurpose
AAAAttention plane — routing, state, skill catalog, A2A gateway
A-FORGEExecution engine after authorisation
GEOXEarth sciences domain evidence
WEALTHCapital and financial intelligence
WELLHuman and machine vitality observation
arifFlowMetabolic ledger daemon — FQ monitoring, receipt ingestion
FRAMEIndependent observer — drift detection, evidence gathering (repository archived, organ live)

No public repository today: FED (:7074) and i-ARIF. They are deployed and reachable, but their source is not published. Treat their behaviour as observed from /health only.


Evidence & Trust

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

ClaimEvidenceStatus
MCP conformanceCI · reportPartial
ABI stabilityDrift guardPartial
Floor enforcement/health → layer_health.constitutional (per-floor provenance)Verified by self-measurement; independent audit found the gap set above
Vault integrityscripts/verify_vault_chain.pyVerified — INTACT within its scope; 2 legacy breaks reported as historical
SBOMGeneratorPartial
QuickstartVerified quickstartVerified 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.


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)
  • 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

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

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

Project structure (the five [wheel root] entries are exactly what ships)
arifOS/├── arifosmcp/          # Core kernel package                    [wheel root]│   ├── abi/            # Capability registry and floor definitions│   ├── constitution/   # Constitutional floor implementations│   ├── contracts/      # Packaged copy of the identity/verdict contracts│   ├── kernel/         # Core judgment engine│   └── VAULT999/       # VAULT999 ledger implementation├── arifos/             # Phase 3 identity/consent namespace      [wheel root]├── contracts/          # Runtime contract package                [wheel root]├── core/               # Load-bearing legacy root                [wheel root]├── schemas/            # INIT v2 schemas (F13-ratified 2026-09-20) [wheel root]├── examples/           # Runnable governed workflow demo├── tests/              # Test suite (pytest)├── scripts/            # Operational tooling (update_readme_sot.py, generate_current_state.py)├── .well-known/        # Generated machine state + truth badges (gitignored: state/)├── docs/               # Documentation + evidence/ + archive/└── pyproject.toml      # Package metadata — [wheel root] marks packages.find.include

Until 2026-09-30 this tree listed only arifosmcp/ while the runtime imported contracts.* at 10 import statements across 5 files — production resolved them only from a site-packages leftover that a fresh venv would not have. Fixed in 27409ddbf. An incomplete structure diagram is not a cosmetic gap — it is how an unshipped, runtime-critical package stays invisible. contracts/ and arifosmcp/contracts/ are kept in agreement by tripwire tests; consolidating them into one owner is still open.

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-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

FieldValue
Organarifos · CORE · governance_kernel
Ports8088 (/mcp)
Unitarifos.service
Authority ceilingJUDGE_ONLY
Public MCPhttps://mcp.arif-fazil.com/mcp (canonical; live alias: https://arifos.arif-fazil.com/mcp)
Flow graphFEDERATION.md — peta semua organ + repo

來源:README.md,提交 024ff90

工具

9

arif_init

000 Init · Kernel Session

KERNEL 000 · Ignite a governed kernel session: binds actor identity, constitutional floors F1–F13, and the audit chain. Returns the session_id + session_token that every other arif_* verb requires. Use mode=preflight to inspect an existing session without re-igniting, mode=resume to continue one. Modes: init, preflight, resume, validate, canary, triage, epoch_open, epoch_seal, light, opt_out.Auth: the only verb needing no session — it mints the session_id + session_token every other verb requires. Returns: session_id, session_token, constitution_hash, allowed_next_tools.

輸入參數modenonceintent必填contextpayloadtoolingverboseactor_idepoch_idevidencetrace_idverbosity另有 16 個

arif_observe

111 Observe · Sense Reality

KERNEL 111 · Collect evidence — facts and sources with epistemic tags (OBS) and uncertainty bounds, never conclusions. mode=search queries the open web/literature; mode=fetch retrieves a URL and records its provenance; mode=vitals reads kernel machine telemetry. Reason over what you gathered with arif_think; delegate domain analysis to an organ with arif_route. Modes: search, fetch, hybrid_discovery, ingest, compass, atlas, entropy_dS, vitals.Auth: requires session_id + session_token from arif_init. Returns: evidence items with epistemic tags (OBS) and uncertainty bounds — facts, never conclusions.

輸入參數urlmodequerylayersactor_idsession_idresult_limitsession_token

arif_think

333 Think · Mind

KERNEL 333 · Structured reasoning pass: decomposes a query and returns reasoning steps labeled OBS (observed), DER (derived), INT (interpretation), SPEC (specification) under truth floors. Produces reasoning records only — no verdicts (those come from arif_judge) and no state changes. The plan-family modes draft/review/approve execution plans; simulate and wonder explore counterfactuals. Modes: reason, reflect, verify, axioms, plan, plan_review, plan_approve, refactor_plan, metabolize, simulate, wonder, atlas.Auth: requires session_id + session_token from arif_init. Returns: reasoning steps labelled OBS/DER/INT/SPEC — records only; verdicts belong to arif_judge.

輸入參數modequerycontextplan_idactor_idsession_idwitness_typesession_token

arif_route

444 Route · Intent→Organ

KERNEL 444 · Intent→organ router: classifies a natural-language intent and dispatches it to the specialist organ (GEOX geoscience, WEALTH capital, WELL vitality, A-FORGE execution). Returns the routing decision only — no organ call — unless organ_tool names the target tool and arguments carries its inputs. Prefer this over guessing organs yourself; use arif_think for reasoning you keep in-kernel.Auth: requires session_id + session_token from arif_init. Returns: the routing decision (organ + tool) only — the organ call itself is a separate step.

輸入參數modetaskorganintentactor_idargumentsmission_idorgan_toolsession_idsession_tokencontract_c_kwargs

arif_memory

Memory Governor · Kernel

KERNEL 555 · Governed memory of the kernel itself: six tiers (L1–L6) with per-mode gating. recall, inspect, and audit are read paths; remember, revise, promote, and forget mutate tiers — promote and forget additionally require human_approval=true. Use for cross-session lessons, canon, and memory audit; external evidence belongs to arif_observe and reasoning artifacts to arif_think. Modes: recall, inspect, attest, remember, promote, revise, forget, audit, metabolize.Auth: requires session_id + session_token from arif_init. Returns: memory entries by tier (L1–L6); promote and forget gates require explicit human approval.

輸入參數modetierquerycontentpayloadto_tieractor_idlease_idtrace_idmemory_idsession_idnew_content另有 3 個

arif_judge

666 Judge · Verdict

KERNEL 666 · Binding constitutional arbitration: evaluates a candidate action or claim and returns SEAL / HOLD / SABAR / VOID with the full reason chain. Weighs action class, blast radius, reversibility, entropy pathway, and cooling state; a SEAL verdict here is what arif_forge requires before it will execute anything. Judge arbitrates — it does not gather (evidence comes via arif_observe, reasoning via arif_think) and it does not mutate (execution is arif_forge, permanence is arif_seal). Modes: judge, intercept, validate, hold, escalate.Auth: requires session_id + session_token from arif_init. Returns: verdict (SEAL/HOLD/SABAR/VOID) with the full reason chain — arbitration only, it does not mutate.

輸入參數modenoncedomainkey_idactor_Bactor_idevidenceactor_Phicandidateclaim_textsession_idaction_tier另有 19 個

arif_forge

777 Forge · Execute Gate

KERNEL 777 · Governed execution: applies a mutation through A-FORGE only when carrying a sealed verdict id (seal_verdict_id) from arif_judge and a live session. The manifest/query defines exactly what changes; mode=dry_run previews the plan without applying it. This is the only verb that executes general mutations — kernel memory writes go to arif_memory and permanent records to arif_seal.Auth: requires session_id + session_token from arif_init plus a sealed verdict id (seal_verdict_id) from arif_judge. Returns: the applied mutation receipt — one of the two committal verbs (with arif_seal).

輸入參數modequeryplan_idactor_idmanifestsession_idarif_ack_idartifact_idsession_tokenvault_entry_idseal_verdict_idack_irreversible另有 3 個

arif_seal

999 Seal · VAULT999

KERNEL 999 · Append an entry to VAULT999, the immutable ledger — accepted entries can never be edited or removed; there is no unseal. Use for permanent records of verified outcomes, lessons, and session closure once a verdict exists. ack_irreversible=true is the explicit acknowledgment of permanence, and judge_state_hash binds the entry to the verdict that authorized it. Reversible changes belong in arif_forge under a SEAL. Modes: seal, verify, ledger, changelog, audit, session_close.Commit projection: seven of the eight verbs are reversible or informational and project their outcomes onto the two committal verbs — arif_forge (governed mutation) and arif_seal (permanence). Auth: requires session_id + session_token from arif_init. Returns: the immutable ledger entry id — append-only, there is no unseal.

輸入參數modenoncepayload必填actor_idsession_iddrift_eventsseal_purposewitness_typesession_tokenconstitutionalactor_signatureack_irreversible另有 2 個

arif_report

Arif Report

AGENT REPORT LANE · File or read reports between agents without involving the human. Use when your work is done, when you are blocked by another agent, or when you need to tell peers a fact. modes: report (file), inbox (read peers), ack, flush, stats. kind=fyi|peer|done|claim stay in the peer lane; ONLY kind=decision or kind=blocked reach the sovereign, and only in one coalesced message. Reports are SELF_REPORTED — probe before relying on one.

輸入參數bodykindmodeforcelimitsincesenderdry_runsubjectactor_idevidenceplatform另有 7 個

版本歷史

2
  1. v1!2026.10.11最新Oct 16, 2026
  2. v2026.06.30Sep 16, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分