Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

chore(release): PR4 as v0.60.102.0: migration note, behavior row and CHANGELOG header (#6188)

garrytan79c2a6ab0891
diff --git a/skills/migrations/v0.60.101.0.md b/skills/migrations/v0.60.102.0.md
similarity index 99%
rename from skills/migrations/v0.60.101.0.md
rename to skills/migrations/v0.60.102.0.md
index 7e56d65b43..21916fd8cb 100644
--- a/skills/migrations/v0.60.101.0.md
+++ b/skills/migrations/v0.60.102.0.md
@@ -1,4 +1,4 @@
-# Upgrade to v0.60.101.0: malformed facts and takes fences repair themselves
+# Upgrade to v0.60.102.0: malformed facts and takes fences repair themselves
Since v0.60.98.0 a facts or takes fence gbrain cannot import is **held**
instead of blocking a sync, and since v0.60.99.0 a fence with one exact
diff --git a/skills/skills.lock.json b/skills/skills.lock.json
index 8ac2bcd39b..3c5f530071 100644
--- a/skills/skills.lock.json
+++ b/skills/skills.lock.json
@@ -153,7 +153,7 @@
"migrations/v0.59.10.0.md": "e0268a05ab184d5518f88747313e772629b2af91db59eacbba728f2ebd9db3cd",
"migrations/v0.59.2.0.md": "b6d61af8ef48c154a26e8d427dd6f6570e99efb82b891728426046eea493247b",
"migrations/v0.60.100.0.md": "63583a73e957c5421bb826f2be48ac1aafaaa994392c1a05f26d1516b48c8573",
- "migrations/v0.60.101.0.md": "4ee7e2929f8d4545e3adf40ef662aa0cca6b56d81e49cd3814d3c40834955e5d",
+ "migrations/v0.60.102.0.md": "b17c49ec53283eb8374f26cfdcb39a7847703a30a276d3b3d2b33b1441a0cb3f",
"migrations/v0.60.11.0.md": "1e503113f591c5cd142b78ab4472bbdbceb890c6cbac2fbdf8aa61cd087200b8",
"migrations/v0.60.20.0.md": "9266863a9f76164c64a72b1be17b8ddb3bb97e1c3c5db9f666b69ebc7a228fdd",
"migrations/v0.60.26.0.md": "30d761ef5a2361bad66053f97b7b659304a591274be33e281f4f6df0d7d5566e",
diff --git a/src/core/behavior-change-notice.ts b/src/core/behavior-change-notice.ts
index 40484936d7..755a95a145 100644
--- a/src/core/behavior-change-notice.ts
+++ b/src/core/behavior-change-notice.ts
@@ -259,7 +259,7 @@ export const BEHAVIOR_CHANGES: ReadonlyArray<{ since: string; text: ChangeText }
{ since: '0.60.98.0', text: 'Managed sync now holds a file whose facts or takes fence cannot be imported (code `invalid_fence`; `gbrain sources status <id>` names the fence, section and rows) instead of blocking the whole source, and a source such a fence blocked before recovers on its next sync. Coordinated writes refuse such a fence with `invalid_fence` (wire `error` stays `invalid_params`, or `take_row_collision`). `gbrain config set sync.holds fail` keeps fail-closed blocking.' },
{ since: '0.60.99.0', text: 'Fixable facts and takes fences are now rewritten instead of held or refused: managed sync, put_page and the fact and take writers normalize a fence whose meaning is unambiguous (a missing end marker after the table, two-dash takes markers, zero or duplicate row numbers, header aliases, invented kinds and enum synonyms, assistant holders, percent confidences) without changing a claim or an existing row number, and managed sync commits the rewritten file. Results report `fences_normalized`; `gbrain sync --dry-run` lists `would_normalize`. `gbrain config set fences.normalize false` turns it off (such fences are then held or refused).' },
{ since: '0.60.100.0', text: '`gbrain doctor` has a new `fence_integrity` check: it counts malformed facts and takes fences still waiting (held files, stored pages, unsynced checkout files) by the tier that would fix them, and warns when a source had 20 or more fences normalized in 7 days. Each doctor run scans stored pages and source checkouts for up to 10 seconds (`GBRAIN_DOCTOR_FENCE_TIMEOUT_MS`) and resumes where it stopped; until a scan finishes the check reports partial instead of ok. New settings `fences.repair.max_usd_per_page` (0.05) and `fences.repair.max_usd_per_day` (1.00) cap model fence repair.' },
- { since: '0.60.101.0', text: `Malformed facts and takes fences are now repaired automatically: the maintenance run repairs held files and stored pages on the owner host, and its first run after upgrading repairs every malformed fence it finds in each source, rewriting and committing those files (\`gbrain doctor --only fence_integrity\` counts them; \`gbrain repair fences\` previews the plan). A fence only a rewrite can realign sends just its header and those rows, never the rest of the page, to the repair model, within $0.30 per page and $1.00 per day (\`fences.repair.max_usd_per_page\`, \`fences.repair.max_usd_per_day\`); every rewrite passes validation gates before it is written. With \`models.fence_repair\` unset, the repair model is the first model the fence-repair eval measured as accurate enough that has a provider key on the brain host (\`gbrain models\` names it); with none, model repair stays off until the user sets \`models.fence_repair\`. ${FENCE_REPAIR_MEASURED} \`gbrain config set fences.repair.llm false\` keeps fence rows away from the model; \`gbrain config set fences.repair.enabled false\` pauses automatic repair. On a managed source each repaired file is committed, so \`git revert\` undoes it (page history keeps the earlier version); turning these settings off stops future repairs and does not undo past ones.` },
+ { since: '0.60.102.0', text: `Malformed facts and takes fences are now repaired automatically: the maintenance run repairs held files and stored pages on the owner host, and its first run after upgrading repairs every malformed fence it finds in each source, rewriting and committing those files (\`gbrain doctor --only fence_integrity\` counts them; \`gbrain repair fences\` previews the plan). A fence only a rewrite can realign sends just its header and those rows, never the rest of the page, to the repair model, within $0.30 per page and $1.00 per day (\`fences.repair.max_usd_per_page\`, \`fences.repair.max_usd_per_day\`); every rewrite passes validation gates before it is written. With \`models.fence_repair\` unset, the repair model is the first model the fence-repair eval measured as accurate enough that has a provider key on the brain host (\`gbrain models\` names it); with none, model repair stays off until the user sets \`models.fence_repair\`. ${FENCE_REPAIR_MEASURED} \`gbrain config set fences.repair.llm false\` keeps fence rows away from the model; \`gbrain config set fences.repair.enabled false\` pauses automatic repair. On a managed source each repaired file is committed, so \`git revert\` undoes it (page history keeps the earlier version); turning these settings off stops future repairs and does not undo past ones.` },
];
/** The newest disclosed change's release: the notice id moves only when a release adds rows. */
diff --git a/test/fence-docs-config-commands.test.ts b/test/fence-docs-config-commands.test.ts
index c315c7c053..9ede393584 100644
--- a/test/fence-docs-config-commands.test.ts
+++ b/test/fence-docs-config-commands.test.ts
@@ -2,7 +2,7 @@
* Printed fence settings commands are real (#6188 D29).
*
* Protects: every `gbrain config set fences.* <value>` command that the fence
- * docs, the v0.60.101.0 migration note, the behavior-change rows and the fence
+ * docs, the v0.60.102.0 migration note, the behavior-change rows and the fence
* reason fixes print names a registered key with a value `config set`
* accepts, and the three opt-outs (`fences.normalize`, `fences.repair.enabled`,
* `fences.repair.llm` set false) are printed where an agent upgrading a brain
@@ -22,7 +22,7 @@ import { FENCE_CONFIG_KEYS, validateFenceConfigValue } from '../src/core/fence-r
import { FENCE_REASON_CODES, FENCE_REASONS } from '../src/core/fence-repair/reasons.ts';
const ROOT = join(import.meta.dir, '..');
-const MIGRATION_NOTE = 'skills/migrations/v0.60.101.0.md';
+const MIGRATION_NOTE = 'skills/migrations/v0.60.102.0.md';
const DOCS = [
'AGENTS.md', MIGRATION_NOTE, 'docs/guides/fence-format.md', 'docs/guides/write-refusals.md', 'docs/guides/live-sync.md',
'docs/guides/troubleshooting.md', 'docs/guides/repair.md', 'docs/operations/spend-controls.md',