fix(skills): respect disabled approval setting - #7617
Conversation
GPT 5.6 Review (fork) — ✅ no blocking findingsReviewed Review detailsNo findings. |
Opus 4.8 Review (fork) — ✅ no blocking findingsReviewed Review detailsThe change is a minimal hot-reload block that mirrors the established No findings. [OPUS-REVIEWED] be48b6d |
First Principles Review (Fable 5, fork) — 🟡 CONCERNSPremise-level review of All evidence is in. The fix targets the single consolidator instance the gateway process holds (the orchestrator passes it into the dashboard state), follows the handler's established hot-reload pattern, and the description matches the diff. One counted sibling remains unfixed. First-Principles-Verdict: CONCERNS The fix is real and rightly shaped, but it patches one of exactly two consolidator-snapshotted patchable keys — What this change shipsIntent: make the dashboard's Skill Approval Required toggle take effect immediately instead of after a gateway restart — a FIX.
Watch
[FIRST-PRINCIPLES-REVIEWED] be48b6d |
Design Review (Fable 5, fork) — 🟡 CONCERNSDesign-level review of Design-Verdict: CONCERNS Sound fix following the handler's established hot-reload pattern, but it drops the part of that pattern that keeps it robust: the public setter. Watch
Suggestions
[DESIGN-REVIEWED] be48b6d |
be48b6d to
207ccd3
Compare
Open PR relationship auditThis is a consolidated, point-in-time code-level audit note. It compares complete merge-base diffs and current/merged code; it does not treat a shared topic as duplication or partial coverage as completion. Relationship findings
No PR, Issue, label, branch, or review state was changed by the relationship-note portion of this audit. |
Problem / Motivation
skills.approval_required=falsecould still produce New skill awaiting review notifications through two paths:HistoryConsolidatorkept the value captured at gateway startup.has_scripts: falsethat still bypassed the user's opt-out.Why it matters
The Settings UI reports that approval is disabled while users still receive approval requests for candidates containing no reviewable scripts. The notification even offers to stop requiring approval although that setting is already off.
What changed (motivation → approach → change)
skills.approval_requiredinto the active consolidator after a successful dashboard config write, matching other startup-cached settings.Tests
true → falseandfalse → trueupdate persisted config and the running consolidator.Manual verification
N/A — unit coverage exercises persisted config, in-memory runtime state, script validation, live-skill creation, and pending-queue behavior directly.
Related Issues
No linked issue: reported directly from the dashboard behavior.
Pattern harvest
Rule candidate: review-prompt
Pattern: Dashboard config patches for startup-cached settings must update the corresponding live service after persistence.
Checklist
feat|fix|docs|refactor|perf|test|chore|ci|build|revert: ...)