Skip to content

Retire active AIAudit workflow paths - #213

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

Retire active AIAudit workflow paths#213
Pigbibi wants to merge 1 commit into
mainfrom
codex/qsl-aiaudit-phase-a-cleanup-20260727

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • remove retired AIAudit feedback and auto-merge workflows
  • make Monthly Snapshot Review report-only with minimal permissions
  • document GitHub Codex App as the sole AI reviewer

Validation

  • python3 -m pytest tests/test_monthly_review_workflow_config.py -q
  • uvx --offline ruff check tests/test_monthly_review_workflow_config.py
  • python3 -m compileall -q tests/test_monthly_review_workflow_config.py
  • actionlint .github/workflows/monthly_review.yml
  • YAML/minimal-permission, diff-check, and exact seven-file scope checks

Scope

The retained monthly workflow remains disabled pending a separate report-only activation decision.

Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi Pigbibi closed this Jul 27, 2026

@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: 89c8dd9615

ℹ️ 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 on lines 30 to 32
permissions:
actions: write
contents: read
issues: write

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 Grant read access for downloading workflow artifacts

Whenever source_run_id is populated—including every automatic workflow_run invocation—the workflow executes gh run download, but this explicit permissions block now omits actions, so that scope is set to none. GitHub documents that unspecified scopes become none when a permissions block is present and that downloading an artifact requires Actions (read) permission; consequently the download fails before any report is built. Replace the removed write permission with actions: read.

Useful? React with 👍 / 👎.

Comment on lines +15 to +16
`monthly-review` issue. It does not dispatch an AI reviewer, retry review
feedback, create remediation pull requests, or prepare or perform auto-merge.

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 retired automation guidance from the generated report

When this workflow is eventually enabled, scripts/run_monthly_report_bundle.py still puts “Low-risk ... fixes may be automated” into the posted issue body at line 1055 and asks which tasks qualify for “unattended remediation” at line 1422. Since the retained workflow posts that generated file directly, every monthly issue will contradict this new boundary and direct reviewers toward automation that this commit has retired. Update the active report renderer and its assertions so the generated evidence also describes manual follow-up only.

Useful? React with 👍 / 👎.

Comment on lines +46 to +48
def test_retired_aiaudit_workflows_are_removed() -> None:
assert not Path(".github/workflows/codex_pr_feedback.yml").exists()
assert not Path(".github/workflows/auto_merge_codex_pr.yml").exists()

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Retire readiness tests before deleting their workflows

The CI workflow runs the complete python -m pytest -q suite, but tests/test_check_codex_auto_merge_readiness.py still calls evaluate_readiness() with default paths pointing to the now-deleted feedback workflow and the now-report-only monthly workflow. Running that dependency-light test module after this change produces 16 failures because every readiness result gains missing-workflow and missing-Bridge-dispatch errors, including cases that assert readiness succeeds or expect one specific error. Update or retire those tests and the corresponding readiness assumptions as part of this deletion so the required CI job can pass.

Useful? React with 👍 / 👎.

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