The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 24, 09:00 UTC
ci: reject unused Codex client exports with Knip (#10036)
Julius Marminge committed
Sep 5, 2026 at 01:38 UTC
4631000f5a7666c88402ce11a9ebb8cdef7a7dad
2 files changed
+3
-2
docs/operations/development.md
+2
-1
@@ -72,7 +72,8 @@ Windows investigation while that suite is not a required gate.
72
### Unused code
73
74
`vp run knip:check` checks unused files and dependencies across the repo, then
75
-unused exports and types in `packages/tailscale`. CI enforces both checks.
75
+unused exports and types in `packages/tailscale` and `packages/effect-codex-app-server`.
76
+CI enforces both checks.
77
Use `vp run knip --workspace apps/web` to audit one workspace, including exports,
78
or `vp run knip:production --workspace apps/web` to find code kept alive only by tests.
79
The full export audit still has findings and is not a repo-wide CI gate. Extend the
package.json
+1
-1
@@ -26,7 +26,7 @@
26
"tc": "vp run -r --concurrency-limit 2 typecheck",
27
"lint": "vp lint --report-unused-disable-directives",
28
"knip": "knip",
29
- "knip:check": "knip --include files,dependencies --no-config-hints && knip --workspace packages/tailscale --exports --no-config-hints",
29
+ "knip:check": "knip --include files,dependencies --no-config-hints && knip --workspace packages/tailscale --workspace packages/effect-codex-app-server --exports --no-config-hints",
30
"knip:production": "knip --production",
31
"lint:mobile": "node scripts/mobile-native-static-check.ts",
32
"test": "vp run -r test",