Brokkr/docs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 12f2d426b1 A4: admission policy and the editor lifecycle actions
BrokkrCommandPolicy (Runtime, pure, tested outside Unity) is consulted by
BrokkrEditorService before every BrokkrUnityCommandExecutor.Execute; it is the
only call path into the executor. The per-project allowed-action list defaults
to scene mutation plus lifecycle; createScriptableObject, createPrefabVariant
and saveScene are shipped denied (parked Q4 = A), and an action the list does
not name is denied. A denial gets a receipt with status denied and a reason.
The window's buttons write intents like any other caller, so operator and
agent share the gate.

Re-landed from the donor as fresh code: refreshAssets, setEditorPlayState,
setEditorPaused, captureEditorView, and the play-state fields on the host
snapshot (keys 14-17). The donor's captureEditorView wrote to any rooted
outputPath; it now resolves the path through one function that accepts only a
plain relative .png path under <project>/.brokkr/captures and refuses drive
letters, rooted or UNC paths, stream suffixes and any .. segment on every host
OS, and dimensions are bounded to 8192. requestedBy joins the intent (key 17)
and is echoed on the receipt (key 6). saveScene is new.

The window gains an Allowed Actions field bound to a per-project preference.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-29 14:44:31 +02:00
..
agent-access-cut.md Record Brokkr adoption rulings F1-F6; mark the parked agent-access map as history 2026-09-29 13:48:48 +02:00
architecture.md Add ad hoc syncvar editor publishing 2026-06-15 02:37:03 +01:00
brokkr-adoption-cut.md Record Brokkr adoption rulings F1-F6; mark the parked agent-access map as history 2026-09-29 13:48:48 +02:00
provider-contract.md A4: admission policy and the editor lifecycle actions 2026-09-29 14:44:31 +02:00