Skip to content

chore(knip,types): make the base pass the commit and push hooks (CLO-1298) - #246

Open
nullStack65 wants to merge 2 commits into
release/native-0.1.10from
clo-1298-knip-orphan-release-scripts
Open

nullStack65 wants to merge 2 commits into
release/native-0.1.10from
clo-1298-knip-orphan-release-scripts

Conversation

@nullStack65

@nullStack65 nullStack65 commented Nov 27, 2026 •

Copy link
Copy Markdown
Owner

Problem

The pre-commit knip check and the pre-push vp typecheck fail on a clean release/native-0.1.10 (8ff44f5), so no code PR can commit or push without bypassing a hook.

Change

  • chore(knip): declare set-mobile-version.cjs and set-release-version.cjs as 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 the no-em-dash-copy lint rule rejects in a touched file.
  • test(web): update two test fixtures to the current types. Sidebar.logic.test.ts gives the standing fixture the required avatarId/accent; botOrgTree.test.ts gives its fixtures the required lineage and 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

  • Pre-commit hooks (fmt, lint, knip:check): passed on both commits.
  • Pre-push 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 typecheck in apps/web on the fixed tests: exit 0, no error TS lines.
  • Not run: the full repo test suite or CI; one review round and merge are not started here.

Co-authored by Claude Sonnet 5.5 via Claude Code (T3 Code harness).

🤖 Generated with Claude Code

Deploy: none

…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>
@coderabbitai

coderabbitai Bot commented Nov 27, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

This branch has not been deployed

No deployments
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.

2 participants