@antoneeo/kb-agentic-skill 1.28.0 → 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 +41 -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/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/routing.md +4 -0
- package/skills/kb-agentic-skill/scripts/docs_site.py +72 -3
- package/skills/kb-agentic-skill/scripts/knowledge.py +519 -17
- package/skills/kb-agentic-skill/scripts/sdlc_core.py +569 -69
- package/skills/kb-agentic-skill/templates.md +24 -2
|
@@ -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
|
---
|
|
@@ -746,7 +749,7 @@ status: CURRENT
|
|
|
746
749
|
belong to reconciliation.
|
|
747
750
|
- `qty`: `<value> <unit> <kind>` — effort in person-days (h/d/w/mo/fte-mo; 8h=1d, 1w=5d,
|
|
748
751
|
1mo=21d), duration in calendar days (h/d/w/mo), cost within one currency, count unit-matched.
|
|
749
|
-
- `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).
|
|
750
753
|
- `state`: `OK` | `CONTESTED <id>[,..]` | `SUPERSEDED <id>[,..]` — per claim, never per
|
|
751
754
|
node; a split bundle (`reconciliation.md` §Splitting) names all its successors.
|
|
752
755
|
- A tombstone (merged/renamed topic): `status: SUPERSEDED` + `redirect_to: <slug>`, body empty.
|
|
@@ -814,6 +817,25 @@ how a dangling pointer survives a green run:
|
|
|
814
817
|
Write these two values with **no trailing `# comment`**: the frontmatter reader does
|
|
815
818
|
not strip inline comments, so the comment lands inside the value.
|
|
816
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
|
+
|
|
817
839
|
`provenance:` has a consumer too: a claim row filed `prov: GIVEN` whose artifact's
|
|
818
840
|
sidecar declares anything else warns. Declare the chain the artifact actually has —
|
|
819
841
|
an OCR, a transcription from an image, a translation are not first-hand evidence, and
|