Skip to content

feat(tools): add loop-sync CLI (#47)#88

Merged
cobusgreyling merged 3 commits into
mainfrom
merge/pr-47-loop-sync
Jun 29, 2026
Merged

feat(tools): add loop-sync CLI (#47)#88
cobusgreyling merged 3 commits into
mainfrom
merge/pr-47-loop-sync

Conversation

@cobusgreyling

Copy link
Copy Markdown
Owner

Rebased and reviewed community PR #47 by @hsms4710-pixel.

Adds loop-sync

Detect drift between STATE.mdLOOP.md, missing required files, and skills layout. Returns a 0–100 consistency score with actionable suggestions.

node tools/loop-sync/dist/cli.js .

Maintainer rebase fixes

  • Merged package.json with mcp-server tooling (both in test:tools / build:tools)
  • Added loop-sync to ci-validate-gates.sh
  • Fixed tests (node:test API, build-before-test, import from dist/)
  • Added @types/node; multi-tool skills scan (Grok/Claude/Codex)
  • README Quick Links entry

Verification

  • npm run test:tools
  • bash scripts/ci-validate-gates.sh

Closes #47 — thanks @hsms4710-pixel!

qiyuanjiang and others added 3 commits June 29, 2026 17:09
…sync

- Detect drift between STATE.md ↔ LOOP.md
- Check for missing required files (STATE.md, LOOP.md, AGENTS.md)
- Scan skills directory for version information
- Calculate consistency score (0-100) with health levels
- Provide actionable suggestions for fixing issues
- Support JSON and human-readable output formats
- Include comprehensive test suite

This tool helps teams maintain consistent Loop configurations
across their repositories and detect configuration drift early.

Closes #none (new feature)
- Build dist/ directory for loop-sync CLI
- Add !tools/loop-sync/dist/ to .gitignore
- Add test:loop-sync and update test:tools, build:tools scripts
- Fix TypeScript types in sync.ts (add help? and json? to SyncOptions)
- Resolve package.json conflict (loop-sync + mcp-server in test:tools)
- Wire loop-sync into ci-validate-gates.sh
- Fix sync.ts syntax + multi-tool skills scan (.grok/.claude/.codex)
- Fix tests: use dist/, node:test API, npm run build
- Add @types/node devDependency
- README Quick Links entry

Thanks @hsms4710-pixel
@github-actions

Copy link
Copy Markdown
Contributor

Loop Readiness Audit

Score: 100/100 (L3)

Strong loop readiness — good candidate for L3 with explicit gates.

Top suggestions

  • Create loop-constraints.md with denylist paths, push/merge rules, and human gates (see templates/loop-constraints.md)

Posted by audit.yml · loop-audit docs

@cobusgreyling cobusgreyling merged commit a1d9aaf into main Jun 29, 2026
2 checks passed
@cobusgreyling cobusgreyling deleted the merge/pr-47-loop-sync branch June 29, 2026 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant