rea-ci-tests-audit
MOmorluto/rea486k近 7 天新增 8,943 个 star
Diagnoses problems on an operator's own Scryer instance from the diagnostics bundle and read-only API queries. Use when an operator says Scryer is not downloading, downloads are not importing, the wrong release was grabbed, searches return nothing, the UI or login misbehaves, Scryer is slow, or an upgrade failed or is not offered.
Find the cause reading as little as possible. Diagnosis is read-only. A settings change or connection test happens only after the operator says yes. Bulk data to files; read only counts, jq extracts and capped searches.
scryer-connect first (sets SCRYER_URL, SCRYER_API_KEY;
provides ../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.curl, jq, zstd, tar.operations/ are complete for
this skill.cat a whole log,
metrics.prom or a large JSON response.extensions.code, extensions.reason, decision and import
codes), never on error or log sentences.scryer-configure-acquisition or
scryer-write-rules.Classify the symptom into one class: nothing downloads / downloads do not import / wrong release chosen / search finds nothing / UI or login / performance / upgrade. Ask one short question only if unclear. Ask for a title name when the problem is about one title.
Fetch the bundle (read-only, nothing leaves the machine):
sh "$S"/scripts/fetch-bundle.sh ./scryer-diag-1
Writes the archive and an unpacked bundle/ directory, prints the manifest
summary. Non-zero exit: read the printed reason:
HTTP_DIAGNOSTICS_AUTHENTICATION_REQUIRED → redo scryer-connect;
HTTP_DIAGNOSTICS_PERMISSION_DENIED → key's user needs Manage system
settings; HTTP_DIAGNOSTICS_BUNDLE_FAILED → continue with steps 4 and 5
only. If easier for the operator, the same bundle is in the UI under
System > Service Logs.
Read the printed manifest summary. Note omissions and truncations;
they limit what the bundle can show (meanings in references/bundle.md).
Read only this class's sections. Load references/bundle.md → "Which
sections matter per symptom" and run those jq extracts. Start with:
B=./scryer-diag-1/bundle
jq '{v: .build.version, install: .installation.kind, os: .os.family, container: .container}' "$B/environment.json"
sh "$S"/scripts/log-search.sh "$B" --summary
Query live state with this class's operations. Each response to a file, extract with jq:
G="$S"/../scryer-connect/scripts/gql.sh
sh "$G" "$S"/operations/HealthChecks.graphql > health.json
jq -r '.data.jobRuns[0].summaryJson.checks[] | select(.status != "ok") | "\(.status) \(.source): \(.message)"' health.json
Operations with variables: write them to a small JSON file, pass as second argument.
Walk the decision tree. Load references/decision-trees.md; follow
only this class's section. Load references/codes.md when a code needs
explaining.
Search logs narrowly when a step asks:
sh "$S"/scripts/log-search.sh "$B" '<regex>' WARN 40. Widen level or
pattern only if nothing matches.
Report: likely cause, evidence (codes and counts, not raw dumps), fix. For each fix say who does it: a setting change you can make after a yes, a UI path, or a host-side action the operator takes.
scryer-report-bug, pass along the bundle directory and evidence.Typical run: about 15k to 30k tokens of tool output.
A single read over about 5k tokens: filter further with jq, head or a
narrower regex instead.
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