Skip to content

mcpx conformance: server-all permanently red on sep-2640 — first-served skill mcpx-agy has no subdirectory #268

Closed

Description

@dezren39

Problem

The mcpx conformance workflow's server-all leg fails on every run — the only failing leg — with 271 passed / 1 failed. The single failure is an explicitly untestable check that the pinned conformance suite counts as a FAILURE:

  • Check: sep-2640-directory-read-subdir-mimetype ("A subdirectory child is listed with mimeType inode/directory")
  • Error (from the conformance-server-all artifact of main run 39116291815, 2026-10-18T09:41Z): Not testable: no child with mimeType inode/directory under skill://mcpx/mcpx-agy; the served directory exposes no subdirectory to exercise this check

Root cause

The suite samples the first skill returned by skills/list. mcpx serves skills sorted by URI (pkgs/mcpx/internal/mcpserver/skills.go:317-318), so the sampled skill is mcpx-agy — and pkgs/mcpx/plugin/opencode/skills/mcpx-agy/ contains only SKILL.md, no subdirectory. Every other served skill that sorts early either has one (mcpx-basics/examples/, mcpx-browser/examples/) or is never sampled. mcpx's own directory-read handling is correct for skills that do have subdirectories (TestDirectoryReadListsEveryDirectoryOnDisk passes).

Because server-all is permanently red, a real server regression in that leg is invisible — every recent PR's conformance run (#262, #264, #266) had to be read as "271/1 = known failure" by hand.

Same defect, already fixed in the sibling copy

This is the same defect as dezren39/darwin-nix#389, fixed there by dezren39/darwin-nix#395: give mcpx-agy a genuine examples/ subdirectory and add a guard test replicating the suite's sampling. After that fix, server-all passed for the first time there. This repo's pkgs/mcpx copy predates that fix: no examples/ under mcpx-agy, and no first-served-skill guard test in pkgs/mcpx/internal/mcpserver/skills_test.go.

Acceptance criteria

  1. pkgs/mcpx/plugin/opencode/skills/mcpx-agy/ gains a genuine examples/ directory (real agy example scripts + a README, in the style of mcpx-basics/examples/), and mcpx-agy/SKILL.md points at them.
  2. A guard test in pkgs/mcpx/internal/mcpserver/ replicates the conformance sampling: take the first entry of skills/list, read its directory root, and require at least one child with mimeType inode/directory. The test fails on the current tree and passes with (1).
  3. The mcpx conformance server-all leg passes on the fixing PR (272/0, or 271 passed / 0 failed with the check now testable and passing).
  4. The upstream half (the suite counting an explicitly untestable check as FAILURE rather than SKIPPED) is out of scope here; it is already noted in mcpx conformance: server-all permanently red on sep-2640-skills-directory (suite samples mcpx-agy, which has no subdirectory; 'not testable' counted as FAILURE) dezren39/darwin-nix#389.

Activity

  1. added a commit that references this issue on Oct 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions