You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
plan-tune: machine-picked answers (spawned-env-deny, auto-decided) still train the profile #3444
Follow-up from the /ship review of #3397 (pre-existing on main).
gstack-question-log says spawned-env-deny rows are tagged "so /plan-tune never trains on machine picks as if a human made them", but accumulateSignals in bin/gstack-developer-profile never reads source, so --derive trains on them whenever user_choice is a signal key. auto-decided rows (the PreToolUse hook replaying a stored preference) reinforce the dimension that produced the preference, a feedback loop. With #3397's per-day bound, a daily unattended run can still use the whole bound every day.
Suggested fix: skip spawned-env-deny rows in accumulateSignals (and in sample_size); decide whether auto-decided rows count.
Drove the real hosts/claude/hooks/question-preference-hook in spawned mode (GSTACK_SESSION_KIND=spawned CONDUCTOR_PORT=1) ten times with a registered question (<gstack-qid:plan-ceo-review-mode>, signal key scope-appetite) and ordinary letter-prefixed option labels (A) Scope expansion: … (recommended), B) …). Each spawned-env-deny row logs the stripped label as user_choice (A) Scope expansion: build the full version). The question log maps labels to option keys only for source=hook, so these rows never match a SIGNAL_MAP key. After --derive: scope_appetite 0.5, signal_events 0.
The only way to get training was to make the option label literally the key (expand (recommended)): ten rows then moved scope_appetite to 0.545. Skills don't label options that way. The never-ask auto-decided path logs the same stripped label, so it has the same limit.
What's left is cosmetic. Machine rows still count toward sample_size and the diversity counts, but /plan-tune treats the inferred profile as advisory display only ("The profile never changes defaults"), and its calibration gate also needs signal_events > 0. Reopen with a case where a real writer logs an option key for a machine pick and I'll pick it up.
Activity
capy-ai commentedon Oct 31, 2026
Triage from the GStack Minder plan-tune lane (GSTA-216): dropping this one, because the main claim doesn't reproduce with the real writer.
What I tried, on main at 3bfe566:
hosts/claude/hooks/question-preference-hookin spawned mode (GSTACK_SESSION_KIND=spawned CONDUCTOR_PORT=1) ten times with a registered question (<gstack-qid:plan-ceo-review-mode>, signal keyscope-appetite) and ordinary letter-prefixed option labels (A) Scope expansion: … (recommended),B) …). Eachspawned-env-denyrow logs the stripped label asuser_choice(A) Scope expansion: build the full version). The question log maps labels to option keys only forsource=hook, so these rows never match a SIGNAL_MAP key. After--derive:scope_appetite 0.5,signal_events 0.expand (recommended)): ten rows then movedscope_appetiteto 0.545. Skills don't label options that way. The never-askauto-decidedpath logs the same stripped label, so it has the same limit.What's left is cosmetic. Machine rows still count toward
sample_sizeand the diversity counts, but/plan-tunetreats the inferred profile as advisory display only ("The profile never changes defaults"), and its calibration gate also needssignal_events > 0. Reopen with a case where a real writer logs an option key for a machine pick and I'll pick it up.