Skip to content

Refuse native shell merges before evaluator authorization (T46) #207

Closed

Description

@erickb336

Sage task T46. Component of #88.

The native policy currently delegates merge commands to its supplied evaluator. An evaluator that returns pass can permit a recognized merge, although this runtime keeps autopilot off.

Add a mandatory refusal through the existing shared merge classifier. Apply it while Sage is on and to children bound to the current owner epoch after Sage off. Keep ordinary off-mode evaluation. Return a fixed public reason without command contents.

Prove the composed policy refuses exact, malformed, wrapped, REST, and GraphQL merge forms before a passing evaluator runs. Check ordinary commands, harmless discussion, and off-mode behavior. Keep all command strings inside the parser and policy tests.

This is one component. It does not complete command authorization, enforce GitHub MCP calls, or enable automatic Sage. Full command checks still need trusted effective execution context. Avoid Claude PR #140's files.

Activity

  1. added
    codex
    on Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    codex

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions