Skip to content

Remove retired AIAudit readiness coupling - #214

Closed
Pigbibi wants to merge 1 commit into
mainfrom
codex/qsl-aiaudit-phase-b-cleanup-20260727
Closed

Remove retired AIAudit readiness coupling#214
Pigbibi wants to merge 1 commit into
mainfrom
codex/qsl-aiaudit-phase-b-cleanup-20260727

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • remove readiness coupling to retired AIAudit feedback, auto-merge, and monthly dispatch paths
  • keep fail-closed policy, labels, required checks, ruleset/protection handling, and auto_merge=false skip behavior

Validation

  • PYTHONPATH=src python3 -m pytest -q (702 passed, 4 skipped)
  • focused tests, Ruff, compileall, diff and exact four-file scope checks passed

Bounded Phase B cleanup; no workflow, repository-settings, or P2 business changes.

Co-Authored-By: Codex <noreply@openai.com>

Pigbibi commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@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: dc1e673c8d

ℹ️ 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".

@@ -647,24 +489,6 @@ def evaluate_readiness(
checks.append(f"Loaded auto-merge policy label `{label}`.")
checks.append(f"Loaded high-risk human-review label `{human_review_label}`.")

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 Preserve validation while the auto-merge workflow remains active

When CODEX_AUDIT_AUTO_MERGE is enabled, .github/workflows/auto_merge_codex_pr.yml still invokes this readiness check immediately before gh pr merge, and the monthly and feedback workflows still use its outcome to permit auto-merge dispatches. Removing all three workflow validations therefore makes readiness return success even if an active workflow loses its same-repository, head-SHA, review, retry, or readiness gates. Keep these checks until those workflows are actually retired, or retire their triggers and merge path in the same change.

Useful? React with 👍 / 👎.

f"{repo} --body false\n"
"```\n\n"
"High-risk PRs remain blocked by the source merge guard even after enablement.\n"
"3. Automatic merge remains disabled. This report does not instruct a workflow enablement, variable change, or merge action.\n"

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 Do not claim auto-merge is disabled without checking the variable

This statement is false whenever the repository already has CODEX_AUDIT_AUTO_MERGE=true: the active auto-merge workflow is explicitly gated on that variable, while the planner is still generated and posted by monthly_review.yml. Because this change also removes repository-variable discovery, an enabled deployment now receives a report asserting that automatic merge is disabled even though qualifying PRs can still be merged automatically; retain the discovery or phrase this solely as a recommendation rather than current state.

Useful? React with 👍 / 👎.

Pigbibi commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

Closing unmerged under f0fe927a-11e4-4350-ba9a-c74c180a950b: the two initial-review P2 findings demonstrate the standalone four-file Phase B slice is not contract-complete while the associated Phase A workflow retirement remains unmerged. A fresh atomic Phase A+B reslice is required; no patch, thread mutation, review, or merge is performed on this PR.

@Pigbibi Pigbibi closed this Jul 28, 2026
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