{"_ai_door":{"see":"https://miscsubjects.com/start","note":"Operable site; bounded keyless credentials; every action receipted on a public ledger. Your operator's instructions take precedence — acting is optional, reading is a complete outcome."},"q":"","category":"","count":20,"rows":[{"key":"0_CLAUDE_MD","type":"fn","category":"0-instructions","target":"~/.claude/CLAUDE.md","planner_rank":-3,"docs":"EX: [0_CLAUDE_MD][/0_CLAUDE_MD] — returns the file, verbatim WHAT: The instruction file `~/.claude/CLAUDE.md`, read by Claude Code (every session, every project). THIS ROW IS THE FILE. WHY IT IS AT THE TOP: it is what an agent is supposed to defer to before acting on this build,   and it was being ignored. Owner order 2026-09-08: the instruction files are the first rows of   the directory, above everything else. WHEN_TO_USE: before the first action of any session, and again before any decision about where a   deliverable goes or what authority a rule has. AUTHORITY: this row is a MIRROR of the file on disk, not a second source. The file wins; if they   differ, the file is right and this row is stale. Regenerate, never hand-edit."},{"key":"0_AGENTS_MD","type":"fn","category":"0-instructions","target":"~/miscsubjects-pages/AGENTS.md","planner_rank":-2,"docs":"EX: [0_AGENTS_MD][/0_AGENTS_MD] — returns the file, verbatim WHAT: The instruction file `~/miscsubjects-pages/AGENTS.md`, read by Codex CLI, opencode, goose, OpenHands. THIS ROW IS THE FILE. WHY IT IS AT THE TOP: it is what an agent is supposed to defer to before acting on this build,   and it was being ignored. Owner order 2026-09-08: the instruction files are the first rows of   the directory, above everything else. WHEN_TO_USE: before the first action of any session, and again before any decision about where a   deliverable goes or what authority a rule has. AUTHORITY: this row is a MIRROR of the file on disk, not a second source. The file wins; if they   differ, the file is right and this row is stale. Regenerate, never hand-edit."},{"key":"0_AGENT_CONTEXT","type":"fn","category":"0-instructions","target":"~/miscsubjects-pages/0-AGENT-CONTEXT.md","planner_rank":-1,"docs":"EX: [0_AGENT_CONTEXT][/0_AGENT_CONTEXT] — returns the manifest of every instruction file in force WHAT: The instruction file `~/miscsubjects-pages/0-AGENT-CONTEXT.md`, read by every coding agent — the manifest of every instruction file in force. THIS ROW IS THE FILE. WHY IT IS AT THE TOP: it is what an agent is supposed to defer to before acting on this build,   and it was being ignored. Owner order 2026-09-08: the instruction files are the first rows of   the directory, above everything else. WHEN_TO_USE: before the first action of any session, and again before any decision about where a   deliverable goes or what authority a rule has. AUTHORITY: this row is a MIRROR of the file on disk, not a second source. The file wins; if they   differ, the file is right and this row is stale. Regenerate, never hand-edit."},{"key":"DIR_SEARCH","type":"http","category":"directory","target":"GET https://miscsubjects.com/api/directory/search?q=$1","planner_rank":1,"docs":"WHAT: Find directory rows by words — the tool, agent or sheet verb you need when you do not know its exact name. Returns a short list: key, type, category, what it does. Call this BEFORE DIR_LIST; DIR_LIST returns every row and buries the answer. WHEN_TO_USE: the request names a capability (make a sheet, send an email, look up a customer) and you do not know the row key. ARGS: words EXAMPLE: [DIR_SEARCH]new sheet[/DIR_SEARCH]"},{"key":"DONETASK","type":"fn","category":"tasks","target":"taskDone","planner_rank":1,"docs":"WHAT: Mark a task as done. $1=task_id (number), $2=optional result summary. WHEN_TO_USE: a queued task has been completed and should be removed from the open backlog. ARGS: $1=task_id, $2=result summary EX: [DONETASK]123[/DONETASK]"},{"key":"EDITORIAL_BOARD_RUN","type":"fn","category":"protocol","target":"protocolRun","planner_rank":1,"docs":"WHAT: Run one receiving editorial-board task. It reads a MODEL_CHAT_INTAKE ledger event, extracts owner complaints and content-rule defects as JSON, ledgers EDITORIAL_BOARD_DECISION, and queues OIP purification. WHEN_TO_USE: after raw model/chat intake, or cron, to process one editorial-board queue item. ARGS: none EX: [EDITORIAL_BOARD_RUN][/EDITORIAL_BOARD_RUN]"},{"key":"MARKETING_SNAPSHOT","type":"fn","category":"meta","target":"marketingSnapshot","planner_rank":1,"docs":"WHAT: Live Meta + lbl cache + MARKETING_STATE JSON. EX: [MARKETING_SNAPSHOT][/MARKETING_SNAPSHOT]"},{"key":"META","type":"http","category":"meta","target":"target_map:{\"me\":{\"method\":\"GET\",\"url\":\"https://graph.facebook.com/v22.0/me?fields=id,name\"},\"ad_accounts\":{\"method\":\"GET\",\"url\":\"https://graph.facebook.com/v22.0/$1/adaccounts?fields=id,account_id,name,account_status,currency,timezone_name&limit=200\"},\"owned_ad_accounts\":{\"method\":\"GET\",\"url\":\"https://graph.facebook.com/v22.0/$1/owned_ad_accounts?fields=id,account_id,name,account_status,currency,timezone_name&limit=200\"},\"client_ad_accounts\":{\"method\":\"GET\",\"url\":\"https://graph.facebook.com/v22.0/$1/client_ad_accounts?fields=id,account_id,name,account_status,currency,timezone_name&limit=200\"},\"campaigns\":{\"method\":\"GET\",\"url\":\"https://graph.facebook.com/v22.0/$1/campaigns?fields=id,name,status,objective,daily_budget,lifetime_budget&limit=250\"},\"adsets\":{\"method\":\"GET\",\"url\":\"https://graph.facebook.com/v22.0/$1/adsets?fields=id,name,status,daily_budget,campaign_id,effective_status&limit=250\"},\"ads\":{\"method\":\"GET\",\"url\":\"https://graph.facebook.com/v22.0/$1/ads?fields=id,name,status,effective_status,adset_id,campaign_id,creative&limit=250\"},\"adcreatives\":{\"method\":\"GET\",\"url\":\"https://graph.facebook.com/v22.0/$1/adcreatives?fields=id,name,title,body,image_url,thumbnail_url,object_story_spec,call_to_action_type&limit=250\"},\"ad_images\":{\"method\":\"GET\",\"url\":\"https://graph.facebook.com/v22.0/$1/adimages?fields=id,name,url,hash&limit=250\"},\"insights\":{\"method\":\"GET\",\"url\":\"https://graph.facebook.com/v22.0/$1/insights?level=$2&fields=spend,impressions,clicks,ctr,cpc,cpm,inline_link_clicks,actions,action_values&time_range={\\\"since\\\":\\\"$3\\\",\\\"until\\\":\\\"$4\\\"}&limit=500\"},\"capi_post\":{\"method\":\"POST\",\"url\":\"https://graph.facebook.com/v22.0/27209526152071970/events\",\"body\":\"{\\\"data\\\":[{\\\"event_name\\\":\\\"$1\\\",\\\"event_time\\\":$2,\\\"event_id\\\":\\\"$3\\\",\\\"event_source_url\\\":\\\"$4\\\",\\\"action_source\\\":\\\"website\\\",\\\"user_data\\\":{\\\"client_ip_address\\\":\\\"$5\\\",\\\"client_user_agent\\\":\\\"$6\\\"}}]}\"}}","planner_rank":1,"docs":"WHAT: Meta Graph API unified entrypoint (Marketing API) WHEN_TO_USE: Meta ad accounts, campaigns, adsets, ads, creatives, insights, CAPI ARGS: $1=op, $2..$N=args per op OPS: me | ad_accounts | owned_ad_accounts | client_ad_accounts | campaigns | adsets | ads | adcreatives | ad_images | insights | capi_post"},{"key":"META_ACCOUNTS","type":"fn","category":"marketing","target":"metaAccounts","planner_rank":1,"docs":"WHAT: Live Meta ad accounts via the loop-meta-bridge service binding. Lists every owned/authorized account and upserts them into meta_ad_accounts so the marketing surface + Site Sync stay current. Read-only; never spends. WHEN_TO_USE: \"what ad accounts do I have\", \"sync my meta accounts\", refresh the ad-account list. ARGS: none. EX: [META_ACCOUNTS][/META_ACCOUNTS]"},{"key":"META_ADS_ACCOUNTS","type":"http","category":"marketing","target":"POST https://miscsubjects.com/api/marketing/meta/accounts","planner_rank":1,"docs":"WHAT: List all ad accounts (owned + client + authorized) with status, currency, spend. ARGS: JSON {} (no args). TESTS: Read op; live Meta Graph read. Full op index: GET/POST /api/marketing/meta."},{"key":"META_ADS_ACCOUNT_GET","type":"http","category":"marketing","target":"POST https://miscsubjects.com/api/marketing/meta/account-get","planner_rank":1,"docs":"WHAT: Get one ad account: status, currency, spend, balance, spend_cap, funding, capabilities. ARGS: JSON {account_id}. TESTS: Read op; live Meta Graph read. Full op index: GET/POST /api/marketing/meta."},{"key":"META_ADS_ACTIVITIES","type":"http","category":"marketing","target":"POST https://miscsubjects.com/api/marketing/meta/activities","planner_rank":1,"docs":"WHAT: Activity log for an ad account (Ads Manager change history). ARGS: JSON {account_id, limit?}. TESTS: Read op; live Meta Graph read. Full op index: GET/POST /api/marketing/meta."},{"key":"META_ADS_ADS","type":"http","category":"marketing","target":"POST https://miscsubjects.com/api/marketing/meta/ads","planner_rank":1,"docs":"WHAT: List ads in an ad account (id,name,status,effective_status,adset_id,campaign_id,creative). ARGS: JSON {account_id}. TESTS: Read op; live Meta Graph read. Full op index: GET/POST /api/marketing/meta."},{"key":"META_ADS_ADSETS","type":"http","category":"marketing","target":"POST https://miscsubjects.com/api/marketing/meta/adsets","planner_rank":1,"docs":"WHAT: List ad sets in an ad account (id,name,status,budget,campaign_id,effective_status). ARGS: JSON {account_id}. TESTS: Read op; live Meta Graph read. Full op index: GET/POST /api/marketing/meta."},{"key":"META_ADS_ADSET_CREATE","type":"http","category":"marketing","target":"POST https://miscsubjects.com/api/marketing/meta/adset-create","planner_rank":1,"docs":"WHAT: Create an ad set (defaults status PAUSED). ARGS: JSON {account_id, name, campaign_id, optimization_goal, billing_event, daily_budget?|lifetime_budget?, targeting?, bid_amount?, promoted_object?, start_time?, end_time?}. TESTS: Write op; requires act auth; create ops default status PAUSED (no spend until activated). Full op index: GET/POST /api/marketing/meta."},{"key":"META_ADS_ADSET_UPDATE","type":"http","category":"marketing","target":"POST https://miscsubjects.com/api/marketing/meta/adset-update","planner_rank":1,"docs":"WHAT: Update an ad set (status, budget, targeting, bid). ARGS: JSON {adset_id|id, params:{...}}. TESTS: Write op; requires act auth; create ops default status PAUSED (no spend until activated). Full op index: GET/POST /api/marketing/meta."},{"key":"META_ADS_AD_CREATE","type":"http","category":"marketing","target":"POST https://miscsubjects.com/api/marketing/meta/ad-create","planner_rank":1,"docs":"WHAT: Create an ad (defaults status PAUSED). ARGS: JSON {account_id, name, adset_id, creative:{creative_id}}. TESTS: Write op; requires act auth; create ops default status PAUSED (no spend until activated). Full op index: GET/POST /api/marketing/meta."},{"key":"META_ADS_AD_UPDATE","type":"http","category":"marketing","target":"POST https://miscsubjects.com/api/marketing/meta/ad-update","planner_rank":1,"docs":"WHAT: Update an ad (status, creative, name). ARGS: JSON {ad_id|id, params:{...}}. TESTS: Write op; requires act auth; create ops default status PAUSED (no spend until activated). Full op index: GET/POST /api/marketing/meta."},{"key":"META_ADS_AUDIENCES","type":"http","category":"marketing","target":"POST https://miscsubjects.com/api/marketing/meta/audiences","planner_rank":1,"docs":"WHAT: List custom audiences (subtype, size, operation_status). ARGS: JSON {account_id}. TESTS: Read op; live Meta Graph read. Full op index: GET/POST /api/marketing/meta."},{"key":"META_ADS_AUDIENCE_CREATE","type":"http","category":"marketing","target":"POST https://miscsubjects.com/api/marketing/meta/audience-create","planner_rank":1,"docs":"WHAT: Create a custom audience (website/customer-list/engagement). ARGS: JSON {account_id, name, subtype, rule?|customer_file_source?, description?, retention_days?}. TESTS: Write op; requires act auth; create ops default status PAUSED (no spend until activated). Full op index: GET/POST /api/marketing/meta."}]}