Skip to content

Commit c48590f

Browse files
author
ARIF FAZIL
committed
release: 2026.02.17-FORGE-VPS-SEAL
- CHANGELOG.md created (first formal changelog at repo root) - docs/RELEASE_NOTES.md updated for VPS+Observability seal - pyproject.toml version 2026.2.15 -> 2026.2.17; comment history cleaned - Version string bumped to 2026.02.17-FORGE-VPS-SEAL across all aaa_mcp modules - README.md: Reality Index 0.95 -> 0.97, T000 badge, status table, ZKPC block updated - PyPI package 2026.2.17 published at https://pypi.org/project/arifos/2026.2.17/
1 parent f658aad commit c48590f

10 files changed

Lines changed: 268 additions & 264 deletions

File tree

CHANGELOG.md

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
# CHANGELOG — arifOS Constitutional AI Kernel
2+
3+
All changes follow [T000 versioning](T000_VERSIONING.md): `YYYY.MM.DD-PHASE-STATE`.
4+
**Creed:** DITEMPA BUKAN DIBERI — Forged, Not Given.
5+
6+
---
7+
8+
## [2026.2.17] — 2026-02-17 — FORGE-VPS-SEAL
9+
10+
**T000:** 2026.02.17-FORGE-VPS-SEAL
11+
**Theme:** Infrastructure sovereignty + H1.1 Production Observability
12+
13+
### Added
14+
- **H1.1 Production Observability**`/health` now returns granular governance metrics:
15+
- `postgres.status` / `postgres.lag_ms` — VAULT999 ledger liveness
16+
- `redis.status` / `redis.version` — MindVault session cache liveness
17+
- `core_pipeline.verdict` — Live constitutional pipeline verdict on health check
18+
- `mcp_tools.tool_count` — Count of registered MCP tools
19+
- `memory.percent` / `memory.available` — Host memory pressure
20+
- **Starlette lifespan context** in `aaa_mcp/rest.py` — health checks now register on
21+
application startup instead of requiring `main()` to be called
22+
- `EnvironmentFile=/opt/arifos/.env` in systemd unit — secrets loaded securely from disk,
23+
not baked into service file
24+
25+
### Fixed
26+
- `HealthMonitor.check_all` now merges dict return values from individual checks instead
27+
of discarding sub-fields (postgres lag, redis version, pipeline verdict were all silently lost)
28+
- `HealthMonitor.status[name]` now correctly reflects `{"status": False}` dict results
29+
(previously `bool(dict)` was always `True`)
30+
- `redis_client.get_redis_client` replaced brittle manual URL parser with `redis.from_url`
31+
— fixes crash on `redis://localhost:6379/0` (DB index `/0` broke `int(port_str)`)
32+
- Postgres `permission denied for schema public` — granted `ALL ON SCHEMA public TO arifos`
33+
- `monitoring.py` critical tool list updated to use MCP verb names (`anchor`, `reason`, …)
34+
instead of internal graph names (`init_gate`, `agi_sense`, …)
35+
- `rest.py` missing stdlib imports (`datetime`, `asyncio`, `uvicorn`, `json`, `time`, `uuid`)
36+
that caused `NameError` on VPS startup after import refactor
37+
38+
### Changed
39+
- **Deployment platform: Railway → Hostinger VPS** (primary)
40+
- `railway.toml` deleted
41+
- `docker-compose.railway-local.yml``docker-compose.yml`
42+
- `DEPLOYMENT.md` rewritten for VPS (systemd + nginx + certbot)
43+
- `arifosmcp.nginx.conf` rewritten: proxy to port 8080, SSE-safe (no buffering, `proxy_buffering off`)
44+
- `server.json` SSE URL updated: `arifos-production.up.railway.app``arifosmcp.arif-fazil.com`
45+
- `pyproject.toml` URLs corrected: `aaamcp.arif-fazil.com``arifosmcp.arif-fazil.com`
46+
47+
### Infrastructure (VPS)
48+
- Systemd service `arifos-mcp.service` — auto-start, `Restart=always`, `RestartSec=5`
49+
- Nginx reverse proxy with SSL (Let's Encrypt) — `arifosmcp.arif-fazil.com`
50+
- PostgreSQL 17 (native) + Redis 8.0.2 (native) — both healthy and connected
51+
52+
---
53+
54+
## [2026.2.15] — 2026-02-15 — FORGE-TRINITY-SEAL
55+
56+
**T000:** 2026.02.15-FORGE-TRINITY-SEAL
57+
**Theme:** Codebase consolidation + MCP schema alignment + T000 versioning
58+
59+
### Added
60+
- `core/shared/sbert_floors.py` — SBERT-based semantic floor classifier for F5/F6/F9
61+
replacing keyword heuristics (H1.2 foundation); lazy-loads `all-MiniLM-L6-v2`
62+
- `aaa_mcp/config/capability_modules.yaml` — migrated from `arifos/config/`
63+
- `MCP_NAME_TO_REGISTRY` dict and `get_tool_by_mcp_name()` in `aaa_mcp/protocol/tool_registry.py`
64+
- `MCP_TO_GRAPH` dict in `aaa_mcp/protocol/tool_graph.py`
65+
- `trinity_forge` added to `server.json` (was implemented but missing from schema)
66+
- `AGENTS.md` rewritten as focused 150-line agent guide for coding agents
67+
68+
### Removed
69+
- `arifos/` — entire pre-v52 legacy package (no `__init__.py`, not importable, 3 dead files)
70+
- `codebase/` — 82 files / 21,047 lines of dead code (agi/, asi/, apex/, init/, shared/, vault/)
71+
Runtime (`aaa_mcp/server.py`) was already importing 100% from `core/`
72+
- `core/asi/` — single-file subdirectory; `sbert_floors.py` moved to `core/shared/`
73+
- `build/` — stale setuptools artifact directory
74+
- `railway.toml`, `docker-compose.railway-local.yml` (renamed)
75+
- 6 test files archived to `tests/archive/` (depended on deleted `codebase/` / `arifos/` APIs)
76+
77+
### Fixed
78+
- `server.json` floor descriptions now match actual `@constitutional_floor()` decorators
79+
(e.g. `align` was claiming F5+F6+F9 but decorator is only F9)
80+
- `core/shared/floors.py` F8 Genius check removed stale `from codebase.floors.genius import`
81+
try/except; collapsed to the fallback path that was always running
82+
- `pyproject.toml` stale `arifos*` / `codebase*` package discovery entries removed
83+
- mypy overrides updated from `arifos.*` to `core.*`
84+
85+
### Changed
86+
- `core/organs/_2_asi.py` import: `from core.asi.sbert_floors``from core.shared.sbert_floors`
87+
- `aaa_mcp/server.py` capability YAML path: `../arifos/config/…``config/…` (local)
88+
89+
---
90+
91+
## [2026.1.26] — 2026-01-26 — LIVE-DASHBOARD-SEAL
92+
93+
**Theme:** Live governance metrics, dashboard integration, constitutional floor pass 13/13
94+
95+
### Added
96+
- `LiveMetricsService` — real-time constitutional metrics from VAULT999 ledger
97+
- Live τ (truth), κᵣ (empathy), Ψ (vitality), ΔS (clarity) computation
98+
- `/metrics/json` endpoint serving live data with `calibration_mode` transparency
99+
100+
### Fixed
101+
- Removed all static placeholder metrics (0.99, 0.98, 0.85)
102+
- τ now computed from actual eval harness; Ω₀ from uncertainty engine
103+
104+
---
105+
106+
## [2026.1.24] — 2026-01-24 — UNIFIED-CORE-SEAL
107+
108+
**Theme:** AAA_MCP unified, pure bridge architecture
109+
110+
### Changed
111+
- `aaa_mcp/` becomes pure transport adapter — all decision logic moved to `core/`
112+
- `core/` established as the single decision kernel with no transport imports
113+
114+
---
115+
116+
## [2026.1.18] — 2026-01-18 — CONSTITUTIONAL-FORGE
117+
118+
**Theme:** 13 Constitutional Floors, Trinity Engines, MCP foundation
119+
120+
### Added
121+
- 13 constitutional floors F1–F13 with hard/soft enforcement
122+
- Trinity architecture (ΔΩΨ): AGI Mind, ASI Heart, APEX Soul
123+
- 9-tool MCP pipeline: anchor → reason → integrate → respond → validate → align → forge → audit → seal
124+
- VAULT999 immutable ledger with Merkle chaining
125+
- `@constitutional_floor()` decorator for automatic floor enforcement
126+
127+
---
128+
129+
*Format: [T000 Date] — Date — PHASE-STATE | Full spec: T000_VERSIONING.md*

README.md

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
<a href="https://pypi.org/project/arifos/"><img src="https://img.shields.io/pypi/v/arifos.svg" alt="PyPI version"></a>
1111
<a href="https://github.com/ariffazil/arifOS"><img src="https://img.shields.io/github/stars/ariffazil/arifOS" alt="GitHub stars"></a>
1212
<a href="https://arifosmcp.arif-fazil.com/health"><img src="https://img.shields.io/badge/status-LIVE-success" alt="Status"></a>
13-
<a href="./T000_VERSIONING.md"><img src="https://img.shields.io/badge/T000-2026.02.15--FORGE--TRINITY--SEAL-blue" alt="T000"></a>
13+
<a href="./T000_VERSIONING.md"><img src="https://img.shields.io/badge/T000-2026.02.17--FORGE--VPS--SEAL-blue" alt="T000"></a>
1414
<a href="LICENSE"><img src="https://img.shields.io/badge/license-AGPL--3.0-green" alt="License"></a>
1515
<br><br>
1616
<a href="#-quick-start"><b>🚀 Quick Start</b></a> ·
1717
<a href="#-the-13-constitutional-floors"><b>🛡️ 13 Floors</b></a> ·
18-
<a href="#-honest-state-reality-index-095"><b>📊 Status</b></a> ·
18+
<a href="#-honest-state-reality-index-097"><b>📊 Status</b></a> ·
1919
<a href="#-faq"><b>❓ FAQ</b></a>
2020
</p>
2121

@@ -296,26 +296,28 @@ Connect from OpenClaw, Claude Desktop, or any MCP client. See the [MCP Platform
296296
### Connect to Live Server
297297
```bash
298298
curl https://arifosmcp.arif-fazil.com/health
299-
# {"status":"healthy","service":"aaa-mcp","version":"64.2-FORGE-TRINITY-SEAL"}
299+
# {"status":"healthy","service":"aaa-mcp-rest","version":"2026.02.17-FORGE-VPS-SEAL",
300+
# "health_checks":{"postgres":{"status":"connected"},"redis":{"status":"connected"},...}}
300301
```
301302

302303
### Full Deployment
303-
See [`DEPLOYMENT.md`](./DEPLOYMENT.md)Railway, Docker, VPS.
304+
See [`DEPLOYMENT.md`](./DEPLOYMENT.md)VPS (Hostinger), Docker, local stdio.
304305

305306
---
306307

307-
## 📊 Honest State (Reality Index: 0.95)
308+
## 📊 Honest State (Reality Index: 0.97)
308309

309310
> *F7 Humility requires we tell you what doesn't work yet.*
310311
311312
### ✅ SEAL (Production)
312313
| Layer | Evidence |
313314
|:------|:---------|
314315
| **L0 KERNEL** | 5 organs, 9 system calls, 13 floors enforced |
315-
| **L1–L4** | 9 MCP tools, thermodynamic hardening, <1ms cached |
316-
| **VAULT999** | Immutable ledger with cryptographic seals |
317-
| **Deployment** | [Live](https://arifosmcp.arif-fazil.com/health) — Triple Transport (STDIO/SSE/HTTP) |
318-
| **Tests** | 140 test files |
316+
| **L1–L4** | 15 MCP tools (10 pipeline + 5 container), triple transport |
317+
| **VAULT999** | PostgreSQL-backed immutable ledger with cryptographic seals |
318+
| **Deployment** | [Live](https://arifosmcp.arif-fazil.com/health) — Hostinger VPS, systemd, SSL, Postgres + Redis |
319+
| **Observability** | `/health` returns granular metrics (DB lag, pipeline verdict, tool count) |
320+
| **Tests** | 166 passing, 0 failing |
319321

320322
### 🟡 SABAR (Experimental)
321323
| Component | Status |
@@ -405,19 +407,20 @@ No. [VAULT999](./core/vault/README.md) logs metabolic verdicts and hashes for au
405407
## 🔐 ZKPC Hash (Zero-Knowledge Proof of Constitution)
406408

407409
```text
408-
T000: 2026.02.15-FORGE-TRINITY-SEAL
410+
T000: 2026.02.17-FORGE-VPS-SEAL
409411
L0_KERNEL: DEFINED — Intelligence Kernel Operational
410412
8_LAYER_STACK: L0-L7 — Constitutional Architecture Complete
411-
REALITY_INDEX: 0.95
413+
REALITY_INDEX: 0.97
414+
INFRASTRUCTURE: VPS-PRIMARY — Hostinger 72.62.71.199 (Postgres + Redis + Systemd + SSL)
412415
AUTHORITY: 888_JUDGE — Muhammad Arif bin Fazil
413416
MOTTO: DITEMPA BUKAN DIBERI — Forged, Not Given
414417
415418
ZKPC_COMMITMENT: sha256:9ff233cbba955e6db12702d5d8b012bd95d49e13
416-
MERKLE_ROOT: arifos_v65.0_L0_KERNEL_SEALED
419+
MERKLE_ROOT: arifos_2026.02.17_VPS_SEAL
417420
```
418421

419422
<p align="center">
420-
<img src="https://img.shields.io/badge/CANONIZED-T000--2026.02.17--FORGE--SEAL-blue?style=for-the-badge" alt="Canonized Seal">
423+
<img src="https://img.shields.io/badge/CANONIZED-T000--2026.02.17--FORGE--VPS--SEAL-blue?style=for-the-badge" alt="Canonized Seal">
421424
</p>
422425

423426
---

aaa_mcp/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
22
arifOS AAA MCP Server — 9-Skill Constitutional Architecture (T000)
3-
T000 Version: 2026.02.15-FORGE-TRINITY-SEAL
3+
T000 Version: 2026.02.17-FORGE-VPS-SEAL
44
9 Canonical Verbs | Trinity Pipeline (ANCHOR → REASON → INTEGRATE → RESPOND → VALIDATE → ALIGN → FORGE → AUDIT → SEAL)
55
66
Provides constitutional governance layer for MCP-compatible AI platforms.
@@ -11,7 +11,7 @@
1111
from .mcp_integration import MCPIntegrationLayer, get_mcp_layer
1212
from .server import align, anchor, audit, forge, integrate, mcp, reason, respond, seal, validate
1313

14-
__version__ = "2026.02.15-FORGE-TRINITY-SEAL"
14+
__version__ = "2026.02.17-FORGE-VPS-SEAL"
1515
__all__ = [
1616
# FastMCP server instance
1717
"mcp",

aaa_mcp/integrations/self_ops/diagnostics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class SelfOpsDiagnostics:
7979

8080
def __init__(self, base_url: Optional[str] = None):
8181
self.base_url = base_url or os.getenv("ARIFOS_BASE_URL", "http://localhost:8080")
82-
self.version = "2026.02.15-FORGE-TRINITY-SEAL"
82+
self.version = "2026.02.17-FORGE-VPS-SEAL"
8383

8484
async def run_full_diagnostic(self) -> SelfOpsReport:
8585
"""Run complete self-diagnostic suite."""

aaa_mcp/rest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343

4444
# Build info
4545
BUILD_INFO = {
46-
"version": "2026.02.15-FORGE-TRINITY-SEAL",
47-
"schema_version": "2026.02.15-FORGE-TRINITY-SEAL",
46+
"version": "2026.02.17-FORGE-VPS-SEAL",
47+
"schema_version": "2026.02.17-FORGE-VPS-SEAL",
4848
"git_sha": os.environ.get("GIT_SHA", "unknown"),
4949
"build_time": os.environ.get("BUILD_TIME", datetime.utcnow().isoformat()),
5050
}

aaa_mcp/selftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python3
22
"""
3-
arifOS MCP Self-Test Module (2026.02.15-FORGE-TRINITY-SEAL)
3+
arifOS MCP Self-Test Module (2026.02.17-FORGE-VPS-SEAL)
44
55
Run before deployment to verify:
66
1. Constitutional floors are loaded

aaa_mcp/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
arifOS AAA MCP Server — The 9 Hardened Skills (2026.02.15-FORGE-TRINITY-SEAL)
2+
arifOS AAA MCP Server — The 9 Hardened Skills (2026.02.17-FORGE-VPS-SEAL)
33
44
Multi-Transport Support: STDIO | SSE | StreamableHTTP
55
9 Canonical Verbs enforcing the 13 Constitutional Floors:

aaa_mcp/streamable_http_server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ async def mcp_endpoint(request: Request) -> JSONResponse:
218218
"result": {
219219
"protocolVersion": "2024-11-05",
220220
"capabilities": {"tools": {}, "logging": {}, "prompts": {}, "resources": {}},
221-
"serverInfo": {"name": "arifos-aaa-mcp", "version": "2026.02.15-FORGE-TRINITY-SEAL"},
221+
"serverInfo": {"name": "arifos-aaa-mcp", "version": "2026.02.17-FORGE-VPS-SEAL"},
222222
},
223223
},
224224
headers={"Mcp-Session-Id": session_id},
@@ -315,7 +315,7 @@ async def health(request: Request) -> JSONResponse:
315315
{
316316
"status": "healthy" if monitor.is_healthy() else "degraded",
317317
"transport": "streamable-http",
318-
"version": "2026.02.15-FORGE-TRINITY-SEAL",
318+
"version": "2026.02.17-FORGE-VPS-SEAL",
319319
"governance_metrics": stats,
320320
"health_checks": health_results,
321321
"endpoints": ["/mcp", "/health"],

0 commit comments

Comments
 (0)