evidence collect: PHANTOM verdict on an existing non-Ruby file fails the takedown run #1288

Open
opened 2026-10-23 21:24:24 +00:00 by jared · 0 comments
Owner

Problem

bin/evidence collect exits 1 when a design lists an existing non-Ruby file, so the whole takedown pipeline fails at final-check.

Run: ticket-takedown on jared/decision-model#1, step 12-final-check. The design lists decision-model.gemspec, which exists in the repo root. The tool prints PHANTOM: decision-model.gemspec — no definition or sender found ... and exits 1. All 18 other files print NEW. Every earlier step passed, including the final red check (15 tests red at base). No final-design.json is written, so the implement phase cannot start.

Expected

An existing file that the tool cannot resolve by shape (a .gemspec, Gemfile, Rakefile and similar) is reported as a file that exists, not as PHANTOM. It does not make the run fail.

Evidence

The tool resolves a name by shape: CamelCase to class or module, SCREAMING_SNAKE to constant, snake_case to method, @x to ivar, foo.rb to file. A .gemspec fits no shape.


Discoverer: /home/jared/dev/ruby-gems/decision-model, session 43c236cb-2b7e-4523-994d-d27bafcb0413, 2026-10-23. Takedown of #1 failed at final-check on a PHANTOM verdict for an existing gemspec.

## Problem `bin/evidence collect` exits 1 when a design lists an existing non-Ruby file, so the whole takedown pipeline fails at `final-check`. Run: ticket-takedown on jared/decision-model#1, step `12-final-check`. The design lists `decision-model.gemspec`, which exists in the repo root. The tool prints `PHANTOM: decision-model.gemspec — no definition or sender found ...` and exits 1. All 18 other files print `NEW`. Every earlier step passed, including the final red check (15 tests red at base). No `final-design.json` is written, so the implement phase cannot start. ## Expected An existing file that the tool cannot resolve by shape (a `.gemspec`, `Gemfile`, `Rakefile` and similar) is reported as a file that exists, not as `PHANTOM`. It does not make the run fail. ## Evidence The tool resolves a name by shape: CamelCase to class or module, SCREAMING_SNAKE to constant, snake_case to method, `@x` to ivar, `foo.rb` to file. A `.gemspec` fits no shape. -------- **Discoverer:** /home/jared/dev/ruby-gems/decision-model, session 43c236cb-2b7e-4523-994d-d27bafcb0413, 2026-10-23. Takedown of #1 failed at final-check on a PHANTOM verdict for an existing gemspec.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jared/cc-os#1288
No description provided.