Skip to content

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

fix(agent): remove residual profile cleanup artifacts

Steven Enamakele83b3404b402
diff --git a/app/src/features/conversations/Conversations.tsx b/app/src/features/conversations/Conversations.tsx
index 35bb8246c6..5c39b4cba3 100644
--- a/app/src/features/conversations/Conversations.tsx
+++ b/app/src/features/conversations/Conversations.tsx
@@ -462,8 +462,8 @@ const Conversations = ({
onCancel: () => {},
});
const [resolvedModel, setResolvedModel] = useState<string | null>(null);
- // A picker choice belongs to this composer session. It overrides the active
- // profile route for subsequent sends without mutating the shared profile.
+ // A picker choice belongs to this composer session. It overrides the model
+ // route for subsequent sends without mutating shared configuration.
const [composerModelOverride, setComposerModelOverride] = useState<string | null>(null);
// `undefined` means no explicit picker selection, so usage-reported context
// remains authoritative. `null` means the selected model did not report a
@@ -471,7 +471,7 @@ const Conversations = ({
const [composerModelContextWindow, setComposerModelContextWindow] = useState<
number | null | undefined
>(undefined);
- // Whether the resolved model for the active profile accepts image input.
+ // Whether the resolved model accepts image input.
// Managed tiers do; custom/BYOK models only when the user flagged them. Gates
// the composer's image-attachment affordance (docs flow regardless). Resolved
// against the non-attachment hint so the affordance is stable as you attach.
diff --git a/app/src/lib/i18n/bn.ts b/app/src/lib/i18n/bn.ts
index ce3420f60a..58223e8e2e 100644
--- a/app/src/lib/i18n/bn.ts
+++ b/app/src/lib/i18n/bn.ts
@@ -4677,7 +4677,6 @@ const messages: TranslationMap = {
'settings.cron.jobs.formSessionIsolated': 'বিচ্ছিন্ন (প্রস্তাবিত)',
'settings.cron.jobs.formSessionMain': 'প্রধান সেশন',
'settings.cron.jobs.formSessionTarget': 'সেশন টার্গেট',
- 'নির্বাচিত প্রোফাইল হিসেবে এই কাজটি চালান, তার পরিচয়, মেমরি ও ওয়ার্কস্পেস ব্যবহার করে।',
'settings.cron.jobs.lastStatus': 'শেষ স্ট্যাটাস',
'settings.cron.jobs.loading': 'ক্রন জব লোড হচ্ছে...',
'settings.cron.jobs.loadingRuns': 'রান লোড হচ্ছে',
diff --git a/app/src/lib/i18n/de.ts b/app/src/lib/i18n/de.ts
index 1b38be5263..a459a29c07 100644
--- a/app/src/lib/i18n/de.ts
+++ b/app/src/lib/i18n/de.ts
@@ -4806,7 +4806,6 @@ const messages: TranslationMap = {
'settings.cron.jobs.formSessionIsolated': 'Isoliert (empfohlen)',
'settings.cron.jobs.formSessionMain': 'Hauptsitzung',
'settings.cron.jobs.formSessionTarget': 'Sitzungsziel',
- 'Diesen Auftrag als ausgewähltes Profil ausführen, mit dessen Seele, Gedächtnis und Arbeitsbereich.',
'settings.cron.jobs.lastStatus': 'Letzter Stand',
'settings.cron.jobs.loading': 'Cron-Jobs werden geladen...',
'settings.cron.jobs.loadingRuns': 'Ladeläufe',
diff --git a/crates/openhuman-core/src/agent/context/channels_prompt.rs b/crates/openhuman-core/src/agent/context/channels_prompt.rs
index ea57704460..e137c4f8bd 100644
--- a/crates/openhuman-core/src/agent/context/channels_prompt.rs
+++ b/crates/openhuman-core/src/agent/context/channels_prompt.rs
@@ -150,7 +150,7 @@ pub fn build_system_prompt(
)
}
-/// [`build_system_prompt`] with the active profile's identity substituted
+/// [`build_system_prompt`] with the selected identity substituted
/// into the bootstrap section (see [`PromptIdentityOverride`]) and that
/// section rendered per `placement`.
pub fn build_system_prompt_with_identity(
diff --git a/crates/openhuman-core/src/agent/tools/run_workflow.rs b/crates/openhuman-core/src/agent/tools/run_workflow.rs
index 6ca6a5fc82..c7d9a6ec66 100644
--- a/crates/openhuman-core/src/agent/tools/run_workflow.rs
+++ b/crates/openhuman-core/src/agent/tools/run_workflow.rs
@@ -430,7 +430,7 @@ impl Tool for AwaitWorkflowTool {
let Some(visible_run) = visible_run else {
return Ok(ToolResult::error(format!(
"await_workflow: no run found for run_id `{run_id}` (it may not exist, is not \
- available to the active profile, or hasn't started writing its log yet)"
+ available in this workspace, or hasn't started writing its log yet)"
)));
};
let log_path = std::path::PathBuf::from(&visible_run.log_path);
diff --git a/crates/openhuman-core/src/sandbox/cwd_jail/README.md b/crates/openhuman-core/src/sandbox/cwd_jail/README.md
index 4f8e60e238..0453c43140 100644
--- a/crates/openhuman-core/src/sandbox/cwd_jail/README.md
+++ b/crates/openhuman-core/src/sandbox/cwd_jail/README.md
@@ -72,9 +72,9 @@ The Linux backend's docstring references `crate::security::landlock` as conceptu
- `crates/openhuman-core/src/agent/platform_shell.rs` — doc references to
`cwd_jail::spawn` when explaining why shell-spawning is routed through a
shared, Windows-aware command builder.
-- `crates/openhuman-core/src/tools/impl/system/{node_exec,npm_exec}.rs` and
- `agent/profiles/guard.rs` mention `cwd_jail` in comments/docs when
- describing the `Local` sandbox backend.
+- `crates/openhuman-core/src/tools/impl/system/{node_exec,npm_exec}.rs`
+ mention `cwd_jail` in comments/docs when describing the `Local` sandbox
+ backend.
## Notes / gotchas
diff --git a/crates/openhuman-core/src/skills/README.md b/crates/openhuman-core/src/skills/README.md
index b63929c31d..2454a8e71d 100644
--- a/crates/openhuman-core/src/skills/README.md
+++ b/crates/openhuman-core/src/skills/README.md
@@ -21,7 +21,7 @@ Stub signatures must match the real ones exactly; `cargo check --no-default-feat
| `ops_discover.rs` | Scans workspace, user, bundled, and legacy root directories; resolves scope precedence and collisions; skips symlinked bundle entries; and creates the legacy `<workspace>/skills/` directory. |
| `ops_install.rs` | Facade over submodules `ops_install/fetch.rs`/`ops_install/url_validation.rs`: the hardened HTTPS skill-URL installer (size cap, timeout clamp, non-https/private-IP/non-SKILL.md rejection, GitHub blob→raw normalization). Localhost HTTP installs require `OPENHUMAN_SKILL_INSTALL_ALLOW_LOCAL_HTTP=1` and are for local fixtures only. |
| `ops_parse.rs` | Splits `SKILL.md`/`WORKFLOW.md` into frontmatter + body, builds the resource inventory, reads a single resource. |
-| `ops_types.rs` | Ungated carve-out: `Workflow`, `WorkflowFrontmatter`, `WorkflowScope` (`Builtin`, `User`, `Project`, `Legacy`, `Profile`, `Flow`), filename/size constants (`MAX_WORKFLOW_RESOURCE_BYTES = 128 KiB`). |
+| `ops_types.rs` | Ungated carve-out: `Workflow`, `WorkflowFrontmatter`, `WorkflowScope` (`Builtin`, `User`, `Project`, `Legacy`, `Flow`), filename/size constants (`MAX_WORKFLOW_RESOURCE_BYTES = 128 KiB`). |
| `types.rs` | Ungated carve-out: `ToolResult`/`ToolContent`, the crate-wide tool-result content-block types re-exported through `tinytools`. |
| `preflight.rs` | Gates that must pass before the orchestrator boots for a `skills_run` (currently the GitHub gate: Composio GitHub connected, `git` on PATH, `user.name`/`user.email` configured, optional strict identity match). Failures surface as a plain `Err` instead of cryptic orchestrator output. |
| `registry.rs` | A skill is an `AgentDefinition` plus declared `[[inputs]]`, flattened from the same `skill.toml`/`workflow.toml`; `render_inputs_block` renders them into the prompt. Also `prune_legacy_default_workflows`. |
diff --git a/crates/openhuman-core/src/skills/ops_create.rs b/crates/openhuman-core/src/skills/ops_create.rs
index a259b8eda2..a6ae8029c4 100644
--- a/crates/openhuman-core/src/skills/ops_create.rs
+++ b/crates/openhuman-core/src/skills/ops_create.rs
@@ -154,10 +154,7 @@ fn legacy_workflow_dir(
// remotely extensible, which is the whole thing it exists to prevent.
// Flow entries are rows in `flows.db`, not bundle directories — there
// is no path to resolve. Creating one is `save_workflow`'s job.
- WorkflowScope::Builtin
- | WorkflowScope::Legacy
- | WorkflowScope::Profile
- | WorkflowScope::Flow => return None,
+ WorkflowScope::Builtin | WorkflowScope::Legacy | WorkflowScope::Flow => return None,
};
for root in roots {
let canonical_root = match std::fs::canonicalize(&root) {
@@ -232,9 +229,9 @@ pub(crate) fn create_workflow_inner(
.to_string(),
);
}
- WorkflowScope::Builtin | WorkflowScope::Legacy | WorkflowScope::Profile => {
+ WorkflowScope::Builtin | WorkflowScope::Legacy => {
return Err(
- "cannot create skill in legacy, builtin, or retired profile scope; choose 'user' or 'project'"
+ "cannot create skill in legacy or builtin scope; choose 'user' or 'project'"
.to_string(),
);
}
diff --git a/crates/openhuman-core/src/skills/ops_discover/collision.rs b/crates/openhuman-core/src/skills/ops_discover/collision.rs
index 743469cf08..ed4ef20325 100644
--- a/crates/openhuman-core/src/skills/ops_discover/collision.rs
+++ b/crates/openhuman-core/src/skills/ops_discover/collision.rs
@@ -65,6 +65,6 @@ pub(super) const fn precedence(scope: WorkflowScope) -> u8 {
WorkflowScope::Legacy => 1,
WorkflowScope::User => 2,
WorkflowScope::Project => 3,
- WorkflowScope::Profile | WorkflowScope::Flow => 4,
+ WorkflowScope::Flow => 4,
}
}