feat: gstack-decision-learn — calibrate /autoplan from user overrides#378
feat: gstack-decision-learn — calibrate /autoplan from user overrides#378HMAKT99 wants to merge 1 commit intogarrytan:mainfrom
Conversation
Reads Decision Audit Trail tables from past /autoplan runs, identifies decisions users consistently override, and writes a calibration file at ~/.gstack/decision-calibration.json. Future /autoplan runs can reference this to calibrate auto-decisions toward the user's actual preferences. Usage: gstack-decision-learn # analyze and write calibration gstack-decision-learn --show # print current calibration gstack-decision-learn --reset # clear learned patterns
|
Cool idea — learning from user overrides is the right instinct. I'm working on something related in PR #405 ( These could work well together: /meditate surfaces what the user cares about, decision-learn calibrates how autoplan should respond to those preferences. Happy to coordinate if both land. |
|
Thanks for building this! Closing — decision-learn (calibrating autoplan from overrides) is an interesting idea but premature. We need more users actively using autoplan before we build a learning layer on top of it. If this becomes a real pain point we'll revisit. Appreciate the forward thinking! |
Summary
~/.gstack/decision-calibration.json$ gstack-decision-learn Analyzed 12 autoplan runs, 184 decisions, 23 overrides. LEARNED PATTERNS (3): scope_expansion_auth — overridden 4/4 (100% override rate) test_defer_never — overridden 6/8 (75% override rate) codex_disagree_trust — overridden 5/7 (71% override rate) Wrote: ~/.gstack/decision-calibration.json1 file, 156 lines
bin/gstack-decision-learn— bash + inline Python. Parses existing audit trails.Test plan
--showprints current calibration (or empty default)--resetclears calibration file