run-sync-check · git:20260513.6483052 · 2026-05-13 · sha256 45f1f773801d9dd7
run-sync-check git:20260513.6483052A
Immutable. This exact content never changes and is served at /api/v1/blob/45f1f773801d9dd7.
No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_onqrhzsaaswll5hv/45f1f773801d9dd71328a609acc36baee67ec1cd6703e00c306ca8078fd443c1.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 Verifies that emitted target files match what the current specs would produce. ## Steps 1. Build the binary if changed: `make build`. 2. Run `./agnostic-ai sync --check`. Exit 0 means the working tree matches the bundle. 3. If exit is non-zero, the tool prints a unified diff per drifting file. 4. Decide: - Source edited, emitted file lags -> run `agnostic-ai sync` to refresh. - Adapter edited, emitted files would change -> intentional. Run `agnostic-ai sync` and review the diff in `git diff`. - Neither edited but check still drifts -> capture mode skipped reading existing files. Re-run with `agnostic-ai sync` and inspect. 5. Never edit emitted files by hand to silence the check. The next sync rewrites them. ## CI `sync --check` is the gate. A drift exits 1 and fails the workflow. The fix is always to re-sync locally and commit, never to edit the emitted file.