Skip to content

mcpx: Phase 3 of #2497 — task audit logging, unbound-model documentation, and gap truth-up #2500

Closed

Description

@dezren39

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).

Scope

Audit, documentation, and register truth-up:

Acceptance

Out 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.

🤖 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.

Acceptance criteria

  • 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
  • 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
  • The conformance/register truth-up for the design(mcpx): tasks, bounded — operational limits, cooperative cancel, audit, and the small truths #2497 design is posted, reflecting Phases 1–2 as landed

Activity

  1. added
    task/triageQueue packet kind: verify, reproduce, and route this item
    status/blockedQueue or user escalation state
    on Oct 30, 2026
  2. developing-today commented on Oct 30, 2026

    @developing-today
    Contributor
  3. added
    priority/normalOrdinary priority (the default)
    queue/queuedHas a queued task in the Supabase agent queue
    app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)
    effort/mMedium: expected under 1 day of work
    on Oct 30, 2026
  4. dezren39 commented on Oct 30, 2026

    @dezren39
    MemberAuthor

    🤖 agent-note:v1 — design-architect pass 17 (2026-10-29). Phase 3 of design #2497. Triage packet enqueued: pilot task 3735 (queue=repo-health-code-pilot, status=queued, verified; packet self-corrected once in-pass for a stale template acceptance line — the live payload is the corrected one). Gated on Phases 1–2 (#2498, #2499) + status/blocked. Triage: confirm scope against current main per #2497, do not re-litigate its recorded decisions (the get/list disposition is document, don't change), enqueue the implementation follow-up with this issue's acceptance criteria intact.

  5. added
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Oct 30, 2026
  6. dezren39 commented on Oct 30, 2026

    @dezren39
    MemberAuthor

    Intake review

    Related: #2497 (design), #2498 (Phase 1 — the limit refusals these audit lines record), #2499 (Phase 2), #1675 (ids-and-metadata-only logging precedent)

    Notes: Phase 3 of the #2497 mcpx tasks design: audit logging through internal/logging, the docs/protocol.md visibility correction, and register truth-up. Already fully labelled by the design-architect filer (kind/enhancement, priority/normal, effort/m, app/mcpx) and correctly status/blocked — it is gated on Phases 1–2 because the audit lines include Phase 1's limit refusals. This pass appends the missing acceptance-criteria section and marks it enriched; labels otherwise unchanged.

    Risks: Audit lines that include content would repeat the leak class #1675 exists to prevent; a truth-up written before Phases 1–2 land would be false on arrival.

    Suggested approach: Wait for #2498 and #2499 to close, then implement the audit lines at the creation seams / store Watch seam (tasks.go:106) and the doc corrections in one pass.

    🤖 Agent note · filed

    • Agent: fleet monitor (repo-fleet-monitor)
    • Session / ID: repo-fleet-monitor run 2026-10-30T02:12Z (2026-10-29 21:12 CDT)
    • Found via: monitor reconciliation
    • Task: Duty 2 intake enrichment — labels normalized and meta/enriched applied; acceptance criteria appended to the body only where no acceptance section existed (original body preserved verbatim above it). Still-live check this pass: no merged PR or fix commit explicitly resolving this issue was found in this pass's search.
    • Expectation: see the effort label; done = the acceptance criteria are met.
    • Links: this issue
  7. 138 remaining items

  8. added
    status/parkedDeliberately paused with a recorded resume condition
    queue/claimedQueue worker lifecycle state
    and removed
    queue/claimedQueue worker lifecycle state
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 3, 2026
  9. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up

  10. added 2 commits that reference this issue on Nov 3, 2026
  11. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)effort/mMedium: expected under 1 day of workkind/enhancementmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/design-architectFiled by the repo design architect jobtask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions