GitHub Issue Create
github_issue_createCreates a GitHub issue for postponed work, using role and next/later labels; defaults to dry-run planning and requires approval for live creation.
Instructions
Open a GitHub issue for postponed work (needs human approval unless dry_run).
Use when: parking work with a role label plus next or later. dry_run=true (default) returns the exact command. No-op (n/a) when the github_issues run option is off. Returns: {ok, url/command, dry_run} or an approval_required refusal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Issue body with what / why / done-when sections. | |
| repo | Yes | GitHub repository as 'owner/name', e.g. 'octocat/my-app'. | |
| title | Yes | Issue title in imperative form, e.g. 'Add offer paywall analytics'. | |
| labels | Yes | Issue labels: one role label (ios, backend, store, lead, founder) plus next or later. | |
| app_dir | No | App directory; when given, the github_issues run option is read from its spec. | |
| dry_run | No | If true (default) nothing is changed or sent and the exact plan/command is returned; false performs the live action. | |
| approval_id | No | Approval id from a previous approval_required refusal; omit on the first call. The human approves out-of-band with `appfactory approve <id>`, then call again with the same arguments and this id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||