MESSY AI CODE << SELF-HEAL << CAUGHT GRIT → FINER FILTER TRUSTED CODE · CLEAR · 100% MIT · LOCAL-FIRST

Cleanroom steady: 3 screens strip defects into the backwash loop; trusted MIT stream clear.

100% OPEN SOURCE · MIT MONOREPO · LOCAL-FIRST · ZERO LOCK-IN

A trustable source of code—cleaning entropy from AI code.

Raw AI output enters noisy and brittle. Iron’s local gates test mobile and desktop side-by-side, catch defects before they ship, and feed every failure back to harden the system—delivering clean, verified MIT code with zero cloud keys and zero lock-in.

100% Open Source · MIT Monorepo · Clone & Self-Build

1-Click Local Install & Multi-Client MCP Config
terminal
# 1. Default: iron v0.3.1 (6.4 MB · ~/.local/share/iron/memory.db · 5 MCP tools · 9 skills · 7 subagents)
curl -fsSL https://raw.githubusercontent.com/arielonoriaga/iron-stack/main/install.sh | bash

# 2. Full Stack (+ iron-browser v0.1.1 [26 MCP tools] + iron-term v0.1.0 Public Preview, MIT)
curl -fsSL https://raw.githubusercontent.com/arielonoriaga/iron-stack/main/install.sh | bash -s -- --all

# 3. Skills only / Cargo
npx skills add arielonoriaga/iron-stack
cargo binstall iron-suite
~878 ns Rust N-API causal TabEventBus
31 Tools 26 Browser + 5 Memory bounded MCP
390 + 1280 Simultaneous Portrait & Landscape
100% MIT Local SQLite, Unix sockets & PTY · 0 Cloud
LIVE ECOSYSTEM FLOWCHART · CLOSED LOOP

Watch the entire local stack execute in real time.

Every stage below maps directly to shipped Unix sockets, SQLite WAL files, 31 MCP tools, and PTY hooks — orchestrate in iron-term, recall from memory.db, review cleanly, verify Dual-Viewport, and backpropagate.

RUNNING LIVE

Hover or focus any node to trace live protocol links

↺ 05 → 01/02 · iron memory outcome · 0 MB sleep End-to-end local delivery: PTY dispatch → FTS5 recall → adversarial review → dual-viewport proof → outcome log.
BUS TELEMETRY [iron-term] spawn claude --mcp iron-memory,iron-browser on desktop Jump to workbench ↗
OPEN SOURCE LEDGER · MIT MONOREPO · ZERO LOCK-IN

Three core pillars in one MIT monorepo. Zero vendor lock-in. Build from source.

Unified under github.com/arielonoriaga/iron-stack with full git subtree history. No SaaS seats, no hidden telemetry — fork, audit, or compile every Rust crate and Electron shell directly on your workstation.

arielonoriaga/iron-stack · MIT · Single Workspace ↗ One installer · --browser · --term · --all · npx skills add arielonoriaga/iron-stack
01 · iron-suite Available Now

MIT License (MIT) · v0.3.1 · Artifact: 6.4 MB

SQLite FTS5 + 512-dim Hybrid RRF Memory (5 MCP Tools) · Second Brain UI · 9 Skills & 7 Subagents

Quick install flag

curl -fsSL https://raw.githubusercontent.com/arielonoriaga/iron-stack/main/install.sh | bash

Build from source

cargo binstall iron-suite || cargo install --git https://github.com/arielonoriaga/iron-stack --locked

Inspect Source on GitHub ↗ Jump to workbench →

02 · iron-browser Public Beta v0.1.1

MIT License (MIT) · v0.1.1 · Artifact: 1.1 MB

Dual-Viewport 390×844 + 1280×720 Chromium · 26-Tool Rust MCP · 8-Edge Dock & Setup-Agnostic Linux

Quick install flag

curl -fsSL https://raw.githubusercontent.com/arielonoriaga/iron-stack/main/install.sh | bash -s -- --browser

Build from source

git clone https://github.com/arielonoriaga/iron-stack.git && cd iron-stack/packages/iron-browser && (cd app && bun install && bun run build) && cargo build --release -p iron-browser-mcp && ./packaging/install-desktop.sh

Inspect Source on GitHub ↗ Jump to workbench →

03 · iron-term Public Preview v0.1.0

MIT License (MIT) · v0.1.0 · Artifact: 0 MB idle

Native Rust + GPUI Alacritty Blade Terminal · iron-agentd · 0 MB Hibernation & iron-termctl

Public Preview v0.1.0 · Working today on Linux (57/57 Rust workspace tests green) under MIT.

Quick install flag

curl -fsSL https://raw.githubusercontent.com/arielonoriaga/iron-stack/main/install.sh | bash -s -- --term

Build from source

git clone https://github.com/arielonoriaga/iron-stack.git && cd iron-stack/packages/iron-term && ./packaging/install-desktop.sh

Inspect Source on GitHub ↗ Jump to workbench →

01 / IRON-BROWSER · PUBLIC BETA v0.1.1 · MIT

Verify 390×844 Mobile and 1280×720 Desktop in one single-flight window.

Public Beta · Setup-Agnostic Linux Releases v0.1.1 ↗ iron-browser (MIT) ↗

Two live Chromium WebContentsViews side-by-side. Every click, PIN keystroke, dialog dismissal, and canvas drag mirrors across both viewports while deduplicating HTTP mutations, WebSockets, SSE, and binary SFS2X streams onto a single upstream flight.

Interactive Workbench — click PIN keys or Checkout inside Portrait (390px) and watch Landscape (1280px) + the Rust Event Bus react in lockstep:

● Dual https://pos.example.app/checkout
Mirror: ON Shared Dedup: 1 saved
PORTRAIT · 390×844 · DPR 3 60 fps · touch
Order #1042 PIN: ••__
LANDSCAPE · 1280×720 · DPR 1 (Mirrored Target) 0 clippedItems · 0 stalls
Desktop Register Split-View SYNCED
Operator PIN State: PIN: ••__
Last Single-Flight TX: 2× POST intercepted → 1 upstream flight (corrId remapped)
LIVE TELEMETRY & GPU
CPU: 1.0× host · Heap: 18.4 MB (0 detached DOM) · WebGL: 14 draws / 4,820 tris
sessionStorage Proxy: strict same-origin ✓
[gestureSeq=#101 · 878ns] mirror.ready — Portrait 390×844 ⇄ Landscape 1280×720 · HTTP/WS/SSE/SFS2X dedup armed
[gestureSeq=#102 · http_dedup] POST /api/v1/checkout (2 panes) → 1 upstream 200 OK · saved 1 duplicate charge
01 Single-Flight Dedup + 26 MCP Tools

Mirrored clicks never double-charge cards. Adds browser_close_tab, browser_select_tab, browser_reload, browser_navigate_history, browser_wait_for, browser_storage, and background tabs.

02 POS Hardware Lab + Off-Thread CPU & Heap

Throttle to Sunmi V2 Pro (6× CPU, slow-4g) and stream 256 MB V8 .heapsnapshot dominator trees & inclusive callTrees inside Worker threads with 0 main-thread stalls.

03 8-Edge Floating Markdown Dock & Setup-Agnostic Linux

Auto-detects Wayland/X11 Ozone and $PATH CLIs without tmux/Alacritty/Hyprland; spawn agy, claude, codex, or opencode in an 8-edge resizable dock with live Markdown formatting.

02 / IRON-SUITE · AVAILABLE NOW · MIT

Persistent Second Brain memory and adversarial review gates that never drift.

Available Now · Cargo / Bash arielonoriaga/iron-stack (MIT) ↗

One 6.4 MB Rust binary (iron) gives every CLI agent a local SQLite FTS5 + 512-dim Hybrid Reciprocal Rank Fusion memory hub (~/.local/share/iron/memory.db) with 5 stdio MCP tools, an interactive Second Brain, Trust Desk & Agent Lens UI (iron ui), 9 skills, and 7 subagents.

/iron-design

iron mcp · 5 tools · SQLite WAL · 0600

Grounds UI/UX in real backend invariants, builds 3 distinct prototypes in a live UX Lab, and hands off to irondev.

Enforced Phase State Machine
1. scope 2. 3-lens scan 3. brief 4. 3 proposals 5. live UX Lab 6. Plain-to-Magic 7. irondev handoff
Hard Contract Invariant Validates both 390×844 mobile and 1280×720 desktop in IronBrowser with zero clipped overflow.
7 Specialist Subagents
iron-backend-dev Rust / SQL / API worker
iron-backend-review Backend adversarial reviewer
iron-frontend-dev UI / Astro / TS worker
iron-frontend-review Frontend + dual-viewport reviewer
iron-security-dev Authz & crypto worker
iron-security-review Security boundary reviewer
iron-verifier Independent end-to-end verifier
Second Brain Constellation (iron ui :7420)

Click any memory node to inspect trust score, graph edges, and privacy-scrubbed summary.

CDP setImmediate Single-Flight 2500ms 512-dim Hybrid RRF Advisory Lock Order 0 MB Wake Check
CDP setImmediate invariant iron-browser trust: 1.00

Yield setImmediate before Fetch.continueRequest in Electron 35 to prevent RequestBodyCollector UAF.

shares_anchor → 512-dim Hybrid RRF · shares_anchor → Single-Flight 2500ms
Morning Review Queue & Trust Desk
drift 0.50× drift
Verify DB path in docs matches ~/.local/share/iron/memory.db
git ls-files audit flagged stale home-dotdir memory.db path in legacy draft.
contradiction 0.15× decay
MCP key standardized to "iron-memory" (supersedes "iron")
install.sh registers "iron-memory" in Claude Code, Antigravity, Codex, and OpenCode.
Agent Lens · Live 512-dim Hybrid RRF + FTS5 Search (~/.local/share/iron/memory.db) 512-dim RRF + FTS5 · --max-bytes 2000
[RRF 0.984 · correction] Yield setImmediate before Fetch.continueRequest in Electron 35
InterceptionJob emits Fetch.requestPaused synchronously inside RequestBodyCollector::Collect() before assigning body_collector_; synchronous continueRequest causes main-thread UAF.
[RRF 0.941 · gotcha] Never overwrite mmap-loaded .node addons in place with cp -f
Use atomic temp write + rename(2), private mkdtempSync 0700 unlinked dlopen copies, and -Wl,-z,nodelete.
01 Independent Adversarial Review

Non-trivial work cannot finish until a fresh-context reviewer audits raw receipts on the final commit SHA and returns 0 findings.

02 Bug → Invariant Backpropagation

Every post-mortem or test flake traces root cause and records a permanent guard so the same class of bug never ships twice.

03 Zero-Cloud ~/.local/share/iron/memory.db

No SaaS keys, vector cloud bills, or leaked proprietary code. 512-dim Hybrid Semantic RRF + FTS5 BM25 recall shared across Claude Code, Codex, and Antigravity.

Memory fitness · iron memory · ranked, not hoarded

Memories earn their rank. Stale rules sink.

Every recall, helpful vote and verified outcome adds evidence to a memory. Iron ranks them with one bounded formula: corrections outweigh history, reinforcement saturates at +45%, a superseded memory keeps 15% of its weight, and every contradiction divides its score. The nightly sleep pass queues opposing rules for review and counts lessons repeated across memories as consolidation candidates.

Pick a memory on the orbit, then recall it.

Never commit .env files

correction ×2.2
active
uses
4
confirms
0
contradictions
0
score
2.70

score = weight × (1 + 0.45·e ⁄ (4 + e)) × (superseded ? 0.15 : 1) ⁄ (1 + 0.4·contradictions), e = uses + 2·confirms

Top of the ranking

  1. Never commit .env files2.70
  2. Exercise the real UI before claiming a fix2.70
  3. Scope every query by tenant_id2.64
  4. Store timestamps in UTC2.64
  5. Never force-push a shared branch2.62

Review queue

  • Empty. Run iron memory sleep.

Constants match iron-stack v0.3.1 (store.rs ranking). The memories shown are illustrative samples.

System Graph · iron memory graph · MCP system_graph

A code-derived map of how your services talk to each other.

Built deterministically from source code with 0 LLM tokens: Axum routes, Hono/Express routers, nginx host maps, Rust reqwest clients, SPA api.* clients, and Astro/TS fetch calls. Every link pairs caller chunk, handler chunk, and payload contract — so cross-repo edits warn before anything ships.

0 LLM tokens Deterministic build from code
~230 B Per who-calls answer
≤300 B Claude Code hook on cross-repo edits only
~22 ms No-change refresh (observed)
Callers · worker + shop-web (3 pages) Provider · shop-api (Axum)
worker reqwest · shop.rs:198 shop-web (SPA) CatalogPage CheckoutPage OrderDetailPage shop-api (Axum) POST /api/internal/invoices GET /api/products POST /api/checkout GET /api/orders/{id} invoices /api/products /api/checkout /api/orders/{id}
CLAUDE CODE EDIT HOOK · ≤300 B · SILENT OTHERWISE 0 B · silent

no alert · all 4 chunk pairs verified @a1b2c3d. Trigger an edit above to watch chunk hashes and hooks react.

Chunk pair & contract · POST /api/internal/invoices

caller hash
2b5c870f
handler hash
493db541
unrelated fn
09f9dd10
fog
0
unverified
0
stale memories
0
Request contract
order_idsell_point_idtotal_cents
Attached memory (why · ≤2 lines) anchored · fresh

Why: sell_point_id maps 1:1 to the fiscal branch table — never rename it before migrating worker and billing exports.

01 0-Token Extractors Across Your Stack

Parses Axum nest/merge prefixes and multi-line routes, Hono/Express routers (including DI sub-routers), nginx host maps, Rust reqwest clients, SPA api.* clients, and Astro/TS fetch calls.

02 Explicit Fog, Never Silent Drops

Resolves links via config → unique (method, path) across providers → name hint → suffix. Unresolved calls surface as fog; nightly suggest --apply --safe only adds prefix/external/env rules that clear fog without retargeting existing links.

03 Normalized Chunks, Verified Pairs & Why

Every fn, struct, enum, const, method, arrow, or client member gets a comment- and whitespace-insensitive hash. Verify pins (caller, handler, contract); graph unverified and graph stale-memories track drift while memories attach ≤2-line rationale.

Measured on one workspace (6 repos · ~4,100 files)

Observed on the author’s workspace — shown as real telemetry, not a universal guarantee.

Real bug caught

Surfaced a live client calling GET /cajas/{id} where the server only routed PATCH — fixed and deployed.

27,171 normalized chunks
~1,500 / ~1,080 / ~1,045 endpoints / calls / links
~22 ms / ~43 ms / ~16 s refresh / 1-file edit / full build
77 → 21 fog via extractors + safe learning

Generic services shown (shop-api, worker, shop-web). Hook lines, normalized hashing, pair keys, and fog rules mirror iron memory graph.

03 / IRON-TERM · PUBLIC PREVIEW v0.1.0 · MIT

Run 30 CLI coding agents across desktop and laptop without melting RAM or focus.

Public Preview v0.1.0 · Rust + GPUI iron-stack/packages/iron-term ↗ (MIT)

Built on the Alacritty Blade architecture: a headless Rust PTY daemon (iron-agentd) paired with a pure GPU-accelerated iron-gpui client where 90–98% of pixels stay terminal glass and idle multi-day sessions hibernate to 0 MB live RAM.

ez-commerce · iron-perf · host: desktop · RSS: 44 MB
$ cargo test --workspace --no-fail-fast [guardrail] Heavy workspace cargo run intercepted on main host. Queue load: desktop 1/2 slots · laptop ssh 0/2 slots Waiting for operator decision: [1] Run via runq [2] Allow [3] Deny
Blocked on heavy cargo build — choose [1] Run via runq, [2] Allow once, or [3] Deny
01 Urgency-First 236px Whisper Rail

Stop scrolling dozens of tmux windows of raw ANSI. Sessions group strictly into NEEDS YOU, ACTIVE, and collapsed 0 MB DORMANT.

02 1-Line Ghost Action Bar

When a guardrail or approval blocks an agent, press [1] Run via runq, [2] Allow, or [3] Deny at the bottom hairline — zero modal walls.

03 Portable Socket Discovery & Thermal runq

Auto-discovers hosts via IRON_TERM_SOCKET / IRON_TERM_HOSTS and XDG desktop installers — zero open ports and automatic CPU/RAM build scheduling.

04 / ARCHITECTURAL PROOF & 31-TOOL MCP SURFACE

Engineered for observable receipts, not demo-video theater.

Every tool enforces hard UTF-8 output byte budgets (max_bytes / --max-bytes), 0600 local socket permissions, and automatic URL/JWT/Bearer token redaction.

CapabilityPlaywright / Raw DevTools MCPCloud Agent WrappersThe Iron Stack (MIT)
Simultaneous 390×844 + 1280×720 parity Separate runs / manual resize Single headless tab Live Dual WebContentsView at 60fps
Mirrored POST / WS / SSE / SFS2X dedup Double-submits mutations None Single-flight + correlation-ID remap
Causal gesture → network/DOM trace Unlinked raw logs Opaque cloud logs Rust TabEventBus (~878 ns · gestureSeq)
Off-thread V8 CPU callTree & Heap diff Blocks main loop / manual UI Unavailable Worker dominators + leak diff under 6× CPU
Cross-session memory & review gate Stateless per chat Vendor-locked cloud DB Local SQLite FTS5/RRF + 0-finding review
30-agent multi-machine RAM footprint N/A 30× Electron/Node processes iron-agentd + 0 MB session hibernation

All 31 Bounded-Byte Stack MCP Tools (26 Browser + 5 Memory)

Speaks newline-delimited stdio MCP (2025-06-18) with strict additionalProperties: false and explicit safety annotations:

Viewport, Interaction & Visual Repro (7)
browser_tabsbrowser_openbrowser_navigatebrowser_interactbrowser_screenshotbrowser_reprobrowser_filmstrip
Tab Lifecycle, History, Wait & Storage (6)
browser_close_tabbrowser_select_tabbrowser_reloadbrowser_navigate_historybrowser_wait_forbrowser_storage
Causal Network, Console & Rust Bus (5)
browser_eventsbrowser_networkbrowser_consolebrowser_incidentsbrowser_eval
CPU CallTree, V8 Heap Dominators & POS Lab (6)
browser_emulatebrowser_profilebrowser_heapbrowser_metricsbrowser_trace_startbrowser_trace_stop
WebGL & Post-Mortem Crash Forensics (2)
browser_webglbrowser_health
Iron Memory · SQLite FTS5 + 512-dim Hybrid RRF (5 stdio MCP tools)
memory_searchmemory_getmemory_relatedmemory_remembermemory_feedback

Companion Open-Source Rust CLIs (MIT)

100% Open Source. Zero lock-in. Inspect, fork, and forge locally.

Every package in The Iron Stack monorepo is MIT-licensed and dogfooded daily on production SaaS, POS hardware, and WebGL systems at Huggian.