sync
Manually trigger workspace sync - git pull of the code/data clones, then a push-all backup. EXPLICIT INVOCATION ONLY - never auto-trigger.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Manually trigger workspace sync - git pull of the code/data clones, then a push-all backup. EXPLICIT INVOCATION ONLY - never auto-trigger.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Backup the entire workspace to GitHub. EXPLICIT INVOCATION ONLY - never auto-trigger from natural language.
CEO-only: Push all workspace updates to all executives. Single command that commits, classifies, publishes to corporate repo, bumps BUILD.json, pushes CRM, aggregates CRM, syncs exec workspaces, and reports. EXPLICIT INVOCATION ONLY - never auto-trigger.
Pre-implementation gate: recommended structured checkpoint between plan approval and /implement. Use before any non-trivial implementation: combines success-criteria definition, an inline contrarian stress-test (the /devil discipline), an optional /council architecture review with Kimi as devil's advocate, harness gap audit, and test-contract writing. Produces a GO/NO-GO artifact with a ready-to-paste /implement prompt. Skip for trivial one-liner fixes, typo corrections, and config-only changes.
Ultrathink principal-engineer review gate. Runs a Validate-Identify-Improve-Adjust (VIIA) pass over a target - a plan awaiting approval, just-executed work, a specific file or directory, or the entire workspace - then runs an adversarial refutation layer (Phase 2.5) with cross-family judge rotation (Claude and Kimi k3) and optional two-agent debate on BLOCKER + HIGH findings before presenting findings with concrete proposed fixes for batched approval. Blocks forward progress until approved. Triggers on "scrutinize", "stress-test this", "principal review", "validate and improve", "review the plan before I approve", "audit what you just did", "ultrathink review". Do NOT trigger for artifact grading alone (use /evaluate), fact-checking drafts (use /validate), or strategic reasoning (use /deep-think). Usage: /scrutinize [plan | execution | file:<path> | dir:<path> | workspace | trajectory:<run_id>] [--relentless] [--no-refute] [--include-low-confidence] [--include-ambiguous]
Second-opinion advisor. Default roster is Kimi k3 alongside Claude's own view; Gemini and Grok are opt-in via --gemini / --grok / --all. Two modes: independent (the models see the problem only, reason fresh) and critique (they stress-test a draft). Distinct from /deep-think (Claude reasoning structured, alone) and /odin (Claude + the curated knowledge brain). Trigger when the user says: "council", "/council", "second opinion on", "consult the council", "what would Gemini/Grok/Kimi say about", "stress-test this with Gemini/Grok/Kimi", "council vote".
Change the reported IMEI on a configured GL.iNet travel router (GL-XE300 or GL-E5800, auto-detected) for work testing. Generates a fresh, never-reused device-class IMEI locally (TAC from per-device config), connects to the modem over SSH, records the outgoing IMEI with a timestamp, applies the change, confirms the device AND the reset with the operator, resets the modem, and verifies the new IMEI is live. EXPLICIT INVOCATION ONLY via /modem-tune. Personal-hardware tool: dormant on any instance without its own private config/modem.json (per-device identity). Subcommand-style requests: status (read-only), revert (factory IMEI).
| name | sync |
| disable-model-invocation | true |
| description | Manually trigger workspace sync - git pull of the code/data clones, then a push-all backup. EXPLICIT INVOCATION ONLY - never auto-trigger. |
| argument-hint | [pull|backup] |
| metadata | {"author":"Misha Hanin","email":"misha.hanin@odinix.com","version":"2.0"} |
| allowed-tools | Bash(python3:*), Bash(git:*), Read |
| model | haiku |
| x-heading-orchestration | {"parallel_safe":false,"shared_state":[],"triggers":["sync","full corp sync","pull updates"]} |
| x-heading-capability | {"what":"Manually syncs the workspace with plain git: pulls the latest code (and data) with `git pull --ff-only`, then backs up via `scripts/push-all.py`. This replaced the retired workspace-sync.py copy-and-orphan-delete engine.\n","how":"Run /sync (explicit-invocation-only, never auto-triggers) to pull then back up, or scope it with /sync pull | backup. pull = git pull --ff-only on the engine and data clones; backup = push-all.py.\n","when":"Use to pull updates or back up between sessions. To publish corporate changes out to all execs use /push-updates; for a backup alone use /backup (push-all).\n"} |
| x-heading-routing | {"category":"Operations","triggers":["NEVER auto-trigger. Explicit `/sync` only."],"exclusions":["Push to execs -> /push-updates"],"compound":"No","router":"manual"} |
Manually sync the workspace using plain git. This replaced the retired
workspace-sync.py mechanism (see
plans/2026-06-26-retire-workspace-sync-disk-import.md): there is no longer a
copy-and-orphan-delete engine, no scheduled sync task, and no risk of the old
"delete the engine tree" failure. Sync is now two simple, non-destructive
operations.
git pull --ff-only on the engine clone (.heading-os)
and the data overlay (.heading-os-data). Fast-forward only, so a divergent
local history surfaces as a plain error instead of an implicit merge.
1b. Corporate content (execs) - python scripts/sync-corporate.py refreshes the
gitignored .corporate-repo/ clone of heading-os-corporate, read in place via
get_corporate_root(). It self-no-ops on the CEO workspace, so it runs
unconditionally in the pull sequence (no skill-level branch).python scripts/push-all.py commits and pushes BOTH repos
to their private origin/main with the pre-push secret scan and [0 0]
ahead/behind verification.First-run record recovery after a clean deploy is a separate one-shot:
python scripts/import-legacy-records.py --from <old-records-path>(local, non-destructive). It is NOT part of /sync.
/sync - pull, then backup/sync pull - git pull --ff-only on the engine and data clones only/sync backup - python scripts/push-all.py only.heading-os-data sibling, or HEADING_OS_DATA if set).git -C <engine-root> pull --ff-only and
git -C <data-root> pull --ff-only, then python scripts/sync-corporate.py
(refreshes .corporate-repo/ on execs; no-ops on the CEO workspace). Show each
result.python scripts/push-all.py and show its output./sync: pull first, then backup.git pull non-fast-forward: "Local history diverged - reconcile manually
(git -C <root> status) before syncing; /sync will not force or merge.".env and retry; never pass --no-verify."3: NOT a failure - at least one repository was skipped (a branch
that is not main, an unarmed engine test gate) and every skipped repo is still
committed locally. Read its headline: Partial: N of M means the rest pushed and
verified; NOTHING PUSHED: all M means no new off-machine copy exists. Report
the shape, name the repo, quote the reason. Full guidance: /backup SKILL.md..env."--no-verify or force-push to work around a failed gate.