Skip to content

bootstrap: warnings tell users to run 'charter adf register', which does not exist #347

Closed

Description

@stackbilt-admin

Found during the #239 blueprint.

packages/cli/src/commands/bootstrap.ts points users at a command that isn't implemented (no register subcommand in adf.ts):

  • :262 — manifest.adf parsed with 0 DEFAULT_LOAD entries — run 'charter adf register core.adf --load default' to repair.
  • :997 — Run `charter adf register` to add them to the manifest.

The real remedy today is charter adf create <module> --load default|on-demand (it preserves an existing file without --force and only adds the manifest entry), or the hint wording doctor uses since #346. Fix: reword both warnings to the existing command and add assertions; or, if adf register is wanted as an alias, implement it on the shared idempotent manifest writer planned in #239.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions