--- id: CUST-WP-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: "1abfbe44-8443-5575-8be4-67c67871831b" --- > **Terminology note:** Historical text in this archived workplan may use the legacy term "workstream". The fleet term is **workplan** (`canon/standards/workplan-terminology-fleet_v0.1.md`). # CUST-WP-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: CUST-WP-ADHOC-2026-03-29-T01 status: done priority: medium state_hub_task_id: "699af761-cca2-53d2-a943-88c1555a6b4c" ``` 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: CUST-WP-ADHOC-2026-03-29-T02 status: done priority: medium state_hub_task_id: "f10a3159-2116-5523-babb-4085dc96f414" ``` 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: CUST-WP-ADHOC-2026-03-29-T03 status: done priority: medium state_hub_task_id: "01982f5b-b45c-5dd9-b115-55b1815cc283" ``` 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: CUST-WP-ADHOC-2026-03-29-T04 status: done priority: medium state_hub_task_id: "2a051269-42f4-5d02-82c0-15e971d18ebc" ``` Fixed deep-link prefix handling, FileAttachment to fetch migration, missing landing pages, and FK link cells with async title help-tips after WP-0030.