Skip to content

fix(mcpx): report unsupported script hook output effects - #12064

Merged
dezren39 merged 1 commit into
mainfrom
aster/12063-hook-dropped-20261119
Nov 21, 2026
Merged

dezren39 merged 1 commit into
mainfrom
aster/12063-hook-dropped-20261119

Conversation

@dezren39

@dezren39 dezren39 commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Summary

Reporting-only child of #1929's named script/module conformance gap, separate from prompt-action #11141.

  • Report exact unsupported top-level ask/refuse/propose/run names in deterministic order after successful typed JSON decoding.
  • Never interpret or execute their values. Preserve apply/advise, phase clamping, results, permissions, failed-hook handling and malformed/plain-text fallback.
  • Extract the existing output decoder into a small method for hermetic tests; prompt path untouched.

Fixes #12063
Parent #1929 stays open.

Verification

  • Regression red captured missing Dropped entries, then green.
  • 19 focused hermetic Go tests pass, including existing prompt-path compatibility; tests use inert JSON fixtures/fake providers, no daemon discovery or live services.
  • New tests cover null presence, duplicates, exact keys/nesting, legacy decoder equivalence, failed hooks and all four phase/application outcomes.
  • git diff --check passed; independent read-only reviewer approved.
  • No broad suite, manual workflow dispatch, deployment or service restart.

Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@dezren39
dezren39 requested a review from a team as a code owner November 19, 2026 19:16
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-19T19:18:46.473288Z 74e46cd Manual request
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Nov 19, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 39 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ef8b03ce-f5cd-4da3-8e9e-5e5d9475c499
Commits

Reviewing files that changed from the base of the PR and between 2572583 and 74e46cd.

Files selected for processing: 2

  • pkgs/mcpx/internal/execsvc/hooks.go
  • pkgs/mcpx/internal/execsvc/script_output_test.go
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@dezren39

Copy link
Copy Markdown
Member Author

@codex review exact head 74e46cd. Reporting-only script/module output keys; verify existing decoding/fallback/phase semantics unchanged and no prompt-path changes.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: 74e46cd8bc

ℹ️ 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".

@dezren39 dezren39 removed their assignment Nov 20, 2026
@dezren39
dezren39 merged commit 16d6275 into main Nov 21, 2026
1 check passed
@dezren39
dezren39 deleted the aster/12063-hook-dropped-20261119 branch November 21, 2026 04:08
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.

fix(mcpx): report unsupported script-hook output effect keys

1 participant