summaryrefslogtreecommitdiff
path: root/plugins/code-modernization/scripts/proof_pack.py
diff options
context:
space:
mode:
authorMorgan Lunt <morganl@anthropic.com>2026-09-23 18:58:51 -0700
committerMorgan Lunt <morganl@anthropic.com>2026-09-24 17:49:55 -0700
commit7c4583e465e15becca5568aeaa1c0c733e4dd88c (patch)
tree19059b1eeae24641c789c2fde80951d5cde0a5f1 /plugins/code-modernization/scripts/proof_pack.py
parentffa01ef52f175dfe3abe19171f4714fe496082db (diff)
code-modernization: preflight asks its questions in a pop-up and proves the target stack
The five Check 0 questions were left to the model to ask in chat, where they were easy to skip, paraphrase or answer on the person's behalf. They are now asked with AskUserQuestion, questions 1-4 in one call and the fifth in a second, each with a "Don't know" option and room for free text, and never in chat text. Checks that do not depend on the answers may run while the pop-up is open, and a question that is never answered still lands in the report as an open item. Every answer is recorded verbatim in an Answers section of PREFLIGHT.md, which the brief reads. The command declared a target_stack argument but never used it. Check 3b now builds a throwaway project on the target stack (restore, build, one passing test) so a target that installs but cannot build here is caught before transform or uplift starts.
Diffstat (limited to 'plugins/code-modernization/scripts/proof_pack.py')
0 files changed, 0 insertions, 0 deletions