omnius 1.0.795 → 1.0.797

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: 39183834 bytes
4
- sha256: f7f23898e576627ce93dab3197146494341cc1141e064dad36e55c352216201e
3
+ size: 39269568 bytes
4
+ sha256: addd7fca63e49ee84b631e268135c959c4c4c475228b4e649fc2dd20eb3382ca
@@ -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: 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, ",
35909
+ "summary": "Status: 1.0.796 Case Theory continuation regression confirmed live; REQ-TDT-014 implementation and validation in progress; 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",
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: 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, |
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: 1.0.796 Case Theory continuation regression confirmed live; REQ-TDT-014 implementation and validation in progress; 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 |
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:** 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
3
+ **Status:** 1.0.796 Case Theory continuation regression confirmed live;
4
+ REQ-TDT-014 implementation and validation in progress; full-suite,
5
+ repository-delivery, 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
@@ -73,6 +73,24 @@ logging data now.`, and was marked consumed without a retrieval run.
73
73
  direct addressee in the open-task thread, but the host boundary required
74
74
  a literal mention/reply edge and left it in quick chat. Message 5720 said
75
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.
83
+ - [x] Anchor the 1.0.796 Case Theory batch-document regression: message 642
84
+ opened task `tgtask-3f98bf45a97a892330ae`, inspected four time cards,
85
+ retained a grounded partial reply candidate, and then stranded both the
86
+ candidate and the remaining document work when fresh terminal review
87
+ was unavailable.
88
+ - [x] Anchor the exact 1.0.796 follow-up failure: message 644 directly
89
+ mentioned the bot and said `confirm you can see all of the above files,
90
+ please follow her instructions`, but the explicit-continuation grammar
91
+ did not recognize delegated task continuation. The same router decision
92
+ was retried three times and the intake was marked failed without an
93
+ action run or public reply.
76
94
 
77
95
  Runtime evidence:
78
96
 
@@ -90,6 +108,9 @@ Runtime evidence:
90
108
  - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-runner-state/84e4e6e5411c97531047/completion-finalizations/telegram-84e4e6e5411c9753-1790928285562-1.json`
91
109
  - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-turn-delivery-ledger/a607485959cb9f27313e04bd289eb590d3daa65cf8e751a6262246311ebe1463.json`
92
110
  - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-runner-state/84e4e6e5411c97531047/tool-results/b2fbc630.txt`
111
+ - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-intake/f39b2cf564299c28fc81.jsonl`
112
+ - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-social-events/f39b2cf564299c28fc81b388.jsonl`
113
+ - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-runner-state/84e4e6e5411c97531047/tool-results/d1601e4c.txt`
93
114
 
94
115
  ## Requirements and implementation checklist
95
116
 
@@ -233,6 +254,9 @@ Primary anchors:
233
254
  message 610 to the reminder observation contract.
234
255
  - [x] Bind every router-unavailable decision to the host-owned exact input ID;
235
256
  never repair a genuinely mismatched/stale ID inside the commit boundary.
257
+ - [x] When the host constructs a trusted reminder action from a rejected router
258
+ decision, replace even a nonempty stale router input ID with the exact
259
+ current evidence-packet input ID before the action reaches commit.
236
260
  - [x] Attempt durable active-runner router recovery before any infrastructure-
237
261
  authored no-reply disposition can be committed as social judgment.
238
262
  - [x] Keep ordinary addressed conversation and unaddressed human-to-human data
@@ -344,6 +368,84 @@ Primary anchors:
344
368
  open-task data-continuation boundary.
345
369
  - `packages/cli/tests/telegram-steering-finalization.test.ts`
346
370
 
371
+ ### REQ-TDT-013 — elided task continuations survive reply-thread transitions
372
+
373
+ - [x] Resolve an explicit retrieval/completion continuation against the exact
374
+ open task first, or against the sole unresolved task in the same public
375
+ chat only when the current message has no native topic ID; never bridge
376
+ from one explicit topic to another or choose among multiple open tasks.
377
+ - [x] Put that bound task in the exact-current router evidence packet so the
378
+ router and action planner see the real objective rather than `none`.
379
+ - [x] Treat an object-elided retrieval imperative such as `pull it` as action
380
+ work only when it is bound to that task and has exact typed direct-turn,
381
+ native address, or exact adjacent bot-turn authority.
382
+ - [x] Preserve an adjacent bot reply to the same sender as deterministic
383
+ direct-turn evidence when router reconciliation fails; still require the
384
+ independent public reply-authority review before any group response.
385
+ - [x] Keep another-topic, multiple-task, other-actor, non-adjacent, and
386
+ ordinary ambient-talk controls outside the repair.
387
+ - [x] Replay exact OMNIUS messages 5721 and 5723 with the real task stored at
388
+ thread `5697`; assert neither can enter quick chat or disappear silently.
389
+
390
+ Primary anchors:
391
+
392
+ - `packages/cli/src/tui/telegram-bridge.ts` — explicit-continuation task
393
+ binding, exact evidence, and trusted action boundary.
394
+ - `packages/cli/tests/telegram-steering-finalization.test.ts`
395
+
396
+ ### REQ-TDT-014 — durable arbitrary-depth intake, batch objectives, and terminal handoff
397
+
398
+ - [ ] Treat a native direct mention/reply/private delivery as host-owned intake
399
+ authority. Invalid attention-router or action-plan JSON may not discard
400
+ that exact input; semantic interpretation belongs to the capable runner,
401
+ with ambient group traffic still using the attention router.
402
+ - [ ] Present every exact-scope durable open objective to that runner as
403
+ structured state, so ordinary language can continue, delegate, amend,
404
+ replace, or query it without a host phrase dictionary. Any model-selected
405
+ continuation must cite one unambiguous task and preserve its boundaries.
406
+ - [ ] Preserve the original task owner, task ID, objective, evidence, media
407
+ scope, and remaining work while binding the newer input as response
408
+ authority; do not create a second root task or silently replace the
409
+ original file-analysis objective.
410
+ - [ ] Require explicit current-turn bot address plus a read-only retained task
411
+ for cross-actor delegation. Keep mutation tasks, ambiguous multiple
412
+ tasks, foreign chats/topics, unaddressed talk, and wait/defer language
413
+ outside deterministic repair.
414
+ - [ ] Resume the retained objective without restoring a stale partial reply as
415
+ proof that the full batch is complete. A partial candidate may be used
416
+ only as evidence already gathered and must remain labelled partial until
417
+ every required file has been processed or a truthful blocker is sent.
418
+ - [ ] When object work reaches a current, verified candidate and the only
419
+ missing effect is Telegram visibility, make the terminal handoff durable
420
+ across review failure without restarting completed file reads or losing
421
+ the response owner.
422
+ - [ ] Persist the scoped action plan/capability set and terminal-review
423
+ checkpoint with the objective. Recovery must resume the last incomplete
424
+ state transition; it must not restart attention, planning, or completed
425
+ object work.
426
+ - [ ] Derive itemized completion criteria for a selected attachment set. One
427
+ generic observation cannot satisfy a multi-document request, and
428
+ advisory no-delta review cannot turn a partial checklist into
429
+ `deliver_due`.
430
+ - [ ] Prove all admitted attachments are durably enumerable and resolvable
431
+ from Telegram `file_id` metadata after process restart or local byte-cache
432
+ expiry. Enumeration must paginate beyond one bounded page, and each
433
+ successful inspection must receipt the exact message/file criterion.
434
+ - [ ] Replay the exact 642 -> 644 Case Theory topology, including Mariana as
435
+ task owner and robitman as the directly addressing delegator, and assert
436
+ one continued action task, no quick-chat acknowledgement, no router-only
437
+ exhaustion, and one final exact-scope response.
438
+
439
+ Primary anchors:
440
+
441
+ - `packages/cli/src/tui/telegram-bridge.ts` — delegated-continuation shape,
442
+ retained-task handoff, candidate/evidence restoration, and terminal recovery.
443
+ - `packages/cli/tests/telegram-steering-finalization.test.ts`
444
+ - `packages/cli/tests/telegram-objective-resume.test.ts`
445
+ - `packages/cli/tests/telegram-terminal-delivery.test.ts`
446
+ - `packages/cli/tests/telegram-terminal-metacognition.test.ts`
447
+ - `packages/cli/tests/telegram-media-admission.test.ts`
448
+
347
449
  ## Cross-surface validation gates
348
450
 
349
451
  - [x] Orchestrator focused tests pass for visible-response evidence, completion
@@ -381,6 +483,8 @@ Primary anchors:
381
483
  | REQ-TDT-010 | continuation + control-plane convergence | 5717/612 + exact review contract | focused green |
382
484
  | REQ-TDT-011 | reminder read/write scope authorization | group/DM/topic/foreign-ID isolation | focused green |
383
485
  | REQ-TDT-012 | typed direct-turn action continuation | exact OMNIUS 5719 + ambient controls | focused green |
486
+ | REQ-TDT-013 | elided cross-thread task continuation | exact OMNIUS 5721/5723 + scope controls | focused green |
487
+ | REQ-TDT-014 | delegated batch continuation + terminal handoff | Case Theory 642/644 + scope/batch controls | in progress |
384
488
 
385
489
  ## Evidence log
386
490
 
@@ -598,7 +702,7 @@ Primary anchors:
598
702
  Its exact typed decision identified the bot as direct addressee and cited the
599
703
  current message, but the host boundary recognized only literal mentions and
600
704
  Telegram reply edges. Quick chat delivered message 5720 (`pulling it now.
601
- one sec.`) without an action run or data result.
705
+ one sec.`) without an action run or data result.
602
706
  - Typed exact-current direct-turn authority now counts as bot address only when
603
707
  a real decision ID, non-unavailable source, self actor key, addressee role,
604
708
  direct-turn basis, and current-message evidence all agree. The exact 5719
@@ -609,3 +713,50 @@ Primary anchors:
609
713
  Execution and CLI typechecks/builds passed; `git diff --check` passed.
610
714
  - These repairs are not in installed 1.0.794. No publish, install, restart,
611
715
  Telegram send, or live inference was performed by this session.
716
+
717
+ ### 2026-10-02 — live 1.0.795 OMNIUS continuation regression and repair
718
+
719
+ - Installed `omnius@1.0.795` remained healthy in polling with replay backlog
720
+ zero, but OMNIUS task `tgtask-8942677c856ffedaa509` was still open under
721
+ thread `5697` while follow-ups arrived at root thread `0`.
722
+ - Message 5721 (`pull it`) received exact-current direct-turn decision
723
+ `tgdec-31270552314194f33fce`, entered zero-tool quick chat, and delivered
724
+ message 5722 (`pulling it now. one sec.`) without action or data.
725
+ - Message 5723 (`pull it and give me the fucking data`) then exhausted its
726
+ typed attention contract and was marked failed with no reply or action.
727
+ - The repair resolves only an exact task or the sole unresolved same-chat task
728
+ from a root turn, includes it in the router packet, accepts an elided
729
+ retrieval referent, and uses the immediately preceding bot reply to that
730
+ same sender as bounded direct-turn evidence. Explicit other topics,
731
+ ambiguous multi-task chats, and other-actor decisions remain excluded.
732
+ - A continuation reuses the cited task identity and current action contract
733
+ without restoring its stale verified reply candidate or stale effects; this
734
+ prevents the repaired first turn from creating a second ambiguous root task.
735
+ - Validation: 221/221 focused CLI tests passed across steering/finalization,
736
+ attention evidence, reminder scope, and Bot API surfaces. CLI typecheck and
737
+ build passed; `git diff --check` passed. The exact 5721/5723 replay tests use
738
+ the live `5697 -> 0` topology.
739
+ - The live runtime is still installed 1.0.795. No publish, install, restart,
740
+ Telegram send, or live inference was performed by this session.
741
+
742
+ ### 2026-10-02 — Case Theory message 610 stale-input root repair
743
+
744
+ - The reminder-list action repair previously preserved a rejected router
745
+ `input_id` whenever it was nonempty. For message 610 that retained the stale
746
+ or malformed identity through semantic repair, so the exact-input commit
747
+ guard correctly rejected the otherwise valid action and the chat went
748
+ silent.
749
+ - Host-authored reminder action repair now always takes identity from the
750
+ current host evidence packet. Router-unavailable decisions are likewise
751
+ constructed with the exact host input; the commit boundary remains strict
752
+ and does not accept or normalize arbitrary model identities.
753
+ - Reminder authorization remains exact by surface, target chat, and topic for
754
+ both reads and mutations. Foreign complete/dismiss/snooze IDs fail as
755
+ ordinary not-found records, while members of the same group/topic retain
756
+ their intended shared view.
757
+ - Independent validation: 51/51 focused CLI tests passed across social binding,
758
+ steering/finalization, and reminder contracts; 74/74 execution temporal-
759
+ agency tests passed; CLI and execution typechecks plus `git diff --check`
760
+ passed.
761
+ - No publish, install, service restart, Telegram send, or live inference was
762
+ performed by this validation.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.795",
3
+ "version": "1.0.797",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "omnius",
9
- "version": "1.0.795",
9
+ "version": "1.0.797",
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.795",
3
+ "version": "1.0.797",
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",