Skip to content

epic: host conformance harness — no host-visible warning may pass CI #213

Open

Description

@danielvm-git

Epic proposal · Scope: quality infrastructure · Blocks recurrence of #173, #208, #209, #210

Problem

Four host-integration defects in six months, same family, all found by a human reading a startup banner rather than by CI:

Issue Date Outcome
#108 / BUG-2026-08-06-pi-drops-skills-frontmatter 2026-08-06 16 skills dropped
#121 / BUG-2026-09-09-pi-duplicate-slash-commands 2026-09-09 every command twice
#123 / BUG-2026-09-10-pi-mcp-omp-startup 2026-09-10 MCP server cannot start
#173 2026-10-31 10 skills dropped, closed unfixed, still live in 2.93.3

The common shape: bigpowers ships artifacts derived from assumptions about host behaviour (what a host discovers, what its parser tolerates, what it ignores), and nothing in CI ever executes that host's rules. npm run compliance validates bigpowers' own model of the world.

Outcome

A conformance harness that fails CI on any host-visible warning:

  • pi: load every installed SKILL.md through the host's own parser (require("yaml").parse) and the four discovery roots (~/.pi/agent/skills, <cwd>/.pi/skills, <cwd>/.agents/skills, ~/.agents/skills), asserting 0 parse failures, 0 name collisions, loaded == expected.
  • Claude Code / Cursor / Gemini CLI / Antigravity: assert the installed artifact shape each host documents (.claude/skills/<name>/SKILL.md, .cursor/rules, .gemini/extensions/…), plus frontmatter validity.
  • MCP: assert zero Ignored settings, zero blocked: project server for a documented default config.
  • Runs from a scratch $HOME so dev-machine leftovers cannot mask a defect (that masking is exactly how pi: frontmatter story tags converted to HTML comments break YAML parsing — 10 skills dropped as "Map keys must be unique" (since 2.88.12) #173 stayed invisible locally while shipping broken).

Acceptance

bash scripts/run-host-conformance.sh exits 0 on a fresh install and fails on each of the four historical defects, reintroduced as fixtures.

Stories (draft)

  1. Harness skeleton + pi parser/discovery conformance
  2. Sandboxed $HOME install fixture
  3. Claude Code + Cursor artifact conformance
  4. Gemini CLI + Antigravity artifact conformance
  5. MCP startup conformance (adapter warnings + project-server policy)
  6. Wire into run-verification-gates.sh and CI matrix

Activity

  1. added
    epic
    quality
    on Nov 6, 2026
  2. added a commit that references this issue on Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    epicquality

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions