Skip to content

gtx20060124-bot [ Bugfix ] Fix #33: Widen decision cache key to include policy-relevant inputs#3

Open
gtx20060124-bot wants to merge 1 commit into
mainfrom
fix/cache-key-expand
Open

gtx20060124-bot [ Bugfix ] Fix #33: Widen decision cache key to include policy-relevant inputs#3
gtx20060124-bot wants to merge 1 commit into
mainfrom
fix/cache-key-expand

Conversation

@gtx20060124-bot

Copy link
Copy Markdown
Owner

Fixes capiscio#33

The cache key now includes params_hash, server_origin, policy_version,
capability_class, and deny_on_unknown_class to prevent incorrect cached
decisions when these inputs differ between requests.

Files changed

  • capiscio_mcp/guard.py

Acceptance checklist

  • Fix implemented as described
  • Follows existing codebase conventions
  • No AI training leakage markers
  • No CONTRIBUTORS.json modifications
  • No build artifacts committed

@gtx20060124-bot

Copy link
Copy Markdown
Owner Author

0x6e154f0e2c6190c18c27691537cf12a5f47d0558

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.

Decision cache key should include auth mode and policy-relevant inputs

1 participant