@amaster.ai/employee-runtime-connector 0.1.1-beta.6 → 0.1.1-beta.7
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 +19 -0
- package/dist/amaster-runtime-daemon.mjs +736 -190
- package/dist/amaster-runtime.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -32,6 +32,25 @@ The source of truth lives under this package's `src/` directory. The package bui
|
|
|
32
32
|
|
|
33
33
|
Runtime code belongs in the container image. Persist only connector state, the result outbox, and workspaces under the configured state directory.
|
|
34
34
|
|
|
35
|
+
## Pi tool-argument transport guard
|
|
36
|
+
|
|
37
|
+
`AMASTER_PI_TOOL_ARGUMENT_GUARD_MODE` defaults to `shadow`; supported values are
|
|
38
|
+
`off`, `shadow`, and `enforce`. Shadow records metadata-only matches while the
|
|
39
|
+
single-incident thresholds are calibrated. Promote deliberately to `enforce`
|
|
40
|
+
after reviewing near misses and false positives; use `off` as the emergency
|
|
41
|
+
rollback. The enforce signature
|
|
42
|
+
requires at least 8 MiB transported, at most 512 KiB materialized, and at least
|
|
43
|
+
16x amplification before `tool_execution_start`. Replay ratio is telemetry,
|
|
44
|
+
not a kill prerequisite. Threshold overrides are available through the
|
|
45
|
+
`AMASTER_PI_TOOL_ARGUMENT_*` environment variables, but production changes
|
|
46
|
+
must be based on shadow telemetry and false-positive review.
|
|
47
|
+
|
|
48
|
+
An enforced stop returns `pi_tool_argument_stream_amplification` with
|
|
49
|
+
`retryable=false` and recommends
|
|
50
|
+
`upsert_document_revision_from_workspace_file`. The command result keeps only
|
|
51
|
+
byte counts, ratios, event/tool identity, thresholds, and near-miss distances;
|
|
52
|
+
it omits the inline argument body.
|
|
53
|
+
|
|
35
54
|
## Pi terminal cleanup outcome
|
|
36
55
|
|
|
37
56
|
Pi execution uses three separate evidence layers:
|