Skip to content

fix: mirror forge-cli 0.39.0's alert default connection and core command name rules; release 0.12.1 - #29

Merged
fas89 merged 2 commits into
mainfrom
fix/mirror-forge-0.39-rules
Nov 23, 2026
Merged

fas89 merged 2 commits into
mainfrom
fix/mirror-forge-0.39-rules

Conversation

@fas89

@fas89 fas89 commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

forge-cli 0.39.0 changes two rules the SDK copies:

  • An alert kind's default_connection is used when a route names none. A connection is required only when requires_connection is true and the kind has no default. AlertNotifierTestHarness now resolves sample routes the same way, and the role docs say how the two attributes work together.
  • A fluid_build.commands plugin may not register a core command's name or alias. forge refuses it with a typed error and skips that plugin. CommandPluginTestHarness now checks against the core names by default. They are vendored in roles/_forge_commands.py from forge-cli's own parser, 67 names including aliases. reserved_command_names adds a plugin author's own names, and check_core_command_names = False turns the core check off for an older forge-cli.

Cuts 0.12.1. It has no runtime dependencies.

Checked: ruff, black, pytest (423 passed), each example's tests, python -m build and twine check. The vendored list equals forge-cli main's top-level commands and aliases exactly.

@fas89
fas89 merged commit 48195a8 into main Nov 23, 2026
9 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