Repository navigation
docs(agents): prefer floating main for scorecards - #150417
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed September 16, 2026, 8:53 PM ET / September 17, 2026, 00:53 UTC. ClawSweeper reviewWhat this changesUpdates the repository’s scorecard skill to recommend floating main for manual generation and explain when an exact revision is appropriate. Merge readiness✅ Ready for maintainer review Keep open: the guidance accurately documents the existing workflow and fills a useful operational gap. No actionable defects were found; the MEMBER-authored, maintainer-labeled PR is also protected from automatic closure. Priority: P3 Review scores
Verification
How this fits togetherThe maturity scorecard workflow combines repository scoring inputs with QA evidence to generate documentation. Validation resolves the requested revision before QA and publication use that frozen commit. flowchart LR
A[Manual generation request] --> B[Validate requested revision]
B --> C[Fetch and freeze main]
B --> D[Verify exact revision]
C --> E[Generate QA evidence]
D --> E
E --> F[Render scorecard]
F --> G[Publish generated docs PR]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceDocs +30. Total +30 across 1 file. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep revision resolution in the workflow and document floating manual runs alongside the existing exact-revision exception. Do we have a high-confidence way to reproduce the issue? Not applicable to this documentation patch; source inspection confirms the stale-input rejection and floating-main resolution described, without executing a dispatch. Is this the best way to solve the issue? Yes. The instructions expose existing workflow defaults and preserve exact-revision guidance without adding a competing implementation. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 4e44dbfb428a. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
What Problem This Solves
Direct maturity scorecard runs can fail before QA when a locally resolved
mainSHA becomes stale while the default branch keeps moving.User Impact
Maintainers get the reliable default dispatch for full scorecard generation and retain exact-SHA guidance for release-bound or historical evidence.
Why This Change Was Made
The
claw-scoreskill now recommendsref=mainwith a blankexpected_shafor ordinary full runs that publish a generated-doc PR. This selects the workflow's floating-default-branch path, which fetches and freezes the current remote base during validation. It also documents when exact revisions remain appropriate and why publishing from a stale pinned SHA is rejected.Evidence
python3 /Users/dallin/.local/share/openclaw/skills/skill-creator/scripts/quick_validate.py .agents/skills/claw-score— passedgit diff --check— passed.github/workflows/maturity-scorecard.yml