Skip to content

fix(mcp): redact and scope native history fallback - #3

Merged
NaNIsaac merged 1 commit into
mainfrom
fix/mcp-history-fallback
Oct 18, 2026
Merged

NaNIsaac merged 1 commit into
mainfrom
fix/mcp-history-fallback

Conversation

@NaNIsaac

Copy link
Copy Markdown
Owner

When nothing is captured, terminal_history fell back to native shell history unredacted and ignored here/failed.

  • Fallback command text goes through redact(), the same masking append_entry() applies.
  • here=true (default): fallback refused with a note, since native history has no cwd.
  • failed=true: refused with a note, since native history has no exit codes.
  • Tool description and README document the limits.

Fixes #2

@NaNIsaac
NaNIsaac merged commit cd43420 into main Oct 18, 2026
1 check passed
@NaNIsaac
NaNIsaac deleted the fix/mcp-history-fallback branch October 18, 2026 10:11
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(mcp): scope and redact native-shell-history fallback before returning to agents

1 participant