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

address review: force no-code posture when toggling file-issues on an app

[._.]/ Adam Eivy213869235679
diff --git a/client/src/components/apps/tabs/AutomationTab.jsx b/client/src/components/apps/tabs/AutomationTab.jsx
index 831a13ff67..5a370038dc 100644
--- a/client/src/components/apps/tabs/AutomationTab.jsx
+++ b/client/src/components/apps/tabs/AutomationTab.jsx
@@ -118,7 +118,14 @@ export default function AutomationTab({ appId, appName }) {
};
const handleMetaToggle = async (taskType, field, globalTaskMetadata) => {
- const taskMetadata = toggleAppMetadataOverride(overrides[taskType]?.taskMetadata, globalTaskMetadata, field);
+ let taskMetadata = toggleAppMetadataOverride(overrides[taskType]?.taskMetadata, globalTaskMetadata, field);
+ const globalConfig = schedule?.tasks?.[taskType] || {};
+ const nextFileIssues = field === 'fileIssues'
+ ? (taskMetadata?.fileIssues ?? globalTaskMetadata?.fileIssues ?? globalConfig.defaultFileIssues)
+ : null;
+ if (field === 'fileIssues' && nextFileIssues === true && taskMetadata) {
+ taskMetadata = { ...taskMetadata, useWorktree: false, openPR: false, simplify: false };
+ }
await api.updateAppTaskTypeOverride(appId, taskType, { taskMetadata }, { silent: true }).catch(err => {
toast.error(err.message);
return null;
diff --git a/client/src/components/apps/tabs/AutomationTab.test.jsx b/client/src/components/apps/tabs/AutomationTab.test.jsx
index db21d770be..b5f4e2de3c 100644
--- a/client/src/components/apps/tabs/AutomationTab.test.jsx
+++ b/client/src/components/apps/tabs/AutomationTab.test.jsx
@@ -37,6 +37,7 @@ const SCHEDULE = {
tasks: {
'layered-intelligence': { type: 'daily', taskMetadata: {}, providerId: 'global-claude' },
'app-improvement': { type: 'rotation', taskMetadata: {} },
+ security: { type: 'weekly', taskMetadata: { fileIssues: false }, fileIssuesCapable: true, defaultFileIssues: false },
},
};
@@ -141,4 +142,16 @@ describe('AutomationTab per-app overrides', () => {
fireEvent.click(within(row).getByRole('button', { name: /show provider and model overrides/i }));
expect(within(row).queryByRole('button', { name: /configure behavior/i })).toBeNull();
});
+
+ it('Iss toggle PATCHes fileIssues on and forces the no-code posture', async () => {
+ await renderTab();
+ const row = rowFor('security');
+ fireEvent.click(within(row).getByRole('button', { name: /File issues only/i }));
+ await waitFor(() => expect(api.updateAppTaskTypeOverride).toHaveBeenCalledWith(
+ 'app-1',
+ 'security',
+ { taskMetadata: { fileIssues: true, useWorktree: false, openPR: false, simplify: false } },
+ { silent: true }
+ ));
+ });
});