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 f7a43c19fd Soul s1 fixes: private Blender env enforced, whole floats for integers, validate never raises, parent loops refused, timeout says queued or claimed
- Every live script that installs or enables the extension refuses to run unless BLENDER_USER_CONFIG, BLENDER_USER_EXTENSIONS and BLENDER_USER_SCRIPTS are set and Blender's extensions folder is the one named (Blender 5.3 ignores BLENDER_USER_RESOURCE_PATH); every other live script and install.md say so; the stale docstrings are corrected.
- validate returns integer fields as int (1920.0 reaches Blender as 1920); five fixture cases added for both validators.
- validate sorts unknown keys by str, so a document with mixed key types is a denied receipt, not a raise after the claim; pinned with hostile documents and through the drain.
- setObjectParent refuses a parent that is the object or one of its own children before any undo step.
- brokkr-ctl on timeout prints whether the intent is still queued (not run) or was claimed with no receipt (may or may not have run); group help says so.
- live action_table re-run: 205 of 205, renderStill sample sends 8.0.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 03:44:05 +01:00
.voidbot Add Eddic voice pressure to Brokkr Persona 2026-06-12 18:49:00 +01:00
brokkr-command Brokkr C#: snapshot lists as whole values; C# pin to CultLib 9fc4bdda; snapshots reach disk again (#18) 2026-11-28 01:31:36 +00:00
brokkr-contracts Pin CultLib 2.0.0 for builds 2026-10-22 19:46:07 +02:00
brokkr-contracts.Tests Brokkr C#: snapshot lists as whole values; C# pin to CultLib 9fc4bdda; snapshots reach disk again (#18) 2026-11-28 01:31:36 +00:00
brokkr-ctl Soul s1 fixes: private Blender env enforced, whole floats for integers, validate never raises, parent loops refused, timeout says queued or claimed 2026-11-28 03:44:05 +01:00
brokkr-daemon Blender add-on: glTF export checked against real Blender, atomic export, a render refusal that holds (#17) 2026-11-28 01:13:22 +00:00
docs Action table: live proof in GUI Blender 5.3, live tests on the declared field names, docs point at the table 2026-11-28 03:06:25 +01:00
schemas Brokkr advertisement: drop Eve surface URIs and eve.*.publish capabilities; Eve is deprecated 2026-10-22 20:14:59 +02:00
surfaces Soul s1 fixes: private Blender env enforced, whole floats for integers, validate never raises, parent loops refused, timeout says queued or claimed 2026-11-28 03:44:05 +01:00
tools Wheel METADATA is the published file's bytes (rebuild, new sha256); a real unlinkSockets removal pins one undo step 2026-11-27 21:31:30 +01:00
.gitignore Add BrokkrCommandLedger, the pending-intent rule, with its test project 2026-09-29 14:03:41 +02:00
Cargo.lock CultLib pins to 9fc4bdda; one pure-Python msgpack wheel, no platform restriction 2026-11-27 21:04:46 +01:00
Cargo.toml CultLib pins to 9fc4bdda; one pure-Python msgpack wheel, no platform restriction 2026-11-27 21:04:46 +01:00
Directory.Build.props Brokkr C#: snapshot lists as whole values; C# pin to CultLib 9fc4bdda; snapshots reach disk again (#18) 2026-11-28 01:31:36 +00:00
Directory.Build.targets Brokkr C#: snapshot lists as whole values; C# pin to CultLib 9fc4bdda; snapshots reach disk again (#18) 2026-11-28 01:31:36 +00:00
README.md Blender: cut the debug-mirror JSON intent door; one admission shape fix 2026-11-27 20:30:20 +01: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, and commands 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 is deprecated and Thing 2 is its successor; Brokkr advertises no dashboard surface meanwhile (see the provider contract).
  • 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 an optional debug export probes.
  • brokkr-command: .NET CLI that writes one Unity command intent through the project's directory store and reports the editor's receipt (docs/provider-contract.md).
  • 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.

Building against CultLib

Builds are pinned to CultLib 2.0.0 (tag cultlib-unity-v2.0.0, revision 42dce3611a81adc5c5fac54cadbaa5637d6022d3); the build fails if the CultLib checkout differs or is dirty. Create a pinned worktree and point the build at it:

git -C <CultLib> worktree add --detach <path> cultlib-unity-v2.0.0
dotnet build -p:CultLibRoot=<path>   # or set CULTLIB_ROOT=<path>

Without an override the sibling ..\CultLib checkout is used and must itself be at that tag.