rea-ci-tests-audit
MOmorluto/rea486k近 7 天新增 8,943 个 star
Reads and changes the settings that decide where Scryer gets releases and which it takes, through the API after the setup wizard - indexers, download clients, per-scope routing, quality profiles and delay profiles - showing every change before it is made. Use when an operator wants to add, edit, enable, disable, reprioritise or test an indexer or download client, set categories or remote path mappings, tune quality or upgrade rules, or change delays.
Exact, reviewed writes. Reads are safe. Every write and every connection test is shown to the operator first and waits for a yes.
scryer-connect first (sets SCRYER_URL, SCRYER_API_KEY;
provides ../scryer-connect/scripts/gql.sh, below
G="$S"/../scryer-connect/scripts/gql.sh).S = this skill's directory (absolute). Work in a separate directory the
operator agrees to, so output never lands inside the skill. Secret-bearing
files go in a private subdirectory of it.jq.operations/ are complete for this
skill.references/plugin-config-fields.md).scripts/add-secret.sh. Never ask for a secret in the conversation, never
print one, never put one on a command line.extensions.reason / extensions.code, never the error sentence
(references/refusal-codes.md).config (non-secret keys),
indexer routing, download-client routing. Always send the complete set.replaceExisting: false.Pick the area; load only its reference:
references/indexers.mdreferences/download-clients.mdreferences/quality-profiles.mdreferences/delay-profiles.mdAdding an indexer or client also needs references/plugin-config-fields.md.
Read current state with the area's read operation, save it:
sh "$G" "$S"/operations/<Read>.graphql [vars.json] > current.json. Show a
one-line-per-item summary, not raw JSON.
Agree on the change in plain terms. Ask only for values not given. For secrets, operator writes the value to a file (or exports a variable) and gives you the path or name.
Build the variables file from stored state, changing only requested
fields (scripts/config-to-input.sh for config arrays,
scripts/add-secret.sh for secrets, jq for the rest).
Test before saving where supported (indexers, download clients). A test contacts the remote service; ask first. Testing a saved indexer by id also updates its stored capabilities and last error.
Show the change: sh "$S"/scripts/show-change.sh before.json vars.json.
Present its lines as before/after. Add a plain note for anything with wider
effect:
(removed) in config or routingremoveCompleted or removeFailed turned on (Scryer removes items from
the download client); needs its own explicit yesWrite: sh "$G" "$S"/operations/<Write>.graphql vars.json > result.json.
Non-zero exit: look up the reason in references/refusal-codes.md,
explain, back to step 3.
Confirm: re-run the read; show changed fields only.
Hand back secret files. Tell the operator which local files hold a
secret (their secret file and any *.json built by add-secret.sh) so
they can dispose of them. Do not remove them yourself.
config-to-input.sh warns keys would be dropped.scryer-write-rules). Give the UI area instead.scryer-report-bug.MOmorluto/rea486k近 7 天新增 8,943 个 star
MOmorluto/rea486k近 7 天新增 8,943 个 star
MAmattpocock/skills337k近 7 天新增 4,978 个 star
MAmattpocock/skills337k近 7 天新增 4,978 个 star
MAmattpocock/skills337k近 7 天新增 4,978 个 star