omnius 1.0.792 → 1.0.793

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: 39178099 bytes
4
+ sha256: 77c9e3b8094d90a3f91db155f9e28ee0a3dfad588bb03538608f284fbc768c27
@@ -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.792 recovery 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, WO-",
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.792 recovery 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, WO- |
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.792 recovery repair complete in working
4
+ tree; focused validation green; full-suite, repository-delivery, and live
5
+ 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,20 @@ 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.
45
55
 
46
56
  Runtime evidence:
47
57
 
@@ -50,6 +60,10 @@ Runtime evidence:
50
60
  - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-conversations/84e4e6e5411c97531047.json`
51
61
  - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-conversations/c34a3d7d53728329c081.json`
52
62
  - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/scheduled/reminders.json`
63
+ - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-runner-state/84e4e6e5411c97531047/debug-library/runs/telegram-84e4e6e5411c9753-1790924323167-1/events.jsonl`
64
+ - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-runner-state/84e4e6e5411c97531047/completion-finalizations/telegram-84e4e6e5411c9753-1790924323167-1.json`
65
+ - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-runner-state/84e4e6e5411c97531047/debug-library/runs/telegram-84e4e6e5411c9753-1790925147229-1/events.jsonl`
66
+ - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-runner-state/84e4e6e5411c97531047/completion-finalizations/telegram-84e4e6e5411c9753-1790925147229-1.json`
53
67
 
54
68
  ## Requirements and implementation checklist
55
69
 
@@ -209,6 +223,29 @@ Primary anchors:
209
223
  - `packages/cli/tests/telegram-social-decision-binding.test.ts` — stale-input
210
224
  negative control at the durable social commit boundary.
211
225
 
226
+ ### REQ-TDT-009 — recovered-contract migration and convergence
227
+
228
+ - [x] Prefer a current deterministic host-repaired contract over a stale
229
+ persisted contract when recovering the exact same Telegram input.
230
+ - [x] Preserve fail-closed external file/media delivery contracts; only typed
231
+ `host-contract-repair` authority can migrate an exact recovered task.
232
+ - [x] Do not consume the one-shot `deliver_due` synthesis instruction before a
233
+ required grounded observation exists.
234
+ - [x] Make `bounded_review` authoritative in deferred external-effect mode so
235
+ a no-delta plateau cannot continue into unrelated tool families.
236
+ - [x] Add regressions for exact contract migration, grounded synthesis timing,
237
+ and bounded no-delta enforcement.
238
+
239
+ Primary anchors:
240
+
241
+ - `packages/cli/src/tui/telegram-bridge.ts` — exact recovery contract selection
242
+ and evidence-gated synthesis.
243
+ - `packages/orchestrator/src/agenticRunner.ts` — objective admission at bounded
244
+ review.
245
+ - `packages/cli/tests/telegram-objective-resume.test.ts`
246
+ - `packages/cli/tests/telegram-bot-api-10.test.ts`
247
+ - `packages/orchestrator/tests/agenticRunner-objective-control.test.ts`
248
+
212
249
  ## Cross-surface validation gates
213
250
 
214
251
  - [x] Orchestrator focused tests pass for visible-response evidence, completion
@@ -232,16 +269,17 @@ Primary anchors:
232
269
 
233
270
  ## Traceability matrix
234
271
 
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 |
272
+ | Requirement | Production anchors | Regression anchors | Status |
273
+ | ----------- | ------------------------------------------------ | -------------------------------------------------- | ------------- |
274
+ | REQ-TDT-001 | orchestrator expected effects/readiness | terminal finalization + runner | focused green |
275
+ | REQ-TDT-002 | Telegram task completion/delivery | public/private/no-reply | focused green |
276
+ | REQ-TDT-003 | Telegram routing + reminder receipt | 5652/5653/5698/607 replay | focused green |
277
+ | REQ-TDT-004 | expected-outcome normalization | PNG inline research | focused green |
278
+ | REQ-TDT-005 | steering projection/ownership | PNG to Borneo steering | focused green |
279
+ | REQ-TDT-006 | safe-delivery receipt parser | wrappers + redirects | focused green |
280
+ | REQ-TDT-007 | terminal recovery/memory eligibility | retained-candidate recovery | focused green |
281
+ | REQ-TDT-008 | capability admission + unavailable ownership | 5712/610 + recovery ordering | focused green |
282
+ | REQ-TDT-009 | recovered-contract migration + convergence gates | exact recovery + synthesis timing + bounded review | focused green |
245
283
 
246
284
  ## Evidence log
247
285
 
@@ -370,5 +408,43 @@ Primary anchors:
370
408
  exact-binding, quick-chat, terminal delivery, reminder, attention, router,
371
409
  cognition/recovery, and streamed-terminal surfaces.
372
410
  - 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.
411
+ - At this checkpoint the live runtime remained `omnius@1.0.790`; no deployment,
412
+ restart, inference request, Telegram send, or live reminder mutation was
413
+ performed by this repair session.
414
+
415
+ ### 2026-10-02 — live 1.0.792 recovery finding and follow-up repair
416
+
417
+ - The user-owned runtime updated to `omnius@1.0.792` and restarted at
418
+ `2026-10-02T06:57:21.994Z`. Its health record remained in `polling` with zero
419
+ consecutive poll failures and no replay backlog. This session did not start,
420
+ stop, or send through that process.
421
+ - Version 1.0.792 contains the fresh-request boundary for message-5712-shaped
422
+ thread-data retrieval, so a new request cannot complete as a zero-tool
423
+ progress acknowledgement. A bare follow-up cannot reconstruct work already
424
+ orphaned by the pre-update runtime.
425
+ - Restart recovery exposed a separate exact-task migration bug. Message 611's
426
+ current host boundary selected reminder `read_only` semantics, but
427
+ `telegramExpectedOutcomeContractForRun` preferred the persisted pre-update
428
+ `delivery` contract. Both post-restart attempts observed 29 reminders and
429
+ authored the roster, then failed readiness solely on missing `delivery`.
430
+ - The recovery attempts also consumed `deliver_due` guidance before grounded
431
+ evidence and admitted `tool_search`/`file_read` after the useful reminder
432
+ result. The final intake state was `failed` after three bounded cycles with
433
+ no public reply.
434
+ - Exact-input recovery now treats a current `host-contract-repair` contract as
435
+ the migration authority over the retained legacy contract. Real external
436
+ delivery contracts retain their receipt requirement.
437
+ - `deliver_due` synthesis now waits for a successful non-control action result,
438
+ and the orchestrator enforces `bounded_review` even while external-effect
439
+ enforcement is deferred.
440
+ - Focused validation after the follow-up patch: 200/200 CLI tests passed across
441
+ objective recovery, terminal delivery, and Telegram Bot API 10; 7/7
442
+ orchestrator objective-control tests passed; CLI and orchestrator typechecks
443
+ passed.
444
+ - Broader affected-surface validation: 332/332 tests passed across 16 Telegram
445
+ suites, and 29/29 passed across four orchestrator completion, steering,
446
+ response-authority, and objective-control suites. Orchestrator and CLI builds
447
+ passed after formatting.
448
+ - The follow-up patch is not in the installed 1.0.792 runtime. A new build,
449
+ version, install, and restart are required before live acceptance can be
450
+ checked.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.792",
3
+ "version": "1.0.793",
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.793",
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.793",
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",