mirror of
https://gh-proxy.org/https://github.com/klinsmaya/multica.git
synced 2026-11-10 02:16:45 +08:00
These tests exercise no production code path: each compares a package-level constant, map or slice against a literal copy of its own declaration, so the only way to make one fail is to edit the test in the same commit as the source. That makes them a rename tax rather than a safety net. Removed: - cmd/multica: TestValidIssueStatuses (mirrors validIssueStatuses), TestLoadConfigAllowNoAgentsIsOptIn (asserts the bool zero value that the language already guarantees) - internal/integrations/channel: TestCapability_BitsDistinct (iota block) - internal/integrations/wecom: TestUnsupportedReceipt_DoesNotClaimTextOnly - internal/daemon: TestAnnotationAvoidsPersistedRowGuards - internal/metrics: TestBusinessMetricLabelsRejectHighCardinalityNames - internal/service: TestChatQuickActionsPromptsNameNoLanguage - internal/events: TestPublishNoSubscribersIsNoop (asserted nothing at all) - pkg/agent: TestMcodeBlockedArgsKeepACPTransportStable, TestQwenpawBlockedArgs, TestZeroclawBlockedArgs, TestClaudeListModelsArgs_Pinned - pkg/publicapi/v1: TestOperationLedgerPinsSharedScopes, TestPluginExtensionsRejectUserCredentialsByContract, TestOperationLedgerDeclaresAuditLifecycle Behavioural tests over the same symbols are kept, including TestCapability_Has, TestCapability_String, TestValidateIssueStatus and TestOpenAPICoversCapabilityLedger — the last checks the operation ledger against the embedded OpenAPI document rather than against itself. Co-authored-by: Sol-Boy <[email protected]> Co-authored-by: multica-agent <[email protected]>