generated from coulomb/repo-seed
bootstrap: fix rule syntax, enable metrics+coach definitions
Align coulomb ActivityDefinition rules with activity-core path syntax
(context.p.* / {context.p.*}). Enable hourly-metrics-optimize and
hourly-coach-orientation; record first E2E cycle in bootstrap-log.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---
|
||||
id: coulomb-hourly-coach-orientation
|
||||
name: Hourly Kaizen Coach Orientation (coulomb-loop bootstrap)
|
||||
enabled: false
|
||||
enabled: true
|
||||
owner: coulomb-loop
|
||||
governance: coulomb_social
|
||||
status: proposed
|
||||
@@ -25,14 +25,14 @@ context_sources:
|
||||
id: run-hourly-coach
|
||||
for_each: context.scheduled_runs
|
||||
bind_as: r
|
||||
condition: 'r.agent == "coach" and r.enabled == true'
|
||||
condition: 'context.r.agent == "coach" and context.r.enabled'
|
||||
action:
|
||||
task_template: "Hourly coach orientation: {{r.repo}}"
|
||||
task_template: "Hourly coach orientation: {context.r.repo}"
|
||||
description: |
|
||||
{{r.prepare_command}}
|
||||
{context.r.prepare_command}
|
||||
Load agents/agent-coach.md, execute coach synthesis.
|
||||
Session close: kaizen-agentic metrics record coach --success --time <s> --quality <0-1>
|
||||
target_repo: "{{r.repo}}"
|
||||
target_repo: context.r.repo
|
||||
priority: medium
|
||||
labels: ["kaizen", "agent-run", "coach", "coulomb-loop", "bootstrap"]
|
||||
```
|
||||
@@ -27,15 +27,15 @@ Bootstrap fallback per DEC-002 option A until `kaizen.metrics.recorded` events s
|
||||
id: flag-low-success-hourly
|
||||
for_each: context.projects
|
||||
bind_as: p
|
||||
condition: 'p.summary.success_rate < 0.8 and p.summary.execution_count >= 5'
|
||||
condition: 'context.p.summary.success_rate < 0.8 and context.p.summary.execution_count >= 5'
|
||||
action:
|
||||
task_template: "Review {{p.agent}} success rate on {{p.repo}}"
|
||||
task_template: "Review {context.p.agent} success rate on {context.p.repo}"
|
||||
description: |
|
||||
Agent metrics below threshold on {{p.repo}}.
|
||||
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: "{{p.repo}}"
|
||||
target_repo: context.p.repo
|
||||
priority: high
|
||||
labels: ["kaizen", "quality-escalation", "coulomb-loop", "bootstrap"]
|
||||
```
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
id: coulomb-hourly-metrics-optimize
|
||||
name: Hourly Kaizen Metrics Optimization (coulomb-loop bootstrap)
|
||||
enabled: false
|
||||
enabled: true
|
||||
owner: coulomb-loop
|
||||
governance: coulomb_social
|
||||
status: proposed
|
||||
@@ -28,13 +28,13 @@ Runs hourly during coulomb-loop bootstrap phase. Limited to pilot roster
|
||||
id: run-hourly-optimizer
|
||||
for_each: context.projects
|
||||
bind_as: p
|
||||
condition: 'p.has_metrics == true and p.in_pilot_roster == true'
|
||||
condition: 'context.p.has_metrics and context.p.in_pilot_roster'
|
||||
action:
|
||||
task_template: "Run kaizen metrics optimize on {{p.repo}}"
|
||||
task_template: "Run kaizen metrics optimize on {context.p.repo}"
|
||||
description: |
|
||||
cd {{p.root}} && kaizen-agentic metrics optimize
|
||||
cd {context.p.root} && kaizen-agentic metrics optimize
|
||||
Optional: kaizen-agentic metrics publish (when artifact-store configured)
|
||||
target_repo: "{{p.repo}}"
|
||||
target_repo: context.p.repo
|
||||
priority: medium
|
||||
labels: ["kaizen", "metrics", "optimizer", "coulomb-loop", "bootstrap"]
|
||||
```
|
||||
|
||||
@@ -25,16 +25,16 @@ context_sources:
|
||||
id: run-hourly-optimization
|
||||
for_each: context.scheduled_runs
|
||||
bind_as: r
|
||||
condition: 'r.agent == "optimization" and r.enabled == true'
|
||||
condition: 'context.r.agent == "optimization" and context.r.enabled'
|
||||
action:
|
||||
task_template: "Hourly optimization review: {{r.repo}}"
|
||||
task_template: "Hourly optimization review: {context.r.repo}"
|
||||
description: |
|
||||
{{r.prepare_command}}
|
||||
{context.r.prepare_command}
|
||||
kaizen-agentic metrics optimize
|
||||
Load agents/agent-optimization.md; act on recommendations.
|
||||
Session close: kaizen-agentic metrics record optimization --success --time <s> --quality <0-1>
|
||||
If saturation signals fire (ADR-004), file regulator rotation recommendation.
|
||||
target_repo: "{{r.repo}}"
|
||||
target_repo: context.r.repo
|
||||
priority: medium
|
||||
labels: ["kaizen", "agent-run", "optimization", "coulomb-loop", "bootstrap"]
|
||||
```
|
||||
Reference in New Issue
Block a user