fix(c0): release hygiene (env var, version consistency, dist on bump)#69
Draft
m3talux wants to merge 3 commits into
Draft
fix(c0): release hygiene (env var, version consistency, dist on bump)#69m3talux wants to merge 3 commits into
m3talux wants to merge 3 commits into
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.