instar 1.3.2028 → 1.3.2029

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "instar",
3
- "version": "1.3.2028",
3
+ "version": "1.3.2029",
4
4
  "description": "Coherence infrastructure for self-evolving AI agents — on the Claude Code or Codex subscription you already have.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -0,0 +1,5 @@
1
+ ---
2
+ title: App Chat Serving Refusals
3
+ ---
4
+
5
+ When an app send reports that messages are not being received, inspect server warning logs for `mobile-chat-not-serving`. Each record has server time, PID, a fixed observed lease verdict, renewal age and TTL. The sample is taken after the existing refusal and is labeled `after-refusal`; `holding` in that sample must not be rewritten as an expired lease. Null or unavailable means the diagnostic could not be obtained. A prior lead label does not prove the request-time lease was valid. Preserve the fence and uncertainty rules; these records contain no message or device data and authorize no resend or restart.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "$schema": "./builtin-manifest.schema.json",
3
3
  "schemaVersion": 1,
4
- "generatedAt": "2026-11-25T04:59:19.394Z",
5
- "instarVersion": "1.3.2028",
4
+ "generatedAt": "2026-11-25T05:16:34.211Z",
5
+ "instarVersion": "1.3.2029",
6
6
  "entryCount": 210,
7
7
  "entries": {
8
8
  "hook:session-start": {
@@ -1596,7 +1596,7 @@
1596
1596
  "type": "subsystem",
1597
1597
  "domain": "server",
1598
1598
  "sourcePath": "src/server/AgentServer.ts",
1599
- "contentHash": "08fc2d102db632acbd8b84bce43cad6fa14e0f7b8881fab2f69bbe60eb49214e",
1599
+ "contentHash": "09cee39359410fa37aec36832ba342db7048a54838f4966a3597a31d02a981d7",
1600
1600
  "since": "2025-01-01"
1601
1601
  },
1602
1602
  "subsystem:session-manager": {
@@ -2,7 +2,7 @@
2
2
  "schemaVersion": 1,
3
3
  "generatedFrom": "source-tree",
4
4
  "registrySha256": "11e2a45ab1345e2ded6499404ee9962e4e48bcfed4677a4d31dac4492565d2fa",
5
- "packageVersion": "1.3.2028",
5
+ "packageVersion": "1.3.2029",
6
6
  "guards": [
7
7
  {
8
8
  "ref": "docs/audits/phase-b/f10-triage.md",
@@ -1,5 +1,5 @@
1
1
  {
2
- "sha256": "d61d5b6b0d73145a1043f759e29e180052a91bf86887a8cb4dd15d08abae023d",
2
+ "sha256": "d63f6f2b347738600fa9f90188911dc50e9564b4f4fd99bf86a670039bfa16e9",
3
3
  "registrySha256": "11e2a45ab1345e2ded6499404ee9962e4e48bcfed4677a4d31dac4492565d2fa",
4
- "packageVersion": "1.3.2028"
4
+ "packageVersion": "1.3.2029"
5
5
  }
@@ -2,5 +2,5 @@
2
2
  "sha256": "11e2a45ab1345e2ded6499404ee9962e4e48bcfed4677a4d31dac4492565d2fa",
3
3
  "articleCount": 102,
4
4
  "generatedFrom": "docs/STANDARDS-REGISTRY.md",
5
- "packageVersion": "1.3.2028"
5
+ "packageVersion": "1.3.2029"
6
6
  }
@@ -0,0 +1,20 @@
1
+ # Upgrade Guide — vNEXT
2
+
3
+ <!-- assembled-by: assemble-next-md -->
4
+ <!-- bump: patch -->
5
+
6
+ ## What Changed
7
+
8
+ The app chat preflight records a fixed-schema warning when the local serving-lease check refuses a new request. The warning names the server time and a subsequent read-only lease verdict, renewal age and lifetime. Diagnostic failure does not change the existing refusal. No message text, conversation/device/request identifier, credential or raw error is logged.
9
+
10
+ ## What to Tell Your User
11
+
12
+ When an app message is refused because the computer cannot currently receive it, the server now records the lease condition it observed so the interruption can be investigated.
13
+
14
+ ## Summary of New Capabilities
15
+
16
+ No new control or API. Server warning logs can show mobile-chat-not-serving records with bounded lease diagnostics.
17
+
18
+ ## Evidence
19
+
20
+ Allocated focused tests passed: 9 unit, 18 signed HTTP and 1 real-lease production-construction lifecycle case. The first lifecycle attempt failed on a fixture key-format mismatch; that fixture-only correction was independently reviewed and rerun under a fresh allocation. Runtime source stayed unchanged. Complete coordinator verification remains required. No cause or recovery claim is made for the historical 11:29 interruption.
@@ -0,0 +1,55 @@
1
+ # Side-Effects Review — App send refusal audit
2
+
3
+ **Tier:** 1, SMALL, reversible observation. **Author:** Instar Agent (echo).
4
+
5
+ ## Summary
6
+
7
+ Add a fixed-schema warning on the existing device-authenticated app chat not-serving refusal. Connect existing coordinator leaseFreshness through MobilePairingService; sample after the unchanged boolean authority. No lease, response, request store, retry, policy, capacity or runtime setting changes. Historical 11:29 cause remains unknown.
8
+
9
+ ## Decision-point inventory
10
+
11
+ The original holdsLease boolean remains the sole preflight decision. Diagnostic field validation affects only what can be logged. A sample reporting holding after refusal remains visible as such.
12
+
13
+ ## 1. Over-block
14
+
15
+ No new block/allow surface. A throwing read, clock or writer cannot change the original 409.
16
+
17
+ ## 2. Under-block
18
+
19
+ This observes refusal rather than fixing its cause. A missing log or unavailable sample cannot prove lease health. The timestamp and verdict are sampled after the false preflight and may differ at a clock boundary. Record fields explicitly label that relation.
20
+
21
+ ## 3. Level-of-abstraction fit
22
+
23
+ The refusing route is the missing evidence boundary. Existing native leaseFreshness provides the reason categories; no parallel ownership policy or inferred cause is introduced.
24
+
25
+ ## 4. Signal versus authority
26
+
27
+ Reference: [signal versus authority](../../docs/signal-vs-authority.md). The warning is a signal only. Existing lease authority remains in control, and no diagnostic consumer actuates on the log.
28
+
29
+ ## 5. Interactions
30
+
31
+ The call is after request-store replay and owner/config validation but before rate and intake work, exactly on the original false branch. No request is admitted or reserved by logging. One warning per actual preflight refusal; successful sends and stored replays add none. The optional read is synchronous and contains no network access. Native server stderr retention applies; no new log store or repeating monitor.
32
+
33
+ ## 6. External surfaces
34
+
35
+ Fixed fields: kind, server time, PID, sample relation, allowlisted observed verdict, numeric renewal age and TTL. No request, device, topic, credential, raw error or arbitrary callback field. Invalid values become null/unavailable. Logging failure is isolated. No external calls or user notices.
36
+
37
+ ## 7. Multi-machine posture
38
+
39
+ Machine-local by design: each refusing server records its own process and lease sample. Existing warning-log collection remains the evidence path. No new durable state, URL, replicated authority or notification; there is no one-voice action.
40
+
41
+ ## 8. Rollback
42
+
43
+ Revert the helper, route call, dependency and awareness text in a normal patch. Existing logs remain historical observations; no migration or state repair.
44
+
45
+ ## Verification
46
+
47
+ Tests prepared for allowlisted categories, invalid/unavailable fields, throwing read/writer, strict privacy, signed HTTP refusal and replay behavior, and real coordinator/lease data through production AgentServer construction. Actual allocated unit 9/9 and signed HTTP 18/18 passed. Lifecycle first failed on a fixture wire-key versus PEM mismatch; stopped, preserved the failure, corrected only that fixture through independent review, then the separately authorized lifecycle rerun passed 1/1. Runtime, unit and HTTP hashes remained unchanged. Normal final build passed. Complete coordinator verification remains required; no release acceptance claimed.
48
+
49
+ ## Independent review
50
+
51
+ Dedicated reviewer app_refusal_audit_review found a misplaced production dependency, a repeated verdict accessor read, and missing awareness frontmatter. Each is corrected before test allocation; a changing-getter regression verifies one validated read, and lifecycle setup is covered by cleanup. Final actual reviewer readback concurs with corrected source and all artifacts. No tests were run by the reviewer and no test acceptance is claimed.
52
+
53
+ ## Class closure
54
+
55
+ No agent-authored-artifact defect. One warning follows one pre-existing request refusal; no autonomous action loop, retry, spawn, restart, notification or queue mutation is introduced.