@ouro.bot/cli 0.1.0-alpha.884 → 0.1.0-alpha.886

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,12 @@
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.886",
6
+ "changes": [
7
+ "Replay gate: the self-resolving await case now waits for a UTC minute three minutes ahead, so the Butler is never asked to file an await whose condition is already true."
8
+ ]
9
+ },
4
10
  {
5
11
  "version": "0.1.0-alpha.884",
6
12
  "changes": [
@@ -150,6 +150,12 @@ export function properNouns(text, known = "", strict = false) {
150
150
  return out
151
151
  }
152
152
 
153
+ /** HH:MM (UTC) of the whole minute `minutes` after the start of `now`'s minute. */
154
+ export function utcMinuteAhead(now, minutes) {
155
+ const at = new Date(Math.floor(now.getTime() / 60000) * 60000 + minutes * 60000)
156
+ return `${String(at.getUTCHours()).padStart(2, "0")}:${String(at.getUTCMinutes()).padStart(2, "0")}`
157
+ }
158
+
153
159
  const check = (name, ok, detail = "") => ({ name, ok: Boolean(ok), ...(detail ? { detail } : {}) })
154
160
  const sinkFor = (sink, friendId, predicate) => sink.filter((line) => line.friendId === friendId && predicate(line))
155
161
  const isDelegatedNotice = (line) => String(line.noticeId).startsWith("delegated:")
@@ -386,7 +392,10 @@ export const CASES = [
386
392
  id: "await-self-resolve",
387
393
  // A name unique to the run: an earlier run leaves an archived await of the same name behind, and the Butler's
388
394
  // shared inner session remembers it.
389
- words: ({ context }) => `file an await named replay_${context.slice(0, 8)} that resolves once the ouro-butler container is running, check every 1m, max 15m`,
395
+ // The condition must be false when filed: given one already true ("the container is running"), the Butler reasonably
396
+ // answers that no await is needed (alpha.884 session 94cf7f59) and the await path goes untested. A wall-clock minute
397
+ // two to three minutes ahead is false at filing and turns true on its own.
398
+ words: ({ context, now = new Date() }) => `file an await named replay_${context.slice(0, 8)} that resolves once the UTC time is ${utcMinuteAhead(now, 3)} or later, check every 1m, max 15m`,
390
399
  sender: "principal",
391
400
  // The delegated path: the outcome reaches the owner (here, the sink). The plain path is peer-await-delivers.
392
401
  delegated: true,
@@ -1,5 +1,5 @@
1
1
  {
2
- "runtimeVersion": "0.1.0-alpha.884",
2
+ "runtimeVersion": "0.1.0-alpha.886",
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.884</Repository>
4
+ <Repository>ghcr.io/ourostack/ouroboros-butler:0.1.0-alpha.886</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,12 +1,12 @@
1
1
  {
2
2
  "name": "@ouro.bot/cli",
3
- "version": "0.1.0-alpha.884",
3
+ "version": "0.1.0-alpha.886",
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.884",
9
+ "version": "0.1.0-alpha.886",
10
10
  "dependencies": {
11
11
  "@anthropic-ai/sdk": "^0.78.0",
12
12
  "@azure/identity": "^4.13.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ouro.bot/cli",
3
- "version": "0.1.0-alpha.884",
3
+ "version": "0.1.0-alpha.886",
4
4
  "engines": {
5
5
  "node": ">=22"
6
6
  },