Feature: Analysis Cache As the system I want to cache analysis results So repeated analysis of identical files is instant Scenario: Cache hit Given a file has been analyzed previously When the analyze endpoint receives the same file bytes Then it returns the cached result immediately And the response includes _cached: true Scenario: Bulk cache lookup Given multiple files with known hashes When the /api/lookup endpoint receives their SHA256 hashes Then it returns a map of hash to analysis result for cached entries Scenario: Cache miss Given a file has not been analyzed When the analyze endpoint receives new file bytes Then it performs full analysis And caches the result by SHA256