Skip to content

mcpx: Phase 2 of #1531 — daemon proof: cross-directory re-point restarts on reload and the exec watch; TODO/roadmap closure #1533

Closed

Description

@dezren39

Phase 2 of design #1531 (filed by the design architect, 2026-10-27). Design doc: files/designs/code-mcpx-stdio-exec-identity.md in the keep-the-four-repos-healthy goal workspace.

Dependency: gated on Phase 1 (the internal/config identity core) being merged. Without it, this phase's cross-directory tests cannot pass — do not start implementation before Phase 1 lands; triage may still verify scope.

Decision in force (from #1531): a hashed script (#!) is identified by content + resolved directory, so a byte-identical script re-pointed into a different directory is a different program and its pool restarts; a re-point within one directory keeps its child. This phase proves that decision end-to-end on both paths that consume identity, and closes the originating records.

Scope

Acceptance

  • New cross-directory tests pass on both the reload path and the live watch path; all pre-existing identity tests in internal/daemon and internal/pool pass without behaviour changes (comment updates on the re-pointed test are expected and called out in the PR).
  • Exactly one server.restart lifecycle event for the re-pointed server in the watch test; no restart for its neighbour.
  • TODO item 4 gone, roadmap row updated, completion note on design(mcpx): what a stdio server's identity is — a script's identity includes its directory #1531 — all in the same PR or a linked docs PR referenced on this issue.
  • Verification via CI per fleet policy: cd pkgs/mcpx && go test ./internal/daemon/... ./internal/pool/....

Out of scope: any change to internal/config identity semantics (Phase 1 — if this phase's tests expose a core defect, file it against Phase 1's issue rather than patching semantics here); interpreter-as-command servers; sibling-loading native binaries (open questions on #1531).

Acceptance criteria

Activity

  1. added
    kind/featureNew feature or capability request
    task/triageQueue packet kind: verify, reproduce, and route this item
    priority/normalOrdinary priority (the default)
    queue/queuedHas a queued task in the Supabase agent queue
    on Oct 28, 2026
  2. developing-today commented on Oct 28, 2026

    @developing-today
    Contributor
  3. added
    app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)
    effort/mMedium: expected under 1 day of work
    on Oct 28, 2026
  4. dezren39 commented on Oct 28, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · filed

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

    @dezren39
    MemberAuthor

    Intake review

    Fleet-monitor intake pass (2026-10-28): verified still live — Phase 2 of design #1531, queued; its daemon-level tests do not exist yet and Phase 1 (#1532) has not merged, so the gate in the body is real.

  7. 81 remaining items

  8. added
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    queue/claimedQueue worker lifecycle state
    on Oct 28, 2026
  9. dezren39 commented on Oct 28, 2026

    @dezren39
    MemberAuthor

    {"schema":"agent-note:v1","event":"parked","task_id":1679,"worker":"repo-worker-code","lane":"A","note":"Parked 20m: PR #1591 all checks green except conformance compare-with-records job 122689074704, queued since 07:29Z (infra queue stall, not a failure). Resume: if job completes green, merge PR and complete task fixed_merged."}

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

    @dezren39
    MemberAuthor

    {"schema":"agent-note:v1","event":"done","task_id":1679,"worker":"repo-worker-code","lane":"A","note":"PR #1591 merged (squash, be7cf62). Final CI: 17 pass / 2 skipping / 0 fail — the conformance compare-with-records job that stalled queued since 07:29Z completed successfully 08:24Z. TODO item 4 + roadmap identity row closed in the PR; completion note is on #1531. Task completed fixed_merged."}

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/featureNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/design-architectFiled by the repo design architect jobstatus:donetask/triageQueue packet kind: verify, reproduce, and route this item

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions