Skip to content

Drop a dead import in the OPA evaluator spec - #511

Merged
beyondnetPeru merged 1 commit into
developfrom
fix/opa-evaluator-dead-import
Aug 15, 2026
Merged

Drop a dead import in the OPA evaluator spec#511
beyondnetPeru merged 1 commit into
developfrom
fix/opa-evaluator-dead-import

Conversation

@beyondnetPeru

Copy link
Copy Markdown
Contributor

Claims no gap id. Deliberately: guard 50 rejected the first attempt at this because
its branch name and title both declared an id that the open promotion PR already
owns, and two open PRs claiming one gap is exactly the situation that cost a full
reconciliation session on 2026-07-30. The promotion PR owns it; this is a
follow-up.

What this is

CodeQL flagged an unused import in
opa-evaluator.spec.ts — a real finding in code I wrote earlier today, not noise.
The test that pinned the 27 unmapped policies was deleted when attribution stopped
depending on that list, and it was the only consumer of
CONTEXT_AWARE_VIOLATION_PREFIXES in the spec. The import stayed behind.

Removed rather than dismissed as acceptable. The constant is still exported and
still used in production, as the fallback path for a policy.wasm compiled before
the provenance change; what was dead is this file's reference to it.

opa-evaluator spec 19/19.

🤖 Generated with Claude Code

…or spec

CodeQL caught this on PR #509 and it is a real finding in my own code, not noise:
`GT-693` deleted the test that pinned the 27 unmapped policies, which was the only
consumer of `CONTEXT_AWARE_VIOLATION_PREFIXES` in this spec. The import stayed
behind.

Removed rather than resolved-as-acceptable. The constant is still exported and
still used in production as the fallback for a pre-GT-693 `policy.wasm`; what was
dead is this file's reference to it.

opa-evaluator spec 19/19.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@beyondnetPeru
beyondnetPeru requested a review from a team as a code owner August 15, 2026 23:06
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions

Copy link
Copy Markdown

📊 Bilingual Coverage Impact

PR Changes

  • Paired EN/ES files modified: 3
  • New EN files needing ES translation: 0

Repository Coverage

Metric Value
Total EN files 527
Total ES files 501
Paired files 0
Coverage 0%

Good: All EN changes have ES counterparts.


Generated by GitHub Actions

@beyondnetPeru
beyondnetPeru merged commit af0434c into develop Aug 15, 2026
68 of 70 checks passed
@beyondnetPeru
beyondnetPeru deleted the fix/opa-evaluator-dead-import branch August 15, 2026 23:13
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