Skip to content

ci(hypatia-scan): repin reusable to merge-commit SHA - #25

Merged
hyperpolymath merged 1 commit into
mainfrom
ci/hypatia-scan-pin-fix
May 29, 2026
Merged

hyperpolymath merged 1 commit into
mainfrom
ci/hypatia-scan-pin-fix

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

The wrapper pins to 97df762..., the PR-branch commit on standards#193 that was orphaned after squash-merge. The new pin 915139d7... is the merge-commit SHA on standards/main; file content is byte-identical.

Estate fix: ~100 repos affected by the same orphan.

Summary

Changes

RSR Quality Checklist

Required

  • Tests pass (just test or equivalent)
  • Code is formatted (just fmt or equivalent)
  • Linter is clean (no new warnings or errors)
  • No banned language patterns (no TypeScript, no npm/bun, no Go/Python)
  • No unsafe blocks without // SAFETY: comments
  • No banned functions (believe_me, unsafeCoerce, Obj.magic, Admitted, sorry)
  • SPDX license headers present on all new/modified source files
  • No secrets, credentials, or .env files included

As Applicable

  • .machine_readable/STATE.a2ml updated (if project state changed)
  • .machine_readable/ECOSYSTEM.a2ml updated (if integrations changed)
  • .machine_readable/META.a2ml updated (if architectural decisions changed)
  • Documentation updated for user-facing changes
  • TOPOLOGY.md updated (if architecture changed)
  • CHANGELOG or release notes updated
  • New dependencies reviewed for license compatibility (MPL-2.0 / MPL-2.0)
  • ABI/FFI changes validated (src/interface/abi/ and src/interface/ffi/ consistent)

Testing

Screenshots

The wrapper pins to 97df762..., the PR-branch commit on standards#193
that was orphaned after squash-merge. The new pin 915139d7... is the
merge-commit SHA on standards/main; file content is byte-identical.

Estate fix: ~100 repos affected by the same orphan.
@github-actions

Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 85 issues detected

Severity Count
🔴 Critical 2
🟠 High 10
🟡 Medium 73

⚠️ 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": "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": "unknown",
    "file": "boj-build.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 casket-pages.yml",
    "type": "unknown",
    "file": "casket-pages.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in codeql.yml",
    "type": "unknown",
    "file": "codeql.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in dependabot-automerge.yml",
    "type": "unknown",
    "file": "dependabot-automerge.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in dogfood-gate.yml",
    "type": "unknown",
    "file": "dogfood-gate.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in dogfood-gate.yml",
    "type": "unknown",
    "file": "dogfood-gate.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in dogfood-gate.yml",
    "type": "unknown",
    "file": "dogfood-gate.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  }
]

Powered by Hypatia Neurosymbolic CI/CD Intelligence

@hyperpolymath
hyperpolymath merged commit 5baf2a6 into main May 29, 2026
34 of 37 checks passed
@hyperpolymath
hyperpolymath deleted the ci/hypatia-scan-pin-fix branch May 29, 2026 04:04
hyperpolymath pushed a commit that referenced this pull request Nov 17, 2026
From CodeRabbit's second review:
- Cardinality safety is L6, not L7-10; vcl-ut Levels.idr places effects,
  temporal safety and linearity at L7-L9 and epistemic safety at L10.
- vcl-ut already defines L7-L10 with soundness lemmas; what is missing is
  reaching them from VCL text (vcl-ut #25), as ROUTE-PLAN section 4.4 says.
  Corrected in all three places.
- Recovery completes at the conflict-free fixpoint; drift is observed, can
  rise during fill, and zero conflicts implies zero drift only via R17,
  which is ASSUMED (ROUTE-PLAN section 11).
- ROUTE-PLAN 5.3 and T21: #370 landed the modules and wiring; the Fin 8
  Kleene fixpoint is not in the merged EchoPartialSection.agda and stays
  open with fibre-blind and EchoRecovery.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01J4QvDizuhJtQDcxHxM2wj8
hyperpolymath added a commit that referenced this pull request Nov 20, 2026
…84)

## Summary

Follow-up to #80. CodeRabbit's last review
arrived after #80 merged; it found one secret leak in my URL redaction
and several overclaims in the docs. This PR fixes them. Two further
CodeRabbit rounds on this PR found citation, status and level-mapping
errors in the docs; 768e3fe and 7de1d73 fix those.

## Changes

- **`container/entrypoint.sh`: secret leak.** `redact_url` treated
everything before the first `://` as the scheme, so
`VERISIMDB_URL=host?token=SECRET://x` printed the token. The prefix is
now logged only when it is a valid RFC 3986 scheme; anything else
becomes `<unparseable URL; not logged>`.
- **`container/entrypoint.sh`: whitespace-only URL.** A whitespace-only
`VERISIMDB_URL` used to be logged as a configured target.
`VeriSimDbClient::from_env_value` trims it and falls back to localhost,
so the entrypoint now gives the same fallback warning.
- **`tests/entrypoint_redaction_test.rs` (new).** Runs the real
entrypoint under `sh` and checks:
- no secret from userinfo, path, query, fragment or an invalid scheme
reaches the log;
- an unset, empty or whitespace-only URL produces the fallback warning.

  Two of the four tests fail against the previous entrypoint.
- **`README.adoc`: overclaims removed.**
- "Data can only become more consistent" is gone. The mechanised
counter-model (rung R4, `fill_can_raise_conflicts`) shows that guarded
fill can raise the conflict count.
- The invariant now reads: guarded fill is inflationary but not
monotone. Under `conflict_refl` and `winner_some`, and the axioms listed
in the ledger, the recovery model reaches a conflict-free fixpoint
within nine rounds by a lexicographic measure (R10).
- Phase 5 now lists the re-scoped checks (fixpoint, L6 gate, provenance,
drift agreement). Cardinality safety is level 6. Effects (7), temporal
safety (8), linearity (9) and epistemic safety (10) are defined in
vcl-ut but cannot be expressed from VCL text until vcl-ut #25; the
README says so in all three places it mentions those levels.
- Recovery completes at the conflict-free fixpoint, not when drift
approaches zero. Drift is observed and can rise during fill; zero
conflicts implies zero drift only through R17, which is ASSUMED.
- **`docs/ROUTE-PLAN.adoc`.**
  - R17 now sits under verisimdb `Drift.v`, matching the ledger.
  - R11 is a *planned* Creusot proof: OPEN, no source yet.
- Echo-types #370 is recorded as merged. Section 5.3, the R13 row, T19,
T21 and the issue list mark `EchoPartialSection`,
`EchoFibreIntersection` and the `EchoTruncation` wiring as done. Still
open: the `Fin 8` Kleene fixpoint (not in the merged module), the
generic `fibre-blind` lemma and the `EchoRecovery` record.

## RSR Quality Checklist

### Required

- [x] Tests pass (`cargo test`: all suites, 31 tests, including the 4
new ones)
- [ ] Code is formatted. The new test file is rustfmt-clean. `cargo fmt
--check` still reports drift in files this PR does not touch; that drift
is already on `main`.
- [x] Linter is clean (`cargo clippy --all-targets -- -D warnings`;
`shellcheck` 0.9.0 on `entrypoint.sh`)
- [x] No banned language patterns
- [x] No `unsafe` blocks
- [x] No banned functions
- [x] SPDX license headers present on all new/modified source files
- [x] No secrets, credentials, or `.env` files included

### As Applicable

- [x] Documentation updated for user-facing changes (README, route plan)

## Testing

- `cargo test`, `cargo clippy --all-targets -- -D warnings`, `shellcheck
container/entrypoint.sh`.
- Regression check: with the previous `entrypoint.sh`,
`an_invalid_scheme_prefix_is_not_logged` and
`unset_empty_and_whitespace_values_warn_about_the_fallback` fail; with
this version all four pass.
- Cross-shell check: dash, bash and busybox `sh` (the container image
uses busybox) give the same output on the invalid-scheme, blank and
userinfo cases.
- `asciidoctor` renders `README.adoc` and `docs/ROUTE-PLAN.adoc` with no
warnings beyond the optional `rouge` gem, which `main` shows too.
- CI on 768e3fe: all check suites completed with no failures, and the
SonarCloud quality gate passed. 7de1d73 changes only the two `.adoc`
files.

## Screenshots

Not applicable.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01J4QvDizuhJtQDcxHxM2wj8

---------

Co-authored-by: Claude <[email protected]>
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