Files
kaizen-agentic/docs/integrations/activity-definitions/weekly-coach-orientation.md
tegwick c5798f58e4 docs: fix supplier ActivityDefinition rule path syntax
Use context.* field paths and {context.*} placeholders to match
activity-core rule evaluator conventions.
2026-06-18 08:11:14 +02:00

1.8 KiB

id, name, enabled, owner, governance, status, trigger, context_sources
id name enabled owner governance status trigger context_sources
kaizen-weekly-coach-orientation Weekly Kaizen Coach Orientation false kaizen-agentic custodian proposed
type cron_expression timezone misfire_policy
cron 0 9 * * 1 Europe/Berlin skip
type query params bind_to
resolver discover_kaizen_scheduled_repos
domain cadence
custodian weekly
context.scheduled_runs

Weekly Kaizen Coach Orientation

Every Monday 09:00 Berlin time, opens a coach orientation task for each schedule-eligible repo whose .kaizen/schedule.yml enables the coach agent.

The resolver discover_kaizen_scheduled_repos (see discover-kaizen-scheduled-repos.md) returns one scheduled_run per (repo, agent); this definition selects the coach runs.

id: run-weekly-coach
for_each: context.scheduled_runs
bind_as: r
condition: 'context.r.agent == "coach" and context.r.enabled'
action:
  task_template: "Weekly coach orientation: {context.r.repo}"
  description: |
    {context.r.prepare_command}
    Then load agents/agent-coach.md in a coding-agent session, paste the
    prepared bundle, and follow the coach synthesis. At session close:
    kaizen-agentic metrics record coach --success --time <s> --quality <0-1>
  target_repo: context.r.repo
  priority: medium
  labels: ["kaizen", "agent-run", "coach", "scheduled", "automated"]

CLI mapping: kaizen-agentic schedule prepare coach (offline-safe; reads local .kaizen/ state).

Activation: sync into activity-core via make sync-activity-definitions after the discover_kaizen_scheduled_repos resolver is enabled. Keep enabled: false until a manual smoke test passes on a pilot repo. See INTEGRATION_PATTERNS.md Pattern 2.