run-sync-check · git:20260925.1b994cf · 2026-09-25 · sha256 2548940b1c923b02

run-sync-check git:20260925.1b994cfA

Immutable. This exact content never changes and is served at /api/v1/blob/2548940b1c923b02.

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_onqrhzsaaswll5hv/2548940b1c923b02dd35004e0f77202cde717f9fad96211809bbc4558bb01b0f.json

Then /plugin install run-sync-check@markdownregistry-onqrhzsaaswll5hv in Claude Code. It installs this exact version, the one graded A here, pinned to the commit it was graded at, and leaves it there.

---
name: run-sync-check
description: Run agnostic-ai sync --check, interpret the diff, and pick the right next step. Use after editing specs or adapters.
---

# run-sync-check

Checks local generated files against the current specs and adapters. Most generated files are ignored by Git in this repository; `.openhands/setup.sh` is tracked for bootstrap.

## Steps

1. Run `go run ./cmd/agnostic-ai sync --check`. Exit 0 means the local generated files match. On drift, inspect the unified diff printed by the command; `git diff` cannot show ignored output.
2. Run `go run ./cmd/agnostic-ai sync` for intended changes, then repeat `go run ./cmd/agnostic-ai sync --check`.
3. Check `git status --short` for source and tracked output changes. Never edit generated files by hand to silence drift.

## CI

CI runs spec lint. It cannot compare ignored output in a fresh checkout, so `sync --check` is a local check, not a CI gate.