@volter/supercode-orchestrator 0.5.81 → 0.5.82
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/board/dispatch.mjs +6 -1
- package/package.json +1 -1
package/board/dispatch.mjs
CHANGED
|
@@ -2490,7 +2490,12 @@ async function readMailbox(board, address, report) {
|
|
|
2490
2490
|
let envelope;
|
|
2491
2491
|
try { envelope = JSON.parse(readFileSync(path, 'utf8')); } catch { continue; }
|
|
2492
2492
|
const notice = envelope.kind === 'notice' || envelope.reply_via?.mode === 'none';
|
|
2493
|
-
|
|
2493
|
+
// mail that came through a link claims its return address (D200): the board sends nothing there on its own, its
|
|
2494
|
+
// refusal included; the refusal is said in the board's report instead
|
|
2495
|
+
const linked = String(envelope.sender_identity?.observation ?? '').startsWith('link:');
|
|
2496
|
+
if (!envelope.in_reply_to && !notice && linked) {
|
|
2497
|
+
report.mailed.push([envelope.from, 'refused, unanswered: it came through a link, so its return address is as claimed']);
|
|
2498
|
+
} else if (!envelope.in_reply_to && !notice) {
|
|
2494
2499
|
try {
|
|
2495
2500
|
await fileMail(board, envelope.from, `${address} takes answers to its questions and notices only; this message was not taken.`, `board-refused-${envelope.id}`);
|
|
2496
2501
|
} catch (error) { report.undelivered.push(['mail', envelope.from, String(error.message).slice(-200)]); continue; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volter/supercode-orchestrator",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.82",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The orchestrator runtime over the Volter Harness ontology: one typed operational model whose folder is its serialization, read and written through the harness orchestration doors (docs/ORCHESTRATOR-IR.md)",
|
|
6
6
|
"exports": {
|