You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
standing: support temporary and conditional instructions (until / until-condition) #73
Many human instructions to a coordinator are temporary or conditional, not permanent. Examples from one day of a v2 coordinator run:
"Until the load test ends, the PR limit is higher" (a time-boxed exception).
"We don't touch PR #1336 while the v2 plan executes" (holds until a condition is met).
"Hold merges until the Dev measurement ends at about 12:37 UTC" (a short window).
Today a standing entry has only given, scope and supersedes. A temporary instruction can only be written as prose, and it ends only when someone remembers to add a superseding entry. In practice the coordinator either forgets it ends, so it keeps applying a lapsed rule, or never records it because it feels too short-lived.
Proposal
Two optional frontmatter keys:
until:: an ISO UTC time after which the entry no longer applies.
until-condition:: a sentence naming a checkable condition, such as "the v2 ledger shows AV-08 EXIT booked" or "PR #1879 merged".
ytstack-standing list (and the coordinate preamble) prints active entries only. A separate "expired / condition met?" section lists entries whose until has passed or whose condition the coordinator should check now.
When the condition is met, the coordinator closes the entry by adding a short superseding entry ("ended: condition X met at "). That keeps the record append-only.
Where a condition is machine-checkable (PR merged, ledger row booked), allow an optional until-check: command that returns 0 once the entry has ended, so the preamble can mark it ended without judgement.
Related: #72 (standing instructions not recorded under load).
Activity
fix: standing-prompt flags temporary holds with until/bis/solange/whi…
feat: coordinate mode: standing instructions and enforced operating p…