Little Coder · 单轮技术链路

从用户输入到模型、工具、持久化与下一步决策

Little Coder · 单轮技术链路 从用户输入到模型、工具、持久化与下一步决策 提交本地编码任务 排序失败/工具/意图知识 调用 Pi loop 向本地模型采样 先 Read 再 Edit 检查 shell 分段白名单 执行并更新 known files 80% watchdog 压缩 回传短报告 Context + Sampling Policy + Execution Persist + Decide User · 任务发起者 · Sequence participant User 任务发起者 入口 · Little Coder CLI · Sequence participant 入口 Little Coder CLI 主循环 · Pi Agent Kernel · Sequence participant 主循环 Pi Agent Kernel 模型 · llama.cpp / Ollama · Sequence participant 模型 llama.cpp / Ollama 权限 · Command Allowlist · Sequence participant 权限 Command Allowlist 工具 · Read / Edit / Shell · Sequence participant 工具 Read / Edit / Shell 状态 · Evidence + Checkpoint · Sequence participant 状态 Evidence + Checkpoint Legend request return security async trace

事实边界

  • • commit e758baa38f6f
  • • 箭头来自源码结论,不代表远端服务内部
  • • 详细证据见正文代码摘录

执行边界

  • • Command Allowlist
  • • Read / Edit / Shell
  • • 区分 prompt 约束与代码强制

持续性

  • • Dynamic Knowledge Tail
  • • Evidence + Checkpoint
  • • Subprocess Agents