Auto: focas-f4a — write infrastructure + per-tag opt-in

Closes #268
This commit is contained in:
Joseph Doherty
2026-04-26 04:32:43 -04:00
parent 6f1657b1c0
commit 1bfe8fba0e
13 changed files with 521 additions and 11 deletions

View File

@@ -38,7 +38,11 @@ public sealed class WriteCommand : FocasCommandBase
Address: Address,
DataType: DataType,
Writable: true);
var options = BuildOptions([tag]);
// The CLI is a per-invocation operator tool; it bypasses the server-side
// FocasDriverOptions.Writes.Enabled gate by enabling writes locally for this single
// process. Configure-the-server code paths still respect the safer-by-default flag —
// see docs/Driver.FOCAS.Cli.md "Writes" subsection (issue #268, plan PR F4-a).
var options = BuildOptions([tag], writesEnabled: true);
var parsed = ParseValue(Value, DataType);