Commit graph

140 commits

Author SHA1 Message Date
Meta Vens
cf627e950b Blender add-on: exportGltf stages and never overwrites, render GL refusal probes a real render, meshType refused off MESH
exportGltf writes into a staging folder and moves files into place, refusing any taken name
(textures included); a failed export leaves nothing and the name is retryable. The headless GL
refusal renders one pixel in a child Blender instead of loading libEGL. meshType on a non-MESH
objectType is refused. Live scripts for both run on Blender 5.3.0; docs and the preference text
now name exportGltf. The symlink test skips when the OS denies symlinks.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 01:58:11 +01:00
Meta Vens
adbe4dcdd6 brokkr-daemon: test that an inactive Unity object syncs as hidden (kills visible-hardcoded-true)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 01:53:20 +01:00
adfda2841a Merge pull request 'Perception: look, Edit Mode selection, human-edit counters' (#16) from nibu/live-5-perception into main 2026-11-27 22:11:29 +00:00
Meta Vens
270b596f05 Perception fixes: live proof (minimised look, coarse flags, 1M-vertex read) and the contract in the docs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 22:57:02 +01:00
Meta Vens
1286ad8fc4 Perception fixes: offscreen look when Blender is not drawing, scene update sequence and capture source in the receipt, selection totals from the mesh and a capped scan, coarse attribution flagged, path re-check and prune pinned
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 22:54:35 +01:00
Meta Vens
bbe5176ca2 Perception: live proof in a stock Blender 5.3 through brokkr-ctl, and the look contract in the docs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 22:25:50 +01:00
Meta Vens
5fcc890021 brokkr-ctl blender look: send look, print the receipt's lookPath, selection and edits since the last look
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 22:19:53 +01:00
Meta Vens
54478cd0ad Perception: look captures her 3D view to a scratch PNG; the snapshot carries Edit Mode selection, a session id and human-edit sequences
look is a read action under run_intent (no undo step, allowed in Edit Mode). It overrides screenshot_area to the largest
VIEW_3D area's WINDOW region, writes <output_dir>/look/<commandId>.png and prunes to the newest 20. Human-edit tracking is
always on and separate from auto_capture; nothing admits or refuses an intent on it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 22:19:53 +01:00
c2b898370f Merge pull request 'Stop agents and presence: stopped receipts, sink-off answers, agents panel' (#15) from nibu/live-3-stop-presence into main 2026-11-27 21:09:06 +00:00
Meta Vens
6c2da2f534 Stop: the timer opens the node when the sink is on or a store already exists; an idle session makes no store
Soul s2 node-gate-unpinned-sink-on: in a default install nothing opened the node, so the sink-on drain never
started and a sink-off send got no answer. Live harness now starts from a default install with no snapshot
published, and a second Blender on the same store proves the sink-off, node-closed answer.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 22:04:33 +01:00
Meta Vens
861edd3195 Stop: a sink-off add-on answers arriving intents stopped; Agents under Stop; pending zero after Stop; survivors pinned
Soul s1: post-stop-queue-runs (ruling sink-off-answers-stopped), agents-section-buried, pending-stale-after-stop,
stop-survivors-unpinned. The live harness now sends a concurrent burst with the sink on, cuts it with Stop, and
shows a later send answered stopped at once (wait exit 3) with nothing firing on re-enable.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 21:53:10 +01:00
Meta Vens
044ac094b5 Stop agents: one human control turns the sink off and receipts every pending intent as stopped; presence in the panel
purge_command_intents becomes stop_pending: a stopped receipt per intent, written before the intent is deleted.
Stop agents, server start and server stop share that path. The timer runs one intent per tick so Stop lands
between two. The panel's Agents section (active agents, pending count, last eight receipts) reads a display cache
filled where receipts are written; the host snapshot carries agentCommandsEnabled, which brokkr-ctl status prints.
Live proof on stock Blender 5.3 with real brokkr-ctl sends: tests/live/stop_presence.py.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 21:38:17 +01:00
Meta Vens
17584e40f9 Wheel METADATA is the published file's bytes (rebuild, new sha256); a real unlinkSockets removal pins one undo step
build-msgpack-wheel.py read METADATA through read_text, which folded CRLF and changed the hash PyPI's RECORD lists.
The test compares the wheel's METADATA hash with the installed distribution's RECORD and failed first; the unlink
test fails against a mutant that never reports a change.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 21:31:30 +01:00
f2e54ebedc Merge pull request 'CultLib 9fc4bdda pins, one pure-Python msgpack wheel for every platform, live-1 Lows' (#14) from nibu/live-pins-wheel into main 2026-11-27 20:21:42 +00:00
Meta Vens
fe76ac45c4 live-1 Lows: undo label from the id tail, empty unlink pushes no step, wait pins exact key and poll sleep, architecture wording
Each has a test that failed first; the ctl mutants (ends_with key, sleep removed) now fail.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 21:04:47 +01:00
Meta Vens
1f469c4721 CultLib pins to 9fc4bdda; one pure-Python msgpack wheel, no platform restriction
cultcache-rs moves to 9fc4bdda (PR #180: cultcache-py decodes under msgpack's pure-Python fallback).
The Windows-only C wheel is replaced by msgpack 1.2.2 repacked deterministically from the installed
package; source, version and sha256 are in install.md.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 21:04:46 +01:00
7aefc6c319 Merge pull request 'Live collaboration core: one undo step per agent action, the debug door closed' (#13) from nibu/live-1-debug-door into main 2026-11-27 19:57:05 +00:00
Meta Vens
c723754ea6 Blender live harness results rerun on the extension build (stock Blender 5.3, no PYLIBS)
agent_turn_queue now also drops a command JSON under the debug root and checks it stays inert.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 20:36:58 +01:00
Meta Vens
4510dcc45b brokkr-ctl: delete ChangeGate, refuse hard-linked stores, pin the survivors
The store lock removed the failure the stat gate compensated, so wait reads each poll.
A store with more than one hard link is refused (unix nlink; windows via
GetFileInformationByHandle, windows-sys already in the lock). Tests pin the 86400 s cap,
the receipt-key prefix and -h as a flag; the help test finds the dispatch table by its own
line after live-2 added other *ACTIONS tuples.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 20:30:28 +01:00
Meta Vens
8f5a660964 Blender: removeNode and removeModifier on an absent target push no undo step
NodeActions.changed says whether the last action wrote; run_intent pushes the labelled
step only when it did (the run_intent half rode in the previous commit's blender_target.py).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 20:30:27 +01:00
Meta Vens
741e186c5a Blender: cut the debug-mirror JSON intent door; one admission shape fix
Intents now enter only through the node (brokkr-ctl, a served peer, the sync organ).
_import_debug_command_files, the debug-root glob in purge_command_intents and
start_server's debug-root parameter are deleted; Debug Export Root stays export-only.
Also live-2-lows: COMMAND_ID_SHAPE and REQUESTED_BY_SHAPE use fullmatch (a trailing
newline passed), and _load_cultmesh's own-package set is pinned.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 20:30:20 +01:00
Meta Vens
50fe9c1aa1 Merge origin/main (a4cc320, brokkr-ctl) into the agent turn
Conflict: docs/live-collab-target.md add/add; kept the live-2 wording of the single-primitive paragraph (failed-after-write pushes one labelled step).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 20:23:17 +01:00
a4cc3209a3 Merge pull request 'brokkr-ctl blender: the agent's command client' (#12) from nibu/live-4-brokkr-ctl into main 2026-11-27 19:21:54 +00:00
Meta Vens
0f4ab2d0d9 brokkr-ctl on MessagePack payloads: reads through cultcache_rs::decode_payload, one MessagePack value per write, tests off JSON
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 20:08:02 +01:00
Meta Vens
ef7086971c brokkr-ctl: time-ordered ids, stat-gated polling, parsed help flag, bounded timeout, absolute unlinked store, pinned survivors
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 20:03:45 +01:00
Meta Vens
68e1b654dd brokkr-ctl blender: a Rust CLI that sends typed intents to the live add-on's store and reads receipts and the snapshot
Workspace member brokkr-ctl; cultcache-rs moves to [workspace.dependencies] at the daemon's existing rev. Writes only blender/commands/<id>; intents are attributed or refused; exit code derives from the receipt.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 20:03:44 +01:00
Meta Vens
57ca88ed38 Blender agent turn: live harness results rerun on main a371056f (CultLib baf4ecf7 pins)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 20:02:50 +01:00
Meta Vens
a6184b6158 Blender agent turn: Soul s2 fixes and a stock-Blender install
commandId is validated (short key-safe string) before the reused check and any receipt key;
a bad id is denied under a fresh key naming the queue key and leaves the queue. The add-on
ships as an extension with a bundled msgpack wheel; _load_cultmesh names the module it lacks;
NO_SCENE_CHANGE_ACTIONS is pinned; the queue harness runs in a stock Blender without PYLIBS.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 20:00:36 +01:00
Meta Vens
561562626f Live collab target r2: the push request is a stdin dump, as the material path
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 20:00:16 +01:00
Meta Vens
e271dcc9cf Live collab target r2: rulings in, phase two authoring surface
Takes in the operator's 2026-11-27 rulings (no free-form Python, act then
undo, last writer wins in the scene, brokkr-ctl blender built here) and adds
phase two: scene collections as an authoring surface over a ship's .cc,
opened at known record versions and pushed through AetherDb with a dry-run
default and stale-version refusal. Records why neither variants' deltas nor
CultNet carry the push today.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 20:00:16 +01:00
Meta Vens
3213ee3d86 Live collab: depsgraph timing probe
Records when depsgraph updates from an agent edit in a timer arrive and which
ids they name, for the human-edit detection fork (Q3).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 20:00:16 +01:00
Meta Vens
a975f99a90 Live collaboration target: invariants, probes, identity table
Target document for the brokkr-live campaign: the agent works in the same
live Blender scene the operator is looking at. Records the Blender 5.3
timer-undo and viewport-capture probes the invariants stand on, and the
identity, lifecycle and authority table for every kind the layer adds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 20:00:16 +01:00
Meta Vens
8f8c92e7c9 Blender agent turn: Soul s1 fixes
Edit Mode refuses setWorld and exportGltf too (only renderStill stays); exportGltf and
renderStill push no undo step; receipts are write-once (a reused id's denial goes under
<id>.denied); a raise in the undo push is a failed receipt and never re-runs; pin the
four surviving branches; queue-level live harness through the node and the add-on timer.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 20:00:09 +01:00
Meta Vens
6464915fa4 Blender: refuse object-level intents while an object is in Edit Mode
Ruling brokkr-live:ruling:object-intents-refused-in-edit-mode. The guard denies before
any write, so nothing is pushed and her mode is untouched. Live check measured in
Blender 5.3.0: refused, scene and undo stack unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 20:00:09 +01:00
Meta Vens
bebc004f09 Blender: one agent turn primitive, run_intent (live-2)
Every intent is admitted (commandId unused, requestedBy <mind>/<agent>, typed action),
run with operator undo off, pushed as one labelled undo step, and receipted with
requestedBy, note and undoLabel. execute_command becomes the private _dispatch.
A refusal before any write pushes nothing; a raise after one pushes a '(failed)' step.
Live GUI test: Edit Mode object-level write is not reverted by one undo (reported).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 20:00:09 +01:00
Meta Vens
847c28714b Live collab target r2: the push request is a stdin dump, as the material path
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 20:00:09 +01:00
Meta Vens
714ae21478 Live collab target r2: rulings in, phase two authoring surface
Takes in the operator's 2026-11-27 rulings (no free-form Python, act then
undo, last writer wins in the scene, brokkr-ctl blender built here) and adds
phase two: scene collections as an authoring surface over a ship's .cc,
opened at known record versions and pushed through AetherDb with a dry-run
default and stale-version refusal. Records why neither variants' deltas nor
CultNet carry the push today.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 20:00:09 +01:00
Meta Vens
48c0aeee6d Live collab: depsgraph timing probe
Records when depsgraph updates from an agent edit in a timer arrive and which
ids they name, for the human-edit detection fork (Q3).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 20:00:09 +01:00
Meta Vens
04954c0500 Live collaboration target: invariants, probes, identity table
Target document for the brokkr-live campaign: the agent works in the same
live Blender scene the operator is looking at. Records the Blender 5.3
timer-undo and viewport-capture probes the invariants stand on, and the
identity, lifecycle and authority table for every kind the layer adds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 20:00:09 +01:00
a371056f04 Brokkr on MessagePack payloads: strict reads through cultcache-rs, pins at CultLib baf4ecf7 (#11) 2026-11-27 18:59:16 +00:00
5e279b2b0b Merge pull request 'node-actions.md: point to the parked design tag' (#10) from libby/node-actions-design-pointer into main 2026-11-10 23:15:56 +00:00
Libby
f891404ee3 node-actions.md: point to the parked design tag
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 23:15:55 +00:00
47d27271e7 Merge pull request 'Blender add-on: createObject and renderStill refuse what they cannot do' (#8) from libby/blender-refusals into main 2026-11-10 23:14:05 +00:00
Libby
01d25c6bf9 Blender createObject: pin whitespace meshType refusal, document meshType and null objectType
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 23:13:57 +00:00
Libby
944ea4a1ec Merge remote-tracking branch 'origin/main' into libby/refusals-fix
# Conflicts:
#	surfaces/blender/tests/test_scene_actions.py
2026-11-10 18:01:45 +00:00
730ceb9e0e Blender add-on: exportGltf action (#7) 2026-11-10 18:01:28 +00:00
8cebec6f3c Blender assignMaterial: colour, idempotent slot, malformed colour refused (#6) 2026-11-10 18:00:37 +00:00
Libby
6b7d6ae9e2 blender: renderStill refuses GL engines headless when libEGL is not loadable
BLENDER_WORKBENCH and BLENDER_EEVEE aborted the whole Blender process inside
bpy.ops.render.render with no receipt. The probe is cached, Linux only, and a
module-level function so tests replace it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 17:55:38 +00:00
Libby
ece40040f4 blender: createObject refuses unknown objectType and non-cube meshType
TEXT and CURVE used to fall through to an EMPTY with an accepted receipt.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 17:55:38 +00:00
6995eabf51 Blender add-on: geometry node graph actions, modifier inputs, evaluated snapshot (#5) 2026-11-10 17:54:18 +00:00