Skip to content

chore: fill or remove RSR template placeholders - #51

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

chore: fill or remove RSR template placeholders#51
hyperpolymath merged 5 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:47
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 guix.scm
Comment thread guix.scm
@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 occurred due to an A2ML validation error from a missing required identity field in a manifest file, and a CodeQL analysis failure because no valid JavaScript/TypeScript code was found to process.

Overview

Two distinct job failures were identified in the CI logs: an A2ML manifest validation check failure due to missing required identity fields, and a CodeQL database finalization failure because the repository contained no processable JavaScript or TypeScript code.

Failures

A2ML Manifest Validation Failure (confidence: high)

  • Type: test
  • Affected jobs: 90326719049
  • Related to change: yes
  • Root cause: The validation script .githooks/validate-a2ml.sh reported 1 error (Missing required identity field (agent-id, name, or project)) in the scanned .a2ml manifest files.
  • Suggested fix: Inspect the modified or newly added .a2ml files and ensure that all required identity fields (agent-id, name, or project) and SPDX-License-Identifier headers are correctly populated.

CodeQL JavaScript Analysis Failure (confidence: high)

  • Type: build
  • Affected jobs: 90326719575
  • Related to change: yes
  • Root cause: CodeQL could not process any code written in JavaScript/TypeScript because the extracted files were either empty or contained syntax errors, causing database finalize to exit with code 32.
  • Suggested fix: Review the CodeQL configuration for the repository or verify whether JavaScript/TypeScript analysis should be excluded if the repository does not contain JS/TS source code.

Summary

  • Change-related failures: 2 failures (one A2ML validation error and one CodeQL configuration/analysis error related to repository contents)
  • Infrastructure/flaky failures: 0
  • Recommended action: Fix the missing identity field in the .a2ml manifest file and check whether the CodeQL workflow needs adjustment for JavaScript/TypeScript analysis on this repository structure.
Code Review ✅ Approved 2 resolved / 2 findings

Fills and removes RSR template placeholders to satisfy OpenSSF compliance checks while fixing advisory URLs, but the guix.scm update introduces a repository mislabeling issue and a license conflict between the header and the SPDX identifier.

✅ 2 resolved
Bug: guix.scm mislabels methodologies repo as squisher-corpus

📄 guix.scm:2 📄 guix.scm:10 📄 guix.scm:14 📄 guix.scm:15 📄 guix.scm:16
In the methodologies repository, guix.scm now sets name, synopsis, description, and home-page to "squisher-corpus" (home-page https://github.com/hyperpolymath/squisher-corpus). This appears to be a wrong-source copy from the squisher-corpus corpus and directly contradicts this PR's stated goal of removing misrouted squisher-corpus references. guix shell -f guix.scm will build/identify the wrong package. Restore the identity to methodologies: name "methodologies", synopsis/description "methodologies …", home-page https://github.com/hyperpolymath/methodologies.

Quality: guix.scm license conflicts with SPDX header

📄 guix.scm:1 📄 guix.scm:17
The file's SPDX header (line 1) declares MPL-2.0, but the package license field was changed to "PMPL-1.0-or-later" (palimpsest-license). These two license declarations now disagree, creating ambiguity about the project's actual license. Align the SPDX-License-Identifier header and the package license field so both name the intended license.

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 6fbc77e into main Jul 28, 2026
20 of 22 checks passed
@hyperpolymath
hyperpolymath deleted the fix/rsr-placeholders branch July 28, 2026 17:06
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