Skip to content

feat(authority): add Stage 2A NoKV AuthorityStore candidate - #3819

Merged
huangruiteng merged 6 commits into
mainfrom
codex/stage4-authority-canary
Sep 2, 2026
Merged

huangruiteng merged 6 commits into
mainfrom
codex/stage4-authority-canary

test(authority): isolate the qualification helper interpreter

7ffb7e9
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Sep 2, 2026 in 1m 36s

Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check failure on line 416 in loopx/control_plane/coordination/nokv_jsonl_helper.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=huangruiteng_loopx&issues=AaBfJym7gBtXR9M488Ay&open=AaBfJym7gBtXR9M488Ay&pullRequest=3819

Check failure on line 167 in loopx/control_plane/coordination/nokv_jsonl_helper.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=huangruiteng_loopx&issues=AaBfJym7gBtXR9M488Au&open=AaBfJym7gBtXR9M488Au&pullRequest=3819

Check failure on line 452 in loopx/control_plane/coordination/nokv_authority_store.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=huangruiteng_loopx&issues=AaBfJynGgBtXR9M488Az&open=AaBfJynGgBtXR9M488Az&pullRequest=3819

Check warning on line 514 in loopx/control_plane/coordination/nokv_jsonl_helper.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "ObjectStoreConfig" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=huangruiteng_loopx&issues=AaBfJym7gBtXR9M488Aw&open=AaBfJym7gBtXR9M488Aw&pullRequest=3819

Check warning on line 163 in loopx/control_plane/coordination/nokv_jsonl_helper.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this redundant Exception class; it derives from another which is already caught.

See more on https://sonarcloud.io/project/issues?id=huangruiteng_loopx&issues=AaBfJym7gBtXR9M488At&open=AaBfJym7gBtXR9M488At&pullRequest=3819

Check failure on line 203 in loopx/control_plane/coordination/nokv_jsonl_transport.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=huangruiteng_loopx&issues=AaBfJycEgBtXR9M488As&open=AaBfJycEgBtXR9M488As&pullRequest=3819

Check warning on line 513 in loopx/control_plane/coordination/nokv_jsonl_helper.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "Client" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=huangruiteng_loopx&issues=AaBfJym7gBtXR9M488Av&open=AaBfJym7gBtXR9M488Av&pullRequest=3819

Check warning on line 184 in loopx/control_plane/coordination/nokv_jsonl_transport.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using nullish coalescing operator (`??=`) instead of an assignment expression, as it is simpler to read.

See more on https://sonarcloud.io/project/issues?id=huangruiteng_loopx&issues=AaBfJycEgBtXR9M488Ar&open=AaBfJycEgBtXR9M488Ar&pullRequest=3819

Check warning on line 515 in loopx/control_plane/coordination/nokv_jsonl_helper.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "RoutingConfig" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=huangruiteng_loopx&issues=AaBfJym7gBtXR9M488Ax&open=AaBfJym7gBtXR9M488Ax&pullRequest=3819

Check failure on line 566 in examples/nokv-authority-store/live-qualification.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

LLMs running this code with faulty CLI arguments can escape file system restrictions. Refactor this code to validate the constructed path before accessing the file system.

See more on https://sonarcloud.io/project/issues?id=huangruiteng_loopx&issues=AaBfJynRgBtXR9M488A0&open=AaBfJynRgBtXR9M488A0&pullRequest=3819