omnius 1.0.991 → 1.0.992

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.
Files changed (54) hide show
  1. package/.aiwg/addons/omnius-docs/README.md +3 -0
  2. package/.aiwg/addons/omnius-docs/skills/omnius-task-graph/SKILL.md +42 -0
  3. package/dist/_types/execution/native-memory-view-provider.d.ts +5 -1
  4. package/dist/_types/execution/nol/worker-assets.d.ts +2 -0
  5. package/dist/_types/memory/immutableEvidenceStore.d.ts +4 -1
  6. package/dist/_types/memory/memoryCapability.d.ts +2 -0
  7. package/dist/_types/memory/structuredMemoryStore.d.ts +3 -1
  8. package/dist/_types/orchestrator/agenticRunner.d.ts +25 -11
  9. package/dist/_types/orchestrator/completionFinalization.d.ts +19 -1
  10. package/dist/_types/orchestrator/contentAddressedArtifactStore.d.ts +1 -4
  11. package/dist/_types/orchestrator/historicalToolObservation.d.ts +36 -0
  12. package/dist/_types/orchestrator/interruption-lifecycle.d.ts +3 -0
  13. package/dist/_types/orchestrator/native-provider-delivery.d.ts +3 -0
  14. package/dist/_types/orchestrator/semanticVerification.d.ts +8 -1
  15. package/dist/_types/orchestrator/structured-memory-extraction-worker.d.ts +1 -0
  16. package/dist/_types/orchestrator/successful-procedure-memory.d.ts +7 -0
  17. package/dist/_types/orchestrator/task-recall-review-evidence.d.ts +37 -0
  18. package/dist/_types/orchestrator/taskRequirementReview.d.ts +3 -0
  19. package/dist/_types/orchestrator/taskSemanticAdmission.d.ts +9 -0
  20. package/dist/_types/orchestrator/taskWorkPlan.d.ts +4 -1
  21. package/dist/api/py-embed.js +3 -0
  22. package/dist/assets/nol-task-memory-promotion-worker.py +240 -0
  23. package/dist/index.js +2 -2
  24. package/dist/library.d.ts +1 -0
  25. package/dist/library.js +22592 -20124
  26. package/dist/memory-maintenance-worker.js +4255 -4252
  27. package/dist/nol/task-memory-promotion.d.ts +240 -0
  28. package/dist/omni-setup-worker.js +3 -0
  29. package/dist/postinstall-daemon.cjs +3 -0
  30. package/dist/preinstall.cjs +5 -0
  31. package/dist/tui/native/worker.js +40 -1
  32. package/dist/update-worker-runtime.js +24374 -8901
  33. package/dist/update-worker.js +35 -9
  34. package/docs/DISCOVERY.json +637 -1
  35. package/docs/DISCOVERY.md +16 -0
  36. package/docs/guides/system-tray.md +6 -0
  37. package/docs/reference/slash-commands.md +59 -2
  38. package/docs/reference/task-observability.md +27 -0
  39. package/docs/work-orders/WO-behavioral-memory-graph-20261123.md +122 -0
  40. package/docs/work-orders/WO-native-agent-collaboration-20261124.md +96 -0
  41. package/docs/work-orders/WO-telegram-admin-command-and-artifact-20261124.md +117 -0
  42. package/docs/work-orders/WO-telegram-ellipsis-and-stale-release-20261124.md +129 -0
  43. package/docs/work-orders/WO-telegram-live-worker-view-20261124.md +114 -0
  44. package/docs/work-orders/WO-telegram-long-horizon-continuity-20261123.md +43 -0
  45. package/docs/work-orders/WO-telegram-model-source-and-broker-capacity-20261124.md +68 -0
  46. package/docs/work-orders/WO-update-publish-provenance-20261125.md +79 -0
  47. package/docs/work-orders/WO-verified-update-transaction-20261124.md +46 -0
  48. package/docs/work-orders/human-memory-task-recall/README.md +57 -0
  49. package/docs/work-orders/human-memory-task-recall/WO-01-task-board.md +320 -0
  50. package/docs/work-orders/human-memory-task-recall/WO-02-consolidation.md +95 -0
  51. package/docs/work-orders/human-memory-task-recall/WO-03-promotion.md +226 -0
  52. package/docs/work-orders/human-memory-task-recall/WO-04-qualification.md +580 -0
  53. package/npm-shrinkwrap.json +2 -2
  54. package/package.json +8 -3
@@ -0,0 +1,129 @@
1
+ # Case Theory replies and Omnius release recovery
2
+
3
+ Case Theory received seven acknowledged Telegram replies containing only
4
+ `...`. A different failure affected the admin DM after installing npm
5
+ `1.0.990`. Its new turn stopped at the old 1 GiB artifact cap with zero
6
+ inference fetches.
7
+
8
+ ## Case Theory
9
+
10
+ For input 4818, local Inkling completed both the quick-chat draft and its
11
+ review. Telegram acknowledged final message 4819 at 22:35:43 PST. The
12
+ delivery ledger stores the exact ellipsis. The saved metadata establishes
13
+ that the review chose that reply. It does not retain the model's raw draft.
14
+ The published replacement reproduced the same failure on message 4821.
15
+
16
+ Reject standalone ellipses in typed and plain quick-chat drafts, in semantic
17
+ reviews, and at the quick-chat final boundary. Invalid drafts and reviews use
18
+ the existing single retry at each stage. A meaningful reply that includes an
19
+ ellipsis or only an emoji still passes the text boundary. Regression tests
20
+ cover both successful correction and a reviewer that repeats the placeholder.
21
+
22
+ ## Release identity and update recovery
23
+
24
+ The tray attempts at 22:31:53 and 22:37:15 PST both ended when the installed
25
+ update worker could not load its local `zod/index.js`. Neither attempt
26
+ reached npm pack or install. A subsequent direct npm install restored Zod and
27
+ restarted the services. Package bytes from that install matched the registry
28
+ tarball and the tarball staged from an older checkout. The release reported
29
+ `1.0.990`, had no build revision, and contained the old aggregate cap.
30
+
31
+ The 22:38:24 admin DM failure for input 4253 is bound to terminal receipt
32
+ `terminal-dcc6558bcb89c2ab7e1f`. The terminal summary records
33
+ `artifact store exceeds configured 1073741824-byte limit`. The owned
34
+ observation reports zero fetches. The registry bundle SHA-256 is
35
+ `5f5f8f7e2c372e2fe65c78b1c104c2dc609c5fac0ad485332f5d1bb68a0e5f9e`.
36
+
37
+ The local recovery staged the previously verified archive built from
38
+ `26e9ed5f`. Its bundle SHA-256 is
39
+ `7b1079545945c32ae5de867c16c10c8ad8da6084915e32fe042e1725ba076b90`.
40
+ The daemon boot hash, tray restart, and active Telegram worker poll were
41
+ verified after the switch. The installed artifact runtime wrote and reopened
42
+ a checkpoint with 1,073,774,592 logical bytes already present and the legacy
43
+ settings file still in place. The test used a sparse fixture on a separate path.
44
+
45
+ Bundle Zod into the updater runtime to cover the observed missing dependency.
46
+ The release install gate imports the exact worker runtime with package-local
47
+ Zod temporarily hidden in the disposable npm install. A new npm version
48
+ is required because the registry already serves the older bytes as 1.0.990.
49
+ The maintainer will bump the version and publish from the clean source.
50
+ The package audit and fresh install passed at `16b7fc76`. The install
51
+ loaded the updater with package-local Zod hidden and loaded the CLI and
52
+ SQLite prebuild. The active bot still uses the restored local 1.0.990.
53
+
54
+ ## Admin DM interactive replies
55
+
56
+ The later DM ellipsis was message 4269. It came from an interactive
57
+ steering acknowledgement while the existing run was paused for the new
58
+ input. The authorized steering applied. The acknowledgement still sent
59
+ `...` because the interactive sender had its own nonempty-text check.
60
+ Two subsequent resume inputs received the same optional acknowledgement.
61
+ They independently settled against the same retained task.
62
+
63
+ Interactive controls now omit a placeholder, an exact echo of the current
64
+ input, or a repeat of an acknowledged control reply from the same active
65
+ owner. The original validated control still applies. An independent input
66
+ whose answer is unusable is retained for fresh admission while the original
67
+ task resumes. All 32 focused interactive cases passed.
68
+
69
+ ## Quick reply to long-running work
70
+
71
+ An independent review can decide that the current input needs additional
72
+ work. The native action planner then validates and retains the original
73
+ input before the reviewed interim reply can be sent. The actor starts
74
+ after the interim delivery attempt under the same task ownership. An
75
+ unconfirmed send fences another progress send while the admitted action
76
+ remains open. An acknowledged interim receipt supplies no completion or
77
+ objective-effect evidence. Stop or an ownership change during that send
78
+ prevents the actor from starting.
79
+
80
+ Five focused handoff cases passed. They cover an acknowledged reply
81
+ before actor start, an unknown provider outcome, an earlier receipt from
82
+ another generation, Stop during the reply, and an already fulfilled
83
+ reply that starts no work.
84
+
85
+ ## CLI model discovery
86
+
87
+ A streaming model upload occupied the broker's only base operation slot.
88
+ Base Ollama answered read-only metadata directly, and managed Inkling
89
+ generation used its assigned GPU lane. The broker catalog call waited
90
+ behind the upload. The desktop test also found that missing metadata
91
+ could switch the CLI to the compatibility endpoint. Inkling rejected
92
+ that transport before generation. Omnius checks managed endpoint health
93
+ through broker discovery and keeps configured broker inference on native
94
+ Ollama transport even if model metadata is unavailable.
95
+
96
+ The broker gives metadata requests a separate bounded lane. A saturated
97
+ metadata lane rejects excess requests and releases capacity as they settle.
98
+
99
+ A visible desktop Omnius run completed a real read-only fixture task while
100
+ the upload still occupied the base slot. Inkling used the verified A100
101
+ and all five inference responses returned HTTP 200 on native `/api/chat`.
102
+ The exact file marker was returned and the terminal receipt was
103
+ `terminal-b922751bf0648e3e5b03`.
104
+
105
+ The broker source commit is `048652639802b6a24cbd235dc393d8efb621e6cf`.
106
+ Its busy-upload regression passed against the source build and the exact
107
+ host candidate. The full broker suite passed.
108
+
109
+ ## Broker rollout and live checks
110
+
111
+ The original upload closed at 00:07 PST on November 25. Base Ollama logged
112
+ HTTP 200 after 1h20m50s. The rollout waited for the process, both sockets,
113
+ and the broker queue to settle before restarting at 00:08 PST. Broker PID
114
+ 1050850 changed to 3995844. Base Ollama stayed at PID 3492179, and both
115
+ external GPU leases retained their scopes.
116
+
117
+ Using the restarted broker, a real Ollama push held its manifest upload
118
+ open against a loopback registry. All five catalog requests returned
119
+ HTTP 200 in 2–215 ms. Inkling returned the exact two fields from a sample
120
+ broker record through `/api/chat` in 3.2 seconds on a verified A100, with
121
+ the upload in flight immediately before and after inference. The push
122
+ then returned `success`, the fixture alias was removed, and the base lane
123
+ and queue returned to idle. The broker commit was pushed to `origin/main`
124
+ after those checks.
125
+
126
+ The Case Theory quick handler also completed a real Inkling draft and
127
+ review with an isolated Bot API acknowledgement. The live desktop and
128
+ focused Telegram tests passed. The broader Telegram intake suite had the
129
+ same 36 failures on the unchanged baseline.
@@ -0,0 +1,114 @@
1
+ # Live worker controls in Telegram admin DMs
2
+
3
+ The admin DM already has a native foreground worker tool and stores completed
4
+ worker receipts. An operator needs an explicit way to request that tool and
5
+ a live view to verify work from the same DM.
6
+
7
+ | Work item | Acceptance |
8
+ | --- | --- |
9
+ | Explicit invocation | Register `/agent <task>` only for the authorized private workspace operator with the worker tool available. Use the original inbound Telegram message, durable intake, and the owner-bound native runner with its independent final goal review. Completion requires a genuine foreground worker terminal owned by the run. |
10
+ | Live Workers view | Show a Workers count on the existing admin run message after genuine worker start. Open the live view with an inline callback. Show bounded worker IDs and runtime tool activity. Remove the control when the last worker settles or the parent loses ownership. |
11
+ | Callback custody | Verify the current bot, admin actor, chat, message, and response owner. Reject stale and foreign callbacks and keep worker state out of reopened activity archives. |
12
+ | Delivery | Verify catalog parity, worker lifecycle, active callback navigation, expiry, and final reply delivery. Qualify the compiled bridge on the isolated Bot API with real PI-adapted E03 inference. |
13
+
14
+ ## Read-only tasks for the admin DM
15
+
16
+ Send each task as its own message. These files exist in the configured
17
+ `telegram_test` workspace. The tasks exercise a single worker, parallel
18
+ delegation, a dependent handoff, and evidence synthesis.
19
+
20
+ 1. `/agent Use one foreground explore worker to read README.md. Return the project title and the first three architecture components with line references. Include the actual worker ID and terminal status. Read-only.`
21
+ 2. `/agent Launch two independent foreground explore workers together. Have one extract the documented test and lint commands from README.md and the other inspect the test and lint targets in Makefile. Compare the results with line references and both worker IDs. Read-only.`
22
+ 3. `/agent Have worker A read the Makefile test target and send its exact command to you through the native mailbox. Read and acknowledge A's message, then forward its receipt ID to worker B. Have B open and acknowledge it, compare it with README.md, and send back its finding. Report whether the commands agree and include both worker IDs. Read-only.`
23
+ 4. `/agent Have two foreground explore workers independently read tests/test_oscillatory_engine.py and tests/test_predictive_coding.py, one file each. Ask each for three behaviors actually checked, with line references. Synthesize the results and give both worker IDs and terminal statuses. Read-only.`
24
+ 5. `/agent Ask a foreground explore worker to list installation steps from README.md. Ask a second worker to independently inspect the Makefile install target and identify any mismatch. Give a three-step setup checklist with verified commands, line references, and both worker IDs. Read-only.`
25
+
26
+ ## Verification
27
+
28
+ - Focused lifecycle tests covered a deferred native worker, owner-bound page
29
+ callbacks, stale and foreign controls, absent archive live state, no tool
30
+ body disclosure, and normal return to Reply. Command tests verified the
31
+ private catalog and original native intake. The completion guard withheld
32
+ a claim of worker use when a permissive reviewer and zero current worker
33
+ receipts disagreed.
34
+ - The first real-inference stress prompt exhausted all 5,800 native requirement
35
+ projection output tokens. It used 5,691 prompt tokens with a 262,144-token
36
+ serving context. The projection retry was stopped during the isolated trial
37
+ after its live-view observation deadline. This trial launched no workers.
38
+ - The shorter trial showed the actual worker's ID and `Running file_read` on
39
+ the original message, then returned to Reply without the button. Its parent
40
+ failed completion because the projection classified the exact standalone
41
+ worker launch as a workspace mutation. The preserved terminal receipt
42
+ `terminal-0d0b2660395a23f79261` records the erroneous unmet effect. Its
43
+ SHA-256 is `ae10a096e5ca75bf8456148b0070969f1c0b1cfe319ca51858245e8b73d262ae`.
44
+ - Retesting the separate planning path failed during projection validation.
45
+ `/agent` now uses native private custody directly. The operator's exact
46
+ command supplies action attention and the foreground `agent` method, and
47
+ the existing independent final goal check uses that run's evidence.
48
+ - The first native-custody trial opened the live panel on message `10110` and
49
+ recorded the child terminal `terminal-0d849cb128e51ceb552f`. The parent had
50
+ the requested worker ID and observed package manager, but its reviewer
51
+ classified the inline reply as a separate delivery and repeatedly demanded
52
+ a provider receipt before sending it. The review now defines inline replies
53
+ as `visible_response` and separately requested transfers as `delivery`.
54
+ Separate transfers still require a receipt.
55
+ - The broader native core suite reported one existing tool-exposure failure.
56
+ The same assertion failed on an untouched checkout of `ec957121`.
57
+ A separate runner/catalog/single-pass comparison also reproduced all six
58
+ pre-existing failures on the unchanged checkout.
59
+ - The contemporaneous production DM `4221` was a separate case. Its prerequisite
60
+ check succeeded. The following checkpoint hit the still-deployed 1 GiB cap
61
+ and led to reply `4223`. The exact receipt is `terminal-c294c813795c85c7681e`.
62
+ The daemon labeled the checkpoint error an inference failure. The worker
63
+ still ran the `1.0.985` code in its `1.0.987` package, which matches the older
64
+ release byte for byte outside the two npm manifests. The disk had 59 GiB
65
+ available and the configured cap had only 14,980 bytes remaining. Source
66
+ commit `e7d2a638` removes the aggregate cap and manages disk pressure. The
67
+ two artifact-store limit tests passed in the local checkout.
68
+
69
+ ## Inkling model qualification
70
+
71
+ - The exact requested `inkling-2-mini:26b-a5b-iq4_NL` manifest is
72
+ `2b942cf7664624de9cc59da1b83aa9f7aa5cb27d8c4f0f7c894d733d0bc6a351`.
73
+ Ollama installed the model from its registry. The broker's original memory
74
+ estimator refused the model's per-layer KV head metadata.
75
+ - The pinned runtime expands 24 physical layers to 48 independent cache
76
+ slots. A first conservative cache estimate let the broker fit 258,048
77
+ tokens but left the runtime's native batch at 2,048. The zero-token probe
78
+ tried to allocate a 113,401,648,640-byte compute buffer and failed before
79
+ token generation.
80
+ - The final broker accounts for the relative attention workspace and pins
81
+ native batch 128. It validates fixed loop metadata, uses a conservative
82
+ FP16 cache estimate for every slot, and preserves the existing placement
83
+ checks. All 56 focused checks, three host fit checks, and the full broker
84
+ suite passed. The rollout preserved the host's existing context fitter and
85
+ external leases. Source commit `0cfc1fb9b357b35435ba1c0e2e9f30d9fc5d419f`
86
+ implements the model profile. The tested host overlay also fits the context
87
+ before rejecting an oversized exact single-GPU request.
88
+ - Ollama verified batch 128 and a 204,800-token context on A100
89
+ `GPU-170a99ee-850f-2182-1050-4e8d3c87b6b0`. The first actual DM trial
90
+ displayed live worker `explore-df274aad-6c51-46dd-bbda-65a21751fb44`.
91
+ The worker performed its file read and returned independent terminal
92
+ `terminal-79a39a6a6f0dc6bd5555`. The parent reviewer rejected its first
93
+ candidate over a mismatched claim span, then hit a structured-output loop
94
+ on retry. The exact quote verifier now tolerates a miscounted offset if the
95
+ quote occurs once in the same current document. Worker IDs still require
96
+ current native completion evidence.
97
+ - The final compiled candidate passed actual CLI and isolated Telegram
98
+ runs using that model. The CLI read a private fixture and delivered its
99
+ exact first line, preserving the file and committing
100
+ `terminal-b6a69de0bb2d246e1377`. The isolated DM opened Workers on the
101
+ original message `10110`, ran the real worker
102
+ `explore-40abdd3d-120b-4c80-be50-d25fb13dadf3` through its own file read
103
+ and terminal `terminal-10883ea4b55300b339be`, and removed the button.
104
+ The parent committed `terminal-d56e9ae3d882d0daaeef` and Telegram
105
+ acknowledged message `10111` with the exact source value and worker ID.
106
+ The intake was consumed. The first fixture assertion expected a narrower
107
+ expiry message. Independent scoring confirmed the stale callback received
108
+ a message-ownership alert and the worker panel never reopened.
109
+ - An earlier CLI trial requested a display heading. Inkling's reviewer
110
+ treated that heading as required file content, even though the candidate
111
+ contained the true line and the requested heading. The run correctly
112
+ preserved an `incomplete_verification` terminal. The qualified ordinary
113
+ CLI prompt asked for the exact first line and preserved the same real
114
+ file-read and completion requirements.
@@ -0,0 +1,43 @@
1
+ # Telegram long-running task continuity
2
+
3
+ - **Status** Complete and verified in mocked integrations
4
+ - **Baseline** `e466a565` on `origin/main`
5
+ - **Scope** Telegram admin DM intake, task settlement, worker updates, and group retry scheduling.
6
+
7
+ ## Incident
8
+
9
+ The bot delivered an incomplete status for an older run. Its pending final-delivery ticket retained the live session, so admin messages 4193 and 4194 stayed deferred despite healthy polling. A later public-chat retry loop repeatedly readmitted the same peer-bot batch.
10
+
11
+ ## Acceptance and progress
12
+
13
+ - [x] Release the live admin session after a durably acknowledged incomplete status. Preserve the unresolved task and route the next durable intake.
14
+ - [x] Carry delivery disposition and acknowledgement across restarts. Recover exact receipts and keep uncertain sends fenced.
15
+ - [x] Merge update checkpoints with existing valid custody. Rollback preserves earlier work, and fresh messages retain separate intake ownership.
16
+ - [x] Accept steering at an owned safe boundary. Status keeps the original goal. An explicit pivot transfers ownership once. Unclassified arrivals stay independently pending during capacity or attention failures.
17
+ - [x] Park ineligible group follow-ups until their active owner changes. Route eligible human intake and preserve peer-bot work.
18
+ - [x] Verify with mocked Telegram and inference, including fresh-process adoption, failed-update rollback, and no replay of acknowledged effects. Rebuild the release inputs.
19
+
20
+ ## Progress log
21
+
22
+ - 2026-11-23. Captured live intake and delivery evidence. The existing mocked closeout tests reproduce the unavailable-review hold. Started an isolated worktree from the fetched remote to preserve the original checkout's modifications.
23
+ - 2026-11-23. The deployed package already includes owned model reattachment and interrupted sub-agent reconciliation. The source change will extend existing durable intake, interruption, and delivery records.
24
+
25
+ ### Implementation log
26
+
27
+ - 2026-11-23. Bound native provider operations to the original ticket and their status or completion disposition. Verified status closeout through the scheduler with a second queued DM. Verified that a newly opened ledger projects an existing Telegram acceptance and leaves a dispatch without an acknowledgement fenced.
28
+ - 2026-11-23. Verified graceful update settlement of an issued acknowledgement after a temporary completion error. The mock recorded one Telegram response and two original model turns.
29
+ - 2026-11-23. Verified that successive handoffs and failed-update rollback preserve earlier paused work. Added regression coverage for exact frozen intake ownership and for release of held group input after the original route retires.
30
+ - 2026-11-23. Warm CPU fixtures exercised progress, reviewed steering, replacement, capacity pressure, and unavailable attention. Fresh-process coverage and final integrated build are in progress.
31
+ - 2026-11-23. The verification retry reused the exact staged candidate and work evidence. Mocked transient failure recovered with one final Telegram reply and without a repeated write. Mocked persistent failure produced an incomplete status and released the next DM. Cold tests distinguished a committed provider receipt, unsettled provider custody, and a neighboring fresh input.
32
+
33
+ ### Verification record
34
+
35
+ - The ten selected Telegram suites passed 239 tests with two external-fixture skips before the final fresh-process amendments. Focused delivery and steering reruns passed seven tests after the review-only retry and independent reply recovery changes.
36
+ - The four selected orchestrator suites passed 121 tests. The existing `observed_absolute` transport assertion failed with the same result on clean `e466a565`, where the 655 ms test budget expired before the simulated semantic event. The selected interruption, owned wait continuity, and attached prefill suites passed.
37
+ - Broader comparison found existing baseline failures in two UI or scheduling assertions in `telegram-active-route-concurrency.test.ts`, a public progress quoting assertion in `telegram-public-native-runner.test.ts`, and a terminal checkpoint assertion in `telegram-steering-objective-continuity.test.ts`. The new scheduler and lifecycle regressions passed.
38
+ - The fresh-process SIGKILL fixture resumed the original run with both completed PDF read receipts and no repeated source tools. The settled greeting fixture also proved that a consumed input cannot be revived by a stale crash journal.
39
+ - The final provider smoke run passed six cases covering the exact next DM, one bounded review retry, graceful acknowledgement settlement, cold committed and unsettled custody, and bot-scoped receipt replay.
40
+ - The steering durability fixtures passed 30 tests, including the original-receipt check for older acknowledged steering with an empty next action. Fresh-process testing also uncovered two additional handoff failures. The scheduler had overwritten durable intake ownership during recovery, and captionless documents were compared against an empty text field. Both now retain the original authenticated inputs.
41
+ - The broader fresh-process file still reports three older fixture failures. The admin and group cases expect a non-null reviewed work plan before the restart. The private-guest fixture returns an invalid native requirement shape. The dedicated SIGKILL, settled-intake, and steering/status/pivot scenarios passed.
42
+ - The final fresh-process test accepted steering before the update, resumed the same run with the two prior PDF receipts, answered status from that restored evidence, and started the requested pivot under a higher intake epoch and a distinct task owner. The original runner stopped, and the replacement inherited no PDF evidence.
43
+ - Final `pnpm -r build` and staged whitespace checks passed. Verification used mocked model and Telegram transports. npm publication is reserved for the operator.
@@ -0,0 +1,68 @@
1
+ # Telegram model selection and broker admission
2
+
3
+ The 24 November admin DM stopped after a permanent 422 from the inference
4
+ broker. Its tray model mismatch came from a separate settings and refresh bug.
5
+ The source fixes and live qualification evidence are recorded below.
6
+
7
+ The tray's top Model menu selects the global default. Telegram instances can
8
+ also use a bot-specific pin, a global Telegram override, or a project model.
9
+ In production, the global default and the running bot's pin were both
10
+ `inkling-2-mini:26b-a5b-iq4_NL`. The same bot's Default row meant the project's
11
+ PI-adapted E03 model. The second Telegram project also had its own inherited
12
+ project model.
13
+
14
+ The tray now shows the global model as a distinct choice. Following it persists
15
+ a policy that the worker resolves for future turns. Choosing Default restores
16
+ the existing inheritance rules. A named model pins that instance, and the
17
+ operator's other project model settings stay intact. Model changes queue a menu
18
+ refresh when a read or scan is already running.
19
+
20
+ A separate live failure occurred in
21
+ `telegram-64ac9937dc7647a8-1795581710345-1`. The actor selected Inkling and
22
+ requested its advertised 1,048,576-token maximum. The ordinary production
23
+ request allowed three GPUs. The broker rejected the 274,399 MiB estimate
24
+ against their 245,760 MiB combined capacity before attempting a fitted context.
25
+ The prior real-inference qualification used one explicitly selected GPU and
26
+ therefore exercised the fitted route.
27
+
28
+ The broker returned a permanent HTTP 422 capacity rejection. The client
29
+ performed a body-free lookup and received HTTP 409. Its saved observation
30
+ identified `model_exceeds_gpu_capacity`, but the displayed message asked for a
31
+ forwarding outcome. The owned transport now retains an exact, first-attempt
32
+ capacity refusal when the broker's body and headers identify the same
33
+ request. It reports the capacity issue while preserving effects and original
34
+ custody.
35
+
36
+ | Verification | Success |
37
+ | --- | --- |
38
+ | Model data | The tray distinguishes global, inherited default, and pin. Both status and future turns resolve the same source. Model changes use the existing inference ownership rules for active work. |
39
+ | Refresh | A completed selection refreshes the tray after a concurrent poll or scan. |
40
+ | Custody | A matched permanent capacity rejection persists its exact reason and produces one request, with no lookup or replacement. |
41
+ | Admission | A cold Inkling request with multiple allowed GPUs fits its context on a permitted GPU. Explicit exclusive groups keep their separate policy. |
42
+
43
+ ## Results
44
+
45
+ - The model, workspace, admin command, and tray suites passed all 82 tests.
46
+ The owned inference transport suite passed all 63 tests. Six failures in
47
+ `non-retryable-backend-reengagement.test.ts` reproduce on `28da605a`, the
48
+ unchanged pre-fix commit.
49
+ - Broker commit `81c2370b5f3dd68b83f9f307c8c14a0bfd031933` passed all 59
50
+ model-context cases and all 14 forced-group cases. The host overlay passed
51
+ all 17 Inkling cases. The broker restart preserved the base Ollama process
52
+ and the two active external GPU leases.
53
+ - The deployed broker cold-loaded the exact Inkling model with all three
54
+ A100s allowed. It selected one verified A100 and fit the context to
55
+ 81,920 tokens. A certified native chat request under the unchanged
56
+ three-GPU allowlist returned `lane-2 81920` in 136 generated tokens.
57
+ The regression suite also exercises the original 1,048,576-token wire
58
+ request before warm-up.
59
+ - The real CLI read a private fixture file, returned its exact first line, and
60
+ recorded terminal receipt `terminal-49a4c9947f968b090c47`. The isolated
61
+ admin DM reported each global model change without restarting its worker,
62
+ then read its own fixture and delivered the final reply through the local
63
+ Bot API. Inference terminal receipt `terminal-c2abec011db53f64e787` and
64
+ provider message `9004` matched the expected task and final reply. The
65
+ result was checked directly against the delivery ledger after the initial
66
+ harness expected the wrong outbound operation ID prefix.
67
+ - The production DM's saved attempt was left parked with its original
68
+ receipt. The isolated Bot API is the Telegram qualification boundary.
@@ -0,0 +1,79 @@
1
+ # Reject stale npm releases and verify daemon updates
2
+
3
+ ## Incident
4
+
5
+ Both attempts to update from `1.0.990` to `1.0.991` installed the target
6
+ and then rolled it back. On retry `c4aac9f1-e3f0-492c-ba7d-d903b48a56a0`,
7
+ the candidate's daemon started at 09:42:22 PST and answered `/health` as
8
+ `1.0.991`. The legacy updater performed one health probe after a 15-second
9
+ sleep and recorded `observed unreachable`. The systemd journal records no
10
+ daemon exit before the updater stopped the service for rollback. The
11
+ individual failed response did not survive in the logs.
12
+
13
+ The npm registry identifies the source as `4a3504aa`, the old primary
14
+ checkout. Its archive integrity matches that checkout's local tarball.
15
+ The `1.0.991` CLI and coordinator runtime hashes match the stale
16
+ `1.0.990` binaries byte for byte. The build omitted `omniusBuild` and
17
+ bypassed the newer archive and restart checks already on `main`.
18
+
19
+ A separate global install activated the stale `1.0.991` after rollback.
20
+ The admin DM voice-report run stopped at actor turn three and two later
21
+ DM turns stopped at actor turn zero. All three terminal receipts record
22
+ the stale 1 GiB artifact cap. The affected receipt IDs are
23
+ `terminal-ec37cac268c6dc5568b1`, `terminal-900cb111e484609742ef`, and
24
+ `terminal-de82cadd2199ac3f98ec`.
25
+
26
+ ## Acceptance
27
+
28
+ - The local release command checks the intended `origin/main` revision,
29
+ builds from clean committed source, and refuses a packed archive that
30
+ omits or contradicts its source identity.
31
+ - The real updater rejects a stale or inconsistent exact-version registry
32
+ candidate before taking the running daemon or tray offline. Exact
33
+ archive integrity and verified rollback remain enforced.
34
+ - Transient missed health polls can recover. A changed daemon identity
35
+ or sustained unreachability still fails activation and preserves rollback.
36
+ - A fresh, unpublished next-version archive passes the package audit and
37
+ clean install. Qualify the updater path against real local daemon
38
+ processes and record the exact package and service receipts here.
39
+ - Push verified source to `origin/main`. The maintainer publishes the
40
+ audited tarball.
41
+
42
+ ## Progress
43
+
44
+ Incident identity and rollback are confirmed. The publish command checks
45
+ the current main revision and records SHA-512 for the exact verified
46
+ tarball. The updater requires matching clean build provenance in npm
47
+ metadata and the isolated installed package before handoff. The original
48
+ primary checkout retains the user's local changes.
49
+
50
+ The first real packed-daemon rehearsal exposed a second updater issue.
51
+ npm `11.9.0` installed the archive correctly in an operation-scoped
52
+ prefix, then printed `***` in place of the operation UUID in the output
53
+ of `npm prefix -g`. The verifier treated that display string as a real
54
+ path. Staging now passes its owned install prefix directly to the runtime
55
+ verifier and still checks the exact launcher and manifest identities.
56
+ All 58 coordinator, stability and preflight tests passed on Node 24 with
57
+ npm `11.9.0`, including an actual npm install into a UUID-bearing prefix.
58
+
59
+ The next real update reached daemon shutdown and stopped before mutating
60
+ the live install. The detached worker had inherited the live daemon's
61
+ lease variables. A staged CLI version probe registered under that lease
62
+ and released it on exit, so the listener could no longer prove ownership.
63
+ The worker now receives the same daemon and npm configuration without the
64
+ caller's process lease or endpoint claim. A detached child regression
65
+ checks the environment and the real daemon rehearsal checks handoff.
66
+
67
+ ## NOCLIP OFFICIAL interactive replies
68
+
69
+ The delivery ledger ties messages 21247 and 21249 to interactive replies
70
+ for two distinct current inputs, 21244 and 21245, while another run
71
+ owned the group task. Both answers copied message 21242 exactly. The
72
+ interactive sender compared the proposed answer with the current input,
73
+ which missed this earlier context line. The existing repeated control
74
+ acknowledgement guard does not cover independent replies.
75
+
76
+ The regression requires a public independent reply to withhold a bare
77
+ copy of unrelated same-topic context. The old task and explicit pauses
78
+ remain under their existing owners. Quoting a directly linked source or
79
+ adding authored framing remains valid.
@@ -0,0 +1,46 @@
1
+ # Verified release and update transaction
2
+
3
+ The first update from Omnius `1.0.985` to `1.0.987` installed and verified the
4
+ candidate executable. The candidate daemon started at 17:28:26 PST and the
5
+ coordinator began rollback about 19 seconds later. Systemd recorded a
6
+ managed stop and no crash or automatic restart before rollback.
7
+ This interval matches the 15-second stability wait and a single two-second
8
+ health query. The retry overwrote the first attempt's status. The exact
9
+ failed sample is unavailable. An older syntax error in the shared append-only
10
+ daemon log belongs to a prior release.
11
+
12
+ The second operation completed at 18:00:16 PST with matching package and
13
+ daemon boot identities. A comparison of all 1,151 regular entries in the
14
+ registry archives found identical code and assets in `1.0.985` and `1.0.987`.
15
+ Only `package.json` and `npm-shrinkwrap.json` changed. The newer source for
16
+ task continuity and native collaboration therefore requires a new release.
17
+
18
+ | Work item | Scope | Acceptance |
19
+ | --- | --- | --- |
20
+ | Candidate staging | Update coordinator and npm preflight | Fetch exact version, match registry SHA-512, and run the actual isolated launcher before stopping either service. A failed candidate leaves the old runtime available. |
21
+ | Activation and rollback | Update coordinator, daemon health | Install the verified local archive using cached registry resolution. Match critical installed files to the staged runtime. Verify the new daemon repeatedly within a bounded window and tolerate a transient silent probe. A changed process identity or persistent loss of health fails verification. Preserve the previous verified package for recovery. |
22
+ | Attempt history | Update coordinator | Store each terminal receipt by operation ID with the original failing phase, outcome, and available probe evidence. Exclude authorization tokens. Preserve the first failure when the next attempt starts. |
23
+ | Release promotion | Manual publisher and CI | Record source revision and worktree state, compare actual installed runtime files with the packed bytes, and run Node syntax and CLI-load checks. Publish the archive that passed those checks and verify its registry integrity. |
24
+
25
+ ## Verification
26
+
27
+ - Ten focused suites passed 105 tests across the coordinator, npm staging,
28
+ stability, partial rollback, worker ownership, terminal progress, update API,
29
+ and release checks. All 11 workspace packages built.
30
+ - The release script's dry run built `1.0.988` and audited its single packed
31
+ archive. Fresh installs of that exact artifact passed both optional dependency
32
+ modes, matched the packed runtime files, and loaded the real CLI entry.
33
+ - The initial installed-worker fixture exposed a short race between terminal
34
+ completion and stage cleanup. The worker now settles cleanup before publishing
35
+ completion. A competing start retries a demonstrably live short ownership guard.
36
+ - The final installed-worker suite passed five cases with Node 22.23.3 and npm
37
+ 10.9.9. Two releases updated consecutively with one isolated install and one
38
+ activation from the same archive per release, 30 matching health probes per
39
+ run, and zero registry requests after quiescence. Missing releases failed
40
+ during staging. Cancellation and partial-install recovery preserved the prior
41
+ runtime. The raw report SHA-256 is
42
+ `d126a5e587dc6f09eff85c9bd79448a6c31666b8c13ce3c31d22475323b5c157`.
43
+ - Slash command and discovery checks passed. The broader REST documentation
44
+ check reports five unrelated omissions that also reproduce in the original checkout.
45
+ - The production retry settled before this repair. Development validation uses
46
+ disposable prefixes and leaves publication with the operator.
@@ -0,0 +1,57 @@
1
+ # Task continuity and human-inspired memory
2
+
3
+ Status — implementation and live CLI and Telegram qualification passed on the candidate based on `030ca513`.
4
+
5
+ ## Outcome
6
+
7
+ Give operators a durable project task inventory across CLI and Telegram. Preserve
8
+ enough verified task state to switch goals and resume after restart. Improve
9
+ long-term recall through selective encoding, evidence-backed consolidation,
10
+ reversible suppression and separately verified model adaptation.
11
+
12
+ The admin Telegram DM proposed the five memory mechanisms in message 4041.
13
+ The prototype directory next to the Omnius repo records the design and contains
14
+ unwired TypeScript. Reuse the durable stores and runner boundaries in Omnius.
15
+ The 2026 de Sousa study is a mouse memory-integration result. The thresholds,
16
+ phase handshake and weight promotion are software design choices.
17
+
18
+ ## Work orders
19
+
20
+ | Order | Scope | Owner | Status |
21
+ | --- | --- | --- | --- |
22
+ | [01](WO-01-task-board.md) | Shared task inventory and scoped switch context | Board agent | Live restart, same-owner steering, scoped status and explicit pivot passed |
23
+ | [02](WO-02-consolidation.md) | Admission, encoding, consolidation and suppression | Memory agent | Matched CLI and Telegram recall passed |
24
+ | [03](WO-03-promotion.md) | Evidence-bound parametric promotion | Adaptation agent | Live training, held-out evaluation, activation and rollback passed |
25
+ | [04](WO-04-qualification.md) | Runtime integration and live CLI/Telegram qualification | Integrator | Live recall and task continuity passed on both surfaces |
26
+
27
+ Workers use this isolated worktree. Each owns only the files listed in its order.
28
+ Post interface changes to dependent agents before editing shared seams. The
29
+ integrator resolves shared barrel exports, dependencies and release artifacts.
30
+ Keep scoped verification results and remaining gaps in the respective order.
31
+ Workers may implement and run deterministic tests in parallel. The integrator
32
+ owns live inference, any real Telegram send, commit assembly, and remote push.
33
+
34
+ ## Progress
35
+
36
+ - 2026-11-23. Fetched `origin/main` at `030ca513`. Created an isolated
37
+ worktree and started the frozen dependency install. Inspected the GPU broker
38
+ and active runners. Asked the operator for an exact inference binding and
39
+ the Telegram qualification transport.
40
+ - 2026-11-23. The three workers implemented their orders in parallel and
41
+ exchanged board, canonical-source and promotion contracts. The integrator
42
+ connected both production surfaces to the scoped stores. Fresh-process
43
+ Telegram continuity and cross-task recall passed deterministic checks.
44
+ Live qualification followed after the operator provided the model and transport.
45
+ - 2026-11-23. Completed the 11-project build and 802 focused CLI and Telegram
46
+ cases. Both live surfaces recovered exact recall facts and reopened the
47
+ supporting original. Each also restored prior task context and verified
48
+ same-owner steering, read-only status and a separate pivot. The Telegram
49
+ run used the production bridge with an isolated Bot API. WO-04 records the
50
+ matched control results, final acknowledgement proofs and residual findings.
51
+ - Precedents. [Continuity patch](../WO-telegram-long-horizon-continuity-20261123.md)
52
+ and [human-memory program](../../../.aiwg/wo-human-memory/MASTER-HUMAN-MEMORY.md).
53
+ - Research. [Interruption and resumption](https://gregtrafton.com/papers/preparing.to.resume.pdf)
54
+ and [contextual memory integration](https://pubmed.ncbi.nlm.nih.gov/42049880/).
55
+
56
+ Publish is outside this delivery. Push to `origin/main` only after the
57
+ integrated candidate passes its live CLI and Telegram qualification.