omnius 1.0.794 → 1.0.796

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: 39181622 bytes
4
- sha256: 54ef7bafed127f8a19146f9400d3123bc77d3f6d92914b0d97d19538cda7f938
3
+ size: 39188965 bytes
4
+ sha256: 57f79f926d323fe8b5febd27e8476071fa9dc33c1e0e4c76457050a474c489d2
@@ -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.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",
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.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 |
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.793 control-plane repair complete in
4
- working tree; focused validation green; full-suite, repository-delivery, and
5
- live 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
 
@@ -61,6 +63,23 @@ logging data now.`, and was marked consumed without a retrieval run.
61
63
  29 reminders, reached `deliver_due` at `2026-10-02T08:06:58.242Z`, then
62
64
  admitted `tool_search` and `file_read`, completed with the full answer,
63
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.
76
+ - [x] Anchor the 1.0.795 continuation regression: the durable task remained
77
+ open under thread `5697`, while messages 5721 and 5723 arrived at the
78
+ chat root (`0`). Message 5721 (`pull it`) received an exact typed
79
+ direct-turn decision but escaped to quick chat because it elided the
80
+ data noun; message 5722 repeated `pulling it now. one sec.` with no
81
+ action. Message 5723 (`pull it and give me the fucking data`) then failed
82
+ the attention-router contract and received no reply or action at all.
64
83
 
65
84
  Runtime evidence:
66
85
 
@@ -76,6 +95,8 @@ Runtime evidence:
76
95
  - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-turn-delivery-ledger/0f3dd3a8bebe1933d1d468175da402e64138954fcc52a8126512426297641ddf.json`
77
96
  - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-runner-state/84e4e6e5411c97531047/debug-library/runs/telegram-84e4e6e5411c9753-1790928285562-1/events.jsonl`
78
97
  - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-runner-state/84e4e6e5411c97531047/completion-finalizations/telegram-84e4e6e5411c9753-1790928285562-1.json`
98
+ - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-turn-delivery-ledger/a607485959cb9f27313e04bd289eb590d3daa65cf8e751a6262246311ebe1463.json`
99
+ - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-runner-state/84e4e6e5411c97531047/tool-results/b2fbc630.txt`
79
100
 
80
101
  ## Requirements and implementation checklist
81
102
 
@@ -219,6 +240,9 @@ Primary anchors:
219
240
  message 610 to the reminder observation contract.
220
241
  - [x] Bind every router-unavailable decision to the host-owned exact input ID;
221
242
  never repair a genuinely mismatched/stale ID inside the commit boundary.
243
+ - [x] When the host constructs a trusted reminder action from a rejected router
244
+ decision, replace even a nonempty stale router input ID with the exact
245
+ current evidence-packet input ID before the action reaches commit.
222
246
  - [x] Attempt durable active-runner router recovery before any infrastructure-
223
247
  authored no-reply disposition can be committed as social judgment.
224
248
  - [x] Keep ordinary addressed conversation and unaddressed human-to-human data
@@ -284,6 +308,77 @@ Primary anchors:
284
308
  - `packages/cli/tests/telegram-terminal-metacognition.test.ts`
285
309
  - `packages/cli/tests/telegram-reminder-contract.test.ts`
286
310
 
311
+ ### REQ-TDT-011 — reminder scope is a read/write authorization boundary
312
+
313
+ - [x] Enforce a locked reminder scope before listing records; `filter:"all"`
314
+ means every status inside the authorized scope, never every reminder in
315
+ the shared store.
316
+ - [x] Enforce the same scope before complete, dismiss, or snooze mutations.
317
+ A foreign reminder ID must return the ordinary not-found result without
318
+ revealing that the record exists and without changing it.
319
+ - [x] Canonicalize access by surface, target chat, and exact topic identity.
320
+ A group root, one topic, another group, a private DM, another surface,
321
+ and an unscoped record are mutually inaccessible from a locked context.
322
+ - [x] Treat `userId`, username, owner, and label as metadata rather than public
323
+ group visibility keys so reminders remain shared within their group/topic.
324
+ - [x] Preserve deliberately unlocked/global reminder administration behavior.
325
+ - [x] Add execution regressions for group/DM/topic/unscoped list isolation and
326
+ cross-scope complete/dismiss/snooze rejection, plus a Telegram adapter
327
+ regression proving Case Theory cannot observe OMNIUS or private reminders.
328
+
329
+ Primary anchors:
330
+
331
+ - `packages/execution/src/tools/reminder.ts` — authoritative scope predicate for
332
+ all reminder reads and mutations.
333
+ - `packages/execution/tests/tools/temporal-agency.test.ts`
334
+ - `packages/cli/src/tui/telegram-bridge.ts` — locked current-chat tool adapter.
335
+ - `packages/cli/tests/telegram-reminder-contract.test.ts`
336
+
337
+ ### REQ-TDT-012 — typed direct-turn continuation cannot acknowledge object work
338
+
339
+ - [x] Treat an exact-current typed decision as direct bot address when its
340
+ self role is `addressee`, reply basis is `direct_turn`, addressed actors
341
+ contain the bot, and evidence cites the current message.
342
+ - [x] When that authority accompanies an explicit thread-data request, require
343
+ action planning even without a literal `@mention` or Telegram reply edge.
344
+ - [x] Cite the exact durable open task when present and clear any chat plan so
345
+ the scoped action planner must select capabilities before replying.
346
+ - [x] Keep ambient/unaddressed human data talk and decisions addressed to a
347
+ different actor outside this repair.
348
+ - [x] Replay exact OMNIUS message 5719 and assert it cannot enter quick chat or
349
+ emit a progress acknowledgement without an action plan.
350
+
351
+ Primary anchors:
352
+
353
+ - `packages/cli/src/tui/telegram-bridge.ts` — typed direct-turn address and
354
+ open-task data-continuation boundary.
355
+ - `packages/cli/tests/telegram-steering-finalization.test.ts`
356
+
357
+ ### REQ-TDT-013 — elided task continuations survive reply-thread transitions
358
+
359
+ - [x] Resolve an explicit retrieval/completion continuation against the exact
360
+ open task first, or against the sole unresolved task in the same public
361
+ chat only when the current message has no native topic ID; never bridge
362
+ from one explicit topic to another or choose among multiple open tasks.
363
+ - [x] Put that bound task in the exact-current router evidence packet so the
364
+ router and action planner see the real objective rather than `none`.
365
+ - [x] Treat an object-elided retrieval imperative such as `pull it` as action
366
+ work only when it is bound to that task and has exact typed direct-turn,
367
+ native address, or exact adjacent bot-turn authority.
368
+ - [x] Preserve an adjacent bot reply to the same sender as deterministic
369
+ direct-turn evidence when router reconciliation fails; still require the
370
+ independent public reply-authority review before any group response.
371
+ - [x] Keep another-topic, multiple-task, other-actor, non-adjacent, and
372
+ ordinary ambient-talk controls outside the repair.
373
+ - [x] Replay exact OMNIUS messages 5721 and 5723 with the real task stored at
374
+ thread `5697`; assert neither can enter quick chat or disappear silently.
375
+
376
+ Primary anchors:
377
+
378
+ - `packages/cli/src/tui/telegram-bridge.ts` — explicit-continuation task
379
+ binding, exact evidence, and trusted action boundary.
380
+ - `packages/cli/tests/telegram-steering-finalization.test.ts`
381
+
287
382
  ## Cross-surface validation gates
288
383
 
289
384
  - [x] Orchestrator focused tests pass for visible-response evidence, completion
@@ -319,6 +414,9 @@ Primary anchors:
319
414
  | REQ-TDT-008 | capability admission + unavailable ownership | 5712/610 + recovery ordering | focused green |
320
415
  | REQ-TDT-009 | recovered-contract migration + convergence gates | exact recovery + synthesis timing + bounded review | focused green |
321
416
  | REQ-TDT-010 | continuation + control-plane convergence | 5717/612 + exact review contract | focused green |
417
+ | REQ-TDT-011 | reminder read/write scope authorization | group/DM/topic/foreign-ID isolation | focused green |
418
+ | REQ-TDT-012 | typed direct-turn action continuation | exact OMNIUS 5719 + ambient controls | focused green |
419
+ | REQ-TDT-013 | elided cross-thread task continuation | exact OMNIUS 5721/5723 + scope controls | focused green |
322
420
 
323
421
  ## Evidence log
324
422
 
@@ -516,3 +614,81 @@ Primary anchors:
516
614
  CLI typecheck, build, and `git diff --check` passed.
517
615
  - The installed 1.0.793 runtime does not contain this REQ-TDT-010 repair. Live
518
616
  acceptance remains open until a rebuilt package is installed and restarted.
617
+
618
+ ### 2026-10-02 — live 1.0.794 scope breach and remaining OMNIUS regression
619
+
620
+ - The user-owned runtime started globally installed `omnius@1.0.794`; installed
621
+ bundle SHA-256 was
622
+ `54ef7bafed127f8a19146f9400d3123bc77d3f6d92914b0d97d19538cda7f938`.
623
+ - Case Theory message 612 recovered, observed the shared 29-reminder store, and
624
+ delivered Telegram message 614. Only four records belonged to Case Theory;
625
+ the tool result also contained three OMNIUS, one Po3 Clock, eighteen private
626
+ Telegram, and three private TUI records. The delivered reply exposed OMNIUS
627
+ and private reminder IDs/titles while showing no Case Theory record.
628
+ - Root ownership was `ReminderTool`: `lockScope` constrained `set` but
629
+ `list`, `complete`, `dismiss`, and `snooze` selected from the global store.
630
+ The repair now applies one exact surface/target/topic authorization predicate
631
+ before every read and ID mutation. Foreign IDs return the ordinary not-found
632
+ result and remain unchanged; unlocked administration retains global access.
633
+ - OMNIUS message 5719 (`please pull the data`) remained a separate regression.
634
+ Its exact typed decision identified the bot as direct addressee and cited the
635
+ current message, but the host boundary recognized only literal mentions and
636
+ Telegram reply edges. Quick chat delivered message 5720 (`pulling it now.
637
+ one sec.`) without an action run or data result.
638
+ - Typed exact-current direct-turn authority now counts as bot address only when
639
+ a real decision ID, non-unavailable source, self actor key, addressee role,
640
+ direct-turn basis, and current-message evidence all agree. The exact 5719
641
+ replay is promoted to action, cites its open task, clears the chat plan, and
642
+ cannot use quick chat; an other-actor control remains unchanged.
643
+ - Validation: 74/74 execution temporal-agency tests and 204/204 Telegram tests
644
+ passed across reminder scope, steering/finalization, and Bot API surfaces.
645
+ Execution and CLI typechecks/builds passed; `git diff --check` passed.
646
+ - These repairs are not in installed 1.0.794. No publish, install, restart,
647
+ Telegram send, or live inference was performed by this session.
648
+
649
+ ### 2026-10-02 — live 1.0.795 OMNIUS continuation regression and repair
650
+
651
+ - Installed `omnius@1.0.795` remained healthy in polling with replay backlog
652
+ zero, but OMNIUS task `tgtask-8942677c856ffedaa509` was still open under
653
+ thread `5697` while follow-ups arrived at root thread `0`.
654
+ - Message 5721 (`pull it`) received exact-current direct-turn decision
655
+ `tgdec-31270552314194f33fce`, entered zero-tool quick chat, and delivered
656
+ message 5722 (`pulling it now. one sec.`) without action or data.
657
+ - Message 5723 (`pull it and give me the fucking data`) then exhausted its
658
+ typed attention contract and was marked failed with no reply or action.
659
+ - The repair resolves only an exact task or the sole unresolved same-chat task
660
+ from a root turn, includes it in the router packet, accepts an elided
661
+ retrieval referent, and uses the immediately preceding bot reply to that
662
+ same sender as bounded direct-turn evidence. Explicit other topics,
663
+ ambiguous multi-task chats, and other-actor decisions remain excluded.
664
+ - A continuation reuses the cited task identity and current action contract
665
+ without restoring its stale verified reply candidate or stale effects; this
666
+ prevents the repaired first turn from creating a second ambiguous root task.
667
+ - Validation: 221/221 focused CLI tests passed across steering/finalization,
668
+ attention evidence, reminder scope, and Bot API surfaces. CLI typecheck and
669
+ build passed; `git diff --check` passed. The exact 5721/5723 replay tests use
670
+ the live `5697 -> 0` topology.
671
+ - The live runtime is still installed 1.0.795. No publish, install, restart,
672
+ Telegram send, or live inference was performed by this session.
673
+
674
+ ### 2026-10-02 — Case Theory message 610 stale-input root repair
675
+
676
+ - The reminder-list action repair previously preserved a rejected router
677
+ `input_id` whenever it was nonempty. For message 610 that retained the stale
678
+ or malformed identity through semantic repair, so the exact-input commit
679
+ guard correctly rejected the otherwise valid action and the chat went
680
+ silent.
681
+ - Host-authored reminder action repair now always takes identity from the
682
+ current host evidence packet. Router-unavailable decisions are likewise
683
+ constructed with the exact host input; the commit boundary remains strict
684
+ and does not accept or normalize arbitrary model identities.
685
+ - Reminder authorization remains exact by surface, target chat, and topic for
686
+ both reads and mutations. Foreign complete/dismiss/snooze IDs fail as
687
+ ordinary not-found records, while members of the same group/topic retain
688
+ their intended shared view.
689
+ - Independent validation: 51/51 focused CLI tests passed across social binding,
690
+ steering/finalization, and reminder contracts; 74/74 execution temporal-
691
+ agency tests passed; CLI and execution typechecks plus `git diff --check`
692
+ passed.
693
+ - No publish, install, service restart, Telegram send, or live inference was
694
+ performed by this validation.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.794",
3
+ "version": "1.0.796",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "omnius",
9
- "version": "1.0.794",
9
+ "version": "1.0.796",
10
10
  "bundleDependencies": [
11
11
  "image-to-ascii"
12
12
  ],
@@ -3795,9 +3795,9 @@
3795
3795
  "license": "BSD-3-Clause"
3796
3796
  },
3797
3797
  "node_modules/ignore": {
3798
- "version": "7.0.11",
3799
- "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.11.tgz",
3800
- "integrity": "sha512-YChdK5txDjwGUvgR7oCJcLGkwi3LDh8Zx8tS7ndYciLEg/oOCL26VUBSUEtgS7EjiybcBqFxh5j0rAdDX7/bbg==",
3798
+ "version": "7.0.12",
3799
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.12.tgz",
3800
+ "integrity": "sha512-/8UvqAPU9DGTI9k4mxtf49U37Isfwr8Uts96+SBHIkFxPJnHS0Ew4f00sM4Scd8V8EjM0jUNtVDdv1kPdt35lg==",
3801
3801
  "license": "MIT",
3802
3802
  "engines": {
3803
3803
  "node": ">= 4"
@@ -5741,16 +5741,16 @@
5741
5741
  }
5742
5742
  },
5743
5743
  "node_modules/sharp/node_modules/tar-stream": {
5744
- "version": "3.2.1",
5745
- "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.2.1.tgz",
5746
- "integrity": "sha512-nqsEO8zLZJvrOMdEwkA0QdCLFbetHMn95Zqu4fKwX+hkaTWJPZZOrxx/PwtxoK0MMGQmBQNRW3CPs8IFYQz4cQ==",
5744
+ "version": "3.2.2",
5745
+ "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.2.2.tgz",
5746
+ "integrity": "sha512-+8NeqHRjQWH9nYlwo2gamAMImZCVzI4UoEgDpWorBt9OEfppiZn+uSkskzQKPWIZyji/C8fpWO7u69G0DX0tbg==",
5747
5747
  "license": "MIT",
5748
5748
  "optional": true,
5749
5749
  "dependencies": {
5750
- "b4a": "^1.6.4",
5751
- "bare-fs": "^4.5.5",
5752
- "fast-fifo": "^1.2.0",
5753
- "streamx": "^2.15.0"
5750
+ "b4a": "^1.9.0",
5751
+ "bare-fs": "^4.8.2",
5752
+ "fast-fifo": "^1.3.2",
5753
+ "streamx": "^2.28.1"
5754
5754
  }
5755
5755
  },
5756
5756
  "node_modules/simple-concat": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.794",
3
+ "version": "1.0.796",
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",