You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Move generated-command search keywords into upstream API specs #661
PR #623 adds search keywords for generated commands in packages/cli/src/commands/cli/search-keywords.ts so common agent queries find the intended command. Keeping this product-specific metadata in a CLI-owned table is brittle and separates it from the product owners who maintain the API.
Move ownership of these keywords into the upstream API specifications, and carry them through Forge and the cf generator into generated command metadata.
Suggested scope:
Define an upstream API-spec annotation for operation search keywords/synonyms that product owners can maintain, with any CLI-specific mapping handled by Forge.
Propagate the annotation through Forge and the cf generator into search.keywords in generated command metadata.
Migrate the entries introduced by feat: add cf cli search keywords for common agent queries #623 and remove the local generated-command keyword table once upstream metadata supplies them. Keep hand-written command keywords in their existing meta.ts sidecars.
Agree that we should do this, but I think we need to work with the Forge team to work out where app-specific overlays should live.
This doesn't have a huge amount of benefit outside of the CLI's search implementation, so unless we abstract that and allow other systems to use it also, then changing this centrally could adjust the results of each search implementation differently.
Activity
MattieTK commentedon Nov 17, 2026
Agree that we should do this, but I think we need to work with the Forge team to work out where app-specific overlays should live.
This doesn't have a huge amount of benefit outside of the CLI's search implementation, so unless we abstract that and allow other systems to use it also, then changing this centrally could adjust the results of each search implementation differently.