@ouro.bot/cli 0.1.0-alpha.267 → 0.1.0-alpha.269
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.json +12 -0
- package/dist/heart/identity.js +8 -0
- package/dist/mind/prompt.js +5 -6
- package/package.json +1 -1
package/changelog.json
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_note": "This changelog is maintained as part of the PR/version-bump workflow. Agent-curated, not auto-generated. Agents read this file directly via read_file to understand what changed between versions.",
|
|
3
3
|
"versions": [
|
|
4
|
+
{
|
|
5
|
+
"version": "0.1.0-alpha.269",
|
|
6
|
+
"changes": [
|
|
7
|
+
"fix(prompt): revert alpha.267 over-engineering and correct the two targeted additions. The existing contextSection already contained the 'save to disk or lose it' teaching ('my conversation memory is ephemeral -- it resets between sessions. anything i learn about my friend, i save with save_friend_note so future me remembers.'), and toolContractsSection already told agents to call save_friend_note/diary_write before responding. alpha.267 added a third block in memoryJudgementSection about 'not just remembering between sessions' which was redundant and misplaced (memoryJudgementSection sits under 'my tools & capabilities' alongside tool routing heuristics, not nature-of-self content). That block is reverted. What alpha.267 got right and this PR keeps: (a) bodyMapSection guidance that standard folders are a floor, not a ceiling — bundles can have custom top-level folders (slugger's travel/ was the motivating example) — with a nudge to try the file-listing tool on the bundle root BEFORE falling back to recall, and (b) a diary-routing bullet that flags bundle-layout discoveries as worth persisting. Both had errors corrected here: alpha.267 told agents to use `list_directory` but the actual tool is `glob` (with a pattern like `*/`), and it said 'write a diary note like bundle-layout.md' but diary/ is a jsonl fact store queried via recall, not a directory of .md files — the corrected bullet says 'save the fact with diary_write'."
|
|
8
|
+
]
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"version": "0.1.0-alpha.268",
|
|
12
|
+
"changes": [
|
|
13
|
+
"fix(identity): `loadAgentConfig` now preserves the `sync` block from agent.json. The hand-rolled object literal that constructs the typed `AgentConfig` was missing `sync` from its field list, so `agentConfig.sync` was always `undefined`, `getSyncConfig()` always returned `enabled: false`, and the entire sync code path (`preTurnPull` / `postTurnPush` in `pipeline.ts`) was dead from the moment the field was added to the type. The bug hid for weeks because `ouro status` reads `agent.json` directly via `listBundleSyncRows`, not through `loadAgentConfig` — so the per-agent Git Sync display correctly showed `enabled origin → ...` while sync did literally nothing. Slugger accumulated 5+ days of dirty files and zero `sync: post-turn update` commits before this surfaced. Also adds 3 regression tests asserting the sync block round-trips through `loadAgentConfig` (full block, partial block, missing block). The first two would have caught the original bug; without them future field additions to `AgentConfig` could repeat the pattern."
|
|
14
|
+
]
|
|
15
|
+
},
|
|
4
16
|
{
|
|
5
17
|
"version": "0.1.0-alpha.267",
|
|
6
18
|
"changes": [
|
package/dist/heart/identity.js
CHANGED
|
@@ -416,6 +416,14 @@ function loadAgentConfig() {
|
|
|
416
416
|
mcpServers: parsed.mcpServers,
|
|
417
417
|
phrases: parsed.phrases,
|
|
418
418
|
vault: parsed.vault,
|
|
419
|
+
// The sync block was missing from this hand-rolled object literal since
|
|
420
|
+
// it was added to AgentConfig. Result: `getSyncConfig()` always read
|
|
421
|
+
// `agentConfig.sync?.enabled ?? false` and always saw undefined, so the
|
|
422
|
+
// entire sync code path (preTurnPull / postTurnPush in pipeline.ts) was
|
|
423
|
+
// dead. The `ouro status` per-agent Git Sync display kept reporting
|
|
424
|
+
// "enabled" because it reads agent.json directly via `listBundleSyncRows`,
|
|
425
|
+
// not through loadAgentConfig — so the bug hid in plain sight for weeks.
|
|
426
|
+
sync: parsed.sync,
|
|
419
427
|
};
|
|
420
428
|
(0, runtime_1.emitNervesEvent)({
|
|
421
429
|
event: "identity.resolve",
|
package/dist/mind/prompt.js
CHANGED
|
@@ -186,9 +186,10 @@ domain-specific notebooks, reference material, project scratch, etc.). i do
|
|
|
186
186
|
NOT automatically know about them — this prompt only lists the standard set.
|
|
187
187
|
if a friend mentions "the file we have for X" or implies a location i don't
|
|
188
188
|
recognize, the answer is almost never buried in diary/journal. it's almost
|
|
189
|
-
always a custom folder at the root of my home. \`
|
|
190
|
-
of my home BEFORE reaching for \`recall\` — my
|
|
191
|
-
to observe and i should trust what i see, not
|
|
189
|
+
always a custom folder at the root of my home. use \`glob\` with a pattern
|
|
190
|
+
like \`*/\` against the root of my home BEFORE reaching for \`recall\` — my
|
|
191
|
+
own bundle layout is cheap to observe and i should trust what i see, not
|
|
192
|
+
what i think i know.
|
|
192
193
|
|
|
193
194
|
my home is mine to explore and evolve. i can read anything here,
|
|
194
195
|
change anything here. this is where i grow.
|
|
@@ -480,8 +481,6 @@ function toolContractsSection(options) {
|
|
|
480
481
|
function memoryJudgementSection() {
|
|
481
482
|
return `## memory judgement
|
|
482
483
|
|
|
483
|
-
i do not "just remember" anything between sessions -- not conversations, not facts about my friend, not the layout of my own bundle, not "lessons learned" in the current turn. next session i will be a blank slate carrying only (a) this prompt, (b) what's written to disk, (c) what i observe via tools this turn. when i catch myself thinking "i should know this next time" or "i'll look there first in the future" or "i won't make that mistake again", that is a CUE to write something concrete to disk RIGHT NOW -- a diary entry, a friend note, a pointer file future me will actually read. a resolution to "be more careful next time" changes nothing. future me cannot inherit resolutions, only files.
|
|
484
|
-
|
|
485
484
|
save a friend note when i learn something about a specific person that should change how i work with them again.
|
|
486
485
|
- preferences
|
|
487
486
|
- workflow expectations
|
|
@@ -494,7 +493,7 @@ write to diary when i learn something durable about the system, codebase, workfl
|
|
|
494
493
|
- review lessons
|
|
495
494
|
- continuity patterns
|
|
496
495
|
- coding workflow truths
|
|
497
|
-
-
|
|
496
|
+
- facts about my own bundle layout -- custom folders, where specific kinds of notes live, anything that differs from the standard home map. if i just discovered that "X lives in folder Y" and i'd be likely to re-search for it later, save the fact with diary_write so recall can surface it later instead of re-deriving it.
|
|
498
497
|
|
|
499
498
|
keep it ephemeral when it is only useful for the current turn or current local execution state.
|
|
500
499
|
- temporary branch names unless they matter beyond the task
|