• 1. 根治所有模板 Agent残留的过往公司(LemonV)私人记忆,使其诞生即为全新白纸状态。
    2. 提取出统一的 `methodology.md` 基类 Prompt,通过 `agent-chat.js` 强力注入。
    3. 从 Master 到各路 Agent 都将强制遵循【从大脑到小脑】的不硬编码理念。
    4. 全面引入统一的基础方法论(Harness):学习(Research) -> 规划(Planning) -> 执行(Execute) -> 验证(Verify)
    yibo authored
     
    Browse Dir »
  • 修复 Claude CLI 遇到严重 API 错误 (如 Http 429) 时,输出的不是合法 JSON,而是像
    'MiniMax 检查失败: HTTP 429: {...}' 这样的纯文本行。
    旧版本在 JSON.parse 失败后直接忽略。
    新版本增加 fallback,匹配非 JSON 行中的错误关键字并强制中断死等和前端展示。
    yibo authored
     
    Browse Dir »
  • - 当底层模型 (MiniMax等) 抛出 API 错误时,Claude CLI 不会崩溃也不会输出 stderr,而是通过 stdout 输出 event.type='error' 的 JSON 块。
    - 未处理该事件导致协议层无法等到 result 事件,引发 Promise 永久挂起。
    - 修复:在_handleStreamEvent 拦截 error 块,主动抛出错误打断等待链,前端即可正常展示 ❌ API 请求失败。
    yibo authored
     
    Browse Dir »
  • - ClaudeCliProtocol: stderr 检测 rate_limit/429/401 等致命错误时自动 reject sendPrompt Promise
    - agent-chat.js: 监听 stderr/disconnected 事件并通过 SSE 推送到前端
    - AgentChat.vue: error 事件停止 thinking 状态 + ACP 日志面板显示错误
    yibo authored
     
    Browse Dir »
  • - System agents: 只保留 master (data/system/agents/master)
    - Templates: 所有可复用 agent 模板 (data/system/templates/)
    - Companies: 公司创建时自动部署 5 个元 Agent (innovator/hunter/digester/evolver/agent-creator)
    
    路径修复:
    - agent-chat.js: /list 扫描路径修正 (system/agents + companies/*/agents)
    - agent-manager.js: 动态 agent 查找路径修正
    - skill-config-loader.js: 修正 agents root
    - pipeline-service.js: pipelines 输出到 companies/{id}/pipelines/
    - billing.log: 移至 companies/{id}/logs/ 下
    
    Skills 标准化:
    - 所有 template agent 建立 .claude/skills/main_skill/SKILL.md
    - company-service._copyTemplate() 新增 .claude/ 目录复制
    - innovator SKILL.md v3.0: 移除旧 l3-hunt/l2-digest 命名
    - 清理重复 agent_creator, 统一为 agent-creator
    
    清理:
    - 移除 data/agents, data/workspace, data/logs, data/goals 旧目录
    - 清除所有未使用的 DATA_DIR 声明
    - 清除 template 中的 conversations/logs/memory 运行态数据
    yibo authored
     
    Browse Dir »
  • The plugin bootstrap was calling resolveOpenclawDist() synchronously
    at module load time, which crashed the entire server if the optional
    @mas/openclaw-dist package wasn't installed. Now all three call sites
    defer resolution to runtime with try/catch graceful fallback.
    yibo authored
     
    Browse Dir »
  • - Add task transition CLI and API for Context Flush & Hot Swap
    - Enforce strict bash-only tool policy for Base Agents
    - Inject  into system prompt for self-retrying loop
    - Implement Goal node updates on transitions
    - Add P0 Execute pre-approval block (Human-in-the-loop)
    - Track token metrics to billing.log
    yibo authored
     
    Browse Dir »

  • 文档更新:
    - 重写 11-directory-structure.md (data/system/ + data/{companyId}/)
    - 重写 13-api-design.md (100+ 实际 API 端点)
    - 更新 24-company-layer-architecture.md (规划中→已实现, Todo 全标完成)
    - 更新 23-agent-active-heartbeat.md (规划中→已完成)
    - 更新 architecture-v5.md (v5.3, Phase 4-6 新增)
    - 更新 21-fde-pipeline-architecture.md (阈值 90→95, 路径修正)
    - 更新 LEMONBOSS-SYSTEM-DESIGN.md (v2.0, 章节 15-26 索引)
    - 新增 25-bootstrap-mechanism.md (公司自举机制)
    - 新增 26-automated-hiring-orchestration.md (全自动招聘编排)
    
    Bug 修复:
    - fix(server): 修复 body sanitizer 空 body 时未设置 _bodyParsed
      导致 express.json() 重复读取已消费流的 stream-not-readable 错误
    Yi Bo authored
     
    Browse Dir »
  • yibo authored
     
    Browse Dir »