omnius 1.0.700 → 1.0.701
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/api/py-embed.js +139 -0
- package/dist/index.js +4897 -4100
- package/dist/library.js +139 -0
- package/dist/update-worker.js +139 -0
- package/docs/DISCOVERY.json +164 -0
- package/docs/DISCOVERY.md +4 -0
- package/docs/telegram-large-files.md +37 -0
- package/docs/work-orders/runtime-health-remediation/TRACKER.md +7 -0
- package/docs/work-orders/runtime-health-remediation/WO-51-large-telegram-attachments.md +56 -0
- package/docs/work-orders/runtime-health-remediation/WO-52-steering-projection-preservation.md +35 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# WO-52: Preserve required steering instructions in the actual model request
|
|
2
|
+
|
|
3
|
+
Status: source repair complete; verified and ready for publication. Live acceptance follows the user's publication.
|
|
4
|
+
|
|
5
|
+
## Finding
|
|
6
|
+
|
|
7
|
+
The latest Telegram run (`telegram-64ac9937dc7647a8-1788648116746-1`) reached turn 87 at 15:50 PDT on September 5 without executing work tools. Its retained history contained 32 `task_complete` attempts and 25 `tool_search` calls. Every admitted attempt was gated pending structured reconciliation of the new archive attachment. There was 84.6% free context; this was not context exhaustion or an active Ollama outage.
|
|
8
|
+
|
|
9
|
+
The canonical request compiler removed the fresh `[ACTIVE USER STEERING]` protocol slot as `stale_work_scope`. Conversation/constrained projection excludes mutable task frames indiscriminately, including protected unacknowledged input. The model therefore never received the schema it was required to emit. Intake nevertheless claimed that the input was visible on each request because visibility was recorded before final projection. Copied request and projection decisions: `/tmp/omnius-latest-run-20260905-1550/latest-main.json` (decision around line 1230); intake copy under `/tmp/omnius-latest-telegram-p7sd8ubn/`.
|
|
10
|
+
|
|
11
|
+
## Repair
|
|
12
|
+
|
|
13
|
+
- `packages/orchestrator/src/canonical-context-projection.ts`: retain the current protected unacknowledged steering slot while excluding stale task frames; report budget inability rather than silently remove required authority.
|
|
14
|
+
- `packages/orchestrator/src/agenticRunner.ts`: only the exact current host-authored system slot receives that protection. Mark input visible at admitted backend dispatch, bound to the input actually present; do not credit discarded requests or later replacement inputs. Task profiles can embed steering in the canonical frame: retain a request-owned binding only when the current signal was selected without truncation, then verify that exact frame reaches dispatch.
|
|
15
|
+
- Pure projection tests and `agenticRunner-conversation-steering.test.ts`: actual conversation primary/brute loops, stream/batch, constrained budgets, stale copies, pause/replacement races and valid explicit reconciliation after an unavailable attachment.
|
|
16
|
+
|
|
17
|
+
## Acceptance
|
|
18
|
+
|
|
19
|
+
- [x] The actual next request contains the current input ID and full reconciliation contract in conversation and constrained modes.
|
|
20
|
+
- [x] Stale/assistant-authored copies cannot become protected authority.
|
|
21
|
+
- [x] Visibility receipts match actual admitted request content and owner.
|
|
22
|
+
- [x] Explicit valid reconciliation permits intended continuation without admitting stale work; parser remains strict.
|
|
23
|
+
- [x] Required instructions cannot disappear to meet a budget; no invented acknowledgement or retry-count authority.
|
|
24
|
+
- [x] Record verification, scoped commit and push.
|
|
25
|
+
|
|
26
|
+
The separate attachment-size/transport failure is handled by WO-51. This order fixes the missing protocol and false visibility receipts; it does not infer intent from malformed model output.
|
|
27
|
+
|
|
28
|
+
## Verification and delivery
|
|
29
|
+
|
|
30
|
+
The first expanded regression run passed 114 cases and exposed a task-profile visibility regression in the initial patch: canonical task frames embed steering instead of retaining its standalone message. The final request-owned frame binding repaired this without weakening the original fixture or marking absent/truncated instructions visible.
|
|
31
|
+
|
|
32
|
+
- Final regression: 118/118 across conversation steering, pure/production canonical projection, production/recovery steering evidence, admission, intake lifecycle, preemption and interruption suites. Command: `pnpm --dir packages/orchestrator exec vitest run tests/agenticRunner-conversation-steering.test.ts tests/canonical-context-projection.test.ts tests/agenticRunner-canonical-production.test.ts tests/agenticRunner-steering-evidence-production.test.ts tests/agenticRunner-steering-evidence-recovery.test.ts tests/steering-admission.test.ts tests/steering-intake-lifecycle.test.ts tests/steering-preemption-api.test.ts tests/agenticRunner-interruption.test.ts tests/interruption-lifecycle.test.ts --maxWorkers=4 --minWorkers=1`. Log: `/tmp/omnius-wo52-regressions-final.log`.
|
|
33
|
+
- Typecheck passed: `/tmp/omnius-wo52-visibility-types.log`. Clean all-workspace build passed; final orchestrator rebuild after the frame-binding follow-up passed: `/tmp/omnius-wo52-final-build.log`.
|
|
34
|
+
- Tests use scripted backends and local temporary fixtures; no inference request or live Telegram message was sent.
|
|
35
|
+
- The scoped repair commit includes this workorder; final commit hash and remote delivery are recorded in `TRACKER.md`.
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnius",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.701",
|
|
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.701",
|
|
10
10
|
"bundleDependencies": [
|
|
11
11
|
"image-to-ascii"
|
|
12
12
|
],
|
package/package.json
CHANGED