AMCS: add duplicate audit report tool #38
Reference in New Issue
Block a user
Delete Branch "issue-25-duplicate-audit-cleanup-tools"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements a safe dry-run duplicate audit subset for issue #25.\n\nChanges:\n- Add audit_duplicates MCP tool.\n- Report exact/normalized duplicate project-name candidates.\n- Report exact/normalized duplicate thought-content candidates.\n- Report metadata normalization candidates for type/source/topics/people.\n- Register the tool in MCP and describe_tools catalog.\n- Add focused unit tests for grouping, canonical recommendations, metadata variants, and truncation.\n\nVerification:\n- go test ./internal/tools -run TestBuildDuplicateAudit -count=1\n- go test ./internal/tools ./internal/mcpserver -count=1\n- make build && make test\n- make build-cli\n\nCaveat: this PR intentionally does not add destructive merge/delete behavior; it prioritizes non-destructive reporting/dry-run recommendations as requested.