Repository navigation
Commit 8a07586
authored
Deliver bounded feature knowledge to reviews and update init workflow (#288)
Direct plans previously returned owner rule maps while feature-depth
prose remained behind manual search/read. This change returns the most
relevant explanatory knowledge automatically in Direct MCP, SDK and
Agent review, using one repository-scoped reader with a
two-document/6,000-character limit. Results expose source pins, missing
depth facets and bounded followup reads; SDK references retain the plan
snapshot and agent injection respects briefing ablation.
Initialization now writes reviewed feature/entry-point/glob hints
without changing accepted prose or checkpoint proofs. Existing
JiuwenSwarm feature pages receive the same hints, and init/review
skills, Cursor instructions, playbook and specs include offline
retrieval acceptance. Knowledge bodies and hard-rule routes are
unchanged. The workflow checker also recognizes the heading-form rule
IDs used by the owner rules.
Measured against merged baseline 2b66967: description+path probes
deliver 79/79 feature explanations and 77/77 existing depth pages;
paths-only probes deliver 77/79 features (ttse/worktree remain
ambiguous). All 79 rule routes stay identical. Maximum background is
5,571 characters; local median retrieval overhead is about 1.9 seconds.
These are catalog delivery measurements, not real PR recall or RQS
gains. Breadth remains 2,043/2,199 files and checked depth 173/553
facets.
Validation: full offline `python -m pytest -q`; post-review
proof/depth/SDK/Agent regressions; CI knowledge-checker tests; both KB
validators; doc links/citations and strict SPEC freshness; independent
pinned-source audit; 158 actual Direct acceptance probes. Independent
complete-diff review and `--require-clean` passed after fixing malformed
proof digest/path acceptance. Final whole-tree validation also runs in
PR CI.
The 156 generated metadata-only page edits preserve original bodies.
Generated audit JSON is intentionally included for reproducibility and
is exempt from the production code-size budget; runtime source adds 256
lines, plus two checker lines and the offline audit tool. No new model
provider, retrieval model call, extraction stage or persistent index is
introduced.
Chinese report and reproducible evidence:
`eval/knowledge-depth/jiuwenswarm-retrieval-improvement-cn.md`,
`jiuwenswarm-retrieval-acceptance-20261002.json`,
`jiuwenswarm-retrieval-baseline-20261002.json`,
`jiuwenswarm-retrieval-depth-audit-20261002.json`, and
`retrieval-independent-review-20261002.md`.1 parent 2b66967 commit 8a07586
197 files changed
Lines changed: 14702 additions & 45 deletions
File tree
- doc
- architecture/SPEC
- engine
- knowledge_service
- knowledge
- eval/knowledge-depth
- integrations/cursor
- knowledge
- general/review/guides
- repos/jiuwenswarm/components
- a2ui
- agent-runtime
- agent-server-runtime
- agents-team
- auto-harness
- browser-client
- common-core
- cron-scheduling
- extensions-plugins
- gateway-channels
- ide-clients
- launch
- login-auth
- observability
- packaging-deploy
- protocols
- sandbox-runtime
- sdk-clients
- symphony-orchestration
- tui-client
- web-frontend
- tools
- playbooks
- plugins/infermatrix-copilot/skills
- imkbinit
- imreview
- src/infermatrix_copilot
- engine/agent_runtime
- kb_service
- knowledge_service
- sdk/v1
- test
- tools
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
14 | 19 | | |
15 | 20 | | |
16 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
8 | 13 | | |
9 | 14 | | |
10 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
677 | 677 | | |
678 | 678 | | |
679 | 679 | | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
29 | 39 | | |
30 | 40 | | |
31 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
43 | 50 | | |
44 | 51 | | |
45 | 52 | | |
| |||
0 commit comments