Project document

inputs/COMPASS.md

COMPASS: DupFind

Compass

Build a command-line duplicate file finder, the Go executable ./cmd/dupfind, as described in sources/INSTRUCTIONS.md. It walks a directory, groups regular files by size and then by SHA-256 digest, and reports each duplicate group or a one-row summary of the space that removing the copies would recover.

Correctness is measured by sources/run.sh: it builds the executable with go build and makes 15 checks of exit code and standard output against a fixed directory tree. The goal is every check passing.

Constraints

Guardrails

total. Every value is computed from the directory examined.

Verification Protocol

Story kindCommandAsserts
Every behavioral storysh bin/test.shexit 0
Terminal story (once, last)sh sources/run.shexit 0