No description
  • Python 57.7%
  • C# 20.4%
  • Rust 19.9%
  • C++ 1%
  • PowerShell 1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 1e46483fe5 A3: brokkr-command, the caller CLI, with every intent field and a real CultLib root
Re-landed from the donor as a fresh file (read with git show, not merged).
Changes from the donor: the CultLibRoot default is ..\..\CultLib instead of a
directory that does not exist; every field of brokkr.unity.command_intent.v0
has a --kebab option (the donor mapped six of seventeen), and unknown options
are refused before anything is written; keys come from BrokkrCommandLedger;
exit is 0 accepted, 1 other receipt, 2 usage error or timeout; readHost opens
the store read-only and prints the agent-commands flag; a timeout says when
the editor reports the sink off. The intent gains the capture fields at keys
13-16, which the CLI needs and A4's executor will read.

Tests run the built CLI as a process against the editor probe: field mapping,
fresh id per invocation, exit code from the receipt, timeout leaves only the
intent, unknown option writes nothing, and every action name reaches the
editor once with one receipt.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-29 14:26:23 +02:00
.voidbot Add Eddic voice pressure to Brokkr Persona 2026-06-12 18:49:00 +01:00
brokkr-command A3: brokkr-command, the caller CLI, with every intent field and a real CultLib root 2026-09-29 14:26:23 +02:00
brokkr-contracts Add BrokkrCommandLedger, the pending-intent rule, with its test project 2026-09-29 14:03:41 +02:00
brokkr-contracts.Tests A3: brokkr-command, the caller CLI, with every intent field and a real CultLib root 2026-09-29 14:26:23 +02:00
brokkr-daemon Point brokkr-daemon at CultLib's cultcache-rs instead of the standalone repo 2026-09-13 14:33:42 +02:00
docs A3: brokkr-command, the caller CLI, with every intent field and a real CultLib root 2026-09-29 14:26:23 +02:00
schemas Initial Brokkr scaffold 2026-06-12 11:57:33 +01:00
surfaces A3: brokkr-command, the caller CLI, with every intent field and a real CultLib root 2026-09-29 14:26:23 +02:00
tools Cut the stale README and check.ps1 claims 2026-09-29 13:50:45 +02:00
.gitignore Add BrokkrCommandLedger, the pending-intent rule, with its test project 2026-09-29 14:03:41 +02:00
Cargo.lock Point brokkr-daemon at CultLib's cultcache-rs instead of the standalone repo 2026-09-13 14:33:42 +02:00
Cargo.toml Initial Brokkr scaffold 2026-06-12 11:57:33 +01:00
README.md Cut the stale README and check.ps1 claims 2026-09-29 13:50:45 +02:00

Brokkr

Brokkr is the GameCult creative-tool broker daemon: a CultMesh service that lets Unity, Blender, and future editor runtimes expose their live authoring surfaces to the Verse without pretending those runtimes are the same machine.

The name earns its keep twice. Brokkr is the dwarf at the forge bellows in the Eddic treasure contest, holding the work steady while the artifact takes shape. Brokkr is also the broker: the daemon that routes typed editor observations, capabilities, commands, and Eve/CultUI surfaces between tool runtimes and the Verse.

Authority

  • Brokkr owns the broker contract, provider advertisement, routing policy, and typed command receipts.
  • Unity owns Unity editor truth: scenes, assets, selection, play mode, imports, build settings, and editor-side side effects.
  • Blender owns Blender editor truth: scenes, objects, assets, operators, add-ons, render settings, and editor-side side effects.
  • Eve owns rendering of Brokkr surfaces.
  • Odin owns discovery of Brokkr as a Verse provider.
  • CultCache owns durable .cc witnesses and command receipts.

Plugins are adapters. They do not own Verse state. They connect their host editor to Brokkr, publish editor observations, and execute admitted commands from the broker.

Surfaces

  • surfaces/unity/Packages/com.gamecult.brokkr: Unity editor package scaffold.
  • surfaces/blender/brokkr_bridge: Blender add-on target backed by CultLib's Python CultMesh node/server, with optional debug export/import probes.
  • brokkr-daemon: Rust CLI that emits Brokkr's provider advertisement and command policy and runs the Unity/Blender sync pass.

First Smoke

cargo run -p brokkr-daemon -- provider

The first smoke prints the typed provider advertisement. That is deliberately small: discovery shape first, live sockets second.

Sync Contract

cargo run -p brokkr-daemon -- sync-contract

The sync contract advertises Brokkr-owned sessions, object bindings, sync vars, timeline bindings, and receipts. Unity and Blender editor plugins publish those documents through CultMesh so a daemon sync loop can translate them into host-owned command intents without stealing scene truth.

Commands

brokkr-daemon is a command-line tool over cache files, not a running service. It has four subcommands:

  • provider (alias smoke): print the provider advertisement.
  • sync-contract: print the sync contract.
  • sync-once --unity-cache PATH --blender-cache PATH [--dry-run]: run one sync pass between the two editor caches.
  • sync-loop --unity-cache PATH --blender-cache PATH [--interval-ms N] [--max-passes N] [--dry-run]: repeat the sync pass.

Unity Install

Add the Unity package by local path, alongside org.gamecult.cultlib (see surfaces/unity/README.md):

"com.gamecult.brokkr": "file:F:/Projects/Brokkr/surfaces/unity/Packages/com.gamecult.brokkr"

Then open GameCult > Brokkr in Unity. The window mirrors editor state to a CultMesh cache file in the project.