Summary
gc prime <name> silently falls back to a generic default prompt when the agent doesn't exist. This is useful as a default behavior — any agent without a custom prompt gets a reasonable starting point. But when debugging, there's no way to distinguish "my agent's actual prompt" from "the fallback because I typo'd the name."
Example
$ gc prime dfdfdf
# Gas City Agent
You are an agent in a Gas City workspace...
No error, no warning. If you're trying to verify your agent's prompt template renders correctly, this is a footgun.
Proposal
Add a --strict flag that errors if the agent isn't found in the config:
$ gc prime dfdfdf --strict
Error: agent "dfdfdf" not found in city config
Without --strict, current behavior is preserved — the default prompt is returned for any agent.
Summary
gc prime <name>silently falls back to a generic default prompt when the agent doesn't exist. This is useful as a default behavior — any agent without a custom prompt gets a reasonable starting point. But when debugging, there's no way to distinguish "my agent's actual prompt" from "the fallback because I typo'd the name."Example
No error, no warning. If you're trying to verify your agent's prompt template renders correctly, this is a footgun.
Proposal
Add a
--strictflag that errors if the agent isn't found in the config:Without
--strict, current behavior is preserved — the default prompt is returned for any agent.