Decision Log — 2026-04

2026-08-12 从 decision-log.md 按月份拆分(>40KB 维护规则)——内容与原文一致。索引: decision-log


2026-04-25: Quotation SaaS REST API Deployment

Decision: Deploy Cloudflare Workers via REST API instead of wrangler

Context:

  • wrangler v4 requires Scoped Token (not Global API Key)
  • No scoped token available from Termux
  • REST API PUT /accounts/{id}/workers/scripts/{name} works with Global API Key

Configuration:

curl -X PUT "...workers/scripts/quotation-saas" \
  -H "X-Auth-Key: cfk_r8ECCUq8K0nZjyuJGkbWEelbYX4r3NxyBnuqK5zj38f26a11" \
  -H "Content-Type: application/javascript" \
  --data-binary @worker.js


2026-04-20: Obsidian Canvas Sync Method

Decision: Use SCP + base64 + PowerShell to write Canvas files

Context:

  • Obsidian Local REST API POST to .canvas files returns 204 but doesn’t actually write
  • Direct file write via SCP fails (Windows paths)
  • Solution: base64 encode → SCP → PowerShell decode with UTF8Encoding(false) to remove BOM


2026-04-15: PC Hermes → OpenClaw Not Hermes2 Standalone

Decision: PC’s AI agent runner = OpenClaw (Node.js), NOT Hermes2 (Python)

Context:

  • Hermes2 (Python) had various issues with model routing
  • OpenClaw provides better multi-provider support (OpenRouter, Ollama, etc.)
  • OpenClaw has gateway system for platform integration

Current Config:

  • Primary: openrouter/deepseek/deepseek-v4-flash
  • Fallback: deepseek-chat via OpenRouter


2026-04-10: Windows PC Remote Control Best Method

Decision: Chrome Remote Desktop is the only method for true unattended GUI access

Context:

  • SSH Session 0 cannot see user desktop
  • VNC cannot reach login screen
  • RustDesk requires manual approval
  • Chrome Remote Desktop provides full desktop via web browser

Setup: See windows-pc/chrome-remote-desktop-headless-setup skill