{ "format_version": 1, "id": "memory_entry", "setup": true, "name": "Memory", "plural": "Memory", "picture": null, "builtin": true, "engine": "memory", "columns": [ { "key": "title", "name": "The sentence", "type": "text", "required": true, "fact": false }, { "key": "caption", "name": "Kept", "type": "text", "readonly": true, "fact": false }, { "key": "status", "name": "Standing", "type": "choice", "choices": [ "kept", "unreviewed", "held", "dropped" ], "readonly": true, "fact": false, "labels": { "kept": "Kept", "unreviewed": "Unreviewed", "held": "Held", "dropped": "Dropped" } }, { "key": "state_words", "name": "Waiting for", "type": "text", "readonly": true, "fact": false }, { "key": "project", "name": "Project", "type": "text", "readonly": true, "fact": false }, { "key": "pinned", "name": "Pinned", "type": "choice", "choices": [ "pinned", "rest" ], "readonly": true, "fact": false, "labels": { "pinned": "Pinned", "rest": "Not pinned" } }, { "key": "origin", "name": "Written by", "type": "text", "readonly": true, "fact": true, "reading": "added by {value}" }, { "key": "cited", "name": "Cited as", "type": "text", "readonly": true, "fact": false }, { "key": "machine", "name": "Machine", "type": "text", "readonly": true, "fact": false }, { "key": "filed", "name": "Briefs in", "type": "text", "readonly": true, "fact": false }, { "key": "neighbours", "name": "Supersedes", "type": "text", "readonly": true, "fact": false }, { "key": "comments", "name": "Comments", "type": "longtext", "readonly": true, "fact": false }, { "key": "created_at", "name": "Written", "type": "date", "readonly": true, "fact": true, "reading": "{value}", "format": "calendar-datetime" }, { "key": "project_context", "name": "Project context", "type": "bool", "readonly": true, "fact": false }, { "key": "project_link", "name": "Project", "type": "link", "link_to": "project", "readonly": true, "fact": false }, { "key": "reviewed", "name": "Reviewed", "type": "choice", "choices": [ "waiting", "approved" ], "readonly": true, "fact": false }, { "key": "text", "name": "Text", "type": "longtext", "readonly": true, "fact": false }, { "key": "heading", "name": "Name", "type": "text", "readonly": true, "fact": false }, { "key": "added_at", "name": "Added", "type": "date", "readonly": true, "fact": true, "reading": "{value}", "format": "calendar-datetime" } ], "title": "title", "date": "created_at", "project": null, "order": null, "slip": { "title": "title", "subtitle": null, "trailing": null, "photo": null, "toggle": null, "title_lines": 0, "byline": { "column": "status", "words": { "unreviewed": "waiting for your review", "held": "waiting for your review" } } }, "tile": { "face": "slip-list" }, "page": [ { "heading": null, "columns": [ "title", "state_words", "filed" ] }, { "heading": "The record", "columns": [ "origin", "cited", "machine", "neighbours", "created_at" ] }, { "heading": "Comments", "columns": [ "comments" ] } ], "add": false, "group": { "column": "status", "sections": [ { "heading": "Waiting for your review", "values": [ "unreviewed", "held" ] }, { "heading": null, "values": [ "kept" ] }, { "heading": "Dropped", "values": [ "dropped" ] } ] }, "empty": { "title": "Nothing remembered here yet", "message": "Tell an assistant something to remember, and it waits for approval. Archiving removes it from briefings and preserves its history." }, "delete": false, "instructions": "A memory is the owner’s sentence. Review approves it with memory_review; Archive uses memory_archive. A project membership can be pinned or unpinned through memory_update. The text remains the memory engine’s own; never invent it.", "tables": [], "commands": [ { "id": "approve", "label": "Approve", "kind": "update", "verb": "memory_review", "data": { "action": "approve" }, "bindings": { "id": "$id" }, "when": { "status": [ "unreviewed", "held" ] }, "receipt": "Approved", "object": "done", "destructive": true, "confirm": "Approve this memory for the projects it briefs.", "does": "completes" }, { "id": "archive", "label": "Archive", "kind": "update", "verb": "memory_archive", "data": {}, "bindings": { "id": "$id" }, "when": { "status": [ "kept", "unreviewed", "held" ] }, "confirm": "This removes it from every briefing. It keeps its history and can be restored by review.", "receipt": "Archived", "does": "puts-away", "destructive": true, "object": "archive" }, { "id": "pin", "label": "Pin", "kind": "update", "verb": "memory_update", "data": { "pinned": true }, "bindings": { "id": "$id" }, "when": { "project_context": true, "pinned": "rest" }, "receipt": "Pinned", "object": "pushpin" }, { "id": "unpin", "label": "Unpin", "kind": "update", "verb": "memory_update", "data": { "pinned": false }, "bindings": { "id": "$id" }, "when": { "project_context": true, "pinned": "pinned" }, "receipt": "Unpinned", "object": "unlink" }, { "id": "open-project-link", "label": "Open project", "kind": "open", "opens": "project_link" } ], "heads": "heading", "parts": { "shape": "desk", "head": { "facts": [ "created_at" ], "state": "status" }, "links": [], "lists": [], "acts": { "main": "approve", "more": [ "pin", "unpin", "open-project-link" ], "away": "archive" }, "cards": [ { "column": "state_words" }, { "column": "filed" }, { "column": "pinned" }, { "column": "cited" }, { "column": "origin" }, { "column": "machine" }, { "column": "neighbours" }, { "column": "comments" } ], "strip": [] }, "sort": { "column": "pinned", "tie": "created_at" } }