Skip to content

gate: harden fail-closed delegation boundary#87

Merged
RyshMan merged 2 commits intomainfrom
codex/adhoc-fail-closed-boundary-hardening
Mar 16, 2026
Merged

gate: harden fail-closed delegation boundary#87
RyshMan merged 2 commits intomainfrom
codex/adhoc-fail-closed-boundary-hardening

Conversation

@RyshMan
Copy link
Copy Markdown
Contributor

@RyshMan RyshMan commented Mar 16, 2026

Problem

  • delegation intent and boundary enforcement needed stronger fail-closed behavior so indirect execution paths cannot silently bypass policy checks
  • pack and script intent surfaces needed regression coverage to keep the boundary deterministic across CLI, e2e, and acceptance flows
  • docs and compatibility references needed to match the tightened contract

Changes

  • harden delegation intent normalization and boundary evaluation in the gate path
  • add CLI, core, scenario, acceptance, and e2e coverage for delegation-chain and script-intent fail-closed behavior
  • update README and contract docs to reflect the stricter boundary behavior and test coverage expectations

Validation

  • ./gait doctor --json
  • make prepush-full
  • repo pre-push hook on git push -u origin codex/adhoc-fail-closed-boundary-hardening

@RyshMan RyshMan requested a review from davidahmann as a code owner March 16, 2026 19:34
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: fc2e74a289

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread core/gate/policy.go
@RyshMan RyshMan merged commit 0729251 into main Mar 16, 2026
8 checks passed
@RyshMan RyshMan deleted the codex/adhoc-fail-closed-boundary-hardening branch March 16, 2026 19:55
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