Skip to content

feat(delegation): expose authorized runtime routes to coordinators - #4741

Merged
huangruiteng merged 5 commits into
mainfrom
codex/delegation-runtime-context
Sep 19, 2026
Merged

huangruiteng merged 5 commits into
mainfrom
codex/delegation-runtime-context

fix(chat): preserve unfinished delegation sessions

282cadf
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Sep 19, 2026 in 3m 9s

Annotations

Check failure on line 54 in loopx/control_plane/subagent_context.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check failure on line 70 in loopx/control_plane/collaboration/delegation_context.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=huangruiteng_loopx&issues=AaC510tuGAbKVok_D_t-&open=AaC510tuGAbKVok_D_t-&pullRequest=4741

Check failure on line 181 in loopx/chat_loopx_mode.py

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=AaC511H3GAbKVok_D_uF&open=AaC511H3GAbKVok_D_uF&pullRequest=4741

Check warning on line 349 in loopx/chat_loopx_mode.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the unused local variable "service" with "_".

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

Check warning on line 57 in loopx/control_plane/subagent_context.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'source.configuration_state ?? ""' will use Object's default stringification format ('[object Object]') when stringified.

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

Check warning on line 51 in loopx/control_plane/collaboration/delegation_context.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested conditional expression into an independent statement.

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

Check warning on line 59 in loopx/control_plane/subagent_context.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'source.observed_at ?? ""' will use Object's default stringification format ('[object Object]') when stringified.

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

Check warning on line 70 in loopx/control_plane/subagent_context.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'route.readiness ?? ""' will use Object's default stringification format ('[object Object]') when stringified.

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

Check warning on line 56 in loopx/control_plane/subagent_context.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

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

Check warning on line 146 in loopx/chat_goal_subagent_api.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested conditional expression into an independent statement.

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