Skip to content

kb init(jiuwenswarm): skeleton - #273

Merged
tzhouam merged 1 commit into
mainfrom
kb/init-jiuwenswarm-skeleton
Sep 30, 2026
Merged

tzhouam merged 1 commit into
mainfrom
kb/init-jiuwenswarm-skeleton

Conversation

@tzhouam

@tzhouam tzhouam commented Sep 30, 2026

Copy link
Copy Markdown
Collaborator

kb init stage skeleton for jiuwenswarm (openJiuwen-ai/jiuwenswarm).

  • Upstream pin: f0a69728c96b5961d993449f1a901cbd2f4dac5b
  • Knowledge base: 7ca6041229e2a53fc401067e5c29b297e7883305
  • Model spend (accounted): $7.41

Human-merged. Rules were screened by the docs redundancy filter, checked at the pin, and given an advisory verdict; fail rules are already removed.

rule page verdict
JIUWENSW-I2 repos/jiuwenswarm/rules.md unsure
JIUWENSW-I3 repos/jiuwenswarm/rules.md unsure
JIUWENSW-I6 repos/jiuwenswarm/rules.md unsure
JIUWENSW-I8 repos/jiuwenswarm/rules.md pass
JIUWENSW-I10 repos/jiuwenswarm/rules.md unsure
JIUWENSW-I11 repos/jiuwenswarm/rules.md pass
JIUWENSW-I12 repos/jiuwenswarm/rules.md unsure
Dropped rules
  • JIUWENSW-I1: JIUWENSW-I1: .gitcode/workflows does not exist at openJiuwen-ai/jiuwenswarm@f0a69728c96b
  • JIUWENSW-I4: advisory judge: fail {"faithful": "A2A 文档第 67 行支持缺少可选依赖时 Gateway 继续启动并记录安装指引,第 25 行支持出站 A2A 不放在 A2AChannel。但证据没有规定 a2a 只能在指定目录导入、必须捕获导入失败,也没有证明所列其他模块的顶层导入都会导致启动失败。第 158 行对鉴权和限流使用的是建议性措辞,新增规则将其写成了禁令。", "non_contradictory": "与所示规则没有明确冲突;I3 也要求 A2A 依赖放在可选 extra 中。", "actionable": "规则给出了可检查的导入位置、启动行为和 A2AChannel 职责,审查者可据此
  • JIUWENSW-I5: advisory judge: fail {"faithful": "“非 Web 路径连配置都不读”超出了证据范围:A2UI-web-only-pr-record.md:L23-L27 只明确非 Web assistant response 不触发配置查询。A2UI-IM-channel-analysis.md:L112-L120 建议飞书卡片使用独立 adapter,但未明确要求微信结构化文本也使用 adapter。", "non_contradictory": "与所列 I2–I4、I6–I12 规则没有可见冲突;A2UI.md:L63-L70 也支持统一渠道判断和 integration 边界。", "actionable":
  • JIUWENSW-I7: advisory judge: fail {"faithful": "The proposed ban on putting raw channel identifiers in channel_context is stricter than the cited protocol: it permits residual keys there during transition and says to clear it where possible, while describing Gateway mapping as the target state (E2A-protocol.md L23–L24, L246). The
  • JIUWENSW-I9: advisory judge: fail {"faithful": "E2A 文档称 work_mode“可选”,并“建议”同时发送两个字段;新规则却要求必须同时发送。证据也未要求改 mode 取值时更新示例和变更记录。", "non_contradictory": "与所列其他规则没有直接冲突;将业务字段放入 params 符合 JIUWENSW-I7。", "actionable": "评审者可据此检查是否新增 agent.fast 处理分支;变更记录明确说 agent.fast 已合并为 agent。"}

Needs human edit:

  • owner agent-server-runtime: prefix jiuwenswarm/server/ is an ancestor of the prefixes of a2ui; those files count for the more specific owner only — narrow it if it is a catch-all
  • owner docs: prefix docs/ is an ancestor of the prefixes of auto-harness; those files count for the more specific owner only — narrow it if it is a catch-all
  • owner gateway-channels: prefix jiuwenswarm/gateway/ is an ancestor of the prefixes of protocols; those files count for the more specific owner only — narrow it if it is a catch-all
  • owner tests-ci: prefix tests/ is an ancestor of the prefixes of a2ui; those files count for the more specific owner only — narrow it if it is a catch-all
  • owner web-frontend: prefix jiuwenswarm/channels/web/ is an ancestor of the prefixes of a2ui; those files count for the more specific owner only — narrow it if it is a catch-all

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-30T20:39:15.654053Z f6aee1f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f6aee1f157

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@@ -0,0 +1,30 @@
---

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Update the empty-pilot test when creating the tree

Adding this directory makes the existing test/test_kb_init_pilot_jiuwenswarm.py:23 fail because it still asserts that knowledge/repos/jiuwenswarm does not exist. Running that test against this commit produces an assertion failure, so update or retire the empty-KB expectation in the same change to avoid leaving the test suite red.

Useful? React with 👍 / 👎.

## 代码快速入口(Direct)
<!-- kb-init:quick-map -->

触发词:gateway、网关、channel、频道、channel_manager、message_handler、feishu、飞书、wechat、微信、xiaoyi、小艺。PR 描述或改动命中下表一行时,先读该行的规则,再读页面其余部分。

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Include every routed owner in the embedded map

When Direct selects protocols, a2ui, agent-server-runtime, or any other owner sharing architecture.md, it reports this map as ok, but the embedded content contains only the first owner's gateway signals and files. For example, an E2A change returns a gateway-only map; because the host is required to consume the compact map and stop navigation, the relevant protocol sources never reach the reviewer. Union the inputs for all owners targeting this page or give each owner a distinct mapped page.

AGENTS.md reference: knowledge/AGENTS.md:L16-L16

Useful? React with 👍 / 👎.

- work_mode
- 模式
scope_prefixes:
- jiuwenswarm/server/

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Narrow broad prefixes to the most-specific owner

For a description-unrouted change under jiuwenswarm/server/runtime/a2ui/, the prefix here and the A2UI prefix both match, so Direct returns both a2ui and agent-server-runtime, consuming two of its three route slots and potentially displacing another real owner. The gateway/protocol, web/A2UI, docs/AutoHarness, and tests/A2UI pairs have the same problem; narrow the catch-all prefixes or enforce most-specific-only matching.

AGENTS.md reference: knowledge/AGENTS.md:L5-L10

Useful? React with 👍 / 👎.

Comment on lines +73 to +74
- TUI `/exit` 或双击 Ctrl+C:兜底暂停,保留进度。
- 暂停后不能自动恢复,是否恢复由 Leader 决定。重启后没跑完的 run 显示为“暂停待恢复”,按钮置灰。

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Restore the missing Team and SwarmFlow rule body

When a Team session-switch or SwarmFlow lifecycle change routes to JIUWENSW-I11, the rule contains only a TUI exit/pause case and a generic no-auto-resume statement; it never describes the local-versus-distributed distinction or trigger-source behavior promised by its heading, nor how to validate them. This appears truncated and leaves the routed rule non-executable, so restore the omitted cases and acceptance criteria or remove the unsupported rule.

AGENTS.md reference: AGENTS.md:L12-L17

Useful? React with 👍 / 👎.


**文档里已知的过期内容**

- `TESTING.md` 写于 JiuwenClaw 时期,和现状有出入:它同时写了 `tests/unit/` 和 `tests/unit_tests/` 两种路径;CI 部分写的是 `.github/workflows/`,而仓库实际用的是 `.gitcode/`。遇到分歧时,以 `pytest.ini`、`.gitcode/workflows/` 和 `tests/` 的实际结构为准。

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Remove the nonexistent CI workflow route

At the pinned f0a69728c96b snapshot, this commit's own dropped-rule audit records that .gitcode/workflows does not exist, yet this sentence says it is the repository's actual CI location and the preceding table directs reviewers there. Any CI-focused review will therefore inspect an absent tree instead of the real configuration; replace this with a verified live path or explicitly state that no workflow directory was found.

Useful? React with 👍 / 👎.

@tzhouam tzhouam closed this Sep 30, 2026
@tzhouam tzhouam reopened this Sep 30, 2026
@tzhouam
tzhouam merged commit 7386f28 into main Sep 30, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant