From 61230fb89f8aca7fa507903cf4b1770231ba3244 Mon Sep 17 00:00:00 2001 From: Adrian Todorov Date: Tue, 24 Nov 2026 20:59:09 +0000 Subject: [PATCH 1/2] feat(windows): cross-platform Node sidecar launcher, Windows portability fixes & v1.3.1 --- README.md | 31 +- STABILITY.md | 4 +- docs/demo.html | 2 +- docs/index.html | 4 +- hooks.json | 8 +- plugin.json | 2 +- pyproject.toml | 2 +- scripts/__init__.py | 2 +- scripts/extract_source.py | 12 +- scripts/federation_provider.py | 1 + scripts/hooks/auto_sync_vault.py | 5 +- scripts/init_vault.py | 4 +- scripts/install_plugin.py | 120 +++- scripts/sync_patterns.py | 8 +- scripts/vault_graph.py | 6 +- scripts/vault_hooks.py | 14 +- scripts/vault_lint.py | 2 +- sidecars/vault_graph/launcher.mjs | 778 ++++++++++++++++++++++ sidecars/vault_graph/server.py | 6 + sidecars/vault_graph/sidecar.json | 8 +- skills/ingest/scripts/extract_source.py | 12 +- tests/test_oss_cross_compliance.py | 4 +- tests/test_v1_release_gates.py | 16 +- tests/test_windows_sidecar_portability.py | 309 +++++++++ 24 files changed, 1272 insertions(+), 88 deletions(-) create mode 100644 sidecars/vault_graph/launcher.mjs create mode 100644 tests/test_windows_sidecar_portability.py diff --git a/README.md b/README.md index 55481fd..8caf434 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@
-Knowledge Compiler Animated 3D Knowledge Crystal Logo +Knowledge Compiler Animated 3D Knowledge Crystal Logo

Knowledge Compiler

@@ -10,22 +10,21 @@

- Live 3D WebGL Demo - Version 1.3.0 - CI Status - OKF v0.3 Conformant - Python 3.10+ - Listed on okf.md - Apache 2.0 License + Live 3D Demo ↗ · + v1.3.1 · + CI · + OKF v0.3 Strict · + okf.md · + Python 3.10+ · + Apache-2.0

- Live 3D Demo ↗ · - 60-Second Demo · - OKF v0.3 Interoperability · - WebGL Workbench · - Skills & CLI · - Offline Proof + 60-Second Demo · + OKF v0.3 Interoperability · + WebGL Workbench · + Skills & CLI · + Offline Proof

@@ -50,7 +49,7 @@ Most coding-agent knowledge setups fail in one of three ways: stuffing 100-page ## Quick Start (60-Second Walkthrough) -**Prerequisites**: Python `>= 3.10` (`>= 3.11` recommended) and Git. Zero cloud accounts or API keys required. +**Prerequisites**: Python `>= 3.10` (`>= 3.11` recommended) and Git on Windows, macOS, or Linux. Zero cloud accounts or API keys required. ```bash git clone https://github.com/GoogleCloudPlatform/knowledge-compiler.git @@ -206,7 +205,7 @@ Use **Knowledge Compiler** through slash commands inside your AI coding agent or ## Release History -### **v1.3.0** (`Latest`) +### **v1.3.1** (`Latest`) - **Full OKF v0.3 Interoperability (`vault-lint`, `vault-graph`, `vault-init`, `examples/starter-vault/`)**: - **Portable Standard Relative Markdown Links (`--portable-links`)**: First-class validation, orphan/index tracking, BM25 excerpt unwrapping, and clickable WebGL Reader navigation for standard RFC 3986 `%20`-encoded relative Markdown links (`[Label](../dir/Note%20Name.md)`) alongside full backward compatibility for Obsidian `[[wikilinks]]`. Adds deterministic `vault-lint --fix --portable-links` conversion and upgrades `examples/starter-vault/` (434 inter-note Markdown links, 0 prose wikilinks) so generic OKF consumers (`okf-consume`, `viz.html`, GitHub, and Obsidian) all see the complete graph. - **Unambiguous OKF v0.3 Bundle Root (`.`) & Subdirectory Indexes (§8)**: Reports `"bundle_root": "."` and `"concepts_dir": "wiki"` in `vault-lint`, scaffolds frontmatter-free `wiki/index.md` on `vault-init`, and generates frontmatter-free `wiki/index.md` + `wiki//index.md` progressive-disclosure indexes in `examples/starter-vault/` and `--fix --migrate-v03`. diff --git a/STABILITY.md b/STABILITY.md index 65d81a4..61d4210 100644 --- a/STABILITY.md +++ b/STABILITY.md @@ -1,6 +1,6 @@ -# Knowledge Compiler `1.x` Stability & Compatibility Policy (`v1.3.0`) +# Knowledge Compiler `1.x` Stability & Compatibility Policy (`v1.3.1`) -This document defines the Semantic Versioning (`SemVer 2.0.0`) and backward-compatibility guarantees for **Knowledge Compiler** across the `1.x` release series, starting with `v1.0.0` (updated for `v1.3.0` with full `OKF v0.3` interoperability: portable relative Markdown links, unambiguous `.` bundle root + `wiki/**/index.md` progressive disclosure, and `x-kc-*` namespaced epistemic extensions, while keeping full `OKF v0.2` backward compatibility). +This document defines the Semantic Versioning (`SemVer 2.0.0`) and backward-compatibility guarantees for **Knowledge Compiler** across the `1.x` release series, starting with `v1.0.0` (updated for `v1.3.1` with full `OKF v0.3` interoperability: portable relative Markdown links, unambiguous `.` bundle root + `wiki/**/index.md` progressive disclosure, and `x-kc-*` namespaced epistemic extensions, while keeping full `OKF v0.2` backward compatibility). Throughout `1.x`, patch releases (`1.0.z`) contain only bug fixes and security hardening, and minor releases (`1.y.0`) introduce backward-compatible features without breaking the frozen contracts documented below. diff --git a/docs/demo.html b/docs/demo.html index 2666211..9633f8c 100644 --- a/docs/demo.html +++ b/docs/demo.html @@ -1724,7 +1724,7 @@ - diff --git a/docs/index.html b/docs/index.html index 624aed4..2a83dea 100644 --- a/docs/index.html +++ b/docs/index.html @@ -625,7 +625,7 @@ Knowledge Compiler logo Knowledge Compiler - v1.3.0 + v1.3.1