cicd: carve out zotpress/** from ReScript anti-pattern policy - #20
Merged
Conversation
`zotpress/` is a WordPress plugin (composer.json `type: wordpress-plugin`) shipped under `hyperpolymath/zotpress` — it runs inside the WordPress host runtime, not as estate-authored AffineScript-bound application code. Its 6 in-tree `.res` files are auto-translated TypeScript placeholders (`/* Auto-translated placeholder from TypeScript. */`) awaiting the estate-wide ReScript→AffineScript migration umbrella (`hyperpolymath/standards#252`), but failing PR #18 (`chore: purge nix per 2026-06-01 owner directive`) on `governance / Language / package anti-pattern policy` solely on these grandfathered files is noise — the PR's diff does not introduce them. This commit lands the per-file exemption mechanism documented at `hyperpolymath/standards/.github/workflows/governance-reusable.yml` lines 298-300 (`grep -qxF "${rule}:${f}" .hypatia-ignore`). Sibling `hyperpolymath/standards` PR `docs/zotpress-rescript-carveout` adds the matching row to the ReScript Exemptions table in `.claude/CLAUDE.md` (and the parallel TS / JS / npm tables) so the estate-wide rule and per-repo escape stay aligned. Files exempted: - zotpress/scripts/build-css.res - zotpress/scripts/build-js.res - zotpress/scripts/build.res - zotpress/src/js/zotpress.res - zotpress/src/rescript/Utils.res - zotpress/src/rescript/Zotpress.res Local verification (replicated workflow logic at `governance-reusable.yml:292-305`): all 6 .res files report EXEMPT. Sibling PR: hyperpolymath/standards docs/zotpress-rescript-carveout ReScript-exemption table: standards .claude/CLAUDE.md §"ReScript Exemptions (Approved)" (line 155). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
🔍 Hypatia Security ScanFindings: 64 issues detected
View findings[
{
"reason": "Action perpolymath/standards/.github/workflows/governance-reusable.yml@main\n needs attention",
"type": "unpinned_action",
"file": "governance.yml",
"action": "pin_sha",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in boj-build.yml",
"type": "missing_timeout_minutes",
"file": "boj-build.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in casket-pages.yml",
"type": "missing_timeout_minutes",
"file": "casket-pages.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in casket-pages.yml",
"type": "missing_timeout_minutes",
"file": "casket-pages.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in codeql.yml",
"type": "missing_timeout_minutes",
"file": "codeql.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in dogfood-gate.yml",
"type": "missing_timeout_minutes",
"file": "dogfood-gate.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in dogfood-gate.yml",
"type": "missing_timeout_minutes",
"file": "dogfood-gate.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in dogfood-gate.yml",
"type": "missing_timeout_minutes",
"file": "dogfood-gate.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in dogfood-gate.yml",
"type": "missing_timeout_minutes",
"file": "dogfood-gate.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in dogfood-gate.yml",
"type": "missing_timeout_minutes",
"file": "dogfood-gate.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
}
]Powered by Hypatia Neurosymbolic CI/CD Intelligence |
hyperpolymath
added a commit
to hyperpolymath/standards
that referenced
this pull request
Jun 2, 2026
Mirrors hyperpolymath/hyperpolymath#20. Adds `zotpress/**` to the ReScript Exemptions table in `.claude/CLAUDE.md` as an upstream-fork carve-out. This formalises the per-repo `.hypatia-ignore` entry estate-wide so future-cloned hypatia instances inherit the rule via `hypatia/scanner_suppression` without needing per-repo configuration. zotpress is an upstream WordPress plugin fork (`hyperpolymath/hyperpolymath/zotpress`) — not estate-authored, kept in tree as a vendored fork. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.hypatia-ignorewith 6 per-file exemptions forzotpress/**/*.resunder thecicd_rules/banned_language_filerule.chore: purge nix per 2026-06-01 owner directive) which is currently red ongovernance / Language / package anti-pattern policyfor these 6 grandfathered files that the PR's diff does not touch.Rationale
zotpress/is a WordPress plugin (composer.jsontype: wordpress-plugin) that runs inside the WordPress host runtime — not estate-authored AffineScript-bound application code. The 6 in-tree.resfiles are auto-translated TypeScript placeholders (each carrying/* Auto-translated placeholder from TypeScript. */) awaiting the estate-wide ReScript→AffineScript migration umbrella (hyperpolymath/standards#252).The per-file
.hypatia-ignoremechanism is the workflow's documented escape (hyperpolymath/standards/.github/workflows/governance-reusable.ymllines 298-300,grep -qxF).Files exempted
Sibling PR
hyperpolymath/standardsbranchdocs/zotpress-rescript-carveoutaddszotpress/**to the upstream-fork/WordPress-plugin row of the ReScript Exemptions table in.claude/CLAUDE.md(and parallel TS / JS / npm tables) so the estate-wide manifest stays in sync with this per-repo escape.Test plan
is_exempt()from governance-reusable.yml:292-305) — all 6.resfiles report EXEMPT.governance / Language / package anti-pattern policyjob passes on this PR.Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com