ai-wiki-toolkit-linux-arm64 0.1.20 → 0.1.22

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.
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # ai-wiki-toolkit-linux-arm64
2
2
 
3
3
  This package contains the `aiwiki-toolkit` executable for `linux-arm64-glibc`.
4
- It is published as the platform-specific binary package for `ai-wiki-toolkit` `0.1.20`.
4
+ It is published as the platform-specific binary package for `ai-wiki-toolkit` `0.1.22`.
5
5
  Most users should install `ai-wiki-toolkit` instead of using this package directly.
6
6
 
7
7
  ---
@@ -87,11 +87,32 @@ That is why the installer manages both wiki files and prompt wiring together:
87
87
 
88
88
  - `ai-wiki/` and `~/ai-wiki/system/` hold the durable Markdown memory
89
89
  - `AGENT.md`, `AGENTS.md`, or `CLAUDE.md` tell the agent to read that memory and follow the workflow
90
+ - `aiwiki-toolkit route` generates a task-aware context packet so the agent can load the most relevant memory before falling back to the broader read order
90
91
  - `.agents/skills/ai-wiki-reuse-check/` and `.agents/skills/ai-wiki-update-check/` provide repeatable end-of-task checks for Codex-style agent runs
91
92
  - `.agents/skills/ai-wiki-clarify-before-code/` and `.agents/skills/ai-wiki-capture-review-learning/` help agents clarify ambiguous requests and preserve reusable review feedback
92
93
 
93
94
  The toolkit does not replace coding agents. It gives them a shared repo-local memory layer so they can avoid repeating the same review issues, misunderstanding the same requirements, or rediscovering the same fixes.
94
95
 
96
+ ## Task-Aware Context Routing
97
+
98
+ The managed prompt block asks agents to run `aiwiki-toolkit route --task "<current user request>"`
99
+ at the start of a task when the command is available.
100
+
101
+ Users do not need to run this manually during normal agent use. The agent supplies the current task
102
+ text because the CLI cannot see the private chat request on its own.
103
+
104
+ The command emits a transient AI Wiki Context Packet with:
105
+
106
+ - a coarse task type and risk tags
107
+ - `must_load` docs to consult first
108
+ - source-cited `must_follow` rules extracted from authoritative user-owned docs
109
+ - exploratory `context_notes` from drafts or other non-authoritative docs
110
+ - lower-confidence `maybe_load` docs and explicit skip reasons
111
+
112
+ Markdown remains the source of truth. A context packet is a generated, auditable working set for the
113
+ current task, not canonical memory. Agents should record reuse only for user-owned docs they actually
114
+ consult or materially use.
115
+
95
116
  ## Prompt File Integration
96
117
 
97
118
  Many coding-agent setups already create one of these repo-shared prompt files:
@@ -218,6 +239,9 @@ npm install -g ai-wiki-toolkit@latest
218
239
 
219
240
  - Files under `ai-wiki/_toolkit/**` and `~/ai-wiki/system/_toolkit/**` are package-managed.
220
241
  - Files such as `ai-wiki/index.md`, `ai-wiki/workflows.md`, and other docs you add under `ai-wiki/` are user-owned.
242
+ - Starter files such as `ai-wiki/constraints.md` and `ai-wiki/decisions.md` may look mostly empty
243
+ after install. That is intentional: they are placeholders for rules and decisions your team has
244
+ actually made, not generic package defaults.
221
245
  - `ai-wiki/_toolkit/system.md` is the managed entrypoint for package-managed repo guidance and evolving read order.
222
246
  - `ai-wiki/index.md` is a repo-owned map, not a package upgrade surface.
223
247
  - `ai-wiki/_toolkit/workflows.md` carries the managed baseline workflows that package upgrades can refresh.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-wiki-toolkit-linux-arm64",
3
- "version": "0.1.20",
3
+ "version": "0.1.22",
4
4
  "description": "Platform binary package for ai-wiki-toolkit (linux-arm64-glibc).",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/BochengYin/ai-wiki-toolkit#readme",