--- id: ADHOC-2026-03-29 type: workplan title: "Ad Hoc Tasks — 2026-03-29" domain: custodian repo: the-custodian status: done owner: custodian topic_slug: custodian created: "2026-03-29" updated: "2026-03-29" state_hub_workstream_id: "370c2481-6806-41eb-a917-f8874f03184f" --- # ADHOC-2026-03-29 — Ad Hoc Tasks Migrated from the legacy `interactive-the-custodian` pseudo-workstream. These tasks were completed before the Ad Hoc Tasks file-backed convention existed. ## Three-tier token recording on task done ```task id: ADHOC-2026-03-29-T01 status: done priority: medium state_hub_task_id: "83919aef-7e93-44a2-97f6-d4f57b71acce" ``` Added heuristic fallback (1000/500), workplan proration tier, and exact-count tier to update_task_status. Token event always created on done. ## Add record_interactive_task MCP tool ```task id: ADHOC-2026-03-29-T02 status: done priority: medium state_hub_task_id: "55eb2176-fa4c-4abb-bd1a-88ab87749b91" ``` New MCP tool that found or created an interactive workstream per repo and recorded ad-hoc tasks with token consumption in a single call. ## Token note taxonomy and seed record correction ```task id: ADHOC-2026-03-29-T03 status: done priority: medium state_hub_task_id: "ba2543ef-2ae9-4870-8d28-4578c2ef30c4" ``` Introduced measured/userbased/workplan/heuristic note taxonomy. Fixed two null-note seed records to userbased. Added token_note field to TaskUpdate schema and note param to both MCP tools. ## Post-WP-0030 fixes and improvements ```task id: ADHOC-2026-03-29-T04 status: done priority: medium state_hub_task_id: "f1512b0a-3f04-4c8b-a26f-ce82cbdd7390" ``` Fixed deep-link prefix handling, FileAttachment to fetch migration, missing landing pages, and FK link cells with async title help-tips after WP-0030.