Live collaboration core: one undo step per agent action, the debug door closed #13

Merged
eureka merged 14 commits from nibu/live-1-debug-door into main 2026-11-27 19:57:08 +00:00

2026-11-27

Meta Vens
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
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
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
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
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
Meta Vens
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
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
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
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
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
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
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
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
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