系统结构
一个 Space 一台机 · 四个角色 · 独立的审查 · 四层记忆GENKIAI · SYSTEM MAP ■ you ■ asst · chat · seats ■ phases · auto-run · review ■ memory ■ library · skills · mcp ═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
┌─ YOU ──────────────────────────────────────────────┐ │ one sentence starts the work · web · iPhone │ │ cards, gates and verdicts come back to you │ └────────────────────────────────────────────────────┘ │ talk first │ or straight in ▼ ▼ ┌─ L0 · SESSION ───────────┐ ┌─ ASST ─────────────┐ ┌─ CHAT ───────────────┐ ┌─ LIBRARY ───────────────────┐ │ raw turns │ append │ Assistant · yours │ │ project room │ │ company knowledge folder │ │ one file per session │◀───────│ talk, then build │ brief │ rooms chat · task │ │ read-only in project seats │ └──────────────────────────┘ │ memory tools │───────▶│ DESIGN…DEPLOY │◀─────│ file list in the prompt │ │ distill recall │ recall·remember │ │ → engine seat │ │ members · Asst write │ ▼ ┌───▶│ starts projects │ │ MAINTAIN → chat seat │ │ ▶ revision ▶ seats rebuild │ ┌─ L1 · FRAGMENTS ─────────┐ │ └────────────────────┘ └──────────────────────┘ └─────────────────────────────┘ │ SQLite + LanceDB │ │ │ │ decay 14d · reinforced │───┤ ▼ │ vector ▶ graph spread │ │ ┌─ PHASES · GATES · STEP ────────────────────────────┐ └──────────────────────────┘ │ │ DESIGN ▶ DEVELOP ▶ VERIFY ▶ DEPLOY ▶ MAINTAIN │ │ distill │ │ gates A · B · C + each phase opens on your nod │ ▼ │ │ STATUS · PLAN · STEP · DESIGN · VERIFY.md │ ┌─ SKILLS · MCP ──────────────┐ ┌─ L2 · EVENTS ────────────┐ │ │ ▶ fs.watch ▶ Step panel · phase back ▶ re-align │ │ effective set = │ │ decisions · episodes │───┤ └────────────────────────────────────────────────────┘ │ skills/ + custom scan │ │ decay 45d · PART_OF │ │ │ the seat for this phase │ ∩ owner tiers │ └──────────────────────────┘ │ ▼ │ required·allowed·hidden │ │ distill │ ┌─ SEATS · MODELS ───────────────────────────────────┐ │ ∩ Space picks │ ▼ │ │ role model provider runs │◀─────│ ▶ prompt + --mcp-config │ ┌─ L3 · CONCEPTS ──────────┐ │ │ design Fable 5.1 claude the DESIGN phase │ │ codex seat: ask-user only │ │ person · skill · belief │ │ │ dev Opus 5.5 claude engine · Auto-Run │ └─────────────────────────────┘ │ never decays │───┘ │ chat Opus 5.5 claude MAINTAIN · cron │ │ spread + keyword recall │ │ review gpt-6.1-sol codex review passes │ └──────────────────────────┘ │ claude ▶ CLI stream · codex ▶ app-server session │ └────────────────────────────────────────────────────┘ distill runs when idle, when │ Issue ▶ Run L0 grows past its limit, or ▼ on request · decay runs ┌─ AUTO-RUN · Bug / Feature ─────────────────────────┐ once a day, after midnight │ feature implement ▶ review ▶ grade │ │ bug bugfind ▶ fix ▶ review ▶ grade │ │ build dev seat · Claude │ │ review host reviewer · Codex · 0 = pass │ │ grade fresh Codex grader · on signal │ │ finding ▶ back to the dev seat ▶ next pass │ └────────────────────────────────────────────────────┘ │ cards ▼ ┌─ BACK TO YOU ──────────────────────────────────────┐ │ only the calls that are yours │ │ phone or desk · the run waits, then picks up │ └────────────────────────────────────────────────────┘
- ■你:说一句需求就开工;卡片、门禁和审查结论都回到你手上,用手机或电脑都能处理。
- ■Asst / Chat:先和 Assistant 聊,它再建项目,并把需求简报交给项目;项目聊天在 DESIGN 到 DEPLOY 阶段由引擎席接,MAINTAIN 阶段由对话席接。
- ■阶段 · Step · Status:一共五个阶段,A/B/C 是三道只做记录的门,每个阶段都要你批准才进。STATUS / PLAN / STEP / DESIGN / VERIFY 被实时解析成 Step 面板,回拨阶段时会自动校正文档。
- ■席位 · 模型:Design / Dev / Chat / Review 四个角色,Design / Dev / Review 各选模型,Chat 跟 Dev;Claude 走 CLI 长会话,Codex 走 app-server;审查默认用另一家的模型。
- ■Auto-Run:Feature 实现 → 审查 → 评分,Bug 查根因 → 修 → 审查 → 评分;审查是宿主跑的 Codex,评分只在信号命中时起一个全新的 Codex,发现的问题回到 Dev 席再来一轮。
- ■记忆(四层):Assistant 每轮写进 L0,闲时、L0 攒满或手动触发时蒸馏成 L1 片段、L2 事件、L3 概念,每天午夜后衰减一次;回答前按向量找片段,沿图谱扩散到事件和概念,再加关键词匹配。
- ■Library · Skills · MCP:知识库由成员和 Assistant 写,只读挂进每个项目席位;Skills / MCP 的生效集合 = 扫描 ∩ 所有者的三档分级 ∩ Space 勾选,注入提示词和 --mcp-config。