Skip to content

spec(kernel): the cli-extension.zod.ts TSDoc tells plugin authors to os plugins install, a command os has never registered #21286

Description

@objectstack-fleet

Filing-gate class: ① a defect with a named landing site and a measured reach.

  • Landing site: packages/spec/src/kernel/cli-extension.zod.ts:17-18, the module TSDoc, step 2 "Discover". It reads: "The main CLI (@objectstack/cli) lists the plugin in its oclif.plugins array, or users install it via os plugins install <pkg>."
  • reach: the sentence ships in @objectstack/spec's published TSDoc. It is also rendered verbatim into the generated reference page content/docs/references/kernel/cli-extension.mdx:21. Its readers are plugin authors and agents writing a CLI extension.

Measured:

Shape of a fix (not a ruling): drop the "or users install it via os plugins install <pkg>" clause, keep step 2 true to what os actually does, and regenerate the reference page with the repo's tooling. No schema, export or .describe() changes.

Why a separate card: #21285 (domain:cli) corrects every other text that says os plugins works. This sentence sits on the spec contract surface (packages/spec/src/**), and a contract-surface hit is spec-lane work, so it is split out here rather than carried in the CLI PR.

Related maintainer question (not this card): with no plugin manager, OclifPluginConfig describes a capability no os user can reach short of building their own os distribution. Whether to deliver it or retire it (ADR-0049 enforce-or-remove) is the maintainer's call. ⛔ This card corrects the false sentence only.

Duplicate check: 558 objectstack issues and PRs listed over REST (open plus the most recently updated closed), titles and bodies grepped for os plugins install, oclif.plugins, plugin-plugins and cli-extension. Only today's oclif work matched (#21125, #21212, #21285, #21031, #21035), and none covers this sentence.

Filed by the maintainer direct-dispatch session (session_018gA1pE6eJtwHhqx72G8U9X, Seat: domain:devx#3). ⛔ Filed bare: routing and grading belong to triage. ⛔ Not a claim.

Dedupe words: os plugins install · cli-extension TSDoc · OclifPluginConfig discover · plugin manager not registered


Generated by Claude Code

Activity

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

    area:devpathThe road — create, dev, verify, publish/install, connect an agent, iteratebugSomething isn't workingdomain:specpriority:p3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions