Skip to content

Comments

feat: introduce broadcast commands#718

Open
cjbell wants to merge 3 commits intomainfrom
cjbell-kno-11680-cli-introduce-broadcast-commands
Open

feat: introduce broadcast commands#718
cjbell wants to merge 3 commits intomainfrom
cjbell-kno-11680-cli-introduce-broadcast-commands

Conversation

@cjbell
Copy link
Contributor

@cjbell cjbell commented Feb 16, 2026

Description

Adds the full set of commands for working with broadcasts via the CLI. Does not include broadcasts in knock pull for now because I felt like it doesn't make sense to check those into source control probably?

Tasks

KNO-11680

@linear
Copy link

linear bot commented Feb 16, 2026

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

"override_preferences": false
},
"steps": []
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Accidentally committed broadcast directory at repo root

Medium Severity

The my-new-broadcast/ directory at the repository root looks like a test artifact generated during development of the broadcast new command. Its contents exactly match what scaffoldBroadcastDirBundle produces. It isn't referenced by any source or test file and doesn't belong in the repo.

Fix in Cursor Fix in Web

const input = flags.force || (await promptToConfirm(promptMessage));
if (!input) return;

await Broadcast.generateBroadcastDir(broadcastDirCtx, key);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

User-provided name discarded during broadcast generation

Medium Severity

The broadcast new command prompts the user for a name, but the collected value is only used as a slugify seed for the key suggestion. generateBroadcastDir only accepts a key parameter, so scaffoldBroadcastDirBundle always writes name: "". All other resource generators (workflow, guide, email-layout) accept and persist the name into the generated JSON file.

Additional Locations (1)

Fix in Cursor Fix in Web

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