@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.0
Inspect / load
agentpm memory inspect @zack/support-customer-state@0.1.0
Weekly installs
2
0%
Last publish
Today
v0.1.0
Record 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
idrequired
string
scoperequired
object
spacerequired
const customer_state
created_atrequired
string
expires_at
string
provenance
object
updated_at
string
record_typerequired
const customer_state
schema_versionrequired
const 1.0.0
Blueprint content fields
display_namerequired
string
support_tierrequired
enum (3)
known_constraints
array
preferred_response_tonerequired
enum (3)
preferred_contact_channelrequired
enum (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"
}