instar 0.28.33 → 0.28.41
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/commands/server.d.ts.map +1 -1
- package/dist/commands/server.js +119 -47
- package/dist/commands/server.js.map +1 -1
- package/dist/core/CoherenceGate.d.ts +7 -0
- package/dist/core/CoherenceGate.d.ts.map +1 -1
- package/dist/core/CoherenceGate.js +7 -6
- package/dist/core/CoherenceGate.js.map +1 -1
- package/dist/core/CoherenceReviewer.d.ts +20 -5
- package/dist/core/CoherenceReviewer.d.ts.map +1 -1
- package/dist/core/CoherenceReviewer.js +36 -6
- package/dist/core/CoherenceReviewer.js.map +1 -1
- package/dist/core/MessagingToneGate.d.ts +42 -0
- package/dist/core/MessagingToneGate.d.ts.map +1 -0
- package/dist/core/MessagingToneGate.js +109 -0
- package/dist/core/MessagingToneGate.js.map +1 -0
- package/dist/core/SessionManager.d.ts +9 -0
- package/dist/core/SessionManager.d.ts.map +1 -1
- package/dist/core/SessionManager.js +18 -0
- package/dist/core/SessionManager.js.map +1 -1
- package/dist/messaging/TelegramAdapter.d.ts +8 -0
- package/dist/messaging/TelegramAdapter.d.ts.map +1 -1
- package/dist/messaging/TelegramAdapter.js +42 -3
- package/dist/messaging/TelegramAdapter.js.map +1 -1
- package/dist/monitoring/CompactionSentinel.d.ts +143 -0
- package/dist/monitoring/CompactionSentinel.d.ts.map +1 -0
- package/dist/monitoring/CompactionSentinel.js +262 -0
- package/dist/monitoring/CompactionSentinel.js.map +1 -0
- package/dist/monitoring/SessionWatchdog.d.ts +26 -0
- package/dist/monitoring/SessionWatchdog.d.ts.map +1 -1
- package/dist/monitoring/SessionWatchdog.js +204 -26
- package/dist/monitoring/SessionWatchdog.js.map +1 -1
- package/dist/monitoring/probes/MessagingProbe.d.ts +4 -0
- package/dist/monitoring/probes/MessagingProbe.d.ts.map +1 -1
- package/dist/monitoring/probes/MessagingProbe.js +24 -8
- package/dist/monitoring/probes/MessagingProbe.js.map +1 -1
- package/dist/server/AgentServer.d.ts +1 -0
- package/dist/server/AgentServer.d.ts.map +1 -1
- package/dist/server/AgentServer.js +1 -0
- package/dist/server/AgentServer.js.map +1 -1
- package/dist/server/routes.d.ts +5 -0
- package/dist/server/routes.d.ts.map +1 -1
- package/dist/server/routes.js +92 -2
- package/dist/server/routes.js.map +1 -1
- package/dist/threadline/adapters/RESTServer.d.ts +7 -1
- package/dist/threadline/adapters/RESTServer.d.ts.map +1 -1
- package/dist/threadline/adapters/RESTServer.js +62 -1
- package/dist/threadline/adapters/RESTServer.js.map +1 -1
- package/dist/threadline/relay/OfflineQueue.js +1 -1
- package/dist/threadline/relay/OfflineQueue.js.map +1 -1
- package/package.json +1 -1
- package/scripts/check-upgrade-guide.js +9 -115
- package/scripts/upgrade-guide-validator.mjs +221 -0
- package/src/data/builtin-manifest.json +52 -52
- package/src/templates/scripts/imessage-reply.sh +16 -3
- package/src/templates/scripts/slack-reply.sh +10 -0
- package/src/templates/scripts/telegram-reply.sh +11 -0
- package/src/templates/scripts/whatsapp-reply.sh +10 -0
- package/upgrades/0.28.34.md +17 -0
- package/upgrades/0.28.36.md +40 -0
- package/upgrades/0.28.37.md +69 -0
- package/upgrades/0.28.38.md +41 -0
- package/upgrades/0.28.39.md +29 -0
- package/upgrades/0.28.40.md +32 -0
- package/upgrades/0.28.41.md +41 -0
- package/upgrades/NEXT.md +18 -0
- package/upgrades/0.28.10.md +0 -19
- package/upgrades/0.28.11.md +0 -19
- package/upgrades/0.28.13.md +0 -11
- package/upgrades/0.28.15.md +0 -11
- package/upgrades/0.28.18.md +0 -12
- package/upgrades/0.28.20.md +0 -19
- package/upgrades/0.28.21.md +0 -23
- package/upgrades/0.28.22.md +0 -23
- package/upgrades/0.28.23.md +0 -19
- package/upgrades/0.28.24.md +0 -18
- package/upgrades/0.28.25.md +0 -21
- package/upgrades/0.28.26.md +0 -20
- package/upgrades/0.28.27.md +0 -20
- package/upgrades/0.28.28.md +0 -20
- package/upgrades/0.28.30.md +0 -25
- package/upgrades/0.28.31.md +0 -38
- package/upgrades/0.28.32.md +0 -22
- package/upgrades/0.28.33.md +0 -22
- package/upgrades/0.28.5.md +0 -17
- package/upgrades/0.28.7.md +0 -24
- package/upgrades/0.28.8.md +0 -21
package/upgrades/0.28.33.md
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# Upgrade Guide — v0.28.33
|
|
2
|
-
|
|
3
|
-
<!-- bump: patch -->
|
|
4
|
-
<!-- Valid values: patch, minor, major -->
|
|
5
|
-
<!-- patch = bug fixes, refactors, test additions, doc updates -->
|
|
6
|
-
<!-- minor = new features, new APIs, new capabilities (backwards-compatible) -->
|
|
7
|
-
<!-- major = breaking changes to existing APIs or behavior -->
|
|
8
|
-
|
|
9
|
-
## What Changed
|
|
10
|
-
|
|
11
|
-
- **Built-in job gate/execute commands now self-heal on refresh.** Generalizes the v0.28.32 port-repair fix. `refreshJobs` now syncs the entire `gate` field and `execute.type`/`execute.value` fields of built-in jobs (matched by slug) to the current source-of-truth defaults from `getDefaultJobs(port)`. User-tunable fields (`enabled`, `schedule`, `priority`, `model`, `telegramNotify`, etc.) are left untouched. This closes a class of bugs where existing installs' `jobs.json` keeps old gate/execute logic after a source update, causing built-in jobs to silently skip forever. The motivating case: `degradation-digest` had an old gate that checked `.instar/state/degradation-events.json` (always empty), while the current source checks `.instar/degradations.json` (the real file) — leaving 11 unreported degradations undetected for ~2 weeks. Contract change: built-in `gate`/`execute` are implementation details that track the codebase. To customize, fork under a different slug.
|
|
12
|
-
- Feedback cluster: `cluster-degradation-digest-gate-checks-wrong-file-job-never-runs`.
|
|
13
|
-
|
|
14
|
-
## What to Tell Your User
|
|
15
|
-
|
|
16
|
-
- **Background health checks self-heal after upgrades:** "A few of my background checks were quietly looking at outdated places after past upgrades and never running. They'll fix themselves automatically. One that was supposed to surface system warnings to you had been dark for about two weeks — it'll start working again."
|
|
17
|
-
|
|
18
|
-
## Summary of New Capabilities
|
|
19
|
-
|
|
20
|
-
| Capability | How to Use |
|
|
21
|
-
|-----------|-----------|
|
|
22
|
-
| Self-healing built-in job gate/execute | Automatic on refresh — built-in jobs whose gate or execute commands drifted from source defaults are resynced |
|
package/upgrades/0.28.5.md
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# Upgrade Guide — v0.28.5
|
|
2
|
-
|
|
3
|
-
<!-- bump: patch -->
|
|
4
|
-
|
|
5
|
-
## What Changed
|
|
6
|
-
|
|
7
|
-
- **Topic cleanup no longer closes explicitly-configured topics**: The startup topic cleanup was closing forum topics for on-alert and silent jobs even when those topics were explicitly configured in jobs.json or shared with other active jobs. Now only dynamically-created topic mappings are cleaned up, and only if no other job references the same topic.
|
|
8
|
-
|
|
9
|
-
## What to Tell Your User
|
|
10
|
-
|
|
11
|
-
- **"Your Telegram forum topics should stay open now"**: If your user noticed that certain Telegram topics kept getting closed after server restarts, that should be resolved. The system was incorrectly treating explicitly-configured topics as stale.
|
|
12
|
-
|
|
13
|
-
## Summary of New Capabilities
|
|
14
|
-
|
|
15
|
-
| Capability | How to Use |
|
|
16
|
-
|-----------|-----------|
|
|
17
|
-
| Safe topic cleanup | Automatic — explicitly-configured topics are preserved on restart |
|
package/upgrades/0.28.7.md
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# Upgrade Guide — v0.28.7
|
|
2
|
-
|
|
3
|
-
<!-- bump: patch -->
|
|
4
|
-
<!-- Valid values: patch, minor, major -->
|
|
5
|
-
<!-- patch = bug fixes, refactors, test additions, doc updates -->
|
|
6
|
-
<!-- minor = new features, new APIs, new capabilities (backwards-compatible) -->
|
|
7
|
-
<!-- major = breaking changes to existing APIs or behavior -->
|
|
8
|
-
|
|
9
|
-
## What Changed
|
|
10
|
-
|
|
11
|
-
Added `PATCH /config` endpoint that all FeatureDefinition enable/disable actions reference. Previously, toggling features from the dashboard (evolution, threadline, publishing, tunnel, etc.) returned 404 because the endpoint didn't exist. The new endpoint deep-merges the request body into config.json with an allowlist of safe config keys, and updates runtime config.
|
|
12
|
-
|
|
13
|
-
Also includes CI test fixes from previous commits (trust wiring, quota tracking, config validation, job scheduler edge cases).
|
|
14
|
-
|
|
15
|
-
## What to Tell Your User
|
|
16
|
-
|
|
17
|
-
- **Dashboard feature toggles now work**: "You can now enable/disable features from the dashboard — the toggle buttons actually persist your choice."
|
|
18
|
-
|
|
19
|
-
## Summary of New Capabilities
|
|
20
|
-
|
|
21
|
-
| Capability | How to Use |
|
|
22
|
-
|-----------|-----------|
|
|
23
|
-
| Config patch API | `PATCH /config` with JSON body — dashboard uses this automatically |
|
|
24
|
-
| Feature toggle persistence | Toggle features on/off from dashboard, changes persist to config.json |
|
package/upgrades/0.28.8.md
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# Upgrade Guide — v0.28.8
|
|
2
|
-
|
|
3
|
-
<!-- bump: patch -->
|
|
4
|
-
|
|
5
|
-
## What Changed
|
|
6
|
-
|
|
7
|
-
Fixed a bug where `loadConfig()` silently dropped many optional config fields — including `safety`, `evolution`, `agentAutonomy`, `externalOperations`, `autonomyProfile`, `notifications`, `responseReview`, `inputGuard`, `dashboard`, and `moltbridge`. These fields were defined in `InstarConfig` and written to `config.json` by subsystems like `AutonomyProfileManager.applyProfileToConfig()`, but were never read back because `loadConfig()` constructed its return object with only explicitly listed properties.
|
|
8
|
-
|
|
9
|
-
The fix spreads `fileConfig` as the base object before applying explicit overrides, so all config fields pass through while preserving existing defaults and transformations.
|
|
10
|
-
|
|
11
|
-
**Impact**: If you had manually set `safety.level` in your config or changed autonomy profile settings, those overrides were being silently ignored — the system always fell back to profile defaults. After this update, your config file settings will be respected.
|
|
12
|
-
|
|
13
|
-
## What to Tell Your User
|
|
14
|
-
|
|
15
|
-
- **Config settings now fully respected**: "If you've customized safety levels, autonomy settings, or other advanced configuration, those settings are now properly loaded. Previously they could be silently ignored — that's fixed now."
|
|
16
|
-
|
|
17
|
-
## Summary of New Capabilities
|
|
18
|
-
|
|
19
|
-
| Capability | How to Use |
|
|
20
|
-
|-----------|-----------|
|
|
21
|
-
| Config passthrough fix | Automatic — all config.json fields now properly loaded |
|