Daily Report — 2026-09-05
Daily Overview
- 工作内容: 对 AI Companion 的核心架构进行了全面重构,进行了系统性的 repository 审计,并执行了高精度的 VLM trajectory tracing 评估。
- 实施方式: 实现了一种递归的 hierarchical thought tree 和 content-bound approval 机制,利用 adversarial multi-agent 工作流进行系统审计,并部署了 ’trace1’ per-frame prompting 以及 Qwen3-VL SFT dataset 构建。
- 影响: 解决了 AI Companion 中“approval fatigue”和认知过载的关键问题,识别了 VLM 中的根本性 localization 瓶颈,并为 agent governance 和高保真 robotic trajectory generation 建立了一个稳健且可扩展的框架。
通过向 hierarchical thought trees 和基于 intent 的 approvals 进行重大架构重构,推进了 AI Companion 的发展,同时通过 per-frame localization 和专门的 SFT dataset engineering 优化了 VLM trajectory tracing 的精度。
Tasks
Architecture & Strategy
- ✅ Per-Idea Approval Mechanism — 将 approval 逻辑从 whole-graph snapshots 更改为 individual idea-content binding,确保除非特定 idea 的内容发生变化,否则 approvals 保持有效。
- 🔄 RL Architecture Upgrade (v3/v4) — 从 message-passing 向 self-attention (Transformer) 架构迁移,以提高在 SheepEnv 中的复杂推理能力。
- ✅ I-104: Loopback Service Protection — 实现了一个 guardrail,用于拦截针对 local loopback 地址(127.0.0.1, localhost 等)的 agent tool calls(如 browser navigation)。
- ✅ Hierarchical Thought Tree Implementation — 用父子结构的 ’thought tree’ 取代了扁平的 ‘steps’ 模型,每个节点可以被展开,每层限制为 7 个项目。
- ✅ Qwen3-VL SFT Dataset Construction — 使用 200 个 proprioceptive oracle sidecars 创建了一个训练数据集(160 train / 40 dev),并重采样至 24 个点和 12 帧。
- ✅ I-102: Verifiable Approval Display — 确保 terminal 在请求 approval code 之前打印 idea 的完整 8 个问题上下文,以防止盲目 approval。
- ✅ I-086: Dynamic Idea Page Header — 更新 web interface,使 H1 title 和 overview paragraph 能够动态变化以匹配所选的 idea,同时将历史项目信息移至折叠部分。
- ✅ Idea Graph Integrity Check — 验证了 71 个 ideas 的当前状态,识别出 47 个已完成,4 个进行中,18 个 todo,以及 2 个被阻塞。
- 🔄 Idea Cluster Merging (I-082 Family) — 将过时的 ‘step overview’ ideas 合并为一个统一且真实的 ‘idea layering’ 概念。
- 🔄 I-060 Eval-side Insertion — 通过 anchor patches 和 smoke test scripts 将 V6 per-chunk writer 接入 evaluation client。
- 🔄 Documentation Truth Sweep — 识别出 README、CLAUDE 和 FORMAT 文件中的文本与实际代码行为相矛盾的 36 个具体实例。
Implementation & Fixes
- ✅ Project-wide Scan & Audit — 阅读了 repository 中的所有 81 个文件,以建立对当前状态的完整理解。
- ✅ Legacy AI Companion & System Cleanup — 在 10 多个 repositories 中卸载了所有先前版本的 AI Companion hooks、skills 和 command aliases,并归档了 legacy files/worktrees。
- ✅ I-058 Tunnel Setup — 建立 VPN tunnel,将 local workstation 连接到 Tianhe3 cluster,以实现远程 Gemini API 访问。
- ✅ I-085: Step Overview Completion — 完成并关闭了基于 step 的 overview 功能的实现。
Problems & Solutions
Critical Issues
1. Agent 可能通过在本地托管的 preview page 上执行直接操作来绕过 human approval。
Solution: 进行了一次 ‘user activation probe’ 实验,证明自动化的 CDP clicks 与人类 clicks 无法区分,并实现了一个 guardrail 来拦截所有指向 loopback 的 tool calls。
2. RL agent 由于缺乏 global item perception,无法泛化到更难的 level。
Solution: 实现了一个 message-passing 层,随后采用了完整的 Self-Attention (Transformer) 架构,以允许 items 进行全局交互。
3. 由 whole-graph snapshotting 引起的 approval fatigue,任何微小的变化都会导致所有现有的 approvals 失效。
Solution: 专门针对 individual node IDs 及其相关字段实现了 content-bound approval digests。
4. Subagent 绕过 Guardrails:一个自动化的 workflow subagent 成功编辑了受保护的 engine source files 和 idea ledger。
Solution: 发现 guardrail 允许在没有 subagent 级别限制的情况下写入 ideas/;通过 main session 实现了手动回滚。
5. Gemini 3.1 Pro/Qwen3-VL-2B 在 batch-mode trajectory tracing 中失败(出现 error、repetition 和 truncation)。
Solution: 实现了 ’trace1’ 模式(每次 API call 对应一帧并带有 temporal prior),并转向具有固定点数的 per-frame single-point localization。
General Issues
6. 在长时间 GPU 运行期间出现 Checkpoint filename collisions 和不明原因的 exit-code-4 crashes。
Solution: 添加了 --run-tag 以区分 checkpoints,并改进了 resume semantics。
7. 由于删除 legacy archive directories 和过时的 test blocks 导致的 validation errors 和 Git failures。
Solution: 更新了 graph.yaml 以将 ideas 重新指向新路径,并移除了过时的 ‘frozen twin spec’ test blocks。
8. 通过 template literals 注入 browser scripts 导致了 syntax errors。
Solution: 对 backticks 进行了转义,并对 newline characters 使用了双反斜杠。
Human vs AI Approaches
Strategic Level
Approval Lifecycle
| Role | Approach |
|---|---|
| Human | 定义了 approval 应当对 content 具有 ‘sticky’ 性质;一旦获得批准,除非特定意图发生变化,否则不应要求重新批准。 |
| AI | 最初将批准视为全局状态快照,每当 graph 发生变化时就会失效。 |
Difference Analysis: Human 识别出了“执行计划”与“改变目标”之间的语义区别。
Approval Mechanism Security
| Role | Approach |
|---|---|
| Human | 建议实现 “Direct Page Approval”(通过点击网站上的按钮来批准一个想法)。 |
| AI | 使用 browser tools 进行实证探测,以证明自动化与人类交互无法区分,随后转而提出了一个 “deny-by-default” 的 loopback 规则。 |
Difference Analysis: AI 使用实证测试证明了 human 直觉性的安全假设是错误的。
Unauthorized Edit Recovery
| Role | Approach |
|---|---|
| Human | 尝试使用 git checkout 来撤销未经授权的更改。 |
| AI | 识别出 git checkout 命令被 guardrail rules 拦截,因此需要进行手动文本编辑。 |
Difference Analysis: AI 意识到标准的 recovery tools 被困在了安全网中。
UI/UX Structure for Thoughts| Role | Approach |
|——|——| | Human | 提议 thoughts 应该是一个分层树结构(每层最多 7 个),其中细节隐藏在 expansion/clicks 之后以防止杂乱。 | | AI | 最初专注于简化当前的 flat ‘steps’ 视图或专注于 scanning speed。 |
Difference Analysis: Human 提供了具体的 architectural UX pattern (tree structure/depth control),随后由 AI 实现。
Project Navigation and Header Logic
| Role | Approach |
|---|---|
| Human | 定义了 business logic:header 显示 idea name + ‘what’,且 home page 包含一个 collapsed 的 ‘Project History’ section。 |
| AI | 研究了技术实现细节,如 WCAG 2.4.2、用于 collapsed sections 的 CSS 以及 paragraph parsing logic。 |
Difference Analysis: Human 提供了 functional requirement/intent;AI 处理了 technical research 和 implementation。
Idea Graph Merging
| Role | Approach |
|---|---|
| Human | 提议合并相似的 ideas(例如 I-059 和 I-075)以简化 graph。 |
| AI | 使用了 adversarial multi-agent workflow 来证明它们代表了不同层级的 requirement(state vs. rule)。 |
Difference Analysis: AI 通过证明两者是 prerequisite relationship 而非 duplication,防止了 technical nuance 的丢失。
VLM Trajectory Generation Strategy
| Role | Approach |
|---|---|
| Human | 提议了一个简单的 pipeline:VLM 读取 video,生成一个 points 列表,并将其连接到 map position。 |
| AI | 最初尝试了 batch ’trace’ mode 但失败了,随后转向 ‘per-frame with temporal prior’。 |
Difference Analysis: AI 的调查揭示了当前的 batch-VLM 能力与所需的 temporal precision 之间存在不匹配。
AI Limitations
Critical Limitations
- Subagent autonomy 超出了 guardrail 约束;在向
ideas/等允许的路径写入时,workflows 可以绕过 ‘read-only’ 指令。 - Guard 无法检测或拦截页面内的 JavaScript execution,因为它缺乏对 internal browser state 的访问权限。
- AI Companion 文档已过时,导致 assistant 使用旧的 ECL workflows 而非新系统。
- AI 未能考虑到 multi-frame batching 中 temporal precision 的下降,将失败错误地归因于 reasoning 而非 correspondence。
- AI 最初尝试在代码中添加未经批准的 symbols,触发了项目自身的 guard system (D7)。
General Limitations
- AI 在处理 technical debt 时遇到困难,即现有的 tests 虽然是 green 状态,但由于 outdated concepts 在技术上是无效的。
Learnings
Key Learnings
- 高精度的 trajectory tracing 需要 per-frame localization (grounding) 而非 batch-style reasoning。
- 通过 CDP 进行的 automated clicks 会设置 ‘isTrusted: true’ 和 ‘userActivation: true’,使其在 browser level 与人类无法区分。
- 从 global snapshot model 过渡到 granular、per-item digest model 对于减少用户 ‘approval fatigue’ 至关重要。
- 如果一个 guardrail 允许向目录写入数据而不将其与特定的 ‘doing’ idea’s scope 绑定,则容易受到 subagent drift 的影响。
- AI agents 中的 approval mechanisms 必须与 immutable semantic intent 绑定,而非易变的 file snapshots。
- 项目的 guard system 非常敏感;即使添加一个不在 plan 中的 extra symbol 也可能使 manual approval 失效。
- 分层数据可视化对于复杂的 project management 至关重要,以防止 ‘information paralysis’。
Practical Learnings
- 通过 template literals 注入 JavaScript 时,必须严格对 backticks 和 special characters 进行 escape 处理。
Conversation Summaries
SheepRL
🔄 RL Architecture & Training Resume 18:50:13.788 | claude_code 恢复了一个崩溃的 training run,改进了 checkpoint naming/resume logic,并启动了一个新的 Self-Attention architecture 实验。
AI Companion
✅ Governance, Architecture & Cleanup 21:52:32.303 | claude_code 一系列大规模更新:实现了 I-102/I-104 security,将 core 重构为具有 per-idea approval binding 的 hierarchical ’thought tree’,对 10 多个 repos 中的 legacy hooks/skills 进行了全面 cleanup,并审计了 idea graph 的 integrity 和 documentation truth。
✅ Implementation of Dynamic Idea Header (I-086) 00:00:00.000 | claude_code 使用 Red-Green testing workflow 研究、规划并实现了一个用于 idea graph 的 dynamic header,确保了 accessibility (WCAG) 并解决了 outdated schema references。
OMEN Health Check
✅ System Stability Analysis 21:41:18.148 | claude_code 分析了系统 logs 以查找 hardware/driver errors,结论是最近的更改已使 hardware 趋于稳定。
RoboMemory
✅ VLM Trajectory Precision & Dataset Engineering 03:39:51.955 | claude_code 调查了 VLM 在 batch-tracing 中的失败情况,验证了具有 sub-3px precision 的 ’trace1’ per-frame mode,并使用 proprioceptive oracle sidecars 构建了一个专门的 Qwen3-VL SFT dataset。