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>
This commit is contained in:
parent
1f469c4721
commit
fe76ac45c4
10 changed files with 101 additions and 35 deletions
|
|
@ -100,7 +100,7 @@ Derived State:
|
|||
|
||||
- Unity package settings are adapter configuration, not Verse authority.
|
||||
- Blender add-on preferences are adapter configuration, not Verse authority.
|
||||
- Blender JSON debug exports are inspection/import probes, not mirror authority.
|
||||
- Blender JSON debug exports are export-only inspection output, not mirror authority and never read back as intents.
|
||||
- Unity and Blender sync UI fields are command/edit affordances; the
|
||||
`brokkr.sync.*` documents are the shared sync policy surface.
|
||||
- Ad hoc syncvar editors write `brokkr.sync.var.v0` policy records only; they
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ resident service on that number); reading a record's stored version through Aeth
|
|||
**One agent turn primitive.** Every agent mutation in Blender goes through one function
|
||||
in the add-on: admit (sink enabled, `requestedBy` present, id unused, action typed and
|
||||
valid), run the action with every operator called `undo=False`, push exactly one undo
|
||||
step labelled `Brokkr <requestedBy>: <action> <commandId[:8]>`, write the receipt. A
|
||||
step labelled `Brokkr <requestedBy>: <action> <commandId[-8:]>`, write the receipt. A
|
||||
refusal caught before any write pushes nothing and leaves the scene unchanged; an action
|
||||
that fails after writing pushes one step labelled `(failed)`, so the partial write is one
|
||||
undoable step. There is no second
|
||||
|
|
@ -254,7 +254,7 @@ are the primitive for the push.
|
|||
| Blender command intent `brokkr.blender.command_intent.v0` (gains `requestedBy`, `note`) | `blender/commands/{commandId}`; ids single-use, minted by the writer (`brush-tree:ruling:blender-sink-mirrors-unity`) | Written once by a caller. Executed at most once or refused. Removed when its receipt is written. Never rewritten. | Callers write. The agent turn primitive alone decides admission and execution. |
|
||||
| Blender command receipt `brokkr.blender.command_receipt.v0` (gains `requestedBy`, `outcome` in accepted, denied, stopped, failed, `undoLabel`, `lookPath`) | `blender/receipts/{commandId}`, one per intent | Written once, after the primitive decides. Pruned by count with Unity's cap and prune rule. | The primitive alone. Callers and the panel read. |
|
||||
| Agent identity `requestedBy` | `<mind>/<agent>` stated by the caller | Carried on each intent into its receipt and undo label; not stored on its own. | The caller states it; the primitive refuses an intent without it. The session token proves admission, not identity. |
|
||||
| Agent undo step | Blender undo entry `Brokkr <requestedBy>: <action> <commandId[:8]>` | One per accepted mutating intent; lives as Blender's stack does; never persisted by Brokkr. | Blender owns the stack; the primitive pushes; only the human undoes or redoes. |
|
||||
| Agent undo step | Blender undo entry `Brokkr <requestedBy>: <action> <commandId[-8:]>` | One per accepted mutating intent; lives as Blender's stack does; never persisted by Brokkr. | Blender owns the stack; the primitive pushes; only the human undoes or redoes. |
|
||||
| Blender session id | uuid minted at add-on register and on each `load_post` | Replaced when Blender restarts or a file loads. | The add-on alone. |
|
||||
| Human-edit sequences (snapshot: `humanEditSeq`, per-object `lastHumanEditSeq`) | Integers within a session id | Monotonic within a session; reset with it. Information for the agent; they gate nothing. | The add-on's depsgraph and undo handlers alone. |
|
||||
| Host snapshot `brokkr.blender.host_snapshot.v0` (gains Edit Mode selection, session id, sequences, sink state, authoring binding summary) | `blender/host/current`, overwritten | Refreshed on depsgraph update and after each intent. | The add-on alone. |
|
||||
|
|
|
|||
Loading…
Reference in a new issue