@adhdev/mesh-shared 1.0.60-rc.40 → 1.0.60-rc.41
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/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -2
- package/dist/index.mjs.map +1 -1
- package/dist/turn-evidence.d.ts +9 -2
- package/package.json +1 -1
- package/src/turn-evidence.ts +14 -1
package/dist/index.js
CHANGED
|
@@ -2098,7 +2098,12 @@ var HOLD_REASONS = [
|
|
|
2098
2098
|
"live_pending",
|
|
2099
2099
|
"transcript_quiet",
|
|
2100
2100
|
"weak_candidate",
|
|
2101
|
-
"suspension_before_consumed"
|
|
2101
|
+
"suspension_before_consumed",
|
|
2102
|
+
// A genuine FSM end of a mesh turn whose worker holds a live worker-MCP bind:
|
|
2103
|
+
// the structured report is the primary evidence (design §F2), so the idle edge
|
|
2104
|
+
// only opens this hold (R9r) — a report commits (R17), a new busy edge cancels
|
|
2105
|
+
// it as a false idle (R12r), expiry commits weak (R13r).
|
|
2106
|
+
"await_report"
|
|
2102
2107
|
];
|
|
2103
2108
|
var TURN_OUTCOMES = ["completed", "failed", "cancelled"];
|
|
2104
2109
|
var COMMIT_STRENGTHS = ["genuine", "weak", "tool_report", "operator"];
|
|
@@ -2198,7 +2203,8 @@ var TURN_EVIDENCE_FIELD_SPECS = {
|
|
|
2198
2203
|
blockReason: enOpt(TURN_END_BLOCK_REASONS),
|
|
2199
2204
|
releasedByHardCap: boolOpt,
|
|
2200
2205
|
nativeOutcome: enOpt(NATIVE_TURN_OUTCOMES),
|
|
2201
|
-
live: { t: "live", optional: true }
|
|
2206
|
+
live: { t: "live", optional: true },
|
|
2207
|
+
reportExpected: boolOpt
|
|
2202
2208
|
},
|
|
2203
2209
|
transcript_final: {
|
|
2204
2210
|
selfAttributing: bool,
|