omnius 1.0.744 → 1.0.746

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: 38418910 bytes
4
- sha256: b52dd1ccd977bcebfcb40e95297161e27916f80e5001ad6c6dec84c6d91205ab
3
+ size: 38482354 bytes
4
+ sha256: 01d1ef9f810ffdf50441681bb5f1426370e29b3d11481907c98ba18dc9faad18
@@ -23519,7 +23519,7 @@
23519
23519
  "id": "command.memory",
23520
23520
  "kind": "command",
23521
23521
  "title": "/memory",
23522
- "summary": "Toggle memory visualizer - graph/episodes/concepts/timeline",
23522
+ "summary": "Open the interactive memory pixel map and provenance trace",
23523
23523
  "aliases": [
23524
23524
  "/memory",
23525
23525
  "memory",
@@ -23530,10 +23530,7 @@
23530
23530
  "command",
23531
23531
  "memory",
23532
23532
  "memory",
23533
- "graph",
23534
- "episodes",
23535
- "concepts",
23536
- "timeline"
23533
+ "legacy"
23537
23534
  ],
23538
23535
  "maturity": "stable",
23539
23536
  "layer": "memory",
@@ -23546,18 +23543,6 @@
23546
23543
  {
23547
23544
  "type": "tui",
23548
23545
  "target": "/memory"
23549
- },
23550
- {
23551
- "type": "rest",
23552
- "target": "/v1/commands/memory"
23553
- },
23554
- {
23555
- "type": "gateway-command",
23556
- "target": "/memory"
23557
- },
23558
- {
23559
- "type": "agent-tool-command",
23560
- "target": "/memory"
23561
23546
  }
23562
23547
  ],
23563
23548
  "references": [
@@ -23570,46 +23555,34 @@
23570
23555
  "signatures": [
23571
23556
  {
23572
23557
  "signature": "/memory",
23573
- "description": "Toggle memory visualizer - graph/episodes/concepts/timeline"
23574
- },
23575
- {
23576
- "signature": "/memory graph",
23577
- "description": "Show knowledge graph view"
23578
- },
23579
- {
23580
- "signature": "/memory episodes",
23581
- "description": "Show recent episodes view"
23558
+ "description": "Open the interactive memory pixel map and provenance trace"
23582
23559
  },
23583
23560
  {
23584
- "signature": "/memory concepts",
23585
- "description": "Show concept clusters view"
23586
- },
23587
- {
23588
- "signature": "/memory timeline",
23589
- "description": "Show temporal timeline view"
23561
+ "signature": "/memory legacy",
23562
+ "description": "Open the legacy list-based memory browser"
23590
23563
  }
23591
23564
  ],
23592
23565
  "subcommands": [
23593
- "graph",
23594
- "episodes",
23595
- "concepts",
23596
- "timeline"
23566
+ "legacy"
23597
23567
  ],
23598
23568
  "implementation_status": "implemented",
23599
23569
  "surfaces": {
23600
23570
  "tui": true,
23601
- "rest": true,
23602
- "gateway": true,
23603
- "agentTool": true
23571
+ "rest": false,
23572
+ "gateway": false,
23573
+ "agentTool": false
23604
23574
  },
23605
23575
  "safety": {
23606
- "userOnly": false,
23576
+ "userOnly": true,
23607
23577
  "destructive": false,
23608
23578
  "networked": false,
23609
23579
  "secretBearing": false,
23610
23580
  "profileGated": false
23611
23581
  },
23612
- "avoid_when": []
23582
+ "avoid_when": [
23583
+ "Calling it through the REST command proxy; this command is not REST-exposed",
23584
+ "Allowing an autonomous agent to invoke it without an explicit user action"
23585
+ ]
23613
23586
  },
23614
23587
  {
23615
23588
  "id": "command.metabolize",
@@ -32752,6 +32725,40 @@
32752
32725
  }
32753
32726
  ]
32754
32727
  },
32728
+ {
32729
+ "id": "guide.work-orders-recurrent-self-improvement-readme-uppercase",
32730
+ "kind": "guide",
32731
+ "title": "Recurrent self-improvement work orders",
32732
+ "summary": "Updated: 2026-09-25. Research basis and quality assessments live in .aiwg/research/self-improvement/.",
32733
+ "keywords": [
32734
+ "work",
32735
+ "orders",
32736
+ "recurrent",
32737
+ "self",
32738
+ "improvement",
32739
+ "README",
32740
+ "md"
32741
+ ],
32742
+ "maturity": "internal",
32743
+ "audiences": [
32744
+ "maintainer",
32745
+ "large-context-agent"
32746
+ ],
32747
+ "layer": "documentation",
32748
+ "interfaces": [
32749
+ {
32750
+ "type": "file",
32751
+ "target": "docs/work-orders/recurrent-self-improvement/README.md"
32752
+ }
32753
+ ],
32754
+ "references": [
32755
+ {
32756
+ "type": "documentation",
32757
+ "target": "docs/work-orders/recurrent-self-improvement/README.md",
32758
+ "relation": "canonical-artifact"
32759
+ }
32760
+ ]
32761
+ },
32755
32762
  {
32756
32763
  "id": "guide.work-orders-runtime-health-remediation-audit-uppercase",
32757
32764
  "kind": "guide",
package/docs/DISCOVERY.md CHANGED
@@ -330,7 +330,7 @@ Daemon equivalents are `GET /v1/discovery/bootstrap`, `GET /v1/discovery?q=<inte
330
330
  | `command.live` | /live | Open live sensor stream menu for video/audio context |
331
331
  | `command.livechat` | /livechat | Alias for /live chat, used by the top live button |
332
332
  | `command.mcp` | /mcp | Show MCP server/tool status and controls |
333
- | `command.memory` | /memory | Toggle memory visualizer - graph/episodes/concepts/timeline |
333
+ | `command.memory` | /memory | Open the interactive memory pixel map and provenance trace |
334
334
  | `command.metabolize` | /metabolize | Run memory maintenance: import deferred memory, prune episodes, compact graph stores |
335
335
  | `command.metrics` | /metrics | Show runtime metrics: tokens, context window, throughput, and tool usage |
336
336
  | `command.model` | /model | Select from available models |
@@ -529,6 +529,7 @@ Daemon equivalents are `GET /v1/discovery/bootstrap`, `GET /v1/discovery?q=<inte
529
529
  | `guide.work-orders-hermes-architecture-deltas-index-uppercase` | Hermes Architecture Deltas Workorder Index | Status: ready for implementation planning. These documents are workorders only; they do not claim the features are implemented. |
530
530
  | `guide.work-orders-long-horizon-feature-delivery-wo-01-native-research-feature-workflow-uppercase` | WO-01 — Native research-to-feature workflow | Status: complete — repository implementation, twelve-scenario acceptance and scoped Git delivery. Authorized by the user request to bring the AIWG research-team mechanism into Omnius. Publication and live acceptance remain with the user. |
531
531
  | `guide.work-orders-omnius-context-engineering-behavior-fixes` | Omnius Context Engineering Behavior Fixes | Source observation: current Omnius behavior while supervising a noclip/earth sidebar cleanup task. The observed run mixed internal cognitive-agent artifacts with user-task artifacts, repeated stale edit attempts after the file had changed, and overclaimed completion despite stale or missing verification. |
532
+ | `guide.work-orders-recurrent-self-improvement-readme-uppercase` | Recurrent self-improvement work orders | Updated: 2026-09-25. Research basis and quality assessments live in .aiwg/research/self-improvement/. |
532
533
  | `guide.work-orders-runtime-health-remediation-audit-uppercase` | Runtime Health Remediation Audit Log | Session: RHR-2026-09-02 Host user: roko Program root: /home/roko/Documents/Projects/Adjacent/omnius/omnius |
533
534
  | `guide.work-orders-runtime-health-remediation-cli-current-main-suite-evidence-uppercase` | Current-main CLI suite reconciliation evidence | This tranche reconciles the complete CLI suite except the protected generated discovery outputs and packages/cli/tests/update-service.test.ts, as directed. It does not edit publish/, the shared runtime-health tracker or audit, or the protected discovery files. |
534
535
  | `guide.work-orders-runtime-health-remediation-extended-work-orders-uppercase` | Extended Omnius Work Orders | This register preserves the remaining operator requests that cross the core runtime-health orders. Each item is an implementation obligation. A checked item requires code, deterministic verification, and a named evidence entry in AUDIT.md. Prompt-specific keyword rules, output stripping, and case-specific reply heuristics do not satisfy an item. |
@@ -0,0 +1,110 @@
1
+ # Recurrent self-improvement work orders
2
+
3
+ Updated: 2026-09-25. Research basis and quality assessments live in `.aiwg/research/self-improvement/`.
4
+
5
+ ## Non-negotiable contract
6
+
7
+ - Improvement is evidence-driven inference, not a deterministic claim gate.
8
+ - Tests, hashes, receipts, and metrics are evidence. They do not decide semantic quality by themselves.
9
+ - Full source traces remain immutable and addressable; summaries and scalar rewards are never the only copy.
10
+ - Search and held-out evidence are separated. The proposer never receives private selection results.
11
+ - The system maintains branching candidate lineage. It does not silently overwrite the active implementation.
12
+ - Generated data is labeled synthetic and linked to exact sources and an inference review.
13
+ - Human/original data remains in every recurrent training generation.
14
+ - Promotion is versioned, reversible, explicitly adjudicated, and auditable.
15
+
16
+ ## WO-SI-01 — Immutable observation spine — complete
17
+
18
+ Completed implementation:
19
+
20
+ - Hash-chained JSONL event archive under `.omnius/self-improvement/events.jsonl`.
21
+ - Immutable, content-addressed trajectory and full-transcript evidence per completed run.
22
+ - Evidence references retain identifiers, URIs, SHA-256, media types, and optional byte ranges.
23
+ - All outcomes are recorded. A deterministic low-signal heuristic may emit an advisory but cannot exclude an observation.
24
+
25
+ Acceptance evidence: `packages/orchestrator/tests/self-improvement.test.ts` and `packages/orchestrator/tests/agenticRunner.test.ts`.
26
+
27
+ ## WO-SI-02 — Inference review and candidate lineage — complete at framework level
28
+
29
+ Completed implementation:
30
+
31
+ - Typed inference callbacks for REVIEW, PROPOSE, and ADJUDICATE.
32
+ - Candidate surfaces cover memory, prompt, harness, tool, training data, adapters, and weights.
33
+ - Candidates retain parent IDs, review IDs, proposer identity, hypotheses, and artifact provenance.
34
+ - Decisions cite only evaluation events available for that candidate and require a rollback plan.
35
+
36
+ The TUI now connects review/proposal to the configured parent-model backend every five completed tasks as low-priority work. Remaining production work: expose lineage in `/memory` or a dedicated improvement view.
37
+
38
+ ## WO-SI-03 — Honest training export — complete
39
+
40
+ Completed implementation:
41
+
42
+ - Replaced fabricated rejection-fine-tuning examples.
43
+ - Export now requires real assistant transcript content.
44
+ - Every export requires an inference review whose disposition is `include` and whose evidence overlaps the example's sources.
45
+ - Export manifests record review IDs, source hashes, and synthetic/original counts.
46
+
47
+ Remaining production work: add privacy/license review status to review output before external dataset publication.
48
+
49
+ ## WO-SI-04 — Fine-tuning suite bridge — complete
50
+
51
+ Completed implementation:
52
+
53
+ - Omnius client covers models, datasets, actions, jobs, cancellation, evaluations, comparisons, Ollama inspection, and omni/audio/adapter contracts and execution.
54
+ - Suite intake validates `omnius.self-improvement.bundle.v1`.
55
+ - It creates immutable provenance-grouped train/validation/test files and a frozen hash manifest.
56
+ - Dataset selection automatically binds the suite's `DISTILL_TRAIN_FILE` and `DISTILL_VAL_FILE` inputs.
57
+ - Held-out/test split names are not bound into the training job.
58
+
59
+ Acceptance evidence: Omnius fine-tuning client tests and `/srv/fine_tuning_suite/tests/test_omnius_intake.py`.
60
+
61
+ ## WO-SI-05 — Broker-safe training — complete for REST jobs
62
+
63
+ Completed implementation:
64
+
65
+ - CUDA actions require a lease owner, meaningful justification, expected duration, exact GPU UUID scope, VRAM request, and readiness command.
66
+ - The runner performs `docker gpu discover` before starting and wraps the child with `docker gpu run`.
67
+ - `CUDA_VISIBLE_DEVICES` and `DISTILL_GPUS` are both set to the exact reserved UUID scope.
68
+ - Lease details, excluding tokens, are retained in job metadata.
69
+
70
+ Direct baseline, training, evaluation, and export commands also refuse to run outside a broker lease or with static GPU ordinals.
71
+
72
+ ## WO-SI-06 — Private evaluation and Pareto archive — partial
73
+
74
+ Completed implementation:
75
+
76
+ - Search, held-out, transfer, and adversarial evaluation types.
77
+ - Held-out/transfer/adversarial events are rejected unless marked private to the proposer.
78
+ - Multiple metrics and directionality are retained without collapsing them to one reward.
79
+
80
+ Remaining production work:
81
+
82
+ 1. Add a Pareto-front service over capability, regression, latency, inference tokens, VRAM, and reward-hacking metrics.
83
+ 2. Run at least three seeds for stochastic candidates.
84
+ 3. Add private cross-model transfer suites and a frozen canary set.
85
+ 4. Make evaluation fixtures unreadable from candidate sandboxes.
86
+
87
+ ## WO-SI-07 — Prompt and harness evolution — pending experiment
88
+
89
+ 1. Generate prompt candidates from exact traces and inferred diagnoses.
90
+ 2. Generate harness/code candidates in isolated worktrees.
91
+ 3. Validate interfaces before expensive evaluation.
92
+ 4. Compare greedy, beam, and Pareto selection.
93
+ 5. Explicitly probe for benchmark-specific shortcuts and trace contamination.
94
+
95
+ Exit criterion: statistically credible held-out and transfer improvement with no material regression in safety, provenance, latency, or tool correctness.
96
+
97
+ ## WO-SI-08 — Adapter and preference experiments — pending execution
98
+
99
+ 1. Establish frozen base-model and current-production baselines.
100
+ 2. Run SFT/LoRA and QLoRA candidates over inference-reviewed real traces plus original-data anchors.
101
+ 3. Construct DPO pairs only when independent inference review explains why one real response is preferred.
102
+ 4. Compare environment-feedback curricula against static transcript SFT.
103
+ 5. Measure catastrophic forgetting, tail performance, calibration, tool integrity, and cross-model transfer.
104
+ 6. Never merge or publish weights automatically.
105
+
106
+ Exit criterion: candidate beats the baseline on private held-out and transfer suites, passes model-collapse/tail checks, and retains a working rollback artifact.
107
+
108
+ ## WO-SI-09 — Explicit promotion transaction — pending
109
+
110
+ Implement a separate operator-visible promotion command. It must verify the cited decision and artifacts, capture the previous version, apply one reversible target change, run smoke tests, record a promotion event, and support rollback. A running inference must never call this implicitly.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.744",
3
+ "version": "1.0.746",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "omnius",
9
- "version": "1.0.744",
9
+ "version": "1.0.746",
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.744",
3
+ "version": "1.0.746",
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",