@tuned-tensor/cli 0.9.2 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -73,7 +73,11 @@ tt cloud support-agent › Ask whether my dataset is ready to train
73
73
  Ordinary sentences go through the locally orchestrated Pi model session. The
74
74
  model can call a
75
75
  strict, bounded set of authenticated Tuned Tensor read tools and prepare-only
76
- mutation tools; it has no shell or filesystem tool. Known CLI commands such as
76
+ mutation tools; it has no shell or general filesystem tool. In `local` mode it
77
+ can prepare one new folder directly beneath the shell's current working
78
+ directory with a validated `tunedtensor.json`. The tool refuses path traversal,
79
+ symlinked workspace roots, existing targets, and unsupported spec fields. It is
80
+ not available to cloud-mode turns. Known CLI commands such as
77
81
  `runs list`, `doctor`, and `models list` still execute directly. Prefix a
78
82
  command with `:` when you want to make that intent explicit. Commands are
79
83
  routed to the mode shown in the prompt; prefix one with `cloud` or `local` to
@@ -92,9 +96,19 @@ Read operations execute immediately. Creating or updating a behaviour spec is
92
96
  a prepare-only model operation: the agent shows the exact proposed action, then
93
97
  waits for `/approve` or `/reject`. Starting or cancelling training remains an
94
98
  explicit `tt runs ...` command outside the model tool loop.
99
+ Local spec creation also waits for `/approve`, never calls the cloud API, requires
100
+ at least two examples for local validation, uses exclusive private folder/file
101
+ creation, and never overwrites an existing path. Secure filesystem mutation is
102
+ currently supported on Linux, where writes are anchored to open workspace and
103
+ destination-directory handles. The proposal is bound to the current workspace
104
+ so changing directories before approval fails safely instead of writing
105
+ somewhere else. Ambiguous write failures remain sealed as `outcome_unknown` for
106
+ manual inspection rather than deleting a path that could belong to a racing
107
+ writer.
95
108
  `/approve` executes deterministic local code with an at-most-once mutation
96
- attempt. Before dispatch, the CLI requires the API to advertise mutation-guard
97
- support; older or incompatible servers are refused. The server conditionally
109
+ attempt. For hosted mutations, before dispatch the CLI requires the API to
110
+ advertise mutation-guard support; older or incompatible servers are refused.
111
+ The server conditionally
98
112
  checks approved spec versions and assigns the action ID as an idempotent create
99
113
  ID. If a response or final state write is lost after dispatch, the action is
100
114
  retained as `outcome_unknown`, cannot be retried automatically, and directs the