Upstream Template Sync
Part of the PLATE agent operating rules (formerly in AGENTS.md). The always-loaded core is AGENTS.md.
Upstream PLATE Template Synchronization
Downstream PLATE repositories often customize baseline files such as AGENTS.md, .agentic/skills.yml, and workflow definitions.
Do not create, clone, fork, or gh repo create --template from akasper/plate_template or any template repository. That GitHub template is retired. Never hand-copy files from src/plate_core/template_payload/ into a target repo. Start new repositories only via docs/bootstrap/starting-a-new-repository.md (gh plate bootstrap / gh plate import-payload).
Upgrade and sync scaffold behavior through plate-core (gh plate import-payload, gh plate self-migrate, and related surfaces)—not a plate_template git remote.
Do not overwrite customized files wholesale during upgrades.
Use sectional synchronization for core behavior updates:
- Plan upgrades with
gh plate self-migrate --plan(use--verifyafter apply). - Import scaffold files with
gh plate import-payload(dry-run first; pick a safe strategy). - For marker-owned files, merge only upstream
PLATES-COREblocks (viagh plate self-migratemarker merge or manual sectional import). - Open an atomic PR labeled
Feature(orDocumentationfor doc-only syncs) and includeCloses #Nwhen tied to an issue. - Update per-feature change files in
.agentic/releases/with imported behavior and evidence links. - Run the repository's required checks before requesting review.
Marker format for sync-safe blocks:
<!-- PLATES-CORE:BEGIN block-id -->
... upstream-owned content ...
<!-- PLATES-CORE:END block-id -->
When introducing new reusable process guidance, wrap it in a PLATES-CORE block so downstream repositories can apply low-friction partial merges without losing local customizations.