docs(knowledge): document routines create body field capability boundaries#233
Conversation
…aries Add a section clarifying which create body fields are settable via CLI/API (model, instructions, repo, allowed_tools, environment, cron/run_once_at/enabled/mcp_connections) versus Web UI only. Document that allow_unrestricted_git_push is rejected by the strict create schema (HTTP 400 Extra inputs are not permitted) and can only be set in the Web UI Permissions, refuting the misconception that instructions/model are Web UI only. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
レビュー結果 (mode: quick, axes: correctness, security, conventions, documentation, usability): 適用観点 (5/11): correctness指摘なし。追加したフィールドパス( security指摘なし。追加箇所は 400 エラーレスポンス例のみでシークレット混入なし。 conventions指摘なし。fenced code に documentation指摘なし(本変更の主目的)。create body の能力境界が公開挙動と同期され、既存記事構成に整合。 usability指摘なし。表 + 誤解への反証で能力境界が一読で把握できる。 サマリーCritical: 0 件 by_axis: |
概要
knowledge/ai/agents/claude-code-routines.mdに create body のフィールド能力境界 を追記する。Closes #232。/scheduleの create が叩くPOST /v1/code/triggersの body は strict schema(未知フィールドを reject)。どの設定が CLI/API で入り、どれが Web UI 専用かが未記載で実運用の誤解を生んでいたため、実測(2026-05-24)に基づき明文化する。変更内容
/schedule) セクション直後に追加allow_unrestricted_git_pushを明記。create body に渡すとHTTP 400 allow_unrestricted_git_push: Extra inputs are not permittedで reject される実測レスポンスを掲載allow_unrestricted_git_pushを create body に渡せると誤解 → strict schema で 400既存記述(delete Web-only / network Default=Trusted / trigger 種別)は正確なため変更なし。
検証
🤖 Generated with Claude Code