mirror of
https://github.com/morluto/rea.git
synced 2026-11-29 01:46:39 +00:00
readPtxTarget clamped an unmatched `}` to depth zero and never checked for a body still open at end of text, so standalone PTX that kernel inspection rejects as "Unbalanced PTX body" or "Truncated PTX entry declaration" still reported complete discovery and an established target. Treat both cases as malformed text at the target reader so inventory and kernel inspection agree. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>