Skip to content

gtx20060124-bot [ Enhancement ] Fix #24: Add capability/error fields to ALLOW events for audit parity#2

Open
gtx20060124-bot wants to merge 1 commit into
mainfrom
fix/allow-capability-fields
Open

gtx20060124-bot [ Enhancement ] Fix #24: Add capability/error fields to ALLOW events for audit parity#2
gtx20060124-bot wants to merge 1 commit into
mainfrom
fix/allow-capability-fields

Conversation

@gtx20060124-bot
Copy link
Copy Markdown
Owner

Fixes capiscio#24

_emit_allow_event() now passes requested_capability, presented_capability,
error_code, deny_reason, and deny_detail to emit_policy_enforced(),
matching the fields already sent by _emit_deny_event().

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.

fix: ALLOW events missing capability fields for audit parity

1 participant