Skip to content

codex: add redteam guard proxy enforcement - #771

Open
GaoZzr wants to merge 1 commit into
NanmiCoder:mainfrom
GaoZzr:codex/redteam-guard-coverage-oracle-20260608
Open

codex: add redteam guard proxy enforcement#771
GaoZzr wants to merge 1 commit into
NanmiCoder:mainfrom
GaoZzr:codex/redteam-guard-coverage-oracle-20260608

Conversation

@GaoZzr

@GaoZzr GaoZzr commented Jun 8, 2026

Copy link
Copy Markdown

Summary

  • add source-level redteam workflow guard and confirmation gate
  • enforce the gate in the proxy before upstream/model execution
  • add coverage-oracle contract guidance, including late-stage xray passive/OAST usage after logged-in model-driven workflow exploration
  • preserve in-process teammate permission inheritance

Tests

  • python C:\Users\83964\.codex\skills\codex-ai-redteam-coverage\scripts\selftest_coverage.py
  • bun test --timeout 15000 src/server/tests/redteamWorkflowGuard.test.ts src/server/tests/providers.test.ts src/utils/swarm/spawnInProcess.test.ts

@dosubot dosubot Bot added size:XL This PR changes 500-999 lines, ignoring generated files. enhancement New feature or request labels Jun 8, 2026
@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown

PR quality triage

Changed areas: area:cli-core, area:server

CLI core policy: Blocked by policy until a maintainer applies allow-cli-core-change and approves the PR.

Missing-test policy: No missing-test policy block detected.

Coverage baseline policy: No coverage-baseline policy block detected.

CLI core files:

  • src/utils/swarm/inProcessRunner.ts
  • src/utils/swarm/spawnInProcess.test.ts
  • src/utils/swarm/spawnInProcess.ts

Coverage policy files:

  • none

Expected checks:

  • change-policy
  • desktop-checks
  • server-checks
  • desktop-native-checks
  • coverage-checks

Test coverage signals:

  • Agent/model runtime path changed: use mock/request-shape tests in PR and maintainer live-model smoke before release.

Risk notes:

  • Provider/search behavior changed: PR gate uses mock tests; live-provider tests stay maintainer-only.

Hard merge gates still come from GitHub Actions, not AI review.

Dosu handoff: Dosu can be used as the AI reviewer for risk explanation, missing-test prompts, and maintainer Q&A. If it does not comment automatically from the PR template, ask:

@dosubot review this PR for changed-area risk, missing tests, docs impact, desktop startup risk, and CLI core impact.

@NanmiCoder
NanmiCoder self-requested a review as a code owner July 28, 2026 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:cli-core area:server enhancement New feature or request needs-maintainer-approval size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants