Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: remove trailing blank lines and fix formatting inconsistencies

Steven Enamakel792bdaf39470
diff --git a/app/src/components/intelligence/OrchestrationFocusPane.test.tsx b/app/src/components/intelligence/OrchestrationFocusPane.test.tsx
index 5302d57542..55858403ce 100644
--- a/app/src/components/intelligence/OrchestrationFocusPane.test.tsx
+++ b/app/src/components/intelligence/OrchestrationFocusPane.test.tsx
@@ -99,11 +99,7 @@ describe('OrchestrationFocusPane', () => {
});
it('shows the running label while a review is in flight', () => {
- render(
- <OrchestrationFocusPane
- {...props({ selected: chat({ kind: 'subconscious' }) })}
- />
- );
+ render(<OrchestrationFocusPane {...props({ selected: chat({ kind: 'subconscious' }) })} />);
expect(screen.getByText('tinyplaceOrchestration.steeringHeader.running')).toBeInTheDocument();
});
diff --git a/app/src/components/intelligence/TinyPlaceOrchestrationTab.test.tsx b/app/src/components/intelligence/TinyPlaceOrchestrationTab.test.tsx
index b6e8f506e5..e1d2b4dde0 100644
--- a/app/src/components/intelligence/TinyPlaceOrchestrationTab.test.tsx
+++ b/app/src/components/intelligence/TinyPlaceOrchestrationTab.test.tsx
@@ -44,7 +44,6 @@ vi.mock('../../services/socketService', () => {
vi.mock('../../lib/i18n/I18nContext', () => ({ useT: () => ({ t: (k: string) => k }) }));
-
const sessionsListMock = vi.mocked(orchestrationClient.sessionsList);
const sessionsCreateMock = vi.mocked(orchestrationClient.sessionsCreate);
const messagesListMock = vi.mocked(orchestrationClient.messagesList);
@@ -161,7 +160,6 @@ describe('TinyPlaceOrchestrationTab', () => {
});
});
-
it('renders pinned master and subconscious chats plus app sessions', async () => {
sessionsListMock.mockResolvedValue({
sessions: [
diff --git a/app/src/components/settings/panels/DeveloperOptionsPanel.tsx b/app/src/components/settings/panels/DeveloperOptionsPanel.tsx
index 2d1ec05a9e..452fe24043 100644
--- a/app/src/components/settings/panels/DeveloperOptionsPanel.tsx
+++ b/app/src/components/settings/panels/DeveloperOptionsPanel.tsx
@@ -195,11 +195,7 @@ const diagnosticsLogsGroup: DevGroup = {
};
/** All debug-only groups in display order */
-const DEV_GROUPS: DevGroup[] = [
- agentDebugGroup,
- automationDebugGroup,
- diagnosticsLogsGroup,
-];
+const DEV_GROUPS: DevGroup[] = [agentDebugGroup, automationDebugGroup, diagnosticsLogsGroup];
// ---------------------------------------------------------------------------
// Diagnostic callout sub-components
diff --git a/app/src/components/settings/panels/PrivacyPanel.tsx b/app/src/components/settings/panels/PrivacyPanel.tsx
index ea8777d462..e9a9065023 100644
--- a/app/src/components/settings/panels/PrivacyPanel.tsx
+++ b/app/src/components/settings/panels/PrivacyPanel.tsx
@@ -88,7 +88,6 @@ const PrivacyPanel = () => {
}
};
-
return (
<SettingsPanel
testId="settings-privacy-panel"
@@ -162,7 +161,6 @@ const PrivacyPanel = () => {
/>
</SettingsSection>
-
{/* Info Box */}
<div className="p-4 bg-surface-muted rounded-xl border border-line">
<div className="flex items-start space-x-3">
diff --git a/app/src/components/settings/panels/__tests__/PrivacyPanel.test.tsx b/app/src/components/settings/panels/__tests__/PrivacyPanel.test.tsx
index c5069d6900..7d43548e87 100644
--- a/app/src/components/settings/panels/__tests__/PrivacyPanel.test.tsx
+++ b/app/src/components/settings/panels/__tests__/PrivacyPanel.test.tsx
@@ -110,5 +110,4 @@ describe('PrivacyPanel', () => {
// Analytics toggle still rendered
expect(screen.getAllByRole('switch').length).toBeGreaterThanOrEqual(1);
});
-
});
diff --git a/app/src/features/conversations/components/BackgroundActivityRows.tsx b/app/src/features/conversations/components/BackgroundActivityRows.tsx
index 03529a48bf..26e35c4261 100644
--- a/app/src/features/conversations/components/BackgroundActivityRows.tsx
+++ b/app/src/features/conversations/components/BackgroundActivityRows.tsx
@@ -103,7 +103,6 @@ export function CronJobRow({ job }: { job: CoreCronJob }) {
);
}
-
/**
* Per-provider status pill, driven *only* by freshness (recency of the last
* ingested chunk). Deliberately NOT keyed off `batch_total > batch_processed`:
diff --git a/app/src/features/conversations/components/BackgroundProcessesPanel.tsx b/app/src/features/conversations/components/BackgroundProcessesPanel.tsx
index 6bd636a931..843ea7f4a6 100644
--- a/app/src/features/conversations/components/BackgroundProcessesPanel.tsx
+++ b/app/src/features/conversations/components/BackgroundProcessesPanel.tsx
@@ -9,11 +9,7 @@ import type {
ToolTimelineEntryStatus,
} from '../../../store/chatRuntimeSlice';
import { useBackgroundActivity } from '../hooks/useBackgroundActivity';
-import {
- CronJobRow,
- MemorySection,
- SectionHeader,
-} from './BackgroundActivityRows';
+import { CronJobRow, MemorySection, SectionHeader } from './BackgroundActivityRows';
/**
* A background process = a *detached* sub-agent spawned with
diff --git a/app/src/features/conversations/components/__tests__/BackgroundActivityRows.test.tsx b/app/src/features/conversations/components/__tests__/BackgroundActivityRows.test.tsx
index 0baeec8975..25c62638d3 100644
--- a/app/src/features/conversations/components/__tests__/BackgroundActivityRows.test.tsx
+++ b/app/src/features/conversations/components/__tests__/BackgroundActivityRows.test.tsx
@@ -82,7 +82,6 @@ describe('CronJobRow', () => {
});
});
-
describe('MemorySection', () => {
function provider(
partial: Partial<MemorySyncStatusRow> & { provider: string }
diff --git a/app/src/overlay/OverlayApp.tsx b/app/src/overlay/OverlayApp.tsx
index 148408a848..8cfc65eb09 100644
--- a/app/src/overlay/OverlayApp.tsx
+++ b/app/src/overlay/OverlayApp.tsx
@@ -282,7 +282,6 @@ export default function OverlayApp() {
[scheduleDismiss]
);
-
// ── Socket.IO subscription lifecycle ───────────────────────────────────
useEffect(() => {
let socket: Socket | null = null;
@@ -625,7 +624,7 @@ export default function OverlayApp() {
? t('overlay.ariaVoiceActive')
: mode === 'attention'
? t('overlay.ariaAttention')
- : t('overlay.ariaOrb')
+ : t('overlay.ariaOrb')
}
onMouseDown={handleDragStart}
onMouseMove={handleMouseMove}
diff --git a/app/src/pages/Activity.tsx b/app/src/pages/Activity.tsx
index 8104a3a1ef..88ab88b464 100644
--- a/app/src/pages/Activity.tsx
+++ b/app/src/pages/Activity.tsx
@@ -135,7 +135,6 @@ export default function Activity() {
{/* Tab content */}
{activeTab === 'automations' && <WorkflowsTab />}
-
</div>
</div>
)}
diff --git a/app/src/pages/Brain.tsx b/app/src/pages/Brain.tsx
index 9f2846ac21..a28a752b9a 100644
--- a/app/src/pages/Brain.tsx
+++ b/app/src/pages/Brain.tsx
@@ -32,13 +32,7 @@ import {
memoryTreeGraphExport,
} from '../utils/tauriCommands';
-type BrainTab =
- | 'welcome'
- | 'graph'
- | 'goals'
- | 'sources'
- | 'sync'
- | 'orchestration';
+type BrainTab = 'welcome' | 'graph' | 'goals' | 'sources' | 'sync' | 'orchestration';
/** Small inline icon helper for the Brain sidebar nav. */
const navIcon = (d: string) => (
@@ -376,7 +370,6 @@ export default function Brain() {
</div>
</div>
)}
-
</div>
</PanelPage>
)}
diff --git a/app/src/pages/Skills.tsx b/app/src/pages/Skills.tsx
index 3aa63a5d93..ed6fc3b4bb 100644
--- a/app/src/pages/Skills.tsx
+++ b/app/src/pages/Skills.tsx
@@ -1317,7 +1317,6 @@ export default function Skills() {
</div>
</div>
)}
-
</>
}
</div>
diff --git a/app/src/providers/__tests__/CoreStateProvider.test.tsx b/app/src/providers/__tests__/CoreStateProvider.test.tsx
index 93bee8aa07..6b3751857a 100644
--- a/app/src/providers/__tests__/CoreStateProvider.test.tsx
+++ b/app/src/providers/__tests__/CoreStateProvider.test.tsx
@@ -536,7 +536,6 @@ describe('CoreStateProvider — identity-change cache clearing', () => {
expect(vi.mocked(tauriCommands.logout)).not.toHaveBeenCalled();
});
-
it('dispatching core-rpc-auth-expired triggers clearSession (and debounces repeated fires within 10s)', async () => {
fetchSnapshot.mockResolvedValue(makeSnapshot({ userId: 'u1', sessionToken: 'tok1' }));
listTeams.mockResolvedValue([]);
@@ -853,7 +852,6 @@ describe('CoreStateProvider — identity-change cache clearing', () => {
expect(vi.mocked(tauriCommands.storeSession)).toHaveBeenCalled();
});
-
});
describe('coreStatePollFailureWarningMessage', () => {
diff --git a/app/src/services/__tests__/socketService.events.test.ts b/app/src/services/__tests__/socketService.events.test.ts
index da64ae8b13..a27f8b2670 100644
--- a/app/src/services/__tests__/socketService.events.test.ts
+++ b/app/src/services/__tests__/socketService.events.test.ts
@@ -218,4 +218,3 @@ describe('socketService — socket event handler dispatches (lines 212, 230, 237
expect((disconnectedCall![0] as { error: string }).error).toBe('connection refused');
});
});
-
diff --git a/app/src/services/coreStateApi.ts b/app/src/services/coreStateApi.ts
index f43955e5d5..0eee7e91f9 100644
--- a/app/src/services/coreStateApi.ts
+++ b/app/src/services/coreStateApi.ts
@@ -111,9 +111,7 @@ export const fetchCoreAppSnapshot = async (): Promise<AppStateSnapshotResult> =>
});
// Normalise the optional #1299 field at the API boundary so older core
// privacy-conservative `false` to callers (e.g. CoreStateProvider).
- return {
- ...response.result,
- };
+ return { ...response.result };
};
export const updateCoreLocalState = async (params: UpdateCoreLocalStateParams): Promise<void> => {
diff --git a/app/src/utils/tauriCommands/config.test.ts b/app/src/utils/tauriCommands/config.test.ts
index 7da0c20fcc..84afbc7fba 100644
--- a/app/src/utils/tauriCommands/config.test.ts
+++ b/app/src/utils/tauriCommands/config.test.ts
@@ -58,8 +58,6 @@ describe('tauriCommands/config', () => {
});
});
-
-
describe('openhumanUpdateAutonomySettings', () => {
test('throws when not running in Tauri', async () => {
mockIsTauri.mockReturnValue(false);
diff --git a/src/bin/library_profile/mock.rs b/src/bin/library_profile/mock.rs
index 4d9c179e1e..1bc7468dae 100644
--- a/src/bin/library_profile/mock.rs
+++ b/src/bin/library_profile/mock.rs
@@ -181,7 +181,6 @@ pub struct SubagentMock {
}
impl SubagentMock {
-
/// K researchers with per-researcher latency drawn from the env knobs, driven
/// directly against the orchestrator agent (full agent-aware chain).
pub fn with_width(width: usize) -> Arc<Self> {
diff --git a/src/core/all_tests.rs b/src/core/all_tests.rs
index 19f622b6c0..d91458afc8 100644
--- a/src/core/all_tests.rs
+++ b/src/core/all_tests.rs
@@ -1102,7 +1102,6 @@ fn flows_controllers_absent_when_feature_off() {
);
}
-
/// The `modules` namespace registers when the `modules` feature is on.
#[cfg(feature = "modules")]
#[test]
@@ -1129,7 +1128,6 @@ fn modules_controllers_absent_when_feature_off() {
);
}
-
/// The external-channel namespace registers when the `channels` feature is on
/// (#4801).
///
diff --git a/src/core/auth.rs b/src/core/auth.rs
index 2fba22f01a..2eff5a1740 100644
--- a/src/core/auth.rs
+++ b/src/core/auth.rs
@@ -634,7 +634,9 @@ mod tests {
// silently open an unauthenticated route.
assert!(!is_public_path("/run"));
assert!(!is_public_path("/jobs/abc-123"));
- assert!(!is_public_path("/jobs/00000000-0000-0000-0000-000000000000"));
+ assert!(!is_public_path(
+ "/jobs/00000000-0000-0000-0000-000000000000"
+ ));
// Sanity: still protect the executable surface.
assert!(!is_public_path("/rpc"));
assert!(!is_public_path("/v1/chat/completions"));
diff --git a/src/core/events.rs b/src/core/events.rs
index eeeb3ba39c..cd030d59d7 100644
--- a/src/core/events.rs
+++ b/src/core/events.rs
@@ -1428,7 +1428,6 @@ impl DomainEvent {
| Self::McpSetupSecretRequested { .. }
| Self::McpToolRejected { .. } => "mcp_client",
-
Self::TinyPlaceStreamMessage { .. } | Self::TinyPlaceStreamStatusChanged { .. } => {
"tinyplace"
}
diff --git a/src/core/runtime/context.rs b/src/core/runtime/context.rs
index dd8bc281bb..30d20bcd76 100644
--- a/src/core/runtime/context.rs
+++ b/src/core/runtime/context.rs
@@ -100,7 +100,6 @@ impl CoreContext {
// run_core_from_args for the CLI).
crate::openhuman::security::keyring::init_master_key();
-
// 4. Seed the per-process RPC bearer. `Fixed` seeds the in-memory value
// directly (never touches the env); `EnvOrFile` reads
// OPENHUMAN_CORE_TOKEN or generates + writes {root}/core.token.
diff --git a/src/core/runtime/services.rs b/src/core/runtime/services.rs
index 743841ab22..287054fddd 100644
--- a/src/core/runtime/services.rs
+++ b/src/core/runtime/services.rs
@@ -49,7 +49,6 @@ pub fn spawn_login_gated_services(embedded_core: bool) {
&config,
)
.await;
-
} else {
log::info!(
"[services] no active session — deferring service startup until login"
diff --git a/src/openhuman/agent/harness/session/builder/builder_tests.rs b/src/openhuman/agent/harness/session/builder/builder_tests.rs
index 9866b0294f..ffa5284b0b 100644
--- a/src/openhuman/agent/harness/session/builder/builder_tests.rs
+++ b/src/openhuman/agent/harness/session/builder/builder_tests.rs
@@ -199,15 +199,11 @@ async fn build_session_agent_applies_extended_policy_definition_cap() {
let def = builtin_def("code_executor");
assert_eq!(def.effective_max_iterations(), 50);
- let agent = Agent::build_session_agent_inner(
- &config,
- "code_executor",
- Some(&def),
- None,
- false,
- None,
- )
- .expect("build_session_agent_inner should succeed for a valid extended-policy definition");
+ let agent =
+ Agent::build_session_agent_inner(&config, "code_executor", Some(&def), None, false, None)
+ .expect(
+ "build_session_agent_inner should succeed for a valid extended-policy definition",
+ );
assert_eq!(
agent.agent_config().max_tool_iterations,
@@ -259,9 +255,8 @@ async fn build_session_agent_falls_back_to_global_default_when_no_definition() {
// No `target_def` at all (e.g. registry not yet initialised, or a
// legacy caller that never resolved one) — must fall back to the
// unmodified global `config.agent.max_tool_iterations`.
- let agent =
- Agent::build_session_agent_inner(&config, "orchestrator", None, None, false, None)
- .expect("build_session_agent_inner should succeed with no definition");
+ let agent = Agent::build_session_agent_inner(&config, "orchestrator", None, None, false, None)
+ .expect("build_session_agent_inner should succeed with no definition");
assert_eq!(
agent.agent_config().max_tool_iterations,
@@ -356,15 +351,9 @@ async fn channel_ceiling_does_not_inherit_orchestrator_role_visibility() {
.insert("internal".to_string(), "execute".to_string());
let def = builtin_def("orchestrator");
- let agent = Agent::build_session_agent_inner(
- &config,
- "orchestrator",
- Some(&def),
- None,
- false,
- None,
- )
- .expect("build channel-scoped orchestrator session");
+ let agent =
+ Agent::build_session_agent_inner(&config, "orchestrator", Some(&def), None, false, None)
+ .expect("build channel-scoped orchestrator session");
assert!(
agent.visible_tool_names_for_test().contains("file_write"),
@@ -424,9 +413,8 @@ async fn build_session_agent_leaves_active_profile_id_none_without_profile() {
// The profile-less path (the legacy default) must stay byte-identical:
// no active profile id is stamped.
- let agent =
- Agent::build_session_agent_inner(&config, "orchestrator", None, None, false, None)
- .expect("build_session_agent_inner with no profile should succeed");
+ let agent = Agent::build_session_agent_inner(&config, "orchestrator", None, None, false, None)
+ .expect("build_session_agent_inner with no profile should succeed");
assert_eq!(
agent.active_profile_id, None,
@@ -496,9 +484,8 @@ async fn build_session_agent_profile_less_uses_shared_memory_subtree() {
// Profile-less path stays byte-identical: session memory uses the shared
// `memory/` subtree, and no per-profile subtree is created.
- let _agent =
- Agent::build_session_agent_inner(&config, "orchestrator", None, None, false, None)
- .expect("build_session_agent_inner without a profile should succeed");
+ let _agent = Agent::build_session_agent_inner(&config, "orchestrator", None, None, false, None)
+ .expect("build_session_agent_inner without a profile should succeed");
assert!(
config
@@ -731,9 +718,8 @@ async fn build_session_agent_profile_less_prompt_has_no_personality_soul() {
std::fs::create_dir_all(&home).unwrap();
std::fs::write(home.join("SOUL.md"), "I am Alice, a meticulous archivist.").unwrap();
- let agent =
- Agent::build_session_agent_inner(&config, "orchestrator", None, None, false, None)
- .expect("build_session_agent_inner without a profile should succeed");
+ let agent = Agent::build_session_agent_inner(&config, "orchestrator", None, None, false, None)
+ .expect("build_session_agent_inner without a profile should succeed");
let prompt = agent
.build_system_prompt(LearnedContextData::default())
diff --git a/src/openhuman/agent/harness/session/builder/factory.rs b/src/openhuman/agent/harness/session/builder/factory.rs
index 7f151b9654..92c12ee1cc 100644
--- a/src/openhuman/agent/harness/session/builder/factory.rs
+++ b/src/openhuman/agent/harness/session/builder/factory.rs
@@ -105,14 +105,7 @@ impl Agent {
.unwrap_or(config.default_temperature)
);
- Self::build_session_agent_inner(
- config,
- agent_id,
- target_def.as_ref(),
- None,
- false,
- None,
- )
+ Self::build_session_agent_inner(config, agent_id, target_def.as_ref(), None, false, None)
}
/// Construct a session agent with an additional profile prompt section. Used by the web channel when the user
diff --git a/src/openhuman/agent/prompts/builder.rs b/src/openhuman/agent/prompts/builder.rs
index bf609b6c53..baeba42ecb 100644
--- a/src/openhuman/agent/prompts/builder.rs
+++ b/src/openhuman/agent/prompts/builder.rs
@@ -241,7 +241,6 @@ impl SystemPromptBuilder {
self
}
-
/// Render every section in order into a single prompt string.
///
/// The rendered bytes are intended to be **frozen for the whole
diff --git a/src/openhuman/config/mod.rs b/src/openhuman/config/mod.rs
index 6a34edd0ca..43ab27908d 100644
--- a/src/openhuman/config/mod.rs
+++ b/src/openhuman/config/mod.rs
@@ -36,29 +36,29 @@ pub(crate) use schema::set_cli_inference_overrides;
pub use schema::{
apply_runtime_proxy_to_builder, build_runtime_proxy_client,
build_runtime_proxy_client_with_timeouts, output_language_directive, runtime_proxy_config,
- set_runtime_proxy_config, AgentConfig, AuditConfig, AutonomyConfig, BrowserComputerUseConfig, BrowserConfig, CapabilityProviderConfig,
- CapabilityProviderTrustState, ChannelsConfig, ComposioConfig, Config, ContextConfig,
- CostConfig, CronConfig, CurlConfig, DashboardConfig, DelegateAgentConfig, DiagramViewerConfig,
- DictationActivationMode, DictationConfig, DiscordConfig, DockerRuntimeConfig, EmailConfig,
- EmbeddingRouteConfig, GitbooksConfig, HeartbeatConfig, HttpHeader, HttpRequestConfig,
- IMessageConfig, IntegrationToggle, IntegrationsConfig, LarkConfig, LearningConfig, LinqConfig,
- LlmBackend, LocalAiConfig, MatrixConfig, McpAuthConfig, McpClientConfig,
- McpClientIdentityConfig, McpServerConfig, MedullaClientConfig, MedullaCycleConfig,
- MedullaCycleLimits, MedullaPromptOverrides, MedullaVerification, MemoryConfig,
- MemoryTreeConfig, ModelRouteConfig, MultimodalConfig, MultimodalFileConfig,
- ObservabilityConfig, OrchestratorModelConfig, PrivacyConfig, PrivacyMode, ProxyConfig,
- ProxyScope, ReflectionSource, ReliabilityConfig, ResourceLimitsConfig, RuntimeConfig,
- RuntimePoolConfig, RuntimePoolLangConfig, SandboxBackend, SandboxConfig, SchedulerConfig,
- SchedulerGateConfig, SchedulerGateMode, SearchConfig, SearchEngine, SearchEngineCredentials,
- SearxngConfig, SecretsConfig, SecurityConfig, ShellConfig, SlackConfig, StorageConfig,
- StorageProviderConfig, StorageProviderSection, StreamMode, SttEngine, TeamModelConfig,
- TelegramConfig, TokenjuiceConfig, UpdateConfig, UpdateRestartStrategy, VoiceActivationMode,
- VoiceServerConfig, WebSearchConfig, WebhookConfig, YuanbaoConfig, DEFAULT_CLOUD_LLM_MODEL,
- DEFAULT_MEMORY_SYNC_INTERVAL_SECS, DEFAULT_MODEL, MEMORY_SYNC_INTERVAL_PRESETS_SECS,
- MODEL_AGENTIC_V1, MODEL_BURST_V1, MODEL_CHAT_V1, MODEL_CODING_V1, MODEL_REASONING_QUICK_V1,
- MODEL_REASONING_V1, MODEL_SUMMARIZATION_V1, MODEL_VISION_V1, SEARCH_ENGINE_BRAVE,
- SEARCH_ENGINE_DISABLED, SEARCH_ENGINE_EXA, SEARCH_ENGINE_MANAGED, SEARCH_ENGINE_PARALLEL,
- SEARCH_ENGINE_QUERIT,
+ set_runtime_proxy_config, AgentConfig, AuditConfig, AutonomyConfig, BrowserComputerUseConfig,
+ BrowserConfig, CapabilityProviderConfig, CapabilityProviderTrustState, ChannelsConfig,
+ ComposioConfig, Config, ContextConfig, CostConfig, CronConfig, CurlConfig, DashboardConfig,
+ DelegateAgentConfig, DiagramViewerConfig, DictationActivationMode, DictationConfig,
+ DiscordConfig, DockerRuntimeConfig, EmailConfig, EmbeddingRouteConfig, GitbooksConfig,
+ HeartbeatConfig, HttpHeader, HttpRequestConfig, IMessageConfig, IntegrationToggle,
+ IntegrationsConfig, LarkConfig, LearningConfig, LinqConfig, LlmBackend, LocalAiConfig,
+ MatrixConfig, McpAuthConfig, McpClientConfig, McpClientIdentityConfig, McpServerConfig,
+ MedullaClientConfig, MedullaCycleConfig, MedullaCycleLimits, MedullaPromptOverrides,
+ MedullaVerification, MemoryConfig, MemoryTreeConfig, ModelRouteConfig, MultimodalConfig,
+ MultimodalFileConfig, ObservabilityConfig, OrchestratorModelConfig, PrivacyConfig, PrivacyMode,
+ ProxyConfig, ProxyScope, ReflectionSource, ReliabilityConfig, ResourceLimitsConfig,
+ RuntimeConfig, RuntimePoolConfig, RuntimePoolLangConfig, SandboxBackend, SandboxConfig,
+ SchedulerConfig, SchedulerGateConfig, SchedulerGateMode, SearchConfig, SearchEngine,
+ SearchEngineCredentials, SearxngConfig, SecretsConfig, SecurityConfig, ShellConfig,
+ SlackConfig, StorageConfig, StorageProviderConfig, StorageProviderSection, StreamMode,
+ SttEngine, TeamModelConfig, TelegramConfig, TokenjuiceConfig, UpdateConfig,
+ UpdateRestartStrategy, VoiceActivationMode, VoiceServerConfig, WebSearchConfig, WebhookConfig,
+ YuanbaoConfig, DEFAULT_CLOUD_LLM_MODEL, DEFAULT_MEMORY_SYNC_INTERVAL_SECS, DEFAULT_MODEL,
+ MEMORY_SYNC_INTERVAL_PRESETS_SECS, MODEL_AGENTIC_V1, MODEL_BURST_V1, MODEL_CHAT_V1,
+ MODEL_CODING_V1, MODEL_REASONING_QUICK_V1, MODEL_REASONING_V1, MODEL_SUMMARIZATION_V1,
+ MODEL_VISION_V1, SEARCH_ENGINE_BRAVE, SEARCH_ENGINE_DISABLED, SEARCH_ENGINE_EXA,
+ SEARCH_ENGINE_MANAGED, SEARCH_ENGINE_PARALLEL, SEARCH_ENGINE_QUERIT,
};
// Kept as a separate re-export (issue #4117) so the large alphabetized group
// above stays byte-identical and rustfmt-stable.
diff --git a/src/openhuman/config/ops/mod.rs b/src/openhuman/config/ops/mod.rs
index 09cf7b787b..bbaf5f16e9 100644
--- a/src/openhuman/config/ops/mod.rs
+++ b/src/openhuman/config/ops/mod.rs
@@ -68,9 +68,8 @@ pub use ui::{
get_dictation_settings, get_onboarding_completed, get_search_settings,
get_super_context_enabled, get_voice_server_settings, load_and_apply_analytics_settings,
load_and_apply_browser_settings, load_and_apply_dictation_settings,
- load_and_apply_search_settings,
- load_and_apply_voice_server_settings, set_onboarding_completed, set_super_context_enabled,
- workspace_onboarding_flag_exists, workspace_onboarding_flag_resolve,
+ load_and_apply_search_settings, load_and_apply_voice_server_settings, set_onboarding_completed,
+ set_super_context_enabled, workspace_onboarding_flag_exists, workspace_onboarding_flag_resolve,
workspace_onboarding_flag_set, AnalyticsSettingsPatch, BrowserSettingsPatch,
DictationSettingsPatch, SearchSettingsPatch, VoiceServerSettingsPatch,
};
diff --git a/src/openhuman/config/ops/ui.rs b/src/openhuman/config/ops/ui.rs
index 6adb8765e4..876de71442 100644
--- a/src/openhuman/config/ops/ui.rs
+++ b/src/openhuman/config/ops/ui.rs
@@ -1,7 +1,6 @@
//! UI-facing config operations: browser, analytics,
//! search, dictation, voice server, onboarding flags.
-
use serde_json::json;
use crate::openhuman::config::Config;
@@ -20,7 +19,6 @@ pub struct AnalyticsSettingsPatch {
pub enabled: Option<bool>,
}
-
#[derive(Debug, Clone, Default)]
pub struct SearchSettingsPatch {
/// One of `disabled` | `managed` | `parallel` | `brave` | `querit` | `exa`.
@@ -154,8 +152,6 @@ pub async fn load_and_apply_analytics_settings(
apply_analytics_settings(&mut config, update).await
}
-
-
/// Updates the search engine configuration. Empty API-key strings clear the
/// stored value rather than treat empty-string as "credential present".
pub async fn apply_search_settings(
diff --git a/src/openhuman/config/ops_tests.rs b/src/openhuman/config/ops_tests.rs
index 3556426ba4..f244710367 100644
--- a/src/openhuman/config/ops_tests.rs
+++ b/src/openhuman/config/ops_tests.rs
@@ -1308,8 +1308,6 @@ async fn apply_analytics_settings_updates_enabled() {
assert!(!cfg.observability.analytics_enabled);
}
-
-
#[tokio::test]
async fn get_config_snapshot_wraps_snapshot_in_rpc_outcome() {
let tmp = tempdir().unwrap();
diff --git a/src/openhuman/config/schema/types.rs b/src/openhuman/config/schema/types.rs
index 6134913e72..f9955b7725 100644
--- a/src/openhuman/config/schema/types.rs
+++ b/src/openhuman/config/schema/types.rs
@@ -513,7 +513,6 @@ pub struct Config {
#[serde(default)]
pub dictation: DictationConfig,
-
/// Whether the user has completed the **React UI** onboarding flow.
///
/// Set by `OnboardingOverlay.tsx::handleDone` and the multi-step
diff --git a/src/openhuman/config/schemas/controllers.rs b/src/openhuman/config/schemas/controllers.rs
index 1aeda20216..6ffc50dea6 100644
--- a/src/openhuman/config/schemas/controllers.rs
+++ b/src/openhuman/config/schemas/controllers.rs
@@ -599,9 +599,6 @@ fn handle_get_dashboard_settings(_params: Map<String, Value>) -> ControllerFutur
/// Known platform slugs for per-platform auto-join policies.
-
-
-
fn handle_agent_server_status(_params: Map<String, Value>) -> ControllerFuture {
Box::pin(async { to_json(config_rpc::agent_server_status()) })
}
@@ -946,9 +943,4 @@ mod tests {
}
// ── platform slug validation (finding #6) ───────────────────
-
-
-
-
-
}
diff --git a/src/openhuman/config/schemas/helpers.rs b/src/openhuman/config/schemas/helpers.rs
index 01fac45889..697aa7f6ef 100644
--- a/src/openhuman/config/schemas/helpers.rs
+++ b/src/openhuman/config/schemas/helpers.rs
@@ -102,7 +102,6 @@ pub(super) struct AnalyticsSettingsUpdate {
pub(super) enabled: Option<bool>,
}
-
#[derive(Debug, Deserialize)]
pub(super) struct SearchSettingsUpdate {
pub(super) engine: Option<String>,
diff --git a/src/openhuman/security/approval/gate.rs b/src/openhuman/security/approval/gate.rs
index e20cfbb573..8df23eb37d 100644
--- a/src/openhuman/security/approval/gate.rs
+++ b/src/openhuman/security/approval/gate.rs
@@ -842,8 +842,7 @@ impl ApprovalGate {
// waiting 180s, so a core restart or an `expire_stale` sweep mid-park
// could leave the row "actionable" for the wrong window (CodeRabbit
// + Codex review on PR #5112).
- let effective_ttl =
- Self::resolve_park_ttl(self.effective_ttl(), copilot_stream);
+ let effective_ttl = Self::resolve_park_ttl(self.effective_ttl(), copilot_stream);
let expires_at = Some(now + chrono::Duration::from_std(effective_ttl).unwrap_or_default());
// Correlation context (flow-approval-surface, PR2): a Workflow-origin
@@ -1347,7 +1346,6 @@ impl ApprovalGate {
map.remove(thread_id);
}
}
-
}
/// Wall-clock milliseconds since the Unix epoch, for `CoreNotificationEvent::timestamp_ms`.
@@ -1468,9 +1466,6 @@ mod tests {
}
}
-
-
-
#[test]
fn guard_cleanup_only_clears_routing_it_still_owns() {
// Regression for #4774: on external turn teardown a replacement turn may
@@ -1495,8 +1490,6 @@ mod tests {
assert!(gate.pending_for_thread("thread-1").is_none());
}
-
-
#[tokio::test]
async fn approve_once_returns_allow() {
let (gate, _dir) = test_gate();
@@ -1638,9 +1631,6 @@ mod tests {
assert!(gate.pending_for_thread("t-test").is_none());
}
-
-
-
#[tokio::test]
async fn auto_approve_tool_skips_prompt() {
// The gate reads the "Always allow" allowlist from the process-global
@@ -2374,7 +2364,6 @@ mod tests {
);
}
-
#[test]
fn a_clamp_never_extends_a_shorter_boot_time_ttl() {
// Mirrors production's env-override guard: a clamp may only
@@ -2388,7 +2377,6 @@ mod tests {
"copilot clamp must not extend a boot-time TTL that is already shorter"
);
}
-
}
/// Integration regression test for the streaming-to-gate contract
diff --git a/src/openhuman/security/approval/mod.rs b/src/openhuman/security/approval/mod.rs
index fc4325975a..92ec395c0d 100644
--- a/src/openhuman/security/approval/mod.rs
+++ b/src/openhuman/security/approval/mod.rs
@@ -21,8 +21,8 @@ pub mod store;
pub mod types;
pub use gate::{
- parse_approval_reply, ApprovalChatContext, ApprovalGate, FlowRunContext,
- APPROVAL_CHAT_CONTEXT, APPROVAL_COPILOT_STREAM_CONTEXT, APPROVAL_FLOW_RUN_CONTEXT,
+ parse_approval_reply, ApprovalChatContext, ApprovalGate, FlowRunContext, APPROVAL_CHAT_CONTEXT,
+ APPROVAL_COPILOT_STREAM_CONTEXT, APPROVAL_FLOW_RUN_CONTEXT,
};
pub use redact::{redact_args, summarize_action};
pub use schemas::all_controller_schemas as all_approval_controller_schemas;