generated from coulomb/repo-seed
Rename hourly activity definitions to daily stabilize phase (DEC-005)
Crons were already daily; align file names, ids (coulomb-daily-*), rule labels, and cross-references. Old hourly definitions disabled on activity-core sync. Kept hourly-ci-health-escalation as bootstrap-only (disabled).
This commit is contained in:
42
activity-definitions/daily-metrics-health-sweep.md
Normal file
42
activity-definitions/daily-metrics-health-sweep.md
Normal file
@@ -0,0 +1,42 @@
|
||||
---
|
||||
id: coulomb-daily-metrics-health-sweep
|
||||
name: Daily Metrics Health Sweep (coulomb-loop backup)
|
||||
enabled: false
|
||||
owner: coulomb-loop
|
||||
governance: coulomb_social
|
||||
status: proposed
|
||||
trigger:
|
||||
type: cron
|
||||
cron_expression: "0 6 * * *"
|
||||
timezone: Europe/Berlin
|
||||
misfire_policy: skip
|
||||
context_sources:
|
||||
- type: kaizen
|
||||
query: discover_kaizen_projects
|
||||
params:
|
||||
marker: .kaizen/metrics
|
||||
roster: /home/worsch/coulomb-loop/loops/kaizen-stack/roster.yaml
|
||||
bind_to: context.projects
|
||||
---
|
||||
|
||||
# Daily Metrics Health Sweep (backup)
|
||||
|
||||
Stabilize-phase backup per LOOP-WP-0002 T07. Primary path is event-driven
|
||||
`low-success-rate-review`; enable only if the event bus is down.
|
||||
|
||||
```rule
|
||||
id: flag-low-success-daily
|
||||
for_each: context.projects
|
||||
bind_as: p
|
||||
condition: 'context.p.summary.success_rate < 0.8 and context.p.summary.execution_count >= 5'
|
||||
action:
|
||||
task_template: "Review {context.p.agent} success rate on {context.p.repo}"
|
||||
description: |
|
||||
Agent metrics below threshold on {context.p.repo}.
|
||||
kaizen-agentic metrics show <agent>
|
||||
kaizen-agentic metrics optimize <agent>
|
||||
Load agents/agent-optimization.md for review.
|
||||
target_repo: context.p.repo
|
||||
priority: high
|
||||
labels: ["kaizen", "quality-escalation", "coulomb-loop", "backup"]
|
||||
```
|
||||
Reference in New Issue
Block a user