@antoneeo/kb-agentic-skill 1.11.0 → 1.11.1

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 CHANGED
@@ -2,6 +2,21 @@
2
2
 
3
3
  Every significant change to this skill is recorded here.
4
4
 
5
+ ## [1.11.1] - 2026-08-28
6
+
7
+ ### Fixed
8
+ - **The recency date probe reads the real frontmatter, not a 600-byte
9
+ window.** Seventh field datum (2026-08-28, on 1.11.0): a note whose
10
+ frontmatter (edge lists, basis lines) pushed the closing fence past the
11
+ probe's head cap lost its ENTIRE `date:` probe and fell to mtime -- a note
12
+ dated days back read "0 days old (mtime -- date: not parsed)". The 1.11.0
13
+ disclosure did its job (the lie became visible and named its basis); the
14
+ source is now fixed: the probe uses `load_frontmatter` -- the same
15
+ authoritative reader as every other consumer, fence-bounded so a body
16
+ `date:` still cannot misdate -- plus `kb_unquote` and a
17
+ datetime-suffix-tolerant prefix match. The cap bought nothing: the file was
18
+ already fully read.
19
+
5
20
  ## [1.11.0] - 2026-08-28
6
21
 
7
22
  F-044 -- the time cycle (second-brain unit 3): claims age, fall, and their fall
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kb-agentic-skill",
3
- "version": "1.11.0",
3
+ "version": "1.11.1",
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.11.0",
3
+ "version": "1.11.1",
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.11.0
3
+ version: 1.11.1
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
@@ -1817,19 +1817,20 @@ def kb_cmd_orient(argv):
1817
1817
  stamp = None
1818
1818
  from_mtime = False
1819
1819
  try:
1820
- head = sdlc_core.read_text(p)[:600]
1821
- # `date:` counts only INSIDE the frontmatter block: a
1822
- # column-0 date: in a note's body must not misdate it.
1823
- # The optional quote: YAML-quoted dates are legal and the
1824
- # silent mtime fallback is exactly the clone-reset lie.
1825
- if head.startswith("---"):
1826
- end = head.find("\n---", 3)
1827
- if end != -1:
1828
- m = re.search(
1829
- r"^date:\s*[\"']?(\d{4}-\d{2}-\d{2})",
1830
- head[:end], re.M)
1831
- if m:
1832
- stamp = _dt.date.fromisoformat(m.group(1))
1820
+ # Field datum 7 (on 1.11.0): the old 600-byte head window
1821
+ # silently skipped the WHOLE probe when a real frontmatter
1822
+ # (edge lists, basis lines) pushed the closing fence past
1823
+ # it -- the file was already fully read, so the cap bought
1824
+ # only failure. load_frontmatter is the authoritative
1825
+ # reader (fence-bounded, so a column-0 date: in the body
1826
+ # still cannot misdate the note); kb_unquote covers quoted
1827
+ # dates; the prefix match tolerates a datetime suffix.
1828
+ meta = sdlc_core.load_frontmatter(
1829
+ sdlc_core.read_text(p).splitlines()) or {}
1830
+ m = re.match(r"(\d{4}-\d{2}-\d{2})",
1831
+ kb_unquote(meta.get("date")))
1832
+ if m:
1833
+ stamp = _dt.date.fromisoformat(m.group(1))
1833
1834
  except Exception:
1834
1835
  pass
1835
1836
  if stamp is None: