Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
gbrain setup --serves several now makes a company brain that is safe to share: it names an owner, gives each member a key that reads the company pages, and asks before it shares a personal brain's history.
Changed
gbrain setup <harness> --serves severalnames the brain owner when the brain has none:--owner <id>, or by default your login name as a member id. The preview shows it first, an owner already set is kept, and the receipt lists each live key or OAuth client bound to no member with thegbrain auth rescopecommand that binds it.- Member keys that setup mints read a fixed list of sources. The list holds the run's source, the
companysource when it exists, and every source federated at mint time. Members read the company pages and imported calls without federatingcompany. A setup re-run adds sources to such a key and never removes one; keys minted before this release are not changed. gbrain auth create <name> --member <id>without--scopesmints a key with read and write only, not admin. Pass--scopes read,write,adminfor the old full access.- On a brain that serves one person and already holds pages no rule restricts (a journal, DMs, chat, mail, the conversation archive),
--serves severalrefuses withsetup_history_choice_requiredand writes nothing. It names how many pages members would read and suggests two commands:--labelled-onlykeeps that history private, and--open-historylets every member read it. It also refuses when it cannot count those pages. The suggested--labelled-onlycommand leaves out the brain's owner, who reads the whole brain, and pins--owner.
Added
--open-historyongbrain setup. On a brain with the company source, a--labelled-onlyrun adds one folder rule,company/in sourcecompany, readable by the owner and the members, so they still read the company pages. A re-run adds new members to that rule and waits forgbrain access apply, because it widens the rule.- The layout's readers line now names who actually reads imported calls on a shared brain.