GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — mcpx: Phase 3 of #2497 — task audit logging, unbound-model documentation, and gap truth-up · Issue #2500 · developing-today/code

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

New issue
Copy link
New issue
Copy link
Closed
Closed
mcpx: Phase 3 of #2497 — task audit logging, unbound-model documentation, and gap truth-up#2500
Copy link
Assignees
dezren39
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

Description

@dezren39
dezren39
opened on Oct 30, 2026
Issue body actions

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:

  • Audit lines through internal/logging (the daemon's existing logging), ids and metadata only — no results, no tool arguments, no content (design(mcpx): elicitation broker hygiene — owner-only store, bounded retention, redacted events, review-first answering #1675 precedent):
    • 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);
    • task terminal, at info: task id, final status, duration;
    • limit refusals (Phase 1's creation cap and per-minute window), at info: which limit, requestor key;
    • retrieval (tasks/get / tasks/result on both surfaces), at debug at the handler seams — the trail exists without logging every poll at info.
  • 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.
  • 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 mcpx: Phase 3 of #1554 — compare-register truth-up and dezren39/nix#209 closure #1557 (Phase 3 of design(mcpx): tasks, finished — one task store for MCP and /v1, and a client that can call task-required tools #1554) — closure of mcpx: tasks — the 2026 extension is advertised and not implemented; core tasks are unbound and live in two stores dezren39/darwin-nix#209 itself stays mcpx: Phase 3 of #1554 — compare-register truth-up and dezren39/nix#209 closure #1557's job; this phase does not steal it.

Acceptance

  • 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
  • Retrieval is visible at debug level and absent at info level in normal operation
  • 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
  • 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
  • The evidence note is posted toward mcpx: Phase 3 of #1554 — compare-register truth-up and dezren39/nix#209 closure #1557 and mcpx: tasks — the 2026 extension is advertised and not implemented; core tasks are unbound and live in two stores dezren39/darwin-nix#209 is NOT closed by this phase
  • Tests/docs checks run via CI per fleet policy (no builds on the sandbox)

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

Next
  1. dezren39
    added
    task/triageQueue packet kind: verify, reproduce, and route this item
    status/needs-triageNot yet triaged; needs a first look
    status/blockedQueue or user escalation state
    on Oct 30, 2026
  2. developing-today commented on Oct 30, 2026

    @developing-today
    developing-todayBot
    on Oct 30, 2026 – with developing.today
    Contributor
    More actions

    CODE-1277

  3. dezren39
    added
    priority/normalOrdinary priority (the default)
    queue/queuedHas a queued queue task
    app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)
    effort/mMedium: expected under 1 day of work
    kind/enhancement
    source/design-architectFiled by the repo design architect job
    on Oct 30, 2026
  4. dezren39
    added a parent issue on Oct 30, 2026
    • design(mcpx): tasks, bounded — operational limits, cooperative cancel, audit, and the small truths #2497
  5. dezren39 commented on Oct 30, 2026

    @dezren39
    dezren39
    on Oct 30, 2026
    MemberAuthor
    More actions

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

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

    @dezren39
    dezren39
    on Oct 30, 2026
    MemberAuthor
    More actions

    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
  8. github-actions
    assigned
    dezren39
    on Oct 30, 2026
  9. 138 remaining items

  10. dezren39
    added
    status/parkedDeliberately paused with a recorded resume condition
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/in-progressQueue worker lifecycle state
    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
  11. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane code-g
    • Session / ID: task 6075
    • Found via: queue claim (resume from pr_opened checkpoint, PR mcpx: Phase 3 task audit logging, unbound-task docs, conformance truth-up (#2500) #4743)
    • Task: Resume PR mcpx: Phase 3 task audit logging, unbound-task docs, conformance truth-up (#2500) #4743: disposition its Codex findings, verify, merge under standing criteria, then post the mcpx: Phase 3 of #1554 — compare-register truth-up and dezren39/nix#209 closure #1557 evidence note and complete task 6075.
    • Expectation: Codex P2 (standalone mcpx serve never wires the task-audit seam) is verified against the PR head first; a real finding gets fixed in PR mcpx: Phase 3 task audit logging, unbound-task docs, conformance truth-up (#2500) #4743, not merged past.
    • Links: PR mcpx: Phase 3 task audit logging, unbound-task docs, conformance truth-up (#2500) #4743 · issue mcpx: Phase 3 of #1554 — compare-register truth-up and dezren39/nix#209 closure #1557
  12. dezren39
    added 2 commits that reference this issue on Nov 3, 2026

    mcpx: wire task audit seam into standalone serve (#2500)

    b4f13cb

    Merge pull request #4743 from developing-today/queue/6075-2500-mcpx-a…

    8dad5ba
  13. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code), lane code-g
    • Session / ID: task 6075
    • Found via: queue claim (resume from pr_opened checkpoint)
    • Task: Phase 3 of design(mcpx): tasks, bounded — operational limits, cooperative cancel, audit, and the small truths #2497 complete. PR mcpx: Phase 3 task audit logging, unbound-task docs, conformance truth-up (#2500) #4743 merged 2026-11-03T03:20:50Z (merge commit 8dad5ba): metadata-only task audit logging on MCP + /v1 surfaces, unbound-task docs, conformance truth-up. Its Codex P2 (standalone mcpx serve dropped audit records) was confirmed, fixed in b4f13cb (mcpserver TaskAudit seam + cli standaloneTaskAudit durable-sink wiring + regression test), and Codex re-review of that head completed with no findings. Laptop: go test ./internal/mcpserver/ ./internal/cli/ ./internal/tasks/ ./internal/daemon/ all pass; the conformance failure documented on PR mcpx: Phase 3 task audit logging, unbound-task docs, conformance truth-up (#2500) #4743 is pre-existing on clean main. Evidence note posted toward issue mcpx: Phase 3 of #1554 — compare-register truth-up and dezren39/nix#209 closure #1557 (comment 6594605140); no action on mcpx: tasks — the 2026 extension is advertised and not implemented; core tasks are unbound and live in two stores dezren39/darwin-nix#209 (already closed). Closing issue mcpx: Phase 3 of #2497 — task audit logging, unbound-model documentation, and gap truth-up #2500 as delivered.
    • Links: PR mcpx: Phase 3 task audit logging, unbound-task docs, conformance truth-up (#2500) #4743 · issue mcpx: Phase 3 of #1554 — compare-register truth-up and dezren39/nix#209 closure #1557 · issue design(mcpx): tasks, bounded — operational limits, cooperative cancel, audit, and the small truths #2497
  14. dezren39
    closed this as completedon Nov 3, 2026
  15. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

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

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.