Skip to content

fix: require enforce as default, add normative silent-mode constraint - #28

Merged
imran-siddique merged 1 commit into
mainfrom
fix/silent-mode-default
Jun 12, 2026
Merged

fix: require enforce as default, add normative silent-mode constraint#28
imran-siddique merged 1 commit into
mainfrom
fix/silent-mode-default

Conversation

@imran-siddique

Copy link
Copy Markdown
Member

Summary

  • Adds "default": "enforce" to enforcement_mode in both schema/trace-claim.json and src/agentrust_trace/schema/trace-v0.1.json.
  • Corrects the enforcement_mode description: silent mode still records every would-have-denied decision in the audit chain; only operational logs are suppressed (not "no logging").
  • Adds two normative sentences to spec/trace-v0.1.md (section 3.1 field table and section 4.3 policy claim binding): gateways MUST default to enforce; a deployment MUST explicitly configure silent mode.

Closes #19.

Test plan

  • Verify schema/trace-claim.json has "default": "enforce" on enforcement_mode.
  • Verify src/agentrust_trace/schema/trace-v0.1.json has the same.
  • Verify spec normative MUST language is present in both section 3.1 and section 4.3.
  • CI passes (schema validation, existing test suite).

🤖 Generated with Claude Code

Add `"default": "enforce"` to enforcement_mode in both schema files.
Update the description to accurately reflect that silent mode still
records every would-have-denied decision in the audit chain; only
operational logs are suppressed. Add normative MUST statements in
spec/trace-v0.1.md: gateways MUST default to enforce, and a deployment
MUST explicitly configure silent mode.

Closes #19
@imran-siddique
imran-siddique merged commit b9d7af2 into main Jun 12, 2026
6 checks passed
@imran-siddique
imran-siddique deleted the fix/silent-mode-default branch June 12, 2026 23:14
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.

enforcement_mode 'silent' legitimizes no-logging policy mode

1 participant