omnius 1.0.799 → 1.0.800

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: 39315083 bytes
4
- sha256: f3bb752f92745a0ae0dedb58da465a3598d0e01ecf2d9da38cbcc78e43f2be25
3
+ size: 39351823 bytes
4
+ sha256: 812b782621e8e4b7fb2af446cd38684559e1ea1fa8c79c43345605a4084e24c8
@@ -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.798 live acceptance failed on Case Theory message 650; REQ-TDT-018 delivery-commit convergence and complete batch-scope repair are in progress; 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 run",
35909
+ "summary": "Status: 1.0.798 live acceptance failed on Case Theory message 650; REQ-TDT-018 delivery-commit convergence and complete batch-scope repair are verified and pushed; full-suite, publication, redeployment, and live-acceptance gates remain open Priority: P0 Incident: October 1, 2026, live Telegram reminder and illegal-logging non-responses Owner: Omnius orchestr",
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.798 live acceptance failed on Case Theory message 650; REQ-TDT-018 delivery-commit convergence and complete batch-scope repair are in progress; 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 run |
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.798 live acceptance failed on Case Theory message 650; REQ-TDT-018 delivery-commit convergence and complete batch-scope repair are verified and pushed; full-suite, publication, redeployment, and live-acceptance gates remain open Priority: P0 Incident: October 1, 2026, live Telegram reminder and illegal-logging non-responses Owner: Omnius orchestr |
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,9 @@
1
1
  # WO-57: Telegram delivery truth, reminder authority, and bounded recovery
2
2
 
3
3
  **Status:** 1.0.798 live acceptance failed on Case Theory message 650;
4
- REQ-TDT-018 delivery-commit convergence and complete batch-scope repair are in
5
- progress; full-suite, redeployment, and live-acceptance gates remain open
4
+ REQ-TDT-018 delivery-commit convergence and complete batch-scope repair are
5
+ verified and pushed; full-suite, publication, redeployment, and live-acceptance
6
+ gates remain open
6
7
  **Priority:** P0
7
8
  **Incident:** October 1, 2026, live Telegram reminder and illegal-logging non-responses
8
9
  **Owner:** Omnius orchestrator and Telegram runtime
@@ -14,15 +15,16 @@ is not a Telegram delivery receipt.
14
15
  ## Objective
15
16
 
16
17
  Restore truthful, bounded delivery across Telegram action, quick-chat, steering,
17
- and recovery paths. A successful observation must reach the user exactly once;
18
- a mutation may be claimed only after its typed tool receipt; inline research must
19
- not require an impossible external-provider receipt; recovery must reuse current
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. A response admitted from a Telegram forum
23
- topic must keep that exact topic on every text, media, menu, callback, and
24
- autonomous-follow-up delivery; replying to a message is not a substitute for
25
- the native `message_thread_id` destination.
18
+ and recovery paths. A successful observation must not be credited before a
19
+ provider receipt, lost on restart, or blindly duplicated after ambiguous
20
+ provider acceptance; a mutation may be claimed only after its typed tool
21
+ receipt; inline research must not require an impossible external-provider
22
+ receipt; recovery must reuse current verified evidence instead of replaying the
23
+ full reasoning loop. A scoped reminder tool must never read or mutate reminders
24
+ owned by another chat, topic, surface, or unscoped/global context. A response
25
+ admitted from a Telegram forum topic must keep that exact topic on every text,
26
+ media, menu, callback, and autonomous-follow-up delivery; replying to a message
27
+ is not a substitute for the native `message_thread_id` destination.
26
28
 
27
29
  ## Baseline and live evidence
28
30
 
@@ -629,32 +631,35 @@ Primary anchors:
629
631
  idempotent exact-request retries, durable history replay, bounded retry
630
632
  exhaustion, and Telegram provider/typing semantics into
631
633
  `.aiwg/research/terminal-metacognitive-control/`.
632
- - [ ] Represent an accepted Telegram `user_reply` as durable pending delivery,
634
+ - [x] Represent an accepted Telegram `user_reply` as durable pending delivery,
633
635
  not as a completed visible-response effect. A terminal success may not
634
636
  clear the task until the exact destination/payload receives a Telegram
635
637
  provider receipt.
636
- - [ ] Bind delivery retries to one task/input/epoch/topic/payload hash and
637
- reconcile exactly once. A process restart resumes pending delivery from
638
- durable state without rerunning completed document/OCR work.
639
- - [ ] Make terminal semantic review a bounded decision activity. Review
638
+ - [x] Bind delivery retries to one task/input/epoch/topic/payload hash. A
639
+ process restart resumes work that was still durably pending without
640
+ rerunning completed document/OCR work; a restart after dispatch began but
641
+ before a Bot API receipt becomes `delivery_ambiguous` and is not blindly
642
+ resent. Exactly-once remains unavailable on the HTTP Bot API because it
643
+ accepts no caller idempotency token (REF-048).
644
+ - [x] Make terminal semantic review a bounded decision activity. Review
640
645
  unavailability cannot dispatch indefinitely: after the configured
641
646
  attempt/elapsed budget, a complete evidence-bound candidate follows the
642
647
  deterministic delivery path; a partial candidate retains a truthful
643
648
  blocked/needs-input state.
644
- - [ ] Preserve the complete host-enumerated 23-file resource manifest across
649
+ - [x] Preserve the complete host-enumerated 23-file resource manifest across
645
650
  delegated continuation and restart. No prefix/suffix window, model prose,
646
651
  or generic observation may reduce or satisfy the itemized batch.
647
- - [ ] Keep typing as an event-driven ephemeral projection while work or pending
652
+ - [x] Keep typing as an event-driven ephemeral projection while work or pending
648
653
  delivery is genuinely active. Typing never owns the runner lease and
649
654
  stops on provider receipt, cancellation, expiry, or terminal failure.
650
- - [ ] Add deterministic regressions reproducing message 650: 23 admitted PDFs,
655
+ - [x] Add deterministic regressions reproducing message 650: 23 admitted PDFs,
651
656
  nine previously processed files, restart, unavailable reviewer, bounded
652
657
  retry, exact candidate delivery, provider receipt, one public reply, and
653
658
  no repeated OCR or unbounded dispatch.
654
- - [ ] Pass affected CLI/orchestrator focused suites, typechecks/builds,
655
- formatting, `git diff --check`, independent review, scoped commit, and
656
- push. Publication/restart/live acceptance remain separate user-owned
657
- gates unless explicitly requested.
659
+ - [x] Pass affected CLI/orchestrator focused suites, typechecks/builds,
660
+ formatting, `git diff --check`, and independent review.
661
+ - [x] Commit and push the scoped repair. Publication/restart/live acceptance
662
+ remain separate user-owned gates unless explicitly requested.
658
663
 
659
664
  Primary anchors:
660
665
 
@@ -711,7 +716,7 @@ Primary anchors:
711
716
  | REQ-TDT-015 | scoped batch cadence + truthful resource evidence | batch projection/compiler + media evidence/plan | focused green; redeploy pending |
712
717
  | REQ-TDT-016 | event cadence + renewable runner lease | lifecycle leak + steering/finalization | delivered; redeploy pending |
713
718
  | REQ-TDT-017 | exact Telegram forum-topic delivery | final chunks + commands + artifacts | focused green; redeploy pending |
714
- | REQ-TDT-018 | delivery commit + full batch recovery | exact 23-file message-650 replay | implementation in progress |
719
+ | REQ-TDT-018 | delivery commit + full batch recovery | exact 23-file message-650 replay | focused green; deploy pending |
715
720
 
716
721
  ## Evidence log
717
722
 
@@ -1136,3 +1141,47 @@ runner events`) on tracked `origin/main`; this documentation update records
1136
1141
  10 suite 164/164; focused Prettier checks and `git diff --check`.
1137
1142
  - Publication, installation, broker restart, and a fresh General-topic live
1138
1143
  receipt remain separate deployment/acceptance gates.
1144
+
1145
+ ### 2026-10-02 — REQ-TDT-018 durable delivery and batch-recovery convergence
1146
+
1147
+ - Primary guidance was inducted for transactional outbox state, idempotent
1148
+ request identity, durable event replay, bounded retry exhaustion, and
1149
+ Telegram delivery/typing semantics. The HTTP Bot API has no caller-supplied
1150
+ idempotency key, so a request that may have been accepted without a returned
1151
+ message receipt is now retained as `delivery_ambiguous` and is not resent
1152
+ automatically.
1153
+ - A terminal `user_reply` is a provider-delivery candidate, not visible
1154
+ completion. Its immutable ledger transition is `prepared` ->
1155
+ `dispatch_started` -> provider receipt; only the receipt clears the exact
1156
+ task/input/epoch/topic/payload operation. Provider attempts are bounded to
1157
+ four attempts and 90 seconds; only explicit flood control is automatically
1158
+ retryable.
1159
+ - Restart recovery enters checkpoint transport before capability inference,
1160
+ routing, OCR, or object work. Completed document receipts and the full
1161
+ messages 620-642 resource manifest survive database/spool divergence and
1162
+ retain their configured TTL. Expired leases are not silently revived.
1163
+ - Terminal review is a bounded activity. A complete evidence-bound candidate
1164
+ takes the deterministic delivery path when review is unavailable; a partial
1165
+ candidate cannot. Typing is emitted only as an activity pulse and does not
1166
+ own a retry timer or runner lease.
1167
+ - Checkpoint queue settlement partitions exact owner intake from later work,
1168
+ re-reads the live queue across lifecycle awaits, and wakes residual work.
1169
+ Regressions cover concurrent arrival, retry-cap, missing checkpoint,
1170
+ rehydration failure, no-reply, wait-for-user, and multi-chunk delivery exits.
1171
+ - Forum identity is canonicalized at ingress: a positive raw thread wins,
1172
+ otherwise a positive native reply-context thread is frozen. Input, task,
1173
+ history, checkpoint, ledger, restart, and provider payload therefore cannot
1174
+ disagree or fall back to chat-wide scope.
1175
+ - Validation passed: 390/390 affected Telegram tests and 10/10 orchestrator
1176
+ authority/finalization tests; CLI and orchestrator typechecks/builds;
1177
+ Prettier, YAML parsing, and `git diff --check`. Two independent review rounds
1178
+ found and closed the concurrent queue-loss and reply-context-only topic-scope
1179
+ defects; the final review reported no blocker.
1180
+ - Scoped source/test commit: `8f58e3f7` (`fix(telegram): converge durable
1181
+ terminal delivery`).
1182
+ - Research/work-order commit: `68546cd4` (`docs: induct durable Telegram
1183
+ delivery controls`). Both scoped commits were pushed to tracked branch
1184
+ `origin/main` after a clean fetch confirmed no upstream divergence.
1185
+ - No live inference, Telegram send, publication, installation, or service
1186
+ restart was performed. Deployment and live Case Theory/OMNIUS acceptance
1187
+ remain open.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.799",
3
+ "version": "1.0.800",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "omnius",
9
- "version": "1.0.799",
9
+ "version": "1.0.800",
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.799",
3
+ "version": "1.0.800",
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",