omnius 1.0.701 → 1.0.702

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.
@@ -35352,6 +35352,44 @@
35352
35352
  }
35353
35353
  ]
35354
35354
  },
35355
+ {
35356
+ "id": "guide.work-orders-runtime-health-remediation-wo-53-deferred-reflection-churn-uppercase",
35357
+ "kind": "guide",
35358
+ "title": "WO-53: Stop duplicate deferred reflection writes",
35359
+ "summary": "Status: scoped source repair verified; publication remains with the operator. Issue: https://github.com/robit-man/open-agents/issues/3",
35360
+ "keywords": [
35361
+ "work",
35362
+ "orders",
35363
+ "runtime",
35364
+ "health",
35365
+ "remediation",
35366
+ "WO",
35367
+ "53",
35368
+ "deferred",
35369
+ "reflection",
35370
+ "churn",
35371
+ "md"
35372
+ ],
35373
+ "maturity": "internal",
35374
+ "audiences": [
35375
+ "maintainer",
35376
+ "large-context-agent"
35377
+ ],
35378
+ "layer": "documentation",
35379
+ "interfaces": [
35380
+ {
35381
+ "type": "file",
35382
+ "target": "docs/work-orders/runtime-health-remediation/WO-53-deferred-reflection-churn.md"
35383
+ }
35384
+ ],
35385
+ "references": [
35386
+ {
35387
+ "type": "documentation",
35388
+ "target": "docs/work-orders/runtime-health-remediation/WO-53-deferred-reflection-churn.md",
35389
+ "relation": "canonical-artifact"
35390
+ }
35391
+ ]
35392
+ },
35355
35393
  {
35356
35394
  "id": "guide.work-orders-telegram-dmn-wo-22-dmn-outreach-and-learning-uppercase",
35357
35395
  "kind": "guide",
package/docs/DISCOVERY.md CHANGED
@@ -599,6 +599,7 @@ Daemon equivalents are `GET /v1/discovery/bootstrap`, `GET /v1/discovery?q=<inte
599
599
  | `guide.work-orders-runtime-health-remediation-wo-50-embedding-unavailability-uppercase` | WO-50: Recover honestly from missing embeddings | Status: repository repair complete; delivered as a3375c63 to origin/main. Requested Nomic re-pull completed and passive server recovery observed. Publication and live acceptance of source changes remain with the user. |
600
600
  | `guide.work-orders-runtime-health-remediation-wo-51-large-telegram-attachments-uppercase` | WO-51: Receive and unpack large Telegram attachments | Status: source repair complete and verified. Publication and Local Bot API live acceptance remain with the operator. |
601
601
  | `guide.work-orders-runtime-health-remediation-wo-52-steering-projection-preservation-uppercase` | WO-52: Preserve required steering instructions in the actual model request | Status: source repair complete; verified and ready for publication. Live acceptance follows the user's publication. |
602
+ | `guide.work-orders-runtime-health-remediation-wo-53-deferred-reflection-churn-uppercase` | WO-53: Stop duplicate deferred reflection writes | Status: scoped source repair verified; publication remains with the operator. Issue: https://github.com/robit-man/open-agents/issues/3 |
602
603
  | `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. |
603
604
  | `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. |
604
605
  | `guide.work-orders-wo-am-gaps-uppercase` | Associative Memory Gap Work Orders | Generated: 2026-04-13 Source: Deep audit of multimodal associative memory systems Status: READY FOR IMPLEMENTATION |
@@ -4,6 +4,10 @@
4
4
  **Checked-item rule:** code, focused tests, and named evidence must all exist
5
5
  **Last reconciled:** 2026-09-05
6
6
 
7
+ ## September 5 runtime 1.0.701 rapid churn repair
8
+
9
+ - [x] [WO-53: deferred reflection churn](WO-53-deferred-reflection-churn.md): persistent scoped revision receipts prevent repeated unchanged reflection appends; seven regressions and workspace build passed. [Issue #3](https://github.com/robit-man/open-agents/issues/3) retains the separate context-recovery investigation and corrected budget findings. Existing backlog and live runtime are unchanged.
10
+
7
11
  ## September 5 runtime 1.0.700 large attachment follow-up
8
12
 
9
13
  - [x] [WO-51: large Telegram attachments](WO-51-large-telegram-attachments.md): fixed inbound/cache byte caps removed; streamed download, Local Bot API transport, exact archive aliases and responsive durable Stop verified. Archive implementation `dec18c74` and CLI integration `40a76cea` delivered to `origin/main`.
@@ -0,0 +1,27 @@
1
+ # WO-53: Stop duplicate deferred reflection writes
2
+
3
+ Status: scoped source repair verified; publication remains with the operator.
4
+ Issue: https://github.com/robit-man/open-agents/issues/3
5
+
6
+ ## Finding
7
+
8
+ Runtime 1.0.701 repeatedly upserted unchanged retained Telegram messages. The deferred branch computed an episode ID but unconditionally appended and returned `reused: false`. A captured 1.2 MB tail contained 138 copies of one message with identical content; the complete spool was 3,275,565,579 bytes. That sample does not attribute every byte of the backlog to this producer. Evidence and hashes: `/tmp/omnius-rapid-issues-a6e37rk0/manifest.json`.
9
+
10
+ ## Repair
11
+
12
+ - `packages/cli/src/tui/telegram-reflection-corpus.ts`: fingerprint scoped message identity plus projected content and metadata; return the actual deferred reuse receipt. Preserve edits to text, mode, media and reply context.
13
+ - `packages/cli/src/tui/memory-paths.ts`: persist content-addressed revision receipts after a flushed JSONL append. Receipts survive process reload and maintenance rotation without opening episode or graph databases inline. Unkeyed callers retain their existing append behavior.
14
+ - Existing bot ownership serializes the producer. This is an at-least-once crash boundary: interruption between append and receipt can cause one replay; the receipt must never acknowledge an unwritten record. No global multi-writer exactly-once claim is made. The existing large spool is preserved for maintenance, not deleted or rewritten.
15
+
16
+ ## Verification
17
+
18
+ - [x] 138 repeated unchanged upserts add exactly one record and return reuse.
19
+ - [x] Fresh module state plus rotated spool still reuses the persistent revision receipt.
20
+ - [x] Changed text/mode/media and different chat scope remain separate records.
21
+ - [x] Failed append does not create an acknowledgment; retry succeeds.
22
+ - [x] All seven cases in `memory-paths.test.ts` and `telegram-reflection-corpus.test.ts` passed: `/tmp/omnius-issue3-churn-tests.log`.
23
+ - [x] All-workspace build passed: `/tmp/omnius-issue3-build.log`.
24
+
25
+ ## Remaining issue scope
26
+
27
+ The repeated context-snapshot recovery behavior remains in issue #3. The read-headroom comparison was refined: the first zero-headroom receipts occurred with 39,615/40,000 canonical input tokens, requesting another 4,718 and 3,203 tokens. Physical model free space is a different budget; the subtraction was not shown incorrect. Do not increase only the read ceiling, which could violate subsequent canonical admission. Neither behavior is claimed repaired by this scoped churn patch. No live inference, service restart, model change or backlog mutation was performed.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.701",
3
+ "version": "1.0.702",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "omnius",
9
- "version": "1.0.701",
9
+ "version": "1.0.702",
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.701",
3
+ "version": "1.0.702",
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",