GitHub Push
github_pushCommit all app repository changes and push after milestones; live write requires human approval before execution.
Instructions
Commit all changes in the app repo and push (live write, needs human approval).
Use when: regular tracking after milestones. For the first push of a new repo use github_create_repo. Returns: {ok, commit, push} or an approval_required refusal.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"app_dir": "<app_dir>",
"message": "<message>"
},
"name": "github_push"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_dir | Yes | Absolute path to the app project directory (contains app.spec.json), e.g. /Users/me/Apps/MyApp. | |
| message | Yes | Git commit message. | |
| 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 | |||