Scaffold alignment from a description
Calls an LLM (Claude Haiku by default; opt into Sonnet via model: "sonnet") with the catalog and tools-registry context, returns a YAML manifest scaffold + care-framed reasoning prose + suggested catalog entries + coverage gaps. Never auto-commits — the caller reviews and edits before PUT. Cached by (model + scope + description + hints) hash; 24-hour TTL.
Authorizations
Supabase JWT token in Authorization: Bearer header
Body
Free-form description of the agent / scope. Untrusted input — the system prompt instructs the model not to follow embedded directives.
20 - 2000Hint to the model about which scope the manifest will live at.
platform, org, team, agent Free-form key/value hints (industry, risk_appetite, existing_tools, etc).
Claude model to invoke. haiku is the default; sonnet for prose-heavy reasoning.
haiku, sonnet Response
Scaffold ready. Editable; never auto-commits.
alignment YAML body of the scaffolded manifest.
Care-framed prose explanation.
True when the response was served from the description-hash cache.
Claude model id used for the call.