omnius 1.0.797 → 1.0.798

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: 39269568 bytes
4
- sha256: addd7fca63e49ee84b631e268135c959c4c4c475228b4e649fc2dd20eb3382ca
3
+ size: 39293720 bytes
4
+ sha256: b42d8ee55332f05faf34e2f916f255e665af67cdcccd40b3bd5ee34b852741c2
@@ -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: 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",
35909
+ "summary": "Status: 1.0.797 live acceptance failed on Case Theory message 645; REQ-TDT-014/015/016 are delivered and focused-green; full-suite, redeployment, 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",
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: 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 |
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.797 live acceptance failed on Case Theory message 645; REQ-TDT-014/015/016 are delivered and focused-green; full-suite, redeployment, 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 |
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:** 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
3
+ **Status:** 1.0.797 live acceptance failed on Case Theory message 645;
4
+ REQ-TDT-014/015/016 are delivered and focused-green; full-suite, redeployment,
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
@@ -87,10 +87,32 @@ logging data now.`, and was marked consumed without a retrieval run.
87
87
  was unavailable.
88
88
  - [x] Anchor the exact 1.0.796 follow-up failure: message 644 directly
89
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
90
+ please follow her instructions`, but the explicit-continuation grammar
91
91
  did not recognize delegated task continuation. The same router decision
92
92
  was retried three times and the intake was marked failed without an
93
93
  action run or public reply.
94
+ - [x] Anchor the 1.0.797 scope-binding failure: message 645's otherwise valid
95
+ live action decision cited `active-task:tgtask-3f98bf45a97a892330ae`
96
+ while declaring `continuity:"new"` and the chat session key as
97
+ `activeScopeId`. The bridge admitted a replacement root task for 645,
98
+ discarded the original 642 objective/23-file scope, inspected only four
99
+ files, and marked coarse `effect:observation` ready for delivery.
100
+ - [x] Anchor the 1.0.797 batch-cadence failure: after enumerating all 23 PDFs
101
+ and each bounded OCR batch, the runner synchronously repeated
102
+ `virtual_memory_plan`, `virtual_memory_rerank`,
103
+ `virtual_memory_sufficiency`, and `memory_compilation_plan_v2`. Exact
104
+ request fingerprints and retrieval corpus/query keys changed after every
105
+ successful tool transaction, so each iteration was guaranteed to miss
106
+ both caches even with 20-33% exact request headroom remaining.
107
+ - [x] Anchor the false per-file evidence transition: successful structural
108
+ `document inspect` calls for messages 636-639 returned
109
+ `textCharacters:0` plus `visual review may be required`, but the generic
110
+ Telegram adapter still attached observation evidence and satisfied the
111
+ file criteria.
112
+ - [x] Anchor the capability-authority mismatch: Telegram's durable policy
113
+ classified `ocr_pdf` as read-only while the registered execution tool
114
+ correctly classified it as mutating, and stale generic tools were
115
+ ordered ahead of the manifest-specific `pdf_to_text` reader.
94
116
 
95
117
  Runtime evidence:
96
118
 
@@ -294,6 +316,32 @@ Primary anchors:
294
316
  review.
295
317
  - `packages/cli/tests/telegram-objective-resume.test.ts`
296
318
  - `packages/cli/tests/telegram-bot-api-10.test.ts`
319
+
320
+ ### REQ-TDT-016 — event-owned cadence and renewable runner lease
321
+
322
+ - [x] Make AgenticRunner's typed objective/frontier events the sole owner of
323
+ live object-work cadence. Do not start an independent semantic model
324
+ review from elapsed time or from an intermediate tool-result callback.
325
+ - [x] Renew the Telegram runner lease on every routed AgenticRunner lifecycle
326
+ event, while excluding Telegram typing/UI timers that could otherwise
327
+ keep an orphan alive indefinitely.
328
+ - [x] Suppress lease expiry while an exact-session inference is admitted; the
329
+ inference operation retains its own bounded deadline.
330
+ - [x] On genuine event silence past the configured TTL, fence the generation,
331
+ abort its runner/controller, release its session ownership, and requeue
332
+ the exact retained intake through the existing durable recovery path.
333
+ - [x] Keep independent metacognitive review at the settled terminal boundary,
334
+ where it can validate delivery without racing or steering live OCR/read
335
+ batches.
336
+ - [x] Cover recent-event lease renewal, event-silent expiry, no competing
337
+ semantic review, generation fencing, and retained-intake recovery.
338
+
339
+ Primary anchors:
340
+
341
+ - `packages/cli/src/tui/telegram-bridge.ts` — event lease renewal/expiry and
342
+ removal of live sidecar-review triggers.
343
+ - `packages/cli/tests/telegram-lifecycle-leak.test.ts`
344
+ - `packages/cli/tests/telegram-steering-finalization.test.ts`
297
345
  - `packages/orchestrator/tests/agenticRunner-objective-control.test.ts`
298
346
 
299
347
  ### REQ-TDT-010 — authoritative continuation and control-plane convergence
@@ -395,56 +443,126 @@ Primary anchors:
395
443
 
396
444
  ### REQ-TDT-014 — durable arbitrary-depth intake, batch objectives, and terminal handoff
397
445
 
398
- - [ ] Treat a native direct mention/reply/private delivery as host-owned intake
446
+ - [x] Treat a native direct mention/reply/private delivery as host-owned intake
399
447
  authority. Invalid attention-router or action-plan JSON may not discard
400
448
  that exact input; semantic interpretation belongs to the capable runner,
401
449
  with ambient group traffic still using the attention router.
402
- - [ ] Present every exact-scope durable open objective to that runner as
450
+ - [x] Present every exact-scope durable open objective to that runner as
403
451
  structured state, so ordinary language can continue, delegate, amend,
404
452
  replace, or query it without a host phrase dictionary. Any model-selected
405
453
  continuation must cite one unambiguous task and preserve its boundaries.
406
- - [ ] Preserve the original task owner, task ID, objective, evidence, media
454
+ - [x] Preserve the original task owner, task ID, objective, evidence, media
407
455
  scope, and remaining work while binding the newer input as response
408
456
  authority; do not create a second root task or silently replace the
409
457
  original file-analysis objective.
410
- - [ ] Require explicit current-turn bot address plus a read-only retained task
458
+ - [x] Require explicit current-turn bot address plus a read-only retained task
411
459
  for cross-actor delegation. Keep mutation tasks, ambiguous multiple
412
460
  tasks, foreign chats/topics, unaddressed talk, and wait/defer language
413
461
  outside deterministic repair.
414
- - [ ] Resume the retained objective without restoring a stale partial reply as
462
+ - [x] Resume the retained objective without restoring a stale partial reply as
415
463
  proof that the full batch is complete. A partial candidate may be used
416
464
  only as evidence already gathered and must remain labelled partial until
417
465
  every required file has been processed or a truthful blocker is sent.
418
- - [ ] When object work reaches a current, verified candidate and the only
466
+ - [x] When object work reaches a current, verified candidate and the only
419
467
  missing effect is Telegram visibility, make the terminal handoff durable
420
468
  across review failure without restarting completed file reads or losing
421
469
  the response owner.
422
- - [ ] Persist the scoped action plan/capability set and terminal-review
470
+ - [x] Persist the scoped action plan/capability set and terminal-review
423
471
  checkpoint with the objective. Recovery must resume the last incomplete
424
472
  state transition; it must not restart attention, planning, or completed
425
473
  object work.
426
- - [ ] Derive itemized completion criteria for a selected attachment set. One
474
+ - [x] Derive itemized completion criteria for a selected attachment set. One
427
475
  generic observation cannot satisfy a multi-document request, and
428
476
  advisory no-delta review cannot turn a partial checklist into
429
477
  `deliver_due`.
430
- - [ ] Prove all admitted attachments are durably enumerable and resolvable
478
+ - [x] Prove all admitted attachments are durably enumerable and resolvable
431
479
  from Telegram `file_id` metadata after process restart or local byte-cache
432
480
  expiry. Enumeration must paginate beyond one bounded page, and each
433
481
  successful inspection must receipt the exact message/file criterion.
434
- - [ ] Replay the exact 642 -> 644 Case Theory topology, including Mariana as
482
+ - [x] Give every retained task, resource manifest, continuation plan, and
483
+ terminal-review checkpoint a finite default TTL, bounded explicit TTL,
484
+ activity/manual renewal where applicable, and natural expiry that cannot
485
+ resurrect stale authority.
486
+ - [x] Replay the exact 642 -> 644 Case Theory topology, including Mariana as
435
487
  task owner and robitman as the directly addressing delegator, and assert
436
488
  one continued action task, no quick-chat acknowledgement, no router-only
437
489
  exhaustion, and one final exact-scope response.
490
+ - [x] Enforce continuity/scope coherence at the typed action-plan boundary:
491
+ `new` is allowed only when no active task exists and has no active scope,
492
+ while `continue_active`, `status_probe`, and `replace` must name and cite
493
+ an exact host-supplied active task. A chat session key cannot masquerade
494
+ as a task ID or silently overwrite durable work.
495
+ - [x] Keep a narrow admission-side compatibility guard for a queued decision
496
+ trusted by an older validator; repair only the exact single-task,
497
+ chat-key-as-scope contradiction and never infer continuation from prose.
498
+ - [x] Replay the valid-live-router contradiction through the complete Telegram
499
+ admission pipeline and prove the original task, objective, epoch, plan
500
+ ID, and plan tools survive with no second root task.
438
501
 
439
502
  Primary anchors:
440
503
 
441
504
  - `packages/cli/src/tui/telegram-bridge.ts` — delegated-continuation shape,
442
505
  retained-task handoff, candidate/evidence restoration, and terminal recovery.
506
+ - `packages/cli/src/tui/telegram-durable-continuation-policy.ts`
507
+ - `packages/cli/src/tui/telegram-resource-manifest.ts`
508
+ - `packages/cli/src/tui/telegram-terminal-review-checkpoint.ts`
443
509
  - `packages/cli/tests/telegram-steering-finalization.test.ts`
444
510
  - `packages/cli/tests/telegram-objective-resume.test.ts`
511
+ - `packages/cli/tests/telegram-durable-continuation-policy.test.ts`
512
+ - `packages/cli/tests/telegram-resource-manifest.test.ts`
513
+ - `packages/cli/tests/telegram-terminal-review-checkpoint.test.ts`
445
514
  - `packages/cli/tests/telegram-terminal-delivery.test.ts`
446
515
  - `packages/cli/tests/telegram-terminal-metacognition.test.ts`
447
- - `packages/cli/tests/telegram-media-admission.test.ts`
516
+ - `packages/cli/tests/telegram-media-cache.test.ts`
517
+ - `packages/cli/tests/telegram-update-spool.test.ts`
518
+
519
+ ### REQ-TDT-015 — scope-bound batch cadence and truthful resource evidence
520
+
521
+ - [x] Define a typed objective-read-batch continuation with exact session,
522
+ task epoch, objective ref/hash/revision, ordered criterion IDs, and
523
+ finite expiry. Never infer batch authority from user/model prose or a
524
+ generic read-only tool name.
525
+ - [x] Renew the fast path for one request only after a successful registered
526
+ read-only tool produces accepted observation evidence for an exact batch
527
+ criterion and the frontier still has another batch criterion open.
528
+ - [x] Invalidate immediately on scope/objective/epoch/frontier mismatch,
529
+ expiry, steering/preemption, failed or mutating work, non-observation,
530
+ batch exit, or lack of another exact criterion.
531
+ - [x] Reuse the validated scope-bound virtual-memory projection while the new
532
+ exact tool result remains resident in the current transcript. Recompute
533
+ pinned structured state on every request and rerun semantic retrieval at
534
+ synthesis/batch exit.
535
+ - [x] Preserve the exact request without compiler inference while the one-shot
536
+ lease is valid and at least 20% of the physical model window remains
537
+ free after input, output reservation, and safety margin. At lower
538
+ headroom, run the normal compiler; never discard or summarize the newly
539
+ observed resource to keep the fast path alive.
540
+ - [x] Treat structural success with zero extracted text as capability feedback,
541
+ not attachment observation. Accept PDF resource evidence only from typed
542
+ text extraction (or a complete typed query-negative observation), and
543
+ leave zero-text files open for OCR/visual processing.
544
+ - [x] Remove mutating `ocr_pdf` from durable read-only authority. When a PDF
545
+ resource manifest is active, place `telegram_media_recent` and
546
+ `pdf_to_text` ahead of stale generic plan tools, and replace rather than
547
+ renew a non-matching plan.
548
+ - [x] Cover scope-bound projection reuse/batch exit, safe-headroom compiler
549
+ hold, one-shot read-result admission, zero-text evidence rejection,
550
+ mutating OCR-plan rejection, stale-plan replacement, and the complete
551
+ Case Theory Telegram admission file.
552
+
553
+ Primary anchors:
554
+
555
+ - `packages/orchestrator/src/agenticRunner.ts` — typed batch lease, objective
556
+ admission, virtual-memory cadence, and compiler pressure boundary.
557
+ - `packages/orchestrator/tests/live-virtual-context.test.ts`
558
+ - `packages/orchestrator/tests/unified-memory-compilation.test.ts`
559
+ - `packages/cli/src/tui/telegram-resource-manifest.ts`
560
+ - `packages/cli/src/tui/telegram-durable-continuation-policy.ts`
561
+ - `packages/cli/src/tui/telegram-bridge.ts`
562
+ - `packages/cli/tests/telegram-resource-manifest.test.ts`
563
+ - `packages/cli/tests/telegram-durable-continuation-policy.test.ts`
564
+ - `packages/cli/tests/telegram-objective-resume.test.ts`
565
+ - `packages/cli/tests/telegram-bot-api-10.test.ts`
448
566
 
449
567
  ## Cross-surface validation gates
450
568
 
@@ -461,7 +579,7 @@ Primary anchors:
461
579
  - [x] Independent review finds no path that can claim a mutation without its
462
580
  typed receipt or bind a Telegram response without exact current reply or
463
581
  provider-delivery authority.
464
- - [ ] Changes are committed in scoped, verified commits and pushed to the
582
+ - [x] Changes are committed in scoped, verified commits and pushed to the
465
583
  tracked branch.
466
584
  - [ ] Live Telegram acceptance remains unchecked unless the exact deployed
467
585
  runtime is rebuilt/restarted and validated under the hardware and service
@@ -469,22 +587,24 @@ Primary anchors:
469
587
 
470
588
  ## Traceability matrix
471
589
 
472
- | Requirement | Production anchors | Regression anchors | Status |
473
- | ----------- | ------------------------------------------------ | -------------------------------------------------- | ------------- |
474
- | REQ-TDT-001 | orchestrator expected effects/readiness | terminal finalization + runner | focused green |
475
- | REQ-TDT-002 | Telegram task completion/delivery | public/private/no-reply | focused green |
476
- | REQ-TDT-003 | Telegram routing + reminder receipt | 5652/5653/5698/607 replay | focused green |
477
- | REQ-TDT-004 | expected-outcome normalization | PNG inline research | focused green |
478
- | REQ-TDT-005 | steering projection/ownership | PNG to Borneo steering | focused green |
479
- | REQ-TDT-006 | safe-delivery receipt parser | wrappers + redirects | focused green |
480
- | REQ-TDT-007 | terminal recovery/memory eligibility | retained-candidate recovery | focused green |
481
- | REQ-TDT-008 | capability admission + unavailable ownership | 5712/610 + recovery ordering | focused green |
482
- | REQ-TDT-009 | recovered-contract migration + convergence gates | exact recovery + synthesis timing + bounded review | focused green |
483
- | REQ-TDT-010 | continuation + control-plane convergence | 5717/612 + exact review contract | focused green |
484
- | REQ-TDT-011 | reminder read/write scope authorization | group/DM/topic/foreign-ID isolation | focused green |
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 |
590
+ | Requirement | Production anchors | Regression anchors | Status |
591
+ | ----------- | ------------------------------------------------- | -------------------------------------------------- | ------------------------------- |
592
+ | REQ-TDT-001 | orchestrator expected effects/readiness | terminal finalization + runner | focused green |
593
+ | REQ-TDT-002 | Telegram task completion/delivery | public/private/no-reply | focused green |
594
+ | REQ-TDT-003 | Telegram routing + reminder receipt | 5652/5653/5698/607 replay | focused green |
595
+ | REQ-TDT-004 | expected-outcome normalization | PNG inline research | focused green |
596
+ | REQ-TDT-005 | steering projection/ownership | PNG to Borneo steering | focused green |
597
+ | REQ-TDT-006 | safe-delivery receipt parser | wrappers + redirects | focused green |
598
+ | REQ-TDT-007 | terminal recovery/memory eligibility | retained-candidate recovery | focused green |
599
+ | REQ-TDT-008 | capability admission + unavailable ownership | 5712/610 + recovery ordering | focused green |
600
+ | REQ-TDT-009 | recovered-contract migration + convergence gates | exact recovery + synthesis timing + bounded review | focused green |
601
+ | REQ-TDT-010 | continuation + control-plane convergence | 5717/612 + exact review contract | focused green |
602
+ | REQ-TDT-011 | reminder read/write scope authorization | group/DM/topic/foreign-ID isolation | focused green |
603
+ | REQ-TDT-012 | typed direct-turn action continuation | exact OMNIUS 5719 + ambient controls | focused green |
604
+ | REQ-TDT-013 | elided cross-thread task continuation | exact OMNIUS 5721/5723 + scope controls | focused green |
605
+ | REQ-TDT-014 | delegated batch continuation + terminal handoff | Case Theory 642/644/645 + scope/batch controls | focused green; redeploy pending |
606
+ | REQ-TDT-015 | scoped batch cadence + truthful resource evidence | batch projection/compiler + media evidence/plan | focused green; redeploy pending |
607
+ | REQ-TDT-016 | event cadence + renewable runner lease | lifecycle leak + steering/finalization | delivered; redeploy pending |
488
608
 
489
609
  ## Evidence log
490
610
 
@@ -760,3 +880,131 @@ one sec.`) without an action run or data result.
760
880
  passed.
761
881
  - No publish, install, service restart, Telegram send, or live inference was
762
882
  performed by this validation.
883
+
884
+ ### 2026-10-02 — Case Theory 642/644 durable batch root repair
885
+
886
+ - The retained batch now owns a durable per-attachment resource manifest. Each
887
+ Telegram message/file identity maps to its own objective criterion, so three
888
+ successful reads cannot satisfy a 23-file batch and coarse checklist
889
+ observation cannot force `deliver_due`.
890
+ - Durable media enumeration reads consumed update-spool and SQLite metadata in
891
+ exact chat/topic scope, paginates beyond the first 20 records, and
892
+ re-materializes expired local bytes from the retained Telegram `file_id`.
893
+ Successful media tools attach the exact resource criterion and observation
894
+ evidence to the objective result.
895
+ - Native direct address can host-admit exactly one retained read-only task when
896
+ typed routing is unavailable. The admission is task-, chat-, topic-, actor-,
897
+ capability-, and TTL-bound; mutation, ambiguity, foreign scope, unaddressed
898
+ traffic, and unauthorized cross-actor inheritance remain denied. The exact
899
+ 642 -> 644 replay uses Mariana's retained task and robitman's authenticated
900
+ group-admin delegation without any host phrase matching.
901
+ - Terminal-review failure freezes a content-addressed checkpoint. Scheduler
902
+ retries invoke only terminal review; they do not restart attention, action
903
+ planning, or document processing. After runtime-state loss, the checkpoint
904
+ rehydrates a non-runnable review snapshot from durable task/candidate/receipt
905
+ state. A partial checkpoint is mechanically ineligible for delivery; only a
906
+ fresh reviewer may authorize bounded object continuation.
907
+ - Retained tasks, resource manifests, read-only continuation plans, and terminal
908
+ checkpoints now have finite defaults, bounded renewal semantics, and natural
909
+ expiry. Restart loading rejects stale task leases rather than renewing them.
910
+ - Validation: CLI typecheck passed. Focused CLI validation passed 158/158 across
911
+ terminal recovery, durable policy, resource manifests, objective resume,
912
+ media cache, and update spool; the complete Bot API 10 integration file
913
+ passed 163/163; the restart-style terminal rehydration suite passed 44/44;
914
+ the exact delegated 642 -> 644 replay passed independently. Orchestrator
915
+ checklist objective-control validation passed 8/8.
916
+ - No publish, install, service restart, Telegram send, or live inference was
917
+ performed by this repair validation. Repository delivery and live acceptance
918
+ remain separate gates.
919
+
920
+ ### 2026-10-02 — live 1.0.797 active-scope contract failure and root repair
921
+
922
+ - The user-owned runtime is globally installed `omnius@1.0.797`, PID `2003867`,
923
+ running from `telegram_test`. Polling and intake remained alive; the failure
924
+ was task identity, not process or Telegram transport liveness.
925
+ - Message 645 produced a valid live action envelope that cited the exact old
926
+ task, but its expected-outcome contract simultaneously declared
927
+ `continuity:"new"` and used `chat:-1003960149435` as `activeScopeId`.
928
+ Because the validator did not relate continuity, scope, and active-task
929
+ evidence, the admission boundary replaced task 642 with a new coarse task.
930
+ - The resulting run inspected messages 636-639, marked generic observation
931
+ satisfied, entered `deliver_due`, then continued with `tool_search` and
932
+ paginated `telegram_media_recent`. This is direct live evidence that model
933
+ diligence cannot substitute for an itemized objective frontier.
934
+ - The typed validator now rejects incoherent scope before admission. `new` is
935
+ allowed only when the chat/topic has no active task and forbids an active
936
+ scope; continuation/status/replacement requires the exact ID of a cited host
937
+ active-task entry. The action-planner prompt states the same invariant. A
938
+ narrow legacy guard protects already queued decisions that contain the exact
939
+ observed chat-key/single-cited-task contradiction.
940
+ - Focused validation passed: 9/9 objective-resume tests, CLI typecheck, and the
941
+ exact complete Bot API admission replay (1/1) all passed. That replay proves
942
+ task 642's ID, input, epoch, objective, durable plan ID, and tool scope are
943
+ retained and no task rooted at the follow-up input is created. Broader suite
944
+ validation and redeployment remain open.
945
+
946
+ ### 2026-10-02 — live 1.0.797 batch-cadence and resource-evidence root repair
947
+
948
+ - The same user-owned message-645 run remained alive, but every changed tool
949
+ transaction forced a new virtual-memory plan/rerank/sufficiency sequence and
950
+ a new compilation plan. Observed cycles took roughly three minutes before
951
+ the next main decision even though the exact request still had 15,681 free
952
+ tokens (32.7% of a 48k window); inferred compaction was then rejected for
953
+ falling outside the 45-52% target occupancy.
954
+ - The old runtime eventually found `ocr_pdf` and extracted exact one-page
955
+ timesheet text for messages 642, 641, 640, and 639, including typed totals,
956
+ but immediately re-entered the same auxiliary pipeline after each batch.
957
+ This proved backend/tool capability was healthy and the stall was runner
958
+ cadence, not Telegram transport, GPU placement, or OCR dependency failure.
959
+ - The orchestrator now accepts only a host-authored, TTL-bound objective read
960
+ batch tied to one session, epoch, objective identity/revision, and exact
961
+ resource criteria. One accepted read-only observation authorizes one reuse;
962
+ all mismatches and batch boundaries return to ordinary auxiliary inference.
963
+ Exact requests remain lossless above 20% free capacity; normal compaction is
964
+ mandatory below that boundary.
965
+ - Resource evidence is now content-sensitive. A successful document receipt
966
+ with zero text does not satisfy an attachment criterion. Typed PDF extraction
967
+ with actual characters (or a complete query-negative receipt) does. A bare
968
+ artifact mutation without observed content does not.
969
+ - Durable Telegram capability authority now agrees with execution semantics:
970
+ `ocr_pdf` is no longer a durable read-only tool. Active PDF manifests mint
971
+ `telegram_media_recent + pdf_to_text` ahead of stale generic tools, and an
972
+ existing plan is replaced when its scoped tool set differs instead of being
973
+ automatically renewed.
974
+ - Validation passed: orchestrator virtual-context/compiler suites 25/25;
975
+ Telegram durable-policy/objective/resource suites 34/34; focused Telegram
976
+ objective/evidence suites 29/29; complete Telegram Bot API 10 suite 164/164;
977
+ CLI and orchestrator typechecks; Prettier and `git diff --check` on the
978
+ affected source. The installed 1.0.797 runtime does not contain these
979
+ repairs, so post-publish restart and exact live acceptance remain open.
980
+ - Delivery is split into scoped commits: `2bfbd875` (reminder scope and typed
981
+ receipts), `718ad983` (objective truth and batch cadence), and `50cfde89`
982
+ (Telegram task/resource scope). All were verified before delivery to the
983
+ tracked `origin/main` branch; this work-order record is the final documentation
984
+ commit in that delivery.
985
+
986
+ ### 2026-10-02 — live sidecar-review cadence root repair
987
+
988
+ - The continuing 1.0.797 Case Theory run extracted PDFs 642 through 634, but
989
+ repeatedly launched `stalled-metacognitive-review-retry` while the parent
990
+ runner was still producing OCR and lifecycle events. Its activity panel
991
+ showed 898s, 1125s, and 1892s "quiet" epochs plus rejected review contracts;
992
+ the parent task remained `running` with no Telegram delivery receipt.
993
+ - Root cause: the watchdog measured time since the last material objective
994
+ delta rather than time since the last typed runner event, while a second
995
+ tool-result hook could launch the same sidecar review from intermediate
996
+ frontier state. This gave live cadence to two model loops and misclassified
997
+ active control/OCR work as semantic silence.
998
+ - The watchdog now enforces a renewable event lease using `lastActivityMs`.
999
+ It never starts model inference. Active exact-session inference suppresses
1000
+ expiry; a genuinely event-silent runner is generation-fenced, aborted, and
1001
+ requeued from its retained intake after the configured TTL. Intermediate
1002
+ tool results no longer launch a Telegram sidecar review.
1003
+ - Validation passed: CLI typecheck and build; 111/111 lifecycle, steering,
1004
+ terminal-review, checkpoint, and objective-resume tests; complete Telegram
1005
+ Bot API 10 suite 164/164; Prettier and `git diff --check`. Live acceptance
1006
+ remains pending publication, installation, and broker restart.
1007
+ - Source delivery commit: `54a0e681` (`fix(cli): drive Telegram cadence from
1008
+ runner events`) on tracked `origin/main`; this documentation update records
1009
+ that delivery and leaves only broader/full-suite and deployed-live gates
1010
+ open.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.797",
3
+ "version": "1.0.798",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "omnius",
9
- "version": "1.0.797",
9
+ "version": "1.0.798",
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.797",
3
+ "version": "1.0.798",
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",