-
Notifications
You must be signed in to change notification settings - Fork 2
[SEC-1.1] TrustLevel enum and ContentSource model #1196
Copy link
Copy link
Closed
Labels
corezeph-core cratezeph-core cratepriority/highHigh priorityHigh prioritysecuritySecurity-related issueSecurity-related issuesize/SSmall PR (11-50 lines)Small PR (11-50 lines)
Description
Part of #1195 — Phase 1
Define the trust boundary model used across all crates.
Crates: zeph-core
Tasks:
-
TrustLevelenum:Trusted,LocalUntrusted,ExternalUntrusted -
ContentSourcestruct: source kind (tool, web, mcp, a2a, memory, file), origin URL/name, timestamp -
SanitizedContentstruct: original content, trust level, source, detected flags, wrapped output - Derive
schemars::JsonSchemaon public types - Unit tests for type construction and serialization
Files: crates/zeph-core/src/sanitizer.rs (new), crates/zeph-core/src/lib.rs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
corezeph-core cratezeph-core cratepriority/highHigh priorityHigh prioritysecuritySecurity-related issueSecurity-related issuesize/SSmall PR (11-50 lines)Small PR (11-50 lines)