Skip to content

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

docs(agent): clarify prompt asset sync and builder behaviour

Steven Enamakel7427a7deb585
diff --git a/crates/openhuman-core/src/agent/README.md b/crates/openhuman-core/src/agent/README.md
index 2afa09444a..f050770c9d 100644
--- a/crates/openhuman-core/src/agent/README.md
+++ b/crates/openhuman-core/src/agent/README.md
@@ -235,8 +235,8 @@ policy, persisted at `Config.agent_registry` and exposed as the
display-safe `AgentDefinitionDisplay` for the UI.
`prompts/` holds the bundled identity files (`SOUL.md`, `IDENTITY.md`,
-`ROLE.md`, `STYLE.md`, `USER.md`) and `SystemPromptBuilder`, which renders
-selects OpenHuman product content and delegates tier assembly to TinyAgents,
+`ROLE.md`, `STYLE.md`, `USER.md`) and `SystemPromptBuilder`, which selects
+OpenHuman product content and delegates tier assembly to TinyAgents,
optionally returning a `TieredPrompt` with cache breakpoints. `context/` keeps per-session
`ContextManager` state and the byte-stable channel prompt builder. `debug/`
renders the exact prompt a live session would send, by building a real
diff --git a/crates/openhuman-core/src/agent/prompts/README.md b/crates/openhuman-core/src/agent/prompts/README.md
index 9403241ae2..1a0a1c6761 100644
--- a/crates/openhuman-core/src/agent/prompts/README.md
+++ b/crates/openhuman-core/src/agent/prompts/README.md
@@ -32,8 +32,9 @@ message boundaries.
## Bundled assets
`IDENTITY.md`, `ROLE.md`, `SOUL.md`, and [`STYLE.md`](./STYLE.md) are the
-bundled prompt assets. `sync_workspace_file` seeds a workspace copy and
-preserves user edits until a later bundled-content update. The product prompt
+bundled prompt assets. `sync_workspace_file` seeds a workspace copy, refreshes
+an unmodified copy when bundled content changes, and preserves user edits.
+The product prompt
composition reads the workspace `STYLE.md`, falling back to the bundled copy
when the file cannot be read. [`USER.md`](./USER.md) is exposed as an MCP
resource and is not read by this module.