feat(workflows): set heartbeat cadence explicitly on every builtin workflow - #2383
Merged
Conversation
This was referenced Aug 14, 2026
flora131
force-pushed
the
feat/workflow-heartbeat-cleanup
branch
from
August 14, 2026 16:59
8793da7 to
40efe64
Compare
…rkflow open-claude-design sets 0 and runs quiet. It is driven by the user reviewing generated HTML turn by turn, so the parent chat is already the thing holding it to its goal; a periodic alignment steer would interrupt that review rather than inform it. The eight autonomous builtins — adversarial-verification, classify-and-act, fan-out-and-synthesize, generate-and-filter, goal, loop-until-done, ralph, and tournament — declare the 15-minute default explicitly. They were already resolving to it by omission, so their behaviour is unchanged; stating it keeps the per-workflow decision visible and stops a future change to the global default from silently re-cadencing a long autonomous run. A test pins all nine, so neither the disable nor the default can drift unnoticed. Assistant-model: Claude Opus 5
flora131
force-pushed
the
feat/workflow-heartbeat-builtins
branch
from
August 14, 2026 17:00
e138c3b to
b7501fe
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.
Stack for #1975
Merge bottom to top; each PR is based on the one below it.
Now that a positive cadence actually delivers, each bundled builtin should say what it wants rather than inherit it.
open-claude-design→0, runs quietIt is driven by the user reviewing generated HTML turn by turn, so the parent chat is already the thing holding it to its goal. A periodic alignment steer would interrupt that review rather than inform it.
The eight autonomous builtins →
15, stated explicitlyadversarial-verification,classify-and-act,fan-out-and-synthesize,generate-and-filter,goal,loop-until-done,ralph,tournament.These were already resolving to
15by omission, so their behaviour does not change. Stating it keeps the per-workflow decision visible in the definition and stops a future change to the global default from silently re-cadencing a long autonomous run — which is exactly the class of run where an unnoticed cadence change matters most.Only
open-claude-designchanges behaviour.Verification
npm run checkgreennpm run test:unit: 644 files, 6,307 tests passtest/unit/builtin-workflow-heartbeat-cadence.test.tspins all nine: the eight at15,open-claude-designat0, and asserts every builtin carries a resolved non-negative finite cadence, so neither the disable nor the default can drift unnoticedNote for reviewers: heartbeats are top-level only — a builtin invoked as a nested
ctx.workflow(...)child never heartbeats the parent chat, so these settings apply when the builtin is launched as a top-level run.Part of #1975
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Greptile Summary
Bundled workflows now declare their heartbeat cadence explicitly: autonomous workflows retain a 15-minute cadence, while open-claude-design remains quiet during user-led design review.
Confidence Score: 5/5
No blocking failure remains.
No accepted blocking findings remain.
What T-Rex did
Reviews (2): Last reviewed commit: "feat(workflows): set heartbeat cadence e..." | Re-trigger Greptile