Skip to content

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

docs(architecture): update process state paths

Steven Enamakel8ba2bed2d636
diff --git a/gitbooks/developing/architecture/process-state.md b/gitbooks/developing/architecture/process-state.md
index 308a25f1f8..7520eb2148 100644
--- a/gitbooks/developing/architecture/process-state.md
+++ b/gitbooks/developing/architecture/process-state.md
@@ -24,7 +24,7 @@ Paths in the table are relative to `crates/openhuman-core/src/`.
| State | Class | Current boundary and remaining work |
| ----------------------------------------------------------- | ----- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `credentials/identity.rs` `CURRENT_USER` | B | One process slot supplies prompt and tracing identity. Pending: trace authenticated profile admission and test interleaved identities before treating it as profile-owned state. |
+| `security/credentials/identity.rs` `CURRENT_USER` | B | One process slot supplies prompt and tracing identity. Pending: trace authenticated profile admission and test interleaved identities before treating it as profile-owned state. |
| `config/schema/load/active_workspace.rs` `ACTIVE_WORKSPACE` | A | Process bootstrap cache. Pending: verify profile operations cannot select another workspace through this fallback. |
| `core/runtime/context.rs` `DEFAULT_CONTEXT` | A | Bootstrap context. SaaS tenant resolution uses the actual scoped context and refuses missing profile context; the default is not a tenant authority. |
| `agent/multimodal.rs` `ATTACHMENTS_DIR` | B, C | First-initialized local attachment directory. Attachment bytes and indexes need scoped blob ownership and an import path; see #7425. |
@@ -41,11 +41,11 @@ Paths in the table are relative to `crates/openhuman-core/src/`.
| State | Class | Current boundary and remaining work |
| ----------------------------------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `orchestration/busy_guard.rs` | B, D | Profile-keyed live-turn guards with exact guard cleanup. A second core cannot observe these guards; live turns need owner routing or durable claims. |
-| `orchestration/completion_owners.rs` | B, D | Bounded IDs map to recorded profiles; delivery reopens trusted profile contexts. Restart or eviction can lose routing triggers. |
-| `orchestration/background_completions.rs` | B, C, D | Workspace routers and profile-keyed gates; completion records still use workspace JSONL with a memory fallback. Shared delivery requires durable records and claims. |
-| `orchestration/background_delivery.rs` | B, D | Profile-keyed local slots and scoped delivery tasks. Multiple executors need a shared delivery claim before publishing the same completion. |
-| `orchestration/running_subagents` | B, C, D | The durable ledger captures storage scope, but live registry ownership compares raw parent-session strings. Task-ID-only cancellation and steering also bypass tenant ownership. Seven host regressions are prepared; baseline execution and correction remain pending. Live handles still need executor routing. |
+| `agent/orchestration/busy_guard.rs` | B, D | Profile-keyed live-turn guards with exact guard cleanup. A second core cannot observe these guards; live turns need owner routing or durable claims. |
+| `agent/orchestration/completion_owners.rs` | B, D | Bounded IDs map to recorded profiles; delivery reopens trusted profile contexts. Restart or eviction can lose routing triggers. |
+| `agent/orchestration/background_completions.rs` | B, C, D | Workspace routers and profile-keyed gates; completion records still use workspace JSONL with a memory fallback. Shared delivery requires durable records and claims. |
+| `agent/orchestration/background_delivery.rs` | B, D | Profile-keyed local slots and scoped delivery tasks. Multiple executors need a shared delivery claim before publishing the same completion. |
+| `agent/orchestration/running_subagents` | B, C, D | The durable ledger captures storage scope, but live registry ownership compares raw parent-session strings. Task-ID-only cancellation and steering also bypass tenant ownership. Seven host regressions are prepared; baseline execution and correction remain pending. Live handles still need executor routing. |
| `workflow_runs/engine/cancel.rs` | A, D | UUID run IDs index generation-protected local signals. Public stop loads a scoped durable record first. Remote stop needs routing to the executing process; a durable row does not carry the signal. |
| `threads/store/bus.rs` `CLAIMED_TURNS` | A | Bounded desktop channel/message deduplication; registration and claims are disabled in SaaS. No distributed or SaaS turn claim is provided. |