fix(ci): heal the three retirement-exposed check failures - #301
Conversation
- catalog.ex: fall back to the repo's own pinned schema mirror when the cartridges root has no sibling schemas/ dir (the E2E fixture catalog and ad-hoc BOJ_CARTRIDGES_PATH caches don't ship one) — BojRest.Catalog no longer crashes at boot. - aspect_tests.sh: nullglob around the Aspect-4 cartridge loop so the retired tree audits zero cartridges instead of a literal '*' failure; completeness gating lives in boj-server-cartridges. - README.md: regenerate from README.adoc per the readme-derive recipe. Also removes a stale AGPL sentence that #284 deleted from the adoc without rederiving (fail-and-tell debt, surfaced now because this PR touched the adoc). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
🏁 path-claims benchCommit NumbersHost-dependent — compare deltas across commits, not absolute values. |
🔍 Hypatia Security ScanFindings: 94 issues detected
View findings[
{
"reason": "Issue in build.yml",
"type": "missing_timeout_minutes",
"file": "build.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in pages-deploy.yml",
"type": "missing_timeout_minutes",
"file": "pages-deploy.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in push-email-notify.yml",
"type": "missing_timeout_minutes",
"file": "push-email-notify.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in instant-sync.yml",
"type": "secret_action_without_presence_gate",
"file": "instant-sync.yml",
"action": "peter-evans/repository-dispatch",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "Issue in codeql.yml",
"type": "codeql_missing_actions_language",
"file": "codeql.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "believe_me undermines formal verification (4 occurrences, CWE-704)",
"type": "believe_me",
"file": "/home/runner/work/boj-server/boj-server/src/abi/Boj/SafetyLemmas.idr",
"action": "flag",
"rule_module": "code_safety",
"severity": "critical"
},
{
"reason": "Shell execution -- validate input before passing to shell (1 occurrences, CWE-78)",
"type": "js_exec_sync",
"file": "/home/runner/work/boj-server/boj-server/mcp-bridge/lib/nickel-validator.js",
"action": "flag",
"rule_module": "code_safety",
"severity": "high"
},
{
"reason": "eval() -- arbitrary code execution (2 occurrences, CWE-94)",
"type": "js_eval",
"file": "/home/runner/work/boj-server/boj-server/mcp-bridge/lib/security.js",
"action": "flag",
"rule_module": "code_safety",
"severity": "critical"
},
{
"reason": "Deno -A grants all permissions -- use specific --allow-* flags (1 occurrences, CWE-250)",
"type": "js_deno_all_perms",
"file": "/home/runner/work/boj-server/boj-server/mcp-bridge/main.d.ts",
"action": "flag",
"rule_module": "code_safety",
"severity": "high"
},
{
"reason": "Zig @ptrCast performs unchecked pointer type conversion (1 occurrences, CWE-704)",
"type": "zig_ptr_cast",
"file": "/home/runner/work/boj-server/boj-server/ffi/zig/src/cartridge_shim.zig",
"action": "flag",
"rule_module": "code_safety",
"severity": "high"
}
]Powered by Hypatia Neurosymbolic CI/CD Intelligence |
|
Note Automatic reviews are paused because your trial's included automatic processing has been used for this period. Upgrade now, or comment "Gitar review" to run a review anytime. Code Review ✅ Approved 1 resolved / 1 findingsFixes CI check failures by updating catalog schema fallback, aspect test nullglob handling, and regenerating the README. However, the schema fallback uses a compile-time macro which becomes a no-op in release builds. ✅ 1 resolved✅ Bug: Schema fallback uses compile-time __DIR__, no-op in release
OptionsDisplay: compact → Showing less information. Comment with these commands to change the behavior for this request:
Important Your trial ends in 6 days — upgrade now to keep code review, CI analysis, auto-apply, custom automations, and more. Was this helpful? React with 👍 / 👎 | Gitar |
…adding Local pandoc 3.10 emits compact GFM tables; the readme-derive reusable runs Ubuntu 24.04's pandoc 3.1.3, which pads columns — the check diffs bytes, so the derivation toolchain version matters. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
🔍 Hypatia Security ScanFindings: 94 issues detected
View findings[
{
"reason": "Issue in build.yml",
"type": "missing_timeout_minutes",
"file": "build.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in pages-deploy.yml",
"type": "missing_timeout_minutes",
"file": "pages-deploy.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in push-email-notify.yml",
"type": "missing_timeout_minutes",
"file": "push-email-notify.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in instant-sync.yml",
"type": "secret_action_without_presence_gate",
"file": "instant-sync.yml",
"action": "peter-evans/repository-dispatch",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "Issue in codeql.yml",
"type": "codeql_missing_actions_language",
"file": "codeql.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "believe_me undermines formal verification (4 occurrences, CWE-704)",
"type": "believe_me",
"file": "/home/runner/work/boj-server/boj-server/src/abi/Boj/SafetyLemmas.idr",
"action": "flag",
"rule_module": "code_safety",
"severity": "critical"
},
{
"reason": "Shell execution -- validate input before passing to shell (1 occurrences, CWE-78)",
"type": "js_exec_sync",
"file": "/home/runner/work/boj-server/boj-server/mcp-bridge/lib/nickel-validator.js",
"action": "flag",
"rule_module": "code_safety",
"severity": "high"
},
{
"reason": "eval() -- arbitrary code execution (2 occurrences, CWE-94)",
"type": "js_eval",
"file": "/home/runner/work/boj-server/boj-server/mcp-bridge/lib/security.js",
"action": "flag",
"rule_module": "code_safety",
"severity": "critical"
},
{
"reason": "Deno -A grants all permissions -- use specific --allow-* flags (1 occurrences, CWE-250)",
"type": "js_deno_all_perms",
"file": "/home/runner/work/boj-server/boj-server/mcp-bridge/main.d.ts",
"action": "flag",
"rule_module": "code_safety",
"severity": "high"
},
{
"reason": "Zig @ptrCast performs unchecked pointer type conversion (1 occurrences, CWE-704)",
"type": "zig_ptr_cast",
"file": "/home/runner/work/boj-server/boj-server/ffi/zig/src/cartridge_shim.zig",
"action": "flag",
"rule_module": "code_safety",
"severity": "high"
}
]Powered by Hypatia Neurosymbolic CI/CD Intelligence |
✅ All code review findings resolved.
Follow-up to #300, which merged before this heal commit reached the branch — main's E2E / Aspect / readme-derive are red until this lands.
schemas/dir (the E2E fixture catalog and ad-hocBOJ_CARTRIDGES_PATHcaches don't ship one) —BojRest.Catalogno longer crashes at boot.nullglobaround the Aspect-4 cartridge loop so the retired tree audits zero cartridges instead of failing on a literal*; completeness gating lives in boj-server-cartridges.Verified locally: derived README.md is byte-identical to the check's expectation; catalog fallback path exercised by the fixture layout.
🤖 Generated with Claude Code