From bdf755d33aa6a207a538c85f18e38cc03f14e529 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 28 May 2026 09:13:51 -0500 Subject: feat(status): add `make status` for compact health summary MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit scripts/status.sh prints a six-line summary composing existing checks: - audit + doctor (one call, since audit.sh runs doctor internally) - canonical/mirror sync state via sync-check.sh - open todo count under * Open Work - inbox count (excluding .gitkeep and PROCESSED- prefixes) - git working-tree state with ahead/behind upstream Sample output: rulesets status — 2026-05-28 09:13 CDT audit Summary: 41 ok, 0 warnings, 2 failures sync canonical = mirror todo 22 open inbox 1 unprocessed git main dirty — in sync with origin/main The script adds no new logic beyond formatting. `make status` is the entry point. The scope here is limited per the triage disposition for codex item #12. The rest of #12 was rejected. `make sync` duplicates the existing sync flow, `make health` wraps existing checks without adding signal, `make bootstrap-project` duplicates `install-ai` + `install-lang`. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3838597..2b2cb2d 100644 --- a/Makefile +++ b/Makefile @@ -434,6 +434,9 @@ audit: ## Verify project .ai/ dirs against canonical ([APPLY=1] [FORCE=1] [NO_DO sync-check: ## Verify claude-templates/.ai/ canonical matches .ai/ mirror ([FIX=1]) @bash scripts/sync-check.sh $(if $(FIX),--fix) +status: ## Compact health summary (audit + doctor + sync + todo + inbox + git) + @bash scripts/status.sh + install-githooks: ## Point this repo's core.hooksPath at githooks/ (idempotent — enables pre-commit sync-check) @git config core.hooksPath githooks @echo "core.hooksPath=githooks (pre-commit will run scripts/sync-check.sh)" -- cgit v1.2.3