chore: add local consistency sync cli

This commit is contained in:
2026-07-02 00:15:16 +02:00
parent 1f61008837
commit a361ce8731
15 changed files with 422 additions and 33 deletions

View File

@@ -132,8 +132,8 @@ def run_register(args: argparse.Namespace) -> None:
print(f" Repo ID: {repo.get('id', '(existing)') if isinstance(repo, dict) else '(unknown)'}")
print()
print("Next:")
print(f" cd {STATE_HUB_DIR}")
print(f" make fix-consistency REPO={repo_slug}")
print(f" statehub fix-consistency --repo {repo_slug}")
print(" # or from the repo checkout: statehub fix-consistency")
def collect_repo_snapshot(project_path: Path) -> RepoSnapshot:
@@ -584,10 +584,11 @@ priority: medium
```
Create the first implementation workplan for the repository's most important
next change. After workplan file updates, run from `~/state-hub`:
next change. After workplan file updates, run the sync locally from this repo
checkout:
```bash
make fix-consistency REPO={repo_slug}
statehub fix-consistency
```
"""
)