Skip to content

chore: fill or remove RSR template placeholders - #40

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

chore: fill or remove RSR template placeholders#40
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 3 commits July 26, 2026 14:48
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
CI failed: 3 CI validation failures caused by missing K9 contract magic numbers/pedigree blocks, a banned ReScript file violating governance rules, and missing identity fields in A2ML manifests.

Overview

Three distinct validation failures occurred across CI jobs, all directly related to the PR changes filling or removing RSR template placeholders and enforcing codebase compliance rules across 3 analyzed logs.

Failures

K9 Contract Validation Failure (confidence: high)

  • Type: tooling
  • Affected jobs: 90326822628
  • Related to change: yes
  • Root cause: K9 contract validation failed with 4 errors (missing K9! magic number, missing pedigree block, missing name field in pedigree) in configuration files like .machine_readable/svc/k9/examples/ci-config.k9.ncl.
  • Suggested fix: Update the K9 configuration and template files to include the 'K9!' magic number on the first non-empty line and complete pedigree blocks with all required fields.

Governance Rule Violation - Banned ReScript File (confidence: high)

  • Type: configuration
  • Affected jobs: 90326826743
  • Related to change: yes
  • Root cause: The repository contains src/web/App.res, violating the estate-wide governance rule (cicd_rules/banned_language_file) which bans ReScript files in favor of AffineScript.
  • Suggested fix: Remove or rewrite src/web/App.res using AffineScript, or declare an explicit # hypatia:ignore cicd_rules/banned_language_file pragma if intentional.

A2ML Manifest Validation Failure (confidence: high)

  • Type: build
  • Affected jobs: 90326822557
  • Related to change: yes
  • Root cause: A2ML validation failed due to a missing required identity field (agent-id, name, or project) in one or more .a2ml manifest files.
  • Suggested fix: Add the required identity fields to the .a2ml manifest files, ensuring all placeholders are fully populated.

Summary

  • Change-related failures: 3 failures (K9 contract validation error, governance restriction violation on ReScript files, and missing A2ML identity fields).
  • Infrastructure/flaky failures: 0 failures.
  • Recommended action: Fix the template placeholders in the K9 configs and A2ML manifests, and remove or migrate the banned ReScript file (src/web/App.res) to AffineScript.
Code Review ✅ Approved

Replaces OpenSSF compliance template placeholders with actual repository metadata and removes unused PGP and website lines. No issues found.

Auto-approved and auto-merge armed: No blocking issues found.
Please see Auto-approve Docs for details on setting custom approval criteria. — merges when pipeline and required approvals pass.

Tip

Comment Gitar fix CI or enable auto-apply: gitar auto-apply:on

Options

Auto-apply is off → Gitar will not commit updates to this branch.
Display: compact → Showing less information.

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

Auto-apply Compact
gitar auto-apply:on         
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

@gitar-bot

gitar-bot Bot commented Jul 28, 2026

Copy link
Copy Markdown

⚠️ Gitar auto-approved this PR but could not enable auto-merge: auto-merge is disabled for this repository — enable "Allow auto-merge" in the repository settings.

@gitar-bot gitar-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gitar has auto-approved this PR and enabled auto-merge (configure)

@gitar-bot gitar-bot Bot added the gitar-approved Added by Gitar label Jul 28, 2026
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@hyperpolymath
hyperpolymath merged commit 37ad2a6 into main Jul 28, 2026
28 of 32 checks passed
@hyperpolymath
hyperpolymath deleted the fix/rsr-placeholders branch July 28, 2026 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gitar-approved Added by Gitar

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant