Skip to content

chore: fill or remove RSR template placeholders - #90

Merged
hyperpolymath merged 4 commits into
mainfrom
fix/rsr-placeholders
Jul 28, 2026
Merged

chore: fill or remove RSR template placeholders#90
hyperpolymath merged 4 commits into
mainfrom
fix/rsr-placeholders

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

openssf-compliance.yml fails when any of the thirteen files it checks still contains a {{PLACEHOLDER}} token. This clears them, with no invention.

  • Deleted the TEMPLATE INSTRUCTIONS (delete this block before publishing) comment — the template says to delete it, and it is where every legend line lived, so a large share of the reported tokens were the file documenting its own placeholders.
  • Filled what the repository itself supplies: owner and repo from the git remote, project name, year, forge, main branch, contact email.
  • Removed PGP and website lines. https://github.com/<user>.gpg returns HTTP 200 for every account; with no key uploaded the body is a stub reading "This user hasn't uploaded any GPG keys". No key is published for either account, and commit signing here is SSH — unrelated. The template sanctions this: "Optional: Remove sections that don't apply (e.g. PGP if you don't use it)."\n\nA security policy telling a researcher to encrypt to a key that does not exist is worse than one that does not mention encryption.\n\nWhere applicable, this also fixes a misrouted advisory URL. A previous just init copied already-filled templates out of squisher-corpus, so 51 repositories directed vulnerability reports to hyperpolymath/squisher-corpus — a repository unrelated to the code being reported, meaning the affected maintainer never saw them. Repointed from this repository's own git remote.

hyperpolymath and others added 4 commits July 26, 2026 14:50
openssf-compliance.yml fails when any of the thirteen files it checks
still contains a {{PLACEHOLDER}} token. This clears them.

Three kinds of change, no invention:

The "TEMPLATE INSTRUCTIONS (delete this block before publishing)" comment
is deleted. The template says to delete it, and it is where every legend
line lives -- so a large share of the reported tokens were the file
documenting its own placeholders, not real unfilled fields.

Tokens derivable from the repository are filled: owner and repo from the
git remote, project name, year, forge, main branch, contact email.

PGP and website lines are removed rather than filled, because nothing
true could go in them. https://github.com/<user>.gpg returns HTTP 200 for
every account; with no key uploaded the body is a stub reading "This user
hasnt uploaded any GPG keys". No key is published for either account
here, and commit signing in this estate is SSH, which is unrelated. Only
one repository in the estate has a domain, so {{WEBSITE}} likewise has no
correct value. The template sanctions this: "Optional: Remove sections
that dont apply (e.g. PGP if you dont use it)." A security policy telling
a researcher to encrypt to a key that does not exist is worse than one
that does not mention encryption.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>
Comment thread CODE_OF_CONDUCT.md
Comment thread provenance/guix.scm
Comment thread provenance/guix.scm
Comment thread SECURITY.md
Comment thread CODE_OF_CONDUCT.md
Comment thread README.adoc
@gitar-bot

gitar-bot Bot commented Jul 28, 2026

Copy link
Copy Markdown

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.
Learn more

CI failed: CI failures caused by a banned ReScript file check violation and an invalid GitHub Actions commit reference for CodeQL.

Overview

Two distinct job failures occurred in CI: a governance check failure due to a tracked ReScript test file, and a workflow configuration error failing to resolve a commit SHA for the CodeQL action.

Failures

Banned ReScript File Violation (confidence: high)

  • Type: tooling
  • Affected jobs: 90327124471
  • Related to change: no
  • Root cause: The CI validation rule cicd_rules/banned_language_file enforces that ReScript files are banned in favor of AffineScript, but provenance/crates/protocol-squisher-rescript-analyzer/tests/interop_test.res is present and tracked without an exemption.
  • Suggested fix: Remove the ReScript file, migrate it to AffineScript, or add a # hypatia:ignore cicd_rules/banned_language_file pragma / .hypatia-ignore entry if intentional.

Invalid Action Commit SHA Resolution (confidence: high)

  • Type: configuration
  • Affected jobs: 90327119195
  • Related to change: yes
  • Root cause: The GitHub Actions workflow references a commit SHA for github/codeql-action that cannot be found or does not exist.
  • Suggested fix: Update the workflow file (e.g., .github/workflows/codeql.yml) to use a valid release tag, branch, or existing commit SHA for github/codeql-action (such as @v3).

Summary

  • Change-related failures: 1 configuration failure regarding the CodeQL action SHA reference.
  • Infrastructure/flaky failures: 0 infrastructure or flaky failures.
  • Recommended action: Update the CodeQL workflow action reference and either remove or exempt the banned ReScript test file to restore CI green status.
Code Review ✅ Approved 6 resolved / 6 findings

Replaces repository template placeholders to satisfy openssf-compliance checks, but leaves multiple critical and important issues including an unaddressed placeholder in CODE_OF_CONDUCT.md, misconfigured package metadata in guix.scm, and retained PGP keys in SECURITY.md.

✅ 6 resolved
Bug: guix.scm renamed protocol-squisher -> squisher-corpus (wrong repo)

📄 provenance/guix.scm:2 📄 provenance/guix.scm:10 📄 provenance/guix.scm:14-16
This file lives in the protocol-squisher repository, yet the diff changes the package name, synopsis, description, and home-page from protocol-squisher to squisher-corpus, pointing home-page at https://github.com/hyperpolymath/squisher-corpus. This is the opposite of the PR's stated fix (repointing metadata to this repository's own remote) and misroutes the package identity to an unrelated repo. Revert these to protocol-squisher.

Quality: README cross-reference made self-referential

📄 README.adoc:58
README.adoc changes "Empirical evidence continues in squisher-corpus" to protocol-squisher, i.e. the protocol-squisher README now points readers back to the same repository they are reading, which is nonsensical for a "continues in" cross-reference. Verify the intended target repo; if the sentence is meant to point elsewhere, this edit is an over-eager find/replace.

Bug: CODE_OF_CONDUCT.md still contains {{PLACEHOLDER}} token

📄 CODE_OF_CONDUCT.md:3-17
The PR's stated goal is to eliminate the {{PLACEHOLDER}} tokens that fail the openssf-compliance check, and the template instruction block is supposed to be deleted before publishing. But this newly added file keeps the entire TEMPLATE INSTRUCTIONS (delete this block before publishing) block, including the literal {{PLACEHOLDER}} on line 7. If the compliance check scans this file it will still fail, defeating the purpose of the PR. Delete lines 3–21 (the HTML comment block) entirely.

Bug: guix.scm license changed to PMPL-1.0, contradicts SPDX header

📄 provenance/guix.scm:1 📄 provenance/guix.scm:17-18
Line 17 changes the license from MPL-2.0 to PMPL-1.0-or-later (with a palimpsest-license URL), but the SPDX header on line 1 still declares MPL-2.0. This is an unexplained license change inside a placeholder cleanup PR and leaves the file internally contradictory about its own license. Confirm the intended license and make the SPDX header and the (license ...) form agree.

Bug: SECURITY.md keeps PGP key/TBD fingerprint the PR claims to remove

📄 SECURITY.md:41-55 📄 SECURITY.md:355
The PR description states PGP lines were removed because no key is published and https://github.com/<user>.gpg returns a stub, yet SECURITY.md still advertises a PGP key download, a TBD fingerprint, and gpg import/encrypt instructions (and repeats the link under Additional Resources). This tells researchers to encrypt to a nonexistent key and leaves a TBD placeholder. Remove the PGP rows/code block and the resource link, or supply a real fingerprint.

...and 1 more resolved from earlier reviews

Tip

Comment Gitar fix CI to trigger a fix.

Options

Display: compact → Showing less information.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

@hyperpolymath
hyperpolymath merged commit 78215d1 into main Jul 28, 2026
14 of 16 checks passed
@hyperpolymath
hyperpolymath deleted the fix/rsr-placeholders branch July 28, 2026 16:17
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