← back to Sample Followup Sweep
tk10743-deterministic-triage/README.md
23 lines
# TK-10743 deterministic contact triage
This prepare-only tool reclassifies every positive-count vendor in the saved
sample follow-up fleet using only four approved local JSON files. It never sends,
scrapes, calls an API, stamps FileMaker, or writes a database.
It fails closed when a vendor count has no corresponding SKU rows. The current
fleet contains seven such ghost rows: ELI 1, MDC 2, PAUL 1, and LIN 3. Those
contacts may exist locally, but no deterministic SKU-level follow-up can be
prepared until the source snapshot carries the actual records.
Statuses are intentionally operationally inert:
- `PREPARED_NOT_SENT`
- `ALREADY_IN_RESEND_QUEUE`
- `RECENTLY_CONTACTED_HOLD`
- `HELD_NEEDS_CONFIRM`
- `UNRESOLVED_LOCAL_DATA`
- `NO_CHASE`
- `DATA_INCOMPLETE`
Run `node triage.mjs && node test.mjs`.