@ouro.bot/cli 0.1.0-alpha.1205 → 0.1.0-alpha.1207

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/changelog.json CHANGED
@@ -1,6 +1,18 @@
1
1
  {
2
2
  "_note": "This changelog is maintained as part of the PR/version-bump workflow. Agent-curated, not auto-generated. Agents read this file directly via read_file to understand what changed between versions.",
3
3
  "versions": [
4
+ {
5
+ "version": "0.1.0-alpha.1207",
6
+ "changes": [
7
+ "Name the failed pre-pass step in an error annotation and the job summary before cancelling the shards, so cancelled checks never hide the cause."
8
+ ]
9
+ },
10
+ {
11
+ "version": "0.1.0-alpha.1206",
12
+ "changes": [
13
+ "Block spontaneous surface digests that have no ready, done or gate item."
14
+ ]
15
+ },
4
16
  {
5
17
  "version": "0.1.0-alpha.1205",
6
18
  "changes": [
@@ -1,5 +1,5 @@
1
1
  {
2
- "runtimeVersion": "0.1.0-alpha.1205",
2
+ "runtimeVersion": "0.1.0-alpha.1207",
3
3
  "bundleSchemaVersion": 3,
4
4
  "lastUpdated": "2026-09-03T00:00:00.000Z"
5
5
  }
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0"?>
2
2
  <Container version="2">
3
3
  <Name>ouro-butler</Name>
4
- <Repository>ghcr.io/ourostack/ouroboros-butler:0.1.0-alpha.1205</Repository>
4
+ <Repository>ghcr.io/ourostack/ouroboros-butler:0.1.0-alpha.1207</Repository>
5
5
  <Registry>https://github.com/ourostack/ouroboros/pkgs/container/ouroboros-butler</Registry>
6
6
  <Network>host</Network>
7
7
  <Shell>sh</Shell>
@@ -1,8 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isSignalessDigest = isSignalessDigest;
3
4
  exports.handleSurface = handleSurface;
4
5
  const attention_queue_1 = require("./attention-queue");
5
6
  const runtime_1 = require("../nerves/runtime");
7
+ // ── Digest guard ─────────────────────────────────────────────────
8
+ const DIGEST_OPENING = /^\W*(?:good\s+)?(?:morning|overnight|daily|weekly|evening)?\W*(?:summary|digest|roundup|round-up|recap|catch-?up|status update)\b|^\W*(?:morning|good morning)\b[^\n]{0,40}\b(?:summary|digest|recap)\b/iu;
9
+ const SIGNAL_MARKER = /\b(ready|is out|are out|is live|released|shipped|merged and live|landed|needs you|needs your|your call|your decision|blocked on you|waiting on you)\b|\bis in[.:]/iu;
10
+ /** A digest or summary opener with no ready, done or gate item carries nothing Ari needs. */
11
+ function isSignalessDigest(content) {
12
+ const head = content.slice(0, 240);
13
+ return DIGEST_OPENING.test(head.trimStart()) && !SIGNAL_MARKER.test(content);
14
+ }
6
15
  async function handleSurface(input) {
7
16
  const { content, delegationId, friendId, deliveryHint, queue, routeToFriend, advanceObligation, completePonderPacket, fulfillHeartObligation, onRouteResult, } = input;
8
17
  // Resolve target friend
@@ -53,6 +62,9 @@ async function handleSurface(input) {
53
62
  if (queueItem?.packetId && !delegationId) {
54
63
  return `held private return ${queueItem.id} is waiting — call surface with delegationId="${queueItem.id}" so the return is tied to the correct packet`;
55
64
  }
65
+ if (!queueItem && isSignalessDigest(content)) {
66
+ return "not sent — a digest or summary goes out only when it carries a ready, done or gate item; say nothing otherwise";
67
+ }
56
68
  // Route to target
57
69
  const result = deliveryHint
58
70
  ? await routeToFriend(targetFriendId, content, queueItem, deliveryHint)
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@ouro.bot/cli",
3
- "version": "0.1.0-alpha.1205",
3
+ "version": "0.1.0-alpha.1207",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@ouro.bot/cli",
9
- "version": "0.1.0-alpha.1205",
9
+ "version": "0.1.0-alpha.1207",
10
10
  "bundleDependencies": [
11
11
  "@ouro.bot/friends"
12
12
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ouro.bot/cli",
3
- "version": "0.1.0-alpha.1205",
3
+ "version": "0.1.0-alpha.1207",
4
4
  "engines": {
5
5
  "node": ">=22"
6
6
  },