Skip to content

fix: verify disabled subagents before local admission - #448

Merged
BunsDev merged 2 commits into
mainfrom
lm5-subagent-policy
Oct 30, 2026
Merged

BunsDev merged 2 commits into
mainfrom
lm5-subagent-policy

Conversation

@BunsDev

@BunsDev BunsDev commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Local child admission checked launch-setting provenance but accepted effective multi_agent and multi_agent_v2 values that enabled unqualified subagents. Require both effective values to be literal false before opening a native thread. Enabled, missing, null and malformed values are refused by key. Older CLIs that omit these flags are intentionally refused.

Ten pure-policy regressions failed before the repair. The 26-case focused policy/execution suite passes, including assertions that refused configurations send no thread/start or turn/start and record no admitted provenance. pnpm build && pnpm test passed at f58a1b7e86cd33f1d8ef68a3fe2f827202157386 with 2,254 passes, 26 skips and zero failures. Independent review found no blocking findings. Head 97d8ff6d15c4ecacbcdf9bba57b3fab12c64075e only relocates the status paragraph to avoid conflicts with pending PRs; production and test code are unchanged. A merge preflight against PR #447's integrated head is clean.

A configuration-only probe of installed codex-cli 0.166.0 in a temporary empty home confirmed explicit false values and session-flag origins. No thread, prompt or inference was involved. This does not establish native offline or subagent execution acceptance, and product local execution remains unadmitted. The other #380 criteria remain open.

Evidence: docs/reviews/2026-10-30-lm5-subagent-policy.md and its trimmed configuration receipt.

Hosted validation passed for this exact head: macOS job 123963060083 passed 478 desktop cases with four skips (21.8 minutes) and seven site cases (17.1 seconds); transcript median 228.2 ms. Windows, Linux, iPhone and CodeQL checks also passed. The exact head has been submitted to the protected merge queue without bypass; queue validation and merge remain pending.

@vercel

vercel Bot commented Oct 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
modex Ready Ready Preview Oct 30, 2026 8:19am UTC

Request Review

@github-code-quality

Copy link
Copy Markdown

Code coverage overview

Languages: TypeScript

TypeScript / code-coverage-agent

main a34edc7 lm5-subagent-policy 97d8ff6 +/-
66% 66% 0%

ℹ️ Calculations represent line coverage. Results may change as calculations are updated.

This branch was successfully deployed

1 active deployment
Preview — 97d8ff6d Deployed Oct 30, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant