Skip to content

plan-tune: machine-picked answers (spawned-env-deny, auto-decided) still train the profile #3444

Open

Description

@capy-ai

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.

Activity

  1. added
    bug
    S3
    on Oct 26, 2026
  2. capy-ai commented on Oct 31, 2026

    @capy-ai
    ContributorAuthor

    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:

    • 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    S3bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions