Repository navigation
Onboarding substrate: harden evidence containment and gated-start rechecks #556
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
alexeyzimarev
merged 9 commits into
main
from
alexeyzimarev/ai-1655-substrate-review-round-3
Aug 14, 2026
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
5626f34
Address PR #554 flow round-3 review findings
alexeyzimarev 3a056f9
Address PR #556 flow round-4 review findings
alexeyzimarev 183bbf1
Address PR #556 flow round-5 review findings
alexeyzimarev 5c1613c
Address PR #556 flow round-6 review findings
alexeyzimarev 9c56dc8
Address PR #556 flow round-7 review findings
alexeyzimarev 0d74a4e
Address PR #556 flow round-8 review findings
alexeyzimarev cbc869e
Address PR #556 flow round-9 review findings
alexeyzimarev 66bd8c3
Retry config replace-into-place against transient Windows share locks
alexeyzimarev 2f0983d
Drop redundant using flagged by IDE0005
alexeyzimarev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| namespace Capacitor.Cli.Core; | ||
|
|
||
| /// Structural path-evidence probe shared by not-found-classification callers. | ||
| public static class PathEvidence { | ||
| /// True when a not-found read failure at <paramref name="path"/> is explained by a link at the | ||
| /// exact path, or a file/link ancestor, rather than a chain of directories never created. | ||
| public static bool PathBlockedByFileOrLink(string path) { | ||
| if (IsLink(path)) return true; | ||
|
|
||
| var current = Path.GetDirectoryName(path); | ||
| while (!string.IsNullOrEmpty(current)) { | ||
| if (File.Exists(current)) return true; | ||
| if (Directory.Exists(current)) return false; | ||
| if (IsLink(current)) return true; | ||
| current = Path.GetDirectoryName(current); | ||
| } | ||
| return false; | ||
| } | ||
|
|
||
| static bool IsLink(string path) { | ||
| try { return File.ResolveLinkTarget(path, returnFinalTarget: false) is not null; } | ||
| catch { return false; } | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
5. Catch-all hides unexpected errors
🐞 Bug☼ ReliabilityAgent Prompt
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools