Skip to content

0.13.0 · 混合检索、知识浏览与安全升级 / Hybrid retrieval, knowledge browsing & safe upgrades

Pre-release
Pre-release

Choose a tag to compare

@swenbo1-web swenbo1-web released this 11 Oct 14:26

agents-learning 0.13.0

中文介绍与完整架构 · English introduction and architecture · 反馈 / Feedback

中文

让 Codex 在长期项目中复用有依据的经验:普通 Agent 专注任务,插件负责有界检索和事件采集,可选管理员整理候选,受信操作者验证并发布知识。

本公开测试版同时包含此前未单独发布的 0.12.0 能力:

  • 语义混合检索:默认使用本地全文检索;可选本地 embedding 与词法召回合并,按修订维护派生索引,语义服务不可用时回退。
  • 只读知识浏览器:查看知识、适用条件、来源、修订和管理员状态;仅监听本机,使用访问密钥及 Host/Origin 校验。
  • 任务对照评估:冻结任务、模型、环境和知识快照,成对比较无记忆/有记忆运行的验收、耗时和全流程用量。真实执行器需显式配置。
  • 覆盖升级安装:校验旧安装清单,保留完整旧目录备份与独立数据,生成新的固定运行副本;切换失败尝试恢复。
  • GitHub 版本检查:可手动检查,或显式启用后台检查;读取公开 Release 元数据,使用缓存、ETag、租约和限流退避。检查结果不会自动下载或安装代码。
  • Python 3.10 兼容修复:无参数知识浏览接口正常响应,非法非空查询仍严格拒绝。
  • 项目入口:更新中英文介绍、完整架构、下载安装链接、CI 徽章和双语反馈模板。

安装与升级

需要 Python 3.10+。下载源码 ZIP 后解压;wheel 可用 pip 安装。请校验 SHA256SUMS。

从源码导出本机插件:

python -B scripts/learning.py install /path/to/agent-learning

更新已有导出:

python -B scripts/learning.py install /path/to/agent-learning --upgrade

按 README 接入 Codex。升级后重启宿主并重新查看 Hook 信任;已运行的 MCP 进程不会因文件替换自动切换。知识数据库和配置应保存在导出目录之外。

English

Project memory with traceable evidence for Codex. Workers focus on tasks; the plugin retrieves bounded context and records observable events. An optional administrator organizes candidates, and a trusted operator validates and publishes knowledge.

This public prerelease also includes the unreleased 0.12.0 features:

  • Hybrid retrieval: default local full-text search plus optional local embeddings, revision-aware derived indexes, and lexical fallback.
  • Read-only knowledge browser: inspect knowledge, applicability, sources, revisions and review status through a loopback page protected by an access key and Host/Origin checks.
  • Paired task evaluation: freeze tasks, model, environment and knowledge snapshot; compare no-memory/with-memory acceptance, elapsed time and full-workflow usage using an explicitly configured adapter.
  • Validated installation upgrades: check the previous manifest, retain a complete backup and separate data, create a new fixed runtime, and attempt restoration if switching fails.
  • GitHub release checks: manual or opt-in background checks with caching, ETag, leases and rate-limit backoff. Checks read public metadata; they do not download or install code.
  • Python 3.10 compatibility: valid empty-query browser requests work while malformed nonempty queries remain rejected.
  • Project entry points: bilingual introduction and architecture, downloads, CI badge and feedback templates.

Requires Python 3.10+. Use the source ZIP or install the portable wheel, verify SHA256SUMS, and follow the README. Export using the current machine's interpreter and paths. Add --upgrade to update an existing export. Restart the host and review Hook trust after an upgrade; keep knowledge and configuration outside the export.

验证 / Validation

最终提交 / Release commit: d8a5d32778bd46fb8d2b1958329a2e819db75ea3。

四组 GitHub Actions 验收 / Four-job CI 全部通过;每组发现 815 项检查,零失败、零错误,wheel 构建通过。

Platform Python Passed Skipped Failures
Windows 3.10 814 1 0
Windows 3.12 814 1 0
Linux 3.10 813 2 0
Linux 3.12 813 2 0

CI 没有安装可选 Codex CLI,相关原生加载检查跳过;Linux 另外跳过 Windows Hook 命令检查。Each CI job skips optional native Codex loading; Linux also skips the Windows Hook command check.

从该精确提交重新构建的源码 ZIP 和 wheel 完成 10 组实际资产烟测,零失败、零跳过:离线 wheel 安装、导出、覆盖升级与备份、实际 MCP 7 工具、隔离 Windows Hook 的 BOM/中文输入,以及版本/协议一致性。校验文件已独立复核。The exact-commit source ZIP and wheel passed 10 package smoke groups, including actual offline installation, export/upgrade, MCP and isolated Windows Hook entry points. SHA256SUMS was independently verified.

  • Version 0.13.0 · SQLite schema 11 · full-text index 4 · optional semantic index 1 · internal release protocol 10.
  • 管理员、语义服务、自动版本检查和后台调度默认关闭。Defaults keep administrator execution, semantic retrieval, automatic version checks and scheduling disabled.
  • 离线检查与资产烟测不代表真实桌面 Hook 或模型任务验收。Offline and package checks do not establish live desktop Hook or model-task acceptance.
  • 目前没有足够的真实任务对照数据证明 token、耗时或质量改善比例。Measured token, latency and quality gains have not yet been established; reproducible task feedback is welcome.

感谢试用与反馈。If this is useful, Star the repository or share the introduction and release.

84 秒演示 / 84-second demo

中文视频 / Chinese MP4 · English MP4 · 中文 SRT · English SRT · DEMO-SHA256SUMS

两版各 84 秒、1080p,附合成旁白与字幕。中文版使用微软“晓晓”在线神经网络女声,英文版使用本机合成语音。演示回放实际本机导出、工具失败与恢复、新会话检索及知识浏览页面;Hook 事件经过隔离运行副本模拟,管理员使用确定性候选样例,知识通过显式受信入口发布。Codex 接入按当前安装指南展示。

Both versions are 84 seconds in 1080p with synthesized narration and captions. Chinese narration uses Microsoft Xiaoxiao online neural speech; English uses local speech synthesis. They replay actual export, tool results, fresh-session retrieval and browser captures. Hook events are simulated in an isolated runtime; administrator review uses a deterministic candidate fixture followed by explicit trusted publication. Codex setup follows the current installation guide.