Sensitivity.instructions
---
applyTo: src/contextweaver/context/sensitivity.py
---
# Sensitivity Enforcement — Security-Grade Code
This module enforces data classification and redaction in the context pipeline.
Treat all changes as security-sensitive:
- **Never weaken defaults.** The default sensitivity floor and default drop action
are deliberately conservative.
- **Extra review scrutiny required.** Changes here affect what data reaches the LLM.
- **Do not refactor for "simplicity."** The current structure exists to enforce
safety invariants. See `docs/agent-context/invariants.md` for rationale.when to use it
Community prompt sourced from the open-source GitHub repo dgenio/contextweaver (Apache-2.0). A "Sensitivity.instructions" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
roleplaycommunitygeneral
source
dgenio/contextweaver · Apache-2.0