feat(definitions): propose Binky operating-rhythm definitions (disabled)

Three proposed, disabled definitions for the binky-control rhythm
(BINKY-WP-0003-T05): daily rhythm, weekly paper-mail intake, weekly
founder-review prep. All parse via definition_parser. Enabling requires
the proposed binky_rhythm_status state-hub resolver and an executor
(llm-connect assessment, BINKY-WP-0003-T06).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
tegwick 2026-07-16 11:02:29 +02:00
parent 4ceadfef0e
commit b2fa9642b6
3 changed files with 136 additions and 0 deletions

View file

@ -0,0 +1,49 @@
---
id: binky-daily-rhythm
name: Binky Daily Operating Rhythm
enabled: false
owner: custodian-agent
governance: custodian
status: proposed
trigger:
type: cron
cron_expression: "23 8 * * 1-5" # weekdays 08:23
timezone: Europe/Berlin
misfire_policy: skip
context_sources:
- type: state-hub
query: binky_rhythm_status
params:
repo: binky-control
bind_to: context.rhythm
# Proposed resolver (not yet implemented): returns
# {items: [{kind: "daily_brief", due: bool, date: "YYYY-MM-DD"}]} — due is
# true when no brief exists for today in binky-control/briefs/. Implementing
# it is part of the BINKY-WP-0003-T06 follow-up workplan proposal.
---
# Binky Daily Operating Rhythm
Runs weekdays at 08:23 Berlin time. Emits one task per due rhythm item for
the binky-control repo: queue hygiene plus the daily brief, per
`binky-control/OperatingRhythm.md` (Decide now / Progress / Risks / Best
next hour, one-screen cap). Replaces the workstation cron bridge
(`binky-control/scripts/rhythm-session.sh`) once enabled — remove the
crontab line at that point.
```rule
id: emit-daily-rhythm-task
for_each: context.rhythm.items
bind_as: item
condition: 'context.item.due'
action:
task_template: Run Binky daily rhythm ({context.item.kind}) for {context.item.date}
description: Queue hygiene + daily brief per binky-control/OperatingRhythm.md. Green/Blue lane only.
target_repo: binky-control
priority: medium
labels: ["binky", "rhythm", "automated"]
```
Execution target: emitted tasks land in the issue-core REST sink; actual
execution requires an executor (llm-connect assessment,
BINKY-WP-0003-T06) — until then the workstation bridge covers this slot.

View file

@ -0,0 +1,44 @@
---
id: binky-weekly-mail-intake
name: Binky Weekly Paper-Mail Intake Check
enabled: false
owner: custodian-agent
governance: custodian
status: proposed
trigger:
type: cron
cron_expression: "37 9 * * 1" # Monday 09:37
timezone: Europe/Berlin
misfire_policy: skip
context_sources:
- type: state-hub
query: binky_rhythm_status
params:
repo: binky-control
kind: mail_intake
bind_to: context.rhythm
# Same proposed binky_rhythm_status resolver as binky-daily-rhythm; for
# kind=mail_intake, due is true when the founder's weekly scan drop
# (AWQ-008 pipeline, binky-control) has unprocessed items or no intake
# ran in the last 7 days.
---
# Binky Weekly Paper-Mail Intake Check
Runs Mondays at 09:37 Berlin time. Checks whether newly scanned paper mail
for Binky Hedgehog GmbH awaits triage (AWQ-008: drop location → naming →
obligation/deadline/receipt triage → DUO Belegablage routing) and emits one
intake task when due.
```rule
id: emit-mail-intake-task
for_each: context.rhythm.items
bind_as: item
condition: 'context.item.due'
action:
task_template: Triage Binky paper-mail scans (week of {context.item.date})
description: Run the AWQ-008 intake pipeline in binky-control; route obligations to queues, receipts toward DUO Belegablage.
target_repo: binky-control
priority: medium
labels: ["binky", "mail-intake", "automated"]
```

View file

@ -0,0 +1,43 @@
---
id: binky-weekly-review-prep
name: Binky Weekly Founder Review Prep
enabled: false
owner: custodian-agent
governance: custodian
status: proposed
trigger:
type: cron
cron_expression: "43 16 * * 5" # Friday 16:43
timezone: Europe/Berlin
misfire_policy: skip
context_sources:
- type: state-hub
query: binky_rhythm_status
params:
repo: binky-control
kind: weekly_review
bind_to: context.rhythm
# Same proposed binky_rhythm_status resolver; for kind=weekly_review, due is
# true every Friday, and the item carries milestone_moved (bool) derived from
# the week's progress events so the emitted task can flag RISK-005.
---
# Binky Weekly Founder Review Prep
Runs Fridays at 16:43 Berlin time. Prepares the ~15-minute founder review
(binky-control/OperatingRhythm.md): freshest daily brief plus
SuccessMilestones delta. If two consecutive weeks show activity without
milestone movement, the task flags RISK-005 escalation.
```rule
id: emit-review-prep-task
for_each: context.rhythm.items
bind_as: item
condition: 'context.item.due'
action:
task_template: Prepare Binky weekly founder review ({context.item.date})
description: Summarize newest brief + milestone delta; flag RISK-005 if two milestone-free weeks.
target_repo: binky-control
priority: medium
labels: ["binky", "weekly-review", "automated"]
```