Files
pxpipe/src/core
Danil Silantyev 69c3a51829 fix(prompting): discourage guessing exact strings from imaged text (#32)
FINDINGS.md documents the main failure mode of imaged text: the reader (Opus
especially) confabulates a plausible exact value instead of abstaining. Add
abstention guidance to the rendered framing so the model defers exact identifiers
to the factsheet / source rather than guess.

- the imaged slab banner (imageInstructionHeader) and the history-transcript
  intro (HISTORY_SYNTHETIC_INTRO) now say: for exact identifiers, paths, hashes,
  version strings, and numbers, use the adjacent exact-value factsheet; if a value
  was only in an image and not in the factsheet, do not guess — say it is not safe
  to quote and re-read the source.
- no geometry, model-allowlist, or gate change; the exact factsheet still rides
  after the image blocks unchanged.
- test asserts the phrasing appears in info.imageSourceText for an applied
  transform and in the history intro, and NOT in a non-applied (compress=false)
  transform.

Full suite green (633).
2026-07-18 20:02:27 -04:00
..
2026-05-21 17:41:30 -04:00