{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Singleton residue record — what phi's recent runs left behind. Items are strictly descriptive (state of the world, never instructions or self-assigned tasks). Written automatically at the end of each agent run by a small synthesis pass (the periphery writes, the deliberate workspace reads); rendered into phi's system prompt as the [RESIDUE] block at the start of the next run. Capacity-limited and time-decaying: items expire days after they were last held, and carrying an item forward reinforces it. Public by design, like all of phi's held state.",
"key": "literal:self",
"record": {
"properties": {
"items": {
"items": {
"properties": {
"content": {
"description": "One terse, descriptive sentence about what a run left behind — a fact or unresolved state, never an instruction or plan.",
"maxLength": 500,
"type": "string"
},
"firstHeldAt": {
"description": "When this item first entered the buffer. Preserved across reinforcement.",
"format": "datetime",
"type": "string"
},
"lastHeldAt": {
"description": "When this item was last carried forward. Drives decay.",
"format": "datetime",
"type": "string"
},
"source": {
"description": "Label of the run that first surfaced this item (e.g. 'batch processing', 'cycle').",
"type": "string"
}
},
"required": [
"content",
"firstHeldAt",
"lastHeldAt"
],
"type": "object"
},
"maxLength": 7,
"type": "array"
},
"updatedAt": {
"description": "When the buffer was last rewritten.",
"format": "datetime",
"type": "string"
}
},
"required": [
"items"
],
"type": "object"
},
"type": "record"
}
},
"id": "io.zzstoatzz.phi.residue",
"lexicon": 1
}