chore(profiles): drop the dead higgsfield connector denies and their census rule
This commit is contained in:
1 parent
fc65d1e035
commit
b80da299c7
8 files changed
+15
-66
No files matched your search
@@ -1,13 +1,11 @@
|
||||
# lib/pack-census-fragments.jq — fragment invariants (lib/pack-census.sh).
|
||||
# $m = manifests [{id,on}], $deny = space-separated profiles that deny the
|
||||
# two higgsfield connectors; inputs = lib/profiles/*.json. Prints RED lines,
|
||||
# $m = manifests [{id,on}]; inputs = lib/profiles/*.json. Prints RED lines,
|
||||
# and WARN lines for a pack id with no manifest.
|
||||
def name_of: input_filename | sub(".*/"; "");
|
||||
def dn: [(.deniedMcpServers // [])[] | .serverName] | sort;
|
||||
[inputs | {f: name_of, frag: .}] as $all
|
||||
| ($all[] | select(.f == "full.json") | .frag) as $full
|
||||
| ($full.enabledPlugins | keys) as $keys
|
||||
| ($deny | split(" ") | map(. + ".json")) as $deny_files
|
||||
| ($m | map({key: .id, value: .on}) | from_entries) as $mdef
|
||||
| ($m | map(.id)) as $mids
|
||||
| ( [$all[] | {f, ep: .frag.enabledPlugins, d: (.frag | dn)}] as $s
|
||||
@@ -25,12 +23,6 @@ def dn: [(.deniedMcpServers // [])[] | .serverName] | sort;
|
||||
( ["example-skills@anthropic-agent-skills", "brightdata-plugin@synced"][]
|
||||
| select($g.enabledPlugins[.] != false)
|
||||
| "RED lib/profiles/\($f): \(.) must be false" ),
|
||||
( (["claude.ai higgsfield", "claude.ai Higgsfield AI"] | sort) as $both
|
||||
| if (($deny_files | index($f)) != null) and (($g | dn) != $both)
|
||||
then "RED lib/profiles/\($f): must deny both higgsfield connectors"
|
||||
elif (($deny_files | index($f)) == null) and (($g | dn) | length) > 0
|
||||
then "RED lib/profiles/\($f): must deny no connector"
|
||||
else empty end ),
|
||||
( if $f == "full.json" then
|
||||
($mdef | to_entries[] | select($g.enabledPlugins[.key] != .value)
|
||||
| "RED lib/profiles/full.json: \(.key) is \($g.enabledPlugins[.key])"
|
||||
|
||||
Reference in new issue
Block a user