Skip to content

fix(c0): release hygiene (env var, version consistency, dist on bump)#69

Draft
m3talux wants to merge 3 commits into
mainfrom
fix/c0-hygiene
Draft

fix(c0): release hygiene (env var, version consistency, dist on bump)#69
m3talux wants to merge 3 commits into
mainfrom
fix/c0-hygiene

Conversation

@m3talux

@m3talux m3talux commented Jun 6, 2026

Copy link
Copy Markdown
Owner

v1.0.0 Wave C C0 pre-flight. Completes the SUPERBRAIN_HOME to SUPERBRAIN_DATA_DIR rename, adds a 5-source version-consistency test, and rebuilds dist on version bump. Banked for the June 12 reassessment.

m3talux added 3 commits June 5, 2026 22:21
G20: remove orphan dist/src/preferenceCandidates.js; source was deleted
but the compiled output was still shipped via the committed-dist gate.
G21: rename SUPERBRAIN_HOME to SUPERBRAIN_DATA_DIR in injectTelemetry.ts
so inject.log respects the test seam and does not write to the real home
dir during tests.
G22: add tests/releaseConsistency.test.ts asserting that package.json,
.claude-plugin/plugin.json, .claude-plugin/marketplace.json, and the
McpServer version string in bin/sb-mcp.ts all agree; add
scripts/bump-version.sh and wire it as the npm version lifecycle hook so
a future version bump updates all four files atomically.
…, sync lockfile, extend 5-source version test, rebuild dist on bump\n\nG21: migrate SUPERBRAIN_HOME to SUPERBRAIN_DATA_DIR in tests/doctor.test.ts and remove stale SUPERBRAIN_HOME deletes from tests/injectTelemetry.test.ts; grep over src/bin/tests/scripts now returns nothing for SUPERBRAIN_HOME.\n\nG22: run npm install --package-lock-only to sync package-lock.json from 0.7.1 to 0.8.1; extend tests/releaseConsistency.test.ts from four to five sources (adds package-lock.json); confirmed red on seeded 0.7.1 drift then green at 0.8.1.\n\nG22-hook: add npm run build + git add dist to scripts/bump-version.sh so a version bump leaves dist consistent and git diff --exit-code dist is satisfied.\n\nCo-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant