Skip to content

Phase 9: Agent search tooling (context-grep extension)#24

Merged
dimdasci merged 5 commits into
mainfrom
phase-09-agent-search-tooling
Jun 22, 2026
Merged

Phase 9: Agent search tooling (context-grep extension)#24
dimdasci merged 5 commits into
mainfrom
phase-09-agent-search-tooling

fix(ci): skip ast-grep-dependent tests when binary unavailable

b826244
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jun 22, 2026 in 26s

Annotations

Check warning on line 74 in tools/pi/context-grep/src/parse.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `String#replaceAll()` over `String#replace()`.

See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDyYaRc-zgeYQNVC&open=AZ7wqDyYaRc-zgeYQNVC&pullRequest=24

Check warning on line 106 in tools/pi/context-grep/src/ast.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this character class by the character itself.

See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDvwaRc-zgeYQNU2&open=AZ7wqDvwaRc-zgeYQNU2&pullRequest=24

Check failure on line 30 in tools/pi/context-grep/src/backrefs.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 29 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDyQaRc-zgeYQNU_&open=AZ7wqDyQaRc-zgeYQNU_&pullRequest=24

Check warning on line 104 in tools/pi/context-grep/src/ast.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this character class by the character itself.

See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDvwaRc-zgeYQNU1&open=AZ7wqDvwaRc-zgeYQNU1&pullRequest=24

Check warning on line 85 in tools/pi/context-grep/src/ast.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `String#replaceAll()` over `String#replace()`.

See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDvwaRc-zgeYQNUx&open=AZ7wqDvwaRc-zgeYQNUx&pullRequest=24

Check warning on line 74 in tools/pi/context-grep/src/parse.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `String#replaceAll()` over `String#replace()`.

See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDyYaRc-zgeYQNVD&open=AZ7wqDyYaRc-zgeYQNVD&pullRequest=24

Check warning on line 109 in tools/pi/context-grep/src/ast.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this character class by the character itself.

See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDvwaRc-zgeYQNU5&open=AZ7wqDvwaRc-zgeYQNU5&pullRequest=24

Check warning on line 107 in tools/pi/context-grep/src/ast.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this character class by the character itself.

See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDvwaRc-zgeYQNU3&open=AZ7wqDvwaRc-zgeYQNU3&pullRequest=24

Check warning on line 213 in tools/pi/context-grep/src/enrich.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move this array "sort" operation to a separate statement or replace it with "toSorted".

See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDyIaRc-zgeYQNU9&open=AZ7wqDyIaRc-zgeYQNU9&pullRequest=24

Check warning on line 101 in tools/pi/context-grep/src/ast.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Simplify this regular expression to reduce its runtime, as it has super-linear performance due to backtracking.

See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDvwaRc-zgeYQNUy&open=AZ7wqDvwaRc-zgeYQNUy&pullRequest=24

Check warning on line 100 in tools/pi/context-grep/src/backrefs.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

`String.raw` should be used to avoid escaping `\`.

See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDyQaRc-zgeYQNVA&open=AZ7wqDyQaRc-zgeYQNVA&pullRequest=24

Check warning on line 66 in tools/pi/context-grep/src/parse.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `String#replaceAll()` over `String#replace()`.

See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDyYaRc-zgeYQNVB&open=AZ7wqDyYaRc-zgeYQNVB&pullRequest=24

Check warning on line 103 in tools/pi/context-grep/src/ast.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this character class by the character itself.

See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDvwaRc-zgeYQNU0&open=AZ7wqDvwaRc-zgeYQNU0&pullRequest=24

Check failure on line 106 in tools/pi/context-grep/src/enrich.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 22 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDyIaRc-zgeYQNU8&open=AZ7wqDyIaRc-zgeYQNU8&pullRequest=24

Check warning on line 69 in tools/pi/context-grep/src/enrich.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `String#replaceAll()` over `String#replace()`.

See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDyIaRc-zgeYQNU7&open=AZ7wqDyIaRc-zgeYQNU7&pullRequest=24

Check warning on line 3 in tools/pi/context-grep/src/backrefs.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import of 'AstContainer'.

See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDyQaRc-zgeYQNU-&open=AZ7wqDyQaRc-zgeYQNU-&pullRequest=24

Check warning on line 110 in tools/pi/context-grep/src/ast.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this character class by the character itself.

See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDvwaRc-zgeYQNU6&open=AZ7wqDvwaRc-zgeYQNU6&pullRequest=24

Check warning on line 102 in tools/pi/context-grep/src/ast.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this character class by the character itself.

See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDvwaRc-zgeYQNUz&open=AZ7wqDvwaRc-zgeYQNUz&pullRequest=24

Check warning on line 85 in tools/pi/context-grep/src/ast.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `String#replaceAll()` over `String#replace()`.

See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDvwaRc-zgeYQNUw&open=AZ7wqDvwaRc-zgeYQNUw&pullRequest=24

Check warning on line 108 in tools/pi/context-grep/src/ast.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this character class by the character itself.

See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDvwaRc-zgeYQNU4&open=AZ7wqDvwaRc-zgeYQNU4&pullRequest=24