Skip to content

chore: fill or remove RSR template placeholders - #27

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

chore: fill or remove RSR template placeholders#27
hyperpolymath merged 3 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 3 commits July 26, 2026 14:36
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>
@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 governance check failed due to a banned ReScript file (`src/core/Storage.res`) violating the repository's banned_language_file rule.

Overview

1 CI failure encountered during the governance check step due to a banned language file violation (src/core/Storage.res).

Failures

Banned Language File Violation (confidence: high)

  • Type: tooling
  • Affected jobs: 90325901657
  • Related to change: yes
  • Root cause: The repository contains a ReScript file (src/core/Storage.res) which violates the repository's governance rule (cicd_rules/banned_language_file) requiring AffineScript instead of ReScript.
  • Suggested fix: Remove or rewrite src/core/Storage.res into AffineScript, or add an appropriate hypatia exemption/ignore pragma if intentional.

Summary

  • Change-related failures: 1 governance check failure due to a banned file format.
  • Infrastructure/flaky failures: 0
  • Recommended action: Remove or migrate the offending ReScript file to comply with repository governance rules.
Code Review ✅ Approved 2 resolved / 2 findings

Fills and removes RSR template placeholders to satisfy OpenSSF compliance checks, but introduces critical identity discrepancies where blocky-writer is mislabeled as squisher-corpus in guix.scm with a conflicting MPL-2.0 and PMPL-1.0-or-later license mismatch.

✅ 2 resolved
Bug: guix.scm mislabels blocky-writer as squisher-corpus

📄 guix.scm:2 📄 guix.scm:10 📄 guix.scm:14-16
In the blocky-writer repository, guix.scm was changed so name, synopsis, description and home-page all now read "squisher-corpus" (home-page https://github.com/hyperpolymath/squisher-corpus). This is exactly the cross-repo mislabeling the PR summary claims to fix — the commit "update guix.scm from squisher-corpus" copied the wrong package's metadata in. guix shell -f guix.scm will build/name the wrong package and point users to an unrelated repo. Revert name to "blocky-writer", synopsis/description accordingly, and home-page to https://github.com/hyperpolymath/blocky-writer.

Quality: License mismatch: SPDX MPL-2.0 vs guix PMPL-1.0-or-later

📄 guix.scm:1 📄 guix.scm:17-18
guix.scm line 1 declares SPDX-License-Identifier: MPL-2.0, but the license field was changed to "PMPL-1.0-or-later" pointing at the palimpsest-license repo. The two now disagree about the project's license, which is legally ambiguous for a package definition. Reconcile the SPDX header and the guix license field so they name the same license (and confirm which one is actually correct for blocky-writer).

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

@github-actions

Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 51 issues detected

Severity Count
🔴 Critical 0
🟠 High 23
🟡 Medium 28
View findings
[
  {
    "reason": "Issue in scorecard.yml",
    "type": "missing_workflow",
    "file": "scorecard.yml",
    "action": "create",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Issue in ci.yml",
    "type": "npermissions_typo",
    "file": "ci.yml",
    "action": "fix_typo",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "codeql.yml lists `language: javascript-typescript` but the repo has no source files in any CodeQL-scannable language. The analyze job will exit 'no source files' on every run. Switch the matrix to `actions` (which scans workflow files — every repo has those).",
    "type": "codeql_language_matrix_mismatch",
    "file": "codeql.yml",
    "action": "switch_codeql_matrix_to_actions",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Issue in boj-build.yml",
    "type": "missing_timeout_minutes",
    "file": "boj-build.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in casket-pages.yml",
    "type": "missing_timeout_minutes",
    "file": "casket-pages.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in casket-pages.yml",
    "type": "missing_timeout_minutes",
    "file": "casket-pages.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in ci.yml",
    "type": "missing_timeout_minutes",
    "file": "ci.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in codeql.yml",
    "type": "missing_timeout_minutes",
    "file": "codeql.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in hypatia-scan.yml",
    "type": "missing_timeout_minutes",
    "file": "hypatia-scan.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in instant-sync.yml",
    "type": "missing_timeout_minutes",
    "file": "instant-sync.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  }
]

Powered by Hypatia Neurosymbolic CI/CD Intelligence

Comment thread guix.scm
Comment thread guix.scm
@hyperpolymath
hyperpolymath merged commit b0c8e50 into main Jul 28, 2026
18 of 19 checks passed
@hyperpolymath
hyperpolymath deleted the fix/rsr-placeholders branch July 28, 2026 17:10
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