omnius 1.0.794 → 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: 39181622 bytes
4
- sha256: 54ef7bafed127f8a19146f9400d3123bc77d3f6d92914b0d97d19538cda7f938
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.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,16 @@ 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.
64
76
 
65
77
  Runtime evidence:
66
78
 
@@ -76,6 +88,8 @@ Runtime evidence:
76
88
  - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-turn-delivery-ledger/0f3dd3a8bebe1933d1d468175da402e64138954fcc52a8126512426297641ddf.json`
77
89
  - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-runner-state/84e4e6e5411c97531047/debug-library/runs/telegram-84e4e6e5411c9753-1790928285562-1/events.jsonl`
78
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`
79
93
 
80
94
  ## Requirements and implementation checklist
81
95
 
@@ -284,6 +298,52 @@ Primary anchors:
284
298
  - `packages/cli/tests/telegram-terminal-metacognition.test.ts`
285
299
  - `packages/cli/tests/telegram-reminder-contract.test.ts`
286
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
+
287
347
  ## Cross-surface validation gates
288
348
 
289
349
  - [x] Orchestrator focused tests pass for visible-response evidence, completion
@@ -319,6 +379,8 @@ Primary anchors:
319
379
  | REQ-TDT-008 | capability admission + unavailable ownership | 5712/610 + recovery ordering | focused green |
320
380
  | REQ-TDT-009 | recovered-contract migration + convergence gates | exact recovery + synthesis timing + bounded review | focused green |
321
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 |
322
384
 
323
385
  ## Evidence log
324
386
 
@@ -516,3 +578,34 @@ Primary anchors:
516
578
  CLI typecheck, build, and `git diff --check` passed.
517
579
  - The installed 1.0.793 runtime does not contain this REQ-TDT-010 repair. Live
518
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.794",
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.794",
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.794",
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",