fix(git): follow repository instructions in generated source control text - #8804
Merged
maria-rcks merged 5 commits intoAug 30, 2026
Merged
maria-rcks merged 5 commits into
maria-rcks merged 5 commits into
MacroscopeApp / Macroscope - Correctness Check
succeeded
Aug 30, 2026 in 1m 16s
No issues identified (1 code object reviewed).
• Reviewed files modified since
f3337e2; other PR files not modified since then were skipped.
• Merge Base:86c9a92
• Head:0c629fa
Details
| ✅ | File Path | U3 Bytes | Comments Posted | Reason |
|---|---|---|---|---|
| ✅ | apps/server/src/git/GitManager.ts |
835 | 0 |
Billed Total: 10.00KB of diff | $0.50 (This review was charged at our per-review byte minimum of 10.00KB. Learn more here)
Filtered Issues Details
apps/server/src/git/GitManager.ts
- line 618: When a repository's canonical root is the POSIX filesystem root (
/), this containment prefix becomes//.path.join('/', 'AGENTS.md')andrealPathproduce/AGENTS.md, which does not start with//, so the helper silently returns an empty string and neither root-level instruction file is included in generated text. Use a relative-path containment check (or handle the root path specially). [ Already posted ]
Loading