@cotal-ai/connector-jcode 0.137.0 → 0.138.1

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.
@@ -54,15 +54,10 @@
54
54
  * turn defers and delivers late rather than reconnecting, and finite so a wedged one cannot defer
55
55
  * forever. Delivery is late, bounded, and exactly once in every branch.
56
56
  *
57
- * NOT GRADED BY A LIVE CELL, AND SAYING SO RATHER THAN IMPLYING OTHERWISE. A mutation severing the
58
- * call site SURVIVED the loss suite: that suite's A is a swallowed SEND, not an open unacknowledged
59
- * RUN, so the deferral is never consulted there. I then built the run-debt cell (the fixture knob
60
- * `FAKE_JCODE_RUN_WITHOUT_ACCEPT_ON_CONTENT` exists for it) and it PASSED WITH THE DEFERRAL SEVERED,
61
- * because `nextFallbackAction` takes `drive` on an idle seat and only reaches `queue-turn` on the
62
- * busy branch after a soft interrupt has failed, so my probe measured a path the defect cannot
63
- * touch. I deleted the mutation instead of keeping one whose SURVIVED verdict I could not turn into
64
- * a red, and left the knob so the next attempt starts further along. The behaviour here is covered
65
- * by the policy cells and by a reviewer's live reproduction, NOT by a mutation-graded live cell.
57
+ * Policy cells and a live reproduction cover this deferral, not a mutation-graded live cell.
58
+ * The loss suite's swallowed SEND does not consult it: the deferral concerns an open unacknowledged
59
+ * RUN. `nextFallbackAction` takes `drive` on an idle seat and reaches `queue-turn` only on the busy
60
+ * branch after a failed soft interrupt, so an idle run-debt fixture does not exercise this path.
66
61
  */
67
62
  export declare function attributionBlockedByOpenRun(unsettledRunDispatches: number, blockedForMs?: number): boolean;
68
63
  /**
@@ -83,8 +78,8 @@ export declare function deferralExhausted(unsettledRunDispatches: number, blocke
83
78
  /**
84
79
  * What an EXHAUSTED deferral should do, which is a three-way decision and not a two-way one.
85
80
  *
86
- * Both obvious answers were measured harmful by reviewers, one of them after I had already written
87
- * it. Forcing the boundary when the one-shot recovery is spent does not replace anything: it calls
81
+ * Neither forced shutdown nor continued writes is safe after recovery is spent.
82
+ * Forcing the boundary when the one-shot recovery is spent does not replace anything: it calls
88
83
  * `shutdown(1)` and the seat exits, so a starvation report is answered by killing the seat. And
89
84
  * continuing to WRITE is the same defect as doing nothing: the send is refused as unattributable,
90
85
  * the batch stays owed, and the loop re-sends once a minute while the Harness accepts and RUNS each
@@ -1 +1 @@
1
- {"version":3,"file":"queue-fallback.d.ts","sourceRoot":"","sources":["../src/queue-fallback.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,wBAAgB,2BAA2B,CAAC,sBAAsB,EAAE,MAAM,EAAE,YAAY,SAAI,GAAG,OAAO,CAGrG;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,QAAsB,CAAC;AAsBnD;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,sBAAsB,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,OAAO,CAE/F;AAED;;;;;;;;;;;;;;GAcG;AACH,MAAM,MAAM,uBAAuB,GAAG,gBAAgB,GAAG,iBAAiB,CAAC;AAE3E,wBAAgB,uBAAuB,CAAC,uBAAuB,EAAE,OAAO,GAAG,uBAAuB,CAEjG;AAED,4FAA4F;AAC5F,eAAO,MAAM,mBAAmB,OAAQ,CAAC;AACzC,0FAA0F;AAC1F,eAAO,MAAM,eAAe,QAAS,CAAC;AAEtC;;;;;;;;;GASG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,OAAO,GAAG,YAAY,GAAG,MAAM,GAAG,MAAM,CAAC;AAEhF,MAAM,WAAW,aAAa;IAC5B,iCAAiC;IACjC,QAAQ,EAAE,OAAO,CAAC;IAClB;;oFAEgF;IAChF,qBAAqB,EAAE,OAAO,CAAC;IAC/B,mFAAmF;IACnF,YAAY,EAAE,OAAO,CAAC;IACtB,qEAAqE;IACrE,WAAW,EAAE,OAAO,CAAC;IACrB,0DAA0D;IAC1D,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,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,aAAa,GAAG,gBAAgB,CAmBrE;AAED,0EAA0E;AAC1E,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAGzD;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,aAAa,GAAG,OAAO,CAI3D"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cotal-ai/connector-jcode",
3
3
  "description": "Cotal connector for Jcode: a host-mode mesh peer driven through Jcode's Harness API bridge.",
4
- "version": "0.137.0",
4
+ "version": "0.138.1",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -29,8 +29,8 @@
29
29
  "smol-toml": "^1.8.0"
30
30
  },
31
31
  "devDependencies": {
32
- "@cotal-ai/connector-core": "0.137.0",
33
- "@cotal-ai/core": "0.137.0",
32
+ "@cotal-ai/connector-core": "0.138.1",
33
+ "@cotal-ai/core": "0.138.1",
34
34
  "@cotal-ai/smoke-kit": "0.0.0",
35
35
  "@nats-io/jetstream": "^3.4.0",
36
36
  "@nats-io/transport-node": "^3.4.0",