Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

Merge remote-tracking branch 'origin/master' into gbra133-commit-push-fixtext

garrytan82163a3b657a
diff --cc src/core/behavior-change-notice.ts
index c2836dbcc3,ad6cf1f0f5..99f864cdbd
--- a/src/core/behavior-change-notice.ts
+++ b/src/core/behavior-change-notice.ts
@@@ -1246,7 -1246,10 +1246,11 @@@ export const BEHAVIOR_CHANGES: Readonly
{ since: '0.60.437.0', text: 'A chat-connector cookie or token holding a line break, NUL, another control character or a non-ASCII character is refused before any request (`invalid_header_value`): `connectors auth` reports it and `connectors sync` returns `auth_required` with that hint and stamps the auth error. A request that fails before a response is reported by its error code (`ECONNREFUSED`, `TypeError`), never by the runtime\'s message, so a header value can never be echoed into probe output, sync hints or logs (#7483).' },
// GBRA-133 G2 (superseded remote blobs). `since` is stamped at the merge slot.
{ since: '0.60.438.0', text: '`gbrain git commit-push` now keeps this machine\'s version of a file the remote changed back to a version this checkout already had at that path and later replaced (a stale clone or writer pushing an old copy, often inside a merge), instead of stopping with `integrate_conflict`. It reads the last 200 commits that changed the file. The push lists those files in `superseded_remote_paths` and the merge message names them. A version this checkout never had, a remote deletion and a file named with `--resolve` still conflict; when both kinds meet, `integrate_conflict` lists only the real conflicts and `detail.superseded` names the others.' },
+ // GBRA-60 G5 (authored writes get a markdown form). `since` is stamped at the merge slot.
+ { since: '0.60.441.0', text: 'On a managed brain, `add_link` and `remove_link` now edit a `## Links` table in the page\'s Markdown (one row per target, type and source, between `<!--- gbrain:links:begin -->` and `end` markers) through the page-mutation door, and the edge in the database is derived from that row, so a manual edge survives a rebuild from Git. Calling `add_link` again on an existing row without `context` or dates keeps the stored ones. Manual edges recorded before this release stay in the database as they were. Unmanaged brains are unchanged.' },
+ { since: '0.60.441.0', text: 'On a managed brain, `remove_link` no longer deletes an edge that the page\'s own text creates (a link, wikilink or frontmatter field): it keeps it and returns `derived_from_text` with a message saying to edit the page text (`edit_page`) instead.' },
+ { since: '0.60.441.0', text: 'On a managed brain, `extract_entities` writes the entity\'s timeline bullet into the entity page\'s Markdown through the page door, and the backlink to the source page is the link inside that bullet rather than a database-only edge.' },
+ { since: 'TBD', text: '`gbrain git commit-push` takes `-m` more than once, like `git commit`: each `-m` is a new paragraph of the message (a second `-m` carries a trailer). With `--path <dir>` below the checkout top, the paths after `--` are now relative to `<dir>` (like `git -C`), as its help said; they used to be read relative to the checkout top. The commit step that `gbrain repair frontmatter`, `gbrain repair content`, `gbrain repair file-drift` and the legacy fence repair (`gbrain sources status`, doctor `fence_integrity`) print for a legacy source is now `gbrain git commit-push --path <root> -m <subject> [-m <trailer>] -- <paths>`, which takes the writer lock, commits only those paths, merges remote commits and pushes, instead of a bare `git add` plus `git commit` (the frontmatter step named no paths on its commit, so it also committed anything else staged). In a checkout with no Git remote at all (none configured and the branch names none), `gbrain git commit-push -m <msg> -- <paths>` now commits the named paths locally under the commit lock (outcome `committed_local` with `no_remote: true`, exit 0) and says nothing was pushed; it used to refuse `git_unavailable` and commit nothing. `--push-only`, `--pending`, `--branch`, `--resolve`/`--expect-remote` and `--require-clean` are refused there (`commit_paths_invalid`), and a branch that names a missing remote still refuses `git_unavailable`.' },
];
/** The newest disclosed change's release: the notice id moves only when a release adds rows. */