Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

fix: syntheticize public release fixtures

rubenluetke10-beep4033c85f0d75
diff --git a/jarvis/brain/manager.py b/jarvis/brain/manager.py
index e07d833690..2ae1b8f0d6 100644
--- a/jarvis/brain/manager.py
+++ b/jarvis/brain/manager.py
@@ -946,8 +946,8 @@ def _is_definitional_question_about(user_text: str, token: str) -> bool:
# work: the brain answers them inline — they must NEVER force-spawn a worker,
# even when they contain an everyday word that collides with an action verb in
# the universal catalogue ("Frage" -> "frag"/"frage", the filler particle
-# "halt" -> "halt"). Live bug 2026-06-19 (voice session 11:53, San-Francisco
-# emigration turn): "ich hab ne Frage ... was würdest du mir empfehlen?"
+# "halt" -> "halt"). A live relocation-comparison turn once force-spawned:
+# "ich hab ne Frage ... was würdest du mir empfehlen?"
# force-spawned because has_action_intent matched "Frage"/"halt", so
# _is_generic_subagent_work classified a pure chat turn as generic sub-agent
# work; the answer then returned out-of-band via the MissionAnnouncer and never
@@ -3540,7 +3540,7 @@ class BrainManager:
parts.append(persona_block)
# User's own standing-instructions file (AGENTS.md / CLAUDE.md equivalent),
- # named after the assistant (e.g. Ruben.md). Distinct from the persona: the
+ # named after the assistant (e.g. Assistant.md). Distinct from the persona: the
# user writes personal preferences here, and the block is framed so they
# refine behaviour but never override safety/confirmations. Read fresh each
# turn -> an edit applies on the next turn, no restart. A read fault must
diff --git a/jarvis/memory/curator/prompts.py b/jarvis/memory/curator/prompts.py
index 2697a16aee..b03c141f40 100644
--- a/jarvis/memory/curator/prompts.py
+++ b/jarvis/memory/curator/prompts.py
@@ -3,7 +3,7 @@
Key design decisions in the prompt:
1. **Subject disambiguation is at the very top** — the LLM sees it before
- thinking about anything else. Includes a concrete Laura example that
+ thinking about anything else. Includes a concrete fictional-contact example that
explicitly rules out the "naive-mem0" anti-pattern.
2. **Do-Not-Record list** is enforced as a hard negative in the prompt —
@@ -63,13 +63,16 @@ the subject is `user`. If the user mentions a name, that name is a
## Examples — this must NOT be confused:
-**Input:** User says "My girlfriend Laura works at X."
+**Input:** User says "My fictional partner ExampleContact works at X."
**Output:**
-- `{"subject": "person:Laura", "cluster": "identity", "field": "name", "value": "Laura", "relationship": "partner", "confidence": 1.0, ...}`
-- NEVER `{"subject": "user", "field": "name", "value": "Laura"}` — that would be a serious mistake!
+- `{"subject": "person:ExampleContact", "cluster": "identity",
+ "field": "name", "value": "ExampleContact", "relationship": "partner",
+ "confidence": 1.0, ...}`
+- NEVER `{"subject": "user", "field": "name", "value": "ExampleContact"}`.
-**Input:** User says "My name is Ruben."
-**Output:** `{"subject": "user", "cluster": "identity", "field": "name", "value": "Ruben", ...}`
+**Input:** User says "My name is ExampleUser."
+**Output:** `{"subject": "user", "cluster": "identity", "field": "name",
+"value": "ExampleUser", ...}`
**Input:** User says "My colleague Paul hates emojis."
**Output:** An observation about Paul (subject=person:Paul), NOT about the user.
@@ -84,7 +87,9 @@ Only extract what is **stable over the long term**:
- NO: mood of the day, momentary emotion, current task, weather, one-off events.
Example: "I'm tired today" → extract NOTHING (mood of the day).
-Example: "I don't like emojis in code reviews" → `{"subject": "user", "cluster": "values", "field": "pet_peeves", "value": "Emojis in code reviews", "operation": "append"}`
+Example: "I don't like emojis in code reviews" →
+`{"subject": "user", "cluster": "values", "field": "pet_peeves",
+"value": "Emojis in code reviews", "operation": "append"}`
# CONFIDENCE
@@ -138,8 +143,8 @@ def build_extraction_prompt(user_text: str, assistant_text: str,
We provide the LLM with context about already-known entities so that it
can disambiguate more reliably. If it already knows, e.g., "The user is
- called Ruben, Laura is his girlfriend", it will not make the mistake shown
- in the Golden-Rule example.
+ called ExampleUser, ExampleContact is their fictional partner", it will
+ not make the mistake shown in the Golden-Rule example.
"""
ctx_lines = []
if user_name:
diff --git a/jarvis/ui/web/frontend/src/components/wiki/WikiGraph.test.tsx b/jarvis/ui/web/frontend/src/components/wiki/WikiGraph.test.tsx
index d53334b936..3f17483547 100644
--- a/jarvis/ui/web/frontend/src/components/wiki/WikiGraph.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/wiki/WikiGraph.test.tsx
@@ -85,13 +85,13 @@ describe("WikiGraph", () => {
JSON.stringify({
ok: true,
nodes: [
- { id: "harald", kind: "entity", title: "Harald" },
- { id: "ruben", kind: "entity", title: "Ruben" },
+ { id: "example-parent", kind: "entity", title: "Example Parent" },
+ { id: "example-user", kind: "entity", title: "Example User" },
{ id: "pixel-art-editor", kind: "project", title: "Pixel Art Editor" },
],
edges: [
- { source: "ruben", target: "harald", context: "Father" },
- { source: "ruben", target: "pixel-art-editor", context: "Working on" },
+ { source: "example-user", target: "example-parent", context: "Related to" },
+ { source: "example-user", target: "pixel-art-editor", context: "Working on" },
],
broken: [],
}),
@@ -111,12 +111,12 @@ describe("WikiGraph", () => {
const ids = screen
.getAllByTestId("wiki-graph-node")
.map((el) => el.getAttribute("data-node-id"));
- expect(ids).toEqual(["harald", "ruben", "pixel-art-editor"]);
+ expect(ids).toEqual(["example-parent", "example-user", "pixel-art-editor"]);
const edges = screen.getAllByTestId("wiki-graph-edge");
expect(edges).toHaveLength(2);
- expect(edges[0].textContent).toContain("Ruben → Harald · Father");
+ expect(edges[0].textContent).toContain("Example User → Example Parent · Related to");
expect(edges[1].textContent).toContain(
- "Ruben → Pixel Art Editor · Working on",
+ "Example User → Pixel Art Editor · Working on",
);
});
@@ -128,14 +128,14 @@ describe("WikiGraph", () => {
JSON.stringify({
ok: true,
nodes: [
- { id: "harald", kind: "entity", title: "Harald" },
- { id: "ruben", kind: "entity", title: "Ruben" },
+ { id: "example-parent", kind: "entity", title: "Example Parent" },
+ { id: "example-user", kind: "entity", title: "Example User" },
],
edges: [
{
- source: "ruben",
- target: "harald",
- context: "Father <trusted>",
+ source: "example-user",
+ target: "example-parent",
+ context: "Related <trusted>",
},
],
broken: [],
@@ -164,9 +164,9 @@ describe("WikiGraph", () => {
expect(props.linkDirectionalArrowLength).toBe(4);
expect(props.linkDirectionalArrowRelPos).toBe(0.82);
- expect(nodeLabel(graphData.nodes[0])).toContain("Harald (entity) · 1 backlink");
+ expect(nodeLabel(graphData.nodes[0])).toContain("Example Parent (entity) · 1 backlink");
expect(linkLabel(graphData.links[0])).toContain(
- "Ruben → Harald · Father &lt;trusted&gt;",
+ "Example User → Example Parent · Related &lt;trusted&gt;",
);
});
@@ -177,7 +177,7 @@ describe("WikiGraph", () => {
new Response(
JSON.stringify({
ok: true,
- nodes: [{ id: "harald", kind: "entity", title: "Harald" }],
+ nodes: [{ id: "example-parent", kind: "entity", title: "Example Parent" }],
edges: [],
broken: [],
}),
@@ -195,8 +195,8 @@ describe("WikiGraph", () => {
await waitFor(() => {
expect(screen.getByTestId("wiki-graph-node")).toBeDefined();
});
- fireEvent.click(screen.getByRole("button", { name: /Harald/i }));
- expect(onNodeClick).toHaveBeenCalledWith("harald");
+ fireEvent.click(screen.getByRole("button", { name: /Example Parent/i }));
+ expect(onNodeClick).toHaveBeenCalledWith("example-parent");
});
it("renders highlighted node with 1.5x radius", async () => {
@@ -207,11 +207,11 @@ describe("WikiGraph", () => {
JSON.stringify({
ok: true,
nodes: [
- { id: "harald", kind: "entity", title: "Harald" },
- { id: "ruben", kind: "entity", title: "Ruben" },
+ { id: "example-parent", kind: "entity", title: "Example Parent" },
+ { id: "example-user", kind: "entity", title: "Example User" },
],
- // ruben → harald gives harald 1 backlink (radius = 10), zero for ruben (radius = 8)
- edges: [{ source: "ruben", target: "harald", context: "Father" }],
+ // The parent fixture gets one backlink; the user fixture gets zero.
+ edges: [{ source: "example-user", target: "example-parent", context: "Related" }],
broken: [],
}),
{ status: 200, headers: { "content-type": "application/json" } },
@@ -221,24 +221,23 @@ describe("WikiGraph", () => {
const client = makeClient();
render(
<Wrapper client={client}>
- <WikiGraph onNodeClick={() => {}} highlightSlug="harald" />
+ <WikiGraph onNodeClick={() => {}} highlightSlug="example-parent" />
</Wrapper>,
);
await waitFor(() => {
expect(screen.getAllByTestId("wiki-graph-node")).toHaveLength(2);
});
- const haraldNode = screen
+ const parentNode = screen
.getAllByTestId("wiki-graph-node")
- .find((el) => el.getAttribute("data-node-id") === "harald");
- const rubenNode = screen
+ .find((el) => el.getAttribute("data-node-id") === "example-parent");
+ const userNode = screen
.getAllByTestId("wiki-graph-node")
- .find((el) => el.getAttribute("data-node-id") === "ruben");
- expect(haraldNode?.getAttribute("data-node-active")).toBe("true");
- expect(rubenNode?.getAttribute("data-node-active")).toBe("false");
- const haraldRadius = Number(haraldNode?.getAttribute("data-node-radius"));
- const rubenRadius = Number(rubenNode?.getAttribute("data-node-radius"));
- // harald: base 10 * 1.5 = 15. ruben: base 8.
- expect(haraldRadius).toBe(15);
- expect(rubenRadius).toBe(8);
+ .find((el) => el.getAttribute("data-node-id") === "example-user");
+ expect(parentNode?.getAttribute("data-node-active")).toBe("true");
+ expect(userNode?.getAttribute("data-node-active")).toBe("false");
+ const parentRadius = Number(parentNode?.getAttribute("data-node-radius"));
+ const userRadius = Number(userNode?.getAttribute("data-node-radius"));
+ expect(parentRadius).toBe(15);
+ expect(userRadius).toBe(8);
});
});
diff --git a/jarvis/ui/web/frontend/src/views/WikiView.test.tsx b/jarvis/ui/web/frontend/src/views/WikiView.test.tsx
index e4c19531ec..d067856519 100644
--- a/jarvis/ui/web/frontend/src/views/WikiView.test.tsx
+++ b/jarvis/ui/web/frontend/src/views/WikiView.test.tsx
@@ -142,8 +142,8 @@ const POPULATED_TREE: WikiTreeResponse = {
kind: "entity",
count: 2,
files: [
- { slug: "ruben", title: "Ruben", mtime: 1, size: 100 },
- { slug: "harald", title: "Harald", mtime: 2, size: 200 },
+ { slug: "example-user", title: "Example User", mtime: 1, size: 100 },
+ { slug: "example-parent", title: "Example Parent", mtime: 2, size: 200 },
],
},
{ name: "concepts", kind: "concept", count: 0, files: [] },
@@ -160,33 +160,33 @@ const POPULATED_TREE: WikiTreeResponse = {
stats: { total_pages: 3, total_links: 8, last_curator_run: "2026-05-13T13:59:00" },
};
-const HARALD_PAGE: WikiPageResponse = {
+const EXAMPLE_PARENT_PAGE: WikiPageResponse = {
ok: true,
- slug: "harald",
+ slug: "example-parent",
kind: "entity",
- title: "Harald",
- path: "entities/harald.md",
+ title: "Example Parent",
+ path: "entities/example-parent.md",
frontmatter: {
type: "entity",
entity_kind: "person",
- slug: "harald",
+ slug: "example-parent",
aliases: [],
created: "2026-05-13",
updated: "2026-05-13",
},
- body_md: "# Harald\n\n## Relationships\n\nFather of [[ruben]] — established via voice fact.\n",
- wikilinks: ["ruben"],
+ body_md: "# Example Parent\n\n## Relationships\n\nRelated to [[example-user]] in this synthetic fixture.\n",
+ wikilinks: ["example-user"],
stats: { words: 17, bytes: 289, mtime: 1 },
};
-const HARALD_BACKLINKS: WikiBacklinksResponse = {
+const EXAMPLE_PARENT_BACKLINKS: WikiBacklinksResponse = {
ok: true,
- slug: "harald",
+ slug: "example-parent",
backlinks: [
{
- slug: "ruben",
- title: "Ruben",
- snippet: "...Father is [[harald]] — born 1976...",
+ slug: "example-user",
+ title: "Example User",
+ snippet: "...Related to [[example-parent]] in this synthetic fixture...",
},
],
};
@@ -219,8 +219,8 @@ describe("WikiView — populated tree", () => {
beforeEach(() => {
installFetchMock({
"/api/wiki/tree": () => POPULATED_TREE,
- "/api/wiki/page/": () => HARALD_PAGE,
- "/api/wiki/backlinks/": () => HARALD_BACKLINKS,
+ "/api/wiki/page/": () => EXAMPLE_PARENT_PAGE,
+ "/api/wiki/backlinks/": () => EXAMPLE_PARENT_BACKLINKS,
});
});
@@ -234,8 +234,8 @@ describe("WikiView — populated tree", () => {
// Three populated leaves are visible because entities and projects open
// by default (per mockup contract).
await waitFor(() => {
- expect(screen.getByText("ruben.md")).toBeDefined();
- expect(screen.getByText("harald.md")).toBeDefined();
+ expect(screen.getByText("example-user.md")).toBeDefined();
+ expect(screen.getByText("example-parent.md")).toBeDefined();
expect(screen.getByText("pixel-art-editor.md")).toBeDefined();
});
@@ -284,15 +284,15 @@ describe("WikiView — populated tree", () => {
renderWithClient(<WikiView />);
await waitFor(() => {
- expect(screen.getByText("harald.md")).toBeDefined();
+ expect(screen.getByText("example-parent.md")).toBeDefined();
});
- fireEvent.click(screen.getByText("harald.md"));
+ fireEvent.click(screen.getByText("example-parent.md"));
await waitFor(() => {
expect(screen.getByTestId("wiki-page-renderer")).toBeDefined();
});
- expect(screen.getByTestId("wiki-page-title").textContent).toBe("Harald");
+ expect(screen.getByTestId("wiki-page-title").textContent).toBe("Example Parent");
}, 10_000);
});
@@ -306,7 +306,7 @@ describe("WikiView — health strip", () => {
last_write: {
ts: 1750000000,
ok: true,
- pages: ["ruben"],
+ pages: ["example-user"],
error: null,
source: "curator",
},
@@ -347,7 +347,7 @@ describe("WikiView — health strip", () => {
ts: 1750000000,
ok: false,
pages: [],
- error: "Permission denied writing entities/ruben.md",
+ error: "Permission denied writing entities/example-user.md",
source: "curator",
},
last_chain_failure: null,
@@ -418,7 +418,7 @@ describe("WikiView — health strip", () => {
await waitFor(() => {
expect(screen.getByTestId("wiki-health-write").textContent).toContain(
- "Permission denied writing entities/ruben.md",
+ "Permission denied writing entities/example-user.md",
);
});
expect(
@@ -450,25 +450,25 @@ describe("WikiView — health strip", () => {
describe("PageRenderer — wikilink behaviour", () => {
it("preprocessWikilinks rewrites [[slug]] / [[folder/slug]] / [[slug|label]]", () => {
- expect(preprocessWikilinks("see [[ruben]] here")).toBe(
- "see [ruben](#wiki:ruben) here",
+ expect(preprocessWikilinks("see [[example-user]] here")).toBe(
+ "see [example-user](#wiki:example-user) here",
);
- expect(preprocessWikilinks("see [[entities/ruben]] here")).toBe(
- "see [ruben](#wiki:ruben) here",
+ expect(preprocessWikilinks("see [[entities/example-user]] here")).toBe(
+ "see [example-user](#wiki:example-user) here",
);
- expect(preprocessWikilinks("see [[ruben|the son]] here")).toBe(
- "see [the son](#wiki:ruben) here",
+ expect(preprocessWikilinks("see [[example-user|the related entity]] here")).toBe(
+ "see [the related entity](#wiki:example-user) here",
);
});
it("clicking a wikilink fires onWikilinkClick with the target slug", async () => {
installFetchMock({
"/api/wiki/tree": () => POPULATED_TREE,
- "/api/wiki/page/harald": () => HARALD_PAGE,
+ "/api/wiki/page/example-parent": () => EXAMPLE_PARENT_PAGE,
});
const onClick = vi.fn();
renderWithClient(
- <PageRenderer slug="harald" onWikilinkClick={onClick} />,
+ <PageRenderer slug="example-parent" onWikilinkClick={onClick} />,
);
await waitFor(() => {
@@ -476,25 +476,25 @@ describe("PageRenderer — wikilink behaviour", () => {
});
const link = document.querySelector(
- "a.wikilink[data-target-slug='ruben']",
+ "a.wikilink[data-target-slug='example-user']",
) as HTMLAnchorElement | null;
expect(link).not.toBeNull();
fireEvent.click(link!);
- expect(onClick).toHaveBeenCalledWith("ruben");
+ expect(onClick).toHaveBeenCalledWith("example-user");
});
it("renders a broken wikilink with the `.broken` class when the slug is unknown", async () => {
const brokenPage: WikiPageResponse = {
- ...HARALD_PAGE,
+ ...EXAMPLE_PARENT_PAGE,
body_md: "Refers to [[nonexistent-slug]] which doesn't exist.\n",
wikilinks: ["nonexistent-slug"],
};
installFetchMock({
"/api/wiki/tree": () => POPULATED_TREE,
- "/api/wiki/page/harald": () => brokenPage,
+ "/api/wiki/page/example-parent": () => brokenPage,
});
renderWithClient(
- <PageRenderer slug="harald" onWikilinkClick={vi.fn()} />,
+ <PageRenderer slug="example-parent" onWikilinkClick={vi.fn()} />,
);
await waitFor(() => {
@@ -513,19 +513,19 @@ describe("PageHeader — frontmatter pills", () => {
it("renders pills for known frontmatter keys and skips slug + aliases", () => {
render(
<PageHeader
- slug="harald"
+ slug="example-parent"
kind="entity"
- title="Harald"
+ title="Example Parent"
frontmatter={{
type: "entity",
entity_kind: "person",
- slug: "harald",
+ slug: "example-parent",
aliases: ["herry", "h"],
created: "2026-05-13",
updated: "2026-05-13",
}}
vaultRoot="C:/vault/Jarvis"
- vaultRelPath="entities/harald.md"
+ vaultRelPath="entities/example-parent.md"
/>,
);
diff --git a/scripts/ci/privacy_gate/references/distribution-denylist.txt b/scripts/ci/privacy_gate/references/distribution-denylist.txt
index ec579c9707..da754a0f20 100644
--- a/scripts/ci/privacy_gate/references/distribution-denylist.txt
+++ b/scripts/ci/privacy_gate/references/distribution-denylist.txt
@@ -107,6 +107,12 @@ Unbenanntes*
# contacts). Withheld until a staged demo-vault screenshot replaces it; the
# README image reference was removed in the same review.
assets/screenshots/view-wiki.png
+# Personalized visual QA/reference captures (2026-08-03 privacy review): these
+# contain a configured person's name, wake phrase, profile filename, or other
+# live-looking account context. They are review inputs, not runtime assets.
+assets/screenshots/app-home.png
+assets/screenshots/app-desktop.png
+qa/ref/**
# --- Internal dev-process docs: whole subtrees ------------------------------
docs/superpowers/**
diff --git a/tests/fixtures/ultrawiki/obsidian_vault/note.md b/tests/fixtures/ultrawiki/obsidian_vault/note.md
index 21945350ea..76e55570bc 100644
--- a/tests/fixtures/ultrawiki/obsidian_vault/note.md
+++ b/tests/fixtures/ultrawiki/obsidian_vault/note.md
@@ -1,3 +1,3 @@
# Meeting Notes
-Dinner with Viktoria at seven, downtown.
+Fictional demo meeting with Example Contact at seven.
diff --git a/tests/integration/memory/wiki/test_realtime_to_vault_e2e.py b/tests/integration/memory/wiki/test_realtime_to_vault_e2e.py
index 18f4e8b8a5..4579ea8049 100644
--- a/tests/integration/memory/wiki/test_realtime_to_vault_e2e.py
+++ b/tests/integration/memory/wiki/test_realtime_to_vault_e2e.py
@@ -187,8 +187,8 @@ async def test_consecutive_realtime_reviews_write_to_selected_vault(
(vault_root / "schema.md").write_text("# Schema\n", encoding="utf-8")
(vault_root / "index.md").write_text("# Index\n", encoding="utf-8")
(vault_root / "log.md").write_text("# Wiki Log\n", encoding="utf-8")
- (vault_root / "entities" / "ruben.md").write_text(
- _entity_page("ruben", "Ruben is the user."),
+ (vault_root / "entities" / "example-user.md").write_text(
+ _entity_page("example-user", "Example User is a fictional test identity."),
encoding="utf-8",
)
@@ -197,7 +197,7 @@ async def test_consecutive_realtime_reviews_write_to_selected_vault(
primary="test-provider",
providers={"test-provider": BrainProviderConfig(model="test-model")},
),
- memory=MemoryConfig(wiki=WikiMemoryConfig()),
+ memory=MemoryConfig(wiki=WikiMemoryConfig(user_entity_slug="example-user")),
# This E2E drives one fact per short call and expects each to land
# in the vault immediately, so it pins per-candidate consolidation
# explicitly (the SHIPPED default batches 3 per judge run since the
@@ -208,11 +208,11 @@ async def test_consecutive_realtime_reviews_write_to_selected_vault(
assert config.wiki_scheduler.consolidate_after_candidates == 1
facts = [
- "Lena moved to Hamburg last month.",
- "Noah works at the city library.",
- "Ruben owns a yacht named Aurora.",
- "Ruben needs to use the bathroom right now.",
- "Ruben owns an aircraft.",
+ "Fictional contact Example Friend moved to Example City last month.",
+ "Fictional contact Example Colleague works at the sample library.",
+ "The fictional test user owns a demo vessel named Sample One.",
+ "The fictional test user needs a short break right now.",
+ "The fictional test user owns a demo glider.",
]
extractions = [
json.dumps(
@@ -220,7 +220,7 @@ async def test_consecutive_realtime_reviews_write_to_selected_vault(
{
"fact": facts[0],
"kind": "person",
- "subjects": ["lena"],
+ "subjects": ["example-friend"],
"evidence_turn_id": "openai-turn",
}
]
@@ -230,7 +230,7 @@ async def test_consecutive_realtime_reviews_write_to_selected_vault(
{
"fact": facts[1],
"kind": "person",
- "subjects": ["noah"],
+ "subjects": ["example-colleague"],
"evidence_turn_id": "gemini-turn",
}
]
@@ -240,7 +240,7 @@ async def test_consecutive_realtime_reviews_write_to_selected_vault(
{
"fact": facts[2],
"kind": "asset",
- "subjects": ["aurora"],
+ "subjects": ["sample-one"],
"evidence_turn_id": "short-asset-turn",
}
]
@@ -251,7 +251,7 @@ async def test_consecutive_realtime_reviews_write_to_selected_vault(
{
"fact": facts[3],
"kind": "other",
- "subjects": ["ruben"],
+ "subjects": ["example-user"],
"evidence_turn_id": "transient-turn",
}
]
@@ -263,7 +263,7 @@ async def test_consecutive_realtime_reviews_write_to_selected_vault(
{
"fact": facts[4],
"kind": "asset",
- "subjects": ["ruben", "aircraft"],
+ "subjects": ["example-user", "demo-glider"],
"evidence_turn_id": "assistant-guess-turn",
}
]
@@ -275,8 +275,8 @@ async def test_consecutive_realtime_reviews_write_to_selected_vault(
{
"candidate_id": 1,
"decision": "add",
- "target": "entities/lena.md",
- "new_body": _entity_page("lena", facts[0]),
+ "target": "entities/example-friend.md",
+ "new_body": _entity_page("example-friend", facts[0]),
"reason": "new durable person fact",
}
]
@@ -286,8 +286,8 @@ async def test_consecutive_realtime_reviews_write_to_selected_vault(
{
"candidate_id": 2,
"decision": "add",
- "target": "entities/noah.md",
- "new_body": _entity_page("noah", facts[1]),
+ "target": "entities/example-colleague.md",
+ "new_body": _entity_page("example-colleague", facts[1]),
"reason": "new durable person fact",
}
]
@@ -297,8 +297,8 @@ async def test_consecutive_realtime_reviews_write_to_selected_vault(
{
"candidate_id": 3,
"decision": "add",
- "target": "entities/aurora.md",
- "new_body": _asset_page("aurora", facts[2], "ruben"),
+ "target": "entities/sample-one.md",
+ "new_body": _asset_page("sample-one", facts[2], "example-user"),
"reason": "durable owned asset and relationship",
}
]
@@ -385,34 +385,34 @@ async def test_consecutive_realtime_reviews_write_to_selected_vault(
_turn(
turn_id="openai-turn",
provider="openai-realtime",
- text="My friend Lena moved to Hamburg last month and lives there now.",
+ text="Fictional contact Example Friend moved to Example City last month.",
session_id="call-1",
)
)
- await _wait_for_page(vault_root / "entities" / "lena.md")
+ await _wait_for_page(vault_root / "entities" / "example-friend.md")
await _speak_and_hang_up(
_turn(
turn_id="gemini-turn",
provider="gemini-live",
- text="My colleague Noah works at the city library during the week.",
+ text="Fictional contact Example Colleague works at the sample library.",
session_id="call-2",
)
)
- await _wait_for_page(vault_root / "entities" / "noah.md")
+ await _wait_for_page(vault_root / "entities" / "example-colleague.md")
await _speak_and_hang_up(
_turn(
turn_id="short-asset-turn",
provider="openai-realtime",
- text="I own a yacht named Aurora.",
+ text="The fictional test user owns a demo vessel named Sample One.",
session_id="call-3",
)
)
- await _wait_for_page(vault_root / "entities" / "aurora.md")
+ await _wait_for_page(vault_root / "entities" / "sample-one.md")
await _speak_and_hang_up(
_turn(
turn_id="transient-turn",
provider="gemini-live",
- text="I need to use the bathroom right now.",
+ text="The fictional test user needs a short break right now.",
session_id="call-4",
)
)
@@ -422,7 +422,7 @@ async def test_consecutive_realtime_reviews_write_to_selected_vault(
turn_id="assistant-guess-turn",
provider="openai-realtime",
text="What do you think I own?",
- assistant_text="Perhaps you own an aircraft.",
+ assistant_text="Perhaps you own a demo glider.",
session_id="call-5",
)
)
@@ -431,31 +431,33 @@ async def test_consecutive_realtime_reviews_write_to_selected_vault(
bridge.stop()
journal.close()
- assert facts[0] in (vault_root / "entities" / "lena.md").read_text(
+ assert facts[0] in (vault_root / "entities" / "example-friend.md").read_text(
encoding="utf-8"
)
- assert facts[1] in (vault_root / "entities" / "noah.md").read_text(
+ assert facts[1] in (vault_root / "entities" / "example-colleague.md").read_text(
encoding="utf-8"
)
- asset_body = (vault_root / "entities" / "aurora.md").read_text(encoding="utf-8")
+ asset_body = (vault_root / "entities" / "sample-one.md").read_text(encoding="utf-8")
assert facts[2] in asset_body
- assert "[[entities/ruben|Ruben]]" in asset_body
+ assert "[[entities/example-user|Example User]]" in asset_body
fresh_index = VaultIndex(repo=MarkdownPageRepository())
await fresh_index.scan(vault_root)
- assert [page.slug for page in fresh_index.backlinks_to("ruben")] == ["aurora"]
+ assert [page.slug for page in fresh_index.backlinks_to("example-user")] == [
+ "sample-one"
+ ]
assert all(
- "bathroom" not in path.read_text(encoding="utf-8").lower()
+ "short break" not in path.read_text(encoding="utf-8").lower()
for path in vault_root.rglob("*.md")
)
assert all(
- "aircraft" not in path.read_text(encoding="utf-8").lower()
+ "demo glider" not in path.read_text(encoding="utf-8").lower()
for path in vault_root.rglob("*.md")
)
final_judge_prompt = brain.judge_requests[-1].messages[0].content
assert "user_evidence_excerpt=" in final_judge_prompt
assert "Evidence user turn [assistant-guess-turn]" in final_judge_prompt
assert "What do you think I own?" in final_judge_prompt
- assert "Perhaps you own an aircraft." not in final_judge_prompt
+ assert "Perhaps you own a demo glider." not in final_judge_prompt
# 5 deferred turn extractions + 5 judge rounds + 5 session sweeps.
assert brain.calls == 15
assert journal.backlog_count() == 0
diff --git a/tests/integration/ui/wiki/test_wiki_routes_e2e.py b/tests/integration/ui/wiki/test_wiki_routes_e2e.py
index 501ad2279a..329cdc564e 100644
--- a/tests/integration/ui/wiki/test_wiki_routes_e2e.py
+++ b/tests/integration/ui/wiki/test_wiki_routes_e2e.py
@@ -6,10 +6,10 @@ with three real markdown pages, and walks the same flow the Wave-2
walk-through covers in ``docs/plans/b3/00-OVERVIEW.md §7``:
1. ``GET /api/wiki/tree`` → 3 files across 2 folders.
-2. ``GET /api/wiki/page/harald`` → body contains "1976".
+2. ``GET /api/wiki/page/example-parent`` → body contains a fixture marker.
3. ``GET /api/wiki/graph`` → at least 2 edges.
-4. ``GET /api/wiki/search?q=pizza`` → 1 hit on ruben.
-5. ``GET /api/wiki/backlinks/harald`` → 1 hit (ruben).
+4. ``GET /api/wiki/search?q=pizza`` → 1 hit on example-user.
+5. ``GET /api/wiki/backlinks/example-parent`` → 1 hit (example-user).
No mocks; the only side-effects are temp-directory file writes and an
HTTP round-trip via FastAPI's ``TestClient``.
@@ -33,15 +33,15 @@ def _seed_vault(vault: Path) -> None:
(vault / "concepts").mkdir(parents=True)
(vault / "sessions").mkdir(parents=True)
- (vault / "entities" / "harald.md").write_text(
- "---\ntype: entity\nslug: harald\n---\n\n"
- "# Harald\n\n## Summary\nHarald is a person born in 1976.\n\n"
- "## Facts\n- Born in 1976.\n",
+ (vault / "entities" / "example-parent.md").write_text(
+ "---\ntype: entity\nslug: example-parent\n---\n\n"
+ "# Example Parent\n\n## Summary\nSynthetic fixture entity.\n\n"
+ "## Facts\n- Fixture marker alpha.\n",
encoding="utf-8",
)
- (vault / "entities" / "ruben.md").write_text(
- "---\ntype: entity\nslug: ruben\n---\n\n"
- "# Ruben\n\n## Summary\nFather is [[harald]].\n\n"
+ (vault / "entities" / "example-user.md").write_text(
+ "---\ntype: entity\nslug: example-user\n---\n\n"
+ "# Example User\n\n## Summary\nRelated to [[example-parent]].\n\n"
"## Facts\n- Working on [[pixel-art-editor]].\n"
"- Favorite food is Pizza (source: voice-fact:demo).\n",
encoding="utf-8",
@@ -100,10 +100,10 @@ def test_full_flow_tree_page_graph_search_backlinks(
assert tree["stats"]["total_pages"] == 3
# 2. page
- page = client.get("/api/wiki/page/harald").json()
+ page = client.get("/api/wiki/page/example-parent").json()
assert page["ok"] is True
- assert page["slug"] == "harald"
- assert "1976" in page["body_md"]
+ assert page["slug"] == "example-parent"
+ assert "Fixture marker alpha" in page["body_md"]
assert page["frontmatter_valid"] is True
# 3. graph
@@ -116,9 +116,9 @@ def test_full_flow_tree_page_graph_search_backlinks(
search = client.get("/api/wiki/search", params={"q": "pizza"}).json()
assert search["ok"] is True
assert len(search["hits"]) >= 1
- assert search["hits"][0]["slug"] == "ruben"
+ assert search["hits"][0]["slug"] == "example-user"
# 5. backlinks
- backlinks = client.get("/api/wiki/backlinks/harald").json()
+ backlinks = client.get("/api/wiki/backlinks/example-parent").json()
assert backlinks["ok"] is True
- assert any(b["slug"] == "ruben" for b in backlinks["backlinks"])
+ assert any(b["slug"] == "example-user" for b in backlinks["backlinks"])
diff --git a/tests/unit/brain/test_prompt_cache_layout.py b/tests/unit/brain/test_prompt_cache_layout.py
index 9e41cbb0b3..903466fc02 100644
--- a/tests/unit/brain/test_prompt_cache_layout.py
+++ b/tests/unit/brain/test_prompt_cache_layout.py
@@ -14,7 +14,7 @@ from jarvis.core.config import load_config
_AWARE_A = "Active window: Code.exe — main.py"
_AWARE_B = "Active window: chrome.exe — youtube.com"
-_WIKI = "WIKI_CONTEXT_MARKER: Ruben prefers synthwave."
+_WIKI = "WIKI_CONTEXT_MARKER: The fictional test user prefers synthwave."
class _FakeAwarenessState:
diff --git a/tests/unit/brain/test_routing.py b/tests/unit/brain/test_routing.py
index 662ab4f660..86fbc8a545 100644
--- a/tests/unit/brain/test_routing.py
+++ b/tests/unit/brain/test_routing.py
@@ -387,7 +387,7 @@ SPAWN_INPUTS = [
"Bau eine Landingpage",
"Wie viele PRs sind in jarvis-repo offen?",
"Mach einen Screenshot und sag mir was du siehst",
- # Regression — Voice-Session 2026-05-11 17:22 (Bug-Report von Ruben):
+ # Regression from a reported voice session:
# "Kannst du bitte einen Subagenten spawnen, welcher..." fiel ohne
# Match auf den LLM-Pfad zurueck (40s Gemini-Stream-Timeout). "spawn"
# als Verb-Trigger plus "Subagent"-Marker fangen beide unabhaengig.
@@ -1217,8 +1217,8 @@ def test_instructional_questions_do_not_force_spawn(utterance: str) -> None:
# Opinion / advice / recommendation / decision questions are CONVERSATION, not
# work — they must be answered inline, NEVER force-spawned to a worker, even
# when they contain an everyday word that collides with an action verb in the
-# universal catalogue. Live bug 2026-06-19 (voice session 11:53, San-Francisco
-# emigration turn): "Hey du, ich hab ne Frage ... was würdest du mir empfehlen?"
+# universal catalogue. A relocation-comparison turn once force-spawned:
+# "Hey du, ich hab ne Frage ... was würdest du mir empfehlen?"
# force-spawned a worker because has_action_intent matched the NOUN "Frage"
# (-> verb "frag"/"frage") and the FILLER particle "halt" (-> verb "halt"), so
# _is_generic_subagent_work classified a pure chat turn as generic sub-agent
@@ -1277,12 +1277,12 @@ def test_opinion_advice_questions_do_not_force_spawn(utterance: str) -> None:
"Wie siehst du das?",
"Was ist deine Meinung dazu?",
# decision help (DE)
- "Soll ich nach San Francisco oder nach Melbourne ziehen?",
+ "Soll ich nach Beispielstadt oder nach Musterstadt ziehen?",
# conversational opener (DE)
"Ich hab da mal eine Frage.",
# advice / opinion (EN)
"What would you recommend?",
- "Should I move to San Francisco or Melbourne?",
+ "Should I move to Example City or Sample City?",
"I have a question.",
# advice / opinion (ES)
"¿Qué me recomiendas?",
@@ -2123,7 +2123,7 @@ def test_whisper_fp_exact_only_seeds_still_filter_when_alone(
"Musik leiser bitte",
"Applaus für die Band einspielen",
"Untertitel im VLC anzeigen lassen",
- "Tschüss sagen zu Laura per Email",
+ "Tschüss sagen zu Beispielkontakt per Email",
"Thank you note in Word erstellen",
],
)
@@ -2300,7 +2300,9 @@ def test_check_unsupported_intent_fires_for_unregistered_action() -> None:
sys.modules["jarvis.core.capabilities"] = mock_module
try:
manager, _executor = _manager_with_spawn()
- result = manager._check_unsupported_intent("Schick bitte eine E-Mail an Harald")
+ result = manager._check_unsupported_intent(
+ "Schick bitte eine E-Mail an Beispielkontakt"
+ )
assert result is not None, (
"_check_unsupported_intent must return refusal for unregistered action"
)
@@ -2483,7 +2485,7 @@ def test_external_integration_without_capability_stays_unsupported() -> None:
try:
manager = _strict_manager_with_mock_registry()
for utterance in (
- "schick eine Email an Harald",
+ "schick eine Email an Beispielkontakt",
"trag einen Termin in meinen Kalender ein",
"spiel Musik auf Spotify",
):
@@ -2570,7 +2572,7 @@ class _FakeProfileForPrompt:
"""Minimal UserProfile stand-in: only render_for_prompt is exercised."""
def render_for_prompt(self, *, max_chars: int = 2000) -> str:
- return "## Ueber den User\n- **Name:** Ruben"
+ return "## About the user\n- **Name:** Example User"
class _FakeUpdateProfileTool:
@@ -2759,7 +2761,7 @@ def test_contact_capabilities_do_not_resolve_external_hard_negatives() -> None:
reg = get_registry()
seed_registry(reg)
for utterance in (
- "Schick eine Email an [email protected] mit dem Betreff Hallo",
+ "Schick eine Email an [email protected] mit dem Betreff Hallo",
"Trag einen Termin morgen 10 Uhr ein",
"Sende eine WhatsApp an Mama",
"Bestelle eine Pizza",
@@ -2830,7 +2832,7 @@ def test_voice_save_contact_stays_router_tier() -> None:
"utterance",
[
"ruf Christoph an",
- "ruf Laura an",
+ "ruf Beispielkontakt an",
"call Christoph",
],
)
diff --git a/tests/unit/brain/test_wiki_fast_path.py b/tests/unit/brain/test_wiki_fast_path.py
index 13e359cd8d..b2ff3de4d5 100644
--- a/tests/unit/brain/test_wiki_fast_path.py
+++ b/tests/unit/brain/test_wiki_fast_path.py
@@ -388,17 +388,16 @@ async def test_reported_obsidian_follow_up_ingests_inline_facts(manager_factory)
)
reply = await mgr._run_wiki_ingest_fast_path(
- "Kannst du bitte einen Eintrag da eintragen, dass ich ziemlich " # i18n-allow
- "genervt bin und dass ich in San Francisco " # i18n-allow
- "wohne?" # i18n-allow: production transcript under test
+ "Kannst du bitte einen Eintrag da eintragen, dass ich im fiktiven " # i18n-allow
+ "Testszenario ruhig bin und dass ich in Beispielstadt wohne?" # i18n-allow
)
assert reply is not None
await asyncio.sleep(0.05)
assert len(tool.calls) == 1
saved = tool.calls[0]["text"].lower()
- assert "genervt" in saved
- assert "san francisco" in saved
+ assert "testszenario" in saved
+ assert "beispielstadt" in saved
assert "was steht" not in saved
@@ -421,11 +420,11 @@ async def test_live_polite_travel_fact_reaches_wiki_before_local_action(
fail_if_local_action_runs,
)
reply = await mgr.generate(
- "Kannst du bitte mein Wiki-System eintragen, dass ich morgen nach " # i18n-allow
- "San Francisco reisen will?" # i18n-allow: production transcript under test
+ "Kannst du bitte mein Wiki-System eintragen, dass ich eine fiktive " # i18n-allow
+ "Reise nach Beispielstadt plane?" # i18n-allow
)
assert reply
await asyncio.sleep(0.05)
assert len(tool.calls) == 1
- assert "san francisco" in tool.calls[0]["text"].lower()
+ assert "beispielstadt" in tool.calls[0]["text"].lower()
diff --git a/tests/unit/brain/test_wiki_relevance.py b/tests/unit/brain/test_wiki_relevance.py
index f63c0f0327..a4f77121e2 100644
--- a/tests/unit/brain/test_wiki_relevance.py
+++ b/tests/unit/brain/test_wiki_relevance.py
@@ -64,8 +64,8 @@ def test_possessive_turns_a_definitional_question_into_a_memory_question() -> No
@pytest.mark.parametrize(
"utterance",
[
- "Wann war ich mit Viktoria essen?", # i18n-allow: German user input under test
- "When did I meet Viktoria?",
+ "Wann war ich mit Beispielkontakt essen?", # i18n-allow: German input
+ "When did I meet Example Contact?",
"Weisst du noch, wo wir letztes Jahr waren?", # i18n-allow: German user input under test
"Do you remember where we stayed?",
"Wie heisst mein Zahnarzt?", # i18n-allow: German user input under test
@@ -120,17 +120,21 @@ def test_gate_never_raises_on_odd_input() -> None:
def test_hit_sharing_only_one_common_word_is_dropped() -> None:
"""The keyword index matches on ANY term; coverage is what filters."""
hits = [
- FakeHit(title="Trestle dinner", snippet="dinner with Viktoria in San Francisco", score=0.9),
+ FakeHit(
+ title="Demo dinner",
+ snippet="dinner with Example Contact in Example City",
+ score=0.9,
+ ),
FakeHit(title="Car collection", snippet="thoughts about the world of engines", score=0.8),
]
- kept = relevant_hits(hits, "dinner Viktoria Francisco")
- assert [hit.title for hit in kept] == ["Trestle dinner"]
+ kept = relevant_hits(hits, "dinner Example Contact City")
+ assert [hit.title for hit in kept] == ["Demo dinner"]
def test_weak_hit_below_the_relative_floor_is_dropped() -> None:
- strong = FakeHit(title="Viktoria dinner", snippet="dinner with Viktoria", score=0.9)
- weak = FakeHit(title="Viktoria dinner note", snippet="dinner with Viktoria", score=0.01)
- kept = relevant_hits([strong, weak], "dinner Viktoria")
+ strong = FakeHit(title="Example dinner", snippet="dinner with Example Contact", score=0.9)
+ weak = FakeHit(title="Example dinner note", snippet="dinner with Example Contact", score=0.01)
+ kept = relevant_hits([strong, weak], "dinner Example Contact")
assert kept == [strong]
@@ -138,10 +142,10 @@ def test_relative_floor_never_uses_an_absolute_cutoff() -> None:
"""Scores are only comparable within one call — a uniformly low-scoring
call must still return its hits rather than being wiped by a fixed floor."""
hits = [
- FakeHit(title="Viktoria dinner", snippet="dinner with Viktoria", score=0.05),
- FakeHit(title="Viktoria dinner two", snippet="dinner with Viktoria", score=0.04),
+ FakeHit(title="Example dinner", snippet="dinner with Example Contact", score=0.05),
+ FakeHit(title="Example dinner two", snippet="dinner with Example Contact", score=0.04),
]
- assert len(relevant_hits(hits, "dinner Viktoria")) == 2
+ assert len(relevant_hits(hits, "dinner Example Contact")) == 2
def test_empty_hits_and_termless_queries_are_safe() -> None:
@@ -154,7 +158,7 @@ def test_filter_tolerates_hits_missing_attributes() -> None:
class Bare:
pass
- assert relevant_hits([Bare()], "dinner Viktoria") == []
+ assert relevant_hits([Bare()], "dinner Example Contact") == []
def test_content_terms_folds_and_deduplicates() -> None:
diff --git a/tests/unit/core/test_capabilities.py b/tests/unit/core/test_capabilities.py
index 87371230c0..e3c733d16e 100644
--- a/tests/unit/core/test_capabilities.py
+++ b/tests/unit/core/test_capabilities.py
@@ -226,7 +226,7 @@ class TestRegistryHasActionIntent:
# "just"/"simply") is NOT a command — it must not collide with the
# stop-verb stem in the universal catalogue. Live bug 2026-06-19: the
# filler tripped has_action_intent and force-spawned a worker on a pure
- # chat turn (the San-Francisco emigration session). The fixtures below
+ # chat turn. The fixtures below
# are intentionally German (the content under test).
assert self.reg.has_action_intent("Das ist halt so.") is False # i18n-allow
assert (
@@ -338,8 +338,8 @@ class TestSeedRegistry:
def test_polite_wiki_system_write_resolves_to_ingest(self) -> None:
"""Wiki destination wins even when the fact mentions travel."""
cap = self.reg.resolve_intent(
- "Kannst du bitte mein Wiki-System eintragen, dass ich morgen nach " # i18n-allow
- "San Francisco reisen will?" # i18n-allow: production transcript under test
+ "Kannst du bitte mein Wiki-System eintragen, dass ich eine fiktive " # i18n-allow
+ "Reise nach Beispielstadt plane?" # i18n-allow
)
assert cap is not None
diff --git a/tests/unit/memory/test_curator_validator.py b/tests/unit/memory/test_curator_validator.py
index 417c589d38..2ac68fe1a6 100644
--- a/tests/unit/memory/test_curator_validator.py
+++ b/tests/unit/memory/test_curator_validator.py
@@ -3,8 +3,7 @@
Focus — the validator is the **last line of defense** against subject confusion:
- Confidence thresholds: <0.5 → reject, 0.5-0.7 → review, >=0.7 → accept.
-- Laura scenario: `subject="user", field="name", value="Laura"` when
- `people/laura.md` already exists → REJECT due to collision.
+- Fictional-contact scenario: a known contact must not become the user's name.
- Pronoun false positives (`person:er`, `person:sie`) → REJECT.
- Do-not-record keywords (politics, mental health, MBTI) → REJECT.
- Overwrite protection: existing name + new name at conf<0.85 → REVIEW.
@@ -21,7 +20,6 @@ from jarvis.memory.curator.validator import (
Validator,
)
-
# ----------------------------------------------------------------------
# Helper factory for test candidates
# ----------------------------------------------------------------------
@@ -30,10 +28,10 @@ def _user_cand(
*,
cluster: str = "identity",
field: str = "name",
- value: Any = "Ruben",
+ value: Any = "ExampleUser",
confidence: float = 0.9,
operation: str = "set",
- evidence: str = "User: 'ich heisse Ruben'",
+ evidence: str = "User: 'My name is ExampleUser'",
) -> Candidate:
return Candidate(
subject="user",
@@ -51,10 +49,10 @@ def _person_cand(
*,
cluster: str = "identity",
field: str = "profession",
- value: Any = "Designerin",
+ value: Any = "designer",
confidence: float = 0.9,
operation: str = "set",
- evidence: str = "User: 'meine Freundin ist Designerin'",
+ evidence: str = "User: 'My fictional partner is a designer'",
relationship: str = "partner",
) -> Candidate:
return Candidate(
@@ -114,33 +112,32 @@ class TestConfidenceThresholds:
# ======================================================================
-# Laura-Szenario — die CRUCIAL-Regression
+# Fictional contact scenario — the crucial regression
# ======================================================================
-class TestLauraScenario:
- """If `people/laura.md` exists, 'Laura' must NOT pass as user.name."""
+class TestFictionalContactScenario:
+ """A known fictional contact must not pass as the user's name."""
- def test_rejects_laura_as_user_name_when_laura_exists_as_person(
+ def test_rejects_contact_as_user_name_when_contact_exists_as_person(
self, validator: Validator, person_store
) -> None:
- # Setup: Laura liegt bereits als Person vor (z.B. frueher extrahiert)
- person_store.get_or_create("Laura", relationship="partner")
+ person_store.get_or_create("ExampleContact", relationship="partner")
- # LLM slippt: behauptet Laura sei der User-Name
- cand = _user_cand(field="name", value="Laura", confidence=0.9)
+ # Simulate an LLM confusing the fictional contact with the user.
+ cand = _user_cand(field="name", value="ExampleContact", confidence=0.9)
result = validator.validate([cand])
- assert len(result.rejected) == 1, f"Laura must be rejected: {result}"
+ assert len(result.rejected) == 1, f"Contact must be rejected: {result}"
_, reason = result.rejected[0]
assert "kollision" in reason.lower() or "name-koll" in reason.lower()
- def test_ruben_as_user_name_is_accepted_even_with_laura_person_present(
+ def test_example_user_name_is_accepted_with_contact_present(
self, validator: Validator, person_store
) -> None:
"""Counter-check: unrelated person names don't block the real user name."""
- person_store.get_or_create("Laura", relationship="partner")
+ person_store.get_or_create("ExampleContact", relationship="partner")
- cand = _user_cand(field="name", value="Ruben", confidence=0.95)
+ cand = _user_cand(field="name", value="ExampleUser", confidence=0.95)
result = validator.validate([cand])
assert len(result.accepted) == 1
@@ -187,9 +184,9 @@ class TestSubjectSanity:
assert len(result.rejected) == 1
def test_rejects_person_equal_to_user_name(self, validator: Validator, profile) -> None:
- """If the user's name is "Ruben", subject=person:Ruben must not be accepted."""
- profile.set("identity", "name", "Ruben")
- cand = _person_cand("Ruben", confidence=0.9)
+ """A person subject equal to the user's name must not be accepted."""
+ profile.set("identity", "name", "ExampleUser")
+ cand = _person_cand("ExampleUser", confidence=0.9)
result = validator.validate([cand])
assert len(result.rejected) == 1
@@ -203,8 +200,8 @@ class TestDoNotRecord:
cand = _user_cand(
cluster="values",
field="observation",
- value="Sympathie fuer die Linkspartei", # i18n-allow: German do-not-record keyword ("Partei"/party) matched by the validator's reject logic
- evidence="User: 'ich mag die Linkspartei'",
+ value="Sympathie fuer die Linkspartei", # i18n-allow: reject fixture
+ evidence="User: 'ich mag die Linkspartei'", # i18n-allow: fixture
confidence=0.9,
)
result = validator.validate([cand])
@@ -254,22 +251,22 @@ class TestOverwriteProtection:
def test_existing_name_new_value_below_overwrite_threshold_goes_to_review(
self, validator: Validator, profile
) -> None:
- """Bestehender Name 'Ruben', neuer Name 'Paul' mit conf=0.75 → REVIEW."""
- profile.set("identity", "name", "Ruben")
+ """An existing name and a new value at confidence 0.75 require review."""
+ profile.set("identity", "name", "ExampleUser")
cand = _user_cand(field="name", value="Paul", confidence=0.75)
result = validator.validate([cand])
- assert len(result.review) == 1, f"Erwarte review, got: {result}"
+ assert len(result.review) == 1, f"Expected review, got: {result}"
assert len(result.accepted) == 0
_, reason = result.review[0]
- assert "ueberschreibung" in reason.lower() or "ruben" in reason.lower()
+ assert "ueberschreibung" in reason.lower() or "exampleuser" in reason.lower()
def test_existing_name_new_value_at_overwrite_threshold_is_accepted(
self, validator: Validator, profile
) -> None:
- """Bestehender Name + neuer Name bei conf=0.9 → accepted."""
- profile.set("identity", "name", "Ruben")
+ """An existing name plus a new name at confidence 0.9 is accepted."""
+ profile.set("identity", "name", "ExampleUser")
cand = _user_cand(
field="name",
@@ -283,8 +280,8 @@ class TestOverwriteProtection:
self, validator: Validator, profile
) -> None:
"""New name == existing name → no conflict."""
- profile.set("identity", "name", "Ruben")
- cand = _user_cand(field="name", value="Ruben", confidence=0.9)
+ profile.set("identity", "name", "ExampleUser")
+ cand = _user_cand(field="name", value="ExampleUser", confidence=0.9)
result = validator.validate([cand])
assert len(result.accepted) == 1
@@ -305,7 +302,7 @@ class TestOverwriteProtection:
# ======================================================================
-# Sanity-Batch — mehrere Candidates gleichzeitig
+# Batch sanity — several candidates together
# ======================================================================
class TestBatchValidation:
@@ -313,12 +310,12 @@ class TestBatchValidation:
self, validator: Validator, person_store
) -> None:
"""A mix of accept/review/reject lands in the right buckets."""
- person_store.get_or_create("Laura", relationship="partner")
+ person_store.get_or_create("ExampleContact", relationship="partner")
accepted_cand = _user_cand(
cluster="communication", field="verbosity", value="tldr", confidence=0.9
)
- rejected_cand = _user_cand(field="name", value="Laura", confidence=0.9)
+ rejected_cand = _user_cand(field="name", value="ExampleContact", confidence=0.9)
low_conf_cand = _user_cand(confidence=0.2)
result = validator.validate([accepted_cand, rejected_cand, low_conf_cand])
@@ -327,5 +324,5 @@ class TestBatchValidation:
assert low_conf_cand in [c for c, _ in result.rejected]
def test_thresholds_match_constants(self) -> None:
- """Sanity: Module-Level-Konstanten haben erwartete Reihenfolge."""
+ """Module-level constants have the expected order."""
assert CONFIDENCE_REVIEW < CONFIDENCE_ACCEPT < CONFIDENCE_OVERWRITE
diff --git a/tests/unit/memory/test_people_store.py b/tests/unit/memory/test_people_store.py
index 6a71c79c3e..1668ec5b60 100644
--- a/tests/unit/memory/test_people_store.py
+++ b/tests/unit/memory/test_people_store.py
@@ -4,7 +4,6 @@ from __future__ import annotations
from jarvis.memory.people import PersonStore
from jarvis.memory.workspace import Workspace, person_slug
-
# ======================================================================
# get_or_create
# ======================================================================
@@ -13,9 +12,9 @@ class TestGetOrCreate:
def test_creates_file_for_new_person(
self, workspace: Workspace, person_store: PersonStore
) -> None:
- person = person_store.get_or_create("Laura", relationship="partner")
+ person = person_store.get_or_create("ExampleContact", relationship="partner")
assert person.path.exists()
- assert person.path.stem == person_slug("Laura")
+ assert person.path.stem == person_slug("ExampleContact")
# Relationship was set from the template
assert person.relationship == "partner"
@@ -23,15 +22,16 @@ class TestGetOrCreate:
self, person_store: PersonStore
) -> None:
"""A second get_or_create call creates NO new file."""
- p1 = person_store.get_or_create("Laura", relationship="partner")
- p2 = person_store.get_or_create("Laura", relationship="partner")
+ p1 = person_store.get_or_create("ExampleContact", relationship="partner")
+ p2 = person_store.get_or_create("ExampleContact", relationship="partner")
assert p1.path == p2.path
# Only one file in people/
assert len(person_store.list_all()) == 1
def test_umlauts_in_name_become_slug(self, person_store: PersonStore) -> None:
- p = person_store.get_or_create("Laura Müller", relationship="partner") # i18n-allow: German umlaut name, matched by the slug-normalization logic under test
- assert p.path.stem == "laura_mueller"
+ name = "Example Müller" # i18n-allow: synthetic umlaut slug fixture
+ p = person_store.get_or_create(name, relationship="partner")
+ assert p.path.stem == "example_mueller"
# ======================================================================
@@ -40,31 +40,31 @@ class TestGetOrCreate:
class TestFindByAlias:
def test_finds_by_exact_slug(self, person_store: PersonStore) -> None:
- person_store.get_or_create("Laura", relationship="partner")
- found = person_store.find_by_alias("Laura")
+ person_store.get_or_create("ExampleContact", relationship="partner")
+ found = person_store.find_by_alias("ExampleContact")
assert found is not None
- assert found.name == "Laura"
+ assert found.name == "ExampleContact"
def test_finds_by_case_insensitive_name(self, person_store: PersonStore) -> None:
- person_store.get_or_create("Laura", relationship="partner")
- found = person_store.find_by_alias("LAURA")
+ person_store.get_or_create("ExampleContact", relationship="partner")
+ found = person_store.find_by_alias("EXAMPLECONTACT")
assert found is not None
- assert found.name == "Laura"
+ assert found.name == "ExampleContact"
def test_finds_by_alias_field(self, person_store: PersonStore) -> None:
"""If a person has a nickname in the `aliases` field, find_by_alias must match it."""
- person = person_store.get_or_create("Laura", relationship="partner")
- assert person.add_alias("Lora") is True
+ person = person_store.get_or_create("ExampleContact", relationship="partner")
+ assert person.add_alias("DemoAlias") is True
person.save()
# Frischer Store — liest vom Disk
fresh_store = PersonStore(workspace=person_store.workspace)
- found = fresh_store.find_by_alias("Lora")
+ found = fresh_store.find_by_alias("DemoAlias")
assert found is not None
- assert found.name == "Laura"
+ assert found.name == "ExampleContact"
def test_returns_none_for_unknown_name(self, person_store: PersonStore) -> None:
- person_store.get_or_create("Laura", relationship="partner")
+ person_store.get_or_create("ExampleContact", relationship="partner")
assert person_store.find_by_alias("Unknown") is None
def test_find_works_on_empty_store(self, person_store: PersonStore) -> None:
@@ -77,12 +77,12 @@ class TestFindByAlias:
class TestListAll:
def test_lists_all_persons(self, person_store: PersonStore) -> None:
- person_store.get_or_create("Laura", relationship="partner")
- person_store.get_or_create("Paul", relationship="kollege")
- person_store.get_or_create("Anna", relationship="schwester")
+ person_store.get_or_create("ExampleContact", relationship="partner")
+ person_store.get_or_create("ExampleColleague", relationship="kollege")
+ person_store.get_or_create("ExampleSibling", relationship="schwester")
all_people = person_store.list_all()
names = sorted(p.name for p in all_people)
- assert names == ["Anna", "Laura", "Paul"]
+ assert names == ["ExampleColleague", "ExampleContact", "ExampleSibling"]
def test_empty_store_returns_empty_list(self, person_store: PersonStore) -> None:
assert person_store.list_all() == []
@@ -90,9 +90,9 @@ class TestListAll:
class TestRenderForPrompt:
def test_renders_listing_when_people_present(self, person_store: PersonStore) -> None:
- person_store.get_or_create("Laura", relationship="partner")
+ person_store.get_or_create("ExampleContact", relationship="partner")
out = person_store.render_for_prompt()
- assert "Laura" in out
+ assert "ExampleContact" in out
assert "partner" in out
def test_renders_empty_string_when_no_people(self, person_store: PersonStore) -> None:
diff --git a/tests/unit/memory/wiki/test_curator_llm.py b/tests/unit/memory/wiki/test_curator_llm.py
index 599753da61..587d89fafc 100644
--- a/tests/unit/memory/wiki/test_curator_llm.py
+++ b/tests/unit/memory/wiki/test_curator_llm.py
@@ -212,12 +212,11 @@ def _ok_response() -> str:
return json.dumps([
{
- "target": "entities/ruben-luetke.md",
+ "target": "entities/example-user.md",
"operation": "update",
- # i18n-allow: proper name with umlaut used as wiki-page fixture data
"new_body": (
- "---\ntype: entity\nslug: ruben-luetke\n---\n\n"
- "# Ruben L\u00fctke\n"
+ "---\ntype: entity\nslug: example-user\n---\n\n"
+ "# Example User\n"
),
"rename_from": None,
"reason": "added phase B1 milestone",
@@ -237,9 +236,9 @@ def test_parse_updates_happy_path() -> None:
updates = _parse_updates(raw)
assert len(updates) == 1
assert isinstance(updates[0], PageUpdate)
- assert updates[0].target_path == Path("entities/ruben-luetke.md")
+ assert updates[0].target_path == Path("entities/example-user.md")
assert updates[0].operation == "update"
- assert "Ruben" in updates[0].new_body
+ assert "Example User" in updates[0].new_body
def test_parse_updates_tolerates_code_fence() -> None:
@@ -339,13 +338,13 @@ async def test_propose_updates_returns_parsed_updates(
registry=registry,
)
updates = await llm.propose_updates(
- "Ruben fixed a bug today.",
+ "The fictional test user fixed a bug today.",
"BrainTurnCompleted",
repo=FakeRepo(),
vault=FakeVault(),
)
assert len(updates) == 1
- assert updates[0].target_path == Path("entities/ruben-luetke.md")
+ assert updates[0].target_path == Path("entities/example-user.md")
@pytest.mark.asyncio
@@ -372,7 +371,6 @@ async def test_direct_ingest_real_schema_binds_portable_runtime_user_slug() -> N
assert system is not None
assert 'exact subject slug is ["owner-profile"]' in system
assert "profile page is entities/owner-profile.md" in system
- assert "ruben" not in system.casefold()
@pytest.mark.asyncio
@@ -382,15 +380,15 @@ async def test_direct_residence_falls_back_until_graph_is_bidirectional(
"""A profile-only residence response cannot complete explicit ingest."""
profile_without_link = (
"---\ntype: entity\nentity_kind: person\nslug: owner-profile\n---\n\n"
- "# Owner Profile\n\n## Facts\n\n- Lives in San Francisco.\n"
+ "# Owner Profile\n\n## Facts\n\n- Lives in Example City.\n"
)
profile_with_link = profile_without_link.replace(
- "- Lives in San Francisco.",
- "- Lives in [[entities/san-francisco|San Francisco]].",
+ "- Lives in Example City.",
+ "- Lives in [[entities/example-city|Example City]].",
)
place_with_link = (
- "---\ntype: entity\nentity_kind: place\nslug: san-francisco\n---\n\n"
- "# San Francisco\n\n## Relationships\n\n"
+ "---\ntype: entity\nentity_kind: place\nslug: example-city\n---\n\n"
+ "# Example City\n\n## Relationships\n\n"
"- Residence of [[entities/owner-profile|Owner Profile]].\n"
)
profile_only = json.dumps(
@@ -412,7 +410,7 @@ async def test_direct_residence_falls_back_until_graph_is_bidirectional(
"reason": "link residence from profile",
},
{
- "target": "entities/san-francisco.md",
+ "target": "entities/example-city.md",
"operation": "create",
"new_body": place_with_link,
"reason": "create visible residence page",
@@ -429,10 +427,7 @@ async def test_direct_residence_falls_back_until_graph_is_bidirectional(
)
updates = await llm.propose_updates(
- (
- "ich ziemlich genervt bin und dass ich in " # i18n-allow: reported transcript fixture
- "San Francisco wohne" # i18n-allow: reported residence transcript fixture
- ),
+ "In this fictional test, I live in Example City.",
"tool:wiki-ingest",
repo=FakeRepo(),
vault=FakeVault(),
@@ -442,7 +437,7 @@ async def test_direct_residence_falls_back_until_graph_is_bidirectional(
assert llm.provider_name == "openrouter"
assert {update.target_path.as_posix() for update in updates} == {
"entities/owner-profile.md",
- "entities/san-francisco.md",
+ "entities/example-city.md",
}
diff --git a/tests/unit/memory/wiki/test_wiki_intent.py b/tests/unit/memory/wiki/test_wiki_intent.py
index f881a9c19f..a6d7c1efc7 100644
--- a/tests/unit/memory/wiki/test_wiki_intent.py
+++ b/tests/unit/memory/wiki/test_wiki_intent.py
@@ -42,9 +42,9 @@ def test_inline_content_is_extracted(text, expected_fragment):
@pytest.mark.parametrize(("text", "expected_fragment"), [
(
- "Kannst du bitte mein Wiki-System eintragen, dass ich morgen nach " # i18n-allow
- "San Francisco reisen will?", # i18n-allow: production transcript under test
- "san francisco",
+ "Kannst du bitte mein Wiki-System eintragen, dass ich eine fiktive " # i18n-allow
+ "Reise nach Beispielstadt plane?", # i18n-allow
+ "beispielstadt",
),
(
"Kannst du bitte in mein Wikisystem eintragen, dass mein Zug um acht fährt?", # i18n-allow
@@ -100,28 +100,27 @@ def test_reported_obsidian_follow_up_resolves_locative_wiki_target() -> None:
prior = "Was steht in meiner Obsidian-Wiki drin?" # i18n-allow
match = match_wiki_intent(
(
- "Kannst du bitte einen Eintrag da eintragen, dass ich ziemlich " # i18n-allow
- "genervt bin und dass ich in San Francisco " # i18n-allow
- "wohne?" # i18n-allow: production transcript under test
+ "Kannst du bitte einen Eintrag da eintragen, dass ich im fiktiven " # i18n-allow
+ "Testszenario ruhig bin und dass ich in Beispielstadt wohne?" # i18n-allow
),
prior_text=prior,
)
assert match is not None
assert match.content is not None
- assert "genervt" in match.content
- assert "san francisco" in match.content
+ assert "testszenario" in match.content
+ assert "beispielstadt" in match.content
def test_entry_noun_before_explicit_wiki_target_is_control_syntax() -> None:
match = match_wiki_intent(
- "Kannst du bitte einen Eintrag in mein Wiki eintragen, dass ich " # i18n-allow
- "in San Francisco wohne?" # i18n-allow: production syntax under test
+ "Kannst du bitte einen Eintrag in mein Wiki eintragen, dass ich im " # i18n-allow
+ "fiktiven Testszenario in Beispielstadt wohne?" # i18n-allow
)
assert match is not None
assert match.content is not None
- assert match.content.startswith("ich in san francisco")
+ assert match.content.startswith("ich im fiktiven testszenario")
def test_locative_write_requires_immediate_wiki_context() -> None:
diff --git a/tests/unit/ui/web/test_wiki_routes.py b/tests/unit/ui/web/test_wiki_routes.py
index 6821d092c0..5821c2de00 100644
--- a/tests/unit/ui/web/test_wiki_routes.py
+++ b/tests/unit/ui/web/test_wiki_routes.py
@@ -82,25 +82,25 @@ def _write_page(
@pytest.fixture
def populated_vault(tmp_path: Path) -> Path:
- """Three-page vault: ruben -> harald, ruben -> pixel-art-editor."""
+ """Three-page vault with two synthetic entities and one project."""
vault = tmp_path / "vault"
_write_page(
vault,
"entities",
- "harald",
+ "example-parent",
page_type="entity",
body=(
- "# Harald\n\n## Summary\nHarald is a person born in 1976.\n\n"
- "## Facts\n- Born in 1976.\n"
+ "# Example Parent\n\n## Summary\nSynthetic fixture entity.\n\n"
+ "## Facts\n- Fixture marker alpha.\n"
),
)
_write_page(
vault,
"entities",
- "ruben",
+ "example-user",
page_type="entity",
body=(
- "# Ruben\n\n## Summary\nFather is [[harald]].\n\n"
+ "# Example User\n\n## Summary\nRelated to [[example-parent]].\n\n"
"## Facts\n- Working on [[pixel-art-editor]].\n"
"- Favorite food is Pizza (source: voice-fact:demo).\n"
),
@@ -220,12 +220,12 @@ def test_tree_with_three_pages_lists_files_and_counts(populated_vault: Path) ->
assert folders_by_name["concepts"]["count"] == 0
assert folders_by_name["sessions"]["count"] == 0
slugs = {f["slug"] for f in folders_by_name["entities"]["files"]}
- assert slugs == {"harald", "ruben"}
+ assert slugs == {"example-parent", "example-user"}
sample_file = folders_by_name["entities"]["files"][0]
assert "mtime" in sample_file and isinstance(sample_file["mtime"], float)
assert "size" in sample_file and sample_file["size"] > 0
assert body["stats"]["total_pages"] == 3
- # ruben has 2 outbound wikilinks (harald, pixel-art-editor)
+ # The example user has two outbound wikilinks.
assert body["stats"]["total_links"] >= 2
@@ -290,18 +290,18 @@ def test_tree_projects_all_visible_starter_vault_pages(
def test_page_happy_path_returns_frontmatter_body_wikilinks(populated_vault: Path) -> None:
app = _make_app(populated_vault)
with TestClient(app) as client:
- r = client.get("/api/wiki/page/ruben")
+ r = client.get("/api/wiki/page/example-user")
body = r.json()
assert body["ok"] is True
- assert body["slug"] == "ruben"
+ assert body["slug"] == "example-user"
assert body["kind"] == "entity"
assert body["frontmatter_valid"] is True
assert body["frontmatter"]["type"] == "entity"
- assert "Father is [[harald]]" in body["body_md"]
- assert set(body["wikilinks"]) == {"harald", "pixel-art-editor"}
+ assert "Related to [[example-parent]]" in body["body_md"]
+ assert set(body["wikilinks"]) == {"example-parent", "pixel-art-editor"}
assert body["stats"]["bytes"] > 0
assert body["stats"]["words"] > 0
- assert body["path"].endswith("entities/ruben.md")
+ assert body["path"].endswith("entities/example-user.md")
def test_page_unknown_slug_returns_not_found_envelope(populated_vault: Path) -> None:
@@ -361,10 +361,10 @@ def test_graph_with_linked_pages_produces_nodes_and_edges(populated_vault: Path)
body = r.json()
assert body["ok"] is True
node_ids = {n["id"] for n in body["nodes"]}
- assert node_ids == {"harald", "ruben", "pixel-art-editor"}
+ assert node_ids == {"example-parent", "example-user", "pixel-art-editor"}
edge_pairs = {(e["source"], e["target"]) for e in body["edges"]}
- assert ("ruben", "harald") in edge_pairs
- assert ("ruben", "pixel-art-editor") in edge_pairs
+ assert ("example-user", "example-parent") in edge_pairs
+ assert ("example-user", "pixel-art-editor") in edge_pairs
assert body["broken"] == []
# Edge contexts include the wikilink in question.
for edge in body["edges"]:
@@ -473,17 +473,17 @@ def test_template_placeholder_titles_fall_back_to_filename(tmp_path: Path) -> No
# ----------------------------------------------------------------------
-def test_backlinks_for_harald_includes_ruben_with_snippet(populated_vault: Path) -> None:
+def test_backlinks_for_example_parent_include_user_snippet(populated_vault: Path) -> None:
app = _make_app(populated_vault)
with TestClient(app) as client:
- r = client.get("/api/wiki/backlinks/harald")
+ r = client.get("/api/wiki/backlinks/example-parent")
body = r.json()
assert body["ok"] is True
- assert body["slug"] == "harald"
+ assert body["slug"] == "example-parent"
backlinks_by_slug = {b["slug"]: b for b in body["backlinks"]}
- assert "ruben" in backlinks_by_slug
- snippet = backlinks_by_slug["ruben"]["snippet"]
- assert "harald" in snippet.lower()
+ assert "example-user" in backlinks_by_slug
+ snippet = backlinks_by_slug["example-user"]["snippet"]
+ assert "example-parent" in snippet.lower()
def test_backlinks_for_unreferenced_slug_returns_empty_list(populated_vault: Path) -> None:
@@ -529,7 +529,7 @@ def test_search_happy_path_returns_scored_hits(
assert body["query"] == "pizza"
assert len(body["hits"]) >= 1
top_hit = body["hits"][0]
- assert top_hit["slug"] == "ruben"
+ assert top_hit["slug"] == "example-user"
assert 0.0 <= top_hit["score"] <= 1.0
assert top_hit["path"].endswith(".md")
assert "pizza" in top_hit["snippet"].lower()
@@ -551,12 +551,12 @@ def test_search_with_fts5_syntax_chars_is_sanitised(populated_vault: Path) -> No
with TestClient(app) as client:
r = client.get(
"/api/wiki/search",
- params={"q": 'pizza" AND (ruben*)'},
+ params={"q": 'pizza" AND (example-user*)'},
)
body = r.json()
assert r.status_code == 200
assert body["ok"] is True
- assert body["query"] == "pizza AND ruben"
+ assert body["query"] == "pizza AND example-user"
def test_search_k_parameter_caps_results(populated_vault: Path) -> None:
@@ -592,7 +592,7 @@ def test_ingest_writes_through_shared_curator_service(
response = client.post(
"/api/wiki/ingest",
json={
- "text": "The user will travel to San Francisco tomorrow.",
+ "text": "The fictional user will travel to Example City tomorrow.",
"source": "test:explicit",
},
)
@@ -608,7 +608,7 @@ def test_ingest_writes_through_shared_curator_service(
"pages_touched": ["traveler.md"],
}
assert curator.calls == [
- ("The user will travel to San Francisco tomorrow.", "test:explicit")
+ ("The fictional user will travel to Example City tomorrow.", "test:explicit")
]
@@ -1011,7 +1011,7 @@ def test_reindex_replaces_stale_rows_with_active_vault(
finally:
conn.close()
assert "entities/stale.md" not in paths
- assert "entities/ruben.md" in paths
+ assert "entities/example-user.md" in paths
# ----------------------------------------------------------------------
@@ -1107,9 +1107,9 @@ def test_health_restores_last_write_and_backlog_from_journal(tmp_path: Path) ->
_write_page(
vault,
"entities",
- "ruben",
+ "example-user",
page_type="entity",
- body="# Ruben\n",
+ body="# Example User\n",
)
app = _make_app(vault)
db_path = app.state.config.memory.data_dir / "jarvis.db"
@@ -1123,7 +1123,7 @@ def test_health_restores_last_write_and_backlog_from_journal(tmp_path: Path) ->
[1],
status="consolidated",
decision="add",
- target_path="entities/ruben.md",
+ target_path="entities/example-user.md",
)
assert journal.append(
[CandidateFact(fact="A pending fact")],
@@ -1150,7 +1150,7 @@ def test_health_restores_last_write_and_backlog_from_journal(tmp_path: Path) ->
health = body["health"]
assert health["journal_backlog"] == 1
- assert health["last_write"]["pages"] == ["entities/ruben.md"]
+ assert health["last_write"]["pages"] == ["entities/example-user.md"]
assert health["vault_pages"] == 1
assert health["missing_pages"] == 1
assert health["orphaned_pages"] == 0