Skip to content

fix(test): bump registration-coverage snapshot to 27 ocs atoms#357

Merged
jjackson merged 1 commit into
mainfrom
emdash/e2e-malaria-fgd-7yoah
May 19, 2026
Merged

fix(test): bump registration-coverage snapshot to 27 ocs atoms#357
jjackson merged 1 commit into
mainfrom
emdash/e2e-malaria-fgd-7yoah

Conversation

@jjackson
Copy link
Copy Markdown
Owner

Summary

test/mcp/registration-coverage.test.ts was failing locally with expected 26, got 27. Pre-existing on origin/main — clean-install CI doesn't gate on this test so it slipped, but adds noise to local runs.

Diagnosis: the 27th atom is ocs_get_chatbot_pipeline_id, landed in 569b57e (PR #350) without bumping the snapshot. Atom is legitimate (wraps existing PlaywrightBackend.pipelineIdFor for /ace:sweep ocs to pair orphan chatbots with their per-opp Pipeline rows). Direction: bump snapshot, not remove atom.

Fix:

  • test/mcp/registration-coverage.test.ts: ocs expectedCount 26 → 27
  • mcp/ocs/capability-map.ts: header comment "Authoring (11)" → "Authoring (15)" (was already stale before this PR — the map had 15 authoring atoms, just the comment was behind)
  • CLAUDE.md: "23 atoms (Authoring 11 + Observation 12)" → "27 atoms (Authoring 15 + Observation 12)"

Small follow-up after the 10-PR Phase 6 session, just resolving pre-existing snapshot drift.

Test plan

  • npm test — 1239 passed, 43 skipped (was 1238 passing + 1 failing)
  • npx vitest run test/mcp/registration-coverage.test.ts — 14/14 pass
  • clean-install CI passes

🤖 Generated with Claude Code

The `ocs_get_chatbot_pipeline_id` atom landed in 569b57e (PR #350)
without updating the registration-coverage snapshot. The atom is
legitimate — wraps `PlaywrightBackend.pipelineIdFor` so `/ace:sweep ocs`
can pair orphan chatbots with their per-opp Pipeline rows before
deletion — so the fix is to bump the snapshot, not remove the atom.

Snapshot count: 26 → 27.
CLAUDE.md atom breakdown: "23 atoms (Authoring 11 + Observation 12)"
→ "27 atoms (Authoring 15 + Observation 12)" — also stale; the
capability-map already had Authoring 15, just the prose comment +
top-level doc were behind.
capability-map.ts: "Authoring (11)" comment → "Authoring (15)".

Full suite green: 1239 passed, 43 skipped.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@jjackson jjackson enabled auto-merge May 19, 2026 20:29
@jjackson jjackson merged commit d37d3e6 into main May 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant