Add release evidence issue label drift checks#240
Conversation
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.
Tip: disable this comment in your organization's Code Review settings.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✅ Files skipped from review due to trivial changes (2)
📝 WalkthroughWalkthroughThis PR implements deterministic release evidence tracker issue label validation with optional live GitHub snapshot audit mode. It adds a new checker script, comprehensive tests, CI/local check integration, documentation updates, and refreshes related release artifact metadata and operational state. ChangesRelease Evidence Label Drift Checking
Sequence DiagramsequenceDiagram
participant CLI
participant IssueLinksJSON
participant BacklogJSON
participant SnapshotJSON
CLI->>IssueLinksJSON: load and validate issue links
CLI->>BacklogJSON: load and validate backlog
CLI->>SnapshotJSON: optionally load --live-json snapshot
CLI->>CLI: compute missing labels and title mismatches
CLI->>CLI: assemble gh issue edit --add-label remediation commands
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related issues
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
ops/AUTONOMOUS_RUN.md (1)
177-224: ⚡ Quick winRecord the PR
#240transition in the decision log.The current worklog says PR
#240is open, but the durable decision log still stops at PR#238. Please append the matching state-transition entry so resume/compaction has one authoritative history.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@ops/AUTONOMOUS_RUN.md` around lines 177 - 224, Append a durable state-transition entry to the decision log that mirrors the format used for prior entries and records Queue Item 114 / PR `#240`: include "PR candidate: Harden release evidence tracker label drift checks (Queue Item 114)", Status: PR `#240` open, PR: https://github.com/6529-Collections/6529Stream/pull/240, Branch: codex/release-evidence-label-drift, Branch started from PR `#238` squash merge commit 3c738f51c8fa2cf623fda1f3d1fe5284db946d99, and include the prior queue transition notes (Queue Item 113 merged in PR `#238` as squash commit 3c738f51c8fa2cf623fda1f3d1fe5284db946d99, PR `#238` final implementation head d56f7d2405fd0c52fdf2320a0f167253aceb4bf7) plus the Completed local validation checklist from the diff so the durable log and worklog are consistent.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@ops/ROADMAP.md`:
- Around line 95-100: Update the provenance lines in the verification metadata
table: replace references to the prior baseline PR (`#238`), its CI run id
(`27468501813`), head commit (`d56f7d2405fd0c52fdf2320a0f167253aceb4bf7`) and
merged baseline commit (`3c738f51c8fa2cf623fda1f3d1fe5284db946d99`) with the
current label-drift PR/run/commit that actually performed the label-drift audit;
specifically edit the "Last verified", "OS tested" and "CI run" rows so the PR
number, CI run number and commit SHAs reflect the label-drift change set (use
the actual current PR number, run id, and commit SHA when applying the change).
---
Nitpick comments:
In `@ops/AUTONOMOUS_RUN.md`:
- Around line 177-224: Append a durable state-transition entry to the decision
log that mirrors the format used for prior entries and records Queue Item 114 /
PR `#240`: include "PR candidate: Harden release evidence tracker label drift
checks (Queue Item 114)", Status: PR `#240` open, PR:
https://github.com/6529-Collections/6529Stream/pull/240, Branch:
codex/release-evidence-label-drift, Branch started from PR `#238` squash merge
commit 3c738f51c8fa2cf623fda1f3d1fe5284db946d99, and include the prior queue
transition notes (Queue Item 113 merged in PR `#238` as squash commit
3c738f51c8fa2cf623fda1f3d1fe5284db946d99, PR `#238` final implementation head
d56f7d2405fd0c52fdf2320a0f167253aceb4bf7) plus the Completed local validation
checklist from the diff so the durable log and worklog are consistent.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: e3b20730-1460-4f46-b7aa-4014b038551e
📒 Files selected for processing (17)
.github/workflows/ci.ymlCHANGELOG.mdMakefiledocs/public-beta-evidence.mddocs/release-readiness.mddocs/tooling.mdops/AUTONOMOUS_RUN.mdops/ROADMAP.mdrelease-artifacts/README.mdrelease-artifacts/latest/SHA256SUMSrelease-artifacts/latest/release-checksums.jsonrelease-artifacts/latest/release-manifest.jsonscripts/check.ps1scripts/check.shscripts/check_release_evidence_issue_labels.pyscripts/check_release_readiness.pyscripts/test_release_evidence_issue_labels.py
Summary
applied_labelsposture.--live-jsonaudit mode for exportedgh issue list --json number,title,labelssnapshots, including remediation commands for missing labels.Validation
python scripts/test_release_evidence_issue_labels.pypython scripts/check_release_evidence_issue_labels.pypython scripts/test_release_evidence_issue_body_sync.pypython scripts/generate_release_evidence_issue_body_sync.py --checkpython scripts/check_release_readiness.pypython scripts/test_release_readiness.pypython scripts/test_release_manifest.pypython scripts/generate_release_manifest.py --checkpython scripts/test_release_checksums.pypython scripts/generate_release_checksums.py --checkpython scripts/check_changelog.pybash -n scripts/check.shscripts/check.ps1rg -n "^#|^##|^###" docs/tooling.md docs/public-beta-evidence.md docs/release-readiness.md release-artifacts/README.md ops/ROADMAP.md ops/AUTONOMOUS_RUN.mdgit diff --checkpython scripts/check_release_evidence_issue_labels.py --live-json tmp/release-evidence-issue-labels.jsonCloses #239
Summary by CodeRabbit
New Features
Chores
Documentation