feat(security): promote Security Scan out of Labs#420
Merged
Conversation
…achinery removed Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
graydawnc
added a commit
to AmagiDDmxh/spool
that referenced
this pull request
Jul 15, 2026
VITE_FEATURE_SECURITY and VITE_FEATURE_SHARE were removed when Security Scan (paperboytm#420) and Share (paperboytm#422) were promoted out of Labs; VITE_FEATURE_SHAREPUBLISH is the only flag still read by featureFlags.ts. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
graydawnc
added a commit
to AmagiDDmxh/spool
that referenced
this pull request
Jul 15, 2026
* perf: remove unused packaged ONNX runtime * chore(build): drop retired feature flags from the app build cache key VITE_FEATURE_SECURITY and VITE_FEATURE_SHARE were removed when Security Scan (paperboytm#420) and Share (paperboytm#422) were promoted out of Labs; VITE_FEATURE_SHAREPUBLISH is the only flag still read by featureFlags.ts. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Co-authored-by: Chen <99816898+donteatfriedrice@users.noreply.github.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Security Scan graduates from a Labs experiment to a standard, always-on feature. After a month in Experimental with no problem reports, the two gating layers are removed:
VITE_FEATURE_SECURITY/securityBuildCapable()(renderer + main-process mirror). The Security code now compiles into every build; the env var is dropped fromrelease.ymland thetest:e2escript.agents.jsonsecurityEnabled, itssecurityEnabledCachemirror, theapplySecurityEnabledSeeddefault-on seeding, and the live boot/teardown transition in thespool:ai-set-configIPC (teardownSecurityhad no other caller and is deleted; the quit path keeps usingshutdownScanWorker).Every surface gate (
useSecurityEnabledin Sidebar, SecurityPage, SettingsPanel, SessionDetail/RiskPill, SessionRow badge, ProjectView, SecurityPane, FindingsStrip) is removed, and the scan worker now boots unconditionally at startup. Thelabs.security.*strings are removed from all 7 locales.Per-surface controls in Settings → Security (Privacy Filter, blur prefs, row risk icon, auto-rescan) are untouched — those are feature settings, not the experiment gate.
Behavior notes
securityEnabled: falsekey is now ignored (left in place on disk, harmless). This is the intended semantics of removing the switch.securityBootedguard still protects the brief pre-boot window in the PF auto-activation path; it is no longer resettable since live teardown is gone.Test plan
securityBuildCapable/resolveSecurityEnabled/applySecurityEnabledSeed, −14 tests); app unit suite green at 468.agents.jsonopt-in seed, and nolabs-row-securityin the Labs tab. The e2e launch helper no longer seeds the opt-in, so all ~20security-*.spec.tsspecs now exercise the always-on path.🤖 Generated with Claude Code