@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.mjs
CHANGED
|
@@ -1677,7 +1677,12 @@ var HOLD_REASONS = [
|
|
|
1677
1677
|
"live_pending",
|
|
1678
1678
|
"transcript_quiet",
|
|
1679
1679
|
"weak_candidate",
|
|
1680
|
-
"suspension_before_consumed"
|
|
1680
|
+
"suspension_before_consumed",
|
|
1681
|
+
// A genuine FSM end of a mesh turn whose worker holds a live worker-MCP bind:
|
|
1682
|
+
// the structured report is the primary evidence (design §F2), so the idle edge
|
|
1683
|
+
// only opens this hold (R9r) — a report commits (R17), a new busy edge cancels
|
|
1684
|
+
// it as a false idle (R12r), expiry commits weak (R13r).
|
|
1685
|
+
"await_report"
|
|
1681
1686
|
];
|
|
1682
1687
|
var TURN_OUTCOMES = ["completed", "failed", "cancelled"];
|
|
1683
1688
|
var COMMIT_STRENGTHS = ["genuine", "weak", "tool_report", "operator"];
|
|
@@ -1777,7 +1782,8 @@ var TURN_EVIDENCE_FIELD_SPECS = {
|
|
|
1777
1782
|
blockReason: enOpt(TURN_END_BLOCK_REASONS),
|
|
1778
1783
|
releasedByHardCap: boolOpt,
|
|
1779
1784
|
nativeOutcome: enOpt(NATIVE_TURN_OUTCOMES),
|
|
1780
|
-
live: { t: "live", optional: true }
|
|
1785
|
+
live: { t: "live", optional: true },
|
|
1786
|
+
reportExpected: boolOpt
|
|
1781
1787
|
},
|
|
1782
1788
|
transcript_final: {
|
|
1783
1789
|
selfAttributing: bool,
|