From 3c174e84bf8ace164ec75a19d4e1388b741677e6 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 19 May 2026 11:09:32 +0000 Subject: [PATCH] chore: bump TOOL_VERSION to 0.3.0 and fix stale README references The top-level README already describes the project as v0.3, but TOOL_VERSION in crawler.py was still "0.2.0", so `skill-gen --version` reported the wrong string. Also fixes two stale spots in the tools module README: the JSON schema example showed "schema_version": 1 (the actual constant is 2), and the prose still said 0.2.0 with a "bump is planned" footnote that is now resolved. No logic changes; all 172 tests pass. Co-Authored-By: Claude Sonnet 4.6 --- tools/skill_generator/README.md | 6 ++---- tools/skill_generator/crawler.py | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/tools/skill_generator/README.md b/tools/skill_generator/README.md index 7648704..fb49aa2 100644 --- a/tools/skill_generator/README.md +++ b/tools/skill_generator/README.md @@ -88,7 +88,7 @@ Silently skipped: `target/`, `build/`, `.git/`, `generated/`, `.mvn/`, `node_mod ```jsonc { - "schema_version": 1, + "schema_version": 2, "scan": { "root": "...", "timestamp": "ISO-8601", "tool_version": "0.3.0" }, "stats": { "java_classes": 23, "xml_files": 0, "config_files": 0, @@ -151,6 +151,4 @@ If a project requires AST-level accuracy, the Python `javalang` library can be d ## Tool version & schema version -The current tool version is `0.2.0` (as reported by `skill-gen --version`, defined in `crawler.py` as `TOOL_VERSION`). The output JSON schema version is `2` (`SCHEMA_VERSION` in the same file). If the schema changes in a backwards-incompatible way (renamed fields, removed sections), `SCHEMA_VERSION` increments so downstream consumers can branch on it. - -A bump to `0.3.0` to reflect the host-agent-driven refactor (PR-merged earlier) is planned but not yet applied to the constant; treat the version string as a build identifier rather than a marketing milestone. +The current tool version is `0.3.0` (as reported by `skill-gen --version`, defined in `crawler.py` as `TOOL_VERSION`). The output JSON schema version is `2` (`SCHEMA_VERSION` in the same file). If the schema changes in a backwards-incompatible way (renamed fields, removed sections), `SCHEMA_VERSION` increments so downstream consumers can branch on it. diff --git a/tools/skill_generator/crawler.py b/tools/skill_generator/crawler.py index be79a44..c9001dd 100644 --- a/tools/skill_generator/crawler.py +++ b/tools/skill_generator/crawler.py @@ -30,7 +30,7 @@ # Constants # ───────────────────────────────────────────────────────────────────────────── -TOOL_VERSION = "0.2.0" +TOOL_VERSION = "0.3.0" SCHEMA_VERSION = 2 DEFAULT_EXCLUDE_DIRS = {