Skip to content

Close Further Latent Edges in the Retired-Path Checks - #4295

Merged
ptr727 merged 2 commits into
developfrom
feature/retired-path-edges-4285
Nov 19, 2026
Merged

ptr727 merged 2 commits into
developfrom
feature/retired-path-edges-4285

Conversation

@ptr727

@ptr727 ptr727 commented Nov 19, 2026

Copy link
Copy Markdown
Owner

Closes #4285

Fixes two of the nine latent edges and declines seven with evidence.

Fixed

  • render_report no longer reads a disposition row with an empty repos list as resolved. Test: test_a_disposition_row_with_no_repos_is_not_read_as_resolved.
  • The no-ledger fixture strips the git location variables a hook sets, via 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

  • Tree-source-only path called required. The shipped lib/sh to lib/fleet/sh tree 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, and spec/audit.py (the kind == "retire" and path in hub_tracked(None) branch) then tells repos to delete it as hub-hosted with no matches_hub_history check. No shipped row or pin sits under lib/sh. Rewording needs a new condition. Recorded in Close Remaining Latent Edges Found Closing 4285 #4294.
  • Pin under a repo-owned root loops two remedies. The only shipped owned root is tests, and CARRIED_PATH_PINS holds no path under it, so no input reaches it. A fix adds a third remedy branch.
  • Failed git ls-files skips 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.
  • Fleet-wide accepted row on a still-declared target. spec/divergences.json holds no gap row on .github/skills or lib/fleet/sh. A fix adds a condition to dropped_tree_errors.
  • Source equals target tree dropped. Needs the maintainer to drop the .github/skills declaration, which no shipped input does. A fix needs a per-file settlement mechanism.
  • Tree failing validation left out of the declared set. Both shipped trees validate, and the gate is clean on them. A fix reads the raw tree list, a new condition.
  • Target moved to an enclosing path. The shipped targets are unchanged, and a move is a manifest edit nobody has made. A fix adds a path-prefix comparison.

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 entries covers it.

🤖 Generated with Claude Code

ptr727 and others added 2 commits November 19, 2026 12:19
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]>
Copilot AI lite review requested due to automatic review settings November 19, 2026 20:21
@ptr727

ptr727 commented Nov 19, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head 59c1906e2fd929ecd95c78d5613a520f21f25815, the content this pull request carries at that commit against develop, and it recorded 0 findings.

@coderabbitai

coderabbitai Bot commented Nov 19, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 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 repos lists 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

codecov Bot commented Nov 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.02%. Comparing base (8a1441e) to head (59c1906).

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     
Flag Coverage Δ
python-3.13 79.02% <ø> (+0.07%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ptr727
ptr727 merged commit 72d41f4 into develop Nov 19, 2026
14 checks passed
@ptr727
ptr727 deleted the feature/retired-path-edges-4285 branch November 19, 2026 20:36
ptr727 added a commit that referenced this pull request Nov 19, 2026
…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)
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.

2 participants