/hyperpower:correct
Fix an assumption a run got wrong.
Reference
/hyperpower:correct 4f2a plan a1 "it returns { items: [] }" --scope runWhen to use it
`/hyperpower:why` showed you an assumption that is wrong.
What you get
Your correction is saved with that assumption and applied at the scope you chose.
How it works
Use this when one of the assumptions is wrong and you know the right answer. Record the right answer here so the mistake does not repeat.
The scope decides how far the correction reaches:
| Scope | Applies to |
|---|---|
once |
this replay only |
run |
every remaining step in this run |
forever |
added to your project rules, with a diff for you to approve |
forever also changes future runs, because it adds the correction to your
project rules. So it shows you the diff and waits for your yes before it writes
anything.
If your correction contradicts code hyperpowers can read, it warns you once. Then it does what you told it.
To see the correction change the output, run /hyperpower:resume afterwards.