omnius 1.0.928 → 1.0.930
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/_types/orchestrator/agenticRunner.d.ts +1 -0
- package/dist/_types/orchestrator/telegram-passive-history.d.ts +9 -0
- package/dist/index.js +2 -2
- package/dist/library.js +481 -377
- package/docs/DISCOVERY.json +32 -0
- package/docs/DISCOVERY.md +1 -0
- package/docs/model-facing-context.md +152 -0
- package/npm-shrinkwrap.json +11 -11
- package/package.json +1 -1
package/docs/DISCOVERY.json
CHANGED
|
@@ -33387,6 +33387,38 @@
|
|
|
33387
33387
|
}
|
|
33388
33388
|
]
|
|
33389
33389
|
},
|
|
33390
|
+
{
|
|
33391
|
+
"id": "guide.model-facing-context",
|
|
33392
|
+
"kind": "guide",
|
|
33393
|
+
"title": "Model-facing context",
|
|
33394
|
+
"summary": "The November 8 admin-DM follow-up eventually returned an expanded implementation plan, but its captured requests exposed two concrete context defects. The previous plan was reduced to a 320-character Telegram display preview, while identical shell results received different observation identities because their archive filenames changed. The live run repeated",
|
|
33395
|
+
"keywords": [
|
|
33396
|
+
"model",
|
|
33397
|
+
"facing",
|
|
33398
|
+
"context",
|
|
33399
|
+
"md"
|
|
33400
|
+
],
|
|
33401
|
+
"maturity": "stable",
|
|
33402
|
+
"audiences": [
|
|
33403
|
+
"user",
|
|
33404
|
+
"integrator",
|
|
33405
|
+
"coding-agent"
|
|
33406
|
+
],
|
|
33407
|
+
"layer": "documentation",
|
|
33408
|
+
"interfaces": [
|
|
33409
|
+
{
|
|
33410
|
+
"type": "file",
|
|
33411
|
+
"target": "docs/model-facing-context.md"
|
|
33412
|
+
}
|
|
33413
|
+
],
|
|
33414
|
+
"references": [
|
|
33415
|
+
{
|
|
33416
|
+
"type": "documentation",
|
|
33417
|
+
"target": "docs/model-facing-context.md",
|
|
33418
|
+
"relation": "canonical-artifact"
|
|
33419
|
+
}
|
|
33420
|
+
]
|
|
33421
|
+
},
|
|
33390
33422
|
{
|
|
33391
33423
|
"id": "guide.model-led-runtime",
|
|
33392
33424
|
"kind": "guide",
|
package/docs/DISCOVERY.md
CHANGED
|
@@ -499,6 +499,7 @@ Daemon equivalents are `GET /v1/discovery/bootstrap`, `GET /v1/discovery?q=<inte
|
|
|
499
499
|
| `guide.longhaul-35b-workorders` | Work Orders — Long-Haul Implementation on a 35B-Class Model | Origin: Root-cause review of the myactuator ESP32/PlatformIO session (35B ornith-vision) plus a 2026-literature sweep of surprising remedies. See companion analysis in docs/context-management-medium-models-proposal.md and docs/duplicate-calls-root-cause-analysis.md. |
|
|
500
500
|
| `guide.memory-integration-analysis` | Memory Integration Analysis — Parallel Systems Gap Assessment | Date: 2026-04-23 Status: ✅ INTEGRATED — All P0 gaps closed Context: Review of literature on memory compression + integration testing of Omnius parallel memory systems |
|
|
501
501
|
| `guide.model-capability-awareness-and-multimodal-memory-root-fix` | Model Capability Awareness And Multimodal Identity Memory Root Fix | Status: planning and integration tracker |
|
|
502
|
+
| `guide.model-facing-context` | Model-facing context | The November 8 admin-DM follow-up eventually returned an expanded implementation plan, but its captured requests exposed two concrete context defects. The previous plan was reduced to a 320-character Telegram display preview, while identical shell results received different observation identities because their archive filenames changed. The live run repeated |
|
|
502
503
|
| `guide.model-led-runtime` | Model-led runtime | Omnius uses a short, stable core prompt and lets the main model choose its plan, tools, and response within the current user's scope. A request for a proposal remains a proposal until the user authorizes implementation. |
|
|
503
504
|
| `guide.model-led-validation` | Model Led Validation | Bundled Omnius documentation artifact: docs/model-led-validation.json. |
|
|
504
505
|
| `guide.multimodal-identity-memory-implementation` | Multimodal Identity Memory Implementation Tracker | Goal: make voice, text, image, Telegram reply context, CLIP-like embeddings, zettelkasten links, and social profiles converge on one evidence-based identity substrate. |
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
# Model-facing context
|
|
2
|
+
|
|
3
|
+
The November 8 admin-DM follow-up eventually returned an expanded implementation
|
|
4
|
+
plan, but its captured requests exposed two concrete context defects. The previous
|
|
5
|
+
plan was reduced to a 320-character Telegram display preview, while identical shell
|
|
6
|
+
results received different observation identities because their archive filenames
|
|
7
|
+
changed. The live run repeatedly inspected the same source before answering.
|
|
8
|
+
|
|
9
|
+
Task runners now receive complete recent conversation messages under a shared
|
|
10
|
+
24,000-character presentation budget. The newest oversized antecedent remains
|
|
11
|
+
whole and passes through the runner's existing physical-capacity admission.
|
|
12
|
+
Current inputs, exact causal sources, attachments and original task ownership keep
|
|
13
|
+
their independent protection. Compact routing previews retain their separate role.
|
|
14
|
+
|
|
15
|
+
Machine bookkeeping belongs in diagnostic records. Model-facing observation
|
|
16
|
+
summaries omit fingerprints, receipt IDs, epochs, character counters and duplicate
|
|
17
|
+
identity fields. Canonical headings omit internal signal IDs and producer names;
|
|
18
|
+
authenticated duplicate receipt displays share one artifact locator. Internal
|
|
19
|
+
custody maps, full traces and integrity checks remain available to the host.
|
|
20
|
+
Actual source bytes, errors, exit outcomes and functional edit/reopen handles are
|
|
21
|
+
preserved. This projection operates on authenticated producer structures and never
|
|
22
|
+
searches arbitrary user or tool text for metadata-looking strings to delete.
|
|
23
|
+
|
|
24
|
+
Raw semantic observation identity is captured independently of behavioral
|
|
25
|
+
interventions, before display projection can introduce per-execution filenames.
|
|
26
|
+
The closed model-led policy therefore no longer disables factual repeat counting.
|
|
27
|
+
Automatic prior-task note/procedure injection and unrelated global Telegram chat
|
|
28
|
+
indexes are omitted from action context; their durable stores remain available.
|
|
29
|
+
Action prompts also omit the long identity-alias/runtime-configuration dump and
|
|
30
|
+
automatic identity-memory instructions. Ordinary conversational identity context
|
|
31
|
+
and the host's authorization checks retain their existing paths. Tool paths use
|
|
32
|
+
the bound run directory; the unrelated Node process directory is diagnostic data.
|
|
33
|
+
|
|
34
|
+
Shortening the canonical display also requires binding steering checks to the
|
|
35
|
+
actual authenticated physical frame. The selected source signals and original
|
|
36
|
+
diagnostic trace remain separate from that display. Tests cover live steering
|
|
37
|
+
reconciliation, native tool-call pairing, transport parity and exact file-read
|
|
38
|
+
retention.
|
|
39
|
+
|
|
40
|
+
The longer live replay exposed a further deterministic defect: the same file
|
|
41
|
+
body appeared in its native tool result, again in the canonical working set and
|
|
42
|
+
again as JSON-escaped text in an append-only host snapshot. The next assembled
|
|
43
|
+
request reached 478,686 estimated input tokens and failed admission against a
|
|
44
|
+
262,144-token window. Mixed tool batches and edit-precondition wrappers bypassed
|
|
45
|
+
the earlier body-retirement checks; source-stripped snapshots had only been used
|
|
46
|
+
for accounting, while the full snapshots were actually transmitted.
|
|
47
|
+
|
|
48
|
+
Selected authenticated native reads now count as source carriers, including
|
|
49
|
+
historical and mixed-batch reads. An append-only update carries a complete source
|
|
50
|
+
once, then references its actual resident copy. Physical rebases reset residency,
|
|
51
|
+
and externally changed files are invalidated before capture. Regression checks
|
|
52
|
+
decode host snapshots before counting copies, exercise real mixed native batches
|
|
53
|
+
and edit preconditions, and preserve the exact source and pending tool protocol.
|
|
54
|
+
When genuine capacity pressure requires demotion, durable receipt custody remains
|
|
55
|
+
distinct from a claim that all earlier source is still inline.
|
|
56
|
+
|
|
57
|
+
The actual HTTP payload exposed another bypass beyond the canonical dump. The
|
|
58
|
+
backend added an unrelated controlled-language policy, and strict-provider role
|
|
59
|
+
normalization converted later system blocks into `[SYSTEM]`-prefixed user turns.
|
|
60
|
+
That placed the quoted old conversation after the current question as a newer
|
|
61
|
+
user message. Genuine system blocks now merge into one leading system envelope;
|
|
62
|
+
native user, assistant and tool messages retain their exact relative order and
|
|
63
|
+
content. Transport, auxiliary budgeting, paging and Nexus do not add default
|
|
64
|
+
style instructions. Explicit caller-authored style remains intact.
|
|
65
|
+
|
|
66
|
+
Byte preservation was still insufficient for the follow-up. The first real wire
|
|
67
|
+
request contained only one native user turn: “expand the plan”. Its original
|
|
68
|
+
request and prior assistant answer appeared as reverse-ordered JSON quotes in
|
|
69
|
+
the system envelope. A later replay completed in ten turns but copied that prior
|
|
70
|
+
answer byte-for-byte; passing context and lifecycle checks did not establish
|
|
71
|
+
answer quality. The regression now checks exact native user/assistant/user roles
|
|
72
|
+
and chronology, and rejects an unchanged prior answer independently of completion.
|
|
73
|
+
|
|
74
|
+
Verified prior operator-DM messages now carry producer-owned role metadata. The
|
|
75
|
+
runner presents them oldest first before the exact current native user turn,
|
|
76
|
+
including the distinct anchor used by a cold resume. Their bodies are omitted
|
|
77
|
+
from the duplicate quoted carrier. Forwarded messages, other participants,
|
|
78
|
+
public groups and history without transport ownership remain attributed source
|
|
79
|
+
data. Historical assistant text cannot become a current completion candidate or
|
|
80
|
+
grant execution authority. Capacity admission still archives only an oldest
|
|
81
|
+
prefix, with exact source readback required before removal.
|
|
82
|
+
|
|
83
|
+
Live instrumentation must preserve streaming too. The regression harness now
|
|
84
|
+
returns the original HTTP response immediately and records a parallel byte-exact
|
|
85
|
+
capture. It does not buffer the full response before exposing provider progress.
|
|
86
|
+
Its pre-transport audits check decoded source residency and the actual wire roles,
|
|
87
|
+
including the absence of an unrequested style policy. Earlier unsuccessful trials
|
|
88
|
+
are retained rather than relabeled after these corrections.
|
|
89
|
+
|
|
90
|
+
The native-role replay then produced a new anchored plan, but its low-level test
|
|
91
|
+
configuration omitted both the typed completion contract and native answer
|
|
92
|
+
reviewer. It continued after the useful draft and accepted a shorter reply
|
|
93
|
+
referring to it. That trial remains failed. A subsequent test through
|
|
94
|
+
`TelegramBridge.processTelegramMessageWork` was stopped after its test adapter
|
|
95
|
+
failed to intercept streamed tool execution. Its partial role/source checks do
|
|
96
|
+
not establish final acceptance or delivery. Full native delivery verification
|
|
97
|
+
remains incomplete; the product runner was not relaxed to turn drafts into
|
|
98
|
+
accepted answers.
|
|
99
|
+
|
|
100
|
+
The implementation boundaries are [message role normalization](../packages/backend-vllm/src/messageNormalize.ts),
|
|
101
|
+
[source selection and task assembly](../packages/orchestrator/src/agenticRunner.ts),
|
|
102
|
+
[append-only source residency](../packages/orchestrator/src/append-only-outbound.ts),
|
|
103
|
+
[model-facing metadata](../packages/orchestrator/src/model-facing-metadata.ts), and
|
|
104
|
+
[Telegram context and Reply delivery](../packages/cli/src/tui/telegram-bridge.ts).
|
|
105
|
+
The source-residency tests decode snapshots and exercise real file tools rather
|
|
106
|
+
than relying on a literal search through JSON-escaped payloads.
|
|
107
|
+
|
|
108
|
+
The [Codex guide](https://developers.openai.com/cookbook/examples/gpt-5/codex_prompting_guide)
|
|
109
|
+
describes maintaining useful task state through compaction. Hermes documents a
|
|
110
|
+
separate [working-context compression path](https://hermes-agent.nousresearch.com/docs/user-guide/configuration#context-compression)
|
|
111
|
+
with durable archived history. Those patterns do not imply that either framework
|
|
112
|
+
cannot loop. Our demonstrated defects were more basic: incorrect message roles,
|
|
113
|
+
hidden instruction injection and repeated copies of the same evidence.
|
|
114
|
+
|
|
115
|
+
These changes reduce distracting context; they do not establish that a model can
|
|
116
|
+
never repeat an action. The earlier three live cases did not cover this production
|
|
117
|
+
follow-up: they used the default large tier and collapsed runner/project roots.
|
|
118
|
+
The follow-up harness uses the medium tier, complete preceding conversation and
|
|
119
|
+
two distinct isolated roots. Private conversation and source data are supplied
|
|
120
|
+
locally rather than committed to the repository.
|
|
121
|
+
|
|
122
|
+
# Telegram progress
|
|
123
|
+
|
|
124
|
+
The admin DM's edited Reply message now compounds accepted progress commentary
|
|
125
|
+
with short, interleaved `Invoked <tool>` notices. Consecutive invocations of the
|
|
126
|
+
same tool share a truthful count instead of pushing the commentary out of view.
|
|
127
|
+
The bounded Reply view uses whole recent records, without the expandable quote
|
|
128
|
+
of the latest tool output. Activity and Tools retain their exact command/result
|
|
129
|
+
records and existing pagination. Raw assistant drafts and hidden reasoning are
|
|
130
|
+
not promoted into progress commentary, and this display does not add inference
|
|
131
|
+
calls or instructions to the model.
|
|
132
|
+
|
|
133
|
+
# Verification and limits
|
|
134
|
+
|
|
135
|
+
All workspace packages build. Focused checks passed: 288 context regressions,
|
|
136
|
+
36 native-history/capacity tests, 26 Telegram history-producer tests, 87 backend
|
|
137
|
+
tests, 125 Reply/web-transport tests, and 35 replay-harness tests. Six older
|
|
138
|
+
presentation assertions were updated for intentionally removed context and pass.
|
|
139
|
+
The broader Telegram suite still has 32 failures reproduced against the previous
|
|
140
|
+
main commit with identical failure signatures; this is not a full-suite-green
|
|
141
|
+
claim.
|
|
142
|
+
|
|
143
|
+
Real inference used the exact approved
|
|
144
|
+
`robit/qwen3.8-27b-obliterated-e03:27b` model through the designated Ollama endpoint
|
|
145
|
+
on a physically verified A100. The native-role replay generated a new
|
|
146
|
+
3,649-character anchored plan, preserving each large selected source body once.
|
|
147
|
+
Its accepted terminal reply did not contain that plan, so the case remains a
|
|
148
|
+
failed final-delivery check. Earlier failed trials remain failed. No real
|
|
149
|
+
Telegram test messages were sent, and the production daemon was not restarted.
|
|
150
|
+
|
|
151
|
+
The fresh npm staging build passed the artifact audit and tarball checks for
|
|
152
|
+
README wiring, compiled entrypoints and excluded build/test/cache files.
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnius",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.930",
|
|
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.930",
|
|
10
10
|
"bundleDependencies": [
|
|
11
11
|
"image-to-ascii"
|
|
12
12
|
],
|
|
@@ -5246,9 +5246,9 @@
|
|
|
5246
5246
|
"optional": true
|
|
5247
5247
|
},
|
|
5248
5248
|
"node_modules/async-lock": {
|
|
5249
|
-
"version": "1.
|
|
5250
|
-
"resolved": "https://registry.npmjs.org/async-lock/-/async-lock-1.
|
|
5251
|
-
"integrity": "sha512-
|
|
5249
|
+
"version": "1.5.0",
|
|
5250
|
+
"resolved": "https://registry.npmjs.org/async-lock/-/async-lock-1.5.0.tgz",
|
|
5251
|
+
"integrity": "sha512-JgULma1mWaHlyJ67lvicyel5Cq+k55bXafE0gyvJBdHkH0vdE/IGGDF1glNyRInisNS6pZL2oho96S6Hw68kfQ==",
|
|
5252
5252
|
"license": "MIT"
|
|
5253
5253
|
},
|
|
5254
5254
|
"node_modules/asynckit": {
|
|
@@ -6489,9 +6489,9 @@
|
|
|
6489
6489
|
"optional": true
|
|
6490
6490
|
},
|
|
6491
6491
|
"node_modules/follow-redirects": {
|
|
6492
|
-
"version": "1.16.
|
|
6493
|
-
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.16.
|
|
6494
|
-
"integrity": "sha512
|
|
6492
|
+
"version": "1.16.3",
|
|
6493
|
+
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.16.3.tgz",
|
|
6494
|
+
"integrity": "sha512-toOSoqN6d51Wjf1aOFJYcoVv1aND9rj/CwjLU0Vz40oDuSpWDayCeKe4JpL5NL0WdFvoOOCI3BRo69HahjbR1A==",
|
|
6495
6495
|
"funding": [
|
|
6496
6496
|
{
|
|
6497
6497
|
"type": "individual",
|
|
@@ -7888,9 +7888,9 @@
|
|
|
7888
7888
|
}
|
|
7889
7889
|
},
|
|
7890
7890
|
"node_modules/jose": {
|
|
7891
|
-
"version": "6.2.
|
|
7892
|
-
"resolved": "https://registry.npmjs.org/jose/-/jose-6.2.
|
|
7893
|
-
"integrity": "sha512-
|
|
7891
|
+
"version": "6.2.16",
|
|
7892
|
+
"resolved": "https://registry.npmjs.org/jose/-/jose-6.2.16.tgz",
|
|
7893
|
+
"integrity": "sha512-4LSJpbuBuPdGrONCdZUy0xnxtLf8eEz+EY0SMXdHQEBU7bgUHDVblU/JAjryv3wID9/LK7/YuwFwq+AQNfMscQ==",
|
|
7894
7894
|
"license": "MIT",
|
|
7895
7895
|
"funding": {
|
|
7896
7896
|
"url": "https://github.com/sponsors/panva"
|
package/package.json
CHANGED