{"definition_raw":"---\nid: claude-code-docs-refresh\ntitle: Refresh Claude Code docs cache for PKA\nschedule: \"0 7 * * 1\"\ntimeout: 300\nretry: false\nenabled: true\nnotify_on: failure\nrun_as: script\ncommand: python3 /home/lucienne/workspace/scripts/claude_code_docs_refresh.py\ntags: [infrastructure, docs, pka]\nruntime_profile: claude_glm\n---\n\nWeekly refresh of PKA's Claude Code reference cache.\n\nFetches the canonical Claude Code docs (CLI reference, settings, hooks,\nslash commands, sub-agents, skills, MCP, plugins, SDK, memory, IDE\nintegrations) plus the GitHub CHANGELOG.md, and writes a concatenated\nmarkdown cache to `Vault/memory/reference_claude_code.md` in the PKA repo.\n\nThe `git-sync` task (runs every 15 min) commits and pushes the updated\ncache to GitHub, where Lucienne's Mac picks it up on next pull.\n\nWhy: Lucienne should never answer Claude Code questions from training\ndata \u2014 the CLI gains new flags faster than any model's cutoff. Having\na fresh local cache lets sessions verify claims instantly instead of\nrouting every question through WebFetch.\n\nSchedule: Monday 07:00 UTC \u2014 early enough to be fresh for the week.\n\nScript: ~/workspace/scripts/claude_code_docs_refresh.py\nOutput: ~/workspace/PKA/Vault/memory/reference_claude_code.md\n","id":"claude-code-docs-refresh","last_run":{"duration_s":4.415071,"log_path":"/home/lucienne/workspace/logs/task-runs/claude-code-docs-refresh/392831.log","output":"[docs-refresh] fetching Overview ...\n[docs-refresh] fetching CLI reference ...\n[docs-refresh] fetching Interactive mode ...\n[docs-refresh] fetching Settings ...\n[docs-refresh] fetching Hooks ...\n[docs-refresh] fetching Hooks reference ...\n[docs-refresh] fetching Slash commands ...\n[docs-refresh] fetching Sub-agents ...\n[docs-refresh] fetching Skills ...\n[docs-refresh] fetching MCP ...\n[docs-refresh] fetching Plugins ...\n[docs-refresh] fetching Headless / SDK ...\n[docs-refresh] fetching Statusline ...\n[docs-refresh] fetching Memory (CLAUDE.md) ...\n[docs-refresh] fetching IDE integrations ...\n[docs-refresh] fetching Changelog ...\n[docs-refresh] wrote /home/lucienne/workspace/PKA/Vault/memory/reference_claude_code.md (585,545 bytes, 16/16 pages ok)\n","started_at":"2026-06-08T07:00:01.949207+02:00","status":"completed"},"next_run":"2026-06-15 07:00","next_run_iso":"2026-06-15T07:00:00+02:00","runs":[{"duration_s":4.415071,"finished_at":"2026-06-08T07:00:06.368777+02:00","id":392831,"log_path":"/home/lucienne/workspace/logs/task-runs/claude-code-docs-refresh/392831.log","output":"[docs-refresh] fetching Overview ...\n[docs-refresh] fetching CLI reference ...\n[docs-refresh] fetching Interactive mode ...\n[docs-refresh] fetching Settings ...\n[docs-refresh] fetching Hooks ...\n[docs-refresh] fetching Hooks reference ...\n[docs-refresh] fetching Slash commands ...\n[docs-refresh] fetching Sub-agents ...\n[docs-refresh] fetching Skills ...\n[docs-refresh] fetching MCP ...\n[docs-refresh] fetching Plugins ...\n[docs-refresh] fetching Headless / SDK ...\n[docs-refresh] fetching Statusline ...\n[docs-refresh] fetching Memory (CLAUDE.md) ...\n[docs-refresh] fetching IDE integrations ...\n[docs-refresh] fetching Changelog ...\n[docs-refresh] wrote /home/lucienne/workspace/PKA/Vault/memory/reference_claude_code.md (585,545 bytes, 16/16 pages ok)\n","started_at":"2026-06-08T07:00:01.949207+02:00","status":"completed","task_id":"claude-code-docs-refresh","task_name":"Refresh Claude Code docs cache for PKA"}],"runs_limit":20,"schedule":"0 7 * * 1","schedule_label":{"description":"Mon at 07:00","is_custom":false,"label":"Weekly (Mon)","sort":6,"sort_time":"07:00"},"stats":{"avg_duration":4.415071,"completed":1,"failed":0,"timeout":0,"total":1},"task":{"_description":"Weekly refresh of PKA's Claude Code reference cache.\n\nFetches the canonical Claude Code docs (CLI reference, settings, hooks,\nslash commands, sub-agents, skills, MCP, plugins, SDK, memory, IDE\nintegrations) plus the GitHub CHANGELOG.md, and writes a concatenated\nmarkdown cache to `Vault/memory/reference_claude_code.md` in the PKA repo.\n\nThe `git-sync` task (runs every 15 min) commits and pushes the updated\ncache to GitHub, where Lucienne's Mac picks it up on next pull.\n\nWhy: Lucienne should never answer Claude Code questions from training\ndata \u2014 the CLI gains new flags faster than any model's cutoff. Having\na fresh local cache lets sessions verify claims instantly instead of\nrouting every question through WebFetch.\n\nSchedule: Monday 07:00 UTC \u2014 early enough to be fresh for the week.\n\nScript: ~/workspace/scripts/claude_code_docs_refresh.py\nOutput: ~/workspace/PKA/Vault/memory/reference_claude_code.md","_file":"claude-code-docs-refresh.md","_path":"/home/lucienne/workspace/tasks/claude-code-docs-refresh.md","command":"python3 /home/lucienne/workspace/scripts/claude_code_docs_refresh.py","enabled":true,"id":"claude-code-docs-refresh","notify_on":"failure","retry":false,"run_as":"script","runtime_profile":"claude_glm","schedule":"0 7 * * 1","tags":["infrastructure","docs","pka"],"timeout":300,"title":"Refresh Claude Code docs cache for PKA"}}
