docs: fix supplier ActivityDefinition rule path syntax

Use context.* field paths and {context.*} placeholders to match
activity-core rule evaluator conventions.
This commit is contained in:
2026-06-18 08:11:14 +02:00
parent 7424893758
commit c5798f58e4
3 changed files with 13 additions and 13 deletions

View File

@@ -30,16 +30,16 @@ review is evidence-backed.
id: run-weekly-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: "Weekly optimization review: {{r.repo}}"
task_template: "Weekly optimization review: {context.r.repo}"
description: |
{{r.prepare_command}}
{context.r.prepare_command}
kaizen-agentic metrics optimize # refresh evidence
Then load agents/agent-optimization.md, paste the prepared bundle plus the
optimizer report, and act on recommendations. At session close:
kaizen-agentic metrics record optimization --success --time <s> --quality <0-1>
target_repo: "{{r.repo}}"
target_repo: context.r.repo
priority: medium
labels: ["kaizen", "agent-run", "optimization", "scheduled", "automated"]
```