sensorium-trace 0.18.2__py3-none-any.whl

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 (135) hide show
  1. sensorium/__init__.py +0 -0
  2. sensorium/__main__.py +4 -0
  3. sensorium/_c/rt/sensorium_c_rt.c +1446 -0
  4. sensorium/_typescript/package-lock.json +68 -0
  5. sensorium/_typescript/package.json +39 -0
  6. sensorium/_typescript/src/bindings.mjs +792 -0
  7. sensorium/_typescript/src/cap.mjs +227 -0
  8. sensorium/_typescript/src/capabilities.mjs +40 -0
  9. sensorium/_typescript/src/dbg.mjs +348 -0
  10. sensorium/_typescript/src/escape.mjs +351 -0
  11. sensorium/_typescript/src/focus.mjs +135 -0
  12. sensorium/_typescript/src/hook.mjs +127 -0
  13. sensorium/_typescript/src/index.mjs +1 -0
  14. sensorium/_typescript/src/naming.mjs +63 -0
  15. sensorium/_typescript/src/positions.mjs +37 -0
  16. sensorium/_typescript/src/probe.mjs +246 -0
  17. sensorium/_typescript/src/qualname.mjs +236 -0
  18. sensorium/_typescript/src/redact.mjs +711 -0
  19. sensorium/_typescript/src/register.mjs +15 -0
  20. sensorium/_typescript/src/resolve.mjs +260 -0
  21. sensorium/_typescript/src/rt.mjs +798 -0
  22. sensorium/_typescript/src/setup.mjs +11 -0
  23. sensorium/_typescript/src/tally.mjs +164 -0
  24. sensorium/_typescript/src/tasks.mjs +175 -0
  25. sensorium/_typescript/src/transform.mjs +800 -0
  26. sensorium/_typescript/src/vite.mjs +99 -0
  27. sensorium/c/__init__.py +8 -0
  28. sensorium/c/cc.py +612 -0
  29. sensorium/c/cli.py +60 -0
  30. sensorium/c/convert.py +669 -0
  31. sensorium/c/decode.py +300 -0
  32. sensorium/c/driver.py +365 -0
  33. sensorium/c/dwarf.py +706 -0
  34. sensorium/c/format.py +271 -0
  35. sensorium/c/pkg.py +187 -0
  36. sensorium/c/plan.py +277 -0
  37. sensorium/cli.py +140 -0
  38. sensorium/driver.py +47 -0
  39. sensorium/exit.py +33 -0
  40. sensorium/invocations.py +83 -0
  41. sensorium/limits.py +253 -0
  42. sensorium/mcp/__init__.py +0 -0
  43. sensorium/mcp/audit.py +162 -0
  44. sensorium/mcp/child.py +240 -0
  45. sensorium/mcp/cmd.py +101 -0
  46. sensorium/mcp/jsonrpc.py +172 -0
  47. sensorium/mcp/result.py +187 -0
  48. sensorium/mcp/schema.py +390 -0
  49. sensorium/mcp/server.py +493 -0
  50. sensorium/mcp/tools.py +299 -0
  51. sensorium/paths.py +80 -0
  52. sensorium/query/__init__.py +0 -0
  53. sensorium/query/caps.py +150 -0
  54. sensorium/query/dbg_dialects.py +64 -0
  55. sensorium/query/diff_cmd.py +748 -0
  56. sensorium/query/diff_notes.py +117 -0
  57. sensorium/query/exceptions_c.py +263 -0
  58. sensorium/query/exceptions_cmd.py +788 -0
  59. sensorium/query/exceptions_group.py +571 -0
  60. sensorium/query/exceptions_invocation.py +487 -0
  61. sensorium/query/exceptions_rust.py +683 -0
  62. sensorium/query/exceptions_typescript.py +688 -0
  63. sensorium/query/expr.py +606 -0
  64. sensorium/query/failures_cmd.py +306 -0
  65. sensorium/query/flow_cmd.py +778 -0
  66. sensorium/query/flow_report.py +128 -0
  67. sensorium/query/flow_values.py +195 -0
  68. sensorium/query/fmt.py +280 -0
  69. sensorium/query/frame_cmd.py +237 -0
  70. sensorium/query/grep_cmd.py +156 -0
  71. sensorium/query/help.py +18 -0
  72. sensorium/query/info_cmd.py +527 -0
  73. sensorium/query/info_rust.py +214 -0
  74. sensorium/query/info_typescript.py +261 -0
  75. sensorium/query/js_inspect.py +394 -0
  76. sensorium/query/moves.py +254 -0
  77. sensorium/query/redact_cmd.py +304 -0
  78. sensorium/query/refocus_cmd.py +661 -0
  79. sensorium/query/refocus_env.py +493 -0
  80. sensorium/query/refocus_facts.py +269 -0
  81. sensorium/query/refocus_licence.py +187 -0
  82. sensorium/query/refocus_report.py +327 -0
  83. sensorium/query/refocus_rust.py +537 -0
  84. sensorium/query/refocus_threads.py +197 -0
  85. sensorium/query/refocus_typescript.py +756 -0
  86. sensorium/query/refocus_world.py +666 -0
  87. sensorium/query/runs_cmd.py +213 -0
  88. sensorium/query/rust_debug.py +176 -0
  89. sensorium/query/sites.py +171 -0
  90. sensorium/query/tree_cmd.py +511 -0
  91. sensorium/query/tree_threads.py +168 -0
  92. sensorium/query/vocab.py +723 -0
  93. sensorium/query/watch_cmd.py +657 -0
  94. sensorium/record/__init__.py +0 -0
  95. sensorium/record/boot.py +797 -0
  96. sensorium/record/boot_io.py +141 -0
  97. sensorium/record/budget.py +135 -0
  98. sensorium/record/capture.py +433 -0
  99. sensorium/record/children.py +755 -0
  100. sensorium/record/children_merge.py +179 -0
  101. sensorium/record/elide.py +55 -0
  102. sensorium/record/fingerprint.py +26 -0
  103. sensorium/record/thread_starts.py +261 -0
  104. sensorium/record/tracer.py +798 -0
  105. sensorium/record/tracer_exc.py +199 -0
  106. sensorium/record/tracer_frames.py +618 -0
  107. sensorium/redact.py +304 -0
  108. sensorium/redact_content.py +156 -0
  109. sensorium/redact_key.py +317 -0
  110. sensorium/redact_store.py +502 -0
  111. sensorium/redact_values.py +433 -0
  112. sensorium/store/__init__.py +0 -0
  113. sensorium/store/db.py +284 -0
  114. sensorium/store/gc.py +360 -0
  115. sensorium/store/payloads.py +69 -0
  116. sensorium/store/reader.py +438 -0
  117. sensorium/store/writer.py +283 -0
  118. sensorium/ts/__init__.py +10 -0
  119. sensorium/ts/build.py +783 -0
  120. sensorium/ts/cli.py +130 -0
  121. sensorium/ts/driver.py +472 -0
  122. sensorium/ts/focus.py +146 -0
  123. sensorium/ts/harness.py +314 -0
  124. sensorium/ts/ingest.py +380 -0
  125. sensorium/ts/invocation.py +252 -0
  126. sensorium/ts/pkg.py +167 -0
  127. sensorium/ts/redaction.py +64 -0
  128. sensorium/ts/spool.py +168 -0
  129. sensorium/ts/truncation.py +81 -0
  130. sensorium/ts/wrapper.py +255 -0
  131. sensorium_trace-0.18.2.dist-info/METADATA +245 -0
  132. sensorium_trace-0.18.2.dist-info/RECORD +135 -0
  133. sensorium_trace-0.18.2.dist-info/WHEEL +4 -0
  134. sensorium_trace-0.18.2.dist-info/entry_points.txt +3 -0
  135. sensorium_trace-0.18.2.dist-info/licenses/LICENSE +21 -0
@@ -0,0 +1,255 @@
1
+ """The two files the driver puts in the consumer's tree, and takes away.
2
+
3
+ They live under `<root>/node_modules/.sensorium/` (D9) and nowhere else: a
4
+ wrapper config has to sit under a `node_modules` for its own bare imports
5
+ (`vitest/config`) to resolve from the consumer's tree, `node_modules` is
6
+ gitignored by every project, and nothing there is a source file anybody
7
+ edits. Both are named by the invocation, so two runs of one project do not
8
+ share a file, and both are removed in the driver's `finally`.
9
+
10
+ Three rules the text obeys, each of them a measured hazard:
11
+
12
+ * the runtime is declared external as a **RegExp** (R16). `server.deps.external`
13
+ matches a STRING entry only as `<moduleDirectory>/<entry>` -- vitest joins
14
+ it onto `/node_modules/` -- so an absolute path written as a string matches
15
+ nothing at all, and the run silently gets two runtimes: one through Vite's
16
+ module runner for the instrumented modules, one native for the setup file;
17
+ * every path is spelled ABSOLUTELY, the package included. The package's
18
+ `exports` map has no `./src/*` entry, so a bare `sensorium-ts/src/vite.mjs`
19
+ would not resolve, and a relative path would be relative to a directory
20
+ the consumer chose;
21
+ * a user config exported as a FUNCTION is called with vitest's own
22
+ `ConfigEnv` before the merge, because `mergeConfig` merges objects and
23
+ would otherwise be handed a function.
24
+
25
+ `mergeConfig` appends to `setupFiles` and `plugins` rather than replacing
26
+ them: the consumer's setup assumes their own environment, and that is the
27
+ consumer's business (design section 2.2).
28
+
29
+ Inline `test.projects` and `test.workspace` entries are instrumented
30
+ (R41, narrowed). Vitest 4 does not hand a root plugin to a project
31
+ (`extends` defaults false until vitest 5), so each inline project object
32
+ receives its own plugin, setup file and external regexp, and the root
33
+ does not also get one: a project that extends the root would otherwise
34
+ be instrumented twice. A string in that list is a glob or another config
35
+ file this wrapper does not merge. The config throws on that shape and
36
+ writes `wrapper-refusal.json`, because a project that ran unrecorded
37
+ would look green. Vitest's own error goes to the harness's stderr, and
38
+ the driver needs the sentence to give back as its own refusal.
39
+ """
40
+ import json
41
+ from pathlib import Path
42
+
43
+ #: The directory both files live in, under the consumer's `node_modules`.
44
+ DIRNAME = ".sensorium"
45
+ CONFIG_SUFFIX = ".config.mts"
46
+ SETUP_SUFFIX = ".setup.mjs"
47
+
48
+ #: What `typescript/src/setup.mjs` carries where the package's path goes.
49
+ PLACEHOLDER = "__PKG__"
50
+
51
+ #: What the wrapper config leaves in the spool directory when it refuses,
52
+ #: and the sentence it refuses with. Read by the driver, which has nothing
53
+ #: else to go on: a config that threw wrote no spool.
54
+ REFUSAL_FILE = "wrapper-refusal.json"
55
+ PROJECTS_REFUSAL = (
56
+ "vitest project globs and config-file projects are not supported by "
57
+ "sensorium-ts 0.6.2: a string in test.projects or test.workspace names "
58
+ "another config this wrapper does not merge, so that project would run "
59
+ "unrecorded. Inline project objects are instrumented. Run one project "
60
+ "directly, sensorium ts run -- vitest run --project <name>")
61
+
62
+ #: Every character a JavaScript RegExp literal gives a meaning to, `/`
63
+ #: included -- it ends the literal.
64
+ META = ".*+?^${}()|[]\\/"
65
+
66
+
67
+ class WrapperError(Exception):
68
+ """The wrapper cannot be written. Always names the directory (D9): the
69
+ caller's next move is to look at its permissions."""
70
+
71
+
72
+ #: The four characters JavaScript counts as line terminators, none of
73
+ #: which may appear raw inside a single-quoted string. LF and CR are the
74
+ #: obvious two; U+2028 and U+2029 are invisible in every editor and legal
75
+ #: in a POSIX filename, which is exactly what makes them worth escaping.
76
+ LINE_TERMINATORS = (("\n", "\\n"), ("\r", "\\r"),
77
+ ("\u2028", "\\u2028"), ("\u2029", "\\u2029"))
78
+
79
+
80
+ def js_string(text: str) -> str:
81
+ """`text` inside a single-quoted JavaScript string. The backslash goes
82
+ first, or the escape this adds would itself be escaped."""
83
+ out = text.replace("\\", "\\\\").replace("'", "\\'")
84
+ for raw, escape in LINE_TERMINATORS:
85
+ out = out.replace(raw, escape)
86
+ return out
87
+
88
+
89
+ def js_regexp(text: str) -> str:
90
+ """`text` matched literally inside a `/.../` RegExp."""
91
+ return "".join("\\" + c if c in META else c for c in text)
92
+
93
+
94
+ def home(root: Path) -> Path:
95
+ return Path(root) / "node_modules" / DIRNAME
96
+
97
+
98
+ def _instrument_block(here: str, pkg: str, rt: str, setup: str,
99
+ external: str) -> str:
100
+ """The config body. Inline project objects each get a fresh layer.
101
+
102
+ A string, a glob, or a non-array is the refusal: that project would
103
+ run unrecorded. The four keys are the ones vitest reads, plus the
104
+ root-level spellings a consumer writes by mistake. Braces in this
105
+ text are JavaScript, so it is an f-string rather than ``str.format``.
106
+ """
107
+ return (
108
+ f"const __layer = () => ({{\n"
109
+ f" root: '{here}',\n"
110
+ f" plugins: [sensorium({{ root: '{here}', pkgDir: '{pkg}', "
111
+ f"rtPath: '{rt}' }})],\n"
112
+ f" test: {{\n"
113
+ f" setupFiles: ['{setup}'],\n"
114
+ f" server: {{ deps: {{ external: [/{external}/] }} }},\n"
115
+ f" }},\n"
116
+ f"}});\n"
117
+ "function __plist(cfg) {\n"
118
+ " if (cfg == null || typeof cfg !== 'object') return null;\n"
119
+ " if (cfg.test && cfg.test.projects !== undefined) "
120
+ "return ['test', 'projects', cfg.test.projects];\n"
121
+ " if (cfg.test && cfg.test.workspace !== undefined) "
122
+ "return ['test', 'workspace', cfg.test.workspace];\n"
123
+ " if (cfg.projects !== undefined) return ['', 'projects', cfg.projects];\n"
124
+ " if (cfg.workspace !== undefined) "
125
+ "return ['', 'workspace', cfg.workspace];\n"
126
+ " return null;\n"
127
+ "}\n"
128
+ "function __inline(list) {\n"
129
+ " return Array.isArray(list) && list.every((p) => p !== null && "
130
+ "typeof p === 'object' && !Array.isArray(p));\n"
131
+ "}\n"
132
+ "function __instrument(cfg) {\n"
133
+ " const found = __plist(cfg);\n"
134
+ " if (found === null) return mergeConfig(cfg, __layer());\n"
135
+ " if (!__inline(found[2])) return null;\n"
136
+ " const wrapped = [];\n"
137
+ " for (const p of found[2]) {\n"
138
+ " const w = __instrument(p);\n"
139
+ " if (w === null) return null;\n"
140
+ " wrapped.push(w);\n"
141
+ " }\n"
142
+ " if (found[0] === 'test') return { ...cfg, test: { ...cfg.test, "
143
+ "[found[1]]: wrapped } };\n"
144
+ " return { ...cfg, [found[1]]: wrapped };\n"
145
+ "}\n"
146
+ "const __out = __instrument(resolved);\n"
147
+ "if (__out === null) {\n"
148
+ f" const reason = '{PROJECTS_REFUSAL}';\n"
149
+ " const spool = process.env.SENSORIUM_SPOOL;\n"
150
+ " if (spool) {\n"
151
+ " fs.mkdirSync(spool, { recursive: true });\n"
152
+ f" fs.writeFileSync(path.join(spool, '{REFUSAL_FILE}'), "
153
+ "JSON.stringify({ reason }));\n"
154
+ " }\n"
155
+ " throw new Error(reason);\n"
156
+ "}\n"
157
+ "export default __out;\n")
158
+
159
+
160
+ def refusal(spool) -> str | None:
161
+ """What the wrapper config refused, or None if it did not.
162
+
163
+ Never raises: this is read on a path where something has ALREADY gone
164
+ wrong, and a second failure here would replace the sentence the caller
165
+ came for with one about a file it has no reason to care about.
166
+ """
167
+ try:
168
+ data = json.loads(
169
+ (Path(spool) / REFUSAL_FILE).read_text(encoding="utf-8"))
170
+ except (OSError, ValueError):
171
+ return None
172
+ reason = data.get("reason") if isinstance(data, dict) else None
173
+ return reason if isinstance(reason, str) and reason else None
174
+
175
+
176
+ def config_text(root, invocation: str, pkg_dir, user_config) -> str:
177
+ """The wrapper config, exactly as it is written."""
178
+ root, pkg_dir = Path(root), Path(pkg_dir)
179
+ rt = js_string(f"{pkg_dir}/src/rt.mjs")
180
+ pkg = js_string(str(pkg_dir))
181
+ here = js_string(str(root))
182
+ setup = js_string(str(home(root) / f"{invocation}{SETUP_SUFFIX}"))
183
+ base = ("" if user_config is None
184
+ else f"import base from '{js_string(str(user_config))}';\n")
185
+ block = _instrument_block(here, pkg, rt, setup, js_regexp(rt))
186
+ return (
187
+ f"// written by sensorium ts run for invocation {invocation}; "
188
+ "removed when it exits\n"
189
+ "import fs from 'node:fs';\n"
190
+ "import path from 'node:path';\n"
191
+ "import { mergeConfig } from 'vitest/config';\n"
192
+ f"import sensorium from '{pkg}/src/vite.mjs';\n"
193
+ f"{base}"
194
+ f"const user = {'base' if user_config is not None else '{}'};\n"
195
+ "const resolved = typeof user === 'function' "
196
+ "? await user({ command: 'serve', mode: 'test' }) : user;\n"
197
+ + block)
198
+
199
+
200
+ def setup_text(pkg_dir) -> str:
201
+ """The package's setup template with its placeholder resolved.
202
+
203
+ One template, two readings: the probes import the runtime by a relative
204
+ path and need no driver, and a driven run gets this. Keeping them one
205
+ text is what stops the driven wiring from drifting away from the wiring
206
+ the probes assert against.
207
+ """
208
+ pkg_dir = Path(pkg_dir)
209
+ template = (pkg_dir / "src" / "setup.mjs").read_text(encoding="utf-8")
210
+ return template.replace(PLACEHOLDER, js_string(str(pkg_dir)))
211
+
212
+
213
+ def write(root, invocation: str, pkg_dir, user_config) -> tuple[Path, Path]:
214
+ """Both files, or a refusal naming the directory that would not take
215
+ them. A partial write is cleaned up here: the caller's `finally` sees
216
+ the same two paths either way, but a config with no setup file beside it
217
+ would make vitest fail about a file the consumer never wrote."""
218
+ root = Path(root)
219
+ config = home(root) / f"{invocation}{CONFIG_SUFFIX}"
220
+ setup = home(root) / f"{invocation}{SETUP_SUFFIX}"
221
+ try:
222
+ home(root).mkdir(parents=True, exist_ok=True)
223
+ setup.write_text(setup_text(pkg_dir), encoding="utf-8")
224
+ config.write_text(config_text(root, invocation, pkg_dir, user_config),
225
+ encoding="utf-8")
226
+ except OSError as e:
227
+ remove((config, setup))
228
+ raise WrapperError(
229
+ f"cannot write this run's config into {root / 'node_modules'}: "
230
+ f"{e}; the wrapper has to live under node_modules for "
231
+ "`vitest/config` to resolve from your tree") from None
232
+ return config, setup
233
+
234
+
235
+ def remove(paths) -> None:
236
+ """Both files, then the directories that are now empty.
237
+
238
+ Runs in a `finally`, so it also runs over paths a failed write never
239
+ created and must not turn one failure into two. It stops at the first
240
+ directory that still holds something: a second invocation of the same
241
+ project has its own two files in there, and `node_modules` itself is
242
+ empty only when this driver is what made it.
243
+ """
244
+ paths = list(paths)
245
+ for path in paths:
246
+ Path(path).unlink(missing_ok=True)
247
+ if not paths:
248
+ return
249
+ directory = Path(paths[0]).parent
250
+ for _ in range(2): # .sensorium, then node_modules
251
+ try:
252
+ directory.rmdir()
253
+ except OSError:
254
+ return
255
+ directory = directory.parent
@@ -0,0 +1,245 @@
1
+ Metadata-Version: 2.5
2
+ Name: sensorium-trace
3
+ Version: 0.18.2
4
+ Summary: Execution-trace recorder for Python programs, driver and converter for the TypeScript and C recorders, and the LLM-native query CLI that reads every sensorium trace: Python's, the Rust recorder's, the TypeScript recorder's and the C recorder's alike
5
+ Project-URL: Homepage, https://github.com/bricelancasterwcp-sudo/sensorium
6
+ Project-URL: Repository, https://github.com/bricelancasterwcp-sudo/sensorium
7
+ Author: bricelancasterwcp-sudo
8
+ License: MIT
9
+ License-File: LICENSE
10
+ Keywords: debugging,execution-trace,testing,tracing
11
+ Requires-Python: >=3.12
12
+ Provides-Extra: conformance
13
+ Requires-Dist: mcp<3,>=2.2; extra == 'conformance'
14
+ Provides-Extra: dev
15
+ Requires-Dist: pyelftools>=0.31; extra == 'dev'
16
+ Requires-Dist: pytest-cov>=5; extra == 'dev'
17
+ Requires-Dist: pytest>=8; extra == 'dev'
18
+ Requires-Dist: pyyaml>=6; extra == 'dev'
19
+ Description-Content-Type: text/markdown
20
+
21
+ # sensorium
22
+
23
+ Record one run of your program, then let a coding agent ask what actually happened: call trees, exceptions, and where a value came from, answered from the trace or refused.
24
+
25
+ A failing checkout, three queries, no edits. `item_weight` returned 1800 grams and `shipping_cost` took that number as `weight_kg`.
26
+
27
+ ```
28
+ $ sensorium run -- pytest examples/test_shipping.py -q
29
+ F [100%]
30
+ E AssertionError: assert 5569.0 == 74.5
31
+ run: 20261116-104837-c926b7
32
+
33
+ $ sensorium exceptions last
34
+ raised (1):
35
+ e30 RAISE test_order_total_for_a_mug_and_kettle raise AssertionError("assert 5569.0 == 74.5\n + where 5569.0 = order_total([{'name': 'mug', 'price': 12.0, 'grams': 400}, {'name': 'kettle', 'price': 49.0, 'grams': 1800}])") L10
36
+ propagated (handler not in traced code)
37
+
38
+ $ sensorium flow last --value 1800
39
+ e22 CALL item_weight(item=dict[3]={'name': 'kettle', 'price': 49.0, 'grams': 1800}) [arg item.grams]
40
+ e23 RETURN item_weight -> 1800 [return]
41
+ e24 CALL shipping_cost(weight_kg=1800) [arg weight_kg]
42
+ sightings: 6 event(s), 6 capture(s)
43
+
44
+ $ sensorium refocus last --focus examples.shipping:shipping_cost --compact
45
+ refocus verdict: MATCH -- every recorded thread produced the identical CALL/RETURN/RAISE/HANDLED sequence
46
+ ```
47
+
48
+ From a clone, with `sensorium` and `pytest` on PATH:
49
+
50
+ sensorium run -- pytest examples/test_shipping.py -q
51
+
52
+ Event ids move when the program does; `last` is the newest trace. The bug lives in [`examples/shipping.py`](examples/shipping.py).
53
+
54
+ ## What Sensorium is
55
+
56
+ Sensorium records one run (every call, return, and exception, with captured values) into a SQLite trace, and answers debugging questions from that trace in plain text. Four recorders write [trace format 4](docs/TRACE-FORMAT.md). One command line, `sensorium`, reads all four.
57
+
58
+ - **Python**: `sensorium run -- <command>` uses PEP 669 (`sys.monitoring`). Python 3.12+, no runtime dependencies. A Python child (`subprocess`, `multiprocessing`, pytest-xdist) is recorded into that same run. `--no-children` or `SENSORIUM_NO_CHILDREN=1` records the parent only. A non-Python child is counted and not traced.
59
+ - **Rust**: `cargo sensorium test` or `cargo sensorium run`. Stable rustc, Linux. [rust/README.md](rust/README.md).
60
+ - **TypeScript**: `sensorium ts run [--focus <spec>]… -- vitest run …` or `-- node --test …`. Node 24, vitest 4.1. [typescript/README.md](typescript/README.md).
61
+ - **C**: `sensorium c run -- <cmd>` for a Linux x86-64 debug build (gcc or clang, `-O0` or `-Og`). [c/README.md](c/README.md).
62
+
63
+ A query refuses by name when a recorder lacks a capability.
64
+
65
+ Two commitments run through all of it. The instrument never answers from data it does not have: truncated captures are marked, sites a predicate could not be evaluated at are counted, a recording that died is labelled, and a rerun that was a different execution says so. Nothing here guesses. Every answer is a deterministic function of the recorded trace, and where the trace cannot settle a question the output says so instead of inferring. `refocus` is the one command that executes anything: it re-runs the program and says whether what came back was the same execution. The per-command limits are [docs/claims.md](docs/claims.md).
66
+
67
+ ## Answers from the trace, or refuses
68
+
69
+ Sensorium never guesses why a test failed. A well formed question whose recording cannot settle it is refused by name.
70
+
71
+ - **REFUSED.** Printed `REFUSED: ...` when a capability is missing, and `refocus verdict: REFUSED -- <run> was recorded and is queryable, but it could NOT be verified against <run>: treat it as a separate, UNVERIFIED execution` when a rerun could not be checked. `diff` prints `verdict: REFUSED -- cannot issue a MATCH/DIVERGED verdict`. Re-record.
72
+ - **NOTHING WAS CHECKED.** `watch` prints `verdict: NOTHING WAS CHECKED -- the predicate could not be evaluated at any of the N recorded site(s)` when no site had the names the predicate needs. The next line is `'hits: 0' here means 'could not evaluate', NOT 'the invariant held'`.
73
+ - **DIVERGED.** Two runs took different paths. `diff` prints `verdict: DIVERGED at causal step N`. `refocus` prints `refocus verdict: DIVERGED -- ...`. The new trace is queryable and is a different execution.
74
+
75
+ Exit 3 means change the recording. Exit 2 means fix the call. Details: [docs/claims.md](docs/claims.md).
76
+
77
+ ## Quickstart (Python 3.12+)
78
+
79
+ pip install sensorium-trace pytest
80
+ sensorium run -- pytest tests/test_something.py
81
+ sensorium exceptions last
82
+
83
+ `uv tool install sensorium-trace` puts the same `sensorium` command on PATH. Run these from your project root, in an environment that can import your code.
84
+
85
+ ## Connect your agent (MCP)
86
+
87
+ Use the absolute path to your project venv's `sensorium`. `--allow-run` lets the agent record and rerun; leave it off for read-only.
88
+
89
+ Cursor, `.cursor/mcp.json`, and Claude Desktop, `claude_desktop_config.json`:
90
+
91
+ ```json
92
+ {
93
+ "mcpServers": {
94
+ "sensorium": {
95
+ "command": "/abs/path/to/project/.venv/bin/sensorium",
96
+ "args": ["mcp", "--allow-run"]
97
+ }
98
+ }
99
+ }
100
+ ```
101
+
102
+ VS Code, `.vscode/mcp.json`:
103
+
104
+ ```json
105
+ {
106
+ "servers": {
107
+ "sensorium": {
108
+ "type": "stdio",
109
+ "command": "${workspaceFolder}/.venv/bin/sensorium",
110
+ "args": ["mcp", "--allow-run"]
111
+ }
112
+ }
113
+ }
114
+ ```
115
+
116
+ Claude Code:
117
+
118
+ claude mcp add sensorium -- /abs/path/to/project/.venv/bin/sensorium mcp --allow-run
119
+
120
+ `sensorium mcp` serves the same store on stdio. Every query except `redact` is a tool. `record`, `refocus`, and `record_c` exist only with `--allow-run`. Tools, the result header, the cap, and the audit file: [docs/mcp.md](docs/mcp.md).
121
+
122
+ ## How this differs from live debuggers and LLM tracing
123
+
124
+ - **Live debuggers over MCP** (DAP-based servers) make the agent step through a paused process, one breakpoint at a time. Sensorium records the whole run once, and the agent queries it afterward, as often as it likes, with stable event ids.
125
+ - **LLM tracing** (LangSmith, Langfuse and similar) records the model's prompts and tool calls. Sensorium records the program under test: its calls, returns, exceptions and values.
126
+ - **Not sensorium-mcp.** [andriyshevchenko/sensorium-mcp](https://github.com/andriyshevchenko/sensorium-mcp) is an unrelated Telegram and memory agent that shares the name.
127
+
128
+ ## Install
129
+
130
+ Python 3.12+. The CLI command is `sensorium`. The name `sensorium` on PyPI and npm is an unrelated project; these packages publish as `sensorium-trace`.
131
+
132
+ pip install sensorium-trace
133
+ uv tool install sensorium-trace
134
+
135
+ TypeScript recorder (Node 24):
136
+
137
+ npm install sensorium-trace
138
+
139
+ These resolve once the packages are on the indexes. The import and the CLI stay `sensorium`. The npm package is the recorder library; traces still report `recorder: sensorium-ts`.
140
+
141
+ From git:
142
+
143
+ uv venv .venv && uv pip install -p .venv/bin/python "sensorium-trace @ git+https://github.com/bricelancasterwcp-sudo/sensorium"
144
+
145
+ Dev checkout: `uv venv .venv && uv pip install -p .venv/bin/python -e ".[dev]"`. Details: [docs/install.md](docs/install.md).
146
+
147
+ The recorder is `sys.monitoring` and nothing else, so on 3.11 it refuses to start. Witnessing a `multiprocessing` spawn needs the `_posixsubprocess.fork_exec` audit event, which arrived in 3.14. Below that, such a spawn is unwitnessed, and `refocus` says so by withholding the "no child process witnessed" line ([docs/claims.md](docs/claims.md)).
148
+
149
+ ## Commands
150
+
151
+ sensorium run -- pytest tests/test_fog.py
152
+ sensorium runs
153
+ sensorium info last
154
+ sensorium tree last --depth 3
155
+ sensorium frame last --fn compute
156
+ sensorium grep last compute --kind RETURN
157
+ sensorium exceptions last
158
+ sensorium failures last
159
+ sensorium flow last --value 1800
160
+ sensorium flow last --object build_key:record
161
+ sensorium diff RUN_A RUN_B
162
+ sensorium refocus last --focus fog:compute
163
+ sensorium redact --all --dry-run
164
+ sensorium mcp --allow-run
165
+
166
+ Per-line state is opt-in: `sensorium run --focus fog:compute -- ...`, then `sensorium watch last --at fog:compute --expr '...'`. Asked without that `--focus`, `watch` reports `NOTHING WAS CHECKED` and prints the re-record command. It does not report zero hits.
167
+
168
+ Traces land in `~/.sensorium/traces` (or `$SENSORIUM_DIR/traces`), one SQLite file per run. Rust, TypeScript, and C write to the same directory, so one `runs` lists all four. A run reference is a full id, a unique prefix, or `last`. Events are `eN` and frames are `fN`, and those ids stay stable, so an answer from one command is an argument to the next. `--fn` matches a qualname exactly first, then as a substring, and refuses when more than one name matches. Asyncio frames, `--window`, and `flow --object`: [docs/use.md](docs/use.md).
169
+
170
+ ## Rust, TypeScript, and C
171
+
172
+ - **Rust.** `rust/` ships `sensorium-rt` 0.7.3, `sensorium-transform` 0.5.2, and `cargo-sensorium` 0.8.4. `cargo install --path rust/cargo-sensorium`, then `cargo sensorium test` or `cargo sensorium run` from a workspace. Linux, stable rustc. Panics show up in `failures`. [rust/README.md](rust/README.md). What it does not see: [rust/HONESTY.md](rust/HONESTY.md).
173
+ - **TypeScript.** `typescript/` ships `sensorium-ts` 0.6.2. A trace reports `recorder: sensorium-ts`. Node 24. From a checkout, `npm ci --prefix typescript`, then `sensorium ts run -- vitest run …` or `sensorium ts run -- node --test …`. A shell-free `npm test` that runs vitest or `node --test` is expanded. jest is refused by name (no jest transformer). Inline vitest project objects are instrumented; a project named by a string or glob is refused. `for await` inside a function is recorded; top-level `await` is not. [typescript/README.md](typescript/README.md).
174
+ - **C.** `sensorium c run -- <cmd>` records a Linux x86-64 debug build (`-O0` or `-Og`, gcc or clang). Crashes are what `exceptions` reads. [c/README.md](c/README.md).
175
+
176
+ Recording follows code under the working directory the run started in, so `sensorium run -- pytest ...` traces your tests and your code, and not pytest's. `--focus module:qualname` adds line-level capture for the named code. `--window QUALNAME` limits that capture to what runs inside one function. The `fog.py` examples in [docs/use.md](docs/use.md) were run as typed.
177
+
178
+ ## Exit statuses
179
+
180
+ The exit status is the caller's next action, not a health code:
181
+
182
+ | exit | meaning | examples |
183
+ |---|---|---|
184
+ | 0 | the question was answered affirmatively. The trace says yes | `grep` found a match; `refocus` MATCH; `watch` SATISFIED |
185
+ | 1 | the question was answered negatively. The trace says no, or none | `grep` `matches: 0`; `exceptions` `no exceptions recorded`; `refocus` DIVERGED |
186
+ | 2 | the call is wrong, edit the command and ask again | an ambiguous `--fn`; `--nth` out of range; a run reference that resolves to nothing; `refocus` refusing before any rerun was attempted |
187
+ | 3 | the trace cannot settle it, change the recording and re-record | `watch` `NOTHING WAS CHECKED`; `refocus` REFUSED after a rerun; `exceptions`' uncaught-without-RAISE arm; `exceptions` on a Rust trace whose recorder predates err flow (`recorder sensorium-rt 0.2.0 declares it does not produce (capabilities.err_flow: false)`) |
188
+
189
+ `run` exits with the target's own status. It never applies this table to itself.
190
+
191
+ Every invocation is appended to `<trace root>/invocations.jsonl` (default `~/.sensorium/invocations.jsonl`, or under `$SENSORIUM_DIR`) as one JSON line with `utc`, `argv`, `exit` and `error` (the exception class name or null) and nothing else: never the environment, never the working directory. Set `SENSORIUM_NO_INVOCATION_LOG` to any non-empty value other than `0` to turn it off for one process, `=0` leaves logging on. The same branch is [docs/agent.md](docs/agent.md).
192
+
193
+ ## For agents
194
+
195
+ Install, record one run, query it, serve it over MCP: ten steps in [docs/agent.md](docs/agent.md). After install, prove the path with `.venv/bin/python -m pytest tests/test_agent_smoke.py -q`.
196
+
197
+ ## What the answers claim
198
+
199
+ Sensorium reports; the agent reading it reasons. Nothing in an answer is inferred from data the trace does not hold.
200
+
201
+ - `diff` compares the shape of two runs, `(file, qualname, kind)`, not their values. A pure move reads DIVERGED unless `--ignore-moves` can pair the name uniquely.
202
+ - `refocus` re-runs, then issues MATCH, DIVERGED, or REFUSED. The licence lists only the checks that ran. A check that could not run withholds the licence. Exit 2 means nothing was re-run.
203
+ - `tree` derives parentage from the caller frame, not from "the last frame on this thread".
204
+ - `exceptions` claims SWALLOWED only when the recording establishes it. Anything short of that is `ambiguous`, with the reason printed.
205
+ - `watch` never reads zero hits as "the invariant held". A site it could not evaluate is counted.
206
+ - `flow` is lineage over captured values, not static dataflow.
207
+ - `info` labels an INCOMPLETE recording and does not print a `0` as proof that nothing happened.
208
+
209
+ The full wording is [docs/claims.md](docs/claims.md). `exceptions`, `watch`, `flow`, and Rust `refocus` in detail are [docs/query.md](docs/query.md).
210
+
211
+ ## What a trace holds, and what it does not see
212
+
213
+ A trace holds the process environment (minus what rule v1 withheld), stdout and stderr, the command line, source digests, and captured values. It does not see children by an unlisted mechanism, non-Python threads, files the program read, code outside the run root, the clock, or the network. Treat a trace as a core dump. [docs/visibility.md](docs/visibility.md). Redaction: [docs/redaction.md](docs/redaction.md).
214
+
215
+ ## Overhead
216
+
217
+ Recording overhead and read-back cost are [docs/overhead.md](docs/overhead.md).
218
+ Measured with `python corpus/run_corpus.py --bench`.
219
+ The headline: 2.9× on the corpus's typical workloads, up to 194× on the call-dense one under `--focus`. Record failing tests, never benchmarks.
220
+
221
+ ## Corpus
222
+
223
+ python corpus/run_corpus.py # verify against seeded bugs
224
+ python corpus/run_corpus.py --show # print the questions and commands
225
+ python corpus/run_corpus.py --bench # report recording overhead
226
+ python corpus/run_corpus.py --require-driver # a skipped Rust or TypeScript case is exit 1
227
+ python corpus/run_corpus.py --via mcp --compare-cli # every tool question through the MCP server, diffed against the CLI
228
+
229
+ Small programs with planted bugs, and questions registered before any output was looked at. **115 cases and 253 questions.** A case whose recorder is not built is reported skipped by name. `--bench` reports; it never gates. Case by case: [docs/corpus.md](docs/corpus.md).
230
+
231
+ ## Not yet
232
+
233
+ What each slice deferred, and the ruling each deferral is waiting on, is [docs/CARRIED-DEBT.md](docs/CARRIED-DEBT.md).
234
+
235
+ ## License
236
+
237
+ MIT, see [LICENSE](LICENSE). Copyright © 2026 Brice Lancaster.
238
+
239
+ Versions after the Proprietary interlude are again under MIT (matching releases through 0.14.0).
240
+
241
+ ## Also
242
+
243
+ - [docs/agent.md](docs/agent.md), [docs/mcp.md](docs/mcp.md), [docs/query.md](docs/query.md), [docs/TRACE-FORMAT.md](docs/TRACE-FORMAT.md)
244
+ - [docs/install.md](docs/install.md), [docs/changelog/README.md](docs/changelog/README.md), [docs/planning/README.md](docs/planning/README.md)
245
+ - [ORIGIN.md](ORIGIN.md)
@@ -0,0 +1,135 @@
1
+ sensorium/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ sensorium/__main__.py,sha256=-3k94gxHmA_vR4Ob4otjdUNGUcntigYc4oLCRypYh-4,88
3
+ sensorium/cli.py,sha256=oHYmdVG0u_0MPbXMV_6JTReJfqFUXiL7rXlI612s3mw,6694
4
+ sensorium/driver.py,sha256=OfBKX2Q4FkvskPmFXdOwePP1s-On5DeUg7VyGg5gFco,2451
5
+ sensorium/exit.py,sha256=cY_7YCxr_dbQY4rTUaIbDozX5r5t69byWmky4DroV4I,1319
6
+ sensorium/invocations.py,sha256=-E15iAvtjVq7lzs8vt6_XQ5pgqP8X3FlU7vM3pgQVtU,3736
7
+ sensorium/limits.py,sha256=VY3glWrwL_mEuqRq814_w5qxTxLcX-rgTkxQQ2-hYf4,8794
8
+ sensorium/paths.py,sha256=MqFGpePdJsX5XFXMihcsPdZIltp7oTiaCSyfBJ1btwY,2972
9
+ sensorium/redact.py,sha256=xvjUoZkihzWDArWhIQ8CkSEi7ExUZbJuVEGVBaivJLk,13403
10
+ sensorium/redact_content.py,sha256=KSR3Q2_70ahIDMJ04LKw25Ruq4ytHdk7cBbQsMW8eJs,7473
11
+ sensorium/redact_key.py,sha256=b4NDpufmhvnGvewwZTR7dcWtmBZNebi-lqFCQthJOnc,13571
12
+ sensorium/redact_store.py,sha256=ssnuzJasjXLEZFy4g08X1lS680gAhKECrkiXc_3o4tM,22599
13
+ sensorium/redact_values.py,sha256=OQn68MCcmiTKLt_Ho_9PiBQ9zhSGpPzwgwMA8fKU41Q,17844
14
+ sensorium/c/__init__.py,sha256=w5aPygoFBJfP5sPnIKexlVcK7fPNraMBOk0PsCw6h98,216
15
+ sensorium/c/cc.py,sha256=x3cK0_xnWqnaRK8Gkhg2ex70qmKum5O2iyi4wuq0TiI,20480
16
+ sensorium/c/cli.py,sha256=_6BcdwfMrKDan-Pxrr_5L7z6cjRFOR9tvAar-n8cGaw,2562
17
+ sensorium/c/convert.py,sha256=6cor0EmhRbD6xIpuVstxF_Gnicqmk5wKxwFWy8i2mRc,22583
18
+ sensorium/c/decode.py,sha256=Vi9nIblYJzyuBhD6_VEx_TvIi1Kaa7qbfmzfSmfv4xE,9707
19
+ sensorium/c/driver.py,sha256=1xmLBneoXEGNpriZ4ydJZs_KuX7VlSEUwkmbfO9yV0c,12066
20
+ sensorium/c/dwarf.py,sha256=vvNh9yqlFHwukC4uTv9T_3fvzf8p7xAikazfW0Ut1KQ,23175
21
+ sensorium/c/format.py,sha256=rK4FN-o3xp6o81T8RFM2yBlHqDRoClq06PKgyzw2zf8,8881
22
+ sensorium/c/pkg.py,sha256=NTuO6sIkWRUWXb2PTuCLCPtHuQT3E51Iv61PYqZYNCk,6053
23
+ sensorium/c/plan.py,sha256=n1rfvooTUCB9N5AxqeNOQ6954rXBwiKnEEWyzSlgHEc,8313
24
+ sensorium/mcp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
25
+ sensorium/mcp/audit.py,sha256=7pyU1z1IzGZk3TO9RZCdnQX7JhTcnDeH50PzjX67rAk,7590
26
+ sensorium/mcp/child.py,sha256=hFjN7fr_28nHnqLYJdTonFumAezMWdpMnpY4z9KTj-I,10325
27
+ sensorium/mcp/cmd.py,sha256=7twkfq5oM1HuL43EJJKnA1eC539rYPlHkovidrYCoik,4807
28
+ sensorium/mcp/jsonrpc.py,sha256=48PdLQNosrns9K-rJrxK3uKpCFQVmhnvPtyBGKjuyl4,7736
29
+ sensorium/mcp/result.py,sha256=A02pByt7hFdlb0EEQAVWZVrhlK-D2dNP8e24lWttPLc,8705
30
+ sensorium/mcp/schema.py,sha256=sIPJFsQkIm03RX1S6pPx8ZB_IJrsKgENp55Yh4KH3bA,16467
31
+ sensorium/mcp/server.py,sha256=DSFhasZvl0dh_LDfHR-HO2WVJU0M1b-rAC4Ow_6kJmQ,21871
32
+ sensorium/mcp/tools.py,sha256=7-fdme6ZdbQgpzb569RDH9YnnYyWVWBIWn7fgdwJ1IA,13221
33
+ sensorium/query/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
34
+ sensorium/query/caps.py,sha256=_BtUGX7IGLam7ksUMCgbtaZ-XTrKiXwFikTnNFBaZmE,7257
35
+ sensorium/query/dbg_dialects.py,sha256=ykj1k2esCaSbPfVnPkUUepgV5ZE8-T67Y03odUtAk9A,2849
36
+ sensorium/query/diff_cmd.py,sha256=mrdiqAD-2-FDXQvSED8Ne6zh0Cp10WGgKYdHD4vAMEs,36734
37
+ sensorium/query/diff_notes.py,sha256=sjt-DfTXLPNv0qNF6tgGQ6DxUucA-YtafEqQYyg6oG8,6045
38
+ sensorium/query/exceptions_c.py,sha256=1gopCaORej2QGzZgXjx0SKYVKHIAbh4K342dJzn1B4w,8812
39
+ sensorium/query/exceptions_cmd.py,sha256=lUAi8BiqCQZLmkavbaKM3KVIE4IrKmjNsVgzgB59VC8,38922
40
+ sensorium/query/exceptions_group.py,sha256=yI8Cs3IlYTP_lXe2KcBkW371F8EWdsB4eGUj8twZ2yM,28927
41
+ sensorium/query/exceptions_invocation.py,sha256=gHpT1m-CpIo4YVL-hLy0jPuyglrd8EVlclvrwNFzueM,23467
42
+ sensorium/query/exceptions_rust.py,sha256=BfOctO7PAVUN987qMG-NxtE8RFiuvHicvktGSiquCHU,31317
43
+ sensorium/query/exceptions_typescript.py,sha256=jqIQlZBkNod1cOPH4wl9cuNbA6k1DCCwPGbjvH7lJ0c,31226
44
+ sensorium/query/expr.py,sha256=6ToTX5MUSXD6gTkMXAJZ8s3IVkVPKY6EcoHXAYK32EY,28303
45
+ sensorium/query/failures_cmd.py,sha256=GIuFaoHeDT-1WFRfTpjWM77Uj72K5lUHitEkfoTa5Fc,11009
46
+ sensorium/query/flow_cmd.py,sha256=44152Us3UFnvIZtwrcQt0S_0oN_rq9Q7b2vy3PO3fWo,37083
47
+ sensorium/query/flow_report.py,sha256=3ybb8AuUmhHVFGsshP6ZXq9okyKcNrdK3uAyJmkzUbc,5743
48
+ sensorium/query/flow_values.py,sha256=WcrmIkxGnBGuugF9e9DItyA0WduxCQuD4SYmt5Gcm7M,8799
49
+ sensorium/query/fmt.py,sha256=iwvgXDjEshepBovscHGOVdxVda7WExHt9Wro3ujR7OM,12402
50
+ sensorium/query/frame_cmd.py,sha256=0w0aglbILgj7EdJzGS6TJuux9k-zeN1fzoe8nBrbdlI,12697
51
+ sensorium/query/grep_cmd.py,sha256=w1LXEhl3nVVvmHRyNL5LPBGMqXY-3vUrIX84Xu4e-MM,6780
52
+ sensorium/query/help.py,sha256=vB6Y6u26q61yOKGI3F1j0awChHxdziWrvQJ86kcDqmw,890
53
+ sensorium/query/info_cmd.py,sha256=Ij4QuuK1aFPO3G5SbyzIRlqBAB1BuPWHax5pCZtDfKA,27355
54
+ sensorium/query/info_rust.py,sha256=CHbVyjW8YZZr3JsWPIzoQeZAVPtRY2O03sZ0VdEF6kE,10329
55
+ sensorium/query/info_typescript.py,sha256=UW6hLQm_DoKnwwn0U2cSZHL3CjtesOBMyX-13XLH8EQ,11370
56
+ sensorium/query/js_inspect.py,sha256=aTJ3_zMgWcmFs2YY5nGlGOhDVYF971SfCzrIw7pezBM,18063
57
+ sensorium/query/moves.py,sha256=iJr6amj8NjemKFUPWCw8HVKMI6eAO-UU8W5X4dPvrBU,11779
58
+ sensorium/query/redact_cmd.py,sha256=ekoYjAe5BjooLX28Hpl0mRutt2G5sC5xchPkIzRt6Zw,15417
59
+ sensorium/query/refocus_cmd.py,sha256=q0t2BbRi0HrNj_yEhkE5_KpvyA0XI7mJiVWYO1ar7F0,34716
60
+ sensorium/query/refocus_env.py,sha256=7sLKZJjk_so7IA5U9IC1Wsirnm0x1s3q76J9-sWOmVw,23591
61
+ sensorium/query/refocus_facts.py,sha256=A2hA9S3JwaLcuKa2WsFg8vJz-uKXeHl4f7eYI3WgQSY,12651
62
+ sensorium/query/refocus_licence.py,sha256=_v4apewAJbSdogcQy2BvQajp8_VDYo6C-2cyu05OG6k,9378
63
+ sensorium/query/refocus_report.py,sha256=kl3uJjTks7FMu3FXSngR-4OUUJ9dL3qsuwnrKDsYsjM,16607
64
+ sensorium/query/refocus_rust.py,sha256=Bj4JdMh1vkKF54JrhsHdvO9AwvV3cI2248QL60bjotw,26546
65
+ sensorium/query/refocus_threads.py,sha256=iiS6xy-8pcau2qvsz87INzw8XvlgjKirBgR3PxCcpWo,10012
66
+ sensorium/query/refocus_typescript.py,sha256=kqzsNqIZP9mnAP6AefowItn3WtfrgVfPR44hPmeADvE,37709
67
+ sensorium/query/refocus_world.py,sha256=emwFIDzL0Sl7AWvcSvKxgFP7bHze5j2qU9E6oUVz4ZY,36825
68
+ sensorium/query/runs_cmd.py,sha256=I7_DVzo6bEhUvxaXjCjZw9rYt8RSS2lHUEXWB4SM_bg,9148
69
+ sensorium/query/rust_debug.py,sha256=0sCnQATioxCKVZ-znuduuJz9SglnPUR-6tFKwBEGHzg,7608
70
+ sensorium/query/sites.py,sha256=peFsBGGwCHbMZL2wAgxeGTKjkMcXL6P2u5wGZjpDnPQ,7571
71
+ sensorium/query/tree_cmd.py,sha256=lpp4URWsle3IMihRrmoZGKlAbF6yNtzbBhu0OjzVpHE,24204
72
+ sensorium/query/tree_threads.py,sha256=DK45W81eP23MYZjmkU3lLs02k6Z8eIX4JGQS3e51Kk0,6211
73
+ sensorium/query/vocab.py,sha256=x98SyPoNlcHt0bquuZbZPFm7skmT8hVLi6mqSsJ9G0w,39116
74
+ sensorium/query/watch_cmd.py,sha256=WDY97gl_j3B4I_9pmxcl8GRCZGcIpOOvsb2BoExtopI,29969
75
+ sensorium/record/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
76
+ sensorium/record/boot.py,sha256=SPmd_tflf5EUoLsBgk-XYr9qNUVE0YdOd_yb5jNDR6s,36313
77
+ sensorium/record/boot_io.py,sha256=uWSB0f42Owxd-qE8VTdl2JhrMUqFL0C4xTg2iv0nyXU,6158
78
+ sensorium/record/budget.py,sha256=uDAxQWKBW--dPbsKSMmE5R9zqOCLK0_Ua2ZICCw4M_U,5315
79
+ sensorium/record/capture.py,sha256=Rlg2JWHToSsQuLL-1n1mwNCw1WtdEIs_hjGcetMRTmg,16535
80
+ sensorium/record/children.py,sha256=MRghI8Fs4WzCQ6kmMPOvGOXG5as4DKK0xTcZh4gLpAI,24952
81
+ sensorium/record/children_merge.py,sha256=4B4UbflcNd7eoSeysXwinu5c5G89_XSEEP74a5G-XSM,5683
82
+ sensorium/record/elide.py,sha256=cIf-7qPM_DGBZ3EA_HUOga_KDseqNxhBkFmZ0Km-vP4,2061
83
+ sensorium/record/fingerprint.py,sha256=2nfASpjoxR0rz74bhArMB-l97obGK838hGoWn2vg5h8,1001
84
+ sensorium/record/thread_starts.py,sha256=ESKwxoWVwyVfXd_OTX0MADVmylyyHLKqcR-exGcjOA8,9063
85
+ sensorium/record/tracer.py,sha256=buLVXcdgaLjto9d4Sh5kI9-g5RW6caBWnoHAV4AKPDM,41465
86
+ sensorium/record/tracer_exc.py,sha256=_hlmhG8LY0LLTAluib9kx8asgQfbKg4SF2yEMVjjp6U,11247
87
+ sensorium/record/tracer_frames.py,sha256=dPoMaDILcSqeY0q33qCSZe-8cGX14LT4lNzUYrPSAGA,25038
88
+ sensorium/store/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
89
+ sensorium/store/db.py,sha256=wDBPyWHZFv-wLBGa11xTloSus6usBQLc0MLYlwxqNPo,11589
90
+ sensorium/store/gc.py,sha256=cnfR6_mK7Jw3-l-aRnOwW8dcAc-dHLJfLsvPQOejg70,12165
91
+ sensorium/store/payloads.py,sha256=l8-KEyi-6gHgkYfG83vA2MGEbSWn6d9txr8XwrPaHDo,2590
92
+ sensorium/store/reader.py,sha256=Hy7G-ost9udjbS0LMTtSXVTAwFstk0fNa8Da3fWvLm0,19103
93
+ sensorium/store/writer.py,sha256=nl1QEcPyydXoz0Rzx8pFoyRaOxGxCt7eU5AgZoZENUs,12277
94
+ sensorium/ts/__init__.py,sha256=vsj7tADznIpLejzosmiRQ3sp3keNOdlMM9qJ0XgqHdI,488
95
+ sensorium/ts/build.py,sha256=QSUhANj_lk3OGGe2F6LVP05NR8jwgJHWNQdC3YXDM1M,36900
96
+ sensorium/ts/cli.py,sha256=el6xeGmWppwvtaBKOFQe6KdUyrjarvbBWqQ72sLRsM0,6400
97
+ sensorium/ts/driver.py,sha256=mL-YqY1XWing1L-chKM0sIwz-34B-UBQWFjj5-Gr5-w,21328
98
+ sensorium/ts/focus.py,sha256=ys-SgYnqbLUrTsiydbc1SOGTNX94NAbKEunF9ZKSLFo,6534
99
+ sensorium/ts/harness.py,sha256=3YwxNQce-kJTzyXUO-auriEBOaYoIk4b5HsAas02uNI,12923
100
+ sensorium/ts/ingest.py,sha256=6IG3cacnHicQPyWtNrUx51TU5fZ6iiUbQ_GMFyDFLJs,16267
101
+ sensorium/ts/invocation.py,sha256=Ftx6F0Q3m6NXYpQj6W_Rx0WFUPsc2ooKyTnaHxavyng,11376
102
+ sensorium/ts/pkg.py,sha256=VVs1Mg-wmc1NY9dm3eJNqAFGic9FpB0JQk4k8bGhjSQ,7287
103
+ sensorium/ts/redaction.py,sha256=Dp1LXNk5PdlWJBlhD3cl0Vb_6R_MP5nlHLW4NO1hvlU,2798
104
+ sensorium/ts/spool.py,sha256=tqMHTLon5FJTkW7ROhBNCKuwrXU29M-13xGR-VH_NQE,7467
105
+ sensorium/ts/truncation.py,sha256=9366oq7tBUOt0JF6tXrSIkpCj-M5D8EQw54zx3w-iEY,2764
106
+ sensorium/ts/wrapper.py,sha256=-i5li4ErsqLl-W-VlvNeKn4E0Vp4mQAVsrQ-AzmkmXA,11272
107
+ sensorium/_typescript/package-lock.json,sha256=N22rXQlhPlAzCFMaQsmNjdQdDnDP6mXaOdKIUsfSPWw,2267
108
+ sensorium/_typescript/package.json,sha256=zAPWUVDjZaalAg8xTDegXvh8QjyB6-B4tEkizOGjQ00,937
109
+ sensorium/_typescript/src/bindings.mjs,sha256=OJEXFTgWYTVm1ycUQv2EFVd9lPjTKPgEWuLG3uKbiPY,29425
110
+ sensorium/_typescript/src/cap.mjs,sha256=MLcS9313uHr85L4qdfPHDLhXD3rIJDDMbKkkVBKl4qM,7585
111
+ sensorium/_typescript/src/capabilities.mjs,sha256=WVJEW1Pv4NIGJA6-b96LYFf5o8TrahheWkussLJoj_M,2139
112
+ sensorium/_typescript/src/dbg.mjs,sha256=vlkjpxWlLJvEHGM5Ja5gJEExGInrbgv9tmAFTdBVzjY,12016
113
+ sensorium/_typescript/src/escape.mjs,sha256=JOW_NMa95VmDuNiTn_U5f_bGKJGTU7GHqqt7ZCz33AA,14672
114
+ sensorium/_typescript/src/focus.mjs,sha256=pShBsviAJMi18lDOk1nDtwinLX7DJvuhR2dhQf266z4,5330
115
+ sensorium/_typescript/src/hook.mjs,sha256=gVv_zAMzNXVarG5lfDeWAv_GTbG9SwF4ses8SZFHBEw,6992
116
+ sensorium/_typescript/src/index.mjs,sha256=wBo2i81Xw_zPKQPLZ6xsL6ntXI6C4RH-md0vElDasI0,32
117
+ sensorium/_typescript/src/naming.mjs,sha256=-DwRbWHI1pktihYu_Nl0AE07ivhbs91tIVQ7FC-WArQ,2545
118
+ sensorium/_typescript/src/positions.mjs,sha256=Kbl82fxcgEJm1ypc1u2iCpTnKWROdrBhFvL5o8t_hlk,1693
119
+ sensorium/_typescript/src/probe.mjs,sha256=kRfOtQg9tVcxf-ZuhewkXxoH06Zh5qrtvcjkSSOPY2I,10296
120
+ sensorium/_typescript/src/qualname.mjs,sha256=Jjnj8Zfi-KsDR1UuMdS2h3CRft0IzLfjZQk7YoBVR1I,8020
121
+ sensorium/_typescript/src/redact.mjs,sha256=b2yoO2YjamWMQ6IwTQE-SyCXd7_nobnR5qCP_Ct4294,30043
122
+ sensorium/_typescript/src/register.mjs,sha256=ApV1nTfHjEtPnua6zAMrXXojEZLlHuxgjB5tuPASMVU,666
123
+ sensorium/_typescript/src/resolve.mjs,sha256=PaggH_gFIBzj4BaDR2-4Cbd2r4WeCpXwh909fJtDnTs,10236
124
+ sensorium/_typescript/src/rt.mjs,sha256=zT_wH6UnFu6didENy80ptZKK_6wJWHw0ZNpubmCvWAk,29596
125
+ sensorium/_typescript/src/setup.mjs,sha256=4VDl7LftO0jhHNDR3DGIADvTxgI9Ew5c4kQ7eUKQmtQ,780
126
+ sensorium/_typescript/src/tally.mjs,sha256=arzxfACQxwEWhDdUC8uDuBg0usCk0YzYzEioewANcNs,6632
127
+ sensorium/_typescript/src/tasks.mjs,sha256=Juck1W1d--bQdpyJHapt-HAAKx5KVvWfrsunKT3bOA0,7470
128
+ sensorium/_typescript/src/transform.mjs,sha256=ZROUiUHLO34XrlrU_oSMwa4C9PZpG8BTkRakk1gcE-A,33120
129
+ sensorium/_typescript/src/vite.mjs,sha256=a23wSSOOOpZaB1juXMRH4usUyKG9M4BYA1dN0QUAnVs,4627
130
+ sensorium/_c/rt/sensorium_c_rt.c,sha256=UK7fmSwQe4c6I5IHBfQBcK5cv5V8e7dPUsOjfmr0GVQ,44137
131
+ sensorium_trace-0.18.2.dist-info/METADATA,sha256=DY9ZdPFT9IcSuQvZqslVaLnXvPBP1yUEl0Xl4WXz4Do,16169
132
+ sensorium_trace-0.18.2.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
133
+ sensorium_trace-0.18.2.dist-info/entry_points.txt,sha256=1_LeTNQXd2ur_yXi8r1y9k5htAUznY9iCsZPpQZs27M,84
134
+ sensorium_trace-0.18.2.dist-info/licenses/LICENSE,sha256=W6AQEsmqF25R2HBY9d2fflVI8CFXTsnPRiFVWPyObO8,1072
135
+ sensorium_trace-0.18.2.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.33.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,3 @@
1
+ [console_scripts]
2
+ sensorium = sensorium.cli:main
3
+ sensorium-cc = sensorium.c.cc:main