omnius 1.0.791 → 1.0.793

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: 39168933 bytes
4
- sha256: 0351a4916312442d641b04ee08fbca94923491b6bfc5d10a6de29b8c5d18415a
3
+ size: 39178099 bytes
4
+ sha256: 77c9e3b8094d90a3f91db155f9e28ee0a3dfad588bb03538608f284fbc768c27
@@ -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: implementation complete in working tree; focused validation green; full-suite and repository-delivery 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, WO-52, WO-54, WO-55, WO-56 Completion rule: A checkbox",
35909
+ "summary": "Status: implementation and post-1.0.792 recovery repair complete in 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, WO-49, 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: implementation complete in working tree; focused validation green; full-suite and repository-delivery 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, WO-52, WO-54, WO-55, WO-56 Completion rule: A checkbox |
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: implementation and post-1.0.792 recovery repair complete in 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, WO-49, 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,7 +1,8 @@
1
1
  # WO-57: Telegram delivery truth, reminder authority, and bounded recovery
2
2
 
3
- **Status:** implementation complete in working tree; focused validation green;
4
- full-suite and repository-delivery gates remain open
3
+ **Status:** implementation and post-1.0.792 recovery repair complete in working
4
+ tree; focused validation green; full-suite, repository-delivery, and live
5
+ acceptance gates remain open
5
6
  **Priority:** P0
6
7
  **Incident:** October 1, 2026, live Telegram reminder and illegal-logging non-responses
7
8
  **Owner:** Omnius orchestrator and Telegram runtime
@@ -35,6 +36,22 @@ verified evidence instead of replaying the full reasoning loop.
35
36
  - [x] Anchor news failure: messages 5706/5707 performed PNG/Borneo research but
36
37
  all terminal paths lacked a delivered `user_reply`; Borneo remained
37
38
  search-only and the conversation ended at assistant message 5705.
39
+ - [x] Anchor false-acknowledgement failure: OMNIUS message 5712 was routed to
40
+ zero-tool quick chat, delivered only `on it. pulling the Borneo illegal
41
+ logging data now.`, and was marked consumed without a retrieval run.
42
+ - [x] Anchor follow-up router failure: Case Theory message 610 was a same-sender
43
+ reply to the failed reminder-list request 609, but router reconciliation
44
+ exhausted and the fallback lost its exact `inputId`, producing
45
+ `input missing input != telegram:chat:-1003960149435:0:610`.
46
+ - [x] Anchor the partial 1.0.792 result: the runtime restarted at
47
+ `2026-10-02T06:57:21.994Z` with healthy polling, but the recovered Case
48
+ Theory message 611 retained its pre-update `outcome:"delivery"`
49
+ contract, read all 29 reminders, authored the complete answer, then
50
+ rejected itself for missing the Telegram delivery effect.
51
+ - [x] Anchor bounded-recovery exhaustion: message 611 repeated `reminder`,
52
+ `tool_search`, and unrelated `file_read` work, ended
53
+ `incomplete_verification` twice, and was terminally failed at
54
+ `2026-10-02T07:19:30.188Z` after three cycles with no public reply.
38
55
 
39
56
  Runtime evidence:
40
57
 
@@ -43,6 +60,10 @@ Runtime evidence:
43
60
  - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-conversations/84e4e6e5411c97531047.json`
44
61
  - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-conversations/c34a3d7d53728329c081.json`
45
62
  - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/scheduled/reminders.json`
63
+ - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-runner-state/84e4e6e5411c97531047/debug-library/runs/telegram-84e4e6e5411c9753-1790924323167-1/events.jsonl`
64
+ - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-runner-state/84e4e6e5411c97531047/completion-finalizations/telegram-84e4e6e5411c9753-1790924323167-1.json`
65
+ - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-runner-state/84e4e6e5411c97531047/debug-library/runs/telegram-84e4e6e5411c9753-1790925147229-1/events.jsonl`
66
+ - `/home/roko/Documents/Projects/Adjacent/telegram_test/.omnius/telegram-runner-state/84e4e6e5411c97531047/completion-finalizations/telegram-84e4e6e5411c9753-1790925147229-1.json`
46
67
 
47
68
  ## Requirements and implementation checklist
48
69
 
@@ -178,6 +199,53 @@ Primary anchors:
178
199
  - `packages/cli/tests/telegram-terminal-delivery.test.ts`
179
200
  - `packages/cli/tests/telegram-cognition-queue.test.ts`
180
201
 
202
+ ### REQ-TDT-008 — retrieval capability and exact router-failure ownership
203
+
204
+ - [x] Promote a directly addressed, thread-referenced request to get/fetch/show
205
+ data from zero-tool chat into action planning before quick-chat admission.
206
+ - [x] Promote an exact reminder-list request and a same-sender follow-up such as
207
+ message 610 to the reminder observation contract.
208
+ - [x] Bind every router-unavailable decision to the host-owned exact input ID;
209
+ never repair a genuinely mismatched/stale ID inside the commit boundary.
210
+ - [x] Attempt durable active-runner router recovery before any infrastructure-
211
+ authored no-reply disposition can be committed as social judgment.
212
+ - [x] Keep ordinary addressed conversation and unaddressed human-to-human data
213
+ talk outside the action repair.
214
+
215
+ Primary anchors:
216
+
217
+ - `packages/cli/src/tui/telegram-bridge.ts` — trusted capability boundaries,
218
+ router-unavailable construction, and active-runner recovery ordering.
219
+ - `packages/cli/tests/telegram-steering-finalization.test.ts` — exact 5712/610
220
+ replays and negative controls.
221
+ - `packages/cli/tests/telegram-bot-api-10.test.ts` — exact fallback binding,
222
+ diagnostic preservation, and recovery-before-commit regression.
223
+ - `packages/cli/tests/telegram-social-decision-binding.test.ts` — stale-input
224
+ negative control at the durable social commit boundary.
225
+
226
+ ### REQ-TDT-009 — recovered-contract migration and convergence
227
+
228
+ - [x] Prefer a current deterministic host-repaired contract over a stale
229
+ persisted contract when recovering the exact same Telegram input.
230
+ - [x] Preserve fail-closed external file/media delivery contracts; only typed
231
+ `host-contract-repair` authority can migrate an exact recovered task.
232
+ - [x] Do not consume the one-shot `deliver_due` synthesis instruction before a
233
+ required grounded observation exists.
234
+ - [x] Make `bounded_review` authoritative in deferred external-effect mode so
235
+ a no-delta plateau cannot continue into unrelated tool families.
236
+ - [x] Add regressions for exact contract migration, grounded synthesis timing,
237
+ and bounded no-delta enforcement.
238
+
239
+ Primary anchors:
240
+
241
+ - `packages/cli/src/tui/telegram-bridge.ts` — exact recovery contract selection
242
+ and evidence-gated synthesis.
243
+ - `packages/orchestrator/src/agenticRunner.ts` — objective admission at bounded
244
+ review.
245
+ - `packages/cli/tests/telegram-objective-resume.test.ts`
246
+ - `packages/cli/tests/telegram-bot-api-10.test.ts`
247
+ - `packages/orchestrator/tests/agenticRunner-objective-control.test.ts`
248
+
181
249
  ## Cross-surface validation gates
182
250
 
183
251
  - [x] Orchestrator focused tests pass for visible-response evidence, completion
@@ -201,15 +269,17 @@ Primary anchors:
201
269
 
202
270
  ## Traceability matrix
203
271
 
204
- | Requirement | Production anchors | Regression anchors | Status |
205
- |---|---|---|---|
206
- | REQ-TDT-001 | orchestrator expected effects/readiness | terminal finalization + runner | focused green |
207
- | REQ-TDT-002 | Telegram task completion/delivery | public/private/no-reply | focused green |
208
- | REQ-TDT-003 | Telegram routing + reminder receipt | 5652/5653/5698/607 replay | focused green |
209
- | REQ-TDT-004 | expected-outcome normalization | PNG inline research | focused green |
210
- | REQ-TDT-005 | steering projection/ownership | PNG to Borneo steering | focused green |
211
- | REQ-TDT-006 | safe-delivery receipt parser | wrappers + redirects | focused green |
212
- | REQ-TDT-007 | terminal recovery/memory eligibility | retained-candidate recovery | focused green |
272
+ | Requirement | Production anchors | Regression anchors | Status |
273
+ | ----------- | ------------------------------------------------ | -------------------------------------------------- | ------------- |
274
+ | REQ-TDT-001 | orchestrator expected effects/readiness | terminal finalization + runner | focused green |
275
+ | REQ-TDT-002 | Telegram task completion/delivery | public/private/no-reply | focused green |
276
+ | REQ-TDT-003 | Telegram routing + reminder receipt | 5652/5653/5698/607 replay | focused green |
277
+ | REQ-TDT-004 | expected-outcome normalization | PNG inline research | focused green |
278
+ | REQ-TDT-005 | steering projection/ownership | PNG to Borneo steering | focused green |
279
+ | REQ-TDT-006 | safe-delivery receipt parser | wrappers + redirects | focused green |
280
+ | REQ-TDT-007 | terminal recovery/memory eligibility | retained-candidate recovery | focused green |
281
+ | REQ-TDT-008 | capability admission + unavailable ownership | 5712/610 + recovery ordering | focused green |
282
+ | REQ-TDT-009 | recovered-contract migration + convergence gates | exact recovery + synthesis timing + bounded review | focused green |
213
283
 
214
284
  ## Evidence log
215
285
 
@@ -316,3 +386,65 @@ Primary anchors:
316
386
  read-only (`index.lock: Read-only file system`).
317
387
  - No live inference, service restart, reminder mutation, or Telegram send was
318
388
  performed. Live acceptance therefore remains open.
389
+
390
+ ### 2026-10-02 — messages 5712/610 follow-up repair
391
+
392
+ - Read-only incident findings and SHA-256 evidence inventory are preserved at
393
+ `.aiwg/forensics/findings/telegram-2026-10-02-router-delivery.md`.
394
+ - OMNIUS message 5712 is now structurally ineligible for quick chat. Its direct
395
+ mention plus explicit thread-data retrieval request is promoted to action;
396
+ the fresh action planner must select scoped tools before a reply can finish.
397
+ - Case Theory message 610 is recognized as the same sender's bounded follow-up
398
+ to reminder-list request 609 and receives `reminder` with a `read_only`
399
+ observation/visible-response contract. Public reply authority is still
400
+ independently reviewed.
401
+ - Router-unavailable decisions now retain the exact host input ID. The active-
402
+ runner path schedules recovery before social delivery/commit; an unavailable
403
+ diagnostic may still be displayed to the operator without becoming durable
404
+ social judgment.
405
+ - Negative controls preserve ordinary addressed chat, unaddressed ambient data
406
+ talk, and rejection of a genuinely stale cross-input social decision.
407
+ - Focused validation: 277/277 passed across Telegram Bot API, steering,
408
+ exact-binding, quick-chat, terminal delivery, reminder, attention, router,
409
+ cognition/recovery, and streamed-terminal surfaces.
410
+ - CLI typecheck and build passed after the repair.
411
+ - At this checkpoint the live runtime remained `omnius@1.0.790`; no deployment,
412
+ restart, inference request, Telegram send, or live reminder mutation was
413
+ performed by this repair session.
414
+
415
+ ### 2026-10-02 — live 1.0.792 recovery finding and follow-up repair
416
+
417
+ - The user-owned runtime updated to `omnius@1.0.792` and restarted at
418
+ `2026-10-02T06:57:21.994Z`. Its health record remained in `polling` with zero
419
+ consecutive poll failures and no replay backlog. This session did not start,
420
+ stop, or send through that process.
421
+ - Version 1.0.792 contains the fresh-request boundary for message-5712-shaped
422
+ thread-data retrieval, so a new request cannot complete as a zero-tool
423
+ progress acknowledgement. A bare follow-up cannot reconstruct work already
424
+ orphaned by the pre-update runtime.
425
+ - Restart recovery exposed a separate exact-task migration bug. Message 611's
426
+ current host boundary selected reminder `read_only` semantics, but
427
+ `telegramExpectedOutcomeContractForRun` preferred the persisted pre-update
428
+ `delivery` contract. Both post-restart attempts observed 29 reminders and
429
+ authored the roster, then failed readiness solely on missing `delivery`.
430
+ - The recovery attempts also consumed `deliver_due` guidance before grounded
431
+ evidence and admitted `tool_search`/`file_read` after the useful reminder
432
+ result. The final intake state was `failed` after three bounded cycles with
433
+ no public reply.
434
+ - Exact-input recovery now treats a current `host-contract-repair` contract as
435
+ the migration authority over the retained legacy contract. Real external
436
+ delivery contracts retain their receipt requirement.
437
+ - `deliver_due` synthesis now waits for a successful non-control action result,
438
+ and the orchestrator enforces `bounded_review` even while external-effect
439
+ enforcement is deferred.
440
+ - Focused validation after the follow-up patch: 200/200 CLI tests passed across
441
+ objective recovery, terminal delivery, and Telegram Bot API 10; 7/7
442
+ orchestrator objective-control tests passed; CLI and orchestrator typechecks
443
+ passed.
444
+ - Broader affected-surface validation: 332/332 tests passed across 16 Telegram
445
+ suites, and 29/29 passed across four orchestrator completion, steering,
446
+ response-authority, and objective-control suites. Orchestrator and CLI builds
447
+ passed after formatting.
448
+ - The follow-up patch is not in the installed 1.0.792 runtime. A new build,
449
+ version, install, and restart are required before live acceptance can be
450
+ checked.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.791",
3
+ "version": "1.0.793",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "omnius",
9
- "version": "1.0.791",
9
+ "version": "1.0.793",
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.791",
3
+ "version": "1.0.793",
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",