instar 1.3.761 → 1.3.763
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 +92 -1
- package/dist/commands/server.js.map +1 -1
- package/dist/config/ConfigDefaults.d.ts.map +1 -1
- package/dist/config/ConfigDefaults.js +28 -0
- package/dist/config/ConfigDefaults.js.map +1 -1
- package/dist/core/FileClassifier.d.ts.map +1 -1
- package/dist/core/FileClassifier.js +5 -0
- package/dist/core/FileClassifier.js.map +1 -1
- package/dist/core/PostUpdateMigrator.d.ts +12 -0
- package/dist/core/PostUpdateMigrator.d.ts.map +1 -1
- package/dist/core/PostUpdateMigrator.js +54 -0
- package/dist/core/PostUpdateMigrator.js.map +1 -1
- package/dist/core/WriteDomainRegistry.d.ts.map +1 -1
- package/dist/core/WriteDomainRegistry.js +16 -0
- package/dist/core/WriteDomainRegistry.js.map +1 -1
- package/dist/core/componentCategories.d.ts.map +1 -1
- package/dist/core/componentCategories.js +1 -0
- package/dist/core/componentCategories.js.map +1 -1
- package/dist/core/devGatedFeatures.d.ts.map +1 -1
- package/dist/core/devGatedFeatures.js +6 -0
- package/dist/core/devGatedFeatures.js.map +1 -1
- package/dist/core/types.d.ts +50 -0
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/types.js.map +1 -1
- package/dist/data/llmBenchCoverage.d.ts.map +1 -1
- package/dist/data/llmBenchCoverage.js +18 -0
- package/dist/data/llmBenchCoverage.js.map +1 -1
- package/dist/monitoring/ExternalHogArmMarker.d.ts +65 -0
- package/dist/monitoring/ExternalHogArmMarker.d.ts.map +1 -0
- package/dist/monitoring/ExternalHogArmMarker.js +0 -0
- package/dist/monitoring/ExternalHogArmMarker.js.map +1 -0
- package/dist/monitoring/ExternalHogArmStore.d.ts +46 -0
- package/dist/monitoring/ExternalHogArmStore.d.ts.map +1 -0
- package/dist/monitoring/ExternalHogArmStore.js +124 -0
- package/dist/monitoring/ExternalHogArmStore.js.map +1 -0
- package/dist/monitoring/ExternalHogClassifier.d.ts +62 -0
- package/dist/monitoring/ExternalHogClassifier.d.ts.map +1 -0
- package/dist/monitoring/ExternalHogClassifier.js +0 -0
- package/dist/monitoring/ExternalHogClassifier.js.map +1 -0
- package/dist/monitoring/ExternalHogClassifierPrompt.d.ts +29 -0
- package/dist/monitoring/ExternalHogClassifierPrompt.d.ts.map +1 -0
- package/dist/monitoring/ExternalHogClassifierPrompt.js +70 -0
- package/dist/monitoring/ExternalHogClassifierPrompt.js.map +1 -0
- package/dist/monitoring/ExternalHogCpuDelta.d.ts +50 -0
- package/dist/monitoring/ExternalHogCpuDelta.d.ts.map +1 -0
- package/dist/monitoring/ExternalHogCpuDelta.js +79 -0
- package/dist/monitoring/ExternalHogCpuDelta.js.map +1 -0
- package/dist/monitoring/ExternalHogFactBuilder.d.ts +71 -0
- package/dist/monitoring/ExternalHogFactBuilder.d.ts.map +1 -0
- package/dist/monitoring/ExternalHogFactBuilder.js +111 -0
- package/dist/monitoring/ExternalHogFactBuilder.js.map +1 -0
- package/dist/monitoring/ExternalHogFloor.d.ts +87 -0
- package/dist/monitoring/ExternalHogFloor.d.ts.map +1 -0
- package/dist/monitoring/ExternalHogFloor.js +123 -0
- package/dist/monitoring/ExternalHogFloor.js.map +1 -0
- package/dist/monitoring/ExternalHogGuardStatus.d.ts +29 -0
- package/dist/monitoring/ExternalHogGuardStatus.d.ts.map +1 -0
- package/dist/monitoring/ExternalHogGuardStatus.js +27 -0
- package/dist/monitoring/ExternalHogGuardStatus.js.map +1 -0
- package/dist/monitoring/ExternalHogKillFunnel.d.ts +77 -0
- package/dist/monitoring/ExternalHogKillFunnel.d.ts.map +1 -0
- package/dist/monitoring/ExternalHogKillFunnel.js +72 -0
- package/dist/monitoring/ExternalHogKillFunnel.js.map +1 -0
- package/dist/monitoring/ExternalHogKillLedger.d.ts +76 -0
- package/dist/monitoring/ExternalHogKillLedger.d.ts.map +1 -0
- package/dist/monitoring/ExternalHogKillLedger.js +84 -0
- package/dist/monitoring/ExternalHogKillLedger.js.map +1 -0
- package/dist/monitoring/ExternalHogNoticeCoalescer.d.ts +46 -0
- package/dist/monitoring/ExternalHogNoticeCoalescer.d.ts.map +1 -0
- package/dist/monitoring/ExternalHogNoticeCoalescer.js +67 -0
- package/dist/monitoring/ExternalHogNoticeCoalescer.js.map +1 -0
- package/dist/monitoring/ExternalHogOwnership.d.ts +48 -0
- package/dist/monitoring/ExternalHogOwnership.d.ts.map +1 -0
- package/dist/monitoring/ExternalHogOwnership.js +60 -0
- package/dist/monitoring/ExternalHogOwnership.js.map +1 -0
- package/dist/monitoring/ExternalHogProcTable.d.ts +37 -0
- package/dist/monitoring/ExternalHogProcTable.d.ts.map +1 -0
- package/dist/monitoring/ExternalHogProcTable.js +65 -0
- package/dist/monitoring/ExternalHogProcTable.js.map +1 -0
- package/dist/monitoring/ExternalHogRealAdapters.d.ts +91 -0
- package/dist/monitoring/ExternalHogRealAdapters.d.ts.map +1 -0
- package/dist/monitoring/ExternalHogRealAdapters.js +247 -0
- package/dist/monitoring/ExternalHogRealAdapters.js.map +1 -0
- package/dist/monitoring/ExternalHogSampler.d.ts +62 -0
- package/dist/monitoring/ExternalHogSampler.d.ts.map +1 -0
- package/dist/monitoring/ExternalHogSampler.js +0 -0
- package/dist/monitoring/ExternalHogSampler.js.map +1 -0
- package/dist/monitoring/ExternalHogScanTick.d.ts +89 -0
- package/dist/monitoring/ExternalHogScanTick.d.ts.map +1 -0
- package/dist/monitoring/ExternalHogScanTick.js +126 -0
- package/dist/monitoring/ExternalHogScanTick.js.map +1 -0
- package/dist/monitoring/ExternalHogSentinel.d.ts +127 -0
- package/dist/monitoring/ExternalHogSentinel.d.ts.map +1 -0
- package/dist/monitoring/ExternalHogSentinel.js +168 -0
- package/dist/monitoring/ExternalHogSentinel.js.map +1 -0
- package/dist/monitoring/ExternalHogServerPrimitives.d.ts +50 -0
- package/dist/monitoring/ExternalHogServerPrimitives.d.ts.map +1 -0
- package/dist/monitoring/ExternalHogServerPrimitives.js +93 -0
- package/dist/monitoring/ExternalHogServerPrimitives.js.map +1 -0
- package/dist/monitoring/ExternalHogSustained.d.ts +49 -0
- package/dist/monitoring/ExternalHogSustained.d.ts.map +1 -0
- package/dist/monitoring/ExternalHogSustained.js +62 -0
- package/dist/monitoring/ExternalHogSustained.js.map +1 -0
- package/dist/monitoring/guardManifest.d.ts.map +1 -1
- package/dist/monitoring/guardManifest.js +24 -0
- package/dist/monitoring/guardManifest.js.map +1 -1
- package/dist/scaffold/templates.d.ts.map +1 -1
- package/dist/scaffold/templates.js +2 -1
- package/dist/scaffold/templates.js.map +1 -1
- package/dist/server/AgentServer.d.ts +3 -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/CapabilityIndex.d.ts.map +1 -1
- package/dist/server/CapabilityIndex.js +1 -0
- package/dist/server/CapabilityIndex.js.map +1 -1
- package/dist/server/routes.d.ts +3 -0
- package/dist/server/routes.d.ts.map +1 -1
- package/dist/server/routes.js +64 -0
- package/dist/server/routes.js.map +1 -1
- package/dist/testing/selfActionRegistry.d.ts.map +1 -1
- package/dist/testing/selfActionRegistry.js +51 -0
- package/dist/testing/selfActionRegistry.js.map +1 -1
- package/package.json +1 -1
- package/scripts/lint-scrape-fixture-realness.js +14 -0
- package/scripts/model-registry-freshness.manifest.json +2 -2
- package/src/data/builtin-manifest.json +64 -64
- package/src/data/llmBenchCoverage.ts +18 -0
- package/src/scaffold/templates.ts +2 -1
- package/upgrades/1.3.762.md +29 -0
- package/upgrades/1.3.763.md +23 -0
- package/upgrades/side-effects/doorway-model-registry-inc5.md +118 -0
- package/upgrades/side-effects/external-hog-sentinel.md +832 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selfActionRegistry.d.ts","sourceRoot":"","sources":["../../src/testing/selfActionRegistry.ts"],"names":[],"mappings":"AAAA;;;;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AA;KAAE,CAAC;IAC1E,uEAAuE;IACvE,MAAM,EAAE,MAAM,CAAC;IACf,qEAAqE;IACrE,eAAe,EAAE,MAAM,CAAC;IACxB,yDAAyD;IACzD,KAAK,EAAE,MAAM,CAAC;IACd,+CAA+C;IAC/C,MAAM,EAAE,MAAM,CAAC;IACf,sGAAsG;IACtG,eAAe,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC;CAC3D;AAiND,eAAO,MAAM,uBAAuB,EAAE,oBAAoB,EAMzD,CAAC"}
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
* of "Bounded Blast Radius": BBR bounds instantaneous MASS, this bounds
|
|
21
21
|
* steady-state FREQUENCY under feedback).
|
|
22
22
|
*/
|
|
23
|
+
import { EMPTY_KILL_LEDGER, isBreakerTripped, recordKill } from '../monitoring/ExternalHogKillLedger.js';
|
|
23
24
|
/** Create a fresh sink. */
|
|
24
25
|
export function makeActionSink() {
|
|
25
26
|
const sink = {
|
|
@@ -193,10 +194,60 @@ const livenessHeartbeat = {
|
|
|
193
194
|
};
|
|
194
195
|
},
|
|
195
196
|
};
|
|
197
|
+
/**
|
|
198
|
+
* external-hog-kill-breaker — the External-Hog sentinel's respawn brake
|
|
199
|
+
* (CMT-1901, docs/specs/external-hog-zombie-autokill-sentinel.md §6 — the
|
|
200
|
+
* #863 reaper-kill-loop shape: 17,503 identical requests is the ancestor
|
|
201
|
+
* incident). Unlike the other entries this model drives the REAL pure brake
|
|
202
|
+
* (`isBreakerTripped`/`recordKill` from ExternalHogKillLedger) rather than a
|
|
203
|
+
* re-model — so the ratchet proves the shipped code converges, not a copy.
|
|
204
|
+
* The pinned worst case: the SAME respawn-surviving zombie signature comes
|
|
205
|
+
* back sustained-hot on EVERY 60s scan (something keeps relaunching it — the
|
|
206
|
+
* targetAlwaysRejects shape: each kill "succeeds" but never sticks). The
|
|
207
|
+
* breaker permits K=3 kills of that signature within the rolling window, then
|
|
208
|
+
* STOPS killing it (in real code: one deduped degradation "keeps respawning —
|
|
209
|
+
* may be managed"; the §4 observability floor still surfaces the hog). The
|
|
210
|
+
* rolling window means the true steady state is a RATE bound (≤K per window
|
|
211
|
+
* per signature), with the ledger pruned to retention so state stays bounded;
|
|
212
|
+
* the horizon here (2N = 60 min = exactly one window) proves the within-window
|
|
213
|
+
* settle exactly: kills 3, then flat.
|
|
214
|
+
*/
|
|
215
|
+
const externalHogKillBreaker = {
|
|
216
|
+
id: 'external-hog-kill-breaker',
|
|
217
|
+
actionVerb: 'kill',
|
|
218
|
+
models: 'src/monitoring/ExternalHogKillLedger.ts (respawn breaker driven by the ExternalHogScanTick kill path — real pure functions, not a re-model)',
|
|
219
|
+
boundK: 3,
|
|
220
|
+
perTargetBoundK: 3, // legitimately the SAME respawning signature, bounded by the window breaker (not a ping-pong)
|
|
221
|
+
ticks: 30,
|
|
222
|
+
tickMs: 60_000, // the real scan cadence; 2N ticks span 3,540,000 ms < the 1h window, so the settle check is exact
|
|
223
|
+
makeUnderPressure(f, sink) {
|
|
224
|
+
const WINDOW_MS = 3_600_000; // the shipped default (killLedgerMaxPerSignaturePerHour window)
|
|
225
|
+
const MAX_PER_WINDOW = 3; // the shipped default K
|
|
226
|
+
const RETENTION_MS = 3_600_000; // config wires retention >= window (recordKill precondition)
|
|
227
|
+
const KEY = 'sha256:code-helper-plugin|--user-data-dir=/Users/x/Library/Application Support/Code';
|
|
228
|
+
const CLASS_ID = 'editor-extension-host';
|
|
229
|
+
let ledger = EMPTY_KILL_LEDGER;
|
|
230
|
+
return {
|
|
231
|
+
tick() {
|
|
232
|
+
sink.considered += 1;
|
|
233
|
+
// Sustained pressure: the signature is back and hot every scan, forever.
|
|
234
|
+
if (!f.targetAlwaysRejects())
|
|
235
|
+
return;
|
|
236
|
+
const nowMs = f.clock.nowMs();
|
|
237
|
+
const opts = { nowMs, windowMs: WINDOW_MS, maxPerWindow: MAX_PER_WINDOW, keyIsVolatile: false };
|
|
238
|
+
if (isBreakerTripped(ledger, KEY, CLASS_ID, opts))
|
|
239
|
+
return; // the brake: stop fighting the respawner
|
|
240
|
+
sink.emit({ verb: 'kill', target: KEY });
|
|
241
|
+
ledger = recordKill(ledger, { key: KEY, classId: CLASS_ID, atMs: nowMs }, RETENTION_MS, nowMs);
|
|
242
|
+
},
|
|
243
|
+
};
|
|
244
|
+
},
|
|
245
|
+
};
|
|
196
246
|
export const SELF_ACTION_CONTROLLERS = [
|
|
197
247
|
proactiveSwapMonitor,
|
|
198
248
|
ageKillBackoff,
|
|
199
249
|
promiseBeaconNotify,
|
|
200
250
|
livenessHeartbeat,
|
|
251
|
+
externalHogKillBreaker,
|
|
201
252
|
];
|
|
202
253
|
//# sourceMappingURL=selfActionRegistry.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selfActionRegistry.js","sourceRoot":"","sources":["../../src/testing/selfActionRegistry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;
|
|
1
|
+
{"version":3,"file":"selfActionRegistry.js","sourceRoot":"","sources":["../../src/testing/selfActionRegistry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AAuCzG,2BAA2B;AAC3B,MAAM,UAAU,cAAc;IAC5B,MAAM,IAAI,GAAe;QACvB,KAAK,EAAE,CAAC;QACR,UAAU,EAAE,CAAC;QACb,SAAS,EAAE,IAAI,GAAG,EAAkB;QACpC,WAAW,EAAE,EAAE;QACf,IAAI,CAAC,MAAwC;YAC3C,IAAI,CAAC,KAAK,IAAI,CAAC,CAAC;YAChB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,GA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G,EAAE,QAAQ,EAAE,IAAI,CAAC;oBAAE,OAAO,CAAC,yCAAyC;gBACpG,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC;gBACzC,MAAM,GAAG,UAAU,CAAC,MAAM,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,YAAY,EAAE,KAAK,CAAC,CAAC;YACjG,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAA2B;IAC7D,oBAAoB;IACpB,cAAc;IACd,mBAAmB;IACnB,iBAAiB;IACjB,sBAAsB;CACvB,CAAC"}
|
package/package.json
CHANGED
|
@@ -56,6 +56,20 @@ export const SCRAPE_PARSERS = [
|
|
|
56
56
|
testFile: 'tests/unit/framework-login-driver.test.ts',
|
|
57
57
|
testName: 'parses the REAL wrapped Mac Mini login pane',
|
|
58
58
|
},
|
|
59
|
+
// External-Hog sentinel (CMT-1901, external-hog-zombie-autokill-sentinel.md §1/§Testing):
|
|
60
|
+
// the whole-table `ps` parse is LOAD-BEARING for kill eligibility (the CPU-delta pivots on
|
|
61
|
+
// `time=`). Registered with a captured realness fixture covering the `[dd-]hh:mm:ss`
|
|
62
|
+
// day-prefix 24h anchor, an embedded-space lstart + comm, a <defunct> row, and a short/
|
|
63
|
+
// permission-denied malformed row. `parseProcTimeToSeconds` (the single-field `[dd-]hh:mm:ss`
|
|
64
|
+
// time parser this consumes) is exercised transitively through this fixture — it is a field
|
|
65
|
+
// parser, not a whole-output parser, so it doesn't fit the whole-fixture realness model and
|
|
66
|
+
// stays a non-blocking register-or-justify note.
|
|
67
|
+
{
|
|
68
|
+
parserSymbol: 'parseProcTable',
|
|
69
|
+
fixtureSlug: 'ps-proc-table',
|
|
70
|
+
testFile: 'tests/unit/external-hog-proc-table.test.ts',
|
|
71
|
+
testName: 'parses the REAL captured ps process table byte-for-byte',
|
|
72
|
+
},
|
|
59
73
|
// U4.3 (u4-3-breaker-recovery-probe §6): the recovery probe's typed-contract
|
|
60
74
|
// success classifier consumes untrusted wire bytes (a captive portal or wrong
|
|
61
75
|
// server can answer anything) — registered with captured byte-for-byte
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
"$schemaNote": "registrySchemaVersion 2 = the enriched Doorway/Model Knowledge Registry. Increment 1 (spec §Rollout step 1) added the per-door topModels[] frontier-derivation layer + the derived-frontier lint (report mode). Increment 2 (spec §Rollout step 2) ADDS the per-door probe{} block + candidateDoorways[] below — the metadata the deterministic prober (scripts/doorway-scan.mjs) reads to know HOW to re-verify each door — plus the live scan-state (.instar/state/doorway-scan.json) + the dark (enabled:false) doorway-scan job. Both additions are backward-compatible: the freshness lint ignores probe{}/candidateDoorways entirely (it reads only topModels/frontier/pins). GET /doorways is a LATER increment (spec §Rollout step 3) and is NOT wired yet.",
|
|
5
5
|
"lastReviewedAt": "2026-07-03",
|
|
6
6
|
"stalenessWindowDays": 45,
|
|
7
|
-
"enforcement": "
|
|
8
|
-
"$enforcementNote": "'
|
|
7
|
+
"enforcement": "strict",
|
|
8
|
+
"$enforcementNote": "'strict' = GATING (exits 1 on any finding: staleness, drift, or a flaggedStale row) — flipped from 'report' in rollout increment 5 (spec §Rollout step 5, the companion-gated activation) now that the prior flaggedStale door swaps are operator-confirmed + reconciled into topModels (flaggedStale is empty) and the derived-frontier drift + staleness teeth pass clean. This is the LIVE TEETH that the 'Keep the Doorway/Model Map Current' constitutional standard is ratified WITH (not ahead of). The lint runs in the `npm run lint` chain, so a future staleness age-out (lastReviewedAt exceeds stalenessWindowDays) or a pin drifting off its door's derived frontier set now FAILS CI — the anti-rot ratchet, by design. To revert to non-gating (dark/reversible rollback), set this field back to 'report'. Env INSTAR_MODEL_FRESHNESS_STRICT=1 forces strict for a one-off run regardless of this field.",
|
|
9
9
|
"doors": {
|
|
10
10
|
"claude-code": {
|
|
11
11
|
"name": "Claude Code CLI",
|