omnius 1.0.798 → 1.0.799
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:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 39315083 bytes
|
|
4
|
+
sha256: f3bb752f92745a0ae0dedb58da465a3598d0e01ecf2d9da38cbcc78e43f2be25
|
package/docs/DISCOVERY.json
CHANGED
|
@@ -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.
|
|
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",
|
|
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.
|
|
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 |
|
|
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. |
|
package/docs/work-orders/runtime-health-remediation/WO-57-telegram-delivery-truth-and-recovery.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# WO-57: Telegram delivery truth, reminder authority, and bounded recovery
|
|
2
2
|
|
|
3
|
-
**Status:** 1.0.
|
|
4
|
-
REQ-TDT-
|
|
5
|
-
and live-acceptance gates remain open
|
|
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
|
|
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
|
|
@@ -19,7 +19,10 @@ a mutation may be claimed only after its typed tool receipt; inline research mus
|
|
|
19
19
|
not require an impossible external-provider receipt; recovery must reuse current
|
|
20
20
|
verified evidence instead of replaying the full reasoning loop. A scoped
|
|
21
21
|
reminder tool must never read or mutate reminders owned by another chat, topic,
|
|
22
|
-
surface, or unscoped/global context.
|
|
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.
|
|
23
26
|
|
|
24
27
|
## Baseline and live evidence
|
|
25
28
|
|
|
@@ -113,6 +116,26 @@ please follow her instructions`, but the explicit-continuation grammar
|
|
|
113
116
|
classified `ocr_pdf` as read-only while the registered execution tool
|
|
114
117
|
correctly classified it as mutating, and stale generic tools were
|
|
115
118
|
ordered ahead of the manifest-specific `pdf_to_text` reader.
|
|
119
|
+
- [x] Anchor the forum-topic transport breach: the OMNIUS intake for message
|
|
120
|
+
5725 retained `messageThreadId:5719` and exact input identity
|
|
121
|
+
`telegram:chat:-1003888256865:5719:5725`, while the shared final-reply,
|
|
122
|
+
command-reply, blocking-question, generation, and artifact paths called
|
|
123
|
+
Telegram without `message_thread_id`. Telegram therefore placed scoped
|
|
124
|
+
output at the forum root/All surface instead of General/topic 5719.
|
|
125
|
+
- [x] Anchor the 1.0.798 false-terminal regression: run
|
|
126
|
+
`telegram-84e4e6e5411c9753-1790980997771-1` committed `completed` at
|
|
127
|
+
`2026-10-02T22:50:33.197Z` while its durable objective frontier still
|
|
128
|
+
listed `effect:visible_response` as open, its claim remained unverified,
|
|
129
|
+
and no Telegram assistant message or provider delivery receipt existed.
|
|
130
|
+
- [x] Anchor the 1.0.798 manifest regression: messages 620 through 642 contain
|
|
131
|
+
23 ordered PDF time cards, while the recovered task OCRed/inspected only
|
|
132
|
+
messages 634 through 642 and authored a nine-card answer despite message
|
|
133
|
+
650 explicitly retaining prior time cards.
|
|
134
|
+
- [x] Anchor the 1.0.798 recovery livelock: checkpoint
|
|
135
|
+
`tgtrc-943243df3fbb01e2377b73b16275f3c9` reached at least retry 10;
|
|
136
|
+
every retry reported `object work remains frozen`, no runner artifact
|
|
137
|
+
changed after the false terminal commit, and typing ceased while the
|
|
138
|
+
Telegram poller remained healthy.
|
|
116
139
|
|
|
117
140
|
Runtime evidence:
|
|
118
141
|
|
|
@@ -133,6 +156,8 @@ Runtime evidence:
|
|
|
133
156
|
- `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-intake/f39b2cf564299c28fc81.jsonl`
|
|
134
157
|
- `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-social-events/f39b2cf564299c28fc81b388.jsonl`
|
|
135
158
|
- `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-runner-state/84e4e6e5411c97531047/tool-results/d1601e4c.txt`
|
|
159
|
+
- `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-intake/0c499aca482c61832afa.jsonl`
|
|
160
|
+
- `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-conversations/c34a3d7d53728329c081.events.jsonl`
|
|
136
161
|
|
|
137
162
|
## Requirements and implementation checklist
|
|
138
163
|
|
|
@@ -564,6 +589,86 @@ Primary anchors:
|
|
|
564
589
|
- `packages/cli/tests/telegram-objective-resume.test.ts`
|
|
565
590
|
- `packages/cli/tests/telegram-bot-api-10.test.ts`
|
|
566
591
|
|
|
592
|
+
### REQ-TDT-017 — exact Telegram forum-topic delivery
|
|
593
|
+
|
|
594
|
+
- [x] Resolve one immutable outbound topic from the admitted Telegram message
|
|
595
|
+
or its native reply context; never infer a destination from prose or a
|
|
596
|
+
chat-wide "last topic" value.
|
|
597
|
+
- [x] Attach `message_thread_id` to every chunk of the shared final-delivery
|
|
598
|
+
path, including HTML-to-plaintext fallback and parsed-media delivery.
|
|
599
|
+
- [x] Bind the topic into the exact-payload delivery ledger so a receipt from
|
|
600
|
+
one topic cannot authorize replay or completion in another.
|
|
601
|
+
- [x] Preserve the topic on public progress creation/fallbacks, command replies,
|
|
602
|
+
terminal blocking questions, help/stats/menu output, generation
|
|
603
|
+
status/results, generated artifacts, screenshots, and same-chat
|
|
604
|
+
`telegram_send_file` effects.
|
|
605
|
+
- [x] Scope callback-driven generation intent by chat, topic, and actor so a
|
|
606
|
+
prompt in one topic cannot consume pending state created in another.
|
|
607
|
+
- [x] Require autonomous follow-up evidence to resolve to one topic; suppress
|
|
608
|
+
cross-topic proposals instead of posting them at the chat root.
|
|
609
|
+
- [x] Prove a multi-chunk final answer sends every chunk to topic 5719 while
|
|
610
|
+
only the first chunk replies to source message 5725.
|
|
611
|
+
- [x] Prove command-style replies and generated artifact uploads keep topic
|
|
612
|
+
5719, while root/private controls remain unchanged.
|
|
613
|
+
- [x] Pass CLI typecheck/build, focused transport/Bot API regressions,
|
|
614
|
+
formatting, and `git diff --check`.
|
|
615
|
+
- [ ] Publish/install/restart, then prove a fresh message in Telegram General
|
|
616
|
+
receives its reply in General and not only in the All view.
|
|
617
|
+
|
|
618
|
+
Primary anchors:
|
|
619
|
+
|
|
620
|
+
- `packages/cli/src/tui/telegram-bridge.ts` — immutable topic resolution and
|
|
621
|
+
all outbound text/media delivery paths.
|
|
622
|
+
- `packages/cli/src/tui/telegram-command-menu.ts` — topic-bound callback state.
|
|
623
|
+
- `packages/cli/tests/telegram-transport-contract.test.ts`
|
|
624
|
+
- `packages/cli/tests/telegram-bot-api-10.test.ts`
|
|
625
|
+
|
|
626
|
+
### REQ-TDT-018 — delivery-commit convergence and complete batch recovery
|
|
627
|
+
|
|
628
|
+
- [x] Induct primary operational guidance for transactional outbox delivery,
|
|
629
|
+
idempotent exact-request retries, durable history replay, bounded retry
|
|
630
|
+
exhaustion, and Telegram provider/typing semantics into
|
|
631
|
+
`.aiwg/research/terminal-metacognitive-control/`.
|
|
632
|
+
- [ ] Represent an accepted Telegram `user_reply` as durable pending delivery,
|
|
633
|
+
not as a completed visible-response effect. A terminal success may not
|
|
634
|
+
clear the task until the exact destination/payload receives a Telegram
|
|
635
|
+
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
|
|
640
|
+
unavailability cannot dispatch indefinitely: after the configured
|
|
641
|
+
attempt/elapsed budget, a complete evidence-bound candidate follows the
|
|
642
|
+
deterministic delivery path; a partial candidate retains a truthful
|
|
643
|
+
blocked/needs-input state.
|
|
644
|
+
- [ ] Preserve the complete host-enumerated 23-file resource manifest across
|
|
645
|
+
delegated continuation and restart. No prefix/suffix window, model prose,
|
|
646
|
+
or generic observation may reduce or satisfy the itemized batch.
|
|
647
|
+
- [ ] Keep typing as an event-driven ephemeral projection while work or pending
|
|
648
|
+
delivery is genuinely active. Typing never owns the runner lease and
|
|
649
|
+
stops on provider receipt, cancellation, expiry, or terminal failure.
|
|
650
|
+
- [ ] Add deterministic regressions reproducing message 650: 23 admitted PDFs,
|
|
651
|
+
nine previously processed files, restart, unavailable reviewer, bounded
|
|
652
|
+
retry, exact candidate delivery, provider receipt, one public reply, and
|
|
653
|
+
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.
|
|
658
|
+
|
|
659
|
+
Primary anchors:
|
|
660
|
+
|
|
661
|
+
- `packages/cli/src/tui/telegram-bridge.ts`
|
|
662
|
+
- `packages/cli/src/tui/telegram-terminal-review-checkpoint.ts`
|
|
663
|
+
- `packages/cli/src/tui/telegram-resource-manifest.ts`
|
|
664
|
+
- `packages/cli/src/tui/telegram-durable-continuation-policy.ts`
|
|
665
|
+
- `packages/cli/tests/telegram-terminal-review-checkpoint.test.ts`
|
|
666
|
+
- `packages/cli/tests/telegram-terminal-delivery.test.ts`
|
|
667
|
+
- `packages/cli/tests/telegram-resource-manifest.test.ts`
|
|
668
|
+
- `packages/cli/tests/telegram-objective-resume.test.ts`
|
|
669
|
+
- `packages/cli/tests/telegram-lifecycle-leak.test.ts`
|
|
670
|
+
- `packages/cli/tests/telegram-bot-api-10.test.ts`
|
|
671
|
+
|
|
567
672
|
## Cross-surface validation gates
|
|
568
673
|
|
|
569
674
|
- [x] Orchestrator focused tests pass for visible-response evidence, completion
|
|
@@ -605,6 +710,8 @@ Primary anchors:
|
|
|
605
710
|
| REQ-TDT-014 | delegated batch continuation + terminal handoff | Case Theory 642/644/645 + scope/batch controls | focused green; redeploy pending |
|
|
606
711
|
| REQ-TDT-015 | scoped batch cadence + truthful resource evidence | batch projection/compiler + media evidence/plan | focused green; redeploy pending |
|
|
607
712
|
| REQ-TDT-016 | event cadence + renewable runner lease | lifecycle leak + steering/finalization | delivered; redeploy pending |
|
|
713
|
+
| 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 |
|
|
608
715
|
|
|
609
716
|
## Evidence log
|
|
610
717
|
|
|
@@ -1008,3 +1115,24 @@ one sec.`) without an action run or data result.
|
|
|
1008
1115
|
runner events`) on tracked `origin/main`; this documentation update records
|
|
1009
1116
|
that delivery and leaves only broader/full-suite and deployed-live gates
|
|
1010
1117
|
open.
|
|
1118
|
+
|
|
1119
|
+
### 2026-10-02 — Telegram General/topic delivery root repair
|
|
1120
|
+
|
|
1121
|
+
- Live intake already retained the exact forum destination: OMNIUS message
|
|
1122
|
+
5725 was stored as `telegram:chat:-1003888256865:5719:5725` with
|
|
1123
|
+
`messageThreadId:5719`. The loss occurred only after admission: shared final
|
|
1124
|
+
delivery, public progress creation, command replies, and media delivery did
|
|
1125
|
+
not forward that destination to Telegram.
|
|
1126
|
+
- One native topic resolver now owns ephemeral typing and durable outbound
|
|
1127
|
+
delivery. Final text chunks, HTML/plain fallbacks, public progress, menus,
|
|
1128
|
+
terminal questions, generated artifacts, and same-chat file effects carry
|
|
1129
|
+
`message_thread_id`; exact-payload and artifact idempotency keys include the
|
|
1130
|
+
topic as destination identity.
|
|
1131
|
+
- Callback generation state is keyed by chat/topic/actor. Autonomous follow-up
|
|
1132
|
+
is withheld when its evidence crosses topics instead of falling back to the
|
|
1133
|
+
forum root/All view.
|
|
1134
|
+
- Validation passed on the completed patch: CLI typecheck and build; 14/14
|
|
1135
|
+
transport-contract tests; 7/7 command-menu tests; complete Telegram Bot API
|
|
1136
|
+
10 suite 164/164; focused Prettier checks and `git diff --check`.
|
|
1137
|
+
- Publication, installation, broker restart, and a fresh General-topic live
|
|
1138
|
+
receipt remain separate deployment/acceptance gates.
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnius",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.799",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "omnius",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.799",
|
|
10
10
|
"bundleDependencies": [
|
|
11
11
|
"image-to-ascii"
|
|
12
12
|
],
|
package/package.json
CHANGED