feat(activity): repo-scoped automation review CLI (WP-0028)
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 2s
Build and Publish Container Image / build-and-push (push) Successful in 20s

Ship the activity console script for consumer-repo morning review: list,
status, runs, deliverables, inbox, checkpoint, and ack. Offline-first with
git + local defs; enriches from ops API and State Hub. Multi-source trust
matrix never reports did-not-run when git has the artefact. Adds
target_repo filter on GET /ops/automations.
This commit is contained in:
tegwick 2026-08-06 13:05:46 +02:00
parent 0a7fcfa4a0
commit 01ba1865ce
17 changed files with 1836 additions and 1 deletions

View file

@ -287,6 +287,32 @@ Compact human output looks like:
- Daily State Hub WSJF Triage [enabled cron] schedule=activity-schedule-... trigger=20 7 * * * tz=Europe/Berlin source=files temporal=not_checked
```
## Repo-scoped review CLI (`activity`)
From a **consumer repo** (e.g. Freedom Intelligence), use the `activity` CLI for
morning review without AI tooling. Canon: `docs/repo-automation-review-cli.md`
(ACTIVITY-WP-0028).
```bash
# Install once (from activity-core checkout)
uv tool install -e .
# or: uv run activity …
cd ~/freedom-intelligence
activity status
activity inbox
activity runs --since today # needs ACTIVITY_CORE_URL for live ops API
activity ack briefs/2026/08/2026-08-06.md
```
| Env | Purpose |
| --- | ------- |
| `ACTIVITY_CORE_URL` | Ops API (e.g. `https://activity.coulomb.social` or ClusterIP) |
| `STATE_HUB_URL` | Hub progress for completion events |
| `ACTIVITY_REVIEW_STATE_DIR` | Override local checkpoint dir |
Org-wide tools (`make automation-status`, prod SSH helper) remain for fleet view.
## Automation status
Use the repo-native status command to answer operator questions such as "how did