Skip to content

chore(rules): regenerate hypatia_rules_praxis.deed after #1064 - #1075

Merged
hyperpolymath merged 2 commits into
mainfrom
claude/rules-praxis-regen
Nov 13, 2026
Merged

hyperpolymath merged 2 commits into
mainfrom
claude/rules-praxis-regen

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

#1064 added the hypatia/ci_failure_triage/* rules and WF029, but it did not regenerate the A5 rule registry. Since then, Validate Documentation has failed at "Rule registry (hypatia_rules_praxis.deed) matches the code and lints", on main and on every open PR.

Change

  • hypatia_rules_praxis.deed: this is the unedited output of scripts/gen-rules-praxis.sh. It now has 234 rules: 42 new hypatia/ci_failure_triage/* rows and hypatia/workflow_audit/WF029. No existing row changes.

Checks run

  • scripts/gen-rules-praxis.sh --check fails on main (stale) and passes on this branch.
  • tests/rules-praxis-test.sh, run with the standards deed_lint.js pinned in quality.yml (bfdb066): 15 passed, 0 failed. The run includes "deed_lint.js accepts hypatia_rules_praxis.deed".

Generated by Claude Code

#1064 added the hypatia/ci_failure_triage/* rules and WF029 but did not
regenerate the A5 rule registry, so "Validate Documentation" fails at
"Rule registry (hypatia_rules_praxis.deed) matches the code and lints" on
main and every open PR. Output of scripts/gen-rules-praxis.sh (234 rules,
+43 rows, no other change). tests/rules-praxis-test.sh with the pinned
standards deed_lint.js: 15 passed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0136P7ZkGCWGEyedTtdEHAPT
Repository owner deleted a comment from coderabbitai Bot Nov 13, 2026
@hyperpolymath
hyperpolymath marked this pull request as ready for review November 13, 2026 16:46
@chatgpt-codex-connector

Copy link
Copy Markdown

This security review couldn’t start because the paying account has exhausted its Codex allowance and has insufficient available credits. The payer can check their balance and add credits in the Codex usage dashboard, then try again. If you do not manage the paying account, contact this repository's admins.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-13T16:51:37.767337Z 2f2bb71 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@sonarqubecloud

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath merged commit 4e740c1 into main Nov 13, 2026
87 of 88 checks passed
@hyperpolymath
hyperpolymath deleted the claude/rules-praxis-regen branch November 13, 2026 16:48

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2f2bb71947

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread hypatia_rules_praxis.deed
:status active)
;; defaulted: class excusable-at scope-form
(rule-def
:id "hypatia/workflow_audit/WF029"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Remove the phantom WF029 registry identity

This registers hypatia/workflow_audit/WF029, but WF029 explicitly declares rule_id: "hypatia/ci_failure_triage/always_after_cancel" in WorkflowAudit.check_always_after_cancel/1, and the CLI preserves that A5 identity when producing SARIF. Consequently, registry consumers can discover or configure an exemption for a second rule ID that Hypatia never emits, while treating one detector as two unrelated rules. Update the generator to honor the explicit A5 rule_id and regenerate without this row.

Useful? React with 👍 / 👎.

Comment thread hypatia_rules_praxis.deed
Comment on lines +550 to +552
:id "hypatia/ci_failure_triage/runner_cancelled"
:text "The run was cancelled (a newer push, concurrency, or a person)."
:class gate

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Mark no-action triage outcomes as advisory

This declares runner_cancelled as a gate even though its source rule has action: :none, explicitly describes cancellation as not a failure, and makes Mix.Tasks.Hypatia.CiTriage exit successfully; review_rate_limited and review_quota_exhausted are likewise added as gates despite also having action: :none. Any consumer enforcing the praxis registry can therefore block on outcomes that Hypatia itself classifies as noise. Preserve that distinction by generating these no-action rules as advisory rather than defaulting them to gates.

Useful? React with 👍 / 👎.

hyperpolymath added a commit to hyperpolymath/proven-cicd-and-workflows that referenced this pull request Nov 14, 2026
… checks it (#113)

## What

hyperpolymath/hypatia#1075 put the `ci_failure_triage` rules into
`hypatia_rules_praxis.deed`, but `proven/registry/sq-map.tsv` still
listed every one of them as `praxis: absent`. The cross-check that would
have caught this runs only when `HYPATIA_PRAXIS` is set, and no workflow
set it.

- **24 rows** change from `absent` to `present`.
- **2 rows named the wrong module.** Hypatia emits `actions_lock_stale`
and `mirror_without_visibility_guard` (WF030) from `workflow_audit`, not
`ci_failure_triage`. You can confirm this in
`lib/rules/workflow_audit.ex` (`rule_id: "hypatia/workflow_audit/…"`),
and the evidence column of Hypatia's coverage matrix agrees. Their
`a5_id` is corrected, and both are now present. All 26 A5 rows are
`present`.
- **CI now runs the cross-check.** `code-hygiene-self-test` fetches the
registry at a pinned Hypatia commit (`cd2a713`, which is Hypatia main
today) and runs `tests/registry-sq-map.sh` with `HYPATIA_PRAXIS`. If the
fetch fails, the step fails. Move the pin whenever the registry changes.

## Evidence (local)

- `HYPATIA_PRAXIS=<hypatia main> bash tests/registry-sq-map.sh`: before
this change, 24 FAIL lines; after it, 66 rows conform.
- `tests/registry-sq-map.sh` and `tests/registry-sq-map-controls.sh`
both pass.
- The new step's command, run locally against raw.githubusercontent.com,
reports 66 rows conform.

The one existing warning is unchanged: kernel reason `Illegal` still has
no agreed SQ rule.

---
_Generated by [Claude
Code](https://claude.ai/code/session_0136P7ZoBy5xGnGDLk7wQ8jC)_
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.

3 participants