Repository navigation
Close Further Latent Edges in the Retired-Path Checks - #4295
Conversation
render_report no longer reads a disposition row with an empty repos list as resolved. The no-ledger fixture strips the git location variables a hook sets. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
A recorded local strict-review pass covers head |
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
There was a problem hiding this comment.
🟢 Approval recommended
No active issues were identified, and the changes include targeted handling and regression coverage for empty-repository rows plus isolated Git-environment fixtures.
No open issues 🎉
What changed in this PR
This pull request closes two latent retired-path validation edges by preventing empty-repository disposition rows from being treated as resolved and isolating no-ledger fixtures from inherited Git location variables.
Changes:
- Filters disposition rows with empty
reposlists during report rendering. - Adds regression coverage proving empty-repository rows remain untriaged.
- Uses a stripped Git environment for scratch repository setup and validation.
| File | Description |
|---|---|
| tests/test_spec_validate.py | Runs the no-ledger scratch repository fixture without inherited Git location variables. |
| tests/test_fidelity_honesty.py | Verifies that disposition rows with empty repository lists remain untriaged. |
| spec/fidelity_honesty.py | Excludes disposition rows with empty repository lists from resolution processing. |
Review effort: Lite
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #4295 +/- ##
===========================================
+ Coverage 78.95% 79.02% +0.07%
===========================================
Files 42 42
Lines 15625 15625
===========================================
+ Hits 12337 12348 +11
+ Misses 3288 3277 -11
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:
|
…pes and Close Further Retired-Path Edges (#4296) ## Summary Promotes `develop` to `main`. It carries these changes: - [#4293](#4293) makes the tier guard fail closed on a malformed `inheritingAgentTypes`. - **Declined points.** A list-valued `models` raises a `TypeError` the existing `try` catches, and a deep-nesting `RecursionError` is outside the hook's stated scope. The hook runs standalone and cannot import `is_str_list`. Empty or duplicate names do no harm in the hook. - [#4295](#4295) closes further latent edges in the retired-path checks. Its body lists 7 declined edges with evidence under "Declined edges", and #4294 tracks the two leftover edges. Closes #4291 Closes #4285 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Closes #4285
Fixes two of the nine latent edges and declines seven with evidence.
Fixed
render_reportno longer reads a disposition row with an emptyreposlist as resolved. Test:test_a_disposition_row_with_no_repos_is_not_read_as_resolved.spec/git_env.without_git_location. Test:test_the_drop_check_runs_where_the_ledger_is_absent, which now builds its scratch repository with the stripped environment.Declined edges
lib/shtolib/fleet/shtree has differing ends, but the refusal is protective: lifting it (tried, reverted after the local pass) lets a retire row through on a tracked source path, andspec/audit.py(thekind == "retire" and path in hub_tracked(None)branch) then tells repos to delete it as hub-hosted with nomatches_hub_historycheck. No shipped row or pin sits underlib/sh. Rewording needs a new condition. Recorded in Close Remaining Latent Edges Found Closing 4285 #4294.tests, andCARRIED_PATH_PINSholds no path under it, so no input reaches it. A fix adds a third remedy branch.git ls-filesskips the whole check. Reachable only for a tree outside git. The gate still fails, so nothing passes wrongly, and the shipped gate always runs in a git tree. A fix splits the function into tracked-set and non-tracked-set halves.acceptedrow on a still-declared target.spec/divergences.jsonholds no gap row on.github/skillsorlib/fleet/sh. A fix adds a condition todropped_tree_errors..github/skillsdeclaration, which no shipped input does. A fix needs a per-file settlement mechanism.Review
Local strict review passes: 1 finding (edge, on my own fix, which was deleted), 3 findings (2 real fixed or declined, 1 edge filed in #4294), 0 findings. Declined pass finding: the comment over the disposition filter, since an empty list is a malformed row and
well-formed entriescovers it.🤖 Generated with Claude Code