Title: mcpx: Phase 3 of #2497 — task audit logging, unbound-model documentation, and gap truth-up · Issue #2500 · developing-today/code · GitHub
Open Graph Title: mcpx: Phase 3 of #2497 — task audit logging, unbound-model documentation, and gap truth-up · Issue #2500 · developing-today/code
X Title: mcpx: Phase 3 of #2497 — task audit logging, unbound-model documentation, and gap truth-up · Issue #2500 · developing-today/code
Description: Phase 3 of design #2497 (mcpx tasks, bounded — operational limits, cooperative cancel, audit, and the small truths). Design doc: files/designs/code-mcpx-tasks-operational-limits.md in the keep-the-four-repos-healthy goal workspace. The d...
Open Graph Description: Phase 3 of design #2497 (mcpx tasks, bounded — operational limits, cooperative cancel, audit, and the small truths). Design doc: files/designs/code-mcpx-tasks-operational-limits.md in the keep-the-...
X Description: Phase 3 of design #2497 (mcpx tasks, bounded — operational limits, cooperative cancel, audit, and the small truths). Design doc: files/designs/code-mcpx-tasks-operational-limits.md in the keep-the-...
Opengraph URL: https://github.com/developing-today/code/issues/2500
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"mcpx: Phase 3 of #2497 — task audit logging, unbound-model documentation, and gap truth-up","articleBody":"Phase 3 of design #2497 (mcpx tasks, bounded — operational limits, cooperative cancel, audit, and the small truths). Design doc: `files/designs/code-mcpx-tasks-operational-limits.md` in the keep-the-four-repos-healthy goal workspace. The decisions are recorded on #2497; this phase implements its third slice. Gated on Phases 1–2 (the audit lines include the limit refusals Phase 1 creates).\n\n## Scope\n\nAudit, documentation, and register truth-up:\n\n- **Audit lines** through `internal/logging` (the daemon's existing logging), ids and metadata only — no results, no tool arguments, no content (#1675 precedent):\n - task created, at info: task id, requestor key or `unbound`, effective TTL (and that it was clamped, when it was) — at the creation seams / via the store's existing `Watch` seam (`internal/tasks/tasks.go:106`);\n - task terminal, at info: task id, final status, duration;\n - limit refusals (Phase 1's creation cap and per-minute window), at info: which limit, requestor key;\n - retrieval (`tasks/get` / `tasks/result` on both surfaces), at debug at the handler seams — the trail exists without logging every poll at info.\n- **Documentation.** Correct `docs/protocol.md`'s task visibility row (line ~140: \"a task is visible only to the connection that started it\" is false for unbound tasks) and document the model where tasks are described for users: a task started without a connection identity is reachable by anyone holding its ID, IDs are unguessable (128-bit after Phase 1), `tasks/list` lists only a connection's own tasks so an identity-less connection lists nothing, and a client that wants listable tasks must present an identity. This is the recorded disposition for the gap `tasks-get-implies-list` — document, don't change: listing unbound tasks to an identity-less caller would enumerate other callers' work.\n- **Truth-up.** Retire the remaining gap rows in `internal/conformance/coverage_stateful.go` (`tasks-audit`, `tasks-document-unbound`, `tasks-get-implies-list`, plus any of the other four rows Phases 1–2 did not already retire), each retirement traceable to its phase's merged PR. Post the evidence note toward #1557 (Phase 3 of #1554) — closure of dezren39/nix#209 itself stays #1557's job; this phase does not steal it.\n\n## Acceptance\n\n- [ ] The daemon log answers \"which tasks ran, whose were they, how did they end, and what did the limits refuse\" for tasks created on both the MCP and /v1 surfaces, with no task content in any line\n- [ ] Retrieval is visible at debug level and absent at info level in normal operation\n- [ ] `docs/protocol.md` no longer claims connection-only visibility, and the unbound model (reachable by ID, never listed, identity ⇒ listable) is documented where users read about tasks\n- [ ] All seven task gap rows in `coverage_stateful.go` are retired or reworded to name a remaining open question from the design doc, each citing its landing PR\n- [ ] The evidence note is posted toward #1557 and dezren39/nix#209 is NOT closed by this phase\n- [ ] Tests/docs checks run via CI per fleet policy (no builds on the sandbox)\n\nOut of scope: audit export beyond the daemon log (event bus) — a design-doc open question, only on a named consumer; closing nix#209 (that's #1557); any behaviour change to visibility or listing.\n\n🤖 Design-architect pass 17 — agent note: triage this phase against design #2497's recorded decisions; the get/list disposition (document, don't change) is recorded there and is not triage's to re-open.\n\n\n## Acceptance criteria\n\n- [ ] Audit lines exist at info for task created (id, requestor key or `unbound`, effective TTL + clamp flag), task terminal (id, status, duration), and limit refusals (which limit, requestor key); retrieval is logged at debug at both handler seams — ids and metadata only, no results or tool arguments\n- [ ] `docs/protocol.md`'s task-visibility row is corrected and the unbound-task model (reachable by ID holder, 128-bit unguessable IDs) is documented where tasks are described for users\n- [ ] The conformance/register truth-up for the #2497 design is posted, reflecting Phases 1–2 as landed\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-30T01:37:57Z","url":"https://github.com/developing-today/code/issues/2500"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6b90d838-8003-066b-8bf7-38b7cb06f1c7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9430:804E:A5D885:D69802:6B06365C |
| html-safe-nonce | 15cd09a08776f8bbe3a9231f810bd992a8c9a466b26550d5b39de0ba221e4ae5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDMwOjgwNEU6QTVEODg1OkQ2OTgwMjo2QjA2MzY1QyIsInZpc2l0b3JfaWQiOiIxNjc4NTMzMjA4ODgwNTkyNDc2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5fabb234192bb5d584f2842a7db95ed9dcc39a1f8deb858c7c3006782ecbd1f9 |
| hovercard-subject-tag | issue:6111595257 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/2500/issue_layout |
| twitter:image | https://opengraph.githubassets.com/25cc8dc8f394ee7f88658a4d9d3a37e9c6b5c5dc14c79c1e30b8a086b92a267f/developing-today/code/issues/2500 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/25cc8dc8f394ee7f88658a4d9d3a37e9c6b5c5dc14c79c1e30b8a086b92a267f/developing-today/code/issues/2500 |
| og:image:alt | Phase 3 of design #2497 (mcpx tasks, bounded — operational limits, cooperative cancel, audit, and the small truths). Design doc: files/designs/code-mcpx-tasks-operational-limits.md in the keep-the-... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | c3584c853cd39700ecff6e2cf8364295ffdb5313e571046c41cd2479270f7df0 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9eb3bb1597d09170a5f282cd38ae376dee1a5ec1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width