Repository navigation
Emit One Snapshot Shape From the Report's Cannot-Read Paths - #3469
Conversation
A missing, unreadable, or unrecognized stamp now carries the judged snapshot's keys, null where the stamp would say, and resolves the intended revision. Add the missing test that --intended without --report is refused and installs nothing. Closes on promotion: #1759 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
|
A recorded local strict-review pass covers head |
There was a problem hiding this comment.
🔵 Needs a closer look
The cannot-read path can discard the normal cannot-judge reason when intended revision resolution fails; docstring formatting findings also remain unresolved.
No open issues 🎉
What changed in this PR
This pull request standardizes the skills_install.py --report snapshot shape for missing, unreadable, or unrecognized install stamps, adds intended-revision validation coverage, and documents the resulting behavior.
Changes:
- Emits a complete snapshot shape for cannot-read report paths.
- Resolves and forwards explicit intended revisions.
- Adds tests for snapshot consistency and rejecting
--intendedwithout--report. - Documents the unified report behavior.
| File | Description |
|---|---|
tests/test_skills_install.py |
Covers cannot-read snapshot output, intended-revision resolution, and CLI validation. |
scripts/skills_install.py |
Adds intended-revision resolution and consistent snapshot fields for cannot-read reports. |
scripts/README.md |
Documents the consistent report shape and unresolved-stamp behavior. |
Review effort: Lite
|
Headline triage, no counted finding. (1) The cannot-read path keeps its own reason (missing, unreadable, or unrecognized stamp), which is the primary cause. An unresolvable intended revision shows as |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #3469 +/- ##
==========================================
Coverage ? 80.93%
==========================================
Files ? 23
Lines ? 8870
Branches ? 0
==========================================
Hits ? 7179
Misses ? 1691
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…nd Nine Fixes to Main (#3472) ## Summary Promotes the pull requests merged into develop since release 2.0.1166. - [#3444](#3444): keeps untracked files out of the pre-commit snippet's prose gate. - [#3446](#3446): exempts the BuildKit `check=` parser directive in the prose gate. - [#3448](#3448): compares intent staleness against the hub's own copy and names the moved canonical. - [#3450](#3450): says only the prose gate is diff-scoped in the commit hook. - [#3453](#3453): reclassifies HolidayLights as an operational config repository in the registry. - [#3455](#3455): classifies the remaining subprocess failures by status rather than by prose. - [#3464](#3464): splits the semicolon series in WORKFLOW.md's filesystem output-seam bullet. - [#3466](#3466): audits a caller's `workflow-model` input against the registry. - [#3469](#3469): emits one snapshot shape from the skills report's cannot-read paths. - [#3462](#3462): splits `pr_review.py`'s pure check and round readers into the leaf modules `pr_review_checks.py` and `pr_review_rounds.py`. - [#3470](#3470): holds a covered held `wait` while any workflow run on the head has not completed. - [#3473](#3473): answers this promotion's review. The `wait` help and `scripts/README.md` now say what a held head's exit `0` does not prove: a `CHECKS UNREADABLE` payload, the conditions the unregistered-required-check hold reads, and the reach of the completed-run read. The exit code itself stays for #3471. Closes #3370 Closes #3372 Closes #3371 Closes #3369 Closes #3378 Closes #3454 Closes #3332 Closes #1759 Closes #3451 ## Constituent coverage Each change this promotion carries had coverage on its own pull request into develop, at its merged head: | Pull request | Merged head | Coverage | | --- | --- | --- | | [#3444](#3444) | `a61d1e2a` | attested local pass at the merged head, base `develop` | | [#3446](#3446) | `0a0efea1` | attested local pass at the merged head, base `develop` | | [#3448](#3448) | `c2c71ea7` | attested local pass at the merged head, base `develop` | | [#3450](#3450) | `4ec37c34` | attested local pass at the merged head, base `develop` | | [#3453](#3453) | `f20a543c` | a Copilot round on the merged head, its one changed file, no open findings | | [#3455](#3455) | `85f0ce60` | attested local pass at the merged head, base `develop` | | [#3464](#3464) | `fcd48e2d` | attested local pass at the merged head, base `develop` | | [#3466](#3466) | `3426a19c` | attested local pass at the merged head, base `develop` | | [#3469](#3469) | `ea4b0bb7` | attested local pass at the merged head, base `develop` | | [#3462](#3462) | `236eceab` | attested local pass at the merged head, base `develop` | | [#3470](#3470) | `3545ba46` | attested local pass at the merged head, base `develop` | | [#3473](#3473) | `46010530` | attested local pass at the merged head, base `develop`, and a Copilot table on an earlier head naming exactly the changed files | 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Closes the remaining #1759 follow-ups in
scripts/skills_install.py.develop:no_snapshot()answers the live channel, and both bootstraps now say only that the output above says why. Confirmed, not rewritten.--intendedwithout--reportis refused throughparser.errorand installs and registers nothing.no_snapshot()now emits the samesnapshotkeys as the judged path (installedFromandinstalledDirtynull,intendedandintendedRefresolved,currentfalse), with a test over the missing, unreadable, and unrecognized stamp cases that also asserts the--intendedrevision reaches the resolver.scripts/README.mdstates it.Local strict review: one finding (test did not prove
intended_revis passed through), fixed. Full unit suite, ruff, and mypy green.Closes on promotion: #1759
🤖 Generated with Claude Code