omnius 1.0.745 → 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: 38450286 bytes
4
- sha256: e8298c4ffeab6235a49fe30663830527f1c938fbc9a745cd6f950ce81a750d73
3
+ size: 38482354 bytes
4
+ sha256: 01d1ef9f810ffdf50441681bb5f1426370e29b3d11481907c98ba18dc9faad18
@@ -32725,6 +32725,40 @@
32725
32725
  }
32726
32726
  ]
32727
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
+ },
32728
32762
  {
32729
32763
  "id": "guide.work-orders-runtime-health-remediation-audit-uppercase",
32730
32764
  "kind": "guide",
package/docs/DISCOVERY.md CHANGED
@@ -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.745",
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.745",
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.745",
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",