Repository navigation
chore(knip,types): make the base pass the commit and push hooks (CLO-1298) - #246
Open
nullStack65 wants to merge 2 commits into
Open
nullStack65 wants to merge 2 commits into
nullStack65 wants to merge 2 commits into
Conversation
…base The commit hook runs knip over the whole repo and fails on a clean base, so every commit that touches code is blocked. - set-mobile-version.cjs and set-release-version.cjs are invoked by path from the upstream release workflows, which this fork does not keep. Declare them as knip entries. - Stop exporting five symbols nothing imports: isOutputGateBounceMessageId, isAgentOriginatedWake, REMOTE_PEER_UNREACHABLE_THRESHOLD, PeerUnreachableThreshold, isCredentialKeyName. - Replace the em dash in the output-gate bounce prompt, which the no-em-dash-copy lint rule rejects in a file this change touches. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The inbox and org-tree types gained required fields (standing avatarId and accent, thread lineage); the two test fixtures were not updated. Fixtures only, no production change. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
This branch has not been deployed
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.
Problem
The pre-commit knip check and the pre-push
vp typecheckfail on a cleanrelease/native-0.1.10(8ff44f5), so no code PR can commit or push without bypassing a hook.Change
chore(knip): declareset-mobile-version.cjsandset-release-version.cjsas knip entries (the upstream release workflows that invoke them by path are not kept in this fork) and stop exporting five symbols nothing imports. Also replaces the em dash in the output-gate bounce prompt, which theno-em-dash-copylint rule rejects in a touched file.test(web): update two test fixtures to the current types.Sidebar.logic.test.tsgives the standing fixture the requiredavatarId/accent;botOrgTree.test.tsgives its fixtures the requiredlineageand a full standing persona. Production types and behaviour are unchanged. The 9 type errors came from the inbox/org-tree type change in fix(inbox): keep founder sidebars focused and preserve linked bots #178 not being carried into these tests.Scope
Hook-unblocker for the CLO-1298 base, not a feature. No production behaviour change; the only runtime-visible edit is the punctuation in the bounce prompt text. Tracked in Linear CLO-1298.
Verification
knip:check): passed on both commits.vp run check:changed refs/remotes/origin/release/native-0.1.10: passed (44/44 tasks, typecheck 0 errors, 6 test files / 197 tests passed). The push went through with no hook bypass.vp run typecheckinapps/webon the fixed tests: exit 0, noerror TSlines.Co-authored by Claude Sonnet 5.5 via Claude Code (T3 Code harness).
🤖 Generated with Claude Code
Deploy: none