feat: add host active memorization instructions - #701
Open
MrXnneHang wants to merge 1 commit into
Open
MrXnneHang wants to merge 1 commit into
MrXnneHang wants to merge 1 commit into
Conversation
Add a shared completed-work trigger to host instruction blocks and expose the packaged developer run guide through memu memorize instructions. Cover all nine host installers and validate the guide's canonical examples offline. Co-authored-by: Codex <codex@openai.com> AI-Model: gpt-6-astra
MrXnneHang
added this pull request to stack #702
September 14, 2026 08:30
This was referenced Sep 14, 2026
Contributor
|
补充主动 memorize 的流程压缩顺序,作为后续优化建议。 这次真实运行产出为 1 条 memory、0 条 skill、0 条 resource。对于“保存刚才确定的设计”这种明确的 memory 请求,skill job 检查后没有新增产物,resource 验证结果也为 0;完整流程能工作,但有可省去的执行成本。
应保留的步骤:输入校验、与已有记忆的比较/去重、明确的 commit 边界,以及失败保留和恢复。模型理解当前上下文,并不意味着它知道后端已经保存了什么。 建议的主动 memory 流程: 以上是基于本次产出的优先级判断,尚未做逐阶段耗时测量,也不是当前已实现的简化路径。本 PR 继续聚焦 host 指令分发与触发入口。 |
Collaborator
Author
|
Contributor
|
逐项回应:
后续优先做类型选择,再一起简化主动流程的输入与执行指引,并复用已加载指南。 |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 Pull Request Summary
让 host agent 在用户要求记住内容,或已完成任务产生长期偏好、决策和可复用流程时,按需读取共享指南并执行主动 memorize。
这是供分层评审的 stack 上层,基于 #700,与 xnne-bot 的 #699 使用相同 head。最终合入由 #699 承接;本 PR 用于评审,请勿直接合入。 当前相对底层仅 1 个提交、7 个文件。
✅ What does this PR do?
memu memorize instructions,打印随包分发的完整操作指南。🤔 Why is this change needed?
Host agent 需要在已完成交流中保存值得保留的内容,共享按需指南让所有 host 使用一致的执行契约。
原实现与讨论:#699;底层生命周期:#700(对应 #698)。
直接接收模型提炼候选、
/skill:memu-memorize入口与按类型 evolve 均为后续能力;类型选择由 #697 跟踪。🔍 Type of Change
✅ PR Quality Checklist
feat:,fix:,docs:,memory base:)沿用 #699 对相同提交的验证:710 passed、7 skipped;mypy / pre-commit 通过;覆盖 9 个 host 的安装、重复安装与卸载,wheel 包含完整指南。
另在 pi 中完成一次用户显式请求的真实 Cloud prepare → evolve → commit → 回读验证,产出 1 条 memory,run 已自动清理。尚未验证所有 host / 模型的自主触发稳定性。
本次仅建立评审 stack,没有新增代码改动。
📌 Optional