Skip to content

fix(skill): keep recovery client IDs aligned with the setup registry - #10312

Closed
Abhinav281203 wants to merge 1 commit into
morluto:mainfrom
Abhinav281203:fix/skill-recovery-client-ids
Closed

Abhinav281203 wants to merge 1 commit into
morluto:mainfrom
Abhinav281203:fix/skill-recovery-client-ids

Conversation

@Abhinav281203

@Abhinav281203 Abhinav281203 commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The bundled skill's registration repair guide lists the --client IDs an agent can pass to rea setup and rea doctor. On main at 54906fdb1 it named 24 of the 29 IDs that setup accepts. This PR adds the five missing IDs and makes the documentation-facts check fail when a setup client ID is absent from that list.

Fixes #7640

Problem and expected behavior

Change and scope

  • Add the five IDs to the authored reference, in registry order.
  • In scripts/lib/docs-facts.mjs, beside the existing installation-guide check, require each catalog.setup_clients ID (backtick-quoted) in the authored reference. npm run docs:check and the two boundary tests now fail on a missing ID.
  • Regenerate the tracked Cursor plugin copy with node scripts/generate-cursor-plugin-skill.mjs.

Not included:

  • Detecting an ID that the skill lists but the registry no longer has.
  • Generating the list. The authored skill stays directly installable from a clean checkout, so it keeps literal text and gains a check instead.
  • Section-scoped matching. The check looks for the backtick-quoted ID anywhere in the reference file, as the installation check looks for display names anywhere in its file. Today the quoted IDs appear only in the repair list.

Overlap: draft #4451 edits the same sentence to add kimi and workbuddy. This PR covers both and the three later additions.

Maintainer scope decision: not applicable. This is a documentation fix and a documentation check within existing boundaries.

Contract and boundary impact

  • Semantic owner and earliest changed stage: SUPPORTED_CLIENT_DEFINITIONS remains the owner. The check consumes the product catalog's existing setup_clients projection, which the installation-guide check already used. No path was superseded or removed.
  • Contribution scope fit and linked maintainer decision: routine documentation fix; not applicable.
  • CLI and MCP/tool-catalog contract: none. No schema or runtime change.
  • Provider, bridge, target-format, or platform compatibility: none.
  • Evidence, artifact, provenance, or reconstruction contract: none.
  • Target selection, authority, upstream behavior, and cleanup details (if applicable): not applicable.
  • Generated metadata (docs/public/product-catalog.json), package, or installation impact: the authored reference under .agents/skills/reverse-engineer-anything/ changed, and the tracked .cursor-plugin/skills/ copy was regenerated from it. The ignored skills/ output is not committed. The packaged skill bundle's reference text changes accordingly.

Expected effects (check known effects; use documentation-only on its own).
Unchecked items do not establish absence; leave uncertainties visible.

  • Read existing files or captured data.
  • Launch or attach to a process.
  • Inject instrumentation or run scripts/code.
  • Change process memory, registers, files, or configuration.
  • Contact network services.
  • Recover protected code or work around protections.
  • Documentation or usability only; no target interaction.
  • Not sure yet; investigation or maintainer guidance needed.

Evidence and regression coverage

  • Tests added or updated:

    • tests/boundary/filesystem/productCatalog.test.ts: the drift case now also asserts that a client absent from the skill list is reported. The existing "matches every source-derived build-generated product fact" assertion covers the real list.
    • tests/boundary/filesystem/documentationFacts.test.ts: the fixture seeds the reference file the check now reads.
  • Base reproduction or other evidence (executed): with the new check and tests applied and the reference restored to its 54906fdb1 content, npm run test:focused -- tests/boundary/filesystem/productCatalog.test.ts tests/boundary/filesystem/documentationFacts.test.ts reported 2 failed | 9 passed. Both failures were the same five issues:

    .agents/skills/reverse-engineer-anything/references/connection-and-recovery.md: missing `codebuddy`
    .agents/skills/reverse-engineer-anything/references/connection-and-recovery.md: missing `cline`
    .agents/skills/reverse-engineer-anything/references/connection-and-recovery.md: missing `kimi`
    .agents/skills/reverse-engineer-anything/references/connection-and-recovery.md: missing `workbuddy`
    .agents/skills/reverse-engineer-anything/references/connection-and-recovery.md: missing `lm_studio`
    

    With the list completed, the same command reported 11 passed.

  • User-visible CLI/MCP output (if applicable): not applicable.

  • Remaining proof gaps:

    • rea setup --client <id> was not executed for the five IDs. Their acceptance is source-derived from the registry and the z.enum built from it.
    • No agent session was run against the updated skill.
    • The check does not detect IDs that are listed but no longer supported.

Boundary and lifecycle regressions: not applicable. This is not a parser, inventory, snapshot, projection, or lifecycle change.

For evidence-bearing changes: not an evidence-bearing change.

  • Observed, derived, and inferred claims remain distinguishable.
  • Artifact identity, source provenance, and failed attempts remain preserved.
  • Unsupported, incomplete, unavailable, or uncertain outcomes remain visible.

Validation performed

Host: macOS arm64. Commands below ran on Node v24.22.1 with its bundled npm 11.19.1 (the repository pins npm 11.16.0). npm ci itself ran earlier on Node v26.13.0 with npm 11.20.0, and those node_modules were reused.

  • npm ci — exit 0.
  • npm run test:focused -- tests/boundary/filesystem/productCatalog.test.ts tests/boundary/filesystem/documentationFacts.test.ts tests/conformance/cursorPlugin.test.ts — 3 files, 16 tests passed, on the final tree.
  • npm run docs:check — exit 0 on the final tree. Its first run failed with cursor_plugin_skill_stale until the plugin copy was regenerated.
  • npm run check — exit 0 on the final tree. Lint and typed lint: 7229 files, 0 errors. Architecture guards passed.
  • Pre-commit hook (lint-staged: oxlint --fix, oxfmt) — passed and changed nothing.
  • Pre-push hook (npm run check:fast) — passed.

Compatibility, safety, and release

  • Breaking changes or migration steps: none.
  • Real Hopper/Ghidra, browser, or OS coverage: not applicable. Checks ran on macOS arm64 only.
  • Package or release metadata impact: the packaged skill's recovery reference text changes. metadata:check passed, so no tracked metadata changed.
  • Security, privacy, process, or containment review: none needed; no runtime behavior changes.

Author readiness

Human owner: @Abhinav281203

  • I reviewed the final diff and relevant existing code, understand the change and its edge cases, and take responsibility for the complete PR, including AI-assisted work.
  • I checked the evidence above, confirmed it supports the current change, and recorded meaningful validation gaps.
  • I declare this PR ready for initial maintainer review.

Before merge

  • This PR addresses a concrete problem or an agreed enhancement.
  • Material scope and authority questions are resolved, and any required maintainer scope decision covers the final diff.
  • The PR has one focused outcome and the title follows type(scope): outcome.
  • Related issue is linked, or the reason for not linking one is stated above.
  • Tests cover changed observable behavior and meaningful failure paths.
  • Owning docs, contracts, and generated metadata are updated where needed.
  • User-visible CLI/MCP changes include representative output.
  • I checked the final diff for secrets, unrelated cleanup, and unsupported claims.

🤖 Generated with Claude Code

The registration repair guide named 24 of the 29 client IDs that
`rea setup --client` accepts. Add codebuddy, cline, kimi, workbuddy and
lm_studio, and make the documentation-facts check require every setup
client ID in that list so a new client cannot be omitted again.

Regenerate the tracked Cursor plugin copy of the reference.

Fixes morluto#7640

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@greptile-apps

greptile-apps Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This PR appears safe to merge.

Summary

Adds the five missing setup client IDs to the recovery guide and its Cursor plugin copy.

  • The repair guide lists every setup client ID agents can choose.

Reviews (2) · Last reviewed commit: "fix(skill): keep recovery client IDs ali..." · Reviewed by Greptile

@Abhinav281203
Abhinav281203 marked this pull request as ready for review November 13, 2026 05:52
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-13T05:56:25.115385Z 6bcdff3 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@N0zoM1z0

Copy link
Copy Markdown
Collaborator

Thanks! This landed on main in #10490 as its own commit, cherry-picked with your authorship kept (rebase merge). Closing in favor of that merge.

@N0zoM1z0 N0zoM1z0 closed this Nov 14, 2026
@morluto morluto added area: setup Setup, packaging, upgrade, install, Doctor, and client registration bug Something isn't working labels Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: setup Setup, packaging, upgrade, install, Doctor, and client registration bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Skill recovery step again omits supported setup client IDs

3 participants