@volter/supercode-orchestrator 0.5.81 → 0.5.83

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/cli.mjs CHANGED
@@ -127,7 +127,7 @@ And:
127
127
  notify-subscribe <id> --address sc:<machine>:<harness>:<id> [--role creator|worker|dependency]
128
128
  notify-subscribe <dependency> --for-card <your-arc>: subscribe only your arc's session to dependency notices.
129
129
  notify-unsubscribe <dependency> --for-card <your-arc>: remove that arc's subscription only.
130
- Any verb … --at sc:<machine>:board:<home>: sent as mail to a board kept on another machine.
130
+ Any verb … --at sc:<machine>:board:<home>: applied on that board through this machine's board door, as this session; its answer and exit code are the board's.
131
131
  <event> <id>... [reason] [--<field> value]: any other event the board's workflow declares, its flags the event's fields.
132
132
  start <id> release a --no-start hold and start through the declared workflow
133
133
  create ... --adopt <session> hold dispatch until that live session is attached
@@ -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
- if (!envelope.in_reply_to && !notice) {
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.81",
3
+ "version": "0.5.83",
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": {