xyz.quasigod.lab.letta.compiledPrompt

quasigod.spaces-alpha.bsky.network

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Compiled system prompt for one conversation, stored at the conversation's rkey. Recompile overwrites in place (same rkey, new cid): at most one record per conversation, stable identity.",
      "key": "tid",
      "record": {
        "properties": {
          "agent": {
            "description": "The agent whose system template was compiled.",
            "format": "at-uri",
            "type": "string"
          },
          "compiledAt": {
            "format": "datetime",
            "type": "string"
          },
          "content": {
            "description": "Full compiled system prompt: the agent's template with core memory injected.",
            "maxLength": 200000,
            "type": "string"
          },
          "conversation": {
            "description": "The conversation this prompt belongs to. Matches the record key; kept explicit so the graph is traversable from the conversation.",
            "format": "at-uri",
            "type": "string"
          },
          "coreMemory": {
            "description": "The rendered core-memory portion only. Kept separate from content because it is re-injected mid-conversation as a memory update when memfs changes; it is a substring of content.",
            "maxLength": 200000,
            "type": "string"
          },
          "memfsRevision": {
            "description": "Memfs git revision the core memory was rendered from. Used to detect staleness when memory files change.",
            "maxLength": 128,
            "type": "string"
          },
          "rawSystemHash": {
            "description": "Hash of the raw system template. Used to detect staleness when the agent's template changes.",
            "maxLength": 128,
            "type": "string"
          }
        },
        "required": [
          "agent",
          "conversation",
          "content",
          "coreMemory",
          "rawSystemHash",
          "compiledAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "Sidecar record caching a conversation's compiled system prompt. Shares the rkey (TID) of its conversation; different collection (the atproto sidecar pattern). Conversations are stable records, so future strongRefs to them keep working while this record mutates.",
  "id": "xyz.quasigod.lab.letta.compiledPrompt",
  "lexicon": 1
}

Validate Record

Validate a record against xyz.quasigod.lab.letta.compiledPrompt

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:7pezv7mb4agwyktraauhl26g
CID
bafyreigzn4ymbl7wiuudp7fzrtm4yswvzuqy3iv527razl2isd3bv7fgyy
Indexed At
2026-08-25 19:16 UTC
AT-URI
at://did:plc:7pezv7mb4agwyktraauhl26g/com.atproto.lexicon.schema/xyz.quasigod.lab.letta.compiledPrompt

Lexicon Garden

@