Repository navigation
v0.4.1: npm registry refresh + post-launch audit fixes
Pre-release
Pre-release
π§ v0.4.1 β npm registry refresh + post-launch fixes
v0.4.0 published the new stetkeep brand to npm, but the tarball baked in the previous MDBRAIN ASCII header (npm pins READMEs at publish time). This patch republishes with the correct header and a batch of genuine bug fixes and platform-parity items uncovered in a 4-person post-launch audit.
π Bug fixes
bin/stetkeep.js: barestetkeepinvocation now exits 0 (was 1). GNU / npm convention; matchesstetkeep --help.lib/install.js: bootstrap detection regex matchesmdbrainandclaude-brainlegacy references. v0.3.0 users upgrading no longer get a duplicate bootstrap appended toCLAUDE.md.
πͺ Platform parity (Windows PowerShell)
hooks/safety-net.ps1: ported Bash redirect (>) andteebypass checks from.sh. Previouslycat > legacy/foo.tswould bypass the Safety Net on PowerShell-only setups.hooks/safety-net.ps1:$Inputautomatic-variable conflict renamed to$Stdinto prevent pipeline-enumerator shadowing.
π― Marker detection (false-positive fix)
The @craft-* / @perf-* hook detection now requires a reason= / baseline= / date= field alongside the marker token.
- Why: Before this fix, simply mentioning
@perf-optimizedin docs (for example"honor @perf-optimized markers") caused the Safety Net to block edits to that file. - After: Only real markers like
// @perf-optimized reason="profiled: 62% CPU"block edits. Bare mentions in prose pass through. - This is the actual format documented in
CRAFT.mdandPERF.md, so no user change required.
π¬ UX improvements
- Slash commands:
/brain-scan,/craft-audit,/perf-auditnow declareargument-hintfrontmatter for the slash-command picker UI. /brain-scan: body now actually substitutes$ARGUMENTSinto the scan scope (was documented in trailing note but silently dropped in the prompt body).brain-routersubagent: description now leads with "Use PROACTIVELY for ambiguous or compound code-quality requests" for reliable auto-delegation.craft-specialistsubagent: description replaces vague "make this artistic" trigger with concrete keywords (refactor, cleanup, anti-pattern removal, readability, dead-code removal).
π§Ή Metadata consistency
package.jsonandplugin.jsondescriptions unified (minor drift before).package.jsonfilesincludesCONTRIBUTING.mdso the README "PRs Welcome" badge resolves on the npm page.
π Docs
- README:
STETKEEPANSI Shadow header (was stillMDBRAINin v0.4.0 tarball), version badge v0.4.0 β v0.4.1, "Why the name stetkeep?" FAQ added, footer updated with rename date. - CHANGELOG v0.4.0 in-tarball metadata refreshed: removes the
stetproxy package mention (the proxy attempt was blocked by npm's typosquatting policy; thestetCLI shorthand still works as a bin alias inside stetkeep).
π Migration
No user action required.
npm install -g stetkeep # upgrades 0.4.0 β 0.4.1 automaticallyCLI behavior is unchanged except for the bare-invocation exit code (1 β 0), which should only affect CI scripts that intentionally used stetkeep as a fail check. Use stetkeep --help || true or stetkeep --version for that pattern instead.