@antoneeo/kb-agentic-skill 1.26.1 → 1.31.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 +58 -0
- package/README.md +6 -6
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/skills/kb-agentic-skill/ENFORCEMENT.md +15 -3
- package/skills/kb-agentic-skill/SKILL.md +8 -7
- package/skills/kb-agentic-skill/distillation.md +51 -1
- package/skills/kb-agentic-skill/docs_site/app.js +9 -3
- package/skills/kb-agentic-skill/guides.md +7 -1
- package/skills/kb-agentic-skill/memory.md +1 -1
- package/skills/kb-agentic-skill/portability.md +34 -0
- package/skills/kb-agentic-skill/reconciliation.md +2 -0
- package/skills/kb-agentic-skill/review.md +28 -3
- package/skills/kb-agentic-skill/routing.md +4 -0
- package/skills/kb-agentic-skill/scripts/docs_site.py +94 -8
- package/skills/kb-agentic-skill/scripts/knowledge.py +519 -17
- package/skills/kb-agentic-skill/scripts/sdlc_core.py +581 -70
- package/skills/kb-agentic-skill/templates.md +27 -3
|
@@ -35,7 +35,10 @@ a fidelity marker: `[source: <snapshot-file>#<anchor-or-line>]` for covered cont
|
|
|
35
35
|
(doubling as the detail-lookup pointer into the book), or a literal
|
|
36
36
|
`[not covered by source]` for gaps. Sections are CHOSEN from the repertoire below —
|
|
37
37
|
only those the source actually supports; never force empty ones. A guide approaching
|
|
38
|
-
the source's own length is a paraphrase, not a synthesis.
|
|
38
|
+
the source's own length is a paraphrase, not a synthesis. **With a corpus**, a
|
|
39
|
+
`source_kind: document` guide's book is its `corpus/given/` artifact instead of a
|
|
40
|
+
snapshot: `distilled_from:` and the markers name it, and `source_hash` is its
|
|
41
|
+
line-ending-normalized digest (`distillation.md` §1).
|
|
39
42
|
|
|
40
43
|
```markdown
|
|
41
44
|
---
|
|
@@ -555,7 +558,8 @@ columns: Standalone adds `reviewer`, a Hybrid row adds `instrument` and
|
|
|
555
558
|
and `closure` (Standalone); `deep`, `light`, `code`, `guide`, `vision` (devPNT gates
|
|
556
559
|
and the Vision blind check). `model` is a different question about the same review: `tier` says WHICH GATE ran,
|
|
557
560
|
`model` says WHAT CAPABILITY ran it (`deep`, `light`, `economy`,
|
|
558
|
-
`single (client exposes no choice)`, `below floor: <reason
|
|
561
|
+
`single (client exposes no choice)`, `below floor: <reason>`, `none (not due)` on a
|
|
562
|
+
NOT DUE row — the floor and its
|
|
559
563
|
arbitration are `review.md` §The capability floor). The two columns share the words
|
|
560
564
|
`deep`/`light` and mean different things by them, which is why they are read by
|
|
561
565
|
header and never by position. The validator reads this column by its header name, so
|
|
@@ -580,6 +584,7 @@ round verifies them (`review.md` §Receiving) — and 3 is the ceiling, past whi
|
|
|
580
584
|
residue goes to the user rather than into a fourth round. `verdict` carries the
|
|
581
585
|
round-1 verdict and the final one when they differ (`FAIL → PASS`): collapsing a
|
|
582
586
|
first-round FAIL into a bare `PASS` erases the evidence this log exists to keep.
|
|
587
|
+
A restating delta ruled not due (`review.md` §When a review is due) is still a row: `tier` `closure`, `model` `none (not due)`, findings and rounds `0`, verdict `NOT DUE: <the kinds; the check that ran and its result>`; `benefit` counts it apart.
|
|
583
588
|
Concurrent reviews: `init` writes a `.gitattributes` stanza giving this file
|
|
584
589
|
`merge=union` — a **built-in** driver (no per-clone `git config`, unlike
|
|
585
590
|
`merge=ours`, which silently does nothing until every clone configures it).
|
|
@@ -744,7 +749,7 @@ status: CURRENT
|
|
|
744
749
|
belong to reconciliation.
|
|
745
750
|
- `qty`: `<value> <unit> <kind>` — effort in person-days (h/d/w/mo/fte-mo; 8h=1d, 1w=5d,
|
|
746
751
|
1mo=21d), duration in calendar days (h/d/w/mo), cost within one currency, count unit-matched.
|
|
747
|
-
- `about`: `<predicate> -> <slug>` for relationship claims; stored once, under the subject.
|
|
752
|
+
- `about`: `<predicate> -> <slug>` for relationship claims; stored once, under the subject. Several share one cell, separated by `; `; `not-yet-honored-by -> ANALYSIS_<name>` (Hybrid: `SHADOW_<doc_key>`) marks a claim the code does not yet honor (`distillation.md` §2).
|
|
748
753
|
- `state`: `OK` | `CONTESTED <id>[,..]` | `SUPERSEDED <id>[,..]` — per claim, never per
|
|
749
754
|
node; a split bundle (`reconciliation.md` §Splitting) names all its successors.
|
|
750
755
|
- A tombstone (merged/renamed topic): `status: SUPERSEDED` + `redirect_to: <slug>`, body empty.
|
|
@@ -812,6 +817,25 @@ how a dangling pointer survives a green run:
|
|
|
812
817
|
Write these two values with **no trailing `# comment`**: the frontmatter reader does
|
|
813
818
|
not strip inline comments, so the comment lands inside the value.
|
|
814
819
|
|
|
820
|
+
**Intake hygiene fields** (`distillation.md` §1 owns the rules):
|
|
821
|
+
|
|
822
|
+
```markdown
|
|
823
|
+
redacted_at_intake: [password, personal-data]
|
|
824
|
+
credential_scan: reviewed — vendor manual's sample value, not a live credential
|
|
825
|
+
original_ref: wiki://team-space/app-config
|
|
826
|
+
```
|
|
827
|
+
|
|
828
|
+
- `redacted_at_intake:` — the kinds replaced by `[REDACTED: <kind>]` before storing.
|
|
829
|
+
When present, the sidecar carries **no `original_sha256:`** and no non-text original
|
|
830
|
+
is copied beside the extraction.
|
|
831
|
+
- `credential_scan: reviewed — <reason>` — a human cleared a flagged line as a false
|
|
832
|
+
positive. Only this clears the check; a reason is required.
|
|
833
|
+
- `original_ref:` — a non-local identifier of the original; recorded, never resolved.
|
|
834
|
+
|
|
835
|
+
A **tombstone** (a withdrawn artifact) is renamed `<stem>-withdrawn-<YYYYMMDD>.<ext>.meta.md`
|
|
836
|
+
and keeps `date:`, `provenance:`, `supersedes:` and `withdrawn: <reason>` — and **no
|
|
837
|
+
`sha256:` or `original_sha256:`**. Its bytes are gone.
|
|
838
|
+
|
|
815
839
|
`provenance:` has a consumer too: a claim row filed `prov: GIVEN` whose artifact's
|
|
816
840
|
sidecar declares anything else warns. Declare the chain the artifact actually has —
|
|
817
841
|
an OCR, a transcription from an image, a translation are not first-hand evidence, and
|