Repository navigation
fix(#69): audit stops on API errors, fails dangling pointers, scans workflow comments - #71
Merged
Conversation
…orkflow comments Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 23, 2026
Contributor
Author
|
This is a post-merge review. The PR merged at 2026-11-23T21:17Z without a review record. It covers the single PR commit Rubric
Defects
Non-blocking notes
Live audit (
The only failure is traverse's pin, which is not yet on v1.6.0. That bump is the maintainer's step. The workflow-comment follow-ups in the other five repos have landed, so "no prose versions" is green everywhere. |
This was referenced Nov 23, 2026
enricopiovesan
added a commit
that referenced
this pull request
Nov 24, 2026
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 #69. Fixes the gaps the fallback reviews of #68 and registry#680 found in the org audit, and the drift it could not see.
Governing Spec
no-spec-needed (governance compliance; the rules are in
docs/ai-agent-hardening.md)Project Item
Refs #69 (Project 1, In Progress,
agent:claude, claimed withclaim.sh).What Changed
has_fileand a newfetchhelper sendghstderr to a temp file. A 404 still means "absent"; any other failure (5xx, rate limit) printsaudit incomplete: GitHub API error reading <repo>/<path>and exits 2. The tags read and the workflow directory listing are covered too. Before, a transient error onCLAUDE.md,AGENTS.mdor the constitution turned the size-cap, prose and copy cells green.AGENTS.md → CLAUDE.mdrequiresCLAUDE.mdto exist.v1.3.0 of governance,1.6.0 .github), and scans the comment lines of.github/workflows/*.yml|*.yaml. Code lines (uses: ...@v1.6.0,actions/checkout@v4.2.0) are not scanned.rollout_governance.shwrote(governance $VERSION)into the header comment of every generatedcla.yml/governance.yml. It now points at.governance-versioninstead.org-audit.ymlappends audit errors to the report, so an exit-2 run does not open an issue with a partial table and no reason.[Unreleased]entry; the 1.6.0 entry now says "five" drift checks. Test script is executable.No release tag: consuming repos keep their v1.6.0 pin, and
org-audit.ymlruns the script from this branch.Live run (this branch)
traverse, registry, reference-apps, claude-skills and website now fail "no prose versions" on the
(governance v1.0.1)/(governance v1.2.0)header comment the old rollout template wrote into theircla.yml/governance.yml. repo-template and .github pass. Follow-up PRs in those five repos drop the comment (traverse's pin to v1.6.0 is still the maintainer's step).Validation
bash scripts/org/audit_compliance_test.sh: 29 checks pass. New: dangling pointer, version-before-word, workflow comment, workflow code lines not flagged, and HTTP 500 on CLAUDE.md, AGENTS.md,.governance-version,dependabot.yml, the constitution, the workflow listing and the tags (each exits 2).audit_compliance.shfails all 10 new cases.bash -non all changed scripts;org-audit.ymlparses as YAML.🤖 Generated with Claude Code