Skip to content

fix(ci): close remaining review findings from #1285 - #1291

Merged
hyperpolymath merged 1 commit into
mainfrom
arena/961150e0-standards
Oct 19, 2026
Merged

hyperpolymath merged 1 commit into
mainfrom
arena/961150e0-standards

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Follow-up to #1285, which was merged as cf8f912 while these final review findings were still outstanding.

Changes

  • Accept safe upstream tag names containing @ (for example, release@2026) and add an offline regression fixture. The existing build-metadata (+) case remains covered.
  • Use Bash [[ ... ]] in the conditions flagged by Sonar, and retain the explicit fail-closed identity refusal when either identity grep has no matches. Add regression cases for missing local and source identity fields.
  • Set persist-credentials: false on all seven mirror reusable checkout steps, addressing the Zizmor artipacked warning; mirror pushes use their explicit external credentials.

The paginated fail-closed tag lookup and the scanner lock-section boundary fix were already included in #1285.

Validation

  • scripts/tests/close-lock-test.sh: 26 passed
  • scripts/tests/relock-standards-pin-test.sh: passed, including both missing-identity cases
  • tests/test_secret_scanner_no_inherit.sh: passed (77 workflows, 60 lock sections)
  • scripts/tests/relock-sha-keys-test.sh: 12 passed
  • scripts/tests/complete-job-refs-test.sh: 16 passed
  • scripts/tests/regen-dependabot-locks-test.sh: 59 passed
  • bash -n and git diff --check: passed

The two local suites requiring yq (lock-selfcheck-test.sh and validate-actions-lock-test.sh) could not run in this environment because yq is not installed; the corresponding lock/self-consistency checks passed on #1285.

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-19T08:40:42.907454Z d872a34 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 38 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: b66afe92-2b88-4222-b829-27feff178c21
📥 Commits

Reviewing files that changed from the base of the PR and between cf8f912 and d872a34.

📒 Files selected for processing: 5
  • .github/workflows/mirror-reusable.yml
  • scripts/close-lock.sh
  • scripts/relock-standards-pin.sh
  • scripts/tests/close-lock-test.sh
  • scripts/tests/relock-standards-pin-test.sh
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown
Contributor

DEED–K9 green

🟢 conformant · commit d872a34b89af · run 39224219751

Category Status Pass Fail Indeterminate N/A Since previous revision
DEED syntax 🟢 conformant 4 0 0 0 — no comparable baseline
K9 contract typecheck 🟢 conformant 1 0 0 0 — no comparable baseline
K9 validator self-test 🟢 conformant 34 0 0 0 — no comparable baseline
K9 positive/negative controls 🟢 conformant 27 0 0 0 — no comparable baseline
K9 live corpus (L0–L2) 🟢 conformant 12 0 0 2 — no comparable baseline
K9 live corpus (L0–L2): 2 finding(s) / scope notes
  • 2-protocols/k9-coordination/examples/minimal.k9 — not_applicable: Routed to another dialect; not validated as a K9 contract.
  • coordination.k9 — not_applicable: Routed to another dialect; not validated as a K9 contract.

Scope: DEED syntax and K9 contracts L0–L2. L3 signature verification and routed coordination dialects are not certified. Green is limited to this scope. Orange is missing evidence; grey is an explicit scope exclusion. Logs and report.json are in the dated conformance-evidence artifact on the linked run.

@hyperpolymath
hyperpolymath merged commit 86484d3 into main Oct 19, 2026
69 checks passed
@hyperpolymath
hyperpolymath deleted the arena/961150e0-standards branch October 19, 2026 09:04
hyperpolymath added a commit that referenced this pull request Oct 19, 2026
…1305)

## Summary

Follow-up to #1239. SonarCloud's quality gate passed on #1239 but
reported **1 new issue**. The session that wrote #1239 could not open
the finding, because its proxy blocks sonarcloud.io.

The only conditional #1239 added is `if [ "$got" = "0" ]` in
`scripts/tests/apply-baseline-test.sh`, the guard that keeps an
`invalid_actions_lock` ack out of the shipped baseline. #1291 answered
the same Sonar rule elsewhere in this repo with Bash `[[ ... ]]`, so
this PR does the same to this one line:

```diff
-  if [ "$got" = "0" ]; then
+  if [[ "$got" == "0" ]]; then
```

The rest of the file is unchanged.

## Testing

| Check | Result |
|---|---|
| `bash scripts/tests/apply-baseline-test.sh` | 52 passed, 0 failed |
| Mutation: an `invalid_actions_lock` ack restored to a copy of
`.hypatia-baseline.json` | 2 FAIL, exit 1. The guard still fails on its
target. |
| `.githooks/pre-commit` and `commit-msg` | passed, including gitleaks,
SPDX and validate-actions-lock |

**Unconfirmed:** I could not read the Sonar finding itself, so this PR's
Sonar run is the confirmation. If Sonar still reports a new issue here,
it was something else and I'll follow up.

---
_Generated by [Claude
Code](https://claude.ai/code/session_01TbbnKqskQA5mj5gfMniPzi)_

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant