omnius 1.0.792 → 1.0.794

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/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/dist/index.js
3
- size: 39174630 bytes
4
- sha256: 87ab8a29d4940490150f770d36324499523adc53185959f4fa334a600f9d7d79
3
+ size: 39181622 bytes
4
+ sha256: 54ef7bafed127f8a19146f9400d3123bc77d3f6d92914b0d97d19538cda7f938
@@ -35906,7 +35906,7 @@
35906
35906
  "id": "guide.work-orders-runtime-health-remediation-wo-57-telegram-delivery-truth-and-recovery-uppercase",
35907
35907
  "kind": "guide",
35908
35908
  "title": "WO-57: Telegram delivery truth, reminder authority, and bounded recovery",
35909
- "summary": "Status: implementation complete in working tree; focused validation green; full-suite and repository-delivery gates remain open Priority: P0 Incident: October 1, 2026, live Telegram reminder and illegal-logging non-responses Owner: Omnius orchestrator and Telegram runtime Depends on: WO-41, WO-44, WO-49, WO-52, WO-54, WO-55, WO-56 Completion rule: A checkbox",
35909
+ "summary": "Status: implementation and post-1.0.793 control-plane repair complete in working tree; focused validation green; full-suite, repository-delivery, and live acceptance gates remain open Priority: P0 Incident: October 1, 2026, live Telegram reminder and illegal-logging non-responses Owner: Omnius orchestrator and Telegram runtime Depends on: WO-41, WO-44, WO-49",
35910
35910
  "keywords": [
35911
35911
  "work",
35912
35912
  "orders",
package/docs/DISCOVERY.md CHANGED
@@ -609,7 +609,7 @@ Daemon equivalents are `GET /v1/discovery/bootstrap`, `GET /v1/discovery?q=<inte
609
609
  | `guide.work-orders-runtime-health-remediation-wo-54-case-theory-router-deferral-recovery-uppercase` | WO-54: Case Theory router deferral recovery | Status: complete Priority: P0 Incident: September 26, 2026, Case Theory messages 455–456 Runtime observed: globally installed Omnius 1.0.764 Owner: current implementation session |
610
610
  | `guide.work-orders-runtime-health-remediation-wo-55-telegram-pressure-recovery-uppercase` | WO-55: Telegram pressure recovery without silent terminal states | Status: complete Priority: P0 Incident: September 26, 2026, Case Theory messages 458-461 Owner: current implementation session |
611
611
  | `guide.work-orders-runtime-health-remediation-wo-56-evidence-driven-objective-loop-uppercase` | WO-56: Evidence-driven objective loop and nonblocking execution | Status: repository implementation complete; live Telegram acceptance remains an external gate Priority: P0 Incident: September 27, 2026, Telegram SSH-over-Cloudflare task spiral and TUI freeze Owner: Omnius orchestration, execution, and Telegram runtime Depends on: WO-05, WO-21, WO-27, WO-41, WO-44, WO-49, WO-54, WO-55 Completion rule: A checkbox may be mark |
612
- | `guide.work-orders-runtime-health-remediation-wo-57-telegram-delivery-truth-and-recovery-uppercase` | WO-57: Telegram delivery truth, reminder authority, and bounded recovery | Status: implementation complete in working tree; focused validation green; full-suite and repository-delivery gates remain open Priority: P0 Incident: October 1, 2026, live Telegram reminder and illegal-logging non-responses Owner: Omnius orchestrator and Telegram runtime Depends on: WO-41, WO-44, WO-49, WO-52, WO-54, WO-55, WO-56 Completion rule: A checkbox |
612
+ | `guide.work-orders-runtime-health-remediation-wo-57-telegram-delivery-truth-and-recovery-uppercase` | WO-57: Telegram delivery truth, reminder authority, and bounded recovery | Status: implementation and post-1.0.793 control-plane repair complete in working tree; focused validation green; full-suite, repository-delivery, and live acceptance gates remain open Priority: P0 Incident: October 1, 2026, live Telegram reminder and illegal-logging non-responses Owner: Omnius orchestrator and Telegram runtime Depends on: WO-41, WO-44, WO-49 |
613
613
  | `guide.work-orders-telegram-dmn-wo-22-dmn-outreach-and-learning-uppercase` | WO-22: DMN outreach, DM sharing, and outcome learning | On 2026-09-03 at 17:07 PDT the bot posted in the OMNIUS group without being addressed. The operator asked whether this was self-induced reflection. |
614
614
  | `guide.work-orders-telegram-dropbear-context-rca-workorder` | Telegram Dropbear Context Engineering RCA Work Order | Observed run: /home/roko/Documents/Projects/Adjacent/telegramtest/.omnius, run id 1782873796963-i5r7mv. |
615
615
  | `guide.work-orders-telegram-reliability-consolidation-2026-09-28` | Telegram Reliability Consolidation — 2026-09-28 | Rule: check a box only after the named behavior is implemented and its listed verification passes. A parent box stays open until every child box is checked. |
@@ -1,7 +1,8 @@
1
1
  # WO-57: Telegram delivery truth, reminder authority, and bounded recovery
2
2
 
3
- **Status:** implementation complete in working tree; focused validation green;
4
- full-suite and repository-delivery gates remain open
3
+ **Status:** implementation and post-1.0.793 control-plane repair complete in
4
+ working tree; focused validation green; full-suite, repository-delivery, and
5
+ live acceptance gates remain open
5
6
  **Priority:** P0
6
7
  **Incident:** October 1, 2026, live Telegram reminder and illegal-logging non-responses
7
8
  **Owner:** Omnius orchestrator and Telegram runtime
@@ -37,11 +38,29 @@ verified evidence instead of replaying the full reasoning loop.
37
38
  search-only and the conversation ended at assistant message 5705.
38
39
  - [x] Anchor false-acknowledgement failure: OMNIUS message 5712 was routed to
39
40
  zero-tool quick chat, delivered only `on it. pulling the Borneo illegal
40
- logging data now.`, and was marked consumed without a retrieval run.
41
+ logging data now.`, and was marked consumed without a retrieval run.
41
42
  - [x] Anchor follow-up router failure: Case Theory message 610 was a same-sender
42
43
  reply to the failed reminder-list request 609, but router reconciliation
43
44
  exhausted and the fallback lost its exact `inputId`, producing
44
45
  `input missing input != telegram:chat:-1003960149435:0:610`.
46
+ - [x] Anchor the partial 1.0.792 result: the runtime restarted at
47
+ `2026-10-02T06:57:21.994Z` with healthy polling, but the recovered Case
48
+ Theory message 611 retained its pre-update `outcome:"delivery"`
49
+ contract, read all 29 reminders, authored the complete answer, then
50
+ rejected itself for missing the Telegram delivery effect.
51
+ - [x] Anchor bounded-recovery exhaustion: message 611 repeated `reminder`,
52
+ `tool_search`, and unrelated `file_read` work, ended
53
+ `incomplete_verification` twice, and was terminally failed at
54
+ `2026-10-02T07:19:30.188Z` after three cycles with no public reply.
55
+ - [x] Anchor the 1.0.793 OMNIUS continuation failure: message 5717 asked the
56
+ bot to complete the open Borneo task, but the router again chose chat;
57
+ quick run `telegram-quick:e0318ff63f7db207` delivered message 5718,
58
+ `on it. pulling the Borneo illegal logging data now.`, with no action
59
+ runner or retrieval receipt.
60
+ - [x] Anchor the 1.0.793 Case Theory control failure: message 612 retrieved all
61
+ 29 reminders, reached `deliver_due` at `2026-10-02T08:06:58.242Z`, then
62
+ admitted `tool_search` and `file_read`, completed with the full answer,
63
+ rejected its terminal review, and started a whole-task recovery cycle.
45
64
 
46
65
  Runtime evidence:
47
66
 
@@ -50,6 +69,13 @@ Runtime evidence:
50
69
  - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-conversations/84e4e6e5411c97531047.json`
51
70
  - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-conversations/c34a3d7d53728329c081.json`
52
71
  - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/scheduled/reminders.json`
72
+ - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-runner-state/84e4e6e5411c97531047/debug-library/runs/telegram-84e4e6e5411c9753-1790924323167-1/events.jsonl`
73
+ - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-runner-state/84e4e6e5411c97531047/completion-finalizations/telegram-84e4e6e5411c9753-1790924323167-1.json`
74
+ - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-runner-state/84e4e6e5411c97531047/debug-library/runs/telegram-84e4e6e5411c9753-1790925147229-1/events.jsonl`
75
+ - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-runner-state/84e4e6e5411c97531047/completion-finalizations/telegram-84e4e6e5411c9753-1790925147229-1.json`
76
+ - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-turn-delivery-ledger/0f3dd3a8bebe1933d1d468175da402e64138954fcc52a8126512426297641ddf.json`
77
+ - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-runner-state/84e4e6e5411c97531047/debug-library/runs/telegram-84e4e6e5411c9753-1790928285562-1/events.jsonl`
78
+ - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-runner-state/84e4e6e5411c97531047/completion-finalizations/telegram-84e4e6e5411c9753-1790928285562-1.json`
53
79
 
54
80
  ## Requirements and implementation checklist
55
81
 
@@ -209,6 +235,55 @@ Primary anchors:
209
235
  - `packages/cli/tests/telegram-social-decision-binding.test.ts` — stale-input
210
236
  negative control at the durable social commit boundary.
211
237
 
238
+ ### REQ-TDT-009 — recovered-contract migration and convergence
239
+
240
+ - [x] Prefer a current deterministic host-repaired contract over a stale
241
+ persisted contract when recovering the exact same Telegram input.
242
+ - [x] Preserve fail-closed external file/media delivery contracts; only typed
243
+ `host-contract-repair` authority can migrate an exact recovered task.
244
+ - [x] Do not consume the one-shot `deliver_due` synthesis instruction before a
245
+ required grounded observation exists.
246
+ - [x] Make `bounded_review` authoritative in deferred external-effect mode so
247
+ a no-delta plateau cannot continue into unrelated tool families.
248
+ - [x] Add regressions for exact contract migration, grounded synthesis timing,
249
+ and bounded no-delta enforcement.
250
+
251
+ Primary anchors:
252
+
253
+ - `packages/cli/src/tui/telegram-bridge.ts` — exact recovery contract selection
254
+ and evidence-gated synthesis.
255
+ - `packages/orchestrator/src/agenticRunner.ts` — objective admission at bounded
256
+ review.
257
+ - `packages/cli/tests/telegram-objective-resume.test.ts`
258
+ - `packages/cli/tests/telegram-bot-api-10.test.ts`
259
+ - `packages/orchestrator/tests/agenticRunner-objective-control.test.ts`
260
+
261
+ ### REQ-TDT-010 — authoritative continuation and control-plane convergence
262
+
263
+ - [x] Treat a directly addressed completion command as continuation of the
264
+ durable open task; it cannot be consumed by zero-tool quick chat.
265
+ - [x] Bind terminal-review generation to the exact input, evidence IDs, and
266
+ message IDs enforced by its parser instead of generating against a
267
+ looser schema and rejecting the result afterward.
268
+ - [x] Retry an invalid terminal review once at the review boundary using the
269
+ same immutable evidence snapshot; do not use a full object-work replay
270
+ as the first contract-repair mechanism.
271
+ - [x] Make `deliver_due` authoritative for planning-free read-only contracts.
272
+ After the admitted observation, unrelated discovery/read tools must be
273
+ rejected and the runner must synthesize/complete.
274
+ - [x] Keep checklist research in deferred enforcement so a first generic
275
+ observation does not prematurely terminate multi-source work.
276
+ - [x] Add exact regressions for message 5717 continuation, review schema/parser
277
+ identity, in-place review repair, and message-612 enforcement mode.
278
+
279
+ Primary anchors:
280
+
281
+ - `packages/cli/src/tui/telegram-bridge.ts` — durable continuation boundary,
282
+ terminal-review schema/retry, and objective enforcement selection.
283
+ - `packages/cli/tests/telegram-steering-finalization.test.ts`
284
+ - `packages/cli/tests/telegram-terminal-metacognition.test.ts`
285
+ - `packages/cli/tests/telegram-reminder-contract.test.ts`
286
+
212
287
  ## Cross-surface validation gates
213
288
 
214
289
  - [x] Orchestrator focused tests pass for visible-response evidence, completion
@@ -232,16 +307,18 @@ Primary anchors:
232
307
 
233
308
  ## Traceability matrix
234
309
 
235
- | Requirement | Production anchors | Regression anchors | Status |
236
- |---|---|---|---|
237
- | REQ-TDT-001 | orchestrator expected effects/readiness | terminal finalization + runner | focused green |
238
- | REQ-TDT-002 | Telegram task completion/delivery | public/private/no-reply | focused green |
239
- | REQ-TDT-003 | Telegram routing + reminder receipt | 5652/5653/5698/607 replay | focused green |
240
- | REQ-TDT-004 | expected-outcome normalization | PNG inline research | focused green |
241
- | REQ-TDT-005 | steering projection/ownership | PNG to Borneo steering | focused green |
242
- | REQ-TDT-006 | safe-delivery receipt parser | wrappers + redirects | focused green |
243
- | REQ-TDT-007 | terminal recovery/memory eligibility | retained-candidate recovery | focused green |
244
- | REQ-TDT-008 | capability admission + unavailable ownership | 5712/610 + recovery ordering | focused green |
310
+ | Requirement | Production anchors | Regression anchors | Status |
311
+ | ----------- | ------------------------------------------------ | -------------------------------------------------- | ------------- |
312
+ | REQ-TDT-001 | orchestrator expected effects/readiness | terminal finalization + runner | focused green |
313
+ | REQ-TDT-002 | Telegram task completion/delivery | public/private/no-reply | focused green |
314
+ | REQ-TDT-003 | Telegram routing + reminder receipt | 5652/5653/5698/607 replay | focused green |
315
+ | REQ-TDT-004 | expected-outcome normalization | PNG inline research | focused green |
316
+ | REQ-TDT-005 | steering projection/ownership | PNG to Borneo steering | focused green |
317
+ | REQ-TDT-006 | safe-delivery receipt parser | wrappers + redirects | focused green |
318
+ | REQ-TDT-007 | terminal recovery/memory eligibility | retained-candidate recovery | focused green |
319
+ | REQ-TDT-008 | capability admission + unavailable ownership | 5712/610 + recovery ordering | focused green |
320
+ | REQ-TDT-009 | recovered-contract migration + convergence gates | exact recovery + synthesis timing + bounded review | focused green |
321
+ | REQ-TDT-010 | continuation + control-plane convergence | 5717/612 + exact review contract | focused green |
245
322
 
246
323
  ## Evidence log
247
324
 
@@ -370,5 +447,72 @@ Primary anchors:
370
447
  exact-binding, quick-chat, terminal delivery, reminder, attention, router,
371
448
  cognition/recovery, and streamed-terminal surfaces.
372
449
  - CLI typecheck and build passed after the repair.
373
- - Live runtime remains `omnius@1.0.790`; no deployment, restart, inference
374
- request, Telegram send, or live reminder mutation was performed.
450
+ - At this checkpoint the live runtime remained `omnius@1.0.790`; no deployment,
451
+ restart, inference request, Telegram send, or live reminder mutation was
452
+ performed by this repair session.
453
+
454
+ ### 2026-10-02 — live 1.0.792 recovery finding and follow-up repair
455
+
456
+ - The user-owned runtime updated to `omnius@1.0.792` and restarted at
457
+ `2026-10-02T06:57:21.994Z`. Its health record remained in `polling` with zero
458
+ consecutive poll failures and no replay backlog. This session did not start,
459
+ stop, or send through that process.
460
+ - Version 1.0.792 contains the fresh-request boundary for message-5712-shaped
461
+ thread-data retrieval, so a new request cannot complete as a zero-tool
462
+ progress acknowledgement. A bare follow-up cannot reconstruct work already
463
+ orphaned by the pre-update runtime.
464
+ - Restart recovery exposed a separate exact-task migration bug. Message 611's
465
+ current host boundary selected reminder `read_only` semantics, but
466
+ `telegramExpectedOutcomeContractForRun` preferred the persisted pre-update
467
+ `delivery` contract. Both post-restart attempts observed 29 reminders and
468
+ authored the roster, then failed readiness solely on missing `delivery`.
469
+ - The recovery attempts also consumed `deliver_due` guidance before grounded
470
+ evidence and admitted `tool_search`/`file_read` after the useful reminder
471
+ result. The final intake state was `failed` after three bounded cycles with
472
+ no public reply.
473
+ - Exact-input recovery now treats a current `host-contract-repair` contract as
474
+ the migration authority over the retained legacy contract. Real external
475
+ delivery contracts retain their receipt requirement.
476
+ - `deliver_due` synthesis now waits for a successful non-control action result,
477
+ and the orchestrator enforces `bounded_review` even while external-effect
478
+ enforcement is deferred.
479
+ - Focused validation after the follow-up patch: 200/200 CLI tests passed across
480
+ objective recovery, terminal delivery, and Telegram Bot API 10; 7/7
481
+ orchestrator objective-control tests passed; CLI and orchestrator typechecks
482
+ passed.
483
+ - Broader affected-surface validation: 332/332 tests passed across 16 Telegram
484
+ suites, and 29/29 passed across four orchestrator completion, steering,
485
+ response-authority, and objective-control suites. Orchestrator and CLI builds
486
+ passed after formatting.
487
+ - The follow-up patch is not in the installed 1.0.792 runtime. A new build,
488
+ version, install, and restart are required before live acceptance can be
489
+ checked.
490
+
491
+ ### 2026-10-02 — live 1.0.793 control-plane finding and root repair
492
+
493
+ - The user-owned runtime restarted on globally installed `omnius@1.0.793` at
494
+ `2026-10-02T08:01:52.570Z`; polling remained healthy with no replay backlog.
495
+ This session did not start, stop, or send through that process.
496
+ - Installed bundle SHA-256
497
+ `77c9e3b8094d90a3f91db155f9e28ee0a3dfad588bb03538608f284fbc768c27`
498
+ contains the REQ-TDT-009 contract-migration, grounded-synthesis, and bounded-
499
+ review changes. The live recurrence is therefore not a stale-package
500
+ explanation.
501
+ - OMNIUS message 5717 exposed a durable-continuity failure: an exact open task
502
+ existed, but the directly addressed completion command was admitted to chat
503
+ and consumed after another unsupported progress acknowledgement.
504
+ - Case Theory message 612 exposed two control-plane mismatches. Telegram set
505
+ `taskObjectiveEnforcement="verified_external_effect"` for every objective,
506
+ so a planning-free reminder list reached `deliver_due` but could still run
507
+ `tool_search` and `file_read`. Terminal-review generation also allowed
508
+ arbitrary evidence/message IDs while the parser required the exact packet,
509
+ so invalid reviewer output caused completed object work to be replayed.
510
+ - The repair now derives strict frontier enforcement for planning-free
511
+ read-only contracts, binds the reviewer schema to the parser's exact IDs,
512
+ and performs one fresh reviewer retry against the unchanged evidence before
513
+ any lifecycle recovery. Multi-source checklist research remains deferred.
514
+ - Focused validation after the root repair: 250/250 tests passed across six
515
+ affected Telegram suites; the updated review/enforcement tests passed 14/14;
516
+ CLI typecheck, build, and `git diff --check` passed.
517
+ - The installed 1.0.793 runtime does not contain this REQ-TDT-010 repair. Live
518
+ acceptance remains open until a rebuilt package is installed and restarted.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.792",
3
+ "version": "1.0.794",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "omnius",
9
- "version": "1.0.792",
9
+ "version": "1.0.794",
10
10
  "bundleDependencies": [
11
11
  "image-to-ascii"
12
12
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.792",
3
+ "version": "1.0.794",
4
4
  "description": "AI coding agent powered by open-source models (Ollama/vLLM) — interactive TUI with agentic tool-calling loop",
5
5
  "type": "module",
6
6
  "main": "./dist/library.js",