ai-wiki-toolkit-linux-arm64 0.1.21 → 0.1.23
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 +82 -12
- package/bin/aiwiki-toolkit +0 -0
- package/package.json +1 -1
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.
|
|
4
|
+
It is published as the platform-specific binary package for `ai-wiki-toolkit` `0.1.23`.
|
|
5
5
|
Most users should install `ai-wiki-toolkit` instead of using this package directly.
|
|
6
6
|
|
|
7
7
|
---
|
|
@@ -87,11 +87,35 @@ 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
|
+
- an effort level so simple operational tasks can stay lightweight
|
|
108
|
+
- index cards with short descriptions and reference links for relevant memory
|
|
109
|
+
- `must_load` docs to consult first when direct context is required
|
|
110
|
+
- source-cited `must_follow` rules extracted from authoritative user-owned docs
|
|
111
|
+
- exploratory `context_notes` from drafts or other non-authoritative docs
|
|
112
|
+
- lower-confidence `maybe_load` docs and explicit skip reasons
|
|
113
|
+
|
|
114
|
+
Markdown remains the source of truth. A context packet is a generated, auditable working set for the
|
|
115
|
+
current task, not canonical memory. Agents should record reuse only for user-owned docs they actually
|
|
116
|
+
consult or materially use. Packet word limits are safety caps, not fill targets; agents should open
|
|
117
|
+
linked reference files at runtime when an index card is relevant and the task needs more detail.
|
|
118
|
+
|
|
95
119
|
## Prompt File Integration
|
|
96
120
|
|
|
97
121
|
Many coding-agent setups already create one of these repo-shared prompt files:
|
|
@@ -109,7 +133,7 @@ If none of those files exist yet, the toolkit creates `AGENT.md` as a generic de
|
|
|
109
133
|
|
|
110
134
|
The AI wiki structure is deliberately inspired by how `SKILL.md` files work well: keep a small stable entrypoint, then fan out into focused references.
|
|
111
135
|
|
|
112
|
-
Each wiki namespace starts with an `index.md` and then links to narrower files such as `constraints.md`, `conventions/`, `workflows.md`, `decisions.md`, `review-patterns/`, `problems/`, `features/`, `trails/`, and personal `drafts/`. The package-managed start-of-task routing lives in `ai-wiki/_toolkit/system.md`, while repo-owned indexes stay stable maps that humans can customize without turning them into package upgrade surfaces.
|
|
136
|
+
Each wiki namespace starts with an `index.md` and then links to narrower files such as `constraints.md`, `conventions/`, `workflows.md`, `decisions.md`, `review-patterns/`, `problems/`, `features/`, `trails/`, `work/`, and personal `drafts/`. The package-managed start-of-task routing lives in `ai-wiki/_toolkit/system.md`, while repo-owned indexes stay stable maps that humans can customize without turning them into package upgrade surfaces.
|
|
113
137
|
|
|
114
138
|
## Current Scope
|
|
115
139
|
|
|
@@ -118,9 +142,10 @@ The current scope is intentionally strict about compatibility:
|
|
|
118
142
|
- initialize the repo and home AI wiki folders
|
|
119
143
|
- create starter Markdown files only if they do not already exist
|
|
120
144
|
- create managed `_toolkit/` files that package updates are allowed to refresh
|
|
121
|
-
- create `conventions/`, `review-patterns/`, `problems/`, `features/`, and `people/<handle>/drafts/` scaffolding
|
|
145
|
+
- create `conventions/`, `review-patterns/`, `problems/`, `features/`, `work/`, and `people/<handle>/drafts/` scaffolding
|
|
122
146
|
- create or refresh package-owned repo-local `.agents/skills/ai-wiki-reuse-check/`, `.agents/skills/ai-wiki-update-check/`, `.agents/skills/ai-wiki-clarify-before-code/`, `.agents/skills/ai-wiki-capture-review-learning/`, and `.agents/skills/ai-wiki-consolidate-drafts/` skills
|
|
123
147
|
- create a managed `_toolkit/schema/team-memory-v1.md` guide for lightweight team coding memory
|
|
148
|
+
- create a managed `_toolkit/schema/work-v1.md` guide and local generated work views for repo-native todo/epic lifecycle state
|
|
124
149
|
- update managed instruction blocks inside `AGENT.md`, `AGENTS.md`, and `CLAUDE.md`
|
|
125
150
|
- avoid rewriting existing user-owned `ai-wiki/**/*.md` documents outside `_toolkit/`
|
|
126
151
|
|
|
@@ -162,6 +187,13 @@ The Homebrew formula and npm distribution both consume the same versioned GitHub
|
|
|
162
187
|
|
|
163
188
|
The npm package is a thin meta package that installs the matching platform-specific binary package for the current machine. It does not fetch release assets during `postinstall`.
|
|
164
189
|
|
|
190
|
+
Enterprise/security notes for npm installs:
|
|
191
|
+
|
|
192
|
+
- the root npm package does not define `preinstall`, `install`, `postinstall`, `prepare`, or other lifecycle scripts
|
|
193
|
+
- the platform binary packages are installed through normal npm package resolution instead of an install-time downloader
|
|
194
|
+
- `npm install -g ai-wiki-toolkit --ignore-scripts` is compatible with the package topology because install scripts are not required
|
|
195
|
+
- global installation adds the `aiwiki-toolkit` command, but repo files are modified only when a user explicitly runs `aiwiki-toolkit install` inside a git repository
|
|
196
|
+
|
|
165
197
|
2. Enter the target git repository and initialize the wiki scaffolding:
|
|
166
198
|
|
|
167
199
|
```bash
|
|
@@ -263,10 +295,11 @@ aiwiki-toolkit init
|
|
|
263
295
|
|
|
264
296
|
- create `ai-wiki/` inside the current repository
|
|
265
297
|
- create `~/ai-wiki/system/`
|
|
266
|
-
- create
|
|
267
|
-
- create `ai-wiki/conventions
|
|
268
|
-
-
|
|
269
|
-
-
|
|
298
|
+
- create a gitignored `.env.aiwiki` file for the current local actor identity
|
|
299
|
+
- create starter indexes such as `ai-wiki/conventions/index.md`, `ai-wiki/review-patterns/index.md`, `ai-wiki/problems/index.md`, `ai-wiki/features/index.md`, `ai-wiki/trails/index.md`, `ai-wiki/work/index.md`, and `ai-wiki/people/<handle>/index.md`
|
|
300
|
+
- create `ai-wiki/conventions/`, `ai-wiki/review-patterns/`, `ai-wiki/problems/`, `ai-wiki/features/`, `ai-wiki/work/`, `ai-wiki/people/<handle>/drafts/`, `ai-wiki/metrics/`, and repo/home `_toolkit/`
|
|
301
|
+
- generate package-managed `_toolkit/index.md`, `_toolkit/workflows.md`, `_toolkit/catalog.json`, `_toolkit/schema/reuse-v1.md`, `_toolkit/schema/team-memory-v1.md`, `_toolkit/schema/work-v1.md`, `_toolkit/metrics/*.json`, and `_toolkit/work/*`
|
|
302
|
+
- upsert a managed `.gitignore` block that ignores `.env.aiwiki`, AI wiki telemetry, and generated aggregate snapshots so routine agent use does not dirty `git status`
|
|
270
303
|
- create or refresh package-owned `.agents/skills/ai-wiki-reuse-check/`, `.agents/skills/ai-wiki-update-check/`, `.agents/skills/ai-wiki-clarify-before-code/`, `.agents/skills/ai-wiki-capture-review-learning/`, and `.agents/skills/ai-wiki-consolidate-drafts/`
|
|
271
304
|
- update `AGENT.md`, `AGENTS.md`, and/or `CLAUDE.md` with a managed instruction block that reads `ai-wiki/_toolkit/system.md`
|
|
272
305
|
|
|
@@ -304,6 +337,41 @@ Only record user-owned AI wiki knowledge docs with `record-reuse`.
|
|
|
304
337
|
|
|
305
338
|
Managed control-plane docs under `_toolkit/**` should still be cited in user-facing notes when they affect behavior, but they should not be logged as knowledge-reuse events.
|
|
306
339
|
|
|
340
|
+
To turn conversation todos or epics into routeable repo-local work state:
|
|
341
|
+
|
|
342
|
+
```bash
|
|
343
|
+
aiwiki-toolkit work capture \
|
|
344
|
+
--work-id aiwiki-framework-roadmap \
|
|
345
|
+
--title "Build the coding agent working framework" \
|
|
346
|
+
--item-type epic \
|
|
347
|
+
--status proposed \
|
|
348
|
+
--source conversation
|
|
349
|
+
|
|
350
|
+
aiwiki-toolkit work capture \
|
|
351
|
+
--work-id work-ledger \
|
|
352
|
+
--title "Capture conversation todos as AI wiki work state" \
|
|
353
|
+
--status todo \
|
|
354
|
+
--epic-id aiwiki-framework-roadmap \
|
|
355
|
+
--assignee your-handle \
|
|
356
|
+
--link ai-wiki/people/your-handle/drafts/agent-framework-roadmap.md
|
|
357
|
+
|
|
358
|
+
aiwiki-toolkit work status \
|
|
359
|
+
--work-id work-ledger \
|
|
360
|
+
--status processing
|
|
361
|
+
```
|
|
362
|
+
|
|
363
|
+
By default, `work capture` resolves the current actor from explicit CLI input, environment, `.env.aiwiki`, git config, then fallback. It uses that actor as `author_handle`, `reporter_handle`, and the default assignee. This appends to `ai-wiki/work/events/<handle>.jsonl` and regenerates local package-managed views under `ai-wiki/_toolkit/work/`. Route packets can then surface matching active, processing, blocked, planned, or todo work items before an agent starts acting. Work events are not knowledge-reuse evidence by themselves, so they are kept separate from `record-reuse`.
|
|
364
|
+
|
|
365
|
+
For team use, canonical work stays in the central `ai-wiki/work/events/` ledger. People are linked through `reporter_handle` and `assignee_handles`; work is not stored inside `people/<handle>/`. Use these views when you need owner-scoped state:
|
|
366
|
+
|
|
367
|
+
```bash
|
|
368
|
+
aiwiki-toolkit work mine
|
|
369
|
+
aiwiki-toolkit work list --assignee your-handle
|
|
370
|
+
aiwiki-toolkit work list --reporter your-handle --include-closed
|
|
371
|
+
```
|
|
372
|
+
|
|
373
|
+
Generated local views are also written under `ai-wiki/_toolkit/work/by-assignee/` and `ai-wiki/_toolkit/work/by-reporter/`. Route packets treat work assigned to the current `.env.aiwiki` actor as actionable by default; another person's work appears only when directly matched by the current task request.
|
|
374
|
+
|
|
307
375
|
To record that a completed task was checked for AI wiki reuse, even when no wiki docs were needed:
|
|
308
376
|
|
|
309
377
|
```bash
|
|
@@ -321,7 +389,7 @@ Both metrics logs are sharded by handle under:
|
|
|
321
389
|
|
|
322
390
|
These logs are intended as local telemetry by default, not merge-heavy source files.
|
|
323
391
|
|
|
324
|
-
If you need a fresh local telemetry snapshot, regenerate package-managed aggregate views such as `ai-wiki/_toolkit/catalog.json
|
|
392
|
+
If you need a fresh local telemetry and work snapshot, regenerate package-managed aggregate views such as `ai-wiki/_toolkit/catalog.json`, `ai-wiki/_toolkit/metrics/*.json`, or `ai-wiki/_toolkit/work/*` with:
|
|
325
393
|
|
|
326
394
|
```bash
|
|
327
395
|
aiwiki-toolkit refresh-metrics
|
|
@@ -341,10 +409,11 @@ This command does not rewrite user-owned repo docs. It prints which paths need a
|
|
|
341
409
|
- `ai-wiki/problems/index.md`
|
|
342
410
|
- `ai-wiki/features/index.md`
|
|
343
411
|
- `ai-wiki/trails/index.md`
|
|
412
|
+
- `ai-wiki/work/index.md`
|
|
344
413
|
- `ai-wiki/people/<handle>/index.md`
|
|
345
414
|
- `ai-wiki/metrics/index.md`
|
|
346
415
|
|
|
347
|
-
It also checks whether the managed `.gitignore` block is present and whether telemetry paths are still tracked in the git index from older versions. If those paths are still tracked, `doctor` prints a one-time `git rm --cached` command to untrack them.
|
|
416
|
+
It also checks whether the managed `.gitignore` block is present and whether local identity, telemetry, or generated-view paths are still tracked in the git index from older versions. If those paths are still tracked, `doctor` prints a one-time `git rm --cached` command to untrack them.
|
|
348
417
|
|
|
349
418
|
To remove the managed layer while keeping your user-owned wiki documents:
|
|
350
419
|
|
|
@@ -355,7 +424,7 @@ aiwiki-toolkit uninstall
|
|
|
355
424
|
This removes:
|
|
356
425
|
|
|
357
426
|
- managed prompt blocks from `AGENT.md` / `AGENTS.md` / `CLAUDE.md`
|
|
358
|
-
- the managed `.gitignore` block for AI wiki telemetry
|
|
427
|
+
- the managed `.gitignore` block for AI wiki local identity and telemetry
|
|
359
428
|
- `ai-wiki/_toolkit/**`
|
|
360
429
|
- `~/ai-wiki/system/_toolkit/**`
|
|
361
430
|
- the `aiwikiToolkit` key from `opencode.json`
|
|
@@ -374,11 +443,12 @@ Even with `--purge-user-docs --yes`, the shared home wiki under `~/ai-wiki/syste
|
|
|
374
443
|
|
|
375
444
|
- Existing user-owned `ai-wiki/**/*.md` files are treated as stable data.
|
|
376
445
|
- `install`/`init` only create missing starter files; they do not merge or overwrite existing user wiki documents.
|
|
377
|
-
- Starter indexes such as `ai-wiki/index.md`, `conventions/index.md`, `review-patterns/index.md`, `problems/index.md`, `features/index.md`, `trails/index.md`, `people/<handle>/index.md`, and `metrics/index.md` become user-owned once created and are not rewritten by future package updates.
|
|
446
|
+
- Starter indexes such as `ai-wiki/index.md`, `conventions/index.md`, `review-patterns/index.md`, `problems/index.md`, `features/index.md`, `trails/index.md`, `work/index.md`, `people/<handle>/index.md`, and `metrics/index.md` become user-owned once created and are not rewritten by future package updates.
|
|
378
447
|
- `ai-wiki/_toolkit/**` and `~/ai-wiki/system/_toolkit/**` are package-managed and may be refreshed by future versions.
|
|
379
448
|
- `ai-wiki/index.md` is a repo-owned map and is not treated as a starter-drift upgrade target by `doctor`.
|
|
380
449
|
- `ai-wiki/workflows.md` remains user-owned; package-managed workflow updates land in `ai-wiki/_toolkit/workflows.md` instead of rewriting the repo-owned file.
|
|
381
|
-
- `
|
|
450
|
+
- `.env.aiwiki` stores the current local actor identity in a managed block. It is gitignored and should not be committed.
|
|
451
|
+
- `ai-wiki/metrics/reuse-events/<handle>.jsonl` and `ai-wiki/metrics/task-checks/<handle>.jsonl` are user-owned evidence data. `ai-wiki/work/events/<handle>.jsonl` is user-owned work state. Package-managed aggregate views are regenerated under `ai-wiki/_toolkit/metrics/` and `ai-wiki/_toolkit/work/`, and the installer ignores those generated paths by default in `.gitignore`.
|
|
382
452
|
- Legacy flat files such as `ai-wiki/metrics/reuse-events.jsonl` and `ai-wiki/metrics/task-checks.jsonl` are still read for compatibility, but new writes should use the handle-sharded layout.
|
|
383
453
|
- `aiwiki-toolkit doctor --suggest-index-upgrade` prints suggested replacements for missing repo starter docs and repo-owned companion docs such as `ai-wiki/workflows.md`, but it does not overwrite them automatically.
|
|
384
454
|
- Package-owned `.agents/skills/ai-wiki-reuse-check/**`, `.agents/skills/ai-wiki-update-check/**`, `.agents/skills/ai-wiki-clarify-before-code/**`, `.agents/skills/ai-wiki-capture-review-learning/**`, and `.agents/skills/ai-wiki-consolidate-drafts/**` are refreshed by `install` so package workflow updates reach existing repos.
|
package/bin/aiwiki-toolkit
CHANGED
|
Binary file
|
package/package.json
CHANGED