@zack/support-customer-state
Simple support-facing Memory Blueprint for one durable customer state document with light lifecycle policy.
Install
agentpm install @zack/support-customer-state@0.1.0Inspect / load
agentpm memory inspect @zack/support-customer-state@0.1.0Weekly installs
2
0%
Last publish
Today
v0.1.0
Record contracts
Available contracts
Selected contract
Space
customer_state
Record type
customer_state
Schema version
1.0.0
Model
document
Source schema
schemas/customer-state.schema.json
Generated path
memory/contracts/customer_state.customer_state.schema.json
Envelope fields
idrequiredstring
scoperequiredobject
spacerequiredconst customer_state
created_atrequiredstring
expires_atstring
provenanceobject
updated_atstring
record_typerequiredconst customer_state
schema_versionrequiredconst 1.0.0
Blueprint content fields
display_namerequiredstring
support_tierrequiredenum (3)
known_constraintsarray
preferred_response_tonerequiredenum (3)
preferred_contact_channelrequiredenum (3)
Field-level governance
content.display_name
Data class
personal
Sensitivity
moderate
Persist
true
Shareable
false
content.support_tier
Data class
operational
Sensitivity
low
Persist
true
Shareable
true
content.known_constraints
Data class
operational
Sensitivity
moderate
Persist
true
Shareable
true
content.preferred_response_tone
Data class
personal
Sensitivity
moderate
Persist
true
Shareable
false
content.preferred_contact_channel
Data class
personal
Sensitivity
moderate
Persist
true
Shareable
false
Resolved schema
{
"path": "memory/contracts/customer_state.customer_state.schema.json",
"model": "document",
"space": "customer_state",
"schema": {
"$id": "agentpm://memory/support-customer-state/0.1.0/customer_state/customer_state/1.0.0",
"type": "object",
"title": "support-customer-state customer_state customer_state record contract",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id",
"record_type",
"space",
"scope",
"schema_version",
"created_at",
"content"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"scope": {
"type": "object",
"required": [
"user"
],
"properties": {
"user": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
"space": {
"const": "customer_state"
},
"content": {
"$id": "content",
"type": "object",
"title": "Support Customer State",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"display_name",
"support_tier",
"preferred_contact_channel",
"preferred_response_tone"
],
"properties": {
"display_name": {
"type": "string",
"minLength": 1,
"x-agentpm-persist": true,
"x-agentpm-shareable": false,
"x-agentpm-data-class": "personal",
"x-agentpm-sensitivity": "moderate"
},
"support_tier": {
"enum": [
"standard",
"priority",
"enterprise"
],
"type": "string",
"x-agentpm-persist": true,
"x-agentpm-shareable": true,
"x-agentpm-data-class": "operational",
"x-agentpm-sensitivity": "low"
},
"known_constraints": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"x-agentpm-persist": true,
"x-agentpm-shareable": true,
"x-agentpm-data-class": "operational",
"x-agentpm-sensitivity": "moderate"
},
"preferred_response_tone": {
"enum": [
"concise",
"reassuring",
"detailed"
],
"type": "string",
"x-agentpm-persist": true,
"x-agentpm-shareable": false,
"x-agentpm-data-class": "personal",
"x-agentpm-sensitivity": "moderate"
},
"preferred_contact_channel": {
"enum": [
"email",
"chat",
"phone"
],
"type": "string",
"x-agentpm-persist": true,
"x-agentpm-shareable": false,
"x-agentpm-data-class": "personal",
"x-agentpm-sensitivity": "moderate"
}
},
"description": "Durable structured support context for one customer.",
"additionalProperties": false
},
"created_at": {
"type": "string",
"format": "date-time"
},
"expires_at": {
"type": "string",
"format": "date-time"
},
"provenance": {
"type": "object",
"properties": {
"operation": {
"enum": [
"delete_customer_state",
"refresh_customer_state"
],
"type": "string"
},
"source_record_ids": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"uniqueItems": true
}
},
"additionalProperties": false
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"record_type": {
"const": "customer_state"
},
"schema_version": {
"const": "1.0.0"
}
},
"description": "Resolved Memory record contract for package `support-customer-state` space `customer_state` and record type `customer_state`.",
"additionalProperties": false
},
"sha256": "sha256:ab8eb7e071121d8907246f5cd11f3b446cee3a3fd3481ac6af1847ed783fc7ed",
"record_type": "customer_state",
"source_schema": "schemas/customer-state.schema.json",
"schema_version": "1.0.0"
}