# Changelog ## 1.3.0 Every commit since 1.2.1 (4df2313). npm package `kktest-dev` 1.3.0; marketplace `kktest-dev` 1.3.0; kktestdev-pack 0.2.4; new plugin typescript-native-lsp 0.1.0. - **The pack's TS/JS language server starts again** (`Language server "plugin:typescript-lsp:typescript" couldn't start`). The official `typescript-lsp` plugin runs typescript-language-server, which needs `tsserver` from a `typescript` package. TypeScript 7 (npm `latest`) ships none, so the server failed `initialize` with `Could not find a valid TypeScript installation` in a TypeScript 7 project and in a project without `typescript`. New plugin **typescript-native-lsp** registers TypeScript 7's own server, `tsc --lsp --stdio`, for the same eight extensions; it needs a global `typescript` 7+ and nothing from the project. `pack.json` swaps the core item `typescript-lsp` for `typescript-native-lsp` (requires `tsc`, install `npm i -g typescript@latest`), and `overlap:lsp-ts` / `overlap:code-nav` know both ids, so a machine that still has `typescript-lsp` gets asked about it. `/kk-update` now refreshes global `typescript` instead of `typescript-language-server` and names `typescript-lsp` as an item the pack dropped. - The inventory's Node note fires below 20.19 (it was below 22, for typescript-language-server's 22.22.2 floor, which no longer applies). ## 1.2.1 Every commit since 1.2.0 (#36, closing #33 and #34). npm package `kktest-dev` 1.2.1; marketplace `kktest-dev` 1.2.1; kktestdev-pack 0.2.3. - **`/kk-update` perl timeout fallback fails loudly and really stops the command** (#34). The macOS one-liner now checks its number: a timeout that is `0`, not a whole number, or missing (so the command word was read as the number), or no command at all, exits 2 with `bad timeout: ...` or `no command` instead of running with no limit or exiting 127 (which the skill reads as "wrapper missing"). The command runs in its own process group and gets SIGKILL when time is up, so a command that ignores SIGALRM and the processes it started are stopped too. Exit 142 = timed out and 127 = command not found as before; the command's own exit code passes through. A test runs the one-liner from the SKILL text with `0`, `abc`, `1.5`, a missing number, no command, a SIGALRM-ignoring command and a background child (macOS and Linux CI; skipped on Windows). - **options.mjs reads four more export shapes** (#33). `exportedValueNames()` blanks `//` and `/* */` comments first (strings kept, one linear pass), so an `export {` line inside a block comment is not a list and `A, // note` keeps `A`. `export const a = 1, B = 2` gives every declarator (nested types and line breaks handled, scan bounded and linear). `export * as NS from` gives `NS`, and `export * from './x'` in the types entry is followed one level inside the package with the same in-package and no-link checks (at most 20 files). Each shape has a test that fails when its handling is removed; the blank-line time-bound tests stay green. - **Release-gate fixes to #33 and #34** (this release). A `const` line that ends in a string no longer swallows the next line, which lost the next export and could make up a name from an `extends A, B` list. Many unclosed `export {` in a hostile `.d.ts` cost one scan instead of 20000 characters each (a 512 KB file took ~1.7 s, and `export *` could read 21 of them). Only the first 200 `export * from` specifiers are tried. A name that carries a credential in a URL or connection string (`FOO_DSN`, `FOO_DATABASE_URL`, `FOO_CONNECTION_STRING`, `FOO_WEBHOOK_URL`) stays an option even when the package exports it, like a `secretKey()` name. The perl timeout takes 1 to 999999 seconds only (2^31 and up turned perl's alarm off: no limit); stopping the wrapper (Ctrl-C, TERM, HUP) kills the command's group and exits 143; the skill says a process that starts its own session escapes, and that the wrapper is for non-interactive commands. ## 1.2.0 Every commit on `release/1.2.0` since 1.1.0 (#28-#31). npm package `kktest-dev` 1.2.0; marketplace `kktest-dev` 1.2.0; kktestdev-pack 0.2.2. - **`/kk-update` timeout fallback per platform** (d70022b, #28). The kk-update SKILL says how to give each command its time limit: the Bash tool's own `timeout` parameter, one command per call, works everywhere. In a shell loop: Linux `timeout 120 `; macOS has no `timeout`, so `gtimeout` from Homebrew coreutils or `perl -e 'alarm shift; exec @ARGV or exit 127' 120 ` (exit 142 = timed out, 127 = not found; without `or exit 127` a missing command exits 0 and looks like a success); Windows `timeout` is a sleep, so use the tool's `timeout` parameter. Exit 127 on every command means the wrapper is missing: switch to the fallback and run the list again. A test pins the text. - **kktestdev-pack 0.2.1** (7a72911, #29). Version bump so `claude plugin update` ships the #28 fix. - **options.mjs leaves out names a package exports as code values** (44b60f0, #30). A name in a README API table that the package's types entry (`types`/`typings` in `package.json`, else `index.d.ts` or `dist/index.d.ts`) exports as a value (`export { A, B as C }`, `export const|let|var|function|class|enum`; `export type` names do not count) is not offered as an env option. It is listed under `notEnv` with a note naming the file. The file is read as text, never run; a linked file or a path out of the package gives no names. `options --diff` does not report a name recorded earlier and now in `notEnv` as `removed`. `npm test` now also runs the kk-onboard suite (`tools/run-tests.mjs`), as CI does, and runs it even when the first suite fails. - **No named project, port or home path in docs and skills** (c229852, #31). The user-profile and meta-skill-self-improve skills and the kkskills-essentials concepts and tool-metrics plan/spec docs use generic examples; kk-onboard and tool-metrics test fixtures and an inventory.mjs comment use `/Users/me`. kkskills-personal and kkskills-situational 0.2.1. - **Release-gate fixes to #28 and #30** (this release). Reading a types file is linear again: a `.d.ts` made of blank lines (or `\r\n` runs) no longer stalls `options.mjs` for minutes (a statement start is `;` or a newline plus spaces/tabs on that line). `export const enum X` gives `X`. A secret-looking name (`FOO_TOKEN`) stays an option even when the package also exports it as a code value, with a note, so a package cannot hide a credential prompt that way. A types file reached through a linked folder (`lib -> elsewhere`) gives no names. The types file name in the note is redacted, stripped of control characters and capped. `--diff --network` applies the same code-value filter to the `@latest` README, and `notEnv` no longer hides a removed plugin option of the same name. `npm test` fails when a suite is killed by a signal (status `null`) instead of reading it as a pass. kk-update: pass the command to the perl fallback as separate words, never one quoted string (perl runs one string through `sh -c`); on Windows the Bash tool runs Git Bash, which usually has GNU `timeout`. - **kktestdev-pack 0.2.2** (this release). #30 and #31 changed the pack after 0.2.1 shipped, so it gets a new version for members to pull them. ## 1.1.0 Every commit on `release/1.1.0` since 1.0.0 (`997c209`), grouped. npm package `kktest-dev` 1.1.0; marketplace `kktest-dev` 1.1.0. - **kktestdev-pack 0.2.0: dedupe and routing** (ea6e937, #14-#18). `chrome-devtools` moved from core to frontend; `playwright` is the core browser tool (#14). Planning routing: superpowers for a plan that fits one session, bantamkit shiftwork for units that fan out agents (#15). `serena` removed; a `code-nav` overlap group reports one you installed yourself (#16). The built-in `/code-review` is the default diff review (#17). Next.js docs: `next-devtools` while a dev server runs, `context7` otherwise (#18). The routing table lives in the pack README and the kk-onboard SKILL, checked by a test. - **jdtls needs Java 25+** (358cd92, b3cee36, #21). jdtls 1.63 fails on Java 17/21, and its wrapper prefers `$JAVA_HOME`. The inventory now works out the Java jdtls will start on and notes when it is older than 25 (`requires[].java` in `pack.json`). - **First real `/kk-onboard` run, gaps fixed** (b4cd6a3, b3cee36, #21). A fresh account's "No MCP servers configured" is an empty list, not an unknown format. `options --diff` shows plugin version changes. Read-only host files are never offered as write targets. bantamkit hooks: check `--install-hooks` without `--yes` first (exit 2 = changes pending), show the plan, back up settings, then apply only after a yes. New risk finding `node-version-path`: an MCP server or hook that runs from a mise/nvm/fnm/asdf/Volta node version that is gone or not active; `/kk-update` re-checks hooks after updates. New `onboard-e2e.test.mjs` and the owner checklist [docs/kk-onboard-e2e.md](./docs/kk-onboard-e2e.md). - **Secret redaction: eight known gaps closed** (50273f3, 5ba8e54, #19; more in the release gate fixes below). Redaction is best effort over known shapes, not a guarantee that every secret is masked. Redaction moved to `redact.mjs`. Now masked: `-p VALUE` after password-taking commands, `PGPASSWORD=x`, a glued `-pX` (ports and flag bundles exempt), escaped JSON keys, schemeless `user:S@host`, `KEY = value` with spaces, unquoted numbers, single-quoted keys. Nothing the old code masked leaks now (6195 cases). A linear-time test guards against slow regexes (made robust on shared CI runners). - **More hosts and package managers** (64070df, #22). The inventory also reads Claude Code `managed-mcp.json` and the MCP servers of enabled plugins, Gemini CLI extensions, VS Code Insiders, VSCodium, profiles and Flatpak/Snap builds, Microsoft Store Claude Desktop, and the Windows-side configs from inside WSL. Global folders of pnpm, yarn, bun, Volta and mise are found without running a package manager. Overlap groups get an optional `with` rule, and a plugin, its servers and its skills count as one tool. - **Windows CI** (47dd777, #20; the windows-latest cells were red on one test until the gate fix below, so re-check the matrix on the release commit). CI runs the inventory on an empty fake HOME on every OS and an opt-in MCP `initialize` smoke test on Windows. New Windows tests (junctions, `taskkill /T`, `cmd /c` step shapes, WSL, `CLAUDE_CONFIG_DIR`). [docs/windows.md](./docs/windows.md) lists every POSIX-only skip with what protects that path, kept in step by a test. - **CLI provider targets re-verified, npm publish workflow** (f38ac41, #24). The Windsurf/Devin user config on Windows is `%APPDATA%\devin\mcp_config.json` (was `~/.config/devin`). Export notes give the documented ChatGPT API and claude.ai limits. `.github/workflows/publish.yml` publishes on a `v*` tag (tag must match `package.json`, all suites run, `npm publish --provenance`), or runs a manual dry run. It needs an `NPM_TOKEN` secret. - **Clean-code items from the release gates** (4cd45a0, #23). `tools/lib/providers.mjs` is the one provider table the CLI reads, and a test keeps `docs/providers.md` in step with it (CLI output unchanged). infographic-diagram's long render functions split, with golden SVG hashes unchanged. `pack.schema.json` for `pack.json`. `ctx.run`/`ctx.runClaude` renamed `ctx.exec`/`ctx.execClaude`. Global copies from pnpm, yarn, bun, Volta and mise count as trusted when reading options. - **Docs synced with the code** (#25). New concepts and specification pages for agent-loops, critique-gate, prompt-evolve, reflexion, infographic-diagram, kkskills-situational, kktestdev-pack and tool-metrics. `docs/proposals/` and `docs/superpowers/` marked historical. memory-keeper and reflexion docs say they were folded into bantamkit. `ADD_PLUGIN.md` covers `TIERS`, `package.json` files, docs and CI. ChatGPT: custom GPTs are being retired, so knowledge files are not a target; what is and is not verified is in [docs/providers.md](./docs/providers.md). The Windsurf help text says what is still unverified. agent-loops' memory and system-optimization skills say what bantamkit and prompt-evolve now serve. Plugin homepages point at `tree/master`. The pack README's options and audit sections point to one place instead of repeating the SKILL, and a test keeps its publisher table in step with `pack.json`. - **Release gate fixes** (G1 review, G2 pentest). - Windows CI: the `#22` env-var test built Windows paths but checked them with Linux rules; it now uses the host's rules, and a win32 simulation pins why. - The Java probe never runs a `java` given by a relative path or lying inside the current project (`JAVA_HOME`, the jdtls wrapper default, `java` on PATH): a cloned repo could set `JAVA_HOME` and ship `bin/java`. The version is read from the JDK's `release` file first, with no process at all. - Redaction: numbered and plural secret names (`TOKEN2`, `SECRETS`, `API_KEYS`), `PASSPHRASE`, `JWT`, `CREDS`, `dbpass` and the key-material `*_KEY` names (`SSH_KEY`, `SIGNING_KEY`, `ENCRYPTION_KEY`, `SESSION_KEY`, `LICENSE_KEY`, `APP_KEY`); a secret `--flag VALUE` inside a quoted command (`bash -c "notify --api-key X"`, which leaked into hook findings); npm, Hugging Face, PyPI, Slack app, Google `ya29.`, SendGrid, Shopify, Linear, Figma, Perplexity and DigitalOcean tokens; Slack/Discord/Telegram webhook URLs; PEM private key blocks; `X`. Counts stay readable (`max_tokens`, `tokens: 1200`). Diffed old vs new: 0 new leaks on the 6195-case corpus, the 547 curated cases and the gate's fuzz harnesses (200k+ random cases). - Host reads: a plugin's `mcpServers` path that leaves the plugin through a linked folder, a FIFO as a config file (the scan hung), and a linked Windows-side config seen from WSL are no longer read. `--run-help` never picks a package-manager global copy that is a link out of its folder. - `publish.yml`: the tagged commit must be on master (`git merge-base --is-ancestor` against `origin/master`), and a registry lookup that fails for any reason other than "not found" stops the run instead of publishing. docs/providers.md asks the owner to give the `npm-publish` environment required reviewers and a `v*` tag rule. - Smaller: kk-update backs settings up with `cp -p` (keeps mode 0600); infographic-diagram 0.1.1 (its render scripts were split in #23); the prompt-evolve SKILL links the spec by URL (the relative link did not resolve inside an installed plugin); no tracked file cites the ignored `.shiftwork` folder. ### Owner checks still open - **`npm-publish` environment protection**: required reviewers and a deployment rule for `v*` tags (docs/providers.md, "Releasing"). Anyone who can push a tag can otherwise start the publish job. - **Windows "Connected" check on a real machine** (#20): register the pack's MCP servers through Claude Code with `cmd /c` and see "Connected". CI covers launch and `initialize` only. Checklist in [docs/windows.md](./docs/windows.md). - **A real fresh-account run** of `/kk-onboard` (#21): needs a new macOS user, login and network. Checklist in [docs/kk-onboard-e2e.md](./docs/kk-onboard-e2e.md). - **Paths that are reasoned, not documented** (#22): the Microsoft Store (MSIX) Claude Desktop config path and the per-profile VS Code `mcp.json` name. A Store install on Windows and a VS Code profile would confirm them. - **bantamkit `--install-hooks` with an old hook entry** (#21): not confirmed whether it replaces an entry that points at an old path or adds a second one. The docs only claim the check exits 2 and shows the new command. - **npm publish**: pushing tag `v1.1.0` runs `publish.yml`; without the `NPM_TOKEN` secret the run fails and nothing is uploaded (publish by hand, and the workflow then skips that version). ## 1.0.0 First release as an npm package (`kktest-dev`) as well as a Claude Code plugin marketplace. - **kktestdev-pack** (PR #12): team onboarding pack. `/kk-onboard` inventories what is already installed or connected, installs only the missing items you pick, and audits redundancy and risk; `/kk-update` pulls the latest of everything the pack manages. `/kk-onboard` also reads Codex CLI (`config.toml`, `CODEX_HOME`) and Gemini CLI (`settings.json`) MCP configs, with a read-only TOML reader that refuses what it cannot parse; values never leave it. - **infographic-diagram** plugin: architecture, layer-stack and tech-stack diagrams as SVG (+ 2x PNG) from a JSON spec, with a layout lint pass and Thai text support. Spec values are validated before they reach SVG attributes, and the PNG step renders in a sandboxed browser page. - **Cross-provider export and installer**: `kktest-dev list | export | install` brings the skills and the loop-ledger, memory-keeper and reflexion MCP servers to Codex, Gemini CLI, GitHub Copilot, Cursor, Claude Desktop, claude.ai and ChatGPT. `install` is a dry run by default; with `--apply` it backs up every file it touches, merges instead of overwriting, and refuses collisions, JSON with comments, and TOML it cannot read safely. See [docs/providers.md](./docs/providers.md). - Skills: additive `metadata.short-description` (≤ 200 chars) for the 13 skills with long descriptions, and short "Other agents" fallback notes where a skill names Claude-only tools. Behaviour on Claude Code is unchanged. - reflexion: `reflexionctl.py` also finds a `memctl.py` bundled next to it (exported layout). - **npm package** `kktest-dev` 1.0.0: zero runtime dependencies, Node 22 or later.