@ouro.bot/cli 0.1.0-alpha.1614 → 0.1.0-alpha.1615
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,14 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_note": "Each pull request writes its own change note under changes/; the release job on main gives each landed change its version and adds the notes here (scripts/release-version.cjs). On main this file stops at the last version set by hand; the published package has every release. Agents read this file directly via read_file to understand what changed between versions.",
|
|
3
3
|
"versions": [
|
|
4
|
+
{
|
|
5
|
+
"version": "0.1.0-alpha.1615",
|
|
6
|
+
"changes": [
|
|
7
|
+
"When the agent settles as blocked and hasn't filed `report_failure` that turn, the engine asks it once whether the block is a missing or failing tool. If it is, the agent files the report and the engineers hear about the gap; if not, it settles again and the same answer goes out. The Butler used to answer \"i have no thermostat tools\" and stop there, so nobody learned the household wanted one ([#1660](https://github.com/ourostack/ouroboros/issues/1660))."
|
|
8
|
+
]
|
|
9
|
+
},
|
|
4
10
|
{
|
|
5
11
|
"version": "0.1.0-alpha.1614",
|
|
6
12
|
"changes": [
|
|
7
|
-
"Tests now prove that the Butler's rollback, like its upgrade, skips a container that disappears while it checks for other programs reading the bundle. On 2026-11-23 the 1435 rollback failed on exactly that. Nothing changes for people using it ([#1761](https://github.com/ourostack/ouroboros/issues/1761)).",
|
|
8
13
|
"Mailbox letters: a letter larger than 8 KB now files instead of failing with an unclear daemon error, because the daemon waits for a whole command on its socket (capped at 1 MiB) and both sides decode UTF-8 across chunks, so a long answer with non-Latin text no longer turns a character into �. A letter takes at most 10 links, and a GitHub line anchor such as `#L207-L213` in a link no longer reads as a letter code.",
|
|
9
14
|
"Mailbox letters: a send that fails partway no longer leaves a second waiting letter in the same dedupe scope after a restart; new letter folders are synced into their parents so a power loss can't lose a rolled letter; `ouro mailbox` keeps the `no-agent` code when the daemon has no bundle by that name; a dry run never rolls, and a dry-run duplicate shows the real letter's code and state; the Lisu and Cherokee look-alikes of L fold; an empty dedupe key means no key; number flags take digits only."
|
|
10
15
|
]
|
|
11
16
|
},
|
|
17
|
+
{
|
|
18
|
+
"version": "0.1.0-alpha.1613",
|
|
19
|
+
"changes": [
|
|
20
|
+
"Tests now prove that the Butler's rollback, like its upgrade, skips a container that disappears while it checks for other programs reading the bundle. On 2026-11-23 the 1435 rollback failed on exactly that. Nothing changes for people using it ([#1761](https://github.com/ourostack/ouroboros/issues/1761))."
|
|
21
|
+
]
|
|
22
|
+
},
|
|
12
23
|
{
|
|
13
24
|
"version": "0.1.0-alpha.1612",
|
|
14
25
|
"changes": [
|
|
@@ -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.
|
|
4
|
+
<Repository>ghcr.io/ourostack/ouroboros-butler:0.1.0-alpha.1615</Repository>
|
|
5
5
|
<Registry>https://github.com/ourostack/ouroboros/pkgs/container/ouroboros-butler</Registry>
|
|
6
6
|
<Network>host</Network>
|
|
7
7
|
<Shell>sh</Shell>
|
package/dist/heart/core.js
CHANGED
|
@@ -1377,6 +1377,7 @@ async function runCountedTurn(turnTally, messages, callbacks, channel, signal, o
|
|
|
1377
1377
|
let sawSendMessageSelf = false;
|
|
1378
1378
|
let sawPonder = false;
|
|
1379
1379
|
let sawSettleContentMismatch = false;
|
|
1380
|
+
let sawBlockedReportNudge = false;
|
|
1380
1381
|
let sawQuerySession = false;
|
|
1381
1382
|
let sawBridgeManage = false;
|
|
1382
1383
|
let sawExternalStateQuery = false;
|
|
@@ -2387,7 +2388,22 @@ async function runCountedTurn(turnTally, messages, callbacks, channel, signal, o
|
|
|
2387
2388
|
(0, runtime_1.emitNervesEvent)({ level: "warn", component: "engine", event: "engine.settle_content_mismatch", message: "settle answer differs from the reply text written beside it; asking once for the reply as the answer", meta: { answerLength: deliveredAnswer.length, contentLength: msg.content.length } });
|
|
2388
2389
|
}
|
|
2389
2390
|
const { error: answerGateError, replacement } = answerGateVerdict(deliveredAnswer, intent);
|
|
2391
|
+
// A gap with no report ends at a polite no and fails the same way next time (#1660), so a blocked settle with
|
|
2392
|
+
// report_failure on offer and unused is asked once, and only while there are iterations left to file it: a reply beats none.
|
|
2393
|
+
const reportOffered = scopedOrdinaryActiveTools.some((tool) => tool.function.name === "report_failure");
|
|
2394
|
+
// Filing takes report_failure and a settle, and find_tools first when the door waits behind it.
|
|
2395
|
+
const reportDeferred = !candidateToolNames.has("report_failure");
|
|
2396
|
+
const blockedWithoutReport = !contentMismatch && intent === "blocked" && reportOffered && !sawBlockedReportNudge
|
|
2397
|
+
&& providerIterations < stepBudget - (reportDeferred ? 3 : 2)
|
|
2398
|
+
&& !turnToolRecords.some((record) => record.name === "report_failure")
|
|
2399
|
+
? tools_flow_1.FLOW_TOOL_REFUSALS.settleBlockedWithoutReport(reportDeferred)
|
|
2400
|
+
: null;
|
|
2401
|
+
if (blockedWithoutReport) {
|
|
2402
|
+
sawBlockedReportNudge = true;
|
|
2403
|
+
(0, runtime_1.emitNervesEvent)({ level: "warn", component: "engine", event: "engine.settle_blocked_without_report", message: "blocked settle with report_failure unused; asking once", meta: { deferred: reportDeferred } });
|
|
2404
|
+
}
|
|
2390
2405
|
const retryError = contentMismatch
|
|
2406
|
+
?? blockedWithoutReport
|
|
2391
2407
|
?? answerGateError
|
|
2392
2408
|
?? privateReturnAckLeakError(deliveredAnswer, privateReturnHeldTokens)
|
|
2393
2409
|
?? privateReturnMissingPonderError({
|
|
@@ -132,6 +132,7 @@ exports.FLOW_TOOL_REFUSALS = {
|
|
|
132
132
|
restAlone: (0, tool_error_code_1.withCode)("rejected: rest must be the only tool call. finish your work first, then call rest alone.", "rest-alone"),
|
|
133
133
|
settleCheckBackIncomplete: (0, tool_error_code_1.withCode)("settle takes check_back_at and condition together: give both to leave a check-back, or neither. nothing was sent.", "check-back-incomplete"),
|
|
134
134
|
settleCheckBackNotFiled: (detail) => (0, tool_error_code_1.withCode)(`settle couldn't leave the check-back: ${detail}. nothing was sent; fix it and settle again, or settle without check_back_at.`, "check-back-not-filed"),
|
|
135
|
+
settleBlockedWithoutReport: (deferred) => (0, tool_error_code_1.withCode)(`you settled as blocked and filed no report_failure this turn. if the block is a tool i lack or one that keeps failing, call report_failure (ari_words, tried, error)${deferred ? " (load it with find_tools first)" : ""}, then settle; the engineers who fix me hear about it. if you're waiting on the person instead, settle again as it is. nothing was sent.`, "blocked-without-report"),
|
|
135
136
|
settleHeldWork: (0, tool_error_code_1.withCode)("current held-work frame still has unsurfaced items — return each listed item with surface(delegationId=...) before you settle. Older transcript claims are historical; only the current held-work frame is the gate.", "held-work-unsurfaced"),
|
|
136
137
|
restHeldWork: (0, tool_error_code_1.withCode)("current held-work frame still has unsurfaced items — return each listed item with surface(delegationId=...) before you rest. Older transcript claims are historical; only the current held-work frame is the gate.", "held-work-unsurfaced"),
|
|
137
138
|
restFreshWork: (0, tool_error_code_1.withCode)("fresh work arrived for me this turn — inspect the pending messages above and take the next concrete action before you rest.", "fresh-work-pending"),
|
|
@@ -147,6 +148,7 @@ exports.FLOW_TOOL_REFUSALS = {
|
|
|
147
148
|
exports.toolCards = [
|
|
148
149
|
{ id: "tool:settle", group: "turn-flow", when: "Pick this to give your final answer and hand the turn back: the work is done, you're blocked, or the person asked something that needs an answer now. For progress while you keep working, use speak.", effect: "write", errors: [
|
|
149
150
|
{ code: "settle-alone", means: "settle came in one batch with other tool calls, so nothing in the batch ran.", fix: "Make the other calls first, read their results, then call settle on its own." },
|
|
151
|
+
{ code: "blocked-without-report", means: "settle said blocked, report_failure was on offer and wasn't called this turn, so the engine asked once before sending.", fix: "If a missing or failing tool is the block, call report_failure, then settle. Otherwise settle again unchanged; it is asked only once a turn." },
|
|
150
152
|
{ code: "check-back-incomplete", means: "settle had check_back_at or condition but not both, so nothing was sent.", fix: "Give both to leave a check-back, or neither." },
|
|
151
153
|
{ code: "check-back-not-filed", means: "The check-back couldn't be filed (the reason is in the reply), so nothing was sent.", fix: "Fix what the reply names, such as the time's format, then settle again, or settle without check_back_at." },
|
|
152
154
|
] },
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ouro.bot/cli",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.1615",
|
|
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.
|
|
9
|
+
"version": "0.1.0-alpha.1615",
|
|
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.
|
|
3
|
+
"version": "0.1.0-alpha.1615",
|
|
4
4
|
"description": "Ouroboros, the agent harness: agents with durable memory that live where you talk (terminal, Teams, iMessage, mail, voice) and use real tools. Start with npx ouro.bot@latest.",
|
|
5
5
|
"homepage": "https://ouroboros.bot/",
|
|
6
6
|
"engines": {
|