generate_script_prompt v1

Input: purpose, target_runtime, optional constraints, inputs_outputs.

Updated

Output: { "script_prompt", "argv_contract", "env_hints" }.

Failure modes

  • TransportFailure — chat transport errors.
  • ParseFailure — assistant output not valid JSON.
  • SchemaFailure — input or output rejected vs contract schemas.
  • GatewayFailure — upstream/provider errors.

Verification

Task-internal validation and JSON schema checks per contract.json verification_policy.

Changelog

  • v1 — Maintained in catalog; see git history for semantic changes.