尧图网站设计 尧图网站设计YAOTU DESIGN
ARTICLE DETAIL

资讯详情

深耕网站设计与一线实操的经验洞察。

Current Live Version

Current Live Version 人工智能RAGAgent 记忆MCP 服务知识管理【免费下载链接】gbrainGarrys Opinionated OpenClaw/Hermes Agent Brain项目地址https://gitcode.com/gh_mirrors/gb/gbrain点击查看免费下载[1-3 sentences. Include confidence: high / medium / low.]LineageFirst mention: [date] - [claim] ([source-id:slug], short quote)Best articulation: [date] - [claim] ([source-id:slug], short quote)Turning point: [date] - [what changed] ([source-id:slug])Reversals and ContradictionsReversal: [what changed, with before/after evidence]Contradiction: [what conflicts, or No clear evidence found]Abandoned Branches[branch] - [why it appears abandoned, with evidence]Related Concepts[concept slug or title] - [relationship]Evidence Gaps[bucket or claim] - [what was checked and what is missing]值得注意的细节模板开头的 Current Live Version 强制要求给出**置信度high / medium / low**这与其他只读技能的gap 显式标注纪律一致参见 [plugin-variants/gbrain-coding/skills/query/SKILL.md](https://link.gitcode.com/i/b866bb904730c48ed3e2185027ad0ac2) 的契约gap 必须显式标记、冲突来源必须双双引用。 ## 六、质量规则Quality Rules - **引用原文**命名首次提及或最佳表述时必须引用确切文本 - **日期纪律**来源有日期就带日期没有日期就写 undated而不是猜测 - **权威分级**用户的直接陈述是用户当前观点的最高权威 - **takes 的归属纪律**持有人归因的 takes 是**该持有人**的信念不能自动当作关于世界或大脑所有者的**事实** - **低置信度条件**当证据仅来自单一弱片段、无日期页面或模糊语义匹配时标记置信度为 low - **保留 source id**当 search 或页面载荷包含 source id 时在引用中保留。 ## 七、反模式Anti-Patterns - 对单想法问题运行 concept-synthesis - 把实体的 MRR、ARR、职位或状态轨迹直接当作概念 lineage 呈现而不解释二者的区别 - 把正常的时间演化误当作矛盾 - 因为故事会更有趣而**编造**被放弃分支 - 在没有用户明确指示的情况下保存或改写大脑页面 - 在打包的 fixture 或文档中使用真实姓名、公司、基金或 fork 专属示例。 ## 八、配套技能与操作 SKILL.md 维护了一张明确的邻接图 - concept-synthesis——宽泛的、可写的概念图谱综合注意在 gbrain-coding 变体中对应的文件是 [plugin-variants/gbrain-coding/skills/concept-synthesis/SKILL.md](https://link.gitcode.com/i/a7631d7972dfc1d8a8baec6d2c8521c4) - query——通用大脑检索与带引用答案[plugin-variants/gbrain-coding/skills/query/SKILL.md](https://link.gitcode.com/i/b866bb904730c48ed3e2185027ad0ac2) - brain-ops——来源归属与 brain-first 行为[plugin-variants/gbrain-coding/skills/brain-ops/SKILL.md](https://link.gitcode.com/i/9a56e61556be2a86f8186149e3156817) - find_trajectory——面向实体的结构化类型化事实与事件时间线 - find_contradictions——缓存的疑似矛盾发现。 ## 九、底层操作源码解析 idea-lineage 是纯指令型技能markdown agent instructions实际检索能力全部由 gbrain 的既有只读操作提供。理解这些操作的源码语义才能正确地指哪打哪。 ### 9.1 search / query / get_page / list_pages检索基座 - search关键词检索用于精确短语变体和带日期的提及在查询技能中被描述为 cheap-hybridgbrain search - query语义检索用于概念级匹配full-hybrid多查询扩展 - get_page读取候选来源页的完整上下文——只有当片段暗示存在 lineage 里程碑时才调用遵循先读 chunk、再决定是否读整页的 token 预算纪律见 [plugin-variants/gbrain-coding/skills/query/SKILL.md](https://link.gitcode.com/i/b866bb904730c48ed3e2185027ad0ac2) 的 Token-Budget Awareness 一节 - list_pages概念页发现与范围化页面枚举如按 type 过滤 type:concept。 ### 9.2 takes_search持有人归属主张的检索面 当想法以信念、赌注、预感或归因主张belief / bet / hunch / attributed claim形态出现时使用 takes_search。它在 [src/core/ops/takes.ts](https://link.gitcode.com/i/86e22770b4d8054efbc26a72ddb6d92c) 中定义源码描述为 Keyword search across takes (pg_trgm similarity over claim text)——即基于 PostgreSQL pg_trgm trigram 相似度对 claim 文本做关键词搜索参数 query必填匹配 take 的 claim 文本如 valuation cap、limit默认 30上限 100。同一文件中还有 takes_list按 holder / kind / active / resolved 过滤、sort_by 支持 weight | since_date | created_at可用于按持有人审视某想法相关的全部主张。 ### 9.3 find_contradictions只读缓存不启动探测 find_contradictions 在 [src/core/ops/insights.ts](https://link.gitcode.com/i/015af98eb8af29ebba09b39ee855a9ee) 中定义为 insights 操作簇的一员。其完整语义见 [src/core/operations-descriptions.ts](https://link.gitcode.com/i/26600442751da4e9dba1c3b30875851d)**已存储的矛盾报告暂时只对受信任的本地调用者无 source filter开放**远程或带来源范围的调用者只会收到 {contradictions: [], note} 与可用性说明。对符合条件的本地调用者它返回最近一次 gbrain eval suspected-contradictions 探测运行中产生的疑似矛盾发现可按 slug 与 severity 过滤结构为 {a, b, severity, axis, confidence, resolution_command}。要点与 SKILL.md 完全一致**读取缓存运行结果不会触发新探测**需要新探测时由用户显式运行 gbrain eval suspected-contradictions。这正是本技能不启动昂贵探测边界的实现基础。 ### 9.4 find_trajectory结构化实体轨迹的旁路 find_trajectoryv0.35.4 引入同样位于 insights 操作簇其描述见 [src/core/operations-descriptions.ts](https://link.gitcode.com/i/5022cbd091be1928bdff7d55dc0b0415)返回实体在某时间段内的**编年主张轨迹**——类型化指标值随时间的变化加上自动检测的回归regressions与叙事漂移drift。返回结构为 {points: [{fact_id, valid_from, metric, value, unit, period, text, source_session, source_markdown_slug}], regressions: [{metric, from_value, from_date, to_value, to_date, delta_pct}], drift_score: number|null, schema_version: 1}赞分享人工智能RAGAgent 记忆MCP 服务知识管理【免费下载链接】gbrainGarrys Opinionated OpenClaw/Hermes Agent Brain项目地址https://gitcode.com/gh_mirrors/gb/gbrain点击查看免费下载相关推荐RustFS 如何用 x-rustfs-expected-current-version-id 条件头做原子对象回滚RustFS 如何用 x rustfs expected current version id 条件头做原子对象回滚 在版本桶里做“回滚”有一个经典竞态你观察后端对象存储分布式存储Current BehaviorCurrent Behavior ! 这是当前的行为 Expected Behavior ! 这是改动后应达到的行为 Related Issue s !开发工具构建工具MonorepoCLICurrent TestCurrent Test ! OVERWRITE each test shows where we are number: N name: test name人工智能AI 应用提示工程开发工具工作流自动化AI Agent上一篇AI幻觉问题终极指南成因分析与5大解决方案下一篇Buzz音频转录工具5个常见场景下的高效解决方案创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考
返回列表