@adhdev/mesh-shared 1.0.60-rc.44 → 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.mjs
CHANGED
|
@@ -1692,7 +1692,13 @@ var HOLD_REASONS = [
|
|
|
1692
1692
|
// the structured report is the primary evidence (design §F2), so the idle edge
|
|
1693
1693
|
// only opens this hold (R9r) — a report commits (R17), a new busy edge cancels
|
|
1694
1694
|
// it as a false idle (R12r), expiry commits weak (R13r).
|
|
1695
|
-
"await_report"
|
|
1695
|
+
"await_report",
|
|
1696
|
+
// A worker report recorded while the session is still generating (R17g):
|
|
1697
|
+
// the report is the verdict, the idle edge is only awaited as corroboration
|
|
1698
|
+
// — a turn_end commits the report (R9t), expiry commits it anyway (R13t) so
|
|
1699
|
+
// a session whose FSM never shows the idle edge again does not wait for
|
|
1700
|
+
// liveness / hard_ceiling.
|
|
1701
|
+
"await_end"
|
|
1696
1702
|
];
|
|
1697
1703
|
var TURN_OUTCOMES = ["completed", "failed", "cancelled"];
|
|
1698
1704
|
var COMMIT_STRENGTHS = ["genuine", "weak", "tool_report", "operator"];
|
|
@@ -1810,7 +1816,7 @@ var TURN_EVIDENCE_FIELD_SPECS = {
|
|
|
1810
1816
|
session_error: { reason: en(SESSION_ERROR_REASONS) },
|
|
1811
1817
|
worker_report: {
|
|
1812
1818
|
outcome: en(WORKER_REPORT_OUTCOMES),
|
|
1813
|
-
summary: { t: "summary_ref" },
|
|
1819
|
+
summary: { t: "summary_ref", optional: true },
|
|
1814
1820
|
hasHandoffNotes: bool,
|
|
1815
1821
|
branchState: enOpt(WORKER_BRANCH_STATES),
|
|
1816
1822
|
touchedFileCount: intOpt
|