@antoneeo/kb-agentic-skill 1.38.0 → 1.39.0
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/CHANGELOG.md +14 -0
- package/README.md +6 -14
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/skills/kb-agentic-skill/SKILL.md +1 -1
- package/skills/kb-agentic-skill/dispatch.md +59 -11
- package/skills/kb-agentic-skill/scripts/sdlc_core.py +8 -0
- package/skills/kb-agentic-skill/team.md +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
3
3
|
Every significant change to this skill is recorded here.
|
|
4
4
|
|
|
5
5
|
|
|
6
|
+
## [1.39.0] - 2026-11-17
|
|
7
|
+
|
|
8
|
+
### What's new
|
|
9
|
+
|
|
10
|
+
**Work you hand to subagents is no longer built on guides they read only in part.** When the agent gives a subagent guides to follow, it now asks how much of each guide the subagent read (total lines and last line read) and checks the totals before testing or reviewing the work; `plan brief` prints that request under the guide list. A test that passes cannot show a guide was skipped, so work built on a guide read in part is redone after the rest is read, instead of being tested, reviewed and found wrong later (F-100).
|
|
11
|
+
|
|
12
|
+
**Less spent on rereading and on work thrown away.** Corrections go back to the subagent that already has the guides in mind, where your client lets the agent message it again, instead of a new one that must reread them; an author is never sent its own work to review. A subagent that stops partway through a guide twice does not get that guide again: the work goes to a stronger model or is split by guide, and a set that even the strongest model cannot read whole comes to you (F-100).
|
|
13
|
+
|
|
14
|
+
**When the agent asks how your team is made, it tells you what each shape costs.** The question on members now says, in a line or two, what several sessions cost and give you compared with one session and its subagents, and recommends neither (F-100).
|
|
15
|
+
|
|
16
|
+
#### What to do
|
|
17
|
+
|
|
18
|
+
Everyone who has this package installed: run `npm install -g @antoneeo/kb-agentic-skill@latest`, then `kb-agentic-install-skill`, and restart your agent sessions. The install step copies the updated doctrine and validator into your skills directory; sessions already open keep the old ones until restarted. Expect subagents' reports to carry one extra line per guide they were given, and the agent to ask a subagent once for it when it is missing. To check it worked, run `npm ls -g @antoneeo/kb-agentic-skill` and look for 1.39.0.
|
|
19
|
+
|
|
6
20
|
## [1.38.0] - 2026-11-16
|
|
7
21
|
|
|
8
22
|
### What's new
|
package/README.md
CHANGED
|
@@ -6,25 +6,17 @@ The sibling of [`@antoneeo/agentic-sdlc-skill`](https://www.npmjs.com/package/@a
|
|
|
6
6
|
|
|
7
7
|
<!-- whats-new:begin -->
|
|
8
8
|
<!-- generated by scripts/whats_new.js from distributions/kb-agentic-skill/CHANGELOG.md: edit the CHANGELOG, then run node scripts/whats_new.js --write -->
|
|
9
|
-
## What's new in 1.
|
|
9
|
+
## What's new in 1.39.0
|
|
10
10
|
|
|
11
|
-
**
|
|
11
|
+
**Work you hand to subagents is no longer built on guides they read only in part.** When the agent gives a subagent guides to follow, it now asks how much of each guide the subagent read (total lines and last line read) and checks the totals before testing or reviewing the work; `plan brief` prints that request under the guide list. A test that passes cannot show a guide was skipped, so work built on a guide read in part is redone after the rest is read, instead of being tested, reviewed and found wrong later (F-100).
|
|
12
12
|
|
|
13
|
-
**
|
|
13
|
+
**Less spent on rereading and on work thrown away.** Corrections go back to the subagent that already has the guides in mind, where your client lets the agent message it again, instead of a new one that must reread them; an author is never sent its own work to review. A subagent that stops partway through a guide twice does not get that guide again: the work goes to a stronger model or is split by guide, and a set that even the strongest model cannot read whole comes to you (F-100).
|
|
14
14
|
|
|
15
|
-
**When
|
|
16
|
-
|
|
17
|
-
**The checks say what they measure.** `check` now ends with a line stating that it verifies the form of the documents, not whether their sentences are still true, so a CLEAN result is no longer read as "the documents are correct". `validate` and `index` name a workstream file whose status says the work is closed, since closing means deleting that file. An agent resuming from a summary is told to re-read the unit's request record and Vision before acting, and an edited guide is re-read whole and its outdated sentences rewritten, not patched with a change-log row (F-096).
|
|
18
|
-
|
|
19
|
-
#### New files
|
|
20
|
-
|
|
21
|
-
| File | Skill | Who reads it |
|
|
22
|
-
|---|---|---|
|
|
23
|
-
| `team.md` | kb-agentic | the agent, at the first significant (L3) unit of a project |
|
|
15
|
+
**When the agent asks how your team is made, it tells you what each shape costs.** The question on members now says, in a line or two, what several sessions cost and give you compared with one session and its subagents, and recommends neither (F-100).
|
|
24
16
|
|
|
25
17
|
#### What to do
|
|
26
18
|
|
|
27
|
-
Everyone who has this package installed: run `npm install -g @antoneeo/kb-agentic-skill@latest`, then `kb-agentic-install-skill`, and restart your agent sessions. The install step copies the updated doctrine
|
|
19
|
+
Everyone who has this package installed: run `npm install -g @antoneeo/kb-agentic-skill@latest`, then `kb-agentic-install-skill`, and restart your agent sessions. The install step copies the updated doctrine and validator into your skills directory; sessions already open keep the old ones until restarted. Expect subagents' reports to carry one extra line per guide they were given, and the agent to ask a subagent once for it when it is missing. To check it worked, run `npm ls -g @antoneeo/kb-agentic-skill` and look for 1.39.0.
|
|
28
20
|
|
|
29
21
|
Full history: [CHANGELOG](https://github.com/Antoneeo/agentic-sdlc-skill/blob/main/distributions/kb-agentic-skill/CHANGELOG.md)
|
|
30
22
|
<!-- whats-new:end -->
|
|
@@ -58,7 +50,7 @@ Deliberately absent: any per-node coverage or completion state. `gaps:` says wha
|
|
|
58
50
|
- **Risk-proportional triage, measured in knowledge and never in files**: one claim row → propagating a fact already settled → a new knowledge unit (a source ingested, a node created or superseded, the hierarchy moved). Carrying one settled fact into eight documents is small; one claim that re-parents a node is not. On a live front, a new source or statement within an open unit's declared scope is an **ingestion step** of that unit — recorded on the ledger at once — while the rewrite of dependent documents, the registry and the full check run once, at a closure the practitioner calls. A **Write Triggers** table maps each knowledge event to exactly one destination.
|
|
59
51
|
- **Portable knowledge**: `export` bundles a subgraph together with the bytes its claims cite — a closure, not a selection, because a claim whose source cannot be reopened is model knowledge arriving by another route. `import` merges it into another project **additively**: it never overwrites a node and never deletes, and claims already present are recognised by id rather than by comparing text, since the same artifact cited at the same span mints the same id in every project. Knowledge crosses the project boundary; **authority does not** — an imported ruling arrives as `prov: IMPORTED` on a renamed copy of its note that names its origin, keeps its original `basis:`, and the question it had closed is open again (`CONTESTED`) until you ratify it with a ruling of your own.
|
|
60
52
|
- **Several people, one project**: the workstream registry (`audit/handoff.md`) is **generated** from one file per open workstream, so two people opening or closing two workstreams on two branches edit two different files and their merge is clean. Row-per-workstream alone was not enough — a file-global `Date:` header defeats row-level ownership — so the header is derived from the sources and no writer touches it. The generated view can still conflict; that conflict is resolved by re-running `index`, never by hand, and `validate` refuses CLEAN until the file matches its sources. The append-only review log gets `merge=union` (a built-in driver, no per-clone configuration). It all works with no VCS at all: it is files and a generator.
|
|
61
|
-
- **The team, asked once**: at the first significant (L3) unit of a project the agent asks the practitioner four questions — who is in the team, what stays with them, what each member decides alone and to whom it reports, how work and reports pass — and keeps the answer in a `## Team` section of the reading guide, where a later session, a session another started and a resumed one all find it. One word accepts the default (one agent; the practitioner keeps their own decisions and the reserved approvals). The skill asks and prescribes no team shape; a trivial or small change is never asked (`team.md`).
|
|
53
|
+
- **The team, asked once**: at the first significant (L3) unit of a project the agent asks the practitioner four questions — who is in the team, what stays with them, what each member decides alone and to whom it reports, how work and reports pass — and keeps the answer in a `## Team` section of the reading guide, where a later session, a session another started and a resumed one all find it. One word accepts the default (one agent; the practitioner keeps their own decisions and the reserved approvals). The question on members also says what several sessions cost and buy against one session with subagents. The skill asks and prescribes no team shape; a trivial or small change is never asked (`team.md`).
|
|
62
54
|
- **Vision-guided governance**: Standalone projects use `ai_docs/vision/`; Hybrid projects use devPNT `M-VISION` as the milestone north star. `DRAFT` informs, `APPROVED` binds, promotion is the user's alone. Every Vision, the M-VISION included, is written only after a six-question **owner interview** and your explicit approval of a one- or two-sentence north star in your own words — the agent never writes one alone.
|
|
63
55
|
- **Independent review, twice**: the design before it is implemented, the result before it is declared done — fresh-context subagent > one-shot run > a declared self-pass, 3 rounds max, one log line each, and a PASS is invalid on "found nothing". After the design review passes, the owner approves the design before any drafting.
|
|
64
56
|
- **Question discipline**: a real doubt is asked when it emerges, before its answer is written, with the pros and cons of each option; a choice whose pros clearly win is taken with the weighing written next to it. A question is legal only when the agent searched first, names the search with its result, and names the decision it unblocks.
|
package/gemini-extension.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kb-agentic-skill",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.39.0",
|
|
4
4
|
"description": "Knowledge-Base & Document-First protocol with risk triage, Vision governance, signal distillation and optional devPNT integration.",
|
|
5
5
|
"author": "Antonio Pinto (https://github.com/Antoneeo)"
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antoneeo/kb-agentic-skill",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.39.0",
|
|
4
4
|
"description": "Knowledge-Base & Document-First protocol for Claude Code, Gemini CLI, Google Antigravity and Codex with risk triage, Vision governance, signal distillation and optional devPNT integration.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude-code",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: kb-agentic
|
|
3
|
-
version: 1.
|
|
3
|
+
version: 1.39.0
|
|
4
4
|
description: Knowledge-Base & Document-First protocol with risk-proportional triage, Vision as a guide, Signal Distillation, a complete Standalone mode and optional symbiosis with devPNT. Use for user documentation, knowledge extraction, SOPs, research notes, decision logs, knowledge management — and for answering project questions from the claim ledger and topic graph.
|
|
5
5
|
author: Antonio Pinto (https://github.com/Antoneeo)
|
|
6
6
|
copyright: (c) 2026 Antonio Pinto
|
|
@@ -25,13 +25,17 @@ without an E-ISP.
|
|
|
25
25
|
corrupt-but-parseable entry) → treat as pending and dispatch.
|
|
26
26
|
- `sdlc_check.py plan brief PLAN_[feature].md --task <id>` — prints the
|
|
27
27
|
task block, the `produces` of prior-order tasks (interfaces), and
|
|
28
|
-
`guides` pointers (paths, never pasted content) to stdout
|
|
28
|
+
`guides` pointers (paths, never pasted content) to stdout, with the
|
|
29
|
+
request to report the read under them (§Guides a subagent must read).
|
|
29
30
|
- Spawn the subagent with that brief plus the return-doubts line as its
|
|
30
|
-
entire context window
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
entire context window — a first dispatch; a correction of its work goes
|
|
32
|
+
back to it (§Guides a subagent must read). The line: "An open point
|
|
33
|
+
whose answer changes the work is not yours to decide:
|
|
34
|
+
return it in your final output with what you searched." The orchestrator
|
|
35
|
+
treats them as its own candidate doubts (`elicitation.md` §When a doubt
|
|
36
|
+
emerges).
|
|
37
|
+
- Check the reported read (§Guides a subagent must read), then run
|
|
38
|
+
`task.verify` out of band (the orchestrator executes it — the
|
|
35
39
|
validator only ever prints it, never runs it) plus the one-shot review
|
|
36
40
|
below.
|
|
37
41
|
- Write `{status, verify_result, timestamp}` back to the ledger. The
|
|
@@ -57,7 +61,8 @@ below — so it needs no separate dispatch hook.)
|
|
|
57
61
|
- After **two** consecutive `verify_result: fail` on the same task: escalate
|
|
58
62
|
to the **deep** tier for the retry (ADR 2026-07-02). Do not escalate on the
|
|
59
63
|
first failure — a single fail is often a brief or environment issue, not a
|
|
60
|
-
capability gap.
|
|
64
|
+
capability gap. A partial read of a guide counts as a failed round too, and
|
|
65
|
+
adds a split by guide set as an option (§Guides a subagent must read).
|
|
61
66
|
|
|
62
67
|
## What may be delegated at all
|
|
63
68
|
|
|
@@ -94,8 +99,50 @@ independence where independence is the point. Judge a pass on two axes:
|
|
|
94
99
|
**Declared residual**, so the silence is not read as prohibition: this section
|
|
95
100
|
settles the CLASSIFICATION. *When* to reach for a delegated search or
|
|
96
101
|
orientation pass — the trigger, its brief format and its output contract — is a
|
|
97
|
-
separate unit and is not answered here
|
|
98
|
-
|
|
102
|
+
separate unit and is not answered here, beyond what a brief that names guides
|
|
103
|
+
owes (below); until it lands, reaching for one is the orchestrator's judgement
|
|
104
|
+
against the table above, not a rule.
|
|
105
|
+
|
|
106
|
+
### Guides a subagent must read
|
|
107
|
+
|
|
108
|
+
Family-wide, like the rest of this section: every brief that names a guide (a
|
|
109
|
+
`GUIDE_*.md`, project or agent KB) for a subagent to read whole — an implementer's
|
|
110
|
+
in the loop above, a review's, any other delegated pass. The skill's own files a
|
|
111
|
+
reviewer is pointed at are not guides here. `verify` and a review score the work,
|
|
112
|
+
never the reading: a subagent that applied half a guide can pass both (field case,
|
|
113
|
+
2026-11: a mid tier read part of the interface guides in three tasks of four, about
|
|
114
|
+
940k tokens discarded, implementation tasks included).
|
|
115
|
+
|
|
116
|
+
- **The read is reported and checked.** The brief asks the subagent to report, for
|
|
117
|
+
each guide it names, its total lines and the last line it read (`plan brief`
|
|
118
|
+
prints the request under the guide pointers). Before `verify` or review, compare
|
|
119
|
+
each total with the guide's real length. A report that omits the line or gives a
|
|
120
|
+
wrong total is asked once for it; still missing or wrong, or with no way to ask,
|
|
121
|
+
it counts as a partial read. A partial read is not work: it is neither verified
|
|
122
|
+
nor reviewed, and the subagent reads the rest before redoing the step. In the loop
|
|
123
|
+
the ledger records the task `failed`, its `verify_result` naming the partial read;
|
|
124
|
+
outside it the output is not used, and a review discarded this way gave no verdict
|
|
125
|
+
and is not a round of its cap.
|
|
126
|
+
- **The guides set the tier and the split.** Before a first dispatch, count the
|
|
127
|
+
lines of the guides a brief names and judge them against the context the tier
|
|
128
|
+
works in; a set too large for it is split by the guides each part needs, never by
|
|
129
|
+
files alone. No threshold is fixed, because none is measured; the bound is this:
|
|
130
|
+
two consecutive failed rounds on one task, a partial read or a failed `verify`,
|
|
131
|
+
move it to a higher tier or to a split by guide set, and two failed `verify` alone
|
|
132
|
+
still go to deep (§Model tiers). A tier that stopped partway through a guide twice
|
|
133
|
+
is not given that guide again in the same work. A split revises the plan, and
|
|
134
|
+
`plan validate` runs again before the next dispatch. A set the deep tier still
|
|
135
|
+
reads in part and that cannot be split goes to the owner.
|
|
136
|
+
- **A correction goes to the context that holds the guides.** Where the client
|
|
137
|
+
lets the session send a further message to a subagent it started, a correction of
|
|
138
|
+
that subagent's own work — the rest of a partial read, review findings, a failed
|
|
139
|
+
`verify` — goes to it, not to a new context that rereads the guides (field case,
|
|
140
|
+
2026-11: corrections made by the subagent that wrote the code, without rereading
|
|
141
|
+
about 100-150k tokens of guides). A first dispatch stays a fresh context; a task
|
|
142
|
+
moved to a higher tier gets a new context at that tier; a subagent whose context
|
|
143
|
+
was compacted reports the read again for the guides its next step needs. Never
|
|
144
|
+
across roles: an author is never sent its own work to review, and the independent
|
|
145
|
+
review keeps its fresh context.
|
|
99
146
|
|
|
100
147
|
## Review slots — one-shot, not iterative
|
|
101
148
|
|
|
@@ -108,8 +155,9 @@ Exactly three review touches per task, never a loop:
|
|
|
108
155
|
3. One broad final pass over the whole plan at closure, after all tasks are
|
|
109
156
|
DONE — catches cross-task drift a per-task review cannot see.
|
|
110
157
|
|
|
111
|
-
If a review FAILs,
|
|
112
|
-
|
|
158
|
+
If a review FAILs, the work is fixed — by the subagent that did it where the
|
|
159
|
+
client allows (§Guides a subagent must read) — and `verify` re-runs — that is a normal loop
|
|
160
|
+
iteration via the ledger's fail path, not an extra review slot.
|
|
113
161
|
|
|
114
162
|
**The scoped re-review is a round INSIDE slot 2 or 3, never a fourth slot.**
|
|
115
163
|
`review.md` §Receiving requires every review-driven correction to be
|
|
@@ -3892,6 +3892,13 @@ def _validate_plan_tasks(root, data, rel_label, errors, warnings):
|
|
|
3892
3892
|
return tasks
|
|
3893
3893
|
|
|
3894
3894
|
|
|
3895
|
+
# F-100: `task.verify` scores the work, never the reading, so a plan brief that
|
|
3896
|
+
# names guides asks for the read back (`dispatch.md` §Guides a subagent must read).
|
|
3897
|
+
# Constant: printed under a non-empty guide list, never otherwise.
|
|
3898
|
+
PLAN_BRIEF_READ_BACK = ("Read each guide above whole, and report for each its total lines "
|
|
3899
|
+
"and the last line you read.")
|
|
3900
|
+
|
|
3901
|
+
|
|
3895
3902
|
def cmd_plan(root, args):
|
|
3896
3903
|
"""Zero-execution: validates/briefs a PLAN_[feature].md. Never spawns a
|
|
3897
3904
|
process, never calls a git_* helper, never runs the opaque `verify` text —
|
|
@@ -3970,6 +3977,7 @@ def cmd_plan(root, args):
|
|
|
3970
3977
|
if guides:
|
|
3971
3978
|
for g in guides:
|
|
3972
3979
|
print(f"- {g}")
|
|
3980
|
+
print(PLAN_BRIEF_READ_BACK)
|
|
3973
3981
|
else:
|
|
3974
3982
|
print("(none)")
|
|
3975
3983
|
print()
|
|
@@ -36,6 +36,12 @@ E-levels), or takes up an open one, and there is no `## Team`: put the four entr
|
|
|
36
36
|
the owner as four questions in the unit's next numbered question set, with the default
|
|
37
37
|
offered, so that one word accepts all four. Record the reply verbatim in the unit's
|
|
38
38
|
request record, then write the section citing that entry, and name both in the reply.
|
|
39
|
+
The question on members says, in a line or two, what several sessions (a coordinating
|
|
40
|
+
session and the sessions it starts) cost and buy against one session with subagents: each
|
|
41
|
+
session starts empty and rereads the guides, records and project another already holds, and
|
|
42
|
+
their reports cross as notes and shared files; a subagent's report returns whole and, where
|
|
43
|
+
the client lets a session message it again, it can be sent its corrections and keeps what it
|
|
44
|
+
read; sessions buy work the owner opens and steers directly. It recommends no shape.
|
|
39
45
|
Never at level 1 or level 2.
|
|
40
46
|
Never again once the section exists.
|
|
41
47
|
|