@adhdev/mesh-shared 1.0.60-rc.43 → 1.0.60-rc.45
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 +10 -4
- package/package.json +1 -1
- package/src/turn-evidence.ts +13 -2
package/dist/index.js
CHANGED
|
@@ -2113,7 +2113,13 @@ var HOLD_REASONS = [
|
|
|
2113
2113
|
// the structured report is the primary evidence (design §F2), so the idle edge
|
|
2114
2114
|
// only opens this hold (R9r) — a report commits (R17), a new busy edge cancels
|
|
2115
2115
|
// it as a false idle (R12r), expiry commits weak (R13r).
|
|
2116
|
-
"await_report"
|
|
2116
|
+
"await_report",
|
|
2117
|
+
// A worker report recorded while the session is still generating (R17g):
|
|
2118
|
+
// the report is the verdict, the idle edge is only awaited as corroboration
|
|
2119
|
+
// — a turn_end commits the report (R9t), expiry commits it anyway (R13t) so
|
|
2120
|
+
// a session whose FSM never shows the idle edge again does not wait for
|
|
2121
|
+
// liveness / hard_ceiling.
|
|
2122
|
+
"await_end"
|
|
2117
2123
|
];
|
|
2118
2124
|
var TURN_OUTCOMES = ["completed", "failed", "cancelled"];
|
|
2119
2125
|
var COMMIT_STRENGTHS = ["genuine", "weak", "tool_report", "operator"];
|
|
@@ -2231,7 +2237,7 @@ var TURN_EVIDENCE_FIELD_SPECS = {
|
|
|
2231
2237
|
session_error: { reason: en(SESSION_ERROR_REASONS) },
|
|
2232
2238
|
worker_report: {
|
|
2233
2239
|
outcome: en(WORKER_REPORT_OUTCOMES),
|
|
2234
|
-
summary: { t: "summary_ref" },
|
|
2240
|
+
summary: { t: "summary_ref", optional: true },
|
|
2235
2241
|
hasHandoffNotes: bool,
|
|
2236
2242
|
branchState: enOpt(WORKER_BRANCH_STATES),
|
|
2237
2243
|
touchedFileCount: intOpt
|