Skip to content

Rectify: GitHub Mutation Guard Shell-Syntax Normalization and Diagnostic Provenance - #4583

Merged
Trecek merged 14 commits into
developfrom
impl-rectify-github-mutation-guard-redirection-diagnostics-20260813-215742
Aug 14, 2026
Merged

Rectify: GitHub Mutation Guard Shell-Syntax Normalization and Diagnostic Provenance#4583
Trecek merged 14 commits into
developfrom
impl-rectify-github-mutation-guard-redirection-diagnostics-20260813-215742

Conversation

@Trecek

@Trecek Trecek commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

This PR fixes GitHub mutation classification when shell output redirection is present. Redirection operators and destinations were previously left in executable argument lists, causing valid single mutations through gh issue edit, gh api, and mutation-bearing curl to be misclassified as unresolved. The change structurally separates output redirection from executable argv before mutation grammar runs while preserving write-provenance facts.

It also preserves classifier uncertainty provenance end to end: stable static reason codes are attached at uncertainty origins and carried through existing analysis and guard results, so expected fail-closed uncertainty is distinguishable from unexpected classifier or runtime failures. Existing safety contracts remain unchanged, including global session scope, prohibition of raw PR-review publication, and the exactly-one-proven-non-review-mutation rule.

Closes #4581

Implementation Plan

Plan file: /home/talon/projects/generic_automation_mcp/.autoskillit/temp/rectify/rectify_github_mutation_guard_redirection_diagnostics_2026-08-13_194338.md

🤖 Generated with Claude Code via AutoSkillit

@Trecek
Trecek enabled auto-merge August 14, 2026 16:39
@Trecek
Trecek added this pull request to the merge queue Aug 14, 2026
Merged via the queue into develop with commit d22302c Aug 14, 2026
4 checks passed
@Trecek
Trecek deleted the impl-rectify-github-mutation-guard-redirection-diagnostics-20260813-215742 branch August 14, 2026 16:49
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