Skip to content

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

test(identity): verify retired workspace files are no longer seeded\n\nUpdate the identity section test to assert that HEARTBEAT.md and MEMORY_GOALS.md are not created during workspace seeding, since the subconscious engine that consumed HEARTBEAT.md has been removed and the goals store handles missing files gracefully by returning an empty document.\n\nAuto-committed-on: macbook\n

Steven Enamakela00361d8de15
diff --git a/src/openhuman/agent/prompts/mod_tests.rs b/src/openhuman/agent/prompts/mod_tests.rs
index 184f8b5635..5933a34a4c 100644
--- a/src/openhuman/agent/prompts/mod_tests.rs
+++ b/src/openhuman/agent/prompts/mod_tests.rs
@@ -205,12 +205,22 @@ fn identity_section_creates_missing_workspace_files() {
let section = IdentitySection;
let _ = section.build(&ctx).unwrap();
- for file in ["SOUL.md", "IDENTITY.md", "HEARTBEAT.md"] {
+ for file in ["SOUL.md", "IDENTITY.md", "ROLE.md"] {
assert!(
workspace.join(file).exists(),
"expected workspace file to be created: {file}"
);
}
+ // HEARTBEAT.md and MEMORY_GOALS.md are no longer seeded (#5701). The
+ // subconscious engine that read HEARTBEAT.md is gone, and the goals store
+ // returns an empty `GoalsDoc` for a missing file and creates it on first
+ // write, so seeding either bought a file nothing needed.
+ for file in ["HEARTBEAT.md", "MEMORY_GOALS.md"] {
+ assert!(
+ !workspace.join(file).exists(),
+ "retired workspace file must not be seeded: {file}"
+ );
+ }
// Seeded SOUL.md must equal the checked-in template verbatim (plan.md §3):
// compare against the embedded template rather than pinning brand-voice
// prose here — a missing file is seeded straight from