The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
docs(agent): add AGENTS.md and profile README
Steven Enamakeld72af556013b
diff --git a/AGENTS.md b/AGENTS.mdindex c388b57647..31f3ad216c 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -113,7 +113,8 @@ coverage must be at least 80 percent.(`scripts/ci/check-openhuman-rust-layout.mjs`) fails on missing or staleentries, on inline `#[cfg(test)] mod` blocks, and on files named`tests.rs`/`test.rs`. Files under `tests/raw_coverage/` are aggregated by- `build.rs` into the single `raw_coverage_all` target and need no entry.+ the root `build.rs` (`build = "../../build.rs"`) into the single+ `raw_coverage_all` target and need no entry.Shared mock backend:@@ -313,10 +314,14 @@ Backend calls use the vendored `tinyhumans-sdk`. Add missing backend routes tothat SDK rather than recreating them in `crates/openhuman-core/src/api/`.`crates/openhuman-core/src/api/` owns OpenHuman session-token lookup, base URL-selection, transport configuration, and error classification. Every SDK error-returned by `BackendOAuthClient` must be mapped through `finish_authed_json` in-`crates/openhuman-core/src/api/rest.rs` so transient transport failures are-classified consistently.+selection, transport configuration, and error classification. Authenticated+`BackendOAuthClient` requests go through `authed_json`, whose private+`finish_authed_json` (`crates/openhuman-core/src/api/rest.rs`) classifies+transient transport failures and maps 401/404 responses to typed+`BackendApiError` variants; `IntegrationClient::map_sdk_error`+(`crates/openhuman-core/src/integrations/client_part_01.rs`) plays the same+role for integrations. Route new SDK calls through those helpers instead of+matching `tinyhumans_sdk::Error` by hand.Every TinyHumans backend request must carry a sanitized `x-sdk-name`:diff --git a/crates/openhuman-core/src/agent/profiles/README.md b/crates/openhuman-core/src/agent/profiles/README.mdindex 6205382894..9fd8cfb42c 100644--- a/crates/openhuman-core/src/agent/profiles/README.md+++ b/crates/openhuman-core/src/agent/profiles/README.md@@ -39,7 +39,7 @@ dedicated-workspace profiles from writing into a sibling's directory.| `store.rs` | `AgentProfileStore` (load/save/select/upsert/delete/resolve) over `<workspace>/agent_profiles.json`; `built_in_profiles`, `load_profiles`, id normalisation/slugification (`normalise_profile_id`, applied before `validate_profile_id` on every `upsert`), and the numeric `memory_dir_suffix` allocator. `delete` refuses built-in ids. || `home.rs` | Per-profile home materialization: `profile_home`, `profile_action_workspace`, `profile_skills_dir`/`profile_skills_root`, `validate_profile_id`, `ensure_profile_home` (idempotent seed), `sync_soul_md_on_upsert` (reconcile an edited inline soul into the on-disk file), `dedicated_workspace_dir`. || `paths.rs` | Personality-scoped path/content resolution: `resolve_personality_soul` (home `SOUL.md` → `soul_md_path` → inline `soul_md` → `None`), `resolve_personality_memory_md`, `effective_memory_suffix`, the `*_subdir_for_suffix` helpers, `profile_session_signature`, `PersonalityContext`, `filter_integrations`/`HasToolkit`, and the `pub(crate)` `soul_md_file_path` shared with the channel runtime's identity fingerprint. |-| `guard.rs` | Cross-profile identity plumbing and write guard: `workspace_policy_id`/`profile_id_from_policy_id` (encode/decode the `WorkspaceDescriptor::policy_id`), `classify_cross_profile_target` (file tools), `scan_command_for_cross_profile` (shell/process tools, best-effort). |+| `guard.rs` | Cross-profile identity plumbing and write guard: `workspace_policy_id`/`profile_id_from_policy_id` (encode/decode the `openhuman.profile:<id>` `WorkspaceDescriptor::policy_id`; only the encoder has a non-test caller, in the session builder), `classify_cross_profile_target` (file tools), `scan_command_for_cross_profile` (shell/process tools, best-effort), `PROFILES_ROOT_SENTINEL`. || `prompt_section.rs` | `AgentProfilePromptSection` (a `PromptSection` named `agent_profile`), `render_agent_profile_block` (the same `## Agent profile` text for prompt paths without a `PromptContext`, used by `channels/system_prompt.rs`), and `cross_profile_workspace_notice`. || `ops.rs` | `list`/`select`/`upsert`/`delete` business logic: `agent_id` validation against the global agent registry, home materialization, SOUL.md reconciliation, and read-only path enrichment (`soulMdFile`, `skillsDir`, `workspaceDir`) on the returned payload. || `schemas.rs` | Controller schemas + thin handlers for the `profiles` namespace; re-exported as `all_profiles_controller_schemas` / `all_profiles_registered_controllers`. |@@ -100,11 +100,12 @@ profile-less run rather than failing the job.integration filtering when building a session.- `agent/harness/session/turn/tools.rs` resolves `profile_skills_root` forworkflow discovery.-- `security/policy/path_checks.rs` (file tools) decodes the active profile- from the descriptor's `policy_id` and calls `classify_cross_profile_target`;- `tools/impl/system/mod.rs` (process tools) adds+- `security/policy/path_checks.rs` (file tools) calls+ `classify_cross_profile_target` once the session builder has armed+ `SecurityPolicy::with_active_profile(profile_id, action_dir)`;+ `tools/impl/system/mod.rs` (process tools) classifies the cwd and then adds`scan_command_for_cross_profile`. Both map `PROFILES_ROOT_SENTINEL` to a- root-specific denial message.+ root-specific `[policy-blocked]` denial.- `cron/scheduler_part_02.rs` resolves a job's attributed profile via`load_profiles` and builds the run with`Agent::from_config_for_agent_with_profile`.