Repository navigation
Suppress intentional SC2086 in hippo MCP script - #74742
Conversation
Co-authored-by: gh-aw-bot <[email protected]>
|
✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft. Design Decision Gate 🏗️Outcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ Ponytail Reviewer completed successfully! Ponytail ReviewerOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅
|
|
✅ PR Code Quality Reviewer completed the code quality review.
|
|
✅ Test Quality Sentinel completed test quality analysis. Test Quality SentinelOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
Comment MemoryPeek at saved memory (pr-code-quality-reviewer)Note This comment is managed by comment memory.Expand the saved memory block to view or edit the persistent context for this thread.
|
There was a problem hiding this comment.
The scoped ShellCheck suppression is clear, but the underlying invocation still contradicts the documented quoted-argument interface.
Highlights
INPUT_ARGSis unquoted and embedded quotes are not re-parsed, so multi-word recall and remember inputs are split incorrectly.- Parse arguments quote-aware into an array, or revise the documented interface to remove unsupported quoting.
🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~2 AIC · ⌖ ~1 AIC · ⊞ 1.6K
Comment /review to run again
| required: true | ||
| run: | | ||
| echo "hippo $INPUT_ARGS" | ||
| # shellcheck disable=SC2086 # INPUT_ARGS intentionally word-splits into multiple hippo CLI arguments |
There was a problem hiding this comment.
This suppression blesses an expansion that breaks the quoted multi-word arguments promised by the input examples, causing commands such as recall "api errors" and remember "always run make fmt before committing" to pass literal quote fragments as separate arguments.
💡 Preserve documented argument quoting
INPUT_ARGS is expanded after the shell has already parsed the command, so embedded quotes are not interpreted as grouping syntax; they become part of split words. Parse the string with a quote-aware splitter into an array and invoke hippo "${args[@]}" (without eval), or remove the quoted-argument examples and explicitly document the limitation. Otherwise recalls and memory writes can silently operate on the wrong text.
There was a problem hiding this comment.
Skills-Based Review 🧠
Applied /diagnosing-bugs and /tdd. No actionable issues found.
📋 Validation
- The scoped
SC2086suppression is attached to the intentional word-splitting command. - The rationale is clear and preserves the existing CLI argument behavior.
- The suppression was validated under Bash with ShellCheck 0.11.0.
- No duplicate review comments were present.
🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: gpt56 high · ~4 AIC · ⌖ ~1 AIC · ⊞ 5.4K
Comment /matt to run again
There was a problem hiding this comment.
🟡 Changes recommended
A moderate active finding remains because the documented string-based argument handling misparses quoted values and permits pathname expansion, and the current suppression does not address the bug.
1 open issue
What changed in this PR
This pull request suppresses ShellCheck SC2086 in the shared Hippo MCP script and regenerates the two importing workflow lockfiles. The suppression preserves unquoted argument expansion but masks an argument-handling defect affecting quoted inputs and pathname globbing.
Changes:
- Added a scoped
SC2086suppression with rationale. - Regenerated both Hippo workflow lockfiles.
- Requires replacing the string-based shell argument contract with structured, safely parsed arguments.
This pull request requires changes.
| File | Summary |
|---|---|
.github/workflows/shared/hippo-memory.md |
Adds the suppression, but the underlying unquoted expansion mishandles documented quoted arguments. |
.github/workflows/hippo-embed.lock.yml |
Regenerated handler retains the argument-parsing defect from the shared script. |
.github/workflows/daily-hippo-learn.lock.yml |
Regenerated handler retains the argument-parsing defect from the shared script. |
Review effort: Lite (auto)
| required: true | ||
| run: | | ||
| echo "hippo $INPUT_ARGS" | ||
| # shellcheck disable=SC2086 # INPUT_ARGS intentionally word-splits into multiple hippo CLI arguments |
|
Note The pull request was not created — a fallback review issue was created instead due to protected file changes: #74780 PR FinisherSubmitted for publication (staged, not confirmed): merged Validation: Human actions: regenerate lock files ( PR finisher dispatch requested for the following outstanding work (summary routed from Sous Chef). Sous-chef head: a27878c
|
|
🎉 This pull request is included in a new release. Release: |

ShellCheck flags the hippo MCP script’s unquoted
$INPUT_ARGS, but quoting it would collapse the caller-provided command into one argument and break CLI invocations.Change: Add a scoped SC2086 suppression with a rationale in the shared script, and regenerate both importing workflow lockfiles.