mirror of
https://github.com/garrytan/gstack.git
synced 2026-06-17 15:20:11 +02:00
1f768ad142
scripts/one-way-doors.ts is the secondary safety net for ad-hoc AskUserQuestion
ids with no registry entry; a false negative auto-approves a destructive op. The
revoke and reset credential patterns both include `password`, but the rotate
pattern omitted it, so the most common phrasing ("rotate the database password")
classified as a reversible two-way question.
Add `password` to the rotate alternation so all three verbs are parallel. New test
covers rotate+password, the revoke/reset/rotate parallel, and rotate's other nouns.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>