archgraph-argo 0.8.6 → 0.8.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  description: "公众号发布:将 ArchGraph 项目的文章(洞察报告、官宣介绍、开发者社区等)撰写为符合微信公众号格式的 Markdown,并通过 wechat-public-cli 创建草稿、跟进公众号后台手动发布流程。Use when: 发布公众号文章、创建公众号草稿、微信公众平台、wechat、公众号发布员、撰写 .wechat.md 文章。"
3
3
  name: "公众号发布员"
4
- model: "Qwen3.7-Plus"
4
+ model: "Qwen3.7 Plus"
5
5
  tools: [read, edit, search, execute]
6
6
  user-invocable: true
7
7
  argument-hint: "要发布的文章主题或源文档路径"
@@ -4,6 +4,16 @@ name: "ArchGraph ARGO Workflow Rules"
4
4
  applyTo: "**"
5
5
  ---
6
6
 
7
+ <CoreRules>
8
+ 以下为本 Agent 不可违反的红线(MUST),任何时候不得跳过;详细展开见各 `<...>` 章节。
9
+ 1. 动手修改仓库任何内容前,必须先通过 ARGO MCP 在图谱中定位(或先创建)对应的架构元素与 View。见 `<IntentArchitectureFirst>`。
10
+ 2. 意图图谱只能通过 ARGO MCP 工具读写,禁止直接编辑图谱源文件(design/KG/SystemArchitecture.json)。见 `<ToolsGuideline>`。
11
+ 3. 每次改动必须 git commit,并把「commit id + 相关文件路径」登记到对应架构元素的 `commit` 属性。见 `<IntentArchitectureFirst>` 第 4 条。
12
+ 4. 任何改动必须先确认并通过所有受影响验收用例的回归测试;验收用例缺失则先补充。见 `<AcceptanceTestFirst>`。
13
+ 5. 收工前必须把本次关键进展总结并回写长期记忆,防止长会话/跨会话遗忘。见 `<SessionMemorySummarization>` 与 `<MemoryTriggerTiming>`。
14
+ 6. 全过程中持续遵守以上红线,不得跳过、简化或静默违反任何一条。
15
+ </CoreRules>
16
+
7
17
  <Ontology>
8
18
  你的认知体系结构是基于Archimate3.2及其扩展元素构成。以下参考文件位于全局 Argo 安装根目录 ~/.argo(~ 为用户主目录,Windows 上即 %USERPROFILE%\.argo):
9
19
  1. 如果你想知道知识图谱的合法结构,请参考:~/.argo/schema/SystemArchitecture.schema.json
@@ -12,7 +22,7 @@ applyTo: "**"
12
22
 
13
23
  <WakeupGuideline>
14
24
  1. 当你被启动时,先明确你是哪个 `Business Actor` ,然后从知识图谱中该 `Business Actor` 下面找到你的长期记忆并恢复到你的会话记忆。
15
- 2. 如果你不能确定,可以查询出所有已有的 `Business Actor`,然后咨询人类伙伴,让人类伙伴确认你的角色。
25
+ 2. 如果你不能确定,可以查询出所有已有的 `Business Actor`,然后咨询人类伙伴,让人类伙伴确认你的角色。若确认的角色对应的 Agent 类型(`agent` 属性)与当前 Agent 类型不一致,则切换为对应类型的 Agent,或按 `<CoperationGuideline>` 第 2 条委派给对应类型的 Agent。
16
26
  </WakeupGuideline>
17
27
 
18
28
  <ExplorationGuideline>
@@ -53,7 +63,7 @@ applyTo: "**"
53
63
  1. 先读取短期(会话)记忆:查看 `/memories/session/` 下本次会话的记录;若为空,则依据本次会话的实际工作内容进行总结。
54
64
  2. 生成结构化总结,至少包含:本次目标、已完成的关键进展、关键决策及其原因、遗留问题与待办、可复用的经验与教训。
55
65
  3. 将总结写入长期记忆:
56
- - 若本次工作属于某个 `Business Actor` 的角色工作,按 `<OrganizationGuideline>` 写入该 Actor 名下挂载的长期记忆 View;
66
+ - 若本次工作属于某个 `Business Actor` 的角色工作,写入该 Actor 名下挂载的长期记忆 View(见 `<CoperationGuideline>` 3 条);
57
67
  4. 总结必须简洁、去重:优先更新已有记忆文件,仅在必要时新建;禁止把会话中的冗余过程内容原文复制进长期记忆。
58
68
  </SessionMemorySummarization>
59
69
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "archgraph-argo",
3
- "version": "0.8.6",
3
+ "version": "0.8.8",
4
4
  "description": "Deploy the ArchGraph ARGO toolchain, skills, and rules (schema, scripts, argo-init skill, global rule) with one command.",
5
5
  "license": "MIT",
6
6
  "bin": {