Resumable Multi-Module Feature Execution
Hand cross-package refactors to the Goal Loop. It decomposes subtasks, locks architectural constraints, and resumes cleanly across sessions.
Conventional AI assistants forget rules mid-session and overwrite files wholesale. Loomo runs a 4-layer nested loop where every learned rule must pass real tsc & unit-test shadow gates before activation.
Built to own the entire engineering loop—from goal decomposition and surgical edits to compiler verification and rule crystallization.
Hand cross-package refactors to the Goal Loop. It decomposes subtasks, locks architectural constraints, and resumes cleanly across sessions.
Failures crystallize into read-only Cognitive Tombstones; candidate rules must follow Causal Contract AST syntax and pass real tsc + unit tests.
LSP symbol references paired with Hashline hash-anchored diffs touch only target lines—eliminating LLM truncation and accidental deletions.
Runs as a standalone desktop app with a bundled Node 22 runtime. Pair Mobile Companion over LAN/tunnel to approve sensitive actions remotely.
Written from the ground up in TypeScript—zero fragile glue scripts, every subsystem enforced by measurable invariants.
Unlike stateless chat windows, Loomo consolidates FTS5 memory, trims context budgets, and audits workspace health during idle ticks.
Prevents prompt bloat. Candidate rules require Causal Contract AST syntax, ≥3 shadow injections with zero violations, and quarantine on ≥30% error rate.
0ms regex intent gating filters noise before invoking LSP references and hash-anchored line diffs, preserving comments and adjacent code.
src/router.ts#L42-44
- const timeout = 3000;
+ const timeout = config.requestTimeoutMs ?? 5000;Distills engineering feeds 24/7 in a cold SQLite store while enforcing strict 0-token isolation during coding—recalling only when entity gates match.
Coordinates Planner, Executor, Critic, and Tester roles with structured event ledgers, fault recovery, and resumable checkpoints.
Streams live workspace pulse telemetry to your phone and routes destructive-action confirmations for instant one-tap approval.
MCP, SKILL.md, and rule files are just the steering wheel and brakes. Real differentiation lies in loop depth and self-correction gates.
| Dimension | 1-Layer Assistants (Aider / Chatbots) | 2-Layer Agents (Claude Code / Cursor) | Loomo (4-Layer Self-Evolving) |
|---|---|---|---|
| Loop Architecture Depth | 1 Layer (ReAct chat loop only) | 1.5 – 2 Layers (ReAct + inline edit or /goal) | 4 Nested Layers (Tick + Agent + Goal + Evolution) |
| Rule Evolution & Safety | No cross-session memory; manual re-prompting | Unverified natural-language Rules.md bloat | Causal Contract AST + Shadow tsc/tests + Tombstones + 30% breaker |
| Code Editing Granularity | Frequent full-file rewrites & truncation risk | Patch blocks or IDE editor APIs | Hashline hash-anchored line diffs + LSP + 0ms LoomoGraph |
| External Intelligence | Offline or manual doc pasting | Manual web search polluting coding context | RSSFlow cold/hot isolation (strict 0 Token during coding) |
| Runtime & Companion | CLI bound to local environment | Tied to a specific IDE or terminal | Standalone Desktop (Node 22 bundled) + Web Cockpit + Mobile |
From background wake-up and surgical execution to long-horizon goals and verified evolution.
Heartbeat · Memory & health maintenance
Execution · Hashline diffs & tool dispatch
Autonomy · Subtask tree & checkpoint resume
Governance · AST gate & auto-rollback
Cleanly separated across runtime, cognitive memory, RSI governance, and cross-platform desktop/mobile hosts.
Event-bus and state-machine core orchestrating tool dispatch, dynamic context assembly, and multi-provider failover across interactive and background channels.
npm run loomo:devCore abstractions, event bus, and shared primitives
Agent state machine, multi-channel routing & interceptors
Unified LLM provider SDK, streaming & failover
Coding runtime & dynamic prompt assembly
Batteries-included desktop installers with a bundled Node.js 22 runtime—standard installer or portable zero-install builds.