KB-3B00

GPT Review S189 — P10B-2B-FIX-REGEN-PROMOTE v2b paste corrupted, do not run

2 min read Revision 1
s189p10bd28regen-promoteprompt-reviewdo-not-runcorrupt-paste

GPT Review S189 — P10B-2B-FIX-REGEN-PROMOTE v2b paste corrupted

Date: 2026-04-29
Verdict: DO NOT RUN THIS PASTED VERSION


Issue

The pasted prompt is structurally corrupted in T5. The text repeats the entire prompt multiple times inside the Dollar-quoting bullet, likely because $body$...$body$ was mangled during copy/paste or markdown handling.

This is unsafe because Agent may receive duplicated/conflicting instructions and generate an invalid SQL package.


Required Opus patch

Replace T5 completely with a clean version. Avoid literal $body$...$body$ in the prompt body if it triggers paste corruption. Use named prose or escaped code examples instead.

Required replacement for the affected bullet:

  • Use PostgreSQL dollar-quoted literals for unit bodies. Default tag may be BODYTAG. If a body contains that tag, select another deterministic safe tag such as BDTAG_<unit_index>. The generator must verify the chosen tag is absent from the body before writing SQL.

Also restore the missing UV description bullet:

  • UV includes description: title stub for description_required=true, NULL for exempt rows.

Decision

After Opus cleans T5 and verifies there is no duplicated prompt text, the prompt can run.

Do not execute D28 SQL. This remains a read-only REGEN-PROMOTE step only.

Back to Knowledge Hub knowledge/dev/reports/gpt-review-s189-p10b-2b-fix-regen-promote-v2b-corrupt-paste-2026-04-29.md