AI Factory Map

AI Factory Map

Last Updated: 2026-05-27 (AI Factory / P2P reliability update)
Purpose: Single-page surface map of ALAI's AI system. Read in <10 minutes to understand the entire fleet.
Audience: John (AI Director), Alem (CEO), specialist agents

AI Factory P2P gate reliability note (MC #102341): Company Mesh Proveo auto-response can use a degraded evidence-only PARTIAL/BLOCKED fallback when strong verifier backends are unavailable, but only if the prompt embeds existing local evidence references plus validation/safety signals. Receipt/plumbing-only mesh responses do not satisfy the P2P pre-verifier gate. Final QA/MC/Proveo gates remain mandatory. Evidence: /Users/makinja/system/evidence/102341/p2p-ready-gate-degraded-fallback-report-20260527.md.


1. Entry Points — Where to Start

System dashboard:

bash ~/system/boot.sh

Shows: daemon health, MC task counts, service status, B2 backup state, review backlog. Read in <5 seconds.

John's identity and routing rules:

Universal search:

node ~/system/tools/discover.js "query"

Searches: tools (282), skills (78), agents (22), MCP servers (7), BookStack (201 docs), RAG (LightRAG), products (9)

Task system:

node ~/system/tools/mc.js list|show|active|stats

Mission Control dashboard: http://localhost:3030

System verification:

node ~/system/tools/discover.js --verify

Health check across manifest-index, skill-registry, specialist-mapping, MCP, BookStack, product-index, session-index, hivemind, LightRAG.


2. Routing Table — Companies & Specialists

13 active ALAI virtual companies. Synced with ~/system/agents/specialist-mapping.json.

Company Domain Key Agents Boundary Rules
CodeCraft Architecture, backend, database Petter Graff, Martin Kleppmann, Bruce Momjian, Hadi Hariri, Lee Robinson
Vizu Frontend, design, UI/UX Brad Frost, Lea Verou ~/system/rules/codecraft-vizu-boundary.md
FlowForge DevOps, infra, daemons Kelsey Hightower
Proveo QA, testing, validation Angie Jones, James Bach, Lisa Crispin, Dorota Huizinga ~/system/rules/proveo-securion-boundary.md
Securion Security, audits, threat modeling Parisa Tabriz, sentinel-architect ~/system/rules/proveo-securion-boundary.md
AgentForge AI/ML, RAG, agent stack Chip Huyen, Georgi Gerganov
Finverge Fintech, payments, PSD2 Markos Zachariadis
Skybound Mobile, SaaS, business analysis Paul Hudson, sentinel-ba
Helixsupport Incident response
Lexicon Legal, contracts, docs
Proxima Marketing, GTM
Skillforge Docs, training, runbooks, BookStack
Resolver Cross-company systemic issues
Datavera Research, data pipelines

Orchestration routing:
See ~/system/rules/orchestration-surface.md for decision tree: DAG vs chains vs factory vs one-shot vs cron.


3. Active Products — 2026-04-23

Priority products (CEO 2026-04-17):

Active but lower priority:

USA/Balkan healthcare (NOT priority per CEO 2026-04-17):

Other projects:

Full product catalog: ~/.claude/projects/-Users-makinja/memory/MEMORY-products.md


4. Tool Clusters — Quick Reference

Build workflows:

Deploy verification (ZAKON PI2 mandatory):

Discover system:

Mission Control:

Event bus:

RAG system:

Cost tracking:

BookStack sync:

Communication:

Skills directory:

Credentials:

bw get item "X" --session $(cat /tmp/bw-session)

5. Ghost References — Audit Trail 2026-04-23

What got archived/retired during the AI Factory Audit (Phases P0-P5):

Crashed daemons (Phase 0):

Dead agents and identities (Phase 2):

Dead databases (Phase 2):

Tool/plist cruft (Phase 2):

Task backlog triage (Phase 1):

Current daemon health (post-audit):

Archive path (recoverable):

B2 backup crisis resolved (T0.2):


6. ZAKON Quick Reference — Three Pillars

ZAKON NULA (TOOL-FIRST)

Rule: Never answer from LLM memory without tool verification.
Enforcement: Every response MUST be based on real tool output.

Tool-first order:

  1. Product/project/person → node ~/system/tools/discover.js "query" FIRST
  2. Task status → node ~/system/tools/mc.js show <id> FIRST
  3. File/code → Read/Grep FIRST — NEVER assume content
  4. System state → bash ~/system/boot.sh or discover.js --verify
  5. Service status → docker ps, curl, git status — VERIFY

Violation = ERROR. Alem will notice.


ZAKON PI2 (Deploy Verification Protocol)

Rule: Deploy tasks REQUIRE 6 hard checks.
Full spec: ~/system/rules/zakon-pi2-deploy-verification.md

Mandatory steps:

  1. Repo must have DEPLOY-MAP.md in root
  2. Pre-flight: curl -sI <URL> + git log <branch> -5 + gh run list — BEFORE any code changes
  3. CI health check: If last 5 runs = failure → FIX CI FIRST, do not push
  4. Post-deploy: HTTP 200 + Playwright screenshot + new revision serving 100%
  5. Evidence: mc.js done for H-priority deploy tasks BLOCKS without evidence files
  6. No bypass: No exceptions

Violation = task auto-blocked, re-work, Alem notified.


ZAKON PLAN (Mandatory Documentation)

Rule: Every plan MUST include validation + documentation tasks.
Enforcement: Missing either = INCOMPLETE, do not present to Alem.

Required tasks:

  1. Validation task (Proveo/Angie Jones):

    • End-to-end test with real evidence
    • NOT dry-run only
    • L2+ machine-verified evidence (screenshot, log timestamp, curl output)
  2. Documentation task (Skillforge):

    • BookStack page for every system built or changed
    • URL captured in MC evidence
    • Indexed via discover.js

Why: Systems without tests break silently. Systems without docs die when the builder leaves.


Quick Numbers — Post-Audit (2026-04-23)

Category Count DB/File
Tools 282 ~/system/tools/manifest-index.md
Skills 78 ~/.claude/skills/
Agents 22 ~/system/agents/specialist-mapping.json
MCP Servers 7 .claude.json
BookStack Docs 201 bookstack-sync-map.json
Products 9 product-index.json
Clients 7 product-index.json
Partners 6 product-index.json
Sessions (indexed) 11,355 session-index.db
HiveMind entries 28,886 hivemind.db
Daemons (healthy) 206 launchctl list
MC Tasks (total) 8,929 mission-control.db
MC Open 360
MC In Progress 3
MC Ready for Review 188
MC Paused 1,936
MC Blocked 439
MC Done 6,003


Questions? Run: node ~/system/tools/discover.js "your query here"


Revision #4
Created 2026-04-24 04:25:36 UTC by John
Updated 2026-05-27 21:37:03 UTC by John