memorydetective 1.15.0 → 1.16.0

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/CHANGELOG.md CHANGED
@@ -6,6 +6,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.16.0] - 2026-05-15
10
+
11
+ macOS 26.x recording-unblock release. The single feature that v1.14 punted on. `xcrun xctrace record --time-limit Ns` is broken on macOS 26.x simulator targets (documented in v1.14). Instruments.app GUI still produces valid `.trace` bundles. v1.16 ships the wrapper that automates the surrounding choreography: open the app, prompt the user with step-by-step instructions, poll for the saved trace, chain into `inspectTrace` on success. 41 MCP tools, 677 tests.
12
+
13
+ ### Added
14
+
15
+ - **`recordViaInstrumentsApp` MCP tool (41st, `[mg.build]`).** The macOS 26.x escape hatch. Opens Instruments.app via `open -a Instruments`, returns an `instructions[]` array telling the user which template to pick + when to hit Record / Stop / Save, then polls a `watchDir` every 5s for new `.trace` bundles. A bundle is treated as "saved" when its mtime is stable for 10s. On detection, chains into `inspectTrace` and returns the trace path + schemas + diagnosis. Times out after `timeoutSec` (default 600s, max 3600s). Why user-in-loop? Instruments.app's AppleScript surface only exposes queries on the `document` class (`name`, `modified`, `file`), no verbs for start/stop/template-select - documented in `Xcode.app/.../Instruments.sdef`. Full GUI automation is impossible until Apple expands the dictionary. README workaround callout + USAGE.md Troubleshooting recovery list updated to point at this tool as the v1.16 escape hatch (formerly: "wait for Apple"). 11 new tests against the watcher helpers (snapshot, new-trace detection, mtime stability, instruction text).
16
+
9
17
  ## [1.15.0] - 2026-05-15
10
18
 
11
19
  Schema coverage + verify-fix UX release. v1.14 fixed the trace-side pipeline and shipped network coverage. v1.15 closes the remaining trace schemas the analyzer pipeline didn't cover (memory-footprint, energy-impact, xctrace leaks-as-time-series), folds network into summarizeTrace's synthesis chain, and gives replayScenario the screenshot-per-step capability DebugSwift inspired. 5 items landed across the same day. Suite 626 -> 666 (+40). 40 MCP tools.
package/README.md CHANGED
@@ -17,15 +17,17 @@
17
17
  - **MCP-native.** Plugs into Claude Code, Claude Desktop, Cursor, Cline, and any other MCP client. The agent drives the full investigate → classify → suggest-fix loop without you opening Instruments.
18
18
  - **Honest about its limits.** No mocked outputs, no over-promises. Hangs analysis works clean from `xctrace`; sample-level Time Profile is parsed when `xctrace` symbolicates the trace and returns a structured workaround notice when it can't (the underlying `xctrace` SIGSEGV on heavy unsymbolicated traces is an Apple-side limitation we surface explicitly). Memory Graph capture works on Mac apps and iOS simulator; physical iOS devices still need Xcode.
19
19
 
20
- > **What's new in v1.15** (2026-05-15): schema coverage + verify-fix UX release. Three new MCP trace tools fill the remaining schema gap: `analyzeMemoryFootprint` (38th, VM resident / dirty / virtual + jetsam diagnosis), `analyzeEnergyImpact` (39th, battery drain investigation via the energy-impact schema), `analyzeLeakTimeline` (40th, xctrace's leaks instrument as a time series with per-class first-seen-at + peakCount). `summarizeTrace` now chains `analyzeNetworkActivity` so the trace-to-summary-card-in-one-call play covers network alongside hangs / hitches / time-profile / allocations / launch. `replayScenario` captures simulator screenshots per step into a configurable directory (DebugSwift-inspired "what was on screen when this happened?" for verify-fix loops). 626666 tests. 40 MCP tools.
20
+ > **What's new in v1.16** (2026-05-15): macOS 26.x recording-unblock release. New `recordViaInstrumentsApp` MCP tool (41st) wraps the Instruments.app GUI flow: opens the app, surfaces step-by-step instructions, watches a directory for the saved `.trace`, and chains into `inspectTrace` on success. Until Apple fixes the `xcrun xctrace record` regression on macOS 26.x sims, this is the automated path. Times out after `timeoutSec` (default 10 min). 666677 tests. 41 MCP tools.
21
21
  >
22
- > **Also recent (v1.14)**: trace-side reliability release. Fixed two parser bugs against real Apple traces (`inspectTrace` --toc switch, `analyzeTimeProfile` symbol extraction). Added `analyzeNetworkActivity` (37th tool). Extended `analyzeHangs` to read the `hang-risks` schema. Pattern-matching schema discovery refactor across all 5 trace analyzers. Unified `supportStatus[]` surface. Three opt-in UX paths around the macOS 26.x xctrace `--time-limit` regression: 2-second pre-flight probe, auto-open Instruments.app, README + USAGE callout. FLEX-inspired `countAlive` size view. MLeaksFinder + DebugSwift-inspired `verifyFix` whitelist with curated default list.
22
+ > **Also recent (v1.15)**: schema coverage + verify-fix UX. Three new MCP trace tools filled the remaining schema gap: `analyzeMemoryFootprint` (38th, VM resident / dirty / virtual + jetsam diagnosis), `analyzeEnergyImpact` (39th, battery drain investigation), `analyzeLeakTimeline` (40th, xctrace's leaks instrument as a time series). `summarizeTrace` now chains `analyzeNetworkActivity` so the synthesis card covers network alongside hangs / hitches / time-profile / allocations / launch. `replayScenario` captures simulator screenshots per step (DebugSwift-inspired).
23
+ >
24
+ > **And v1.14**: trace-side reliability. Fixed two parser bugs against real Apple traces, added `analyzeNetworkActivity`, extended `analyzeHangs` for `hang-risks`, pattern-matching schema discovery refactor, unified `supportStatus[]`, three opt-in macOS 26.x UX paths, FLEX-inspired `countAlive` size view, MLeaksFinder + DebugSwift-inspired `verifyFix` whitelist.
23
25
  >
24
26
  > **Earlier**: v1.13 shipped `summarizeTrace` + `/summarize-trace` MCP prompt. v1.12 completed reference-tree propagation across countAlive / findRetainers / verifyFix and added auto cross-schema correlation in analyzeHangs. v1.11 added inspectTrace, diffMemgraphs reference-tree, and CLI abandoned-memory mini-table. v1.10 closed the notelet retro feedback loop. v1.9 shipped analyzeAbandonedMemory, detectLeaksInXCTest, cleanupTraces, mainThreadViolations. Full notes in [CHANGELOG](./CHANGELOG.md).
25
27
 
26
28
  > **Heads up for macOS 26.x users:** Apple shipped a `task_for_pid` kernel regression on macOS 26.x that blocks `leaks --outputGraph`, `heap`, AND `xctrace --template Allocations` against iOS simulator processes regardless of `MallocStackLogging`. Even Xcode's "View Memory Graph Hierarchy" hits it unless `Malloc Stack Logging` is enabled in the scheme's Diagnostics tab. memorydetective surfaces this as a proactive `platformAdvisory` on the first capture-class tool call, plus a `workaroundNotice` with `issue: "macos-26-task-for-pid-broken"` if `leaks` is invoked. **The most reliable workaround today is to target an iOS 18 simulator runtime** (install via Xcode > Settings > Platforms > +iOS 18.x). Empirically validated in the [notelet investigation](https://github.com/carloshpdoc/memorydetective/blob/main/CHANGELOG.md#unreleased) 2026-05-12 where three independent CLI memory-introspection paths all failed before iOS 18 was identified as the working escape hatch. Set `MEMORYDETECTIVE_SUPPRESS_PLATFORM_ADVISORY=1` to silence the notice once you have settled on a workaround.
27
29
 
28
- > **Also on macOS 26.x: `xctrace record` is broken for simulator targets.** Independent from the `task_for_pid` regression above, `xcrun xctrace record --time-limit Ns` against iOS simulator processes wedges past the time limit, eventually exits when killed, and the resulting `.trace` bundle is missing template metadata. `xctrace export --toc` then fails with `Document Missing Template Error`. Re-validated against Xcode 26.5 (build 17F42, xctrace 16.0) 2026-05-15: regression survives the update. This hits the entire `xctrace`-based ecosystem the same way (`memorydetective.recordTimeProfile`, XcodeTraceMCP, and naked `xcrun xctrace record` calls all fail identically). **Workarounds:** (1) record from an older macOS host with Xcode 26.0 if you have one; (2) record via Instruments.app GUI which still works on macOS 26.x and produces a valid `.trace` that memorydetective's trace-side analyzers (`inspectTrace`, `summarizeTrace`, `analyzeHangs`, `analyzeTimeProfile`, `analyzeAnimationHitches`, `compareTracesByPattern`) read cleanly; (3) record against a physical device (the regression appears to be simulator-specific). USAGE.md > Troubleshooting has a step-by-step.
30
+ > **Also on macOS 26.x: `xctrace record` is broken for simulator targets.** Independent from the `task_for_pid` regression above, `xcrun xctrace record --time-limit Ns` against iOS simulator processes wedges past the time limit, eventually exits when killed, and the resulting `.trace` bundle is missing template metadata. `xctrace export --toc` then fails with `Document Missing Template Error`. Re-validated against Xcode 26.5 (build 17F42, xctrace 16.0) 2026-05-15: regression survives the update. This hits the entire `xctrace`-based ecosystem the same way (`memorydetective.recordTimeProfile`, XcodeTraceMCP, and naked `xcrun xctrace record` calls all fail identically). **Workarounds:** (1) **v1.16: use `recordViaInstrumentsApp`**, which opens Instruments.app for you, prompts you to record + save the `.trace`, then chains into `inspectTrace` automatically once the bundle appears in the watch directory; (2) record from an older macOS host with Xcode 26.0 if you have one; (3) record against a physical device (the regression appears to be simulator-specific). USAGE.md > Troubleshooting has a step-by-step.
29
31
 
30
32
  ## Quickstart
31
33
 
package/USAGE.md CHANGED
@@ -420,12 +420,13 @@ It hits every `xctrace`-based tool the same way (this MCP, XcodeTraceMCP, raw `x
420
420
 
421
421
  Recovery options, ranked by automation cost:
422
422
 
423
- 1. **Record on an older macOS host with Xcode 26.0 if you have one available.** Pre-regression `xctrace record` produces clean traces. The 2026-05-15 validation used `~/Desktop/wishlist-tti-device.trace`, a Time Profiler trace captured this way: 91s recording, 35 hangs detected, 44 418 time-profile samples, fully analyzable by memorydetective's trace-side tools.
424
- 2. **Record via Instruments.app GUI.** Instruments.app on macOS 26.x still produces valid `.trace` bundles. Open Instruments, pick a template, choose the simulator + app, hit Record, drive the scenario, Stop, Save. Then point `inspectTrace` / `summarizeTrace` / `analyzeHangs` / `analyzeTimeProfile` / `compareTracesByPattern` at the saved bundle. All trace-side analyzers work normally on Instruments-recorded `.trace` bundles.
425
- 3. **Record against a physical device (USB or wireless).** The regression appears to be simulator-specific. `xctrace record --device <UUID> --launch <app>` against a real iPhone / iPad does NOT exhibit the same wedge. Use this when you have a physical target available.
426
- 4. **Wait for Apple.** The Feedback assistant is the right escalation path. The regression has shipped through Xcode 26.4 + 26.5; expect a fix in 26.6 or later.
423
+ 1. **`recordViaInstrumentsApp` MCP tool (v1.16+).** Opens Instruments.app for you, surfaces step-by-step instructions in the response, then watches a directory for the saved `.trace`. Once it appears, the tool returns the path plus a chained `inspectTrace` summary. The user-in-loop step is the recording itself (pick template, hit Record, hit Stop, hit Save). Why is it user-in-loop? Instruments.app's AppleScript surface is minimal: queries on the `document` class only, no verbs for start/stop/select-template (see `Xcode.app/Contents/Applications/Instruments.app/Contents/Resources/Instruments.sdef`). The watcher polls every 5 seconds and considers a bundle "saved" after its mtime is stable for 10 seconds.
424
+ 2. **Record on an older macOS host with Xcode 26.0 if you have one available.** Pre-regression `xctrace record` produces clean traces. The 2026-05-15 validation used `~/Desktop/wishlist-tti-device.trace`, a Time Profiler trace captured this way: 91s recording, 35 hangs detected, 44 418 time-profile samples, fully analyzable by memorydetective's trace-side tools.
425
+ 3. **Record manually via Instruments.app GUI without the wrapper.** Instruments.app on macOS 26.x still produces valid `.trace` bundles. Open Instruments, pick a template, choose the simulator + app, hit Record, drive the scenario, Stop, Save. Then point `inspectTrace` / `summarizeTrace` / `analyzeHangs` / `analyzeTimeProfile` / `compareTracesByPattern` at the saved bundle. All trace-side analyzers work normally on Instruments-recorded `.trace` bundles.
426
+ 4. **Record against a physical device (USB or wireless).** The regression appears to be simulator-specific. `xctrace record --device <UUID> --launch <app>` against a real iPhone / iPad does NOT exhibit the same wedge. Use this when you have a physical target available.
427
+ 5. **Wait for Apple.** The Feedback assistant is the right escalation path. The regression has shipped through Xcode 26.4 + 26.5; expect a fix in 26.6 or later.
427
428
 
428
- memorydetective's roadmap items `recordViaInstrumentsApp` (Group II-G) and the pre-flight probe (Group II-H) will narrow the manual-step surface as they land.
429
+ memorydetective's `recordViaInstrumentsApp` (v1.16) + pre-flight probe (v1.14) cover the automated paths around the regression until Apple ships a fix.
429
430
 
430
431
  ### `replayScenario` returns `workaroundNotice: { issue: "axe-not-found" }`
431
432
 
package/dist/index.js CHANGED
@@ -26,6 +26,7 @@ import { analyzeNetworkActivity, analyzeNetworkActivitySchema, } from "./tools/a
26
26
  import { analyzeMemoryFootprint, analyzeMemoryFootprintSchema, } from "./tools/analyzeMemoryFootprint.js";
27
27
  import { analyzeEnergyImpact, analyzeEnergyImpactSchema, } from "./tools/analyzeEnergyImpact.js";
28
28
  import { analyzeLeakTimeline, analyzeLeakTimelineSchema, } from "./tools/analyzeLeakTimeline.js";
29
+ import { recordViaInstrumentsApp, recordViaInstrumentsAppSchema, } from "./tools/recordViaInstrumentsApp.js";
29
30
  import { renderCycleGraph, renderCycleGraphSchema, } from "./tools/renderCycleGraph.js";
30
31
  import { logShow, logShowSchema, logStream, logStreamSchema, } from "./tools/logShow.js";
31
32
  import { detectLeaksInXCUITest, detectLeaksInXCUITestSchema, } from "./tools/detectLeaksInXCUITest.js";
@@ -286,6 +287,14 @@ server.registerTool("analyzeLeakTimeline", {
286
287
  const result = await analyzeLeakTimeline(input);
287
288
  return formatMcpResponse(result, "analyzeLeakTimeline", input.outputFormat);
288
289
  });
290
+ server.registerTool("recordViaInstrumentsApp", {
291
+ title: "Record a .trace via Instruments.app GUI (macOS 26.x workaround)",
292
+ description: "[mg.build] Open Instruments.app, prompt the user to record + save a .trace, then poll a watchDir for the new bundle and chain into inspectTrace. The macOS 26.x escape hatch: `xcrun xctrace record` wedges on this OS but Instruments.app GUI still produces valid traces. Returns instructions[] for the user-in-loop step, tracePath when found, plus a chained inspectTrace summary. Times out after `timeoutSec` (default 600s). v1.16+.",
293
+ inputSchema: recordViaInstrumentsAppSchema.shape,
294
+ }, async (input) => {
295
+ const result = await recordViaInstrumentsApp(input);
296
+ return formatMcpResponse(result, "recordViaInstrumentsApp", undefined);
297
+ });
289
298
  server.registerTool("renderCycleGraph", {
290
299
  title: "Render a retain cycle as Mermaid or DOT graph",
291
300
  description: "[mg.render] Read a `.memgraph`, pick a ROOT CYCLE by index, and emit the chain as a Mermaid graph definition (default — embeddable in markdown / GitHub) or a Graphviz DOT file. App-level classes are highlighted; CYCLE BACK terminators are styled distinctly. Use `cycleIndex` to render cycles other than the first.",
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EACL,eAAe,EACf,qBAAqB,GACtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,E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file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EACL,eAAe,EACf,qBAAqB,GACtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EACL,aAAa,EACb,mBAAmB,GACpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EACL,aAAa,EACb,mBAAmB,GACpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,sBAAsB,EACtB,4BAA4B,GAC7B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,aAAa,EACb,mBAAmB,GACpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,EACL,kBAAkB,EAClB,wBAAwB,GACzB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,gBAAgB,EAChB,sBAAsB,GACvB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,kBAAkB,EAClB,wBAAwB,GACzB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,YAAY,EACZ,kBAAkB,GACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,cAAc,EACd,oBAAoB,GACrB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,iBAAiB,EACjB,sBAAsB,GACvB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,eAAe,EACf,oBAAoB,GACrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,iCAAiC,EACjC,sCAAsC,GACvC,MAAM,8CAA8C,CAAC;AACtD,OAAO,EACL,cAAc,EACd,mBAAmB,GACpB,MAAM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AAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC5B,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,CAAC;QAC5C,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;QACjD,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACrB,CAAC;IACD,qEAAqE;IACrE,qEAAqE;IACrE,sEAAsE;IACtE,yBAAyB,CAAC,gBAAgB,EAAE,CAAC,CAAC;IAC9C,MAAM,SAAS,GAAG,IAAI,oBAAoB,EAAE,CAAC;IAC7C,MAAM,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;AAClC,CAAC;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE;IACnB,OAAO,CAAC,KAAK,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IAC7B,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
@@ -0,0 +1,81 @@
1
+ /**
2
+ * `recordViaInstrumentsApp`: open Instruments.app, prompt the user to
3
+ * record + save, watch a directory for the resulting `.trace` bundle.
4
+ * v1.16 item G.
5
+ *
6
+ * The macOS 26.x escape hatch. `xcrun xctrace record` is broken on this
7
+ * OS (the regression we documented in v1.14: `--time-limit` ignored,
8
+ * wedge, partial bundle that fails template export). Instruments.app's
9
+ * GUI still produces valid `.trace` bundles. Until Apple fixes the CLI,
10
+ * the only automated path on macOS 26.x sims is "open Instruments,
11
+ * pick a template, hit Record, Stop, Save" - and we wrap that.
12
+ *
13
+ * Why not full AppleScript automation? Instruments.app's AppleScript
14
+ * surface is minimal (queries on the `document` class only, no verbs
15
+ * for start/stop/select-template). Documented in the .sdef file at
16
+ * `Xcode.app/Contents/Applications/Instruments.app/Contents/Resources/
17
+ * Instruments.sdef`. We can query open document file URLs but cannot
18
+ * programmatically drive recording. The user-in-loop step stays.
19
+ */
20
+ import { z } from "zod";
21
+ import { type InspectTraceResult } from "./inspectTrace.js";
22
+ export declare const recordViaInstrumentsAppSchema: z.ZodObject<{
23
+ template: z.ZodDefault<z.ZodString>;
24
+ watchDir: z.ZodOptional<z.ZodString>;
25
+ timeoutSec: z.ZodDefault<z.ZodNumber>;
26
+ preexistingTraces: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
27
+ }, "strip", z.ZodTypeAny, {
28
+ template: string;
29
+ timeoutSec: number;
30
+ watchDir?: string | undefined;
31
+ preexistingTraces?: string[] | undefined;
32
+ }, {
33
+ template?: string | undefined;
34
+ watchDir?: string | undefined;
35
+ timeoutSec?: number | undefined;
36
+ preexistingTraces?: string[] | undefined;
37
+ }>;
38
+ export type RecordViaInstrumentsAppInput = z.infer<typeof recordViaInstrumentsAppSchema>;
39
+ export interface RecordViaInstrumentsAppResult {
40
+ ok: boolean;
41
+ /** Absolute path to the newly-saved `.trace` bundle. Empty when timed out. */
42
+ tracePath: string;
43
+ watchDir: string;
44
+ /** Step-by-step instructions to show the user before they interact with Instruments. */
45
+ instructions: string[];
46
+ /** True when the watcher gave up before finding a new `.trace`. */
47
+ timedOut?: boolean;
48
+ /** Wall-clock seconds the user spent recording (start of watcher to detection). */
49
+ elapsedSec: number;
50
+ /** Chained inspectTrace summary when the recording was found AND was readable. */
51
+ inspection?: InspectTraceResult;
52
+ /** Plain-English diagnosis (success vs timeout vs unreadable). */
53
+ diagnosis: string;
54
+ }
55
+ /**
56
+ * Pure: snapshot the set of `.trace` bundle names currently in `dir`.
57
+ * Used as the "existing files" baseline so the watcher only matches
58
+ * NEW traces. Exported for testing.
59
+ */
60
+ export declare function snapshotTracesInDir(dir: string): Set<string>;
61
+ /**
62
+ * Pure: given the set of trace paths now in `dir` and the baseline
63
+ * snapshot, return paths that are NEW (in current but not in baseline).
64
+ * The order is alphabetical for determinism. Exported for testing.
65
+ */
66
+ export declare function detectNewTraces(current: Set<string>, baseline: Set<string>): string[];
67
+ /**
68
+ * Pure: given a candidate `.trace` bundle path and the current time
69
+ * (in ms since epoch), decide whether the bundle has been "stable" for
70
+ * at least `stableForMs` (the user has finished saving). Returns false
71
+ * when the path does not exist or stat fails. Exported for testing.
72
+ */
73
+ export declare function isStable(candidatePath: string, nowMs: number, stableForMs: number, statFn?: (p: string) => {
74
+ mtimeMs: number;
75
+ }): boolean;
76
+ /**
77
+ * Pure: build the step-by-step instruction text the response surfaces.
78
+ * Exported for testing.
79
+ */
80
+ export declare function buildInstructions(template: string, watchDir: string): string[];
81
+ export declare function recordViaInstrumentsApp(input: RecordViaInstrumentsAppInput): Promise<RecordViaInstrumentsAppResult>;
@@ -0,0 +1,200 @@
1
+ /**
2
+ * `recordViaInstrumentsApp`: open Instruments.app, prompt the user to
3
+ * record + save, watch a directory for the resulting `.trace` bundle.
4
+ * v1.16 item G.
5
+ *
6
+ * The macOS 26.x escape hatch. `xcrun xctrace record` is broken on this
7
+ * OS (the regression we documented in v1.14: `--time-limit` ignored,
8
+ * wedge, partial bundle that fails template export). Instruments.app's
9
+ * GUI still produces valid `.trace` bundles. Until Apple fixes the CLI,
10
+ * the only automated path on macOS 26.x sims is "open Instruments,
11
+ * pick a template, hit Record, Stop, Save" - and we wrap that.
12
+ *
13
+ * Why not full AppleScript automation? Instruments.app's AppleScript
14
+ * surface is minimal (queries on the `document` class only, no verbs
15
+ * for start/stop/select-template). Documented in the .sdef file at
16
+ * `Xcode.app/Contents/Applications/Instruments.app/Contents/Resources/
17
+ * Instruments.sdef`. We can query open document file URLs but cannot
18
+ * programmatically drive recording. The user-in-loop step stays.
19
+ */
20
+ import { z } from "zod";
21
+ import { existsSync, mkdirSync, statSync, readdirSync } from "node:fs";
22
+ import { resolve as resolvePath, join as joinPath } from "node:path";
23
+ import { spawn } from "node:child_process";
24
+ import { getSecurityFlags } from "../runtime/securityFlags.js";
25
+ import { inspectTrace } from "./inspectTrace.js";
26
+ export const recordViaInstrumentsAppSchema = z.object({
27
+ template: z
28
+ .string()
29
+ .default("Time Profiler")
30
+ .describe("The Instruments template the user should pick after the app launches. Surfaced in the response's instructions array. Default 'Time Profiler'. Common alternatives: 'Allocations', 'Animation Hitches', 'Leaks', 'Energy Log', 'Network Profile'."),
31
+ watchDir: z
32
+ .string()
33
+ .optional()
34
+ .describe("Directory to watch for the saved `.trace` bundle. When omitted, defaults to $MEMORYDETECTIVE_TRACE_ROOT (typically `~/Library/Application Support/memorydetective/traces`). The directory is created if it does not exist."),
35
+ timeoutSec: z
36
+ .number()
37
+ .int()
38
+ .positive()
39
+ .max(3600)
40
+ .default(600)
41
+ .describe("Maximum seconds to wait for the user to save a `.trace` before returning a timeout. Default 600 (10 minutes). Capped at 3600 (1 hour)."),
42
+ preexistingTraces: z
43
+ .array(z.string())
44
+ .optional()
45
+ .describe("Absolute paths to `.trace` bundles already in `watchDir`. The watcher excludes these so it only matches NEW files. When omitted, the watcher snapshots the directory at start. Optional override for callers who want explicit control."),
46
+ });
47
+ /**
48
+ * Pure: snapshot the set of `.trace` bundle names currently in `dir`.
49
+ * Used as the "existing files" baseline so the watcher only matches
50
+ * NEW traces. Exported for testing.
51
+ */
52
+ export function snapshotTracesInDir(dir) {
53
+ if (!existsSync(dir))
54
+ return new Set();
55
+ try {
56
+ const entries = readdirSync(dir, { withFileTypes: true });
57
+ const out = new Set();
58
+ for (const e of entries) {
59
+ if (!e.name.endsWith(".trace"))
60
+ continue;
61
+ out.add(joinPath(dir, e.name));
62
+ }
63
+ return out;
64
+ }
65
+ catch {
66
+ return new Set();
67
+ }
68
+ }
69
+ /**
70
+ * Pure: given the set of trace paths now in `dir` and the baseline
71
+ * snapshot, return paths that are NEW (in current but not in baseline).
72
+ * The order is alphabetical for determinism. Exported for testing.
73
+ */
74
+ export function detectNewTraces(current, baseline) {
75
+ const fresh = [];
76
+ for (const path of current) {
77
+ if (!baseline.has(path))
78
+ fresh.push(path);
79
+ }
80
+ return fresh.sort();
81
+ }
82
+ /**
83
+ * Pure: given a candidate `.trace` bundle path and the current time
84
+ * (in ms since epoch), decide whether the bundle has been "stable" for
85
+ * at least `stableForMs` (the user has finished saving). Returns false
86
+ * when the path does not exist or stat fails. Exported for testing.
87
+ */
88
+ export function isStable(candidatePath, nowMs, stableForMs, statFn = (p) => statSync(p)) {
89
+ try {
90
+ if (!existsSync(candidatePath))
91
+ return false;
92
+ const s = statFn(candidatePath);
93
+ return nowMs - s.mtimeMs >= stableForMs;
94
+ }
95
+ catch {
96
+ return false;
97
+ }
98
+ }
99
+ /**
100
+ * Pure: build the step-by-step instruction text the response surfaces.
101
+ * Exported for testing.
102
+ */
103
+ export function buildInstructions(template, watchDir) {
104
+ return [
105
+ `Instruments.app is opening. Wait for the template chooser to appear.`,
106
+ `Pick the **${template}** template from the chooser (if it does not show, File > New > pick the template).`,
107
+ `Choose the target device + app from the toolbar (top-left in the Instruments window).`,
108
+ `Press the **Record** button (red circle). Drive the scenario you want to capture.`,
109
+ `Press **Stop** when finished.`,
110
+ `**File > Save As** the trace to \`${watchDir}\` (this MCP is watching that directory).`,
111
+ `Once saved, this tool detects the new \`.trace\` bundle (within ~10 seconds) and returns its path.`,
112
+ ];
113
+ }
114
+ /**
115
+ * Spawn `open -a Instruments` fire-and-forget. v1.16. Returns immediately;
116
+ * Instruments.app launch takes a few seconds and the user interacts with
117
+ * it independently of the watcher loop.
118
+ */
119
+ function openInstrumentsApp() {
120
+ try {
121
+ const child = spawn("open", ["-a", "Instruments"], {
122
+ detached: true,
123
+ stdio: "ignore",
124
+ });
125
+ child.unref();
126
+ }
127
+ catch {
128
+ // The watcher loop will still poll; surfacing the error here would
129
+ // bias toward false-negatives if the open command exited non-zero for
130
+ // a reason that doesn't actually prevent Instruments from launching
131
+ // (e.g. it was already open).
132
+ }
133
+ }
134
+ /**
135
+ * Async sleep. Tests inject a faster variant; production uses real
136
+ * setTimeout.
137
+ */
138
+ function sleep(ms) {
139
+ return new Promise((resolve) => setTimeout(resolve, ms));
140
+ }
141
+ const POLL_INTERVAL_MS = 5_000;
142
+ const STABLE_FOR_MS = 10_000;
143
+ export async function recordViaInstrumentsApp(input) {
144
+ const security = getSecurityFlags();
145
+ const watchDir = resolvePath(input.watchDir ?? security.traceRoot);
146
+ if (!existsSync(watchDir)) {
147
+ mkdirSync(watchDir, { recursive: true });
148
+ }
149
+ const template = input.template ?? "Time Profiler";
150
+ const timeoutMs = (input.timeoutSec ?? 600) * 1000;
151
+ const instructions = buildInstructions(template, watchDir);
152
+ const baseline = input.preexistingTraces && input.preexistingTraces.length > 0
153
+ ? new Set(input.preexistingTraces.map((p) => resolvePath(p)))
154
+ : snapshotTracesInDir(watchDir);
155
+ openInstrumentsApp();
156
+ const start = Date.now();
157
+ while (Date.now() - start < timeoutMs) {
158
+ const current = snapshotTracesInDir(watchDir);
159
+ const fresh = detectNewTraces(current, baseline);
160
+ // Pick the first stable new trace (oldest mtime that is also stable).
161
+ for (const candidate of fresh) {
162
+ if (isStable(candidate, Date.now(), STABLE_FOR_MS)) {
163
+ const elapsedSec = Math.round((Date.now() - start) / 1000);
164
+ // Best-effort: chain into inspectTrace so the caller sees an
165
+ // immediate summary. Failures here do not invalidate the
166
+ // recording itself; we just omit the field.
167
+ let inspection;
168
+ try {
169
+ inspection = await inspectTrace({ tracePath: candidate });
170
+ }
171
+ catch {
172
+ // Inspection failure is non-fatal.
173
+ }
174
+ return {
175
+ ok: true,
176
+ tracePath: candidate,
177
+ watchDir,
178
+ instructions,
179
+ elapsedSec,
180
+ ...(inspection ? { inspection } : {}),
181
+ diagnosis: inspection
182
+ ? `Captured \`${candidate}\` after ${elapsedSec}s. ${inspection.schemas.length} schemas in the TOC.`
183
+ : `Captured \`${candidate}\` after ${elapsedSec}s. Inspect failed; pass the path to inspectTrace manually.`,
184
+ };
185
+ }
186
+ }
187
+ await sleep(POLL_INTERVAL_MS);
188
+ }
189
+ const elapsedSec = Math.round((Date.now() - start) / 1000);
190
+ return {
191
+ ok: false,
192
+ tracePath: "",
193
+ watchDir,
194
+ instructions,
195
+ timedOut: true,
196
+ elapsedSec,
197
+ diagnosis: `Timed out after ${elapsedSec}s waiting for a \`.trace\` bundle to appear in \`${watchDir}\`. The user may not have saved yet, or saved to a different directory. Re-run with the correct \`watchDir\` if needed.`,
198
+ };
199
+ }
200
+ //# sourceMappingURL=recordViaInstrumentsApp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recordViaInstrumentsApp.js","sourceRoot":"","sources":["../../src/tools/recordViaInstrumentsApp.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrE,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,YAAY,EAA2B,MAAM,mBAAmB,CAAC;AAE1E,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,QAAQ,EAAE,CAAC;SACR,MAAM,EAAE;SACR,OAAO,CAAC,eAAe,CAAC;SACxB,QAAQ,CACP,kPAAkP,CACnP;IACH,QAAQ,EAAE,CAAC;SACR,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,4NAA4N,CAC7N;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,GAAG,CAAC,IAAI,CAAC;SACT,OAAO,CAAC,GAAG,CAAC;SACZ,QAAQ,CACP,wIAAwI,CACzI;IACH,iBAAiB,EAAE,CAAC;SACjB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QA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zD,4CAA4C;gBAC5C,IAAI,UAA0C,CAAC;gBAC/C,IAAI,CAAC;oBACH,UAAU,GAAG,MAAM,YAAY,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,CAAC;gBAC5D,CAAC;gBAAC,MAAM,CAAC;oBACP,mCAAmC;gBACrC,CAAC;gBACD,OAAO;oBACL,EAAE,EAAE,IAAI;oBACR,SAAS,EAAE,SAAS;oBACpB,QAAQ;oBACR,YAAY;oBACZ,UAAU;oBACV,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;oBACrC,SAAS,EAAE,UAAU;wBACnB,CAAC,CAAC,cAAc,SAAS,YAAY,UAAU,MAAM,UAAU,CAAC,OAAO,CAAC,MAAM,sBAAsB;wBACpG,CAAC,CAAC,cAAc,SAAS,YAAY,UAAU,4DAA4D;iBAC9G,CAAC;YACJ,CAAC;QACH,CAAC;QACD,MAAM,KAAK,CAAC,gBAAgB,CAAC,CAAC;IAChC,CAAC;IAED,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;IAC3D,OAAO;QACL,EAAE,EAAE,KAAK;QACT,SAAS,EAAE,EAAE;QACb,QAAQ;QACR,YAAY;QACZ,QAAQ,EAAE,IAAI;QACd,UAAU;QACV,SAAS,EAAE,mBAAmB,UAAU,oDAAoD,QAAQ,yHAAyH;KAC9N,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "memorydetective",
3
- "version": "1.15.0",
3
+ "version": "1.16.0",
4
4
  "mcpName": "io.github.carloshpdoc/memorydetective",
5
- "description": "MCP server for iOS leak hunting and performance investigation. 40 tools across .memgraph and .trace files. v1.15 adds analyzeMemoryFootprint (VM resident/dirty/jetsam), analyzeEnergyImpact (battery drain), analyzeLeakTimeline (leaks as time series), summarizeTrace network chain integration, replayScenario screenshot capture. 36-pattern retain-cycle classifier with Swift fixTemplate snippets, abandoned-memory diff for KVO/NotificationCenter/cache shapes that escape leaks(1), per-test CI gate (detectLeaksInXCTest + detectLeaksInXCUITest with self-contained HTML reports), main-thread violation classifier on analyzeHangs, single-call build+boot+launch for the macOS 26.x leaks --outputGraph regression, replayScenario + captureScenarioState verify-fix loop, compareTracesByPattern CI gate on hangs/hitches/launch regressions, SourceKit-LSP source bridging. macOS only (depends on leaks(1) and xctrace).",
5
+ "description": "MCP server for iOS leak hunting and performance investigation. 41 tools across .memgraph and .trace files. v1.16 adds recordViaInstrumentsApp (macOS 26.x trace recording workaround that wraps Instruments.app GUI). v1.15 added analyzeMemoryFootprint (VM resident/dirty/jetsam), analyzeEnergyImpact (battery drain), analyzeLeakTimeline (leaks as time series), summarizeTrace network chain integration, replayScenario screenshot capture. 36-pattern retain-cycle classifier with Swift fixTemplate snippets, abandoned-memory diff for KVO/NotificationCenter/cache shapes that escape leaks(1), per-test CI gate (detectLeaksInXCTest + detectLeaksInXCUITest with self-contained HTML reports), main-thread violation classifier on analyzeHangs, single-call build+boot+launch for the macOS 26.x leaks --outputGraph regression, replayScenario + captureScenarioState verify-fix loop, compareTracesByPattern CI gate on hangs/hitches/launch regressions, SourceKit-LSP source bridging. macOS only (depends on leaks(1) and xctrace).",
6
6
  "type": "module",
7
7
  "bin": {
8
8
  "memorydetective": "dist/index.js"