Skip to content

Consistent Environment Wrapper Handling in Script Delegation - #335

Merged
torn4dom4n merged 3 commits into
refactor-autofix-architecture-15113170007543883834from
fix/environment-wrapper-script-delegation-6524082574235588331
Nov 11, 2026
Merged

torn4dom4n merged 3 commits into
refactor-autofix-architecture-15113170007543883834from
fix/environment-wrapper-script-delegation-6524082574235588331

Conversation

@google-labs-jules

Copy link
Copy Markdown
Contributor

Resolve PR #327 review finding F-01 by centralizing command token normalization (normalizeCommandTokens) to strip inline environment assignments and unwrap cross-env / cross-env-shell wrappers across all command parsing, script delegation detection, tool command verification, and script classification paths. This ensures parent fix scripts delegating via environment wrappers are correctly classified and prevents child formatting/linting scripts from being scheduled redundantly. Updated dist/autofix.mjs bundle, added changeset, and added comprehensive regression tests.


PR created automatically by Jules for task 6524082574235588331 started by @torn4dom4n

@google-labs-jules

Copy link
Copy Markdown
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@changeset-bot

changeset-bot Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: d160f26

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@area44/workflows Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@torn4dom4n
torn4dom4n merged commit b503c51 into refactor-autofix-architecture-15113170007543883834 Nov 11, 2026
18 checks passed
@torn4dom4n
torn4dom4n deleted the fix/environment-wrapper-script-delegation-6524082574235588331 branch November 11, 2026 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant