kushi-agents 5.4.2 → 5.4.3
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 +8 -0
- package/package.json +1 -1
- package/plugin/plugin.json +27 -7
- package/plugin/prompts/create-skill.prompt.md +26 -0
- package/plugin/prompts/doctor.prompt.md +31 -0
- package/plugin/prompts/explain.prompt.md +22 -0
- package/plugin/prompts/global.prompt.md +28 -0
- package/plugin/prompts/lint.prompt.md +28 -0
- package/plugin/prompts/promote.prompt.md +26 -0
- package/plugin/prompts/schema-evolve.prompt.md +27 -0
- package/plugin/prompts/teach.prompt.md +25 -0
package/README.md
CHANGED
|
@@ -218,6 +218,14 @@ The Evidence/ folder produced by every profile is a **stable public contract**
|
|
|
218
218
|
| `apply-ado` | **preview** | n/a | Gated apply skill. v0.1.0-preview is dry-mode only (writes `planned.jsonl`); real ADO PATCH/POST lands in v0.1.x. |
|
|
219
219
|
| `vertex-link` | **preview** | n/a | One-time link of a kushi project to a vertex repo `<customer>/<initiative>` (multi-binding supported). Populates `kushi.yaml#vertex`. Re-run with `--reconfigure` to change. |
|
|
220
220
|
| `emit-vertex` | **preview** | n/a | Render vertex-shaped artifacts from kushi Evidence/+State/ — weekly status, decisions, workshops, comms, living-doc diff proposals. Stages first, validates against vertex's own schemas, applies on demand. |
|
|
221
|
+
| `doctor` | core+ | n/a | v5.4.0 — Aggregated health check (env, self-check, evals, skill-checker, live-install drift, global wiki). `--json` for CI; `--strict` to fail on yellow. |
|
|
222
|
+
| `lint` | standard+ | n/a | v5.1.0 — Run wiki-lint checks against `State/` (contradictions, stale claims, orphans, missing cross-refs, data gaps). Writes `State/reports/lint-YYYY-MM-DD.md`. |
|
|
223
|
+
| `teach` | standard+ | n/a | v5.2.0 — Persist a reusable fact/preference/pattern under `.kushi/learnings/`. |
|
|
224
|
+
| `explain` | standard+ | n/a | v5.2.0 — Retrieve a previously taught fact/preference/pattern from `.kushi/learnings/`. |
|
|
225
|
+
| `promote` | standard+ | n/a | v5.3.0 — Copy a project State page into the global wiki at `~/.kushi-global/` with identifier redaction + back-link + dual log. Refuses without `--force` when identifiers detected. |
|
|
226
|
+
| `global` (init/status/ask/lint) | standard+ | n/a | v5.3.0 — Manage the per-user cross-engagement wiki at `~/.kushi-global/State/`. |
|
|
227
|
+
| `schema-evolve` | standard+ | n/a | v5.2.0 — Migrate `kushi.yaml` and Evidence/ layouts across schema versions; idempotent + dry-run by default. |
|
|
228
|
+
| `create-skill` / `check-skill` | full | n/a | v5.0.4 — Skill-authoring harness (scaffold a new skill; lint/retrofit every SKILL.md against `skill-authoring.instructions.md`). |
|
|
221
229
|
|
|
222
230
|
See [Quickstart](https://gim-home.github.io/kushi/getting-started/quickstart/) for the full workflow.
|
|
223
231
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kushi-agents",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.3",
|
|
4
4
|
"description": "Install Kushi — multi-source project evidence agent with Comprehensive Structured Capture (CSC) into weekly-only files across Email, Teams, OneNote, Loop, SharePoint, Meetings, CRM, ADO. Meetings retain a sibling verbatim/ audit folder. WorkIQ-only for M365 sources (Graph / m365_* FORBIDDEN as fallbacks; user-paste is first-class). Host-agnostic.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
package/plugin/plugin.json
CHANGED
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
"skills": [
|
|
12
12
|
"intro",
|
|
13
13
|
"self-check",
|
|
14
|
+
"doctor",
|
|
15
|
+
"eval",
|
|
14
16
|
"setup",
|
|
15
17
|
"pull-email",
|
|
16
18
|
"pull-teams",
|
|
@@ -18,6 +20,7 @@
|
|
|
18
20
|
"pull-onenote",
|
|
19
21
|
"pull-loop",
|
|
20
22
|
"pull-sharepoint",
|
|
23
|
+
"pull-misc",
|
|
21
24
|
"pull-crm",
|
|
22
25
|
"pull-ado",
|
|
23
26
|
"aggregate-project",
|
|
@@ -34,7 +37,8 @@
|
|
|
34
37
|
"status",
|
|
35
38
|
"ask",
|
|
36
39
|
"vertex-link",
|
|
37
|
-
"emit-vertex"
|
|
40
|
+
"emit-vertex",
|
|
41
|
+
"doctor"
|
|
38
42
|
],
|
|
39
43
|
"instructions": "*",
|
|
40
44
|
"templates": [
|
|
@@ -50,7 +54,8 @@
|
|
|
50
54
|
"pull",
|
|
51
55
|
"ask",
|
|
52
56
|
"vertex-link",
|
|
53
|
-
"emit-vertex"
|
|
57
|
+
"emit-vertex",
|
|
58
|
+
"doctor"
|
|
54
59
|
]
|
|
55
60
|
},
|
|
56
61
|
"standard": {
|
|
@@ -64,7 +69,11 @@
|
|
|
64
69
|
"fde-triage",
|
|
65
70
|
"link-entities",
|
|
66
71
|
"dashboard",
|
|
67
|
-
"tour"
|
|
72
|
+
"tour",
|
|
73
|
+
"lint-state",
|
|
74
|
+
"teach",
|
|
75
|
+
"promote",
|
|
76
|
+
"schema-evolve"
|
|
68
77
|
],
|
|
69
78
|
"prompts": [
|
|
70
79
|
"bootstrap",
|
|
@@ -92,15 +101,23 @@
|
|
|
92
101
|
"fde-triage",
|
|
93
102
|
"link-entities",
|
|
94
103
|
"dashboard",
|
|
95
|
-
"tour"
|
|
104
|
+
"tour",
|
|
105
|
+
"lint",
|
|
106
|
+
"teach",
|
|
107
|
+
"explain",
|
|
108
|
+
"promote",
|
|
109
|
+
"schema-evolve"
|
|
96
110
|
],
|
|
97
111
|
"_": null
|
|
98
112
|
},
|
|
99
113
|
"full": {
|
|
100
114
|
"extends": "standard",
|
|
101
|
-
"description": "Standard + State/ rollup. Adds the opinionated outcome-based State/ files (decisions, stakeholders, architecture, action items, risks, timeline, artifacts, open questions) built on top of Evidence
|
|
115
|
+
"description": "Standard + State/ rollup + global cross-engagement wiki + skill-authoring harness. Adds the opinionated outcome-based State/ files (decisions, stakeholders, architecture, action items, risks, timeline, artifacts, open questions) built on top of Evidence/, plus ~/.kushi-global/ wiki tooling and skill-creator/skill-checker for contributors. On this profile, bootstrap/refresh call build-state at the end.",
|
|
102
116
|
"skills": [
|
|
103
|
-
"build-state"
|
|
117
|
+
"build-state",
|
|
118
|
+
"global-wiki",
|
|
119
|
+
"skill-creator",
|
|
120
|
+
"skill-checker"
|
|
104
121
|
],
|
|
105
122
|
"prompts": [
|
|
106
123
|
"state"
|
|
@@ -110,7 +127,10 @@
|
|
|
110
127
|
],
|
|
111
128
|
"reference_packs": [],
|
|
112
129
|
"verbs": [
|
|
113
|
-
"state"
|
|
130
|
+
"state",
|
|
131
|
+
"global",
|
|
132
|
+
"create-skill",
|
|
133
|
+
"check-skill"
|
|
114
134
|
]
|
|
115
135
|
},
|
|
116
136
|
"preview": {
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: create-skill
|
|
3
|
+
description: "Scaffold a new kushi skill from the skill-creator harness."
|
|
4
|
+
argument-hint: "Skill name + optional --description '...'. Example: 'create-skill pull-confluence'."
|
|
5
|
+
agent: kushi
|
|
6
|
+
tools: [search, read/readFile, edit, 'execute/runInTerminal', agent]
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## User Input
|
|
10
|
+
|
|
11
|
+
```text
|
|
12
|
+
${input:name_and_flags:Skill name + optional flags, e.g. 'pull-confluence --description "Pull from Confluence"'}
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
# /create-skill
|
|
16
|
+
|
|
17
|
+
Route to `@Kushi create-skill <name>`.
|
|
18
|
+
|
|
19
|
+
Scaffolds a new skill under `plugin/skills/<name>/` with SKILL.md frontmatter,
|
|
20
|
+
description placeholder, references/ folder, and example test stub. Output
|
|
21
|
+
conforms to `skill-authoring.instructions.md` so `check-skill` passes on first
|
|
22
|
+
run.
|
|
23
|
+
|
|
24
|
+
Companion verb: `/check-skill <name>` lints + retrofits an existing skill.
|
|
25
|
+
|
|
26
|
+
Delegates to `skill-creator` skill.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: doctor
|
|
3
|
+
description: "Aggregated health check — env, self-check, evals, skill-checker, install drift, global wiki."
|
|
4
|
+
argument-hint: "No project needed; runs system-wide diagnostics. Flags: --json (CI), --strict (fail on yellow)."
|
|
5
|
+
agent: kushi
|
|
6
|
+
tools: [search, read/readFile, 'execute/runInTerminal', agent]
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## User Input
|
|
10
|
+
|
|
11
|
+
```text
|
|
12
|
+
${input:flags:Optional flags (--json, --strict). Empty for human-readable run.}
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
# /doctor
|
|
16
|
+
|
|
17
|
+
Route to `@Kushi doctor` — aggregated health check covering:
|
|
18
|
+
|
|
19
|
+
- **env** — node, pwsh, kushi version, install layout
|
|
20
|
+
- **self-check** `-Deep` — D1..D41 doctrine checks
|
|
21
|
+
- **evals** `:canary` — golden-set regression check
|
|
22
|
+
- **skill-checker** `-All` — every SKILL.md against `skill-authoring.instructions.md`
|
|
23
|
+
- **live-install drift** — repo source vs installed `~/.copilot/m-skills/kushi/` and `~/.vscode/chat/skills/kushi/`
|
|
24
|
+
- **global wiki** — `~/.kushi-global/State/` shape + run-log
|
|
25
|
+
|
|
26
|
+
Output: colored ribbon (GREEN / YELLOW / RED) + per-finding fix.
|
|
27
|
+
|
|
28
|
+
Read-only by default. No pulls, no writes.
|
|
29
|
+
|
|
30
|
+
Delegates to the `doctor` skill (`skills/doctor/doctor.ps1`). For CI:
|
|
31
|
+
`pwsh -File skills/doctor/doctor.ps1 --json --strict`.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: explain
|
|
3
|
+
description: "Retrieve a previously taught fact / preference / pattern from .kushi/learnings/."
|
|
4
|
+
argument-hint: "Topic. Example: 'explain HCA naming-convention'."
|
|
5
|
+
agent: kushi
|
|
6
|
+
tools: [search, read/readFile, agent]
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## User Input
|
|
10
|
+
|
|
11
|
+
```text
|
|
12
|
+
${input:topic:Topic, e.g. 'HCA naming-convention'}
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
# /explain
|
|
16
|
+
|
|
17
|
+
Route to `@Kushi explain <topic>`.
|
|
18
|
+
|
|
19
|
+
Looks up `.kushi/learnings/<slug>.md` (or fuzzy-match by topic substring) and renders
|
|
20
|
+
the body + history. Read-only — never mutates the learning. Companion to `/teach`.
|
|
21
|
+
|
|
22
|
+
Delegates to `teach` skill (explain mode).
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: global
|
|
3
|
+
description: "Manage the per-user cross-engagement wiki at ~/.kushi-global/State/."
|
|
4
|
+
argument-hint: "Sub-verb: init | status | ask <question> | lint. Example: 'global ask what's our default pull window?'"
|
|
5
|
+
agent: kushi
|
|
6
|
+
tools: [search, read/readFile, edit, agent]
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## User Input
|
|
10
|
+
|
|
11
|
+
```text
|
|
12
|
+
${input:subverb_and_args:Sub-verb + args, e.g. 'init', 'status', 'ask what's our default pull window?', 'lint'}
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
# /global
|
|
16
|
+
|
|
17
|
+
Route to `@Kushi global <sub-verb>`.
|
|
18
|
+
|
|
19
|
+
Manages the cross-engagement wiki at `~/.kushi-global/State/` (override with
|
|
20
|
+
`KUSHI_GLOBAL_ROOT` for tests). Sub-verbs:
|
|
21
|
+
|
|
22
|
+
- `init` — scaffold the global wiki layout (decisions/, patterns/, glossary/, run-log).
|
|
23
|
+
- `status` — show last-promoted pages + recent activity from the dual log.
|
|
24
|
+
- `ask <q>` — citation-only Q&A over the global wiki (mirrors `kushi ask <project>` shape).
|
|
25
|
+
- `lint` — wiki-lint over the global wiki (same checks as project lint).
|
|
26
|
+
|
|
27
|
+
Delegates to `global-wiki` skill. Companion verb: `/promote` copies a project
|
|
28
|
+
page up into the global wiki with identifier redaction.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: lint
|
|
3
|
+
description: "Run wiki-lint checks against State/ — contradictions, stale claims, orphans, gaps."
|
|
4
|
+
argument-hint: "Project name; runs against <project>/State/ and writes State/reports/lint-YYYY-MM-DD.md"
|
|
5
|
+
agent: kushi
|
|
6
|
+
tools: [search, read/readFile, edit, agent]
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## User Input
|
|
10
|
+
|
|
11
|
+
```text
|
|
12
|
+
${input:project:Project name, e.g. HCA}
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
# /lint
|
|
16
|
+
|
|
17
|
+
Route to `@Kushi lint <project>`.
|
|
18
|
+
|
|
19
|
+
Runs the v5.1.0 `lint-state` skill against `<engagement-root>/<project>/State/`:
|
|
20
|
+
- contradiction detection (claim A vs claim B with same subject)
|
|
21
|
+
- stale claims (>14d without source-evidence freshness)
|
|
22
|
+
- orphan pages (no inbound cross-refs)
|
|
23
|
+
- missing required cross-refs per page type
|
|
24
|
+
- data gaps (entities referenced but not pulled)
|
|
25
|
+
|
|
26
|
+
Writes `<project>/State/reports/lint-YYYY-MM-DD.md`. Read-only against Evidence/.
|
|
27
|
+
|
|
28
|
+
Delegates to `lint-state` skill.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: promote
|
|
3
|
+
description: "Copy a project State page into the global wiki with identifier redaction + back-link + dual log."
|
|
4
|
+
argument-hint: "Project + page. Example: 'promote HCA decisions/macc-terms'."
|
|
5
|
+
agent: kushi
|
|
6
|
+
tools: [search, read/readFile, edit, agent]
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## User Input
|
|
10
|
+
|
|
11
|
+
```text
|
|
12
|
+
${input:project_and_page:Project + relative State page, e.g. 'HCA decisions/macc-terms'}
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
# /promote
|
|
16
|
+
|
|
17
|
+
Route to `@Kushi promote <project> <page>`.
|
|
18
|
+
|
|
19
|
+
Copies `<engagement-root>/<project>/State/<page>.md` into `~/.kushi-global/State/<page>.md`:
|
|
20
|
+
- runs the customer-identifier redactor (refuses without `--force` when hits detected)
|
|
21
|
+
- inserts a back-link to the source project page
|
|
22
|
+
- appends entries to both the project run-log and the global wiki dual log
|
|
23
|
+
|
|
24
|
+
Companion verb: `/global ask <q>` retrieves promoted content.
|
|
25
|
+
|
|
26
|
+
Delegates to `promote` skill.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: schema-evolve
|
|
3
|
+
description: "Migrate kushi.yaml + Evidence/ across schema versions. Idempotent + dry-run by default."
|
|
4
|
+
argument-hint: "Project. Flags: --apply (real run), --to <version>. Example: 'schema-evolve HCA --apply'."
|
|
5
|
+
agent: kushi
|
|
6
|
+
tools: [search, read/readFile, edit, agent]
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## User Input
|
|
10
|
+
|
|
11
|
+
```text
|
|
12
|
+
${input:project_and_flags:Project + flags, e.g. 'HCA' (dry-run), 'HCA --apply', 'HCA --to 5.2.0 --apply'}
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
# /schema-evolve
|
|
16
|
+
|
|
17
|
+
Route to `@Kushi schema-evolve <project>`.
|
|
18
|
+
|
|
19
|
+
Walks `<engagement-root>/<project>/` and applies schema migrations declared under
|
|
20
|
+
`plugin/schemas/migrations/` to bring `kushi.yaml`, run-log, and Evidence/ layout
|
|
21
|
+
to the current (or `--to`-pinned) schema version.
|
|
22
|
+
|
|
23
|
+
- Default: dry-run — prints planned changes, writes nothing.
|
|
24
|
+
- `--apply` — performs the migration; idempotent (safe to re-run).
|
|
25
|
+
- `--to <ver>` — pin a target version (default = current).
|
|
26
|
+
|
|
27
|
+
Delegates to `schema-evolve` skill.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: teach
|
|
3
|
+
description: "Persist a reusable fact / preference / pattern under .kushi/learnings/."
|
|
4
|
+
argument-hint: "Topic + body. Example: 'teach HCA naming-convention: services are kebab-case'."
|
|
5
|
+
agent: kushi
|
|
6
|
+
tools: [search, read/readFile, edit, agent]
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## User Input
|
|
10
|
+
|
|
11
|
+
```text
|
|
12
|
+
${input:topic_and_body:Topic + body, e.g. 'HCA naming-convention: services are kebab-case'}
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
# /teach
|
|
16
|
+
|
|
17
|
+
Route to `@Kushi teach <topic>`.
|
|
18
|
+
|
|
19
|
+
Writes a single self-contained learning file under `.kushi/learnings/<slug>.md`
|
|
20
|
+
with frontmatter `topic`, `created`, `last_updated`. Idempotent — re-teach updates
|
|
21
|
+
the existing file in place and appends a `history` entry.
|
|
22
|
+
|
|
23
|
+
Companion verb: `/explain <topic>` retrieves the learning without modifying it.
|
|
24
|
+
|
|
25
|
+
Delegates to `teach` skill.
|