You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: PRD.md
+12-3Lines changed: 12 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,7 @@ To provide developers with a fast, transparent, and integrable security tool tha
43
43
3.**Usability:** Single command integration into existing workflows
44
44
4.**Transparency:** All risk scores backed by specific rule matches and weights
45
45
5.**Extensibility:** Support custom rule sets and pluggable LLM providers
46
+
6.**Safety:** Enforce a configurable input-size guardrail (default 1 MB) across stdin, files, and tail mode
46
47
47
48
### 2.3 Non-Goals (Out of Scope)
48
49
@@ -223,6 +224,10 @@ To provide developers with a fast, transparent, and integrable security tool tha
223
224
└─────────────────────────────────────────┘
224
225
```
225
226
227
+
- The CLI (`crates/llm-guard-cli`) handles argument parsing, configuration, and the shared chunked UTF-8 reader that enforces the configurable input-size guardrail (default 1 MB).
228
+
- Core scanning, scoring, reporting, and LLM integrations live under `crates/llm-guard-core`.
229
+
- See [`docs/ARCHITECTURE.md`](./docs/ARCHITECTURE.md) for a deeper dive and [`docs/RULE_AUTHORING.md`](./docs/RULE_AUTHORING.md) when extending rule packs.
0 commit comments