Skip to content

[SECURITY] Share semantic SQL effect classification across parser and planner #928

Open

Description

@jeffreyaven

Follow-up to #818, covering work outside the MCP library. Introduce a semantic effect classification shared with the parser and planner, including nested EXEC, subqueries, views and other indirection, and effectful intrinsic relations. In particular, inspect stackql_preview.iac converge and destroy in internal/stackql/intrinsic/iac.go, which perform cloud operations from SELECT when unstable preview is enabled. Ensure consumers can determine effects before execution, and add tests with mock operation counters, including preview IaC and view indirection. Coordinate with the MCP policy rather than relying solely on SQL syntax or regex. This issue tracks the cross-module work and does not assert that the existing MCP safety bypass is resolved.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions