Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Principle:A5c ai Babysitter Plugin Repository Sync

From Leeroopedia
Knowledge Sources
Domains Plugin_Generation, Repository_Sync
Last Updated 2026-10-23 00:00 GMT

Overview

A method for synchronizing generated plugin packages to external GitHub repositories with dry-run and push modes.

Description

Plugin Repository Sync is the principle of distributing generated plugin packages to per-harness GitHub repositories. The sync scripts:

  • Initialize local git repos for each target package
  • Set remote origin to the target GitHub repo
  • Commit the generated content
  • Optionally (with --push): create the repo via gh repo create, clone, commit, and push

The atlas sync uses a suffix map (ATLAS_REPO_SUFFIXES) to determine target repo names (a5c-ai/atlas-<suffix>). The external sync handles non-atlas plugins.

Default mode is dry-run (local git operations only, no GitHub push). The --push flag is for CI only.

Usage

Use this principle when distributing generated plugin packages to per-harness repositories where CI automation manages the sync.

Theoretical Basis

The sync is a git-workflow per target:

for target in generatedTargets:
    repo = init git repo at work-dir/<suffix>
    repo.remote = "https://github.com/a5c-ai/atlas-<suffix>.git"
    git add . && git commit -m "Sync <version>"
    if --push:
        gh repo create a5c-ai/atlas-<suffix> --public
        git push origin <branch>

Key property: Dry-run mode allows reviewing the sync state (what would be committed, what repos would be created) before any GitHub mutation.

Related Pages

Implemented By

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment