omnius 1.0.793 → 1.0.795

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: 39178099 bytes
4
- sha256: 77c9e3b8094d90a3f91db155f9e28ee0a3dfad588bb03538608f284fbc768c27
3
+ size: 39183834 bytes
4
+ sha256: f7f23898e576627ce93dab3197146494341cc1141e064dad36e55c352216201e
@@ -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 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-",
35909
+ "summary": "Status: post-1.0.794 scope and OMNIUS-continuation repairs implemented in the 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, ",
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 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- |
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: post-1.0.794 scope and OMNIUS-continuation repairs implemented in the 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, |
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,8 +1,8 @@
1
1
  # WO-57: Telegram delivery truth, reminder authority, and bounded recovery
2
2
 
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
3
+ **Status:** post-1.0.794 scope and OMNIUS-continuation repairs implemented in
4
+ the working tree; focused validation green; full-suite, repository-delivery,
5
+ and live acceptance gates remain open
6
6
  **Priority:** P0
7
7
  **Incident:** October 1, 2026, live Telegram reminder and illegal-logging non-responses
8
8
  **Owner:** Omnius orchestrator and Telegram runtime
@@ -17,7 +17,9 @@ Restore truthful, bounded delivery across Telegram action, quick-chat, steering,
17
17
  and recovery paths. A successful observation must reach the user exactly once;
18
18
  a mutation may be claimed only after its typed tool receipt; inline research must
19
19
  not require an impossible external-provider receipt; recovery must reuse current
20
- verified evidence instead of replaying the full reasoning loop.
20
+ verified evidence instead of replaying the full reasoning loop. A scoped
21
+ reminder tool must never read or mutate reminders owned by another chat, topic,
22
+ surface, or unscoped/global context.
21
23
 
22
24
  ## Baseline and live evidence
23
25
 
@@ -38,7 +40,7 @@ verified evidence instead of replaying the full reasoning loop.
38
40
  search-only and the conversation ended at assistant message 5705.
39
41
  - [x] Anchor false-acknowledgement failure: OMNIUS message 5712 was routed to
40
42
  zero-tool quick chat, delivered only `on it. pulling the Borneo illegal
41
- logging data now.`, and was marked consumed without a retrieval run.
43
+ logging data now.`, and was marked consumed without a retrieval run.
42
44
  - [x] Anchor follow-up router failure: Case Theory message 610 was a same-sender
43
45
  reply to the failed reminder-list request 609, but router reconciliation
44
46
  exhausted and the fallback lost its exact `inputId`, producing
@@ -52,6 +54,25 @@ verified evidence instead of replaying the full reasoning loop.
52
54
  `tool_search`, and unrelated `file_read` work, ended
53
55
  `incomplete_verification` twice, and was terminally failed at
54
56
  `2026-10-02T07:19:30.188Z` after three cycles with no public reply.
57
+ - [x] Anchor the 1.0.793 OMNIUS continuation failure: message 5717 asked the
58
+ bot to complete the open Borneo task, but the router again chose chat;
59
+ quick run `telegram-quick:e0318ff63f7db207` delivered message 5718,
60
+ `on it. pulling the Borneo illegal logging data now.`, with no action
61
+ runner or retrieval receipt.
62
+ - [x] Anchor the 1.0.793 Case Theory control failure: message 612 retrieved all
63
+ 29 reminders, reached `deliver_due` at `2026-10-02T08:06:58.242Z`, then
64
+ admitted `tool_search` and `file_read`, completed with the full answer,
65
+ rejected its terminal review, and started a whole-task recovery cycle.
66
+ - [x] Anchor the 1.0.794 scope breach: recovered message 612 called the locked
67
+ Case Theory reminder tool with `action:"list", filter:"all"`; the tool
68
+ returned the shared 29-reminder registry even though only four records
69
+ belonged to chat `-1003960149435`. Telegram message 614 then disclosed
70
+ reminder IDs and titles from OMNIUS and the requester's private DM.
71
+ - [x] Anchor the remaining 1.0.794 OMNIUS regression: message 5719 said
72
+ `please pull the data`; its exact typed decision identified the bot as
73
+ direct addressee in the open-task thread, but the host boundary required
74
+ a literal mention/reply edge and left it in quick chat. Message 5720 said
75
+ `pulling it now. one sec.`; no action run or data result followed.
55
76
 
56
77
  Runtime evidence:
57
78
 
@@ -64,6 +85,11 @@ Runtime evidence:
64
85
  - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-runner-state/84e4e6e5411c97531047/completion-finalizations/telegram-84e4e6e5411c9753-1790924323167-1.json`
65
86
  - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-runner-state/84e4e6e5411c97531047/debug-library/runs/telegram-84e4e6e5411c9753-1790925147229-1/events.jsonl`
66
87
  - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-runner-state/84e4e6e5411c97531047/completion-finalizations/telegram-84e4e6e5411c9753-1790925147229-1.json`
88
+ - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-turn-delivery-ledger/0f3dd3a8bebe1933d1d468175da402e64138954fcc52a8126512426297641ddf.json`
89
+ - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-runner-state/84e4e6e5411c97531047/debug-library/runs/telegram-84e4e6e5411c9753-1790928285562-1/events.jsonl`
90
+ - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-runner-state/84e4e6e5411c97531047/completion-finalizations/telegram-84e4e6e5411c9753-1790928285562-1.json`
91
+ - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-turn-delivery-ledger/a607485959cb9f27313e04bd289eb590d3daa65cf8e751a6262246311ebe1463.json`
92
+ - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-runner-state/84e4e6e5411c97531047/tool-results/b2fbc630.txt`
67
93
 
68
94
  ## Requirements and implementation checklist
69
95
 
@@ -246,6 +272,78 @@ Primary anchors:
246
272
  - `packages/cli/tests/telegram-bot-api-10.test.ts`
247
273
  - `packages/orchestrator/tests/agenticRunner-objective-control.test.ts`
248
274
 
275
+ ### REQ-TDT-010 — authoritative continuation and control-plane convergence
276
+
277
+ - [x] Treat a directly addressed completion command as continuation of the
278
+ durable open task; it cannot be consumed by zero-tool quick chat.
279
+ - [x] Bind terminal-review generation to the exact input, evidence IDs, and
280
+ message IDs enforced by its parser instead of generating against a
281
+ looser schema and rejecting the result afterward.
282
+ - [x] Retry an invalid terminal review once at the review boundary using the
283
+ same immutable evidence snapshot; do not use a full object-work replay
284
+ as the first contract-repair mechanism.
285
+ - [x] Make `deliver_due` authoritative for planning-free read-only contracts.
286
+ After the admitted observation, unrelated discovery/read tools must be
287
+ rejected and the runner must synthesize/complete.
288
+ - [x] Keep checklist research in deferred enforcement so a first generic
289
+ observation does not prematurely terminate multi-source work.
290
+ - [x] Add exact regressions for message 5717 continuation, review schema/parser
291
+ identity, in-place review repair, and message-612 enforcement mode.
292
+
293
+ Primary anchors:
294
+
295
+ - `packages/cli/src/tui/telegram-bridge.ts` — durable continuation boundary,
296
+ terminal-review schema/retry, and objective enforcement selection.
297
+ - `packages/cli/tests/telegram-steering-finalization.test.ts`
298
+ - `packages/cli/tests/telegram-terminal-metacognition.test.ts`
299
+ - `packages/cli/tests/telegram-reminder-contract.test.ts`
300
+
301
+ ### REQ-TDT-011 — reminder scope is a read/write authorization boundary
302
+
303
+ - [x] Enforce a locked reminder scope before listing records; `filter:"all"`
304
+ means every status inside the authorized scope, never every reminder in
305
+ the shared store.
306
+ - [x] Enforce the same scope before complete, dismiss, or snooze mutations.
307
+ A foreign reminder ID must return the ordinary not-found result without
308
+ revealing that the record exists and without changing it.
309
+ - [x] Canonicalize access by surface, target chat, and exact topic identity.
310
+ A group root, one topic, another group, a private DM, another surface,
311
+ and an unscoped record are mutually inaccessible from a locked context.
312
+ - [x] Treat `userId`, username, owner, and label as metadata rather than public
313
+ group visibility keys so reminders remain shared within their group/topic.
314
+ - [x] Preserve deliberately unlocked/global reminder administration behavior.
315
+ - [x] Add execution regressions for group/DM/topic/unscoped list isolation and
316
+ cross-scope complete/dismiss/snooze rejection, plus a Telegram adapter
317
+ regression proving Case Theory cannot observe OMNIUS or private reminders.
318
+
319
+ Primary anchors:
320
+
321
+ - `packages/execution/src/tools/reminder.ts` — authoritative scope predicate for
322
+ all reminder reads and mutations.
323
+ - `packages/execution/tests/tools/temporal-agency.test.ts`
324
+ - `packages/cli/src/tui/telegram-bridge.ts` — locked current-chat tool adapter.
325
+ - `packages/cli/tests/telegram-reminder-contract.test.ts`
326
+
327
+ ### REQ-TDT-012 — typed direct-turn continuation cannot acknowledge object work
328
+
329
+ - [x] Treat an exact-current typed decision as direct bot address when its
330
+ self role is `addressee`, reply basis is `direct_turn`, addressed actors
331
+ contain the bot, and evidence cites the current message.
332
+ - [x] When that authority accompanies an explicit thread-data request, require
333
+ action planning even without a literal `@mention` or Telegram reply edge.
334
+ - [x] Cite the exact durable open task when present and clear any chat plan so
335
+ the scoped action planner must select capabilities before replying.
336
+ - [x] Keep ambient/unaddressed human data talk and decisions addressed to a
337
+ different actor outside this repair.
338
+ - [x] Replay exact OMNIUS message 5719 and assert it cannot enter quick chat or
339
+ emit a progress acknowledgement without an action plan.
340
+
341
+ Primary anchors:
342
+
343
+ - `packages/cli/src/tui/telegram-bridge.ts` — typed direct-turn address and
344
+ open-task data-continuation boundary.
345
+ - `packages/cli/tests/telegram-steering-finalization.test.ts`
346
+
249
347
  ## Cross-surface validation gates
250
348
 
251
349
  - [x] Orchestrator focused tests pass for visible-response evidence, completion
@@ -280,6 +378,9 @@ Primary anchors:
280
378
  | REQ-TDT-007 | terminal recovery/memory eligibility | retained-candidate recovery | focused green |
281
379
  | REQ-TDT-008 | capability admission + unavailable ownership | 5712/610 + recovery ordering | focused green |
282
380
  | REQ-TDT-009 | recovered-contract migration + convergence gates | exact recovery + synthesis timing + bounded review | focused green |
381
+ | REQ-TDT-010 | continuation + control-plane convergence | 5717/612 + exact review contract | focused green |
382
+ | REQ-TDT-011 | reminder read/write scope authorization | group/DM/topic/foreign-ID isolation | focused green |
383
+ | REQ-TDT-012 | typed direct-turn action continuation | exact OMNIUS 5719 + ambient controls | focused green |
283
384
 
284
385
  ## Evidence log
285
386
 
@@ -448,3 +549,63 @@ Primary anchors:
448
549
  - The follow-up patch is not in the installed 1.0.792 runtime. A new build,
449
550
  version, install, and restart are required before live acceptance can be
450
551
  checked.
552
+
553
+ ### 2026-10-02 — live 1.0.793 control-plane finding and root repair
554
+
555
+ - The user-owned runtime restarted on globally installed `omnius@1.0.793` at
556
+ `2026-10-02T08:01:52.570Z`; polling remained healthy with no replay backlog.
557
+ This session did not start, stop, or send through that process.
558
+ - Installed bundle SHA-256
559
+ `77c9e3b8094d90a3f91db155f9e28ee0a3dfad588bb03538608f284fbc768c27`
560
+ contains the REQ-TDT-009 contract-migration, grounded-synthesis, and bounded-
561
+ review changes. The live recurrence is therefore not a stale-package
562
+ explanation.
563
+ - OMNIUS message 5717 exposed a durable-continuity failure: an exact open task
564
+ existed, but the directly addressed completion command was admitted to chat
565
+ and consumed after another unsupported progress acknowledgement.
566
+ - Case Theory message 612 exposed two control-plane mismatches. Telegram set
567
+ `taskObjectiveEnforcement="verified_external_effect"` for every objective,
568
+ so a planning-free reminder list reached `deliver_due` but could still run
569
+ `tool_search` and `file_read`. Terminal-review generation also allowed
570
+ arbitrary evidence/message IDs while the parser required the exact packet,
571
+ so invalid reviewer output caused completed object work to be replayed.
572
+ - The repair now derives strict frontier enforcement for planning-free
573
+ read-only contracts, binds the reviewer schema to the parser's exact IDs,
574
+ and performs one fresh reviewer retry against the unchanged evidence before
575
+ any lifecycle recovery. Multi-source checklist research remains deferred.
576
+ - Focused validation after the root repair: 250/250 tests passed across six
577
+ affected Telegram suites; the updated review/enforcement tests passed 14/14;
578
+ CLI typecheck, build, and `git diff --check` passed.
579
+ - The installed 1.0.793 runtime does not contain this REQ-TDT-010 repair. Live
580
+ acceptance remains open until a rebuilt package is installed and restarted.
581
+
582
+ ### 2026-10-02 — live 1.0.794 scope breach and remaining OMNIUS regression
583
+
584
+ - The user-owned runtime started globally installed `omnius@1.0.794`; installed
585
+ bundle SHA-256 was
586
+ `54ef7bafed127f8a19146f9400d3123bc77d3f6d92914b0d97d19538cda7f938`.
587
+ - Case Theory message 612 recovered, observed the shared 29-reminder store, and
588
+ delivered Telegram message 614. Only four records belonged to Case Theory;
589
+ the tool result also contained three OMNIUS, one Po3 Clock, eighteen private
590
+ Telegram, and three private TUI records. The delivered reply exposed OMNIUS
591
+ and private reminder IDs/titles while showing no Case Theory record.
592
+ - Root ownership was `ReminderTool`: `lockScope` constrained `set` but
593
+ `list`, `complete`, `dismiss`, and `snooze` selected from the global store.
594
+ The repair now applies one exact surface/target/topic authorization predicate
595
+ before every read and ID mutation. Foreign IDs return the ordinary not-found
596
+ result and remain unchanged; unlocked administration retains global access.
597
+ - OMNIUS message 5719 (`please pull the data`) remained a separate regression.
598
+ Its exact typed decision identified the bot as direct addressee and cited the
599
+ current message, but the host boundary recognized only literal mentions and
600
+ Telegram reply edges. Quick chat delivered message 5720 (`pulling it now.
601
+ one sec.`) without an action run or data result.
602
+ - Typed exact-current direct-turn authority now counts as bot address only when
603
+ a real decision ID, non-unavailable source, self actor key, addressee role,
604
+ direct-turn basis, and current-message evidence all agree. The exact 5719
605
+ replay is promoted to action, cites its open task, clears the chat plan, and
606
+ cannot use quick chat; an other-actor control remains unchanged.
607
+ - Validation: 74/74 execution temporal-agency tests and 204/204 Telegram tests
608
+ passed across reminder scope, steering/finalization, and Bot API surfaces.
609
+ Execution and CLI typechecks/builds passed; `git diff --check` passed.
610
+ - These repairs are not in installed 1.0.794. No publish, install, restart,
611
+ Telegram send, or live inference was performed by this session.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.793",
3
+ "version": "1.0.795",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "omnius",
9
- "version": "1.0.793",
9
+ "version": "1.0.795",
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.793",
3
+ "version": "1.0.795",
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",