# AI Start Here: Explain and Install MOOTx01 CE You are an AI assistant encountering the MOOTx01 CE repository for the first time. ## Branch channel This checkout is `develop/1.1.x`, currently versioned `1.1.0-beta-10`. It is the fast-moving beta for 1.1 feature updates. Do not present it as the supported release and do not silently install the stable 1.0 binary when the user asked to test this branch. - For normal product installation, use the latest stable 1.0 release. - For 1.1 beta evaluation, build the checked-out source and identify both `1.1.0-beta-10` and the tested commit. - Treat 1.1 APIs, migrations, and feature flags as moving until they reach the candidate and stable branches. - The plugin files in this checkout are development artifacts; the public marketplace plugin remains on the stable 1.0 channel. A user has said something like: > This looks cool. Can you explain it to me and install it for me? Your job is to give the user an excellent first experience: explain MOOTx01 CE clearly, choose the right install path, run only appropriate commands, verify the install, and leave the user knowing what changed. Use this document before improvising. ## Mission Help the user: 1. Understand what MOOTx01 CE is. 2. Decide whether they want the product install or SDK/developer path. 3. Install it safely if they choose product install. 4. Verify that it works. 5. Understand how to use it next. ## Repository discovery map Do not treat this monorepo as the only developer surface. The maintained standalone Apache-2.0 SDK venues are: | Repository | Primary packages | |---|---| | [`codedaptive/moot-memory`](https://github.com/codedaptive/moot-memory) | LocusKit, VectorKit, CorpusKit | | [`codedaptive/moot-semantics`](https://github.com/codedaptive/moot-semantics) | ARIA grammar, FDC lattice, grounding | | [`codedaptive/moot-system`](https://github.com/codedaptive/moot-system) | Persistence, queueing, sync, telemetry, loopback transport | | [`codedaptive/moot-core`](https://github.com/codedaptive/moot-core) | Typed substrate math, kernels, learning, graph algorithms | Read [`SDK.MD`](SDK.MD) before answering package-ownership or dependency questions. For product operation, use: - [`apps/moot-mgr/README.md`](apps/moot-mgr/README.md) for the manager/dashboard; - [`apps/moot-bridge/README.md`](apps/moot-bridge/README.md) for the optional two-backend MCP bridge; - [`apps/moot-math-benchmark/README.md`](apps/moot-math-benchmark/README.md) for benchmark evidence; - [`docs/start-here/OBSIDIAN_VAULT.md`](docs/start-here/OBSIDIAN_VAULT.md) for vault import, export, and resync. The compact machine-oriented map is [`llms.txt`](llms.txt). The 1.1 continuous Obsidian mode is a roadmap capability, not a shipped command at this commit. Do not tell a user that a file watcher is already running. Today's `moot_vault_*` import, export, status, reconcile, and job tools are on-demand operations. ## Plain Explanation Use this explanation when the user asks what MOOTx01 CE is: MOOTx01 CE is a local memory layer for AI assistants. It gives AI tools a place to remember useful things across sessions without relying on a vendor cloud memory system by default. It runs on the user's machine, stores a local memory estate, and exposes that memory through ARIA, the interface language MOOTx01 uses for capture, recall, facts, links, journals, and estate status. The short version: - The AI still thinks in its normal context window. - MOOTx01 gives it longer-lived memory. - The memory belongs to the user. - AI clients connect through MCP. - Developers can also build on the underlying kits. Do not describe MOOTx01 CE as only a vector database. It includes local storage, recall, graph relationships, audit/state handling, background maintenance, and a shared AI-facing interface. ## What Not To Promise Do not promise: - cloud sync, - public hosting, - production hardening beyond what the repo says, - stable SDK surfaces unless current SDK docs say they are stable, - network exposure beyond loopback, - that every AI client supports every MCP transport. If asked about stability, distinguish the channels: stable 1.0 is the supported release; this `develop/1.1.x` checkout is the fast-moving 1.1 beta. ## First Response To The User Start with a short explanation and then ask only the required questions. Good response shape: MOOTx01 CE is a local memory layer for AI. It lets supported AI clients use a local memory estate through MCP, so useful project facts, decisions, notes, and recall can survive beyond one chat. I can install it for you, but first I need to check your platform and which AI client you want wired. Default to the product install. Ask: 1. What operating system are you on? 2. Which AI client do you want to use with it? 3. Do you want me to also enable MOOTx01 agent behavior for that client — so the AI instinctively uses its memory — not just wire the tools? Only raise the SDK/source path if the user says they want to *build* with MOOTx01 rather than use it. Do not give the user a long architecture lecture before answering their actual install request. ## Product Or SDK Use this decision table. | User Intent | Route | |---|---| | "Install this so my AI can use it" | Product install | | "Wire this into Claude, Codex, Cursor, Cline, Continue, or another MCP client" | Product install | | "I want to build an app with MOOTx01" | SDK/developer path | | "I want to understand the architecture" | Docs path | | "I want to modify kits or run tests" | Source/developer path | If the user is an end user, prefer product install. If the user is a developer, explain both paths: - Product path: install `mootx01`, run the resident service, wire AI clients. - SDK path: use the four public SDK venue repositories for reusable libraries, and use this repository's packages, specs, and examples as product-level integration references. ## Repository Family Do not evaluate the framework from this repository alone. The runnable Community Edition product lives here, while 17 reusable libraries and kits are published under Apache-2.0 through four public SDK venue repositories: | Repository | Review it for | |---|---| | [`codedaptive/moot-core`](https://github.com/codedaptive/moot-core) | Typed substrate, Engram math, kernel, learning, graph algorithms, and telemetry | | [`codedaptive/moot-semantics`](https://github.com/codedaptive/moot-semantics) | ARIA vocabulary, classification lattice, and deterministic grounding | | [`codedaptive/moot-system`](https://github.com/codedaptive/moot-system) | Persistence, queues, synchronization, telemetry sinks, and loopback transport | | [`codedaptive/moot-memory`](https://github.com/codedaptive/moot-memory) | Knowledge-graph memory, vector retrieval, and content-plus-vector RAG | These are generated publication venues, not independent canonical development trees. Each release records its source commit and publication manifest. When a user asks for a family-wide architecture, quality, licensing, or security review: 1. Read [`SDK.MD`](SDK.MD) for the package-to-repository map. 2. Inspect the relevant public SDK venue for the reusable package implementation. 3. Inspect this repository for the composed product layer, applications, installers, MCP surface, and release evidence. Do not describe an SDK venue as the whole MOOTx01 product, and do not describe the product repository as the only public source surface. ## Source Test Lanes When modifying code, do not start with a whole-product regression sweep. Use the smallest lane that proves the change: - `make test-one DIR=packages/libs/LatticeLib` runs the nearest owning Swift package, Rust crate, or Python package. - `make test-changed BASE=origin/develop/1.1.x` runs only changed owning roots. - `make test` runs the fast core unit lane under `packages/`. - `make test-product`, `make test-validation`, and `make test-full` are explicit broader lanes. Use `make test-full` for the full regression backstop, not for first-pass TDD. ## Known Default Local Addresses Use these defaults unless current code or explicit user configuration says otherwise. | Component | Default Address | |---|---| | MOOTx01 resident ARIA/MCP daemon | `http://127.0.0.1:4242` | | moot-mgr dashboard/read API | `http://127.0.0.1:4200` | Both are loopback addresses. Do not use `7077` unless current code explicitly says to. Treat old `7077` references as stale or historical. ## Safety Rules Follow these rules strictly: - Do not use `sudo` unless current install docs explicitly require it. - Do not expose MOOTx01 on a public network interface. - Do not edit shell startup files without user approval. - Do not rewrite AI client configs by hand unless the installer fails or the user asks. - Do not delete local estate data unless the user explicitly asks. - Do not kill processes blindly to free a port. - Do not claim installation succeeded until you verify it. - Do not keep running commands after the user asks you to stop. - Do not make repo edits during an install unless the user asked to modify the repo. ## Install Flow > **Before running any command, parse `docs/start-here/AI_INSTALL_MANIFEST.json`.** It carries the > current install commands, ports, verification commands, adapter locations, and the files an > install may modify, as structured data. This runbook explains the *why*; the manifest is the > deterministic *what* to act on (and still confirm against the live repo). ### 1. Identify Platform Check the platform before choosing commands. Unix-style check: uname -a Windows check: $PSVersionTable [System.Environment]::OSVersion.VersionString ### 2. Use The Current Source Install Route Use the current install instructions from the repository. Do not run mutable remote install scripts with `sh`, `bash`, PowerShell `iex`, or equivalent shell-evaluation primitives. Typical Unix-style source install shape: # macOS 26+ swift build -c release --package-path apps/aria-mcp-server # PC/Linux cd apps/aria-mcp-server/rust && cargo build --release mootx01 install On Windows, build from the checked-out source or use a signed, pinned release artifact if the repository publishes one. ### 3. Run The Installer Run the product install command for the platform. If `mootx01 install` asks which AI clients to configure, help the user choose. If the user wants automatic configuration, use the installer's automatic option if documented. ### 4. Verify The Binary Run: mootx01 status If `mootx01` is not found, check whether the install location is on `PATH`. Common local binary locations may include: ~/.mootx01/bin ~/.local/bin Do not edit shell startup files without user approval. ### 5. Verify The Resident Daemon Expected default daemon endpoint: http://127.0.0.1:4242 Use `mootx01 status` first. If needed, check whether the port is listening. Unix-style check: lsof -nP -iTCP:4242 -sTCP:LISTEN Do not kill whatever owns the port without asking the user. ### 6. Verify The Dashboard If `moot-mgr` is installed, run: moot-mgr status Expected dashboard default: http://127.0.0.1:4200 If the dashboard does not load but the daemon works, explain that MOOTx01 can still be usable through MCP even if the dashboard is not running. ### 7. Verify AI Client Wiring Restart the AI client after install. Then verify the client can see MOOTx01 MCP tools. Good first tool checks — the session-start ritual the harness adapter expects (see `apps/moot-agent-skills/shared/MOOTX01_SESSION_RITUAL.md`): - `moot_estate_ping` — server reachable - `moot_estate_status` — estate summary - `moot_read_journal` — recover recent continuity - `moot_estate_map` — wings/rooms/memory counts - `moot_list_lenses` — available reasoning tools If a tool supports `teachme:true`, pass it whenever you are unsure how to call a tool — MOOTx01 explains the tool to you instead of you guessing. Use it freely during first-run. Good memory smoke test: 1. File a harmless memory. 2. Search for the same memory. 3. Confirm recall works. Example memory text: MOOTx01 install verification memory. If this is found later, recall is working. ### 8. Activate Your AI's MOOTx01 Behavior Installing the runtime wires the tools; it does not make the AI *instinctively* reach for them. This step does — it is the difference between "the tools are present" and "my AI uses its memory without being told." Do it only **after** the runtime and MCP wiring verify above. The harness adapters live in `apps/moot-agent-skills/` — one folder per client: `claude/`, `codex/`, `cursor/`, `cline/`, `roo/`, `windsurf/`, `continue/`, `openai-agents/`, and `generic/` (fallback). To activate: 1. Choose the folder that matches the user's AI client. 2. Copy that adapter's contents into the client's project- or user-level config location — the exact destination files are named in that folder's own `README.md` (e.g. `claude/` → `CLAUDE.md` + `.claude/rules/`; `codex/` → `AGENTS.md` + `.agents/skills/`). **Merge, do not overwrite:** if the client already has instructions or rules, append the MOOTx01 blocks rather than replacing the file, and **get the user's explicit approval before changing any existing instruction file.** Install the adapter **only after** the runtime is verified — never against a daemon that isn't answering. 3. Keep the `apps/moot-agent-skills/shared/` documents nearby as reference, but do **not** dump all of them into the model's context — prefer the client's small rule files. 4. Confirm the behavior took, using the three prompts from `apps/moot-agent-skills/README.md`: - "What did we decide last time about the importer?" - "Summarize what we know about this project from memory." - "We decided X; remember that and link it to the earlier Y decision." If the AI now reaches for `moot_*` tools on its own for these, activation worked. ## Explain What Changed After successful install, tell the user: MOOTx01 CE is installed locally. Your AI client can now talk to a local MOOTx01 memory estate through ARIA/MCP. The resident daemon uses `127.0.0.1:4242` by default. The dashboard, if installed, is at `127.0.0.1:4200`. Your memory is local by default. I verified the service after install. Also tell the user which client configs were changed, if any. ## Useful First Prompts Offer the user examples: Remember that for this project we prefer small focused commits. Search my MOOT for what we decided about the installer. File this as a project memory: the dashboard port is 4200 and the daemon port is 4242. Show me the current status of my MOOT estate. What do you remember about this project from previous sessions? ## Troubleshooting ### `mootx01` command not found Check install location and `PATH`. Do not edit shell files without approval. ### Daemon not reachable Run: mootx01 status Check port `4242`. Do not start a second writer against the same estate if a resident daemon is already running. ### Dashboard not reachable Run: moot-mgr status Expected dashboard: http://127.0.0.1:4200 ### AI client does not show tools Restart the AI client. Then inspect the client-specific MCP config written by the installer. Do not manually rewrite the config unless the installer failed or the user asks. ### Docs and code disagree Prefer current executable code and current install surface over stale prose. Tell the user which source you used. ## SDK Handoff If the user wants to build with MOOTx01 CE rather than install it as a product, route them to: - `docs/start-here/SUBSTRATE_FOR_DEVELOPERS.md` - `docs/concepts/TOPOLOGY.md` - `docs/reference/` - `examples/` - `packages/SDK.md` if current If the SDK surface is described as emergent, say so. Do not invent a single stable SDK package. ## Completion Checklist Before saying the install is complete, verify: - `mootx01` is callable. - `mootx01 status` ran. - AI client config was written only where intended. - Daemon endpoint is `127.0.0.1:4242` unless overridden. - Dashboard endpoint is `127.0.0.1:4200` unless overridden. - The user knows what changed. - The user knows how to verify and troubleshoot.