Register with state-hub, accept DEC-001–004 and ADR-004 rotation policy, scaffold pilot roster, hourly ActivityDefinition copies, and bootstrap log after schedule init on three custodian pilot repos.
42 lines
No EOL
1.3 KiB
Markdown
42 lines
No EOL
1.3 KiB
Markdown
---
|
|
id: coulomb-hourly-metrics-optimize
|
|
name: Hourly Kaizen Metrics Optimization (coulomb-loop bootstrap)
|
|
enabled: false
|
|
owner: coulomb-loop
|
|
governance: coulomb_social
|
|
status: proposed
|
|
trigger:
|
|
type: cron
|
|
cron_expression: "0 * * * *"
|
|
timezone: Europe/Berlin
|
|
misfire_policy: skip
|
|
context_sources:
|
|
- type: shell
|
|
query: discover_kaizen_projects
|
|
params:
|
|
marker: .kaizen/metrics
|
|
roster: /home/worsch/coulomb-loop/loops/kaizen-stack/roster.yaml
|
|
bind_to: context.projects
|
|
---
|
|
|
|
# Hourly Kaizen Metrics Optimization (bootstrap)
|
|
|
|
Runs hourly during coulomb-loop bootstrap phase. Limited to pilot roster
|
|
(DEC-001 option A). Promote to daily when LOOP-WP-0004 regulator approves.
|
|
|
|
```rule
|
|
id: run-hourly-optimizer
|
|
for_each: context.projects
|
|
bind_as: p
|
|
condition: 'p.has_metrics == true and p.in_pilot_roster == true'
|
|
action:
|
|
task_template: "Run kaizen metrics optimize on {{p.repo}}"
|
|
description: |
|
|
cd {{p.root}} && kaizen-agentic metrics optimize
|
|
Optional: kaizen-agentic metrics publish (when artifact-store configured)
|
|
target_repo: "{{p.repo}}"
|
|
priority: medium
|
|
labels: ["kaizen", "metrics", "optimizer", "coulomb-loop", "bootstrap"]
|
|
```
|
|
|
|
**Supplier reference:** `kaizen-agentic/docs/integrations/activity-definitions/weekly-metrics-optimize.md` |