chore(enforcement): wire standards#67/#68 — JS-RUNTIME-POLICY.adoc + recursive lockfile gate + propagation script#148
Merged
Conversation
- governance-reusable.yml: upgrade package-lock.json check from root-only to recursive `git ls-files` (catches monorepo sub-packages too); add bun.lockb / yarn.lock / .npmrc checks with remediation hint. - docs/JS-RUNTIME-POLICY.adoc: canonical JS runtime + npm-avoidant policy doc (referenced in issue, previously missing); includes consumer-repo audit snapshot (10 pkg-lock, 118 .editorconfig, 56 .claude/ repos). - scripts/propagate-gitignore-67-68.sh: read-only audit + --fix propagation helper; shell-only, idempotent; never auto-commits. Refs #67 Refs #68 Refs #66 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
🔍 Hypatia Security ScanFindings: 101 issues detected
View findings[
{
"reason": "Issue in quality.yml",
"type": "missing_workflow",
"file": "quality.yml",
"action": "create",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "Issue in security-policy.yml",
"type": "missing_workflow",
"file": "security-policy.yml",
"action": "create",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Action hyperpolymath/standards/.github/workflows/governance-reusable.yml@main needs attention",
"type": "unpinned_action",
"file": "governance-reusable.yml",
"action": "pin_sha",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "Action hyperpolymath/standards/.github/workflows/governance-reusable.yml@main needs attention",
"type": "unpinned_action",
"file": "governance.yml",
"action": "pin_sha",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "Python file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/standards/standards/a2ml-templates/state-scm-to-v2.py",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/standards/standards/a2ml/bindings/deno/mod.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/standards/standards/lol/test/vitest.config.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/standards/standards/k9-svc/bindings/deno/mod.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "believe_me undermines formal verification (1 occurrences, CWE-704)",
"type": "believe_me",
"file": "/home/runner/work/standards/standards/lol/src/abi/Locale.idr",
"action": "flag",
"rule_module": "code_safety",
"severity": "critical"
},
{
"reason": "Wildcard CORS -- restrict to specific origins or use env var (1 occurrences, CWE-942)",
"type": "js_wildcard_cors",
"file": "/home/runner/work/standards/standards/consent-aware-http/examples/reference-implementations/deno/aibdp_middleware.js",
"action": "flag",
"rule_module": "code_safety",
"severity": "high"
}
]Powered by Hypatia Neurosymbolic CI/CD Intelligence |
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
Closes the enforcement gap for standards#67 (package-lock.json estate-wide elimination) and standards#68 (.editorconfig/.claude/ gitignore) at the standards repo level.
governance-reusable.yml: upgrades thepackage-lock.jsoncheck from a root-only[ -f … ]test to a recursivegit ls-filesquery — catches monorepo sub-packages (e.g.boj-cartridges/*/package-lock.json). Also adds explicit bun.lockb / yarn.lock / .npmrc checks with a remediation pointer.docs/JS-RUNTIME-POLICY.adoc: canonical policy document previously missing; referenced in standards#67 acceptance criteria. Includes runtime hierarchy (Deno > Bun > pnpm > npm), hard rules, canonical.gitignoreblock, remediation recipe, and a 2026-05-19 consumer-repo audit snapshot.scripts/propagate-gitignore-67-68.sh: read-only audit tool +--fixpropagation helper. Shell-only (no Python/SaltStack), idempotent, never auto-commits or pushes.Consumer-repo audit (2026-05-19)
package-lock.json.editorconfig.claude/See
docs/JS-RUNTIME-POLICY.adocfor the full list.Template status (already done)
rsr-template-repoPR rsr-antipattern.yml: BUILTIN_GLOBS bash block stranded outside Python heredoc (exit 127) #49 merged 2026-05-16 — all 3 entries in.gitignorev3-templaterPR Purge token-in-URL git remotes; SSH-only remote policy #69 merged 2026-05-16 — all 3 entries in.gitignoreNot in this PR
scripts/propagate-gitignore-67-68.sh --fix).editorconfig/.claude/from consumer repos (separate owner-gated chore)Test plan
git ls-filescatches nested package-lock.jsonbash scripts/propagate-gitignore-67-68.sh— confirm dry-run output is valid TSVRefs #67
Refs #68
Refs #66
🤖 Generated with Claude Code