Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: keep dependency updates actionable when do-release skips in-flight work

[._.]/ Adam Eivy028ad6ebd7dc
diff --git a/server/services/cosTaskPreStepBlocks.js b/server/services/cosTaskPreStepBlocks.js
index 2dabb828a6..bb9ffa8335 100644
--- a/server/services/cosTaskPreStepBlocks.js
+++ b/server/services/cosTaskPreStepBlocks.js
@@ -179,7 +179,7 @@ export function resolveIssueExcludeLabelsBlock(extraLabels = []) {
// OFF forbids. Keyed by the same list the sanitizer allowlists, so an option
// cannot be settable yet silently absent from the prompt.
const RELEASE_OPTION_LINES = {
- finishInFlight: ['Finish in-flight work', 'Step 1 runs: finish open PRs and lingering branches no live agent owns before releasing.', 'Step 1 is skipped: do not merge, close, or rebase other open PRs or branches.'],
+ finishInFlight: ['Finish in-flight work', 'Step 1 runs: finish open PRs and lingering branches no live agent owns before releasing.', 'Step 1 is skipped: do not merge, close, or rebase other open PRs or branches (dependency-bot PRs follow the Merge dependency updates option).'],
mergeDependencyUpdates: ['Merge dependency updates', 'Step 2 runs: merge open dependency-bot PRs, fixing any that break the build.', 'Step 2 is skipped: leave dependency-bot PRs untouched.'],
resolveBlockers: ['Resolve blockers', 'Step 4 runs: fix failing tests, red CI, and blocking bugs yourself or through a sub-agent.', 'Step 4 is skipped: report each blocker with its evidence and stop without fixing it.'],
autoDecide: ['Make decisions', 'Make routine design and preference decisions yourself and list them for operator review.', 'Stop at the first design or preference decision and report the question.'],
diff --git a/server/services/cosTaskPreStepBlocks.test.js b/server/services/cosTaskPreStepBlocks.test.js
index db8f100c44..d5fcfdf56f 100644
--- a/server/services/cosTaskPreStepBlocks.test.js
+++ b/server/services/cosTaskPreStepBlocks.test.js
@@ -392,6 +392,13 @@ describe('applyReleaseOptions — the do-release {releaseOptions} block', () =>
expect(out.startsWith('Options:')).toBe(true);
});
+ it('keeps dependency updates actionable when in-flight work is off', () => {
+ const out = applyReleaseOptions('{releaseOptions}', 'do-release', { finishInFlight: false });
+ expect(out).toContain('**Finish in-flight work: OFF**');
+ expect(out).toContain('dependency-bot PRs follow the Merge dependency updates option');
+ expect(out).toContain('**Merge dependency updates: ON**');
+ });
+
it('prepends the block to a customized prompt that dropped the token', () => {
const out = applyReleaseOptions('my custom release prompt', 'do-release', { resolveBlockers: false });
expect(out.startsWith('## Release options for this run')).toBe(true);