Unexport two helpers to keep the knip ratchet green #120

Merged
weichen merged 1 commits from fix/multiuser-project-collab-r4 into main 2026-10-20 11:19:39 +00:00
Owner

Why: Dev make test runs scripts/check-knip.mjs; Frontend main reports 60 unused exports against baseline 58 because capabilitySourceLabel and MemberDuty in src/projectmeta.ts are exported but only used inside that file. This blocks the Dev repin for fix/multiuser-project-collab (Dev PR #655).

Evidence: agent-exec unit mupc-frontend-r6-knip-exports (PI, success, transport f6442cc). Host recheck with installed deps: knip unused exports 58 <= 58; worker: vitest 61 files / 667 tests passed, tsc no new errors.

Impact: drops the export keyword from two declarations; no behaviour change.

Refs: Agent-System-Dev .task/fix-multiuser-project-collab.md

Why: Dev `make test` runs `scripts/check-knip.mjs`; Frontend main reports 60 unused exports against baseline 58 because `capabilitySourceLabel` and `MemberDuty` in `src/projectmeta.ts` are exported but only used inside that file. This blocks the Dev repin for fix/multiuser-project-collab (Dev PR #655). Evidence: agent-exec unit mupc-frontend-r6-knip-exports (PI, success, transport f6442cc). Host recheck with installed deps: `knip unused exports 58 <= 58`; worker: vitest 61 files / 667 tests passed, tsc no new errors. Impact: drops the `export` keyword from two declarations; no behaviour change. Refs: Agent-System-Dev .task/fix-multiuser-project-collab.md
weichen added 1 commit 2026-10-20 11:18:43 +00:00
agent-exec transport b00819fbf97351256c6953a271c02e52/a305d1ebb539
ci / test-and-build (pull_request) Successful in 32s
governance / governance (pull_request) Successful in 13s
f6442cc501
weichen merged commit a13d041159 into main 2026-10-20 11:19:39 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Frontend#120