Time a personal reminder
Navigation quality, TypeScript SDK example and recorded choice for the personal benchmark.
KPI · Probability of same-day completion minus interruption cost (0.10 now, 0.02 digest, zero silent).

After 1,000 navigations per World
Spacefolder chose the highest-value action on 96 of 96 held-out navigations.
| Approach | Expected utility | Score / 100 |
|---|---|---|
| Spacefolder | 0.838 | 100.00 |
| Vector search + SQL for matching situations¹ | 0.838 | 100.00 |
| SQL for all situations¹ | 0.737 | 69.71 |
| First listed action | 0.618 | 44.79 |
| Ground truth | 0.838 | 100.00 |
¹ Stack analogies. The replay averaged each action’s outcomes in memory, grouping by exact situation for the first baseline and pooling all situations for the second.
TypeScript SDK example
import { SpacefolderClient } from "@spacefolder/sdk";
const sf = new SpacefolderClient();
const navigation = await sf.navigate({
nav_id: crypto.randomUUID(),
world_id: "personal_example",
entity_type: "task_attempt",
entity_id: "personal-001",
context: { scene: "In focus time; digest before deadline" },
actions: {
notify_now: {"name": "personal.action", "data": {"choice": "notify_now"}},
digest: {"name": "personal.action", "data": {"choice": "digest"}},
silent: {"name": "personal.action", "data": {"choice": "silent"}},
},
predictions: {
completed: {"event": "task.completed", "horizon": "1d"},
},
});
const cost = { notify_now: 0.10, digest: 0.02, silent: 0 };
let chosen: string | undefined;
let best = -Infinity;
for (const action of ["notify_now", "digest", "silent"] as const) {
const completed = navigation.actions?.[action]?.predictions.completed;
if (!completed || !("probability" in completed) || typeof completed.probability !== "number") continue;
const utility = completed.probability - cost[action];
if (utility > best) {
best = utility;
chosen = action;
}
}
console.log(JSON.stringify({ chosen }, null, 2));
Example output
In focus time; digest before deadline
{
"chosen": "digest"
}
Honor the user’s permitted notification windows. Record the selected delivery or silence and follow the task through its one-day completion window.