//! Definitions a database holds as retired (owner, 17 Nov 2026: the old //! screenplay tables go; Cotton Story is the one screenwriting app). The kit //! ships none of these. A phone's own copy that defines one moves its //! definition out of the served set into its kit keep's own bookkeeping //! (cotton-tools `kit_keep`, KEEP_RULE 13), as the object does under its //! `kit_retired` meta key (apps/business/src/retired.ts, KEEP_RULE 15): //! never served, never drawn, never offered over MCP. The rows stay in //! storage, untouched. //! //! Twin of apps/business/src/retired.ts (GONE_TABLES, GONE_TOOLS); a test //! holds the lists equal. /// The tables a database holds as retired. pub const GONE_TABLES: [&str; 81] = [ "screenplay", "screenplay_scene", "screenplay_character", "screenplay_place", "screenplay_draft", "screenplay_draft_scene", "screenplay_document", // The Recipes app and its tables (owner, 22 Nov 2026: he holds none). "recipe", "recipe_ingredient", "cook_log", "trip", "trip_item", "page_highlight", // TABLE DROP 1 (owner, 27 Nov 2026; assets/design/shared/TABLE-INVENTORY.md): the dead tables and the parked // apps Money, Music, Developer, Journal, the old People suggestions, News, Thoughts, the old Meetings, the code // tables and Podcasts. Their rows wait on the object for the erase; a signed-in phone lets its own go // (cotton-client `drop_gone_rows`) and parks any change of one (`table_gone`). "statement_line", "transaction", "evidence", "subscription_charge", "statement", "song", "person_suggestion", "subscription", "artist", "music_album", "page", "listen", "money_account", "machine", "journal_entry", "money_owed", "person_language", "person_note", "news_seen", "pull", "meeting_utterance", "document_page", "repo_comment", "repo_commit", "news_story", "issue", "feedback", "news_edition", "comment", "outage", "thought", "meeting", "repo_runner", "placement_proposal", "mood", "code_runner", "news_topic", "goal", "repository", "alarm", "decision", "location", "news_settings", "release", "account_usage_sample", "agent_account", "assistant_run", "code_credential", "dev_job", "filing_proposal", "message_receipt", "message_settings", "post", "quota", "quota_reading", "repo_bundle", "repo_clone", "repo_job", "repo_label", "repo_merge_queue", "repo_rule", "repo_var", "run", "thought_attachment", "thread_filing", "thread_mark", "episode", "podcast", ]; /// The tools a database holds as retired. pub const GONE_TOOLS: [&str; 15] = ["screenplays", "recipes", "trips", "pages", "email", "calling", "money", "subscriptions", "music", "journal", "podcasts", "machines", "artifacts", "agents", "memories"]; /// Whether `table` is one a database holds as retired. pub fn is_gone_table(table: &str) -> bool { GONE_TABLES.contains(&table) } #[cfg(test)] #[path = "retired_tests.rs"] mod tests;