WP-0004: ecosystem integration complete

Add Helix Forge correlation (HELIX_SESSION_UID env, metrics correlate),
artifact-store publish (metrics publish), activity-core ActivityDefinition
references, integration patterns docs, and canon/knowledge design artifacts.
This commit is contained in:
2026-06-16 01:53:01 +02:00
parent 4a9c2d9bea
commit b48a2102d7
22 changed files with 1451 additions and 408 deletions

View File

@@ -4,17 +4,17 @@ type: workplan
title: "Ecosystem Integration: Helix Forge, activity-core, and artifact-store"
domain: custodian
repo: kaizen-agentic
status: active
status: completed
owner: kaizen-agentic
topic_slug: custodian
state_hub_workstream_id: 76be7294-e201-4074-91c0-6421992470fe
created: "2026-06-16"
updated: "2026-06-17"
updated: "2026-06-18"
---
# KAIZEN-WP-0004 — Ecosystem Integration: Helix Forge, activity-core, and artifact-store
**Status:** active
**Status:** completed
**Owner:** kaizen-agentic
**Repo:** kaizen-agentic
**Depends on:** KAIZEN-WP-0003 Part 3 (metrics CLI + `metrics optimize` operational)
@@ -40,11 +40,11 @@ session ingestion.
### Tasks
- [ ] T01 — Document correlation contract in `agentic-resources` (cross-repo PR or shared doc link from both repos)
- [ ] T02 — Add optional `helix_session_uid` population to `metrics record` when env `HELIX_SESSION_UID` is set
- [ ] T03 — Add `kaizen-agentic metrics correlate` — lookup Helix digest summary by UID (read-only adapter stub if Helix API not ready)
- [ ] T04 — Integration test: synthetic project record with `helix_session_uid` round-trips through show/brief
- [ ] T05 — Update `wiki/EcosystemIntegration.md` with worked correlation example
- [x] T01 — Document correlation contract in `agentic-resources` (cross-repo PR or shared doc link from both repos)
- [x] T02 — Add optional `helix_session_uid` population to `metrics record` when env `HELIX_SESSION_UID` is set
- [x] T03 — Add `kaizen-agentic metrics correlate` — lookup Helix digest summary by UID (read-only adapter stub if Helix API not ready)
- [x] T04 — Integration test: synthetic project record with `helix_session_uid` round-trips through show/brief
- [x] T05 — Update `wiki/EcosystemIntegration.md` with worked correlation example
### Definition of done
@@ -60,11 +60,11 @@ Define ActivityDefinitions for recurring kaizen operations.
### Tasks
- [ ] T06 — Draft ActivityDefinition: weekly `metrics optimize` on repos with `.kaizen/metrics/`
- [ ] T07 — Draft ActivityDefinition: post-install metrics scaffold validation (`memory init` check)
- [ ] T08 — Draft ActivityDefinition: success_rate below 0.8 → issue-core review task
- [ ] T09 — Document ActivityDefinition paths and activation contract in `docs/INTEGRATION_PATTERNS.md`
- [ ] T10 — Smoke test: manual activation against a test repo with populated metrics
- [x] T06 — Draft ActivityDefinition: weekly `metrics optimize` on repos with `.kaizen/metrics/`
- [x] T07 — Draft ActivityDefinition: post-install metrics scaffold validation (`memory init` check)
- [x] T08 — Draft ActivityDefinition: success_rate below 0.8 → issue-core review task
- [x] T09 — Document ActivityDefinition paths and activation contract in `docs/INTEGRATION_PATTERNS.md`
- [x] T10 — Smoke test: manual activation against a test repo with populated metrics
### Definition of done
@@ -80,11 +80,11 @@ Persist optimizer outputs as registered artifact packages.
### Tasks
- [ ] T11 — Define artifact package manifest for optimizer run (`analysis.json` + `recommendations.jsonl`)
- [ ] T12 — Add `kaizen-agentic metrics publish` — register optimizer output with artifact-store API (configurable endpoint)
- [ ] T13 — Map retention class `raw-evidence` (180d) in publish manifest metadata
- [ ] T14 — Integration test with artifact-store local backend (skip if service unavailable; mark `@pytest.mark.integration`)
- [ ] T15 — Document publish workflow in `docs/agency-framework.md` metrics section
- [x] T11 — Define artifact package manifest for optimizer run (`analysis.json` + `recommendations.jsonl`)
- [x] T12 — Add `kaizen-agentic metrics publish` — register optimizer output with artifact-store API (configurable endpoint)
- [x] T13 — Map retention class `raw-evidence` (180d) in publish manifest metadata
- [x] T14 — Integration test with artifact-store local backend (skip if service unavailable; mark `@pytest.mark.integration`)
- [x] T15 — Document publish workflow in `docs/agency-framework.md` metrics section
### Definition of done
@@ -100,10 +100,10 @@ Secondary integrations for template conformance and knowledge asset lifecycle.
### Tasks
- [ ] T16 — Map `wiki/KaizenAgentTemplate.md` sections to info-tech-canon profile outline (design doc only)
- [ ] T17 — Draft one InfoTechCanon-style agent brief for `tdd-workflow` pilot
- [ ] T18 — Spike: kontextual-engine ingestion manifest for `wiki/` directory (design note, no runtime dependency)
- [ ] T19 — Update `history/2026-06-16-ecosystem-assessment.md` with Part 4 outcomes
- [x] T16 — Map `wiki/KaizenAgentTemplate.md` sections to info-tech-canon profile outline (design doc only)
- [x] T17 — Draft one InfoTechCanon-style agent brief for `tdd-workflow` pilot
- [x] T18 — Spike: kontextual-engine ingestion manifest for `wiki/` directory (design note, no runtime dependency)
- [x] T19 — Update `history/2026-06-16-ecosystem-assessment.md` with Part 4 outcomes
### Definition of done