roninos
v3.1.2
Published
RoninOS Polyglot Invariant Aperture Engine, Zero-Custody CLI, and Universal MCP Review Server
Maintainers
Readme
RoninOS Polyglot Invariant Aperture Engine (v3.1.0)
Zero-Custody Local Code Review, 5-Pillar AST Invariant Aperture, and Universal MCP Review Server
100% Local Execution. $0.00 Cloud Tokens. Zero Code Custody. Records, Not Verdicts.Isolation note (v3.1): the packaged
llmMechanicalJail.jsis the legacy in-process cooperative jail. The permission-restricted child-process jail lives in the repository CLI/web build. Do not treat the packaged jail as a security boundary.
⚡ What is RoninOS?
RoninOS is a sub-15ms polyglot architectural verification engine and universal IDE review companion. It enforces mathematical structural invariants across your pull requests and git diffs before defects reach production.
It combines:
- 5-Pillar Deterministic Aperture:
- Pillar 1: Multi-Language WASM AST Evaluator (Rust, Go, Python, TypeScript, Java, C/C++)
- Pillar 2: Dynamic Reflection & Metaprogramming Hazard Gate (CWE-470)
- Pillar 3: Security Invariant Bounds (CWE-22 Path Traversal, CWE-89 SQLi, CWE-78 Command Injection, CWE-667 Lock Leaks)
- Pillar 4: SQLite CTE Inter-Procedural Taint Slicer
- Pillar 5: Stripe & Fintech State Machine Invariants (Balance Underflow, Atomic CAS, Idempotency)
- Local Ghost Engine Integration: Powered by local
opensoyce-sentryGGUF models via Ollama mmap—generating grounded explanations and surgical unified diff patches with 0 MB cloud custody. - Universal MCP Server: Integrates natively into Cursor, Windsurf, Claude Code, and any Model Context Protocol host.
🚀 Quickstart
1. Run via npx (Zero Global Install)
Audit unstaged or staged git changes in any repository:
npx roninos --diffAudit your latest commit:
npx roninos HEAD~1Run the built-in interactive demo:
npx roninos --demo --explainOutput machine-readable JSON for CI/CD gates:
npx roninos --diff --jsonTurn a receipt into a PR summary:
npx roninos summary --receipt roninos-receipt.jsonAsk a question grounded only in the receipt:
npx roninos chat --receipt roninos-receipt.json --question "Why was this blocked?"Plan an incremental re-review from two receipts:
npx roninos plan --previous previous-receipt.json --next current-receipt.jsonNo API key is required for the deterministic gate, summary, chat, plan, or local MCP server.
🔌 Universal MCP Server (Cursor, Windsurf, Claude Code)
RoninOS exposes the roninos_audit_diff tool over standard JSON-RPC (stdio).
One-Command Setup
Register RoninOS with your local IDEs:
npx roninos mcp installManual Configuration
Cursor (.cursor/mcp.json or Global Settings)
{
"mcpServers": {
"roninos": {
"command": "npx",
"args": ["-y", "roninos", "mcp"]
}
}
}Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"roninos": {
"command": "npx",
"args": ["-y", "roninos", "mcp"]
}
}
}When your IDE agent performs a code review, it calls roninos_audit_diff to receive mathematical invariant proofs and surgical remediation recipes.
🛡️ The 5 Pillars of Invariant Protection
| Pillar | Invariant Class | Target Scope |
| :--- | :--- | :--- |
| Pillar 1 | Multi-Lang AST Syntax & Semantics | Rust, Go, Python, TypeScript, Java, C/C++ |
| Pillar 2 | Dynamic Dispatch & Reflection Escape | obj[userKey](), getattr(), unsafe blocks |
| Pillar 3 | Security Boundaries (CWE-22, 78, 89, 667) | Path Traversal, SQLi, Shell Injection, Mutex Leaks |
| Pillar 4 | SQLite CTE Path-Sensitive Taint | Untrusted parameter dataflow reaching sinks |
| Pillar 5 | Fintech & State Machine Invariants | Balance underflows, overdraft races, double-spends |
📜 Doctrine: Records, Not Verdicts
RoninOS does not emit subjective opinions. It produces tamper-evident audit receipts containing:
- Exact file paths, line ranges, and offending AST nodes.
- CWE categorization and formal violation rule IDs.
- Deterministic mathematical proofs verifying invariant failure.
- Sub-15ms local latency receipts ($0.00 billed).
📄 License
MIT © Prince Jacque Dionne Finney — Fullstack Blockchain Solutions LLC & OpenSoyce
