Skip to content

fix(rsr-oracle): accept the standards repository under either name - #1004

Merged
hyperpolymath merged 1 commit into
mainfrom
claude/eager-wright-zwwbe2-rsr-oracle-standards
Nov 4, 2026
Merged

hyperpolymath merged 1 commit into
mainfrom
claude/eager-wright-zwwbe2-rsr-oracle-standards

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Summary

rsr-oracle.yml refused the standards canon under its current name. The repository moved from hyperpolymath/standards to metadatastician/standards on 2026-10-25, but the oracle's "Validate the standards source" step still allowed only hyperpolymath/standards, and the input default named it too. So a consumer passing the new name was refused, and the default only worked through GitHub's redirect.

Before After
standards-repository default hyperpolymath/standards metadatastician/standards
Guard accepts the old name only, exact case either name, any case (GitHub resolves owner/repo case-insensitively)
SSOT checkout repository: the raw input the guard's output, which is always the canonical name
Another owner, a fork, an empty value refused still refused

The checkout now reads steps.standards_source.outputs.repository, so a caller still on the old name is checked out under the current one. The canon can't drift to a look-alike, and nothing depends on the redirect.

I've updated docs/consumers/rsr-oracle.adoc to match.

Type of change

  • 🐛 Bug fix (the canon was refused under its current name)

How has this been verified?

  • I extracted the guard and ran it on 18 combinations of 6 names × 3 refs:
    • metadatastician/standards, hyperpolymath/standards and Hyperpolymath/Standards all pass with an empty ref or a SHA, and all write repository=metadatastician/standards.
    • attacker/standards, hyperpolymath/standards-fork and an empty name all fail.
    • main is still refused for every name.
  • actionlint: findings are identical to main. The 9 pre-existing ones are all job.workflow_* contexts that this actionlint version doesn't know.
  • shellcheck -s bash on the guard: clean.
  • test/standards-integration-test.sh and test/ci-health-test.sh both exit 0.
  • actions.lock is untouched: no uses: changed.

Notes for reviewers

  • This changes the reusable's interface, but compatibly: callers passing the old name keep working.
  • Beyond this repo: generated consumer gates in rsr-template-repo and its descendants that pass standards-repository: hyperpolymath/standards can drop the input once they pin an oracle SHA that includes this change.

Checklist

  • My commits are signed. Signing is handled by the session's platform shim.
  • I ran the project's own checks/tests locally and they pass (scoped as above).
  • Docs are updated (docs/consumers/rsr-oracle.adoc, the input description, the step comment).
  • I have not introduced a soundness hole. The canon is still pinned to the one repository, now under either of its names.

Generated by Claude Code

The canon moved from hyperpolymath/standards to metadatastician/standards
on 2026-10-25. The oracle's standards-source guard accepted only the old
name and its default named it, so a caller passing the new name was
refused, while the default kept depending on GitHub's redirect.

- Default `standards-repository` to metadatastician/standards.
- Accept either name, case-insensitively, as GitHub resolves owner/repo.
- The validation step emits the canonical name, and the SSOT checkout
  uses that output rather than the raw input, so a caller still on the
  old name checks out the current repository.
- Anything else (another owner, a fork, an empty value) is still refused.
- Update the consumer guide to match.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01CYR5bf5FBLS7cXQK72aVNM
@coderabbitai

coderabbitai Bot commented Nov 4, 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 47 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
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: bb943009-c5f6-49c1-9450-cb06479de163
Commits

Reviewing files that changed from the base of the PR and between 1641553 and 2fcb2ec.

Files selected for processing: 2
  • .github/workflows/rsr-oracle.yml
  • docs/consumers/rsr-oracle.adoc
  • 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

@sonarqubecloud

sonarqubecloud Bot commented Nov 4, 2026

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath marked this pull request as ready for review November 4, 2026 22:35
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 4, 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-11-04T22:37:47.801973Z 2fcb2ec Draft marked ready
ℹ️ 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.

@hyperpolymath
hyperpolymath merged commit c0291a9 into main Nov 4, 2026
83 of 86 checks passed
@hyperpolymath
hyperpolymath deleted the claude/eager-wright-zwwbe2-rsr-oracle-standards branch November 4, 2026 22:37
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.

2 participants