@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
agent.json
{
  "name": "support-customer-state",
  "version": "0.1.0",
  "description": "Simple support-facing Memory Blueprint for one durable customer state document with light lifecycle policy.",
  "memory": {
    "scopes": {
      "user": {
        "description": "The customer whose support state is being retained."
      }
    },
    "record_types": {
      "customer_state": {
        "schema": "schemas/customer-state.schema.json",
        "version": "1.0.0",
        "description": "Durable structured support context for one customer."
      }
    },
    "spaces": {
      "customer_state": {
        "model": "document",
        "scope": [
          "user"
        ],
        "retention": {
          "ttl": "P365D",
          "on_expire": "delete"
        },
        "retrieval": {
          "modes": [
            "key"
          ]
        },
        "description": "The current durable support state for one customer.",
        "record_types": [
          "customer_state"
        ]
      }
    },
    "operations": {
      "delete_customer_state": {
        "type": "delete",
        "targets": [
          {
            "space": "customer_state"
          }
        ],
        "trigger": {
          "type": "external"
        },
        "description": "Delete the durable customer state when an external workflow requests removal.",
        "cascade_derived_records": false
      },
      "refresh_customer_state": {
        "type": "transform",
        "inputs": [
          {
            "space": "customer_state",
            "record_type": "customer_state"
          }
        ],
        "output": {
          "space": "customer_state",
          "record_type": "customer_state"
        },
        "trigger": {
          "type": "interval",
          "every": "P30D"
        },
        "description": "Refresh the durable customer state from the current structured record.",
        "source_handling": "retain",
        "preserve_provenance": true
      }
    }
  },
  "readme": "README.md",
  "license": {
    "spdx": "MIT"
  }
}
Memory model
Scopes
user
The customer whose support state is being retained.
Record types
customer_state
v1.0.0
Durable structured support context for one customer.
Schema path: schemas/customer-state.schema.json
Spaces
customer_state
document
The current durable support state for one customer.
Scopes
user
Record types
customer_state
Retrieval
key
Capacity
Not declared
Retention TTL
P365D
Expire action
delete
Append only
Not declared
Build metadata
Build type
agentpm-memory-contracts
Format version
1
Contract count
1
Built at
2026-07-27T17:11:37Z
AgentPM version
0.1.20
Manifest path
agent.json