Skip to content

Add hidden plan schema command for agents - #327

Merged
daniel-de-vera merged 1 commit into
mainfrom
plan-schema
Apr 30, 2026
Merged

daniel-de-vera merged 1 commit into
mainfrom
plan-schema

Conversation

@daniel-de-vera

Copy link
Copy Markdown
Contributor

Summary

  • Adds signadot plan schema, a hidden subcommand that prints the plan-authoring JSON Schema to stdout.
  • Calls the SDK's Meta.MetaPlans (GET /meta/plans) and writes the response payload as compact JSON with a trailing newline.
  • Intended for agents authoring plan specs; output is fixed JSON (no -o flag, no other flags).

Test plan

  • signadot plan schema prints valid JSON to stdout
  • Piping through jq works: signadot plan schema | jq .
  • Command is hidden from signadot plan --help
  • signadot plan schema --help still works (shows usage)

🤖 Generated with Claude Code

Adds `signadot plan schema`, a hidden subcommand that prints the
plan-authoring JSON Schema to stdout by calling the SDK's
Meta.MetaPlans (GET /meta/plans). Intended for agents authoring
plan specs; output is fixed JSON (no -o flag).

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

@scott-cotton scott-cotton left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@daniel-de-vera
daniel-de-vera merged commit fc5649e into main Apr 30, 2026
@daniel-de-vera
daniel-de-vera deleted the plan-schema branch April 30, 2026 17:08
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.

2 participants