mirror of
https://github.com/garrytan/gstack.git
synced 2026-05-17 09:41:28 +08:00
test: spell out AskUserQuestion everywhere instead of AUQ
Per user feedback: don't shorten AskUserQuestion to AUQ — the abbreviation reads as cryptic. Apply across all the new code from this branch: - Rename test/skill-e2e-auq-format-compliance.test.ts → test/skill-e2e-ask-user-question-format-compliance.test.ts - Touchfile entry auq-format-pty → ask-user-question-format-pty (touchfiles.ts + matching assertion in touchfiles.test.ts) - Function rename navigateToModeAuq → navigateToModeAskUserQuestion - Variable auqVisible → askUserQuestionVisible - Outcome literal 'real_auq' → 'real_question' - All comments + JSDoc + CHANGELOG entry write AskUserQuestion in full - "AUQs" plural → "AskUserQuestions" No behavior change. 49/49 free tests still pass. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
*
|
||||
* - parseNumberedOptions(visible)
|
||||
* Parses `❯ 1.` / ` 2.` numbered-option lines out of TTY text.
|
||||
* Used by the AUQ format-compliance and mode-routing tests to look
|
||||
* Used by the AskUserQuestion format-compliance and mode-routing tests to look
|
||||
* up an option index by its label without hard-coding positions.
|
||||
*
|
||||
* - findBudgetRegressions / assertNoBudgetRegression(comparison)
|
||||
@@ -117,7 +117,7 @@ describe('parseNumberedOptions', () => {
|
||||
|
||||
test('anchors on LAST cursor when both stale and fresh fit in the tail', () => {
|
||||
// Both lists fit in the same 4KB tail (small buffer). The granted
|
||||
// permission dialog options come first, the real AUQ comes second.
|
||||
// permission dialog options come first, the real AskUserQuestion comes second.
|
||||
// We must return the FRESH options, not the STALE ones.
|
||||
const visible = [
|
||||
'❯ 1. STALE_grant',
|
||||
|
||||
Reference in New Issue
Block a user