Start from a configuration template
Choose reusable settings, edit their values, preview the exact change, and apply it without replacing unrelated choices.
A configuration template is a reusable starting configuration: copy its choices, edit the values you need, and apply selected parts. For example, a template can choose how an existing Slack connection returns files. It does not create a new agent personality or grant membership just because its title names an audience.
Before you start
Use a host with template support; check push workspace template --help. You need permission to manage the selected settings. The folders, accepted members and connections you select must already exist in that workspace.
Templates live in Push's catalog: it contains built-in releases and releases published to your workspace. An export makes a JSON copy for reading or authoring. A setup file instead describes the host's broader setup and can reset omitted settings within a present section.
Choose a starting point
Show me this workspace's configuration templates. Explain the useful parts and tradeoffs for a shared team Mac, let me edit the choices, and preview the exact changes before applying anything. Include any manual steps.Or inspect the catalog in your shell:
push workspace template list --json
push workspace template history --jsonFollow nextPage with list --page <number> until it is empty. Keep the same catalogDigest across pages; restart the read if it changes. Each release has its own digest, parts and any required bindings to existing resources. An audience label is guidance, not an access role.
For example, export the built-in private-artifact template to a new file:
push workspace template export push/private-artifact-replies 1.0.0 private-replies.jsonIts private-links part changes selected future artifact replies to authenticated links. Recipients still need Push access and a reachable host. Its identity and posting guidance are manual steps. Applying it sends no message and grants no access.
Select, bind and preview
Create selection.json using the release digest from the current catalog and the existing connection ID from its resources. The placeholders below must be replaced:
{
"selections": [
{
"templateId": "push/private-artifact-replies",
"release": "1.0.0",
"digest": "<release digest from the catalog>",
"parts": ["private-links"]
}
],
"bindings": {
"push/private-artifact-replies:connection": "<existing connection ID>"
}
}push workspace template plan selection.json --out preview.json --jsonReview which values change, where they apply, the effective inherited values and manual steps. Dependencies must be explicitly selected. Conflicting selections refuse the application.
To customize values, overrides keys use <template-id>:<part-id>:<zero-based change index> and contain the edited typed change. Export the release to see that change's fields. Overrides can change those values, including choosing inheritance, but cannot add new fields or target another resource. Inheritance may use a broader workspace or connection choice; it does not always mean the product default.
Apply the reviewed preview
The person at the terminal applies that exact preview:
push workspace template apply preview.json --yes --jsonAn agent handling an accepted request carries --request <input-id> through both plan and apply, using the same original input. Folder grants and restrictions require the owner's direct action. Credentials, invitations, identity acceptance, runtime installation and connection setup stay separate manual workflows.
The preview belongs to its caller and workspace and expires. Changed settings, inheritance, resources or authority require another preview and review. Do not silently substitute a new plan for the one the person approved.
See the result
Inspect push workspace template history --json and the affected settings. An applied template is a snapshot: later edits or retirement of the release do not change your workspace. Unselected parts remain as they were. Existing selected replies retain their earlier delivery choice.
To author a reusable template, export a release, give it your own namespaced ID, edit it, validate against push workspace template schema, then use publish with the person's confirmation. Release contents are immutable; edits need a new version. For an upgrade, put the earlier history entry's previousApplicationId in the new selection. A conflicting human edit stops the upgrade; omitting an earlier part preserves its settings rather than undoing it.
If something stops
Read the refusal before changing the selection. Re-read the catalog for a missing resource or changed release. Generate and review a fresh preview for an expired or stale plan. After a lost apply response, inspect history before trying again. Manual items must be completed through their named setup flow.
Next, save a complete host setup or review connector choices.