diff --git a/src/app/settings-pages.tsx b/src/app/settings-pages.tsx index b1ee2a2..8e26afc 100644 --- a/src/app/settings-pages.tsx +++ b/src/app/settings-pages.tsx @@ -13,7 +13,6 @@ import { TableHeader, TableRow, } from "@/components/ui/table"; -import { Separator } from "@/components/ui/separator"; import { WorkflowConfigDocument, SaveAgentProfileDocument, WorkflowConfigQuery } from "@/lib/graphql/generated/graphql"; import { PageLoading, PageError, SectionHeading } from "./shared"; @@ -312,78 +311,21 @@ export function AgentProfilesPage() { ); } -const DAEMON_SETTINGS = [ - { - key: "auto_merge_enabled", - label: "Auto Merge", - description: "Automatically merge completed workflow branches into the base branch", - }, - { - key: "auto_pr_enabled", - label: "Auto PR", - description: "Automatically create pull requests for completed workflow branches", - }, - { - key: "auto_commit_before_merge", - label: "Auto Commit Before Merge", - description: "Commit any uncommitted changes before merging workflow branches", - }, - { - key: "auto_prune_worktrees_after_merge", - label: "Auto Prune Worktrees", - description: "Remove git worktrees after their branches have been merged", - }, -] as const; - -function ToggleRow({ label, description, checked }: { label: string; description: string; checked: boolean }) { - return ( -
{label}
-{description}
-Configure daemon automation behavior
+Daemon automation behavior
- Read-only view. Configure via ao daemon config --auto-merge true/false
+ Merge and PR policy is configured per workflow via{" "}
+ post_success.merge in workflow
+ YAML, not as daemon-level settings.