Skip to content

docs: record tech-debt audit findings (2026-05-26) - #40

Merged
hyperpolymath merged 1 commit into
mainfrom
claude/tech-debt-2026-05-26
May 28, 2026
Merged

docs: record tech-debt audit findings (2026-05-26)#40
hyperpolymath merged 1 commit into
mainfrom
claude/tech-debt-2026-05-26

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Adds docs/tech-debt-2026-05-26.md with this repo's findings from the estate-wide tech-debt scan: proof debt, licence debt, documentation debt.

This file records the findings only — it does not close the debt.

Cross-references:

Description

Type of Change

  • 🐛 Bug fix (non-breaking change that fixes an issue)
  • ✨ New feature (non-breaking change that adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to change)
  • 📖 Documentation update
  • 🎨 Code style/refactoring (no functional changes)
  • ⚡ Performance improvement
  • 🔒 Security fix
  • 🧪 Test updates
  • 🔧 Configuration/infrastructure changes

Related Issues

Closes #
Related to #

Changes Made

Testing

Test Environment

  • Ruby version:
  • Rails version:
  • Database:
  • Browser (if applicable):

Test Steps

Test Results

  • All existing tests pass
  • New tests added for new functionality
  • Manual testing completed
  • No regressions detected

Screenshots

Checklist

Code Quality

  • My code follows the project's coding standards
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings or errors
  • I have added SPDX license headers to all new files

Testing

  • I have added tests that prove my fix/feature works
  • New and existing unit tests pass locally
  • I have tested on multiple browsers/devices (if applicable)

Documentation

  • I have updated relevant documentation (README, CONTRIBUTING, etc.)
  • I have updated CHANGELOG.md with notable changes
  • I have added/updated code comments where necessary
  • API documentation is updated (if applicable)

Security

  • No security vulnerabilities introduced
  • Sensitive data is properly handled
  • Input validation is implemented
  • No debugging code (console.log, binding.pry, etc.) left in

Database

  • Database migrations are reversible
  • Migrations tested on a copy of production data (if applicable)
  • No destructive changes without confirmation

Performance

  • No significant performance degradation
  • Database queries are optimized (no N+1 queries)
  • Large files/data handled efficiently

Additional Context

Reviewer Notes


By submitting this pull request, I confirm that:

  • I have read and agree to the Code of Conduct
  • I have read the Contributing Guidelines
  • My contribution is original or properly attributed
  • I agree to license my contribution under GPL-3.0-or-later

Adds docs/tech-debt-2026-05-26.md with this repo's findings from the
estate-wide tech-debt scan: proof debt, licence debt, documentation
debt.

This file records the findings only — it does not close the debt.

Cross-references:
- hyperpolymath/standards#195 (estate proof-debt audit)
- hyperpolymath/standards#196 (estate licence-debt audit)
- hyperpolymath/standards#197 (estate documentation-debt audit)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 82 issues detected

Severity Count
🔴 Critical 1
🟠 High 5
🟡 Medium 76

⚠️ Action Required: Critical security issues found!

View findings
[
  {
    "reason": "Action perpolymath/standards/.github/workflows/governance-reusable.yml@main\n needs attention",
    "type": "unpinned_action",
    "file": "governance.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "No permissions declaration -- add permissions: read-all",
    "type": "missing_permissions",
    "file": "gleam-ci.yml",
    "action": "add_permissions",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "No permissions declaration -- add permissions: read-all",
    "type": "missing_permissions",
    "file": "language-policy.yml",
    "action": "add_permissions",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "No permissions declaration -- add permissions: read-all",
    "type": "missing_permissions",
    "file": "rescript-deno-ci.yml",
    "action": "add_permissions",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "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 casket-pages.yml",
    "type": "unknown",
    "file": "casket-pages.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in casket-pages.yml",
    "type": "unknown",
    "file": "casket-pages.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in ci.yml",
    "type": "unknown",
    "file": "ci.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in ci.yml",
    "type": "unknown",
    "file": "ci.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in ci.yml",
    "type": "unknown",
    "file": "ci.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  }
]

Powered by Hypatia Neurosymbolic CI/CD Intelligence

@hyperpolymath
hyperpolymath merged commit 40cee40 into main May 28, 2026
16 of 24 checks passed
@hyperpolymath
hyperpolymath deleted the claude/tech-debt-2026-05-26 branch May 28, 2026 23:54
@hyperpolymath
hyperpolymath restored the claude/tech-debt-2026-05-26 branch June 8, 2026 12:03
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