@zack/conversation-continuity

Flagship multi-space Memory Blueprint for durable conversation continuity across recent interactions, summaries, and saved notes.

Install
agentpm install @zack/conversation-continuity@0.1.0
Inspect / load
agentpm memory inspect @zack/conversation-continuity@0.1.0
Weekly installs
1
0%
Last publish
2d ago
v0.1.0
agent.json
{
  "name": "conversation-continuity",
  "version": "0.1.0",
  "description": "Flagship multi-space Memory Blueprint for durable conversation continuity across recent interactions, summaries, and saved notes.",
  "memory": {
    "scopes": {
      "user": {
        "description": "The end user whose continuity state is being retained."
      },
      "conversation": {
        "description": "The active conversation thread."
      }
    },
    "record_types": {
      "saved_note": {
        "schema": "schemas/saved-note.schema.json",
        "version": "1.0.0",
        "description": "A reusable note or follow-up fact attached to a conversation."
      },
      "interaction": {
        "schema": "schemas/interaction.schema.json",
        "version": "1.0.0",
        "description": "One ordered interaction inside a conversation."
      },
      "conversation_summary": {
        "schema": "schemas/conversation-summary.schema.json",
        "version": "1.0.0",
        "description": "Durable continuity snapshot for one conversation."
      }
    },
    "spaces": {
      "saved_notes": {
        "model": "collection",
        "scope": [
          "user",
          "conversation"
        ],
        "retention": {
          "ttl": "P180D",
          "on_expire": "archive"
        },
        "retrieval": {
          "modes": [
            "filter",
            "semantic"
          ]
        },
        "constraints": {
          "append_only": true
        },
        "description": "Sharable notes and follow-up facts for a conversation.",
        "record_types": [
          "saved_note"
        ]
      },
      "conversation_state": {
        "model": "document",
        "scope": [
          "user",
          "conversation"
        ],
        "retention": {
          "ttl": "P90D",
          "on_expire": "archive"
        },
        "retrieval": {
          "modes": [
            "key",
            "semantic"
          ]
        },
        "description": "The current durable continuity snapshot for one conversation.",
        "record_types": [
          "conversation_summary"
        ]
      },
      "recent_interactions": {
        "model": "sequence",
        "scope": [
          "user",
          "conversation"
        ],
        "capacity": {
          "max_records": 40
        },
        "retention": {
          "ttl": "P14D",
          "on_expire": "delete"
        },
        "retrieval": {
          "modes": [
            "chronological",
            "semantic"
          ]
        },
        "constraints": {
          "append_only": true
        },
        "description": "Short-term ordered interaction history for one active conversation.",
        "record_types": [
          "interaction"
        ]
      }
    },
    "operations": {
      "refresh_saved_note": {
        "type": "transform",
        "inputs": [
          {
            "space": "saved_notes",
            "record_type": "saved_note"
          }
        ],
        "output": {
          "space": "saved_notes",
          "record_type": "saved_note"
        },
        "trigger": {
          "type": "interval",
          "every": "P7D"
        },
        "description": "Normalize one saved note in place to keep continuity facts current.",
        "source_handling": "retain",
        "preserve_provenance": true
      },
      "delete_conversation_continuity": {
        "type": "delete",
        "targets": [
          {
            "space": "recent_interactions"
          },
          {
            "space": "conversation_state"
          },
          {
            "space": "saved_notes"
          }
        ],
        "trigger": {
          "type": "external"
        },
        "description": "Delete continuity state for a conversation when an external workflow requests removal.",
        "cascade_derived_records": true
      },
      "consolidate_recent_interactions": {
        "type": "consolidate",
        "inputs": [
          {
            "space": "recent_interactions",
            "record_type": "interaction"
          }
        ],
        "output": {
          "space": "conversation_state",
          "record_type": "conversation_summary"
        },
        "trigger": {
          "type": "record_count",
          "space": "recent_interactions",
          "threshold": 12
        },
        "description": "Convert recent interactions into a durable conversation summary.",
        "source_handling": "delete_after_success",
        "preserve_provenance": true
      }
    }
  },
  "readme": "README.md",
  "license": {
    "spdx": "MIT"
  }
}
Memory model
Scopes
user
The end user whose continuity state is being retained.
conversation
The active conversation thread.
Record types
saved_note
v1.0.0
A reusable note or follow-up fact attached to a conversation.
Schema path: schemas/saved-note.schema.json
interaction
v1.0.0
One ordered interaction inside a conversation.
Schema path: schemas/interaction.schema.json
conversation_summary
v1.0.0
Durable continuity snapshot for one conversation.
Schema path: schemas/conversation-summary.schema.json
Spaces
saved_notes
collection
Sharable notes and follow-up facts for a conversation.
Scopes
user, conversation
Record types
saved_note
Retrieval
filter, semantic
Capacity
Not declared
Retention TTL
P180D
Expire action
archive
Append only
true
conversation_state
document
The current durable continuity snapshot for one conversation.
Scopes
user, conversation
Record types
conversation_summary
Retrieval
key, semantic
Capacity
Not declared
Retention TTL
P90D
Expire action
archive
Append only
Not declared
recent_interactions
sequence
Short-term ordered interaction history for one active conversation.
Scopes
user, conversation
Record types
interaction
Retrieval
chronological, semantic
Capacity
40 records
Retention TTL
P14D
Expire action
delete
Append only
true
Build metadata
Build type
agentpm-memory-contracts
Format version
1
Contract count
3
Built at
2026-07-27T21:06:12Z
AgentPM version
0.1.20
Manifest path
agent.json