You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Splitting these out of #84 (test-coverage work) so feature PRs aren't blocked by inherited main failures. All of the below reproduce on main and are independent of any single PR's diff.
1. governance / Language / package anti-pattern policy — failing
Flags committed ReScript (.res) files as a banned language ("use AffineScript instead"):
Options: port to AffineScript, or add an exemption via .hypatia-ignore / inline # hypatia:ignore cicd_rules/banned_language_file pragma if these are intentionally ReScript.
The validator (jq fallback in the hyperpolymath/standards reusable workflow) requires .hypatia-baseline.json to be an array of finding objects:
type == "array" and all(.[]; has("severity") and has("rule_module") and has("type") and (has("file") or has("file_pattern")))
The committed .hypatia-baseline.json is an object ({ "_comment": ..., "fingerprints": [] }), so type == "array" is false and the step exits 1. The baseline format and the validator's expected schema have diverged — they need reconciling (update the baseline to the array schema, or align the validator/schema in hyperpolymath/standards).
3. Hypatia scan workflow_audit findings (advisory comment on PRs)
unpinned_action: governance.yml uses hyperpolymath/standards/.github/workflows/governance-reusable.yml@main (not SHA-pinned). Note the repo's own hooks/validate-sha-pins.sh also flags this.
Splitting these out of #84 (test-coverage work) so feature PRs aren't blocked by inherited
mainfailures. All of the below reproduce onmainand are independent of any single PR's diff.1.
governance / Language / package anti-pattern policy— failingFlags committed ReScript (
.res) files as a banned language ("use AffineScript instead"):frontier-practices/agents/{Blue,Green,Indigo,Orange,Red,Violet,Yellow}Agent.res,frontier-practices/agents/Types.resfrontier-practices/tools/RevealSystem.resOptions: port to AffineScript, or add an exemption via
.hypatia-ignore/ inline# hypatia:ignore cicd_rules/banned_language_filepragma if these are intentionally ReScript.2.
governance / Validate Hypatia baseline— failingThe validator (jq fallback in the
hyperpolymath/standardsreusable workflow) requires.hypatia-baseline.jsonto be an array of finding objects:The committed
.hypatia-baseline.jsonis an object ({ "_comment": ..., "fingerprints": [] }), sotype == "array"is false and the step exits 1. The baseline format and the validator's expected schema have diverged — they need reconciling (update the baseline to the array schema, or align the validator/schema inhyperpolymath/standards).3. Hypatia scan
workflow_auditfindings (advisory comment on PRs)unpinned_action:governance.ymluseshyperpolymath/standards/.github/workflows/governance-reusable.yml@main(not SHA-pinned). Note the repo's ownhooks/validate-sha-pins.shalso flags this.missing_timeout_minuteson several workflows:cflite_batch.yml,cflite_pr.yml,checker-scaling.yml,codeql.yml,governance.yml,hypatia-scan.yml. (The newcoverage.ymlfinding has already been addressed in test: conformance suite, workspace coverage CI, and testing roadmap #84.)Suggested actions
.hypatia-ignore.hypatia-baseline.jsonshape with the validator schema@mainis required)timeout-minutesto the listed workflowshttps://claude.ai/code/session_014uKLLhZiAGNayhLjdxGXUx