Skip to content

Implement proactive preflight planning#229

Merged
pengfei-threemoonslab merged 2 commits into
mainfrom
codex/implement-phase-3-proactive-shipgate
Jun 18, 2026
Merged

Implement proactive preflight planning#229
pengfei-threemoonslab merged 2 commits into
mainfrom
codex/implement-phase-3-proactive-shipgate

Conversation

@pengfei-threemoonslab

Copy link
Copy Markdown
Contributor

Summary

Implements Phase 3 proactive Shipgate planning without adding a second release verdict engine.

  • Adds PreflightResultV2, PreflightPlanV1, and HostPermissionRequestV1, including deterministic signals[], verify routing, plan summaries, and optional host-grant drift.
  • Adds agents-shipgate preflight --workspace . --plan <path|-> --json while preserving legacy preflight flags as compatibility shorthands.
  • Moves host-grant inventory/diff logic into core.host_grants and keeps audit --host as a thin CLI wrapper.
  • Extends preflight evaluators for protected surfaces, capability evidence gaps, least privilege, host permission requests, policy drift, and host-grant drift.
  • Updates the read-only MCP shipgate.preflight tool to accept plan.
  • Refreshes discovery docs, schemas, .well-known, agent instructions, skills, Cursor rules, and adoption harness criteria around the new plan-native proactive flow.

Validation

  • ruff check .
  • python scripts/generate_schemas.py --check
  • pytest -q

Notes

report.json.release_decision.decision remains the only merge/release gate. Preflight remains a routing/projection surface and does not emit a competing pass/mergeable verdict.

@pengfei-threemoonslab pengfei-threemoonslab changed the title [codex] Implement proactive preflight planning Implement proactive preflight planning Jun 18, 2026
@pengfei-threemoonslab pengfei-threemoonslab marked this pull request as ready for review June 18, 2026 18:34
@pengfei-threemoonslab pengfei-threemoonslab merged commit f7db4d3 into main Jun 18, 2026
2 checks passed
@pengfei-threemoonslab pengfei-threemoonslab deleted the codex/implement-phase-3-proactive-shipgate branch June 18, 2026 19:32
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