bdo-cli 0.44.10 → 0.44.11

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +111 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -5,6 +5,117 @@ All notable changes to Bushido (bdo) will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.44.10] (2026-07-24)
9
+
10
+ ### Chores
11
+
12
+ - **npm package**: stop generating `npm-shrinkwrap.json` (`npm-shrinkwrap = false`
13
+ in `dist-workspace.toml`). The shrinkwrap matched `package.json` exactly and
14
+ posed no real risk, but security scanners flag any npm package that ships one
15
+ as a supply-chain heuristic — not worth re-justifying every release.
16
+
17
+ ## [0.44.9] (2026-07-22)
18
+
19
+ ### Features
20
+
21
+ - **`bdo stale`**: new "DOC↔IMPL DRIFT" check — flags `` `bdo <cmd>` ``
22
+ references in markdown that name a subcommand `bdo --help` no longer lists
23
+ (checked against the CLI's own clap definition, so the check can't itself
24
+ drift). Caught a real doc bug on its first run (`bdo eslint` → `bdo lint`).
25
+ - **`.bdostaleignore`**: inline suppression — a line containing the literal
26
+ string `bdo-stale-ignore` (any comment syntax) is skipped by both the stale-
27
+ marker scan and the new doc-drift check, for one-off intentional mentions
28
+ that don't warrant a whole-file ignore entry.
29
+
30
+ ### Fixes
31
+
32
+ - **`bdo stale`**: bound the doc-drift scan's allocation by a cap instead of
33
+ only truncating at display time — a pathological markdown file could
34
+ previously force formatting and allocating a `String` per match before any
35
+ truncation happened.
36
+
37
+ ## [0.44.8] (2026-07-15)
38
+
39
+ ### Security
40
+
41
+ - **Secret redaction at rest**: mask known secret formats (GitHub/GitLab/npm/
42
+ AWS/Slack/OpenAI/Anthropic/Stripe/Google tokens, JWTs, `Authorization`
43
+ headers, `password=`/`api_key:` assignments, PEM private key blocks) before
44
+ persisting command strings to the tracking DB or raw output to tee recovery
45
+ files. Closes the gap left by 0.44.7's permission hardening: files were
46
+ owner-only, but their contents were still plaintext.
47
+
48
+ ### Fixes
49
+
50
+ - **Windows build**: fix unused-variable errors in permission helpers that
51
+ only used their path argument under `#[cfg(unix)]`.
52
+
53
+ ## [0.44.7] (2026-07-11)
54
+
55
+ ### Security
56
+
57
+ - **Local data protection**: tracking DB and tee recovery files are now
58
+ created owner-only (0600 for files, 0700 for their default directories),
59
+ closing a world-readable window for locally stored command history and raw
60
+ output. Override paths (`BDO_DB_PATH`, `BDO_TEE_DIR`, config) skip the
61
+ directory chmod (they may be shared/user-managed) but files are still
62
+ tightened.
63
+ - **Telemetry**: `low_savings_commands` now reports only the tool name, not
64
+ the first three words of the command (which could carry URL tokens or other
65
+ incidental data).
66
+
67
+ ## [0.44.6] (2026-07-07)
68
+
69
+ ### Features
70
+
71
+ - **`bdo ci`**: single pre-merge gate composing `bdo review` (informational
72
+ change summary), `bdo stale` (whole-tree residue audit), and `bdo test
73
+ --changed` (change-set tests) into one exit code. All stages always run
74
+ (no fail-fast) so a single pass surfaces every blocker; a real test exit
75
+ code (e.g. cargo's 101) takes priority over the bare residue-gate `1`.
76
+
77
+ ### Chores
78
+
79
+ - Shortened the Homebrew formula's `desc` line to stay under rubocop's
80
+ 118-column limit. (0.44.5 was an internal version bump that never
81
+ published — its plan failed because the tag didn't point at the version
82
+ bump commit; no user-facing changes beyond what's listed here.)
83
+
84
+ ## [0.44.4] (2026-07-04)
85
+
86
+ First release distributed via the new [cargo-dist](https://opensource.axo.dev/cargo-dist/)
87
+ pipeline — tagged pushes now build and publish to GitHub Releases, npm
88
+ (`bdo-cli`), and Homebrew (`tedorigawa001/tap/bushido`) automatically. Also
89
+ the first tagged/published release since 0.43.0; covers all work merged in
90
+ that window (versions 0.44.0–0.44.3 were internal bumps that were never
91
+ independently released).
92
+
93
+ ### Features
94
+
95
+ - **`bdo gain --by-agent`**: per-agent attribution for Claude Code, Gemini
96
+ CLI, Cursor, GitHub Copilot, and Google Antigravity. Gemini/Copilot
97
+ attribution is embedded directly in the rewritten command
98
+ (`BDO_AGENT=<agent>`) since those hooks don't otherwise expose it.
99
+ - **`bdo test --changed`**: multi-language test planning via `core::testplan`
100
+ — Rust (`cargo test -- <stems>`), Go (`go test <changed packages>`), Python
101
+ (`pytest <files> [-k "<stems>"]`), JS/TS (`vitest related --run` /
102
+ `jest --findRelatedTests`, runner auto-detected from `package.json`).
103
+
104
+ ### Security
105
+
106
+ - **Command injection**: single-quote the `pytest -k` filter value instead of
107
+ interpolating it unescaped.
108
+ - **Test execution**: run test commands via argv instead of `sh -c`, removing
109
+ a shell-interpretation step entirely.
110
+
111
+ ### Fixes
112
+
113
+ - `bdo init` and hook decision output: rebrand stale "RTK" references,
114
+ Codex uses inline `AGENTS.md` (not `@import`), spec-compliant Gemini
115
+ decision format, clarified Copilot formats.
116
+ - `bdo review` / `bdo map`: honor `.bdostaleignore`; one-line body signatures
117
+ in map output.
118
+
8
119
  ## [0.43.0] (2026-06-18)
9
120
 
10
121
  First Bushido (bdo) release line — a hardened fork of
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "artifactDownloadUrls": [
3
- "https://github.com/tedorigawa001/TokenReductionTool-BDO/releases/download/v0.44.10"
3
+ "https://github.com/tedorigawa001/TokenReductionTool-BDO/releases/download/v0.44.11"
4
4
  ],
5
5
  "author": "Patrick Szymkowiak",
6
6
  "bin": {
@@ -91,7 +91,7 @@
91
91
  "zipExt": ".tar.xz"
92
92
  }
93
93
  },
94
- "version": "0.44.10",
94
+ "version": "0.44.11",
95
95
  "volta": {
96
96
  "node": "18.14.1",
97
97
  "npm": "9.5.0"