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