@krffl/tododdle-mcp 0.0.1 → 3.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/.claude-plugin/marketplace.json +28 -0
  2. package/.claude-plugin/plugin.json +20 -0
  3. package/.codex-plugin/plugin.json +38 -0
  4. package/LICENSE +21 -0
  5. package/README.md +555 -3
  6. package/config/external-api-parity.json +149 -0
  7. package/dist/api-client.d.ts +57 -0
  8. package/dist/api-client.d.ts.map +1 -0
  9. package/dist/api-client.js +185 -0
  10. package/dist/api-client.js.map +1 -0
  11. package/dist/compatibility.d.ts +10 -0
  12. package/dist/compatibility.d.ts.map +1 -0
  13. package/dist/compatibility.js +17 -0
  14. package/dist/compatibility.js.map +1 -0
  15. package/dist/config.d.ts +16 -0
  16. package/dist/config.d.ts.map +1 -0
  17. package/dist/config.js +67 -0
  18. package/dist/config.js.map +1 -0
  19. package/dist/index.d.ts +3 -0
  20. package/dist/index.d.ts.map +1 -0
  21. package/dist/index.js +20 -0
  22. package/dist/index.js.map +1 -0
  23. package/dist/server.d.ts +34 -0
  24. package/dist/server.d.ts.map +1 -0
  25. package/dist/server.js +2762 -0
  26. package/dist/server.js.map +1 -0
  27. package/dist/upload-source.d.ts +54 -0
  28. package/dist/upload-source.d.ts.map +1 -0
  29. package/dist/upload-source.js +392 -0
  30. package/dist/upload-source.js.map +1 -0
  31. package/dist/workflow-guidance.d.ts +2 -0
  32. package/dist/workflow-guidance.d.ts.map +1 -0
  33. package/dist/workflow-guidance.js +20 -0
  34. package/dist/workflow-guidance.js.map +1 -0
  35. package/examples/AGENTS.tododdle.md +18 -0
  36. package/package.json +63 -4
  37. package/skills/tododdle-bootstrap/SKILL.md +61 -0
  38. package/skills/tododdle-bootstrap/agents/openai.yaml +14 -0
  39. package/skills/tododdle-bootstrap/scripts/update-agents.mjs +166 -0
  40. package/skills/tododdle-factory/SKILL.md +59 -0
  41. package/skills/tododdle-factory/agents/openai.yaml +14 -0
  42. package/skills/tododdle-factory/references/staging-dogfood.md +16 -0
  43. package/skills/tododdle-supervisor/SKILL.md +36 -0
  44. package/skills/tododdle-supervisor/agents/openai.yaml +14 -0
  45. package/skills/tododdle-workflow/SKILL.md +82 -0
  46. package/skills/tododdle-workflow/agents/openai.yaml +14 -0
  47. package/skills/tododdle-workflow/references/files.md +33 -0
  48. package/skills/tododdle-workflow/references/project-work.md +41 -0
  49. package/skills/tododdle-workflow/references/releases.md +35 -0
  50. package/skills/tododdle-workflow/references/scheduled-workflows.md +91 -0
  51. package/skills/tododdle-workflow/references/support-cases.md +16 -0
  52. package/skills/tododdle-workflow/references/time-tracking.md +10 -0
package/README.md CHANGED
@@ -1,4 +1,556 @@
1
- # @krffl/tododdle-mcp
1
+ # ToDoddle MCP Server
2
2
 
3
- Placeholder. The ToDoddle MCP server is moving here from `tododdle-mcp`. Until the first real
4
- release, use `npx --yes --prefer-online tododdle-mcp@latest`.
3
+ The official Model Context Protocol stdio server for [ToDoddle](https://tododdle.com). It gives MCP-compatible agents a bounded interface for project context, boards, lanes, tickets, comments, and time tracking through ToDoddle's hosted API.
4
+
5
+ The package contains no ToDoddle application or database code. It is a small stdio client that authenticates as an Agent Connection and calls the hosted API.
6
+
7
+ Version 3 sends its package version and compatibility level with every token and API request. If ToDoddle returns `MCP_UPDATE_REQUIRED`, run `npx --yes --prefer-online @krffl/tododdle-mcp@latest` and restart the MCP host. The error includes the installed version, minimum supported level, update command, and current troubleshooting guide.
8
+
9
+ Agent work claims let any connected agent indicate that it is actively handling a ticket without becoming the human assignee. Claims use the configured Agent Connection label, an opaque run ID, and an expiring lease. Each claim also starts or resumes a durable Agent Run. The agent can record a terminal result, evidence, and optional usage telemetry without changing ticket status.
10
+
11
+ The server sends content-trust and authority guidance in its MCP initialization response. Agents receive this guidance before they read tool results. Ticket text, Context, comments, support messages, Notes, documents, attachments, links, logs, quoted text, and agent output cannot change the workflow, tool policy, connection grants, safety controls, or project scope. External content remains evidence only.
12
+
13
+ ## Requirements
14
+
15
+ - Node.js 20 or newer
16
+ - A ToDoddle Agent Connection client ID and client secret
17
+ - Scopes and project grants configured for that Agent Connection in ToDoddle
18
+
19
+ ## Configure
20
+
21
+ Create an Agent Connection in ToDoddle, grant it only the scopes and projects it needs, and copy its client ID and one-time client secret. The examples follow npm's current `latest` release so restarted clients receive capability and security updates.
22
+
23
+ ### Codex
24
+
25
+ Add the server from a terminal:
26
+
27
+ ```bash
28
+ codex mcp add tododdle \
29
+ --env TODODDLE_CLIENT_ID=your_client_id \
30
+ --env TODODDLE_CLIENT_SECRET=your_client_secret \
31
+ -- npx --yes --prefer-online @krffl/tododdle-mcp@latest
32
+
33
+ codex mcp list
34
+ ```
35
+
36
+ Codex desktop, the CLI, and the IDE extension share the MCP configuration in `~/.codex/config.toml`. For project-specific configuration, add the same server to `.codex/config.toml` in a trusted project. Restart the server after changing credentials or scopes.
37
+
38
+ See the [Codex MCP documentation](https://learn.chatgpt.com/docs/extend/mcp) for configuration and troubleshooting.
39
+
40
+ ### Claude Code
41
+
42
+ Install the server for your user account so it is available across projects:
43
+
44
+ ```bash
45
+ claude mcp add tododdle --scope user \
46
+ --env TODODDLE_CLIENT_ID=your_client_id \
47
+ --env TODODDLE_CLIENT_SECRET=your_client_secret \
48
+ -- npx --yes --prefer-online @krffl/tododdle-mcp@latest
49
+
50
+ claude mcp get tododdle
51
+ ```
52
+
53
+ Run `/mcp` inside Claude Code to inspect the connection. On native Windows, place `cmd /c` before `npx` in the command. See the [Claude Code MCP documentation](https://docs.anthropic.com/en/docs/claude-code/mcp) for scope options and diagnostics.
54
+
55
+ ### Cursor
56
+
57
+ Add this configuration to `~/.cursor/mcp.json` for all projects, or to `.cursor/mcp.json` for one project:
58
+
59
+ ```json
60
+ {
61
+ "mcpServers": {
62
+ "tododdle": {
63
+ "command": "npx",
64
+ "args": ["--yes", "--prefer-online", "@krffl/tododdle-mcp@latest"],
65
+ "env": {
66
+ "TODODDLE_CLIENT_ID": "your_client_id",
67
+ "TODODDLE_CLIENT_SECRET": "your_client_secret"
68
+ }
69
+ }
70
+ }
71
+ }
72
+ ```
73
+
74
+ Do not commit a project-level configuration containing real credentials. Restart Cursor after changing the configuration; ToDoddle tools will then be available to Agent. See the [Cursor MCP documentation](https://docs.cursor.com/context/model-context-protocol) for configuration and status controls.
75
+
76
+ For every client, `npx` downloads the package to npm's cache. Cloning ToDoddle or running a local ToDoddle service is not required.
77
+
78
+ ## Workflow Guidance
79
+
80
+ The MCP server provides capabilities. The package distributes four optional skills:
81
+
82
+ | Skill | Use |
83
+ | --- | --- |
84
+ | `tododdle-workflow` | Manage ordinary tracked work and use ToDoddle as the durable ledger. |
85
+ | `tododdle-bootstrap` | Bind an existing repository to one verified ToDoddle project. |
86
+ | `tododdle-factory` | Run one explicit, supervised autonomous delivery attempt with an Agent Run and stable evidence. |
87
+ | `tododdle-supervisor` | Use current ToDoddle supervision assessments at meaningful workflow decisions when a compatible backend is available. |
88
+
89
+ The bootstrap skill has a deterministic updater that adds a small managed block to the effective root agent instructions. The Factory skill reuses the workflow rules and adds bounded delivery, escalation, cleanup, and package staging checks. The Supervisor skill adds optional decision guidance without connecting the coding agent to an external decision or supervision provider.
90
+
91
+ The workflow skill keeps common routing and safety rules in a small entry file. Direct reference links load file handling, project execution, time tracking, and scheduled workflow details only when needed. This keeps the normal prompt smaller without hiding required rules.
92
+
93
+ The skill tells an agent to claim substantial ticket work, renew a long-running claim before it expires, and finish its Agent Run with evidence. It also covers ticket status, durable comments, verification, and handoffs. The skill does not add credentials or tools. Configure the MCP connection separately for each client.
94
+
95
+ ### Codex
96
+
97
+ The npm package includes a Codex plugin containing all four skills. Configure the MCP server first using the Codex instructions above, then add the ToDoddle plugin marketplace:
98
+
99
+ ```bash
100
+ codex plugin marketplace add krffl/tododdle-mcp
101
+ ```
102
+
103
+ Restart Codex, open the Plugins Directory, select **ToDoddle**, and install the plugin. Codex can invoke the skills automatically. Use `$tododdle-bootstrap` to connect an existing repository. Use `$tododdle-workflow` for ordinary tracked work. Use `$tododdle-supervisor` when a configured supervision backend should guide decision boundaries. Invoke `$tododdle-factory` only for an explicit supervised factory run or autonomous delivery request.
104
+
105
+ Installing the plugin does not create or expand ToDoddle credentials, scopes, or project grants. All four skills declare the separately configured `tododdle` MCP server as a dependency.
106
+
107
+ ### Claude Code
108
+
109
+ The same npm package includes a Claude Code plugin containing the workflow, bootstrap, Factory, and Supervisor skills. Keep the existing ToDoddle MCP connection. Add the marketplace and install the plugin in Claude Code:
110
+
111
+ ```text
112
+ /plugin marketplace add krffl/tododdle-mcp
113
+ /plugin install tododdle@tododdle
114
+ ```
115
+
116
+ Choose user scope to use the workflow across projects. Run `/reload-plugins` if Claude Code asks you to activate the plugin. Use `/tododdle:tododdle-bootstrap` for repository setup, `/tododdle:tododdle-workflow` for ordinary tracked work, `/tododdle:tododdle-supervisor` for available supervision decisions, and `/tododdle:tododdle-factory` for an explicit supervised delivery run. Claude Code can also invoke each skill from its description.
117
+
118
+ ### Supervision Guidance
119
+
120
+ The optional Supervisor skill reads current assessments through `get_supervisor_state`. It uses the normal ToDoddle workflow when no compatible evaluator is available. The coding agent never contacts an external decision or supervision provider directly. It does not manufacture guidance with `record_assessment`, and it does not let an assessment change Ticket status or bypass human control.
121
+
122
+ Decision APIs, supervision services, model reviewers, and deterministic rules use the same assessment boundary. Project Context must approve the evaluator type and assessment schema. No provider type receives implicit approval. Provider adapters own SDKs, wire formats, and credentials. Jev and OpenAI Decisions are candidate integrations, not prerequisites or claims of shipped support. Confirm each provider contract and adapter before enabling it.
123
+
124
+ ### Supervised Factory Runs
125
+
126
+ The optional Factory skill coordinates one delivery attempt. The installed coding client supplies the model, repository, terminal, Git, and tests. ToDoddle supplies the brief, Context, Ticket, claim, durable Agent Run, evidence, review, and human oversight.
127
+
128
+ The skill stops for unclear requirements, destructive actions, migrations that need review, security or billing risk, production access, stale revisions, claim conflicts, missing access, failed verification, or exhausted limits. It records a handoff and releases the claim. It never silently completes or archives a Ticket. Before publishing a package that changes the Factory skill, complete its supervised staging dogfood gate.
129
+
130
+ Installing this plugin does not start another MCP server. It does not change OAuth, Agent Connection scopes, project grants, or existing MCP credentials.
131
+
132
+ ### Scheduled ToDoddle Workflows
133
+
134
+ The distributed skill includes opt-in recipes for a morning control tower, ticket review sweep, weekly backlog hygiene, roadmap summary, Agent Connection inbox follow-up, and local release verification. Each recipe defines a suggested cadence, required scopes, mutation level, prompt, duplicate controls, and approval boundaries.
135
+
136
+ Installing the plugin never creates a schedule. Ask Codex to create a named recipe, then confirm the timezone, project, cadence, and allowed mutation level. Test the prompt in a normal chat and review the first runs. Scheduled tasks can use the ToDoddle plugin and its connected MCP tools. Desktop tasks that need local files also require the project to remain available and the app to be running. See the [scheduled tasks documentation](https://learn.chatgpt.com/docs/automations).
137
+
138
+ Use scheduled ToDoddle workflows for user-level checks and reports. Keep required service operations, such as notification delivery, billing reconciliation, webhook retries, and backups, in ToDoddle's server-owned queue or cron system.
139
+
140
+ ### Bounded Project Context
141
+
142
+ For substantial planning or implementation, load project context in a small, predictable sequence:
143
+
144
+ 1. Call `get_project_context` once for bounded board and lane structure, the brief summary, and artifact summaries.
145
+ 2. Call `get_project_brief` only when the complete canonical brief is relevant.
146
+ 3. Use `list_project_artifacts` to scan summary-only Context records. Call `get_project_artifact` only for the artifacts needed for the current work.
147
+ 4. Use `search_project` to discover an item in a known project. Follow the selected result with a narrow get tool. Use list tools for bounded browsing and reports, not repeated discovery scans. Keep list calls bounded and follow their pagination metadata.
148
+ 5. Reuse returned project, board, lane, ticket, and artifact IDs in the active conversation and its compaction summary. Refresh only volatile ticket state before a mutation.
149
+
150
+ When an agent creates or changes artifact Markdown, it should provide a current summary in the same request. Summaries are limited to 500 characters. Older clients may omit the summary; the API accepts the write and returns a warning so the summary can be repaired before handoff.
151
+
152
+ Context artifacts can form a tree. Supply `parentArtifactId` when creating or updating a child artifact. Set `parentArtifactId` to `null` during an update to move the artifact to the top level. The parent must belong to the same project. The canonical project brief cannot be a parent or child. ToDoddle rejects self-parenting and hierarchy cycles.
153
+
154
+ Simple lookups should skip the brief and full context entirely. Use `search_project` when you know the project but not the item ID. It returns compact ticket, board, lane, Note, Context, and document matches. Follow the selected result with the narrowest get tool. Use `get_ticket` for one known ticket, `get_tickets` for 1–20 known ticket IDs, or hierarchy-filtered `list_tickets` for bounded browsing. `list_tickets` and `get_work_queue` return compact summaries by default. Set `detail` to `full` only when the complete list payload is necessary. `get_tickets` excludes comments by default. Request `latest_update` for one recent handoff or status update per ticket, or `all` only when full history is necessary. Do not batch-hydrate a broad list without a clear need. `get_work_queue` remains the cross-project operational view. The stable API fields `planId`, `sectionId`, and `taskId` identify boards, lanes, and tickets.
155
+
156
+ ### Version 3 migration
157
+
158
+ Version 3 replaces Plan, Section, and Task tool names with Board, Lane, and Ticket names. The hosted API paths and stable ID fields do not change. Version 2 clients must update to `@krffl/tododdle-mcp@latest` and restart their agent host. The API returns `MCP_UPDATE_REQUIRED` with the exact update command when an old client identifies itself.
159
+
160
+ The server returns authoritative website URLs with records so an agent can hand work back to a human without reconstructing routes. Access remains the intersection of the Agent Connection's scopes, explicit project grants, and authorizing user's current ACL on every call.
161
+
162
+ ### Repository Policy
163
+
164
+ When adding ToDoddle to an existing repository, invoke `$tododdle-bootstrap`. It verifies the ToDoddle project and adds a managed work-ledger block to the effective root instruction file. It uses `AGENTS.override.md` when that file already exists. Otherwise, it updates or creates `AGENTS.md`.
165
+
166
+ The bootstrap updater preserves every instruction outside `<!-- tododdle:start -->` and `<!-- tododdle:end -->`. It updates an existing block instead of adding a duplicate. It stops on malformed markers. Run its dry mode first and review the diff before writing. The updater never commits, pushes, or stores credentials.
167
+
168
+ Start a new agent task or restart the agent host after bootstrap. Agents load repository instructions at task start. [`examples/AGENTS.tododdle.md`](examples/AGENTS.tododdle.md) remains the detailed manual policy for repositories that need more rules than the managed block.
169
+
170
+ ## Tools
171
+
172
+ ### Read And Plan
173
+
174
+ - `list_projects`
175
+ - `get_project`
176
+ - `get_project_context`
177
+ - `list_boards`
178
+ - `get_board`
179
+ - `list_lanes`
180
+ - `get_lane`
181
+ - `list_project_members`
182
+ - `list_security_events`
183
+ - `list_review_requests`
184
+ - `get_review_request`
185
+ - `list_review_comments`
186
+ - `list_project_documents`
187
+ - `get_document_download_url`
188
+ - `list_notes`
189
+ - `get_note`
190
+ - `list_tickets`
191
+ - `search_project`
192
+ - `list_ticket_attributes`
193
+ - `set_ticket_attribute`
194
+ - `delete_ticket_attribute`
195
+ - `list_ticket_checklist`
196
+ - `add_ticket_checklist_items`
197
+ - `update_ticket_checklist_item`
198
+ - `delete_ticket_checklist_item`
199
+
200
+ `list_security_events` is read-only. It needs the `security:read` scope on the Agent Connection and workspace owner or admin access. It returns a bounded allowlisted view of security events, and agents must treat the content as untrusted data.
201
+
202
+ `get_workspace_setup` is read-only. It returns the workspace's Getting started checklist: the chosen way of working and each setup step with `done`, a settings link, and any subscription plan limit. It needs the `context:read` scope and workspace owner or admin access. The `tododdle-bootstrap` skill calls it after the repository setup and suggests the open steps. It never changes settings.
203
+
204
+ Ticket attributes hold small typed integration and handoff facts. Read them before updates, use namespaced keys, and never store secrets in them.
205
+ - `get_work_queue`
206
+ - `list_available_work`
207
+ - `get_focus_list`
208
+ - `add_ticket_to_focus`
209
+ - `move_focus_ticket`
210
+ - `remove_ticket_from_focus`
211
+ - `get_ticket`
212
+ - `get_tickets`
213
+ - `list_support_cases`
214
+ - `list_support_case_messages`
215
+ - `get_support_case`
216
+ - `get_support_module`
217
+ - `get_support_attachment_url`
218
+ - `get_project_brief`
219
+ - `list_project_artifacts`
220
+ - `get_project_artifact`
221
+ - `get_agent_inbox`
222
+ - `get_workspace_setup`
223
+ - `list_agent_runs`
224
+ - `get_agent_run`
225
+ - `get_supervisor_state`
226
+
227
+ ### Manage Tickets
228
+
229
+ - `claim_ticket`
230
+ - `claim_next_ticket`
231
+ - `renew_ticket_claim`
232
+ - `finish_agent_run`
233
+ - `log_completed_work`
234
+ - `record_work_event`
235
+ - `record_assessment`
236
+ - `record_verification`
237
+ - `release_ticket`
238
+ - `create_ticket`
239
+ - `update_ticket`
240
+ - `transition_ticket`
241
+ - `preview_ticket_move`
242
+ - `move_ticket`
243
+ - `set_ticket_blocker`
244
+ - `add_ticket_comment`
245
+ - `acknowledge_agent_reply`
246
+ - `archive_ticket`
247
+
248
+ `list_available_work` reads only unblocked, currently unclaimed work in one project. `claim_next_ticket` selects the highest-ranked eligible ticket. `claim_ticket` and `renew_ticket_claim` manage its agent lease without changing human assignment. `finish_agent_run` records the terminal result and releases the matching lease. `release_ticket` stops work without a result and records the run as cancelled. None of these tools changes ticket status. `log_completed_work` is the exception for ad-hoc work done in conversation: in one call it finds or creates the ticket, claims it, sets `COMPLETE` (or `REVIEW` when another user created the ticket, with a warning), and records a finished run with the outcome and evidence. It needs `tasks:write` and the matching ToDoddle API route. `preview_ticket_move` reports lane automation and hierarchy blockers before a board move. `move_ticket` and `archive_ticket` are destructive because a destination lane can archive the ticket. Ticket deletion is unavailable.
249
+
250
+ Supported run-bound tools accept the stable `runId` and `projectId` needed to send the complete `X-ToDoddle-Run-*` header set. The API then binds the request to the stored workspace, project, Ticket, Agent Connection, allowed action, and expiry. Keep the same run ID from claim through completion. A run cannot approve itself or expand its own authority. Besides ticket updates, comments, and evidence, these tools also send run context when you pass `runId` and `projectId`: `move_ticket` and `archive_ticket` (`UPDATE_INTERNAL_WORKFLOW`), `set_ticket_attribute`, `delete_ticket_attribute`, `add_ticket_checklist_items`, `update_ticket_checklist_item`, and `delete_ticket_checklist_item` (`UPDATE_TICKET`), and `start_ticket_timer`, `log_ticket_time`, `stop_ticket_timer`, `update_time_entry`, and `archive_time_entry` (`TRACK_INTERNAL_TIME`). When the same connection has an active or waiting run on a ticket, the server returns `403` with `details.reason` set to `RUN_ENVELOPE_REQUIRED` for these calls without run context. The tool error then has a `hint` that says to pass the `runId` and `projectId` of that run. `attach_file_to_ticket` uses the upload-session and finalize routes, which are not run-bound.
251
+
252
+ The server enforces a completion policy. An agent cannot set `COMPLETE` on a ticket that another user created, whether through `update_ticket`, `transition_ticket`, or a `move_ticket` lane that sets `COMPLETE`. The call returns `403 permission_denied`. Set `REVIEW` and call `create_review_request` instead.
253
+
254
+ `get_supervisor_state` returns compact, permission-filtered facts for one Ticket. `record_work_event` and `record_verification` add meaningful events to the existing Ticket timeline. `record_assessment` creates an immutable assessment with validated evidence. A correction refers to the earlier assessment and creates a new row. These tools cannot complete a Ticket, approve access, merge code, or deploy changes.
255
+
256
+ Durable agent-to-human handoffs use typed `HANDOFF` comments with a concise outcome, verification and immutable evidence, and any remaining risk or next action. External mutations return a stable ToDoddle `uiUrl`; expiring asset token URLs must not be copied into comments. A continuing run reads and handles its Agent Connection inbox reply before acknowledgement, then reloads the linked record.
257
+
258
+ Ticket create/update accepts the stable kind values `TASK`, `FEATURE`, `EPIC`, `BUG`, `RESEARCH`, and `ACTION_ITEM`. Lane create/update supports `SET_KIND` alongside status, priority, assignee, review-request, and archive entry actions. `REQUEST_REVIEW` accepts one to 20 unique reviewer IDs and optional instructions. It cannot share a lane with `ARCHIVE_TASK`.
259
+
260
+ ### Manage Releases And Testbench Rounds
261
+
262
+ - `list_releases`, `get_release`, `get_release_metadata_templates`
263
+ - `create_release`, `update_release`
264
+ - `request_release_status_change`
265
+ - `list_testbench_rounds`, `set_round_release`
266
+
267
+ Release tools need the `releases:read` or `releases:write` scope and a project grant. Testbench tools need `testbench:read` or `testbench:write`. Writes need project owner or admin access. Testbench tools also need owner or admin access to read, and return `409 BETA_DISABLED` when Testbench is off.
268
+
269
+ `list_releases` filters by `status` (`PENDING`, `PUBLISHED`, or `ABANDONED`), `search`, and `includeArchived`, and returns `page`, `hasMore`, `total` (releases that match), and `archivedHidden` (archived releases left out because `includeArchived` is false). An empty list with `archivedHidden` above zero means the releases exist but are archived. `get_release` returns the release, up to 50 linked ticket summaries, the total `ticketCount`, and linked Testbench rounds. `tickets` and `ticketCount` are `null` unless the connection has `tasks:read`; `testbenchRounds` is `null` unless it has `testbench:read` and the user has Testbench operator access. `create_release` creates only `PENDING` releases. It accepts `version`, `title`, `build`, `environment`, an HTTPS `buildUrl`, text `metadata` (up to 100 fields, names up to 120 characters, values up to 20,000 characters), public Markdown `releaseNotes` (up to 20,000 characters), and an optional `idempotencyKey`. Release notes appear on the project's public changelog only when a person turns that on in ToDoddle. Agents cannot publish a release to the changelog. `get_release_metadata_templates` returns the App Store and Google Play templates. Each field has the metadata `key`, the store `maxLength`, a `format` (`text` or `url`), and a `hint`. Use those keys in `metadata`. When a value is over a store limit, or a `url` field is not an http or https link, `create_release` and `update_release` still save and return `warnings`. `search_project` finds releases by version, title, or build when the connection has `releases:read`. `update_release` edits the same fields and needs `expectedRevision` from the latest read. It cannot change status or archive state, and it cannot edit an archived release.
270
+
271
+ `request_release_status_change` takes a `change` of `{ type: "SET_STATUS", status }`, `{ type: "ARCHIVE" }`, or `{ type: "RESTORE" }`, a short `reason`, and `expectedRevision`. It does not change the release. A person approves or rejects the request in AIr Traffic Control, and nothing changes until then. The tool returns `changed: false`, `result: "PENDING_APPROVAL"`, `approvalId`, `approvalStatus`, `uiUrl`, and an instruction. An identical repeat returns the same approval. Do not report the release as changed. Read it again with `get_release` to see the outcome.
272
+
273
+ `list_testbench_rounds` returns bounded round summaries with `revision` and the linked release, plus `pagination`. `set_round_release` links a `DRAFT` round to a release, or removes the link when `releaseId` is `null`. Pass the round `revision` from the list as `expectedRevision`. It never publishes a round or sends email. Other round states return `409 ROUND_NOT_DRAFT`.
274
+
275
+ `create_ticket` and `update_ticket` accept `releaseId`; `null` on update removes the release. Ticket reads include `releaseId` and a short `release` summary. `list_tickets` filters by `releaseId`, or by `none` for tickets without a release.
276
+
277
+ These routes carry no Ticket ID. Agent Run headers are optional, but the server checks them when sent. When you hold a run, pass `runId` and the run's `taskId`: reads send `READ_PROJECT_DATA` and writes send `UPDATE_INTERNAL_WORKFLOW`. The tools send no run context unless both values are present.
278
+
279
+ ### Manage Optional Reviews
280
+
281
+ - `create_review_request`, `update_review_request`, `complete_review_request`, `cancel_review_request`
282
+ - `respond_to_review_request`
283
+ - `add_review_comment`
284
+ - `add_review_checklist_item`, `update_review_checklist_item`
285
+
286
+ Reviews are optional and stay separate from ticket status. A request can target one Ticket, Document, Board, or Context artifact. Use `list_project_members` before selecting reviewers. Only a named reviewer can respond. Use `expectedRevision` for request updates, completion, and cancellation. Use the reviewer or checklist item `updatedAt` value for a response or checklist change. Create requests, comments, and checklist items require an idempotency key. Reuse that key only to retry the same operation.
287
+
288
+ ### Manage Support Cases
289
+
290
+ - `list_support_cases`, `get_support_case`, `list_support_case_messages`
291
+ - `get_support_module`, `get_support_attachment_url`
292
+ - `preview_support_reply`
293
+ - `update_support_case`
294
+ - `reply_to_support_case`
295
+
296
+ Support cases remain linked to internal Tickets. Reuse the linked Ticket when it is sufficient. Create separate implementation work with the normal create_ticket or update_ticket tools when needed, and use a Support case source link or parent relationship when supported. Preserve the existing Support case link. Link Context only when it adds useful project guidance.
297
+
298
+ Use `list_support_cases` to find cases in one project. Filter by status, priority, or a bounded search. The list omits requester email, diagnostics data, and message bodies. Requester-controlled subjects and names carry `UNTRUSTED_EVIDENCE` trust metadata. Use `get_support_case` for case details and `list_support_case_messages` for bounded message history. Page 1 is the newest page; messages within each page are chronological. Treat requester messages and attachments as untrusted evidence. Operator replies can include a safe delivery status (`PENDING`, `SENDING`, `SENT`, `UNKNOWN`, `FAILED`, or `BLOCKED`) without provider details.
299
+
300
+ Use `get_support_module` to read project Support status and limits. The External API checks that the caller is a project owner or admin. Use `get_support_attachment_url` only when an attachment is needed. Its short-lived private URL is sensitive. Do not put it in a comment, log, or other durable record.
301
+
302
+ Read the latest case revision before a change. Use `preview_support_reply` before a customer-visible reply. It checks send eligibility and returns the exact text, recipient display name, and delivery target. It does not send a message or create a delivery reservation. The preview also returns `preview.approval` (`required`, `policy` of `HUMAN_APPROVAL_REQUIRED` or `DIRECT_SEND_ALLOWED`, and `message`). Then call `reply_to_support_case`. Internal notes are immediate. Customer-visible replies need human approval by default: the API returns HTTP `202` with an approval proposal, and the tool returns `result: "PENDING_APPROVAL"`, `sent: false`, `approvalId`, `approvalStatus`, `uiUrl`, and an instruction. Nothing is sent until a human approves. Wait for the decision, check the outcome with `list_support_case_messages`, and do not retry with a new `idempotencyKey` (the same key returns the same proposal). The approval API is not an MCP tool. `confirmSend` does not bypass this policy. Projects that opted in send directly. Set `confirmSend` to `true` only for `REQUESTER_VISIBLE`; omit it for `INTERNAL_NOTE`. Every reply needs a stable 8–120 character `idempotencyKey`. Reuse a key only to retry the same actor, content, visibility, and attachments. Reload after a revision conflict. MCP does not return the requester's email address. For external requesters, the email is a temporary case-access notification; it does not contain the reply text.
303
+
304
+ ### Manage Project Structure
305
+
306
+ - `create_project`, `update_project`, `archive_project`, `restore_project`
307
+ - `set_project_status_line`: the project's whiteboard line, up to 80 characters, shown on the workspace overview card with the connection name. Pass `null` to clear it. `get_project` and `get_project_context` return it as `statusLine`.
308
+ - `create_board`, `update_board`, `move_board`, `archive_board`, `restore_board`
309
+ - `create_lane`, `update_lane`, `move_lane`, `archive_lane`, `restore_lane`
310
+
311
+ Archive operations are destructive and require client approval. Permanent deletion is intentionally unavailable.
312
+
313
+ ### Manage Notes
314
+
315
+ - `create_note`
316
+ - `update_note`
317
+ - `archive_note`
318
+
319
+ Omit `projectId` to work with workspace Notes. Supply `projectId` to work with Notes for that project. Project Notes require both an Agent Connection project grant and the current user access to the project. Parent Notes must use the same workspace or project scope.
320
+
321
+ ### Track Time
322
+
323
+ - `get_active_time_entries`
324
+ - `list_project_time`
325
+ - `list_ticket_time`
326
+ - `start_ticket_timer`
327
+ - `stop_ticket_timer`
328
+ - `log_ticket_time`
329
+ - `update_time_entry`
330
+ - `archive_time_entry`
331
+
332
+ `archive_time_entry` is destructive and requires client approval.
333
+
334
+ ### Manage Project Context
335
+
336
+ - `create_project_artifact`
337
+ - `update_project_artifact`
338
+ - `transition_project_artifact`
339
+ - `link_artifact_ticket`
340
+ - `add_artifact_comment`
341
+ - `list_artifact_revisions`
342
+ - `link_project_artifacts`
343
+
344
+ `create_project_artifact` and `update_project_artifact` accept an optional `parentArtifactId`. Use it for true parent-child Context nesting. Set it to `null` on update to remove the current parent.
345
+
346
+ ### Upload Files
347
+
348
+ - `upload_project_document`
349
+ - `attach_file_to_ticket`
350
+ - `begin_upload`
351
+ - `complete_upload`
352
+
353
+ Each tool accepts either an approved local `filePath` or an HTTPS `sourceUrl`. A missing file, or a file outside the system temporary directory, returns a message that names that directory. ToDoddle stores SVG, HTML, and other active content as `application/octet-stream` so it can never run in a browser; when the stored type differs from the requested one, the upload result includes a `notice` that says so. Image uploads (PNG, JPEG, GIF, WebP, and SVG) also return `embedMarkdown`, such as `![map.png](/api/documents/<id>/embed)`, to paste into a Note or Context; an SVG embeds through its PNG rendering at `/thumbnail`. The image shows only to people who can open that document. Local files must be regular files in the system temporary directory (`os.tmpdir()`, resolved through symlinks), and the current user must own them. The MCP rejects symlinks, directories, devices, and files owned by another user. Files stream directly from this local MCP process to ToDoddle's short-lived Bunny upload URL; file bodies are never placed in MCP JSON messages.
354
+
355
+ The MCP opens a local file once, with `O_NOFOLLOW`, and checks the open descriptor: it must be a regular file, owned by the current user, and within the size limit. It then streams the bytes from that descriptor. If the path is swapped for a symlink or another file after the checks, the upload still sends the checked file.
356
+
357
+ To stage a copy, create a staging directory with `mktemp -d "${TMPDIR:-/tmp}/tododdle-upload-XXXXXX"` and copy the file into it. After the tool confirms success, the MCP deletes a local file and its empty parent directory only when the file is directly in a `tododdle-upload-*` directory in the system temporary directory, and only if the path still names the file it uploaded. It never deletes any other file. An agent that staged a copy anywhere else should remove that copy itself after confirmed success. Keep the copy after a failed or uncertain upload so the upload can be retried. Never remove the original source or a pre-existing file. Temporary files that the MCP creates for HTTPS sources are removed automatically.
358
+
359
+ For a pasted or clipboard image, create a staging directory with `mktemp -d "${TMPDIR:-/tmp}/tododdle-upload-XXXXXX"`. Save or copy the image attachment there with a suitable image extension. Never alter the original clipboard attachment. The MCP removes the staged file after confirmed success. It keeps the file after a failed or uncertain upload so the agent can retry and report the path.
360
+
361
+ Remote clients use `begin_upload` and `complete_upload`. Call `begin_upload` with file metadata and an idempotency key. Upload the file bytes from the user's device directly to the returned short-lived URL with the returned headers. Then call `complete_upload` with the document ID and a new idempotency key. Do not print, log, or store the signed URL. A client that cannot send the direct HTTPS upload cannot use remote attachments. The hosted gateway and Vercel never receive or stage the file bytes.
362
+
363
+ Use `get_document_download_url` with a `projectId` and `documentId` returned by `list_project_documents` to obtain a five-minute tokenized URL. The URL grants access only to that ready document and should not be stored in comments or other durable project context. Video documents return a protected stream URL when the workspace subscription permits playback.
364
+
365
+ For attachment review, request a fresh URL, download the asset into a private `mktemp -d` directory without printing or persisting the URL, and inspect the local file with the appropriate tool. Use a browser only when local download or rendering is unavailable. Remove only the agent-created temporary files and directory after successful inspection; never remove an original or pre-existing user file.
366
+
367
+ The server also provides ticket, project, and project-artifact resource templates plus `triage_work` and `daily_status` prompts.
368
+
369
+ ## Permissions
370
+
371
+ Tools never expand the Agent Connection's authority. Every request is checked against all three layers:
372
+
373
+ 1. The Agent Connection's granted scopes.
374
+ 2. Its granted projects.
375
+ 3. The authorizing user's organization and project permissions.
376
+
377
+ Configure scopes and project grants in ToDoddle under **Agent Connections**. Scopes are not requested by or stored in this package.
378
+
379
+ Common scopes include:
380
+
381
+ - `projects:read` and `projects:write`
382
+ - `tasks:read` and `tasks:write`
383
+ - `context:read` and `context:write`
384
+ - `time:read` and `time:write`
385
+ - `documents:read` and `documents:write`
386
+ - `releases:read` and `releases:write`
387
+ - `testbench:read` and `testbench:write`
388
+
389
+ Uploading a project document requires `projects:read` and `documents:write`. Attaching a new upload to a task also requires `tasks:write`. `send_feedback` requires `tasks:write` because it opens a support case.
390
+
391
+ ## Environment
392
+
393
+ | Variable | Required | Default | Purpose |
394
+ | --- | --- | --- | --- |
395
+ | `TODODDLE_CLIENT_ID` | Yes | None | Agent Connection identifier |
396
+ | `TODODDLE_CLIENT_SECRET` | Yes | None | Agent Connection secret |
397
+ | `TODODDLE_BASE_URL` | No | `https://app.tododdle.com` | Application API origin; HTTPS is required except for loopback development |
398
+ | `TODODDLE_MAX_UPLOAD_BYTES` | No | `1073741824` | Local safety ceiling; the hosted API may enforce a lower limit |
399
+
400
+ Local uploads come only from the system temporary directory; no upload configuration is needed. The server resolves symlinks and rejects files outside that directory and files not owned by the current user. `TODODDLE_UPLOAD_ROOTS` is no longer used; if it is still set, the server writes a notice to stderr and ignores it. HTTPS sources reject embedded credentials, private-network destinations, unsafe redirects, oversized responses, and empty files.
401
+
402
+ Use the final application API origin directly. The public `tododdle.com` and `www.tododdle.com` hosts serve the marketing site and are rejected. Legacy `trackingti.me` hosts are also rejected because cross-origin redirects must not forward bearer credentials.
403
+
404
+ Tokens are held in memory only and refreshed automatically. The client secret is sent only to ToDoddle's hosted token endpoint. Server diagnostics go to stderr so stdout remains reserved for MCP JSON-RPC.
405
+
406
+ ## Development
407
+
408
+ ```bash
409
+ npm install
410
+ npm run format:check
411
+ npm run type-check
412
+ npm run test:coverage
413
+ npm run check:api-parity -- /path/to/tododdle/src/config/api-route-inventory.json
414
+ npm audit --audit-level=low
415
+ npm pack --dry-run
416
+ ```
417
+
418
+ `.github/workflows/dependency-audit.yml` runs `npm audit --audit-level=low` every day at 14:17 UTC and can be run by hand. The publish workflow fails on any advisory, so a failed daily run means the next release needs `npm audit fix` first.
419
+
420
+ `config/external-api-parity.json` is the checked contract between the model-callable tool registry and ToDoddle's External API inventory. Every discovered tool must appear in the manifest, every tool is invoked with schema-valid input in tests, and every resulting API method/path must match its declared mapping. External methods that are transport-only, compatibility-only, aggregated by another tool, or superseded have an explicit reviewed exception instead of disappearing from the audit.
421
+
422
+ When the application External API changes, compare its generated `src/config/api-route-inventory.json` with this manifest before releasing either side. The current reviewed surface accounts for every External API method with no missing or extra entries; tool totals are derived from the registry and manifest rather than a historical hard-coded count.
423
+
424
+ Run the MCP package from source:
425
+
426
+ ```bash
427
+ TODODDLE_CLIENT_ID=... \
428
+ TODODDLE_CLIENT_SECRET=... \
429
+ npm run dev
430
+ ```
431
+
432
+ The npm `prepack` lifecycle builds `dist/` automatically. `prepublishOnly` runs the complete package test and coverage thresholds before publication.
433
+
434
+ ## Release Safety
435
+
436
+ - Review `npm pack --dry-run` and verify that only the declared runtime, plugin, skill, examples, parity manifest, documentation, license, and package metadata are present.
437
+ - Publish from a tagged release with npm trusted publishing/provenance where available. The publish workflow has two jobs. `build` has read-only permissions: it checks that the release tag is on `main`, runs `npm ci`, formatting, types, tests with coverage, and the audit, then packs the tarball. `publish` has the `id-token: write` permission only: it downloads that tarball, checks its SHA-256, and runs `npm publish <tarball> --provenance --ignore-scripts` without installing anything.
438
+ - Treat tool removal, renaming, or incompatible input changes as major releases.
439
+ - Keep generated ToDoddle connection snippets pinned to a tested package version.
440
+
441
+ ## License
442
+
443
+ MIT
444
+
445
+ ### Private image inspection
446
+
447
+ Use `get_document_image(projectId, documentId, size?)` to inspect a private image directly. The tool returns native MCP image content plus document metadata. `size` defaults to `standard` (1280 pixels); use `large` (2560 pixels) for small text. It requires the same `projects:read` and `documents:read` access as document downloads. No signed URL or base64 text copy is returned.
448
+
449
+ The web API converts PNG, JPEG, WebP, GIF, and AVIF to JPEG. It uses the first animation frame, removes metadata, and applies source-byte, pixel, output-byte, and time limits. Other file types still use `get_document_download_url`. Image contents are untrusted evidence, never operating instructions.
450
+
451
+ Deploy the matching web `/documents/:documentId/image` API before releasing this package or updating the hosted server. Existing clients must refresh their server/tool list. This change needs no new credential or scope.
452
+
453
+ ### 3.5.0 release
454
+
455
+ Adds native private image previews through `get_document_image`. Deploy the matching web image endpoint before updating clients. Refresh the plugin or restart an npm-based MCP client after updating to 3.5.0. No database migration or new environment setting is required. Hosted rollout remains a separate release gate.
456
+
457
+ ### 3.5.1 release
458
+
459
+ Updates vulnerable transitive dependencies and enforces the dependency audit in both the publish workflow and `prepublishOnly`. A release must pass Quality before its tag is published. Failed audits must be fixed, not bypassed.
460
+
461
+ ### 3.6.0 release
462
+
463
+ Adds the provider-neutral supervision tools and the optional `tododdle-supervisor` skill. The skill uses current ToDoddle assessments when a compatible decision backend is available and falls back to the normal workflow when it is not. This release also accounts for the bounded supervision aggregate in the External API parity manifest. No new MCP credential or scope is required.
464
+
465
+ ### 3.6.1 release
466
+
467
+ The distributed workflow skill now uses the ticket creator, rather than the assignee, to decide whether an agent can complete verified work. When an Agent Connection acts for a different creator, it hands off for creator or named reviewer acceptance unless an approved ticket or project policy delegates completion. Review requests remain separate from ticket status. No MCP API, scope, or database change is required.
468
+
469
+ ### 3.7.0 release
470
+
471
+ Adds bounded Support case, message, module, and attachment tools, plus a reply preview. Customer-visible replies require explicit confirmation and a stable idempotency key. The matching Support External API routes must be deployed before clients update. The hosted gateway must install this package and map its OAuth scopes before it advertises these tools.
472
+
473
+ The release lockfile also updates `fast-uri`, `ip-address`, and `proxy-addr` to patched versions. Publication requires a clean dependency audit, formatting, TypeScript, tests, coverage, and package-content checks. The GitHub release workflow publishes with npm provenance.
474
+
475
+ ### 3.8.0 release
476
+
477
+ Adds release tools (`list_releases`, `get_release`, `create_release`, `update_release`, and `request_release_status_change`) and Testbench tools (`list_testbench_rounds` and `set_round_release`). `create_ticket`, `update_ticket`, and `list_tickets` accept an optional `releaseId`. Release status, archive, and restore changes need human approval in AIr Traffic Control. Agent Connections need the new `releases:*` or `testbench:*` scopes to use these tools. Deploy the matching External API routes before clients update. The hosted gateway must install this package and map the new OAuth scopes before it advertises these tools. The compatibility level stays at 3 because every change is additive and optional.
478
+
479
+ This release also includes changes made since 3.7.0: the read-only `list_security_events` tool (`security:read`); the system temporary directory as the default upload root, with per-file ownership checks and validated DNS answers pinned on HTTPS upload fetches; Agent Run context on move, archive, attribute, and time tools; a pending-approval result for customer-visible Support replies; and GitHub Actions pinned to commit SHAs.
480
+
481
+ The release raises `@modelcontextprotocol/sdk` to `^1.32.1` to fix [GHSA-6qxp-vccf-f47h](https://github.com/advisories/GHSA-6qxp-vccf-f47h), where SDK versions before 1.31.0 could send OAuth client credentials to an authorization server chosen by the MCP server.
482
+
483
+ ### 3.17.0 release
484
+
485
+ - Every ID that goes into an API path must be a ToDoddle ID: letters, digits, `_`, or `-` (up to 200 characters). Tools reject other values before they call the API. The API client also refuses any path with `..`, `?`, `#`, `\`, or an encoded `/`, `\`, or `.`, and any path that resolves to a different route. Query strings go through the client's `query` argument. `ToDoddleApi.patch` takes an optional fourth `query` argument, which `update_project_artifact` uses for `detail=summary`. A hosted gateway that implements `ToDoddleApi` must pass that argument on.
486
+ - Link fields (`uiUrl`, `href`, `upgradeHref`) become absolute only when the result stays on the app origin. A value such as `/\evil.example/x` is left unchanged.
487
+ - HTTPS upload sources now reject more special-purpose addresses: `0.0.0.0/8`, `100.64.0.0/10`, `192.0.0.0/24`, `198.18.0.0/15`, `224.0.0.0/4`, `240.0.0.0/4` (with `255.255.255.255`), documentation ranges, and all of `fe80::/10`, `fec0::/10`, `fc00::/7`, and `ff00::/8`. IPv6 forms that carry an IPv4 address (mapped, including hex such as `::ffff:7f00:1`; compatible; NAT64 `64:ff9b::/96`; and 6to4 `2002::/16`) are checked as that IPv4 address. A value that is not an IP address is treated as private.
488
+ - Local uploads open the file once with `O_NOFOLLOW` and stream from the checked descriptor, so a path swap after the checks cannot change what is sent. `ToDoddleApi.uploadFile` now takes an open `FileHandle` instead of a path. After a confirmed upload, the MCP deletes a local file only when it is directly in a `tododdle-upload-*` directory in the system temporary directory (for example one made with `mktemp -d "${TMPDIR:-/tmp}/tododdle-upload-XXXXXX"`). Before, it deleted any uploaded file in the temporary directory.
489
+ - `send_feedback` needs `tasks:write`, not `tasks:read`, because it opens a support case. The ToDoddle API and the hosted gateway enforce the new scope.
490
+ - The publish workflow is split into a read-only `build` job and a `publish` job that holds `id-token: write`. The npm token never sees `npm ci` or the test run, and a release tag that is not on `main` fails the workflow.
491
+
492
+ ### 3.16.0 release
493
+
494
+ - The package is now `@krffl/tododdle-mcp`. Update your MCP config to run `npx --yes --prefer-online @krffl/tododdle-mcp@latest`. The command name stays `tododdle-mcp`.
495
+ - The old `tododdle-mcp` package is deprecated and gets no new versions. Old clients that ToDoddle asks to update are given the new command.
496
+ - No tool changes.
497
+
498
+ ### 3.15.0 release
499
+
500
+ - `create_release` and `update_release` accept `releaseNotes`: public Markdown for the project changelog. Only a person can show a release on the changelog.
501
+
502
+ ### 3.14.0 release
503
+
504
+ - New `send_feedback` tool (`tasks:read`). An agent reports a problem with ToDoddle itself, after the user approves the exact report. It opens a support case that the user can see. Repeats on the same day return the existing case, and a connection can open 5 new cases a day. Needs the matching ToDoddle API.
505
+ - Lane `entryActions` in `update_lane` and `create_lane` accept `SET_AGENT_ASSIGNEE` with `apiClientId` (an Agent Connection ID, or `null`). A ticket that enters the lane gets that agent assignee. Needs the matching ToDoddle API.
506
+
507
+ ### 3.13.0 release
508
+
509
+ - `create_ticket` and `update_ticket` accept `agentAssigneeApiClientId`, the ticket's assigned Agent Connection. Pass `"self"` to assign the calling connection, or `null` on update to clear it. It is separate from the human `assigneeId` and from a work claim. The API checks that the connection can read tasks in the project. Needs the matching ToDoddle API for `"self"`.
510
+
511
+ ### 3.12.0 release
512
+
513
+ - New read-only `get_workspace_setup` tool (`context:read`, workspace owner or admin). It returns the same Getting started checklist that the app shows. Needs the matching ToDoddle API.
514
+ - The `tododdle-bootstrap` skill now checks the workspace setup, suggests the open steps with links, and ends with a short orientation. It never changes workspace settings.
515
+ - The AGENTS.md block that bootstrap writes now covers the agent inbox, review requests for hand-offs, and the `REVIEW_REQUEST_MISSING` warning.
516
+
517
+ ### 3.11.0 release
518
+
519
+ - New `set_project_status_line` tool. It sets or clears the project's whiteboard status line, for example "Release 1.2.0 is in review". The line shows on the workspace overview card with the connection name. `get_project` and `get_project_context` now include `statusLine`. Deploy the matching ToDoddle API first: the tool needs `/api/external/projects/{projectId}/status-line`. The compatibility level stays at 3 because the change is additive. The hosted gateway must map the tool to `projects:write` before it advertises it.
520
+ - Review hand-offs: `update_ticket`, `transition_ticket`, and `move_ticket` can return `warnings` with `REVIEW_REQUEST_MISSING` when a ticket enters `REVIEW` and nobody has been asked to review it. Review responses and comments now reach the inbox of the agent that asked for the review, and an agent may set `COMPLETE` after the ticket creator approves its review. The `tododdle-workflow` skill tells agents to read `get_agent_inbox` at the start of each session and to act on review feedback first. Needs the matching ToDoddle API.
521
+
522
+ ### 3.10.1 release
523
+
524
+ - Security: zod moves to 4.6.7 (GHSA-mrhx-c7xc-m3w5, memory exhaustion on large invalid arrays). body-parser moves to 2.4.0 and fast-uri to 3.1.9 through `npm audit fix`. Ticket attribute list values now accept at most 50 items, the same limit as the API. No tool names or inputs change otherwise.
525
+
526
+ ### 3.10.0 release
527
+
528
+ - New ticket checklist tools: `list_ticket_checklist`, `add_ticket_checklist_items`, `update_ticket_checklist_item`, and `delete_ticket_checklist_item`. Ticket checklists are separate from review request checklists. Deploy the matching ToDoddle API first: the tools need `/api/external/tasks/{taskId}/checklist`. The compatibility level stays at 3 because the change is additive. The hosted gateway must map the read tool to `tasks:read` and the write tools to `tasks:write` before it advertises them.
529
+
530
+ ### 3.9.2 release
531
+
532
+ - `list_security_events` can filter by the new workspace deletion events (`WORKSPACE_DELETION_REQUESTED`, `WORKSPACE_DELETION_CANCELLED`, `WORKSPACE_DELETION_STARTED`, `WORKSPACE_DELETED`) and account events (`ACCOUNT_DELETION_REQUESTED`, `ACCOUNT_DELETION_CANCELLED`, `ACCOUNT_DELETION_STOPPED`, `ACCOUNT_DELETED`, `ACCOUNT_DATA_EXPORTED`). The tool lists workspace events, so account events appear only when they carry the workspace. `check:api-parity` now fails when the tool's event types drift from the app.
533
+
534
+ ### 3.9.1 release
535
+
536
+ Deploy the matching ToDoddle API first: `get_release_metadata_templates` needs the new templates route, and `RELEASE` search needs the updated search route. The compatibility level stays at 3 because every change is additive. The hosted gateway must install this package and map `get_release_metadata_templates` to `releases:read` before it advertises the tool.
537
+
538
+ - New `get_release_metadata_templates` lists App Store and Google Play field keys, store character limits, and formats. `create_release` and `update_release` return `warnings` when a value breaks a limit; the release still saves.
539
+ - `search_project` accepts `RELEASE` and matches version, title, and build.
540
+ - `list_releases` returns `total` and `archivedHidden`, so an empty list shows whether archived releases exist.
541
+ - A `RUN_ENVELOPE_REQUIRED` error now has a `hint` to pass the `runId` and `projectId` of the active run.
542
+
543
+ ### 3.9.0 release
544
+
545
+ Deploy the matching ToDoddle API first: `log_completed_work` needs the new completed-work route, and `contentEdits` and slim artifact responses need the updated artifact route (an older server makes `update_project_artifact` with `contentEdits` fail clearly rather than silently). The compatibility level stays at 3 because every change is additive. The hosted gateway must install this package and map `log_completed_work` to `tasks:write` before it advertises the tool.
546
+
547
+ - Tool results now carry absolute web links (`uiUrl`, `href`) on the configured app origin, so clients no longer guess `www.tododdle.com`, the marketing site.
548
+
549
+ - API errors keep their details. A tool error is now JSON with `error`, `status`, `message`, and, for `scope_required`, `missingScopes`, `requiredScopes`, and a `hint` that says where to enable the scope. Before, agents saw only "Insufficient permissions".
550
+ - New `log_completed_work` records finished ad-hoc work in one call (ticket, claim, status, and a finished Agent Run with evidence). It needs the matching ToDoddle API route.
551
+ - `TODODDLE_UPLOAD_ROOTS` is removed: local uploads come only from the system temporary directory, and a leftover setting is ignored with a notice on stderr.
552
+ - Local uploads explain a missing file or a file outside the temporary directory instead of a raw `ENOENT`, `.svg` files are sent as `image/svg+xml`, and the result includes a `notice` when the server stores a different type.
553
+ - `search_project` describes the new `relevance` and `matchedTerms` result fields.
554
+ - Image uploads and `complete_upload` return `embedMarkdown` for Notes and Context. `create_note` and `update_note` describe the embed syntax.
555
+ - The server instructions say where project knowledge lives (brief, decision artifacts, Notes, ticket comments, repository docs) and tell agents to refresh the brief when `get_project_context` reports `briefFreshness.stale`.
556
+ - `update_project_artifact` accepts `contentEdits` (`replace_section`, `append_section`, `find_replace`) and `baseVersion`, so agents change one section of a long brief without resending it. It returns a slim summary unless `verbose` is true. An older server that ignores `contentEdits` returns an error instead of a silent success.