gentle-ai-issue-creation
Issue Creation
Core Rule
Discover the target repository's contribution workflow before proposing or publishing. YAML Issue Forms are the format authority for the default automated path: materialize reviewed answers into a private BODY_FILE and publish with --body-file.
Safe Discovery
Before any gh auth status or target read, require explicit human authorization for the remote destination (exact host and repository), operation (including discovery and intended issue creation), and credential/session to use. A local checkout is not authorization. If any is missing or ambiguous, stop locally; never probe credentials or sessions to resolve ambiguity. Run the checks below only with the authorized credential/session against the authorized destination; if gh auth status would inspect other credentials/sessions, do not run it. Verify the discovered REPO, HOST, and TARGET match the authorized destination before continuing; never switch identities or targets implicitly.
After that gate, run read-only checks: