Repository navigation
feat(loop): config values for the event-driven loop (3/4) - #68
Merged
Merged
Conversation
Ardnived
force-pushed
the
claude/loop-config
branch
2 times, most recently
from
September 8, 2026 17:28
01e15c1 to
1087dc3
Compare
Ardnived
force-pushed
the
claude/loop-handlers
branch
from
September 8, 2026 18:29
b8fc233 to
da84dd3
Compare
…old ones Values only, per the rule that nothing but values lives here. Every key the polling loop reads is unchanged, so the hourly and nightly routines keep working; the three `$comment` lines that named rungs now name the handlers. No skill changes in this PR. Added: `handlers` (model, skill and routine id per handler; implement has one routine per repo; ids are null until the routines exist), `dispatch` (verbs, per-handler timeouts, maxAttempts, retry windows, secret and variable name prefixes), `ci` (noCi for repos with workflows but no CI, ignoreCheckNames for the dispatcher's own check runs), `labels.lock/stuck/blocked/proposal`, `review.skipWhen`, `relationships.recheckMarker`, `projects.status`, `ceilings.maxChildrenPerSplit`, `writing.budgets.journalEntry`. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Created through the routine API with no schedule and no connectors, one per handler, `implement` once per repo, all disabled until their API tokens exist. The ids are not secret; they also live in the org's ROUTINE_ID_* variables, and the dispatcher reads the variable first and this file as the fallback. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
The dispatcher fires the repo's routine and the record's handler field selects the skill, so handlers carry only skill and (documentary) model, and the five routine ids live under dispatch.routines. The five are the former implement-* routines, repurposed on 2026-09-08. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Ardnived
force-pushed
the
claude/loop-config
branch
from
September 8, 2026 18:35
1087dc3 to
237d3a9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Third of four, stacked on #67. Values only, per this repo's rule — the one "ceiling" PR in the set, kept apart from the skill PRs so a change in the next run's output can be attributed.
Every key the running loop reads is unchanged (
ceilings.*,labels.awaiting/journal,issueFields,stateMachine,writing.budgets.journalComment, …). Three$commentlines that named rungs now name handlers.Added
handlers— skill (and documentary model) per handler; the record'shandlerfield selects itpayload.mjs,handler-preflightdispatch.routines— one routine id per repo (loop-<repo>, created 2026-09-08, disabled);ROUTINE_ID_<REPO>org variables overridedispatch— verbs,timeoutsMinutes,maxAttempts3,orphanDraftHours,fireRetry,enabledHandlers(null = all), secret/variable prefixesci.noCi["claude-workflow"],ci.ignoreCheckNameslabels.lockbot:working,stuck,blocked,proposalreview.skipWhen{maxFiles: 2, maxLines: 40}relationships.recheckMarkerRe-check:projects.status— Proposed / Revising / Approved / Doneceilings.maxChildrenPerSplit5split-ticketwriting.budgets.journalEntry1500handler-journalviabudget.mjsVerification
payload.mjsnow accepts a well-formed record andbudget.mjs --kind journalEntryreads 1500 from config.proposal,bot:working,stuck,blockedalready exist in all five repos (created 2026-09-08).2026-09-08 revision. Five routines, one per repo, keyed under
dispatch.routines;handlers.*.routineanddispatch.perRepoHandlersare gone. Every handler runs on the repo's routine (Opus, full tool grant);answernot pushing is a skill rule.2026-09-08, later.
dispatch.tokenSecretisSYDEVS_BOT_PAT(renamed fromADD_TO_PROJECT_PAT).ceilings.wipCapPerRepostays only for the legacy work-routine and is deleted in the config-only cleanup PR.