NEUTRON EVO OS
NEUTRON EVO OS - Self-Evolving Intelligence via Functional Accumulation $\int f(t)dt$ & Memory 2.0.
Ask AI about NEUTRON EVO OS
Powered by Claude Β· Grounded in docs
I know everything about NEUTRON EVO OS. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
π§ NEUTRON EVO OS

β«f(t)dt β Functional Credibility Over Institutional Inertia Sovereign AI Agent Operating System v4.1.0
What Is This?
NEUTRON EVO OS is an autonomous operating system that runs on top of any AI CLI agent (Claude Code, Cursor, Cline) or any AI context window. It gives the AI a soul, memory, discipline, and credibility system β so it stops hallucinating, stops slopping, and starts delivering.
It is not a wrapper script. It is a complete cognitive architecture:
- 7 fully operational skills
- Full pipeline: Discovery β SPEC β Build β Acceptance β Ship
- User-rating-based CI (Credibility Index)
- Dream Cycle memory consolidation
- MCP server for AI Code integration
- NEUTRON CLI with 18 commands
Features
| Feature | Description |
|---|---|
| 7 Core Skills | context, memory, workflow, engine, checkpoint, discovery, acceptance_test |
| Discovery Interview | 12-question hybrid interview to extract real requirements |
| SPEC Review Gate | Formal spec with measurable acceptance criteria β user must approve |
| Acceptance Test Gate | Auto-generated test script β user must confirm pass |
| User Rating CI | Shipments rated 1-5; average rating drives system credibility |
| USER DECISIONS Log | Only human decisions preserved, not skill executions |
| Auto-Confirm Modes | Skip gates individually or all at once (full, spec_only, acceptance_only, etc.) |
| Dream Cycle | Auto-archive + distill logs into knowledge |
| MCP Server | 10 tools exposed via stdio JSON-RPC 2.0 for Claude Code |
| NEUTRON CLI | 18 commands: run, discover, spec, build, accept, ship, auto, audit... |
| System-Wide | Apply β«f(t)dt to ALL projects |
Quick Install (2 minutes)
# 1. Clone
git clone https://github.com/adamwang99/NEUTRON-EVO-OS.git
cd NEUTRON-EVO-OS
# 2. Install (3 modes β pick one)
bash install.sh cli # CLI only (neutron command)
bash install.sh mcp # CLI + MCP server for Claude Code β recommended
bash install.sh full # Everything: MCP + hooks + all projects
# 3. Verify
neutron --help
neutron status
That's it. No pip install, no config files, no credentials needed.
IDE Integrations
Cursor IDE:
make install-cursor # or: bash install-cursor.sh
NEUTRON runs as MCP server (HTTP port 3100) inside Cursor.
Cline (VS Code extension):
make install-cline # or: bash install-cline.sh
NEUTRON MCP tools available directly in Cline.
MCP HTTP Server (manual):
python3 -m mcp_server --transport http --port 3100
# Health: curl http://localhost:3100/health
Learned Skills
NEUTRON learns from every session. Run distillation to find reusable patterns:
neutron learned distill # Scan memory β find pattern candidates
neutron learned register # Save a pattern as learned skill
neutron learned list # Show all learned skills
What it does:
- Installs
neutronCLI to~/.local/bin - Sets
~/.claude/CLAUDE.mdso every Claude Code session starts with NEUTRON context - Works in any project directory, forever
NEUTRON CLI β 18 Commands
neutron run <task> Run full pipeline (explore β discovery β spec β build β accept β ship)
neutron discover "idea" Start 12-question discovery interview
neutron discover-record Record answers as key=value pairs
neutron spec [task] Write SPEC.md (USER REVIEW gate)
neutron spec-approve Approve SPEC β unlocks build
neutron build [task] Build implementation
neutron verify [task] Run verification
neutron accept prepare Generate acceptance test script
neutron accept pass Confirm acceptance
neutron ship --rating 4 Ship delivery (rating 1-5)
neutron auto full Skip ALL gates (auto-confirm everything)
neutron auto spec_only Auto-approve SPEC only
neutron auto disable Full human control
neutron checkpoint Write session checkpoint
neutron status System status + health
neutron audit Full CI audit (7 skills)
neutron memory log|search|status|dream|archive
neutron log Show today's memory log
neutron decisions Show recent user decisions
neutron route <task> Route task to best skill
neutron dream Run Dream Cycle
The Pipeline
/discover β 12-question interview β DISCOVERY.md
β
/spec β Formal SPEC.md β USER MUST APPROVE β
β
/build β Implementation β Anti-Slop enforcement
β
/accept β Acceptance test β USER MUST CONFIRM β
β
/ship β Deliver + Rate β Rating updates CI
Gates
Every pipeline gate is a hard stop unless auto-confirm is enabled:
| Gate | Normal Mode | Auto Mode |
|---|---|---|
| Discovery | 12 questions | Skipped |
| SPEC Review | User must approve | Auto-approved |
| Acceptance Test | User must confirm | Auto-passed |
CI β Credibility Index
Every skill earns CI through real deliveries:
| Rating | CI Delta |
|---|---|
| Ship with rating 5 | +15 |
| Ship with rating 4 | +10 |
| Ship with rating 3 | +5 |
| Ship with rating 2 | -5 |
| Ship with rating 1 | -15 |
User rating is the primary CI signal. Skill execution counts are secondary.
MCP Server β AI Code Integration
Connect NEUTRON to Claude Code as an MCP server:
// ~/.claude/mcp.json
{
"mcpServers": {
"NEUTRON-EVO-OS": {
"command": "python3",
"args": ["-m", "mcp_server"],
"env": { "NEUTRON_ROOT": "/path/to/NEUTRON-EVO-OS" }
}
}
}
10 MCP tools available:
neutron_checkpointβ Write, read, handoff session checkpointneutron_discoveryβ Run discovery interviewneutron_contextβ Audit context filesneutron_memoryβ Log, archive, search, dream, statusneutron_workflowβ Execute any pipeline stepneutron_acceptanceβ Prepare or pass acceptance testneutron_engineβ Audit CI, route tasks, control observerneutron_auditβ Full system health checkneutron_auto_confirmβ Enable/disable auto-confirm modes
Architecture
NEUTRON-EVO-OS/
βββ engine/ # Core engine
β βββ expert_skill_router.py # CI audit & task routing
β βββ skill_execution.py # Pipeline: validate β execute β log β update CI
β βββ skill_registry.py # Registry of all skills
β βββ smart_observer.py # Watchdog with debounce
β βββ dream_engine.py # Archive + distill cycle
β βββ auto_confirm.py # Gate skip configuration
β βββ user_decisions.py # USER DECISIONS tracker
β βββ rating.py # Shipment rating tracker
β βββ checkpoint_cli.py # Checkpoint handoff
β βββ cli/
β βββ main.py # CLI entry point (18 commands)
β
βββ skills/core/ # 7 fully implemented skills
β βββ context/ # Context loading & P0/P1/P2 injection
β βββ memory/ # Memory ops + Dream Cycle trigger
β βββ workflow/ # Full pipeline + gate management
β βββ engine/ # Audit + route + observer control
β βββ checkpoint/ # Write/read/handoff checkpoint
β βββ discovery/ # 12-question hybrid interview
β βββ acceptance_test/ # Auto-generated test + user confirm
β
βββ memory/ # Daily logs
β βββ archived/ # Archived files (NEVER DELETE)
β βββ discoveries/ # Discovery session outputs
β βββ cookbooks/ # Distilled knowledge
β
βββ mcp_server/ # MCP stdio server (10 tools)
β βββ transport.py # JSON-RPC 2.0 stdio
β βββ tools.py # NEUTRON tools as MCP
β βββ resources.py # Memory + ledger as MCP resources
β βββ prompts.py # Workflow prompts as MCP prompts
β
βββ install-cli.sh # Install `neutron` command β
βββ install-global.sh # System-wide install
βββ .mcp.json # MCP config for Claude Code
βββ Makefile # Dev commands
Reference
| File | Purpose |
|---|---|
SOUL.md | Identity, philosophy, constraints |
MANIFESTO.md | β«f(t)dt formalization |
GOVERNANCE.md | Policy rules & stop conditions |
RULES.md | Operating procedures & anti-Model-Slop rules |
PERFORMANCE_LEDGER.md | Live CI scores per skill |
USER.md | User preferences & project context |
Development
make install # pip + npm dependencies
make test # Run pytest
make lint # Run flake8
make clean # Remove cache
# CLI targets
make cli-install # bash install-cli.sh
make cli-status # neutron status
make cli-audit # neutron audit
make cli-discover # neutron discover
# MemoryOS CLI
make memoryos-init # node MemoryOS/src/index.js init
make memoryos-wake # node MemoryOS/src/index.js wake
make memoryos-context # node MemoryOS/src/index.js context
License
MIT β Adam Wang (VΖ°Ζ‘ng HoΓ ng TuαΊ₯n)
