You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(parsing): single-quote JSON repair + raw bracket span (#28) (#45)
- repair_json_candidates: convert single-quoted keys/values to double-quoted
via convert_single_quoted_json_to_double (issue #28)
- find_balanced_bracket_span: extract raw [..] or {..} when valid JSON not found,
so repair can fix and parse
- ROADMAP: document #28 repairs; add #25 (dynamic context) to Shipped
- Test: parse_json_with_single_quotes
Made-with: Cursor
-**Natural language rules (#12):**`review_rules_prose: [ "Rule one", "Rule two" ]` in config; injected as "Custom rules (natural language)" bullets into review guidance. Tests: `test_config_deserialize_review_rules_prose_from_yaml`, `build_review_guidance_includes_prose_rules`.
76
76
-**Triage skip deletion-only (#29):**`triage_skip_deletion_only: true` in config; when true, deletion-only diffs get `SkipDeletionOnly` and skip expensive review. Default false. Tests: `test_triage_deletion_only_with_skip_true_returns_skip_deletion_only`, config deserialize.
77
-
-**LLM parsing (#28):** Repair candidate for diff-style line prefixes (`+` on each line) in `repair_json_candidates`; test `parse_json_with_diff_prefix_artifact`.
77
+
-**Dynamic context (#25):**`find_enclosing_boundary_line` in `function_chunker.rs`; `context.rs` expands hunk start to enclosing function/class boundary; asymmetric context (5 before, 1 after).
78
+
-**LLM parsing (#28):** Repair candidates in `repair_json_candidates`: diff-style line prefixes (`+`), single-quoted keys/values → double-quoted via `convert_single_quoted_json_to_double`; raw bracket span fallback when valid JSON not found. Tests: `parse_json_with_diff_prefix_artifact`, `parse_json_with_single_quotes`.
78
79
-**Secrets (#20):** Built-in secret scanner in `plugins/builtin/secret_scanner.rs`.
79
80
-**Verification (#23):** Verification pass and config (verification.*) in pipeline.
0 commit comments