← ClaudeAtlas

reefiki-dual-remote-publishlisted

Use when publishing REEFIKI work to git, including "push", "пуш", "отправь на git", merge, PR, public snapshot, cleanup of task worktrees, or any dual private/public remote publication.
NeAGI/Reefiki · ★ 1 · AI & Automation · score 72
Install: claude install-skill NeAGI/Reefiki
# REEFIKI Dual-Remote Publish Use this before any REEFIKI publish action. Do not treat `git push` as a single command: REEFIKI has private `origin` and filtered public `public`. ## Default Flow 1. Run dry-run from the task worktree or current repo: ```powershell python scripts\reefiki.py publish-task --dry-run --cleanup --format json ``` 2. Read the result: - `private-only`: push to `origin` only. - `public-safe`: push to `origin`, then filtered `public` snapshot. - `mixed`: push private first, then filtered `public` snapshot. - `block`: stop and report the reason. Do not force-push or merge by hand. 3. If dry-run passes and the user asked to publish, run: ```powershell python scripts\reefiki.py publish-task --apply --cleanup --format json ``` If private push already succeeded but public snapshot failed due to network, resume only the public side: ```powershell python scripts\reefiki.py publish-task --apply --public-snapshot --format json ``` ## Rules - Never push a private task branch directly to `public`. - Never publish from a dirty worktree. - If the task branch is not fast-forward over the base, create or ask for PR flow; do not force-push `origin/main`. - Public publication must be a filtered orphan snapshot with private projects removed. - Private project folders are defined by `scripts/public-snapshot.private-projects.txt`. - Until the Python runtime path gets a fail-closed inventory guard, treat `scripts/public-snapshot.private-projects.txt` as a critical