mirror of
https://github.com/garrytan/gstack.git
synced 2026-06-27 12:10:00 +02:00
chore: merge origin/main (v1.48.0.0 AskUserQuestion split)
Resolved conflicts:
- VERSION: kept 1.50.0.0 (queue-claimed slot, MINOR over base)
- package.json: synced to 1.50.0.0
- CHANGELOG.md: stacked 1.50 (this branch) above 1.48 (from main)
Regenerated all SKILL.md files so the v1.48 AskUserQuestion split
preamble rule renders alongside our v1.50 {{BRAIN_PREFLIGHT}} +
{{BRAIN_CACHE_REFRESH}} + {{BRAIN_WRITE_BACK}} placeholders.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -68,6 +68,21 @@ do_check() {
|
||||
return;
|
||||
}
|
||||
|
||||
// Split-chain carve-out: per-option calls in N-option splits emit
|
||||
// question_ids of the form <skill>-split-<option-slug>. These are
|
||||
// NEVER AUTO_DECIDE-eligible regardless of stored preferences — the
|
||||
// whole point of splitting is restoring user sovereignty over the
|
||||
// option set. See scripts/resolvers/preamble/generate-ask-user-format.ts
|
||||
// \"Handling 5+ options — split, never drop\" for the surrounding
|
||||
// mechanism that generates these ids.
|
||||
if (/-split-/.test(qid)) {
|
||||
console.log('ASK_NORMALLY');
|
||||
if (pref === 'never-ask' || pref === 'ask-only-for-one-way') {
|
||||
console.log('NOTE: split-chain per-option calls always ASK_NORMALLY; your ' + pref + ' preference does not apply to options inside a sequential split.');
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
switch (pref) {
|
||||
case 'never-ask':
|
||||
console.log('AUTO_DECIDE');
|
||||
|
||||
Reference in New Issue
Block a user