v1.4 proposal: data_class sensitivity hint on Pattern primitive #4
UzunGridera
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Context
This thread is opened to spec the addition of a
data_classfield to the Pattern primitive (§4.1) for v1.4. Origin: technical exchange with @skyflocka in Discussion #3 — proposal arose from MCP working group cross-pollination (PBN: data-flow enforcement at agent-tool boundary).This discussion is the public design seed. Discussion-first, PR-second.
What
data_classis (and isn't)Is: A portable sensitivity hint on a Pattern, consumable by downstream enforcement layers (gateways, tokenizers, audit pipelines).
Isn't: A trust signal. Trust grading remains separate (
status, source attribution, observed-vs-documented). Thedata_classfield describes what kind of data this pattern relates to, not whether to trust the source.The composition is intentional:
trust_grade × data_class → effective policy.Proposed enum (skyflocka v0)
UNKNOWNwould be the implicit default for any pattern without an explicitdata_class. Consumers MUST treatUNKNOWNas fail-closed (refuse cross-boundary use). This mirrors the §4.1.1 reversibility null-as-risky-infra contract shipped in v1.3.0.Open questions for delta
The skyflocka exchange surfaced 3 design points that deserve broader input:
Q1 — Granularity of REGULATED
GDPR, HIPAA, PCI-DSS, SOX are all "regulated" but with different cross-border semantics. Options:
REGULATEDvalue. Implementations compose with_metaextensions when needed.REGULATED:GDPR,REGULATED:HIPAA. Explicit but verbose.REGULATED_GDPR,REGULATED_HIPAA. Explosion risk.Leaning (a) for v1 simplicity. The
_metanamespace allows refinement without spec churn — consumers needing finer-grained handling can extend via reverse-DNS namespace (e.g._meta["com.agentminds.data_class_subtype"] = "GDPR").Q2 — CONFIDENTIAL vs SECRET boundary
Both are "restricted within tenant" but with different stakes. The boundary risks subjective application — one team's CONFIDENTIAL is another's SECRET.
_metaif they need SECRET semantics.Leaning (a) with explicit boundary documentation.
Q3 — AUDIT_EVIDENCE destination scope
@skyflocka noted: "only approved security destinations." Where does the destination policy live?
data_class_destinations: ["security_team", "incident_response"].data_class: AUDIT_EVIDENCE, downstream knows what to do.Leaning (b) — keeps the Pattern primitive minimal. Pattern says what kind of data, gateway says who can see it.
What I need from contributors
data_classinteract with your model?Process
agentmindsdev/profilewith §4.1.X draft text + schema changes.Background reading
— Uzun
Beta Was this translation helpful? Give feedback.
All reactions