chore: checkpoint assessment and inbox integration
This commit is contained in:
1 parent
88a31ba0d5
commit
5c52fd8b91
31 files changed
+4608
-181
No files matched your search
@@ -0,0 +1,12 @@
|
||||
package config
|
||||
|
||||
// loadAssessment reads narrowly scoped assessment feature gates. All gates
|
||||
// default off so configuration cannot silently grant synthetic provenance.
|
||||
func (config *Config) loadAssessment(lookup LookupEnv) error {
|
||||
enabled, err := boolOrDefault(lookup, "ASSESSMENT_DEMO_CATEGORIES_ENABLED", false)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
config.AssessmentDemoCategoriesEnabled = enabled
|
||||
return nil
|
||||
}
|
||||
Reference in new issue
Block a user