feat: WP-0005 adoption polish — doc sync, fleet parity, CI lint
Some checks failed
ci / test (3.10) (push) Has been cancelled
ci / test (3.12) (push) Has been cancelled

- Add make agents-sync-package and release-check parity gate
- Add tests/test_packaged_agents_parity.py; sync packaged agents with agents/
- Update install docs (HELLO_WORLD, CLI_CHEAT_SHEET, AGENT_DISTRIBUTION)
- Expand PACKAGE_RELEASE.md secrets setup and pre-tag checklist
- Add flake8 to Gitea CI; CHANGELOG Unreleased for v1.2.0
- Expand INTEGRATION_PATTERNS activity-core handoff checklist
This commit is contained in:
2026-06-16 02:26:13 +02:00
parent 4a7f5b2b7d
commit c004c3d4d7
44 changed files with 363 additions and 137 deletions

View File

@@ -39,12 +39,26 @@ invoke kaizen-agentic CLI commands.
| [post-install-metrics-scaffold](integrations/activity-definitions/post-install-metrics-scaffold.md) | `kaizen.agent.installed` | `memory init` validation |
| [low-success-rate-review](integrations/activity-definitions/low-success-rate-review.md) | `kaizen.metrics.recorded` | `metrics show` + `optimize` |
**Activation:**
**Activation handoff (activity-core owners):**
1. Copy or symlink definitions from `docs/integrations/activity-definitions/` into
activity-core's `activity-definitions/` tree (or register as external ConfigMap).
2. Run `make sync-activity-definitions` in activity-core.
3. Enable definitions (`enabled: true`) after resolver wiring is verified.
1. **Copy definitions** from kaizen-agentic:
`docs/integrations/activity-definitions/*.md` → activity-core
`activity-definitions/kaizen-agentic/` (or org-equivalent path per ACT-ADR-002).
2. **Register in activity-core index** — ensure each definition slug appears in the
activity-core catalog consumed by the resolver.
3. **Run sync** in activity-core: `make sync-activity-definitions` (or repo-equivalent).
4. **Wire triggers** — map cron / NATS subjects (`kaizen.agent.installed`,
`kaizen.metrics.recorded`) to the documented CLI invocations.
5. **Enable gradually** — set `enabled: true` per definition after a manual smoke test
against a repo with `.kaizen/metrics/` populated.
6. **Verify credentials** — scheduled runs need `kaizen-agentic` on PATH and any
Gitea PyPI extra index if the runner installs from registry (see PACKAGE_RELEASE.md).
**kaizen-agentic maintainer checklist:**
- [ ] Three definition files committed under `docs/integrations/activity-definitions/`
- [ ] activity-core PR or issue opened to register definitions
- [ ] Smoke test commands documented below pass on a pilot repo
**Smoke test (manual):**
@@ -102,4 +116,4 @@ No runtime dependency in WP-0004.
| `HELIX_TOKENS`, `HELIX_INFRA_OVERHEAD_SHARE` | `metrics record` | Fleet cost fields |
| `HELIX_STORE_DB` | `metrics correlate` | Digest lookup database |
| `ARTIFACTSTORE_API_URL` | `metrics publish` | Registry endpoint |
| `ARTIFACTSTORE_API_TOKEN` | `metrics publish` | Write auth bearer token |
| `ARTIFACTSTORE_API_TOKEN` | `metrics publish` | Write auth bearer token |