Refuse run ids that could leave the runs folder and stop replacements being read as patterns

AI Assisted
This commit is contained in:
jparkerweb committed 2026-11-05 11:38:58 -08:00
1 parent b17213322c
commit 0b6a376915
8 files changed
+37 -13

No files matched your search

+1 -1
View File
@@ -128,7 +128,7 @@ describe('parseProposalFromResponse', () => {
});
it('returns null for malformed JSON', () => {
const result = parseProposalFromResponse('```json\n{broken json]\n```');
const result = parseProposalFromResponse('```json\n[{"old_text": broken]\n```');
expect(result).toBeNull();
});