Development at the speed of light
This report summarizes scanner evidence for clockworklabs/SpacetimeDB, a Rust project with 25,468 GitHub stars. SynthScan examined 1,021,111 lines of code across 6504 source files, recording 2627 pattern matches distributed across 19 syntactic categories. The legacy adjusted pattern signal is 3.9 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 2355 finding(s).
Are imports declared and package/API names verified? 103 finding(s).
Are wrappers, guards, and repeated structures necessary? 203 finding(s).
Which changes need focused human review? 2627 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 2627 distinct pattern matches across 19 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ent_unreal/Public/ModuleBindings/SpacetimeDBClient.g.h | 1 | // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE | COMMENT |
| LOW | …nt_unreal/Public/ModuleBindings/Tables/ConfigTable.g.h | 1 | // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE | COMMENT |
| LOW | …nt_unreal/Public/ModuleBindings/Tables/CircleTable.g.h | 1 | // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE | COMMENT |
| LOW | …nt_unreal/Public/ModuleBindings/Tables/EntityTable.g.h | 1 | // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE | COMMENT |
| LOW | …ient_unreal/Public/ModuleBindings/Tables/FoodTable.g.h | 1 | // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE | COMMENT |
| LOW | …blic/ModuleBindings/Tables/ConsumeEntityEventTable.g.h | 1 | // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE | COMMENT |
| LOW | …nt_unreal/Public/ModuleBindings/Tables/PlayerTable.g.h | 1 | // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE | COMMENT |
| LOW | …ent-unreal/Source/client_unreal/Private/PlayerPawn.cpp | 1 | #include "PlayerPawn.h" | COMMENT |
| LOW | …nt-unreal/Source/client_unreal/Private/GameManager.cpp | 1 | #include "GameManager.h" | COMMENT |
| LOW | …_unreal/Private/ModuleBindings/SpacetimeDBClient.g.cpp | 1 | // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE | COMMENT |
| LOW | …io/client-godot/module_bindings/SpacetimeDBClient.g.cs | 61 | /// Access to reducers defined by the module. | COMMENT |
| LOW | …io/client-godot/module_bindings/SpacetimeDBClient.g.cs | 81 | /// Throws an error if the connection is already closed. | COMMENT |
| LOW | …io/client-godot/module_bindings/SpacetimeDBClient.g.cs | 121 | { | COMMENT |
| LOW | …io/client-godot/module_bindings/SpacetimeDBClient.g.cs | 141 | /// <summary> | COMMENT |
| LOW | …io/client-godot/module_bindings/SpacetimeDBClient.g.cs | 161 | /// <summary> | COMMENT |
| LOW | …io/client-godot/module_bindings/SpacetimeDBClient.g.cs | 201 | Exception IErrorContext.Event | COMMENT |
| LOW | …io/client-godot/module_bindings/SpacetimeDBClient.g.cs | 221 | public RemoteReducers Reducers => conn.Reducers; | COMMENT |
| LOW | …io/client-godot/module_bindings/SpacetimeDBClient.g.cs | 241 | } | COMMENT |
| LOW | …io/client-godot/module_bindings/SpacetimeDBClient.g.cs | 281 | /// | COMMENT |
| LOW | …io/client-godot/module_bindings/SpacetimeDBClient.g.cs | 301 | /// </summary> | COMMENT |
| LOW | …io/client-godot/module_bindings/SpacetimeDBClient.g.cs | 341 | } | COMMENT |
| LOW | …io/client-godot/module_bindings/SpacetimeDBClient.g.cs | 361 | /// The returned <c>RemoteReducers</c> will have a method to invoke each reducer defined by the module, | COMMENT |
| LOW | …io/client-godot/module_bindings/SpacetimeDBClient.g.cs | 381 | public void Disconnect() | COMMENT |
| LOW | …io/client-godot/module_bindings/SpacetimeDBClient.g.cs | 481 | /// The provided callbacks will be invoked once the data is returned from the remote server. | COMMENT |
| LOW | …nt-unity/Assets/Scripts/autogen/SpacetimeDBClient.g.cs | 61 | /// Access to reducers defined by the module. | COMMENT |
| LOW | …nt-unity/Assets/Scripts/autogen/SpacetimeDBClient.g.cs | 81 | /// Throws an error if the connection is already closed. | COMMENT |
| LOW | …nt-unity/Assets/Scripts/autogen/SpacetimeDBClient.g.cs | 121 | { | COMMENT |
| LOW | …nt-unity/Assets/Scripts/autogen/SpacetimeDBClient.g.cs | 141 | /// <summary> | COMMENT |
| LOW | …nt-unity/Assets/Scripts/autogen/SpacetimeDBClient.g.cs | 161 | /// <summary> | COMMENT |
| LOW | …nt-unity/Assets/Scripts/autogen/SpacetimeDBClient.g.cs | 201 | Exception IErrorContext.Event | COMMENT |
| LOW | …nt-unity/Assets/Scripts/autogen/SpacetimeDBClient.g.cs | 221 | public RemoteReducers Reducers => conn.Reducers; | COMMENT |
| LOW | …nt-unity/Assets/Scripts/autogen/SpacetimeDBClient.g.cs | 241 | } | COMMENT |
| LOW | …nt-unity/Assets/Scripts/autogen/SpacetimeDBClient.g.cs | 281 | /// | COMMENT |
| LOW | …nt-unity/Assets/Scripts/autogen/SpacetimeDBClient.g.cs | 301 | /// </summary> | COMMENT |
| LOW | …nt-unity/Assets/Scripts/autogen/SpacetimeDBClient.g.cs | 341 | } | COMMENT |
| LOW | …nt-unity/Assets/Scripts/autogen/SpacetimeDBClient.g.cs | 361 | /// The returned <c>RemoteReducers</c> will have a method to invoke each reducer defined by the module, | COMMENT |
| LOW | …nt-unity/Assets/Scripts/autogen/SpacetimeDBClient.g.cs | 381 | public void Disconnect() | COMMENT |
| LOW | …nt-unity/Assets/Scripts/autogen/SpacetimeDBClient.g.cs | 481 | /// The provided callbacks will be invoked once the data is returned from the remote server. | COMMENT |
| LOW | tools/ci/commands/smoketests/src/main.rs | 21 | cmd: Option<SmoketestCmd>, | COMMENT |
| LOW | tools/ci/commands/check-style/src/main.rs | 1 | #![allow(clippy::disallowed_macros)] | COMMENT |
| LOW | tools/xtask-llm-benchmark/src/llm/config.rs | 21 | } | COMMENT |
| LOW | tools/xtask-llm-benchmark/src/bin/llm_benchmark.rs | 121 | COMMENT | |
| LOW | tools/llm-sequential-upgrade/grade.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/llm-sequential-upgrade/run.sh | 1 | #!/bin/bash -l | COMMENT |
| LOW | tools/llm-sequential-upgrade/benchmark-viewer.html | 21 | #run-panel-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bot | COMMENT |
| LOW | tools/llm-sequential-upgrade/run-loop.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/llm-sequential-upgrade/benchmark.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …upgrade/perf-benchmark/src/clients/spacetime-client.ts | 1 | // SpacetimeDB chat-app client wrapper for the perf benchmark. | COMMENT |
| LOW | …l-upgrade/perf-benchmark/src/clients/mongodb-client.ts | 1 | // MongoDB chat-app client wrapper for the perf benchmark. | COMMENT |
| LOW | …-upgrade/perf-benchmark/src/clients/postgres-client.ts | 1 | // Postgres chat-app client wrapper for the perf benchmark. | COMMENT |
| LOW | …rade/perf-benchmark/src/scenarios/stress-throughput.ts | 1 | // Stress throughput scenario. | COMMENT |
| LOW | crates/bindings-cpp/include/spacetimedb.h | 41 | */ | COMMENT |
| LOW | crates/bindings-cpp/include/spacetimedb.h | 61 | COMMENT | |
| LOW | crates/bindings-cpp/include/spacetimedb.h | 81 | #include "spacetimedb/internal/autogen/ProductTypeElement.g.h" | COMMENT |
| LOW | crates/bindings-cpp/include/spacetimedb.h | 101 | #include "spacetimedb/bsatn/type_extensions.h" | COMMENT |
| LOW | crates/bindings-cpp/include/spacetimedb.h | 121 | #include "spacetimedb/client_visibility_filter.h" | COMMENT |
| LOW | crates/bindings-cpp/include/spacetimedb.h | 141 | #include "spacetimedb/query_builder.h" | COMMENT |
| LOW | crates/bindings-cpp/include/spacetimedb.h | 221 | // BSATN IMPLEMENTATION INCLUDES | COMMENT |
| LOW | …es/bindings-cpp/include/spacetimedb/schedule_reducer.h | 1 | #ifndef SPACETIMEDB_SCHEDULE_REDUCER_H | COMMENT |
| LOW | …s/bindings-cpp/include/spacetimedb/procedure_context.h | 1 | #ifndef SPACETIMEDB_PROCEDURE_CONTEXT_H | COMMENT |
| 2101 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | demo/Blackholio/client-godot/PlayerController.cs | 24 | public string Username => GameManager.Conn.Db.Player.PlayerId.Find(_playerId)?.Name ?? "<Unknown>"; | CODE |
| CRITICAL | demo/Blackholio/client-godot/PlayerController.cs | 68 | .Select(circle => GameManager.Conn.Db.Entity.EntityId.Find(circle.EntityId)) | CODE |
| CRITICAL | demo/Blackholio/client-godot/PlayerController.cs | 83 | var entity = GameManager.Conn.Db.Entity.EntityId.Find(circle.EntityId); | CODE |
| CRITICAL | demo/Blackholio/client-godot/EntityController.cs | 27 | var entity = GameManager.Conn.Db.Entity.EntityId.Find(entityId); | CODE |
| CRITICAL | …mo/Blackholio/client-godot/tests/GodotPlayModeTests.cs | 93 | var massStart = GameManager.Conn.Db.Entity.EntityId.Find(circle.EntityId).Mass; | CODE |
| CRITICAL | …mo/Blackholio/client-godot/tests/GodotPlayModeTests.cs | 95 | var massEnd = GameManager.Conn.Db.Entity.EntityId.Find(circle.EntityId).Mass; | CODE |
| CRITICAL | …mo/Blackholio/client-godot/tests/GodotPlayModeTests.cs | 191 | var player = GameManager.Conn.Db.Player.Identity.Find(GameManager.LocalIdentity); | CODE |
| CRITICAL⚡ | …mo/Blackholio/client-godot/tests/GodotPlayModeTests.cs | 208 | private static Player FindLocalPlayer() => GameManager.Conn.Db.Player.Identity.Find(GameManager.LocalIdentity); | CODE |
| CRITICAL⚡ | …mo/Blackholio/client-godot/tests/GodotPlayModeTests.cs | 211 | GameManager.Conn.Db.Circle.PlayerId.Filter(playerId).FirstOrDefault(); | CODE |
| CRITICAL⚡ | …mo/Blackholio/client-godot/tests/GodotPlayModeTests.cs | 215 | var ourEntity = GameManager.Conn.Db.Entity.EntityId.Find(circle.EntityId); | CODE |
| CRITICAL⚡ | …mo/Blackholio/client-godot/tests/GodotPlayModeTests.cs | 222 | var foodEntity = GameManager.Conn.Db.Entity.EntityId.Find(food.EntityId); | CODE |
| CRITICAL⚡ | …mo/Blackholio/client-godot/tests/GodotPlayModeTests.cs | 241 | if (chosenFoodId == 0 || GameManager.Conn.Db.Entity.EntityId.Find(chosenFoodId) == null) | CODE |
| CRITICAL⚡ | …mo/Blackholio/client-godot/tests/GodotPlayModeTests.cs | 247 | var foodTarget = GameManager.Conn.Db.Entity.EntityId.Find(chosenFoodId); | CODE |
| CRITICAL⚡ | …mo/Blackholio/client-godot/tests/GodotPlayModeTests.cs | 248 | var currentEntity = GameManager.Conn.Db.Entity.EntityId.Find(circle.EntityId); | CODE |
| CRITICAL | …kholio/client-unity/Assets/Scripts/PlayerController.cs | 19 | public string Username => GameManager.Conn.Db.Player.Identity.Find(PlayerIdentity).Name; | CODE |
| CRITICAL | …kholio/client-unity/Assets/Scripts/PlayerController.cs | 62 | .Select(circle => GameManager.Conn.Db.Entity.EntityId.Find(circle.EntityId)) | CODE |
| CRITICAL | …kholio/client-unity/Assets/Scripts/PlayerController.cs | 77 | var entity = GameManager.Conn.Db.Entity.EntityId.Find(circle.EntityId); | CODE |
| CRITICAL | …kholio/client-unity/Assets/Scripts/EntityController.cs | 26 | var entity = GameManager.Conn.Db.Entity.EntityId.Find(entityId); | CODE |
| CRITICAL | …ient-unity/Assets/PlayModeTests/PlayModeExampleTest.cs | 74 | var player = GameManager.Conn.Db.Player.Identity.Find(GameManager.LocalIdentity); | CODE |
| CRITICAL | …ient-unity/Assets/PlayModeTests/PlayModeExampleTest.cs | 90 | var ourEntity = GameManager.Conn.Db.Entity.EntityId.Find(circle.EntityId); | CODE |
| CRITICAL | …ient-unity/Assets/PlayModeTests/PlayModeExampleTest.cs | 96 | var foodEntity = GameManager.Conn.Db.Entity.EntityId.Find(thisFoodId); | CODE |
| CRITICAL⚡ | …ient-unity/Assets/PlayModeTests/PlayModeExampleTest.cs | 112 | if (GameManager.Conn.Db.Entity.EntityId.Find(chosenFoodId) != null) | CODE |
| CRITICAL⚡ | …ient-unity/Assets/PlayModeTests/PlayModeExampleTest.cs | 114 | var ourNewEntity = GameManager.Conn.Db.Entity.EntityId.Find(circle.EntityId); | CODE |
| CRITICAL⚡ | …ient-unity/Assets/PlayModeTests/PlayModeExampleTest.cs | 115 | var foodEntity = GameManager.Conn.Db.Entity.EntityId.Find(chosenFoodId); | CODE |
| CRITICAL | …ient-unity/Assets/PlayModeTests/PlayModeExampleTest.cs | 133 | var massStart = GameManager.Conn.Db.Entity.EntityId.Find(circle.EntityId)!.Mass; | CODE |
| CRITICAL | …ient-unity/Assets/PlayModeTests/PlayModeExampleTest.cs | 135 | var massEnd = GameManager.Conn.Db.Entity.EntityId.Find(circle.EntityId)!.Mass; | CODE |
| CRITICAL | …ient-unity/Assets/PlayModeTests/PlayModeExampleTest.cs | 263 | var player = GameManager.Conn.Db.Player.Identity.Find(GameManager.LocalIdentity); | CODE |
| CRITICAL | …ient-unity/Assets/PlayModeTests/PlayModeExampleTest.cs | 276 | var newPlayer = GameManager.Conn.Db.Player.Identity.Find(GameManager.LocalIdentity); | CODE |
| CRITICAL | crates/bindings-csharp/Runtime/AuthCtx.cs | 46 | SpacetimeDB.Internal.FFI.CheckedStatus.Marshaller.ConvertToManaged(result); | CODE |
| CRITICAL | crates/bindings-csharp/Codegen/Module.cs | 1815 | ? context.SemanticModel.Compilation.Assembly.Identity.ToString() | STRING |
| CRITICAL | crates/bindings-csharp/Codegen/Module.cs | 1977 | ? context.SemanticModel.Compilation.Assembly.Identity.ToString() | STRING |
| CRITICAL | …sharp/examples~/regression-tests/namespaces/Program.cs | 148 | ctx.Db.MyAuth.User.Id.Find(2)?.Score == 99 | CODE |
| CRITICAL | …sharp/examples~/regression-tests/namespaces/Program.cs | 210 | Require(ctx.Db.MyAuth.User.Id.Find(id)?.Score == 42, "Auth reducer callback cache"); | CODE |
| CRITICAL | …sharp/examples~/regression-tests/namespaces/Program.cs | 286 | ctx.Db.MyAuth.User.ByScore.Filter(77u).Single().Id == 10, | CODE |
| CRITICAL | …sharp/examples~/regression-tests/namespaces/Program.cs | 330 | ctx.Db.MyAuth.User.Id.Find(10) == null | CODE |
| CRITICAL | …sharp/examples~/regression-tests/namespaces/Program.cs | 398 | && conn.Db.MyAuth.ScheduleResult.JobId.Find(5)?.Executions >= 2, | CODE |
| CRITICAL | …sharp/examples~/regression-tests/namespaces/Program.cs | 416 | conn.Db.MyAuth.ScheduleResult.JobId.Find(7) != null | CODE |
| CRITICAL | …sharp/examples~/regression-tests/namespaces/Program.cs | 491 | && ctx.Db.MyAuth.User.Id.Find(id)?.Score == 42 | CODE |
| CRITICAL | …sharp/examples~/regression-tests/namespaces/Program.cs | 552 | && conn.Db.MyAuth.User.Id.Find(21) == null | CODE |
| CRITICAL | …xamples~/regression-tests/nested-namespaces/Program.cs | 103 | ctx.Db.@class.Branch.Leaf.RefUser.Id.Find(1) != null, | CODE |
| CRITICAL⚡ | …xamples~/regression-tests/nested-namespaces/Program.cs | 177 | conn.Db.Leaf.User.Id.Find(1)?.Value == 3 | CODE |
| CRITICAL⚡ | …xamples~/regression-tests/nested-namespaces/Program.cs | 178 | && conn.Db.Promoted.User.Id.Find(1)?.Value == 4 | CODE |
| CRITICAL⚡ | …xamples~/regression-tests/nested-namespaces/Program.cs | 179 | && conn.Db.SecondLeaf.User.Id.Find(1)?.Value == 5 | CODE |
| CRITICAL | …0200-core-concepts/00100-databases/00600-submodules.md | 220 | const user = ctx.db.myauth.users.identity.find(ctx.sender); | CODE |
| CRITICAL | …0200-core-concepts/00100-databases/00600-submodules.md | 234 | AuthLib.User? user = ctx.Db.MyAuth.User.Id.Find(id); | CODE |
| CRITICAL | …0200-core-concepts/00100-databases/00600-submodules.md | 502 | var storeUser = conn.Db.Store.MyAuth.User.Id.Find(10); | CODE |
| CRITICAL | …0200-core-concepts/00100-databases/00600-submodules.md | 503 | var forumUser = conn.Db.Forum.MyAuth.User.Id.Find(10); | CODE |
| CRITICAL | …0200-core-concepts/00100-databases/00600-submodules.md | 566 | var cachedUser = conn.Db.MyAuth.User.Id.Find(10); | CODE |
| CRITICAL | …o/00300-tutorials/00300-unity-tutorial/00400-part-3.md | 1018 | var entity = GameManager.Conn.Db.Entity.EntityId.Find(entityId); | CODE |
| CRITICAL | …o/00300-tutorials/00300-unity-tutorial/00400-part-3.md | 1199 | public string Username => GameManager.Conn.Db.Player.PlayerId.Find(PlayerId).Name; | CODE |
| CRITICAL | …o/00300-tutorials/00300-unity-tutorial/00400-part-3.md | 1242 | .Select(circle => GameManager.Conn.Db.Entity.EntityId.Find(circle.EntityId)) | CODE |
| CRITICAL | …o/00300-tutorials/00300-unity-tutorial/00400-part-3.md | 1257 | var entity = GameManager.Conn.Db.Entity.EntityId.Find(circle.EntityId); | CODE |
| CRITICAL | …o/00300-tutorials/00500-godot-tutorial/00400-part-3.md | 1034 | var entity = GameManager.Conn.Db.Entity.EntityId.Find(entityId); | CODE |
| CRITICAL | …o/00300-tutorials/00500-godot-tutorial/00400-part-3.md | 1266 | public string Username => GameManager.Conn.Db.Player.PlayerId.Find(_playerId).Name; | CODE |
| CRITICAL | …o/00300-tutorials/00500-godot-tutorial/00400-part-3.md | 1307 | .Select(circle => GameManager.Conn.Db.Entity.EntityId.Find(circle.EntityId)) | CODE |
| CRITICAL | …o/00300-tutorials/00500-godot-tutorial/00400-part-3.md | 1322 | var entity = GameManager.Conn.Db.Entity.EntityId.Find(circle.EntityId); | CODE |
| CRITICAL | …o/00300-tutorials/00300-unity-tutorial/00400-part-3.md | 744 | var entity = GameManager.Conn.Db.Entity.EntityId.Find(entityId); | CODE |
| CRITICAL | …o/00300-tutorials/00300-unity-tutorial/00400-part-3.md | 928 | public string Username => GameManager.Conn.Db.Player.PlayerId.Find(PlayerId).Name; | CODE |
| CRITICAL | …o/00300-tutorials/00300-unity-tutorial/00400-part-3.md | 971 | .Select(circle => GameManager.Conn.Db.Entity.EntityId.Find(circle.EntityId)) | CODE |
| CRITICAL | …o/00300-tutorials/00300-unity-tutorial/00400-part-3.md | 986 | var entity = GameManager.Conn.Db.Entity.EntityId.Find(circle.EntityId); | CODE |
| 22 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | demo/Blackholio/server-cpp/spacetimedb/CMakeLists.txt | 19 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | demo/Blackholio/server-cpp/spacetimedb/CMakeLists.txt | 21 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/run.sh | 49 | # ─── Parse arguments ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/run.sh | 87 | # ─── Port allocation ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/run.sh | 134 | # ─── Find Claude CLI ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/run.sh | 171 | # ─── Pre-flight checks ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/run.sh | 298 | # ─── Create run directories ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/run.sh | 401 | # ─── Enable OpenTelemetry ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/run.sh | 419 | # ─── Generate session ID ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/run.sh | 430 | # ─── Save run metadata ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/run.sh | 458 | # ─── Snapshot inputs ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/run.sh | 501 | # ─── Build the prompt ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/run.sh | 504 | # ─── FIX MODE: Read bug report, fix code, redeploy ────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/run.sh | 559 | # ─── UPGRADE MODE: Add new features from a higher level prompt ───────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/run.sh | 568 | # ─── Snapshot previous level before upgrading ───────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/run.sh | 665 | # ─── GENERATE MODE: Initial code generation and deploy ────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/run.sh | 716 | # ─── Assemble backend-specific CLAUDE.md into app directory ───────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/run.sh | 815 | # ─── Run Claude Code ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/run.sh | 879 | # ─── Record end time ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/run.sh | 901 | # ─── Capture Claude Code session transcript ────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/run.sh | 912 | # ─── Snapshot completed level (upgrade mode) ───────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/run.sh | 930 | # ─── Parse telemetry ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/benchmark-viewer.html | 235 | // ── HELPERS ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/benchmark-viewer.html | 252 | // ── CHART FACTORIES ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/benchmark-viewer.html | 303 | // ── RENDER ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/benchmark-viewer.html | 331 | // ── STAT BARS ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/benchmark-viewer.html | 345 | // ── CHARTS ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/benchmark-viewer.html | 405 | // ── BOOT ───────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/benchmark-viewer.html | 463 | // ── FILE PICKER (single file) ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/benchmark-viewer.html | 473 | // ── DIRECTORY BROWSER ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/benchmark-viewer.html | 568 | // ── INITIAL STATE ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/run-loop.sh | 22 | # ─── Parse arguments ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/run-loop.sh | 56 | # ─── Helper: acquire grading lock ──────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/run-loop.sh | 74 | # ─── Helper: grade the app ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/run-loop.sh | 97 | # ─── Helper: fix bugs ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tools/llm-sequential-upgrade/run-loop.sh | 114 | # ─── ONE-SHOT FLOW ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tools/llm-sequential-upgrade/run-loop.sh | 152 | # ─── SEQUENTIAL-UPGRADE FLOW ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/run-loop.sh | 217 | # ─── Summary ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/benchmark.sh | 19 | # ─── Parse arguments ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/benchmark.sh | 38 | # ─── Compute total parallel instances ──────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/benchmark.sh | 61 | # ─── Validate prerequisites ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/benchmark.sh | 85 | # ─── Status tracking ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/benchmark.sh | 107 | # ─── Launch all runs ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/benchmark.sh | 149 | # ─── Wait for all runs ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/benchmark.sh | 169 | # ─── Auto-generate reports ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rf-benchmark/optimized-reference/pg-index-optimized.ts | 76 | // ─── REST API ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rf-benchmark/optimized-reference/pg-index-optimized.ts | 911 | // ─── Message Threading ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rf-benchmark/optimized-reference/pg-index-optimized.ts | 1002 | // ─── Message Editing ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rf-benchmark/optimized-reference/pg-index-optimized.ts | 1065 | // ─── Reactions ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rf-benchmark/optimized-reference/pg-index-optimized.ts | 1129 | // ─── Scheduled Messages ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rf-benchmark/optimized-reference/pg-index-optimized.ts | 1317 | // ─── Draft endpoints ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rf-benchmark/optimized-reference/pg-index-optimized.ts | 1341 | // ─── Socket.io ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | crates/bindings-csharp/BSATN.Runtime/BSATN/Uuid.cs | 88 | /// ┌───────────────────────────────────────────────┬───────────────────┐ | COMMENT |
| MEDIUM⚡ | crates/bindings-csharp/BSATN.Runtime/BSATN/Uuid.cs | 90 | /// ├───────────────────────────────────────────────┼───────────────────┤ | COMMENT |
| MEDIUM⚡ | crates/bindings-csharp/BSATN.Runtime/BSATN/Uuid.cs | 92 | /// └───────────────────────────────────────────────┴───────────────────┘ | COMMENT |
| MEDIUM⚡ | crates/bindings-csharp/BSATN.Runtime/BSATN/Uuid.cs | 93 | /// ┌──────────────┬─────────┬──────────────────┬───────────────────────┐ | COMMENT |
| MEDIUM⚡ | crates/bindings-csharp/BSATN.Runtime/BSATN/Uuid.cs | 95 | /// ├──────────────┼─────────┼──────────────────┼───────────────────────┤ | COMMENT |
| MEDIUM⚡ | crates/bindings-csharp/BSATN.Runtime/BSATN/Uuid.cs | 97 | /// └──────────────┴─────────┴──────────────────┴───────────────────────┘ | COMMENT |
| MEDIUM | crates/testing/tests/standalone_integration_test.rs | 819 | // ── 1. Cross-namespace reducer call ────────────────────────────────── | COMMENT |
| MEDIUM | crates/testing/tests/standalone_integration_test.rs | 834 | // ── 2. Cross-namespace procedure call ───────────────────────────────── | COMMENT |
| 105 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/llm-sequential-upgrade/GRADING_WORKFLOW.md | 19 | ## Step 1: Generate | COMMENT |
| LOW | tools/llm-sequential-upgrade/GRADING_WORKFLOW.md | 37 | ## Step 2: Grade | COMMENT |
| LOW | tools/llm-sequential-upgrade/GRADING_WORKFLOW.md | 73 | ## Step 3: Report Bugs | COMMENT |
| LOW | tools/llm-sequential-upgrade/GRADING_WORKFLOW.md | 96 | ## Step 4: Re-grade | COMMENT |
| LOW | tools/llm-sequential-upgrade/GRADING_WORKFLOW.md | 105 | ## Step 5: Record Results | COMMENT |
| LOW | tools/llm-sequential-upgrade/DEVELOP.md | 63 | ### Step 1: Generate & Deploy (headless, token-tracked) | COMMENT |
| LOW | tools/llm-sequential-upgrade/DEVELOP.md | 77 | ### Step 2: Grade (interactive, not token-tracked) | COMMENT |
| LOW | tools/llm-sequential-upgrade/DEVELOP.md | 97 | ### Step 3: Fix (headless, token-tracked) | COMMENT |
| LOW | tools/llm-sequential-upgrade/DEVELOP.md | 110 | ### Step 4: Re-grade | COMMENT |
| LOW⚡ | tools/llm-sequential-upgrade/run-loop.sh | 119 | # Step 1: Generate | COMMENT |
| LOW | tools/llm-sequential-upgrade/run-loop.sh | 135 | # Step 2: Grade → Fix loop | COMMENT |
| LOW⚡ | tools/llm-sequential-upgrade/run-loop.sh | 157 | # Step 1: Generate level 1 | COMMENT |
| LOW | tools/llm-sequential-upgrade/run-loop.sh | 184 | # Step 2: Upgrade through remaining levels | COMMENT |
| LOW | crates/bindings-cpp/REFERENCE.md | 133 | // Step 1: Register struct for serialization | COMMENT |
| LOW | crates/bindings-cpp/REFERENCE.md | 142 | // Step 2: Register as table | COMMENT |
| LOW | crates/bindings-cpp/QUICKSTART.md | 27 | ### Step 1: Initialize the Project | COMMENT |
| LOW | crates/bindings-cpp/QUICKSTART.md | 45 | ### Step 2: Define Your Data Structures | COMMENT |
| LOW | crates/bindings-cpp/QUICKSTART.md | 79 | ### Step 3: Add Helper Functions and Reducers | COMMENT |
| LOW | crates/bindings-cpp/QUICKSTART.md | 136 | ### Step 4: Add Lifecycle Reducers | COMMENT |
| LOW | crates/bindings-cpp/QUICKSTART.md | 169 | ### Step 5: Build Your Module | COMMENT |
| LOW | crates/bindings-cpp/QUICKSTART.md | 179 | ### Step 6: Publish to SpacetimeDB | COMMENT |
| LOW | crates/bindings-cpp/QUICKSTART.md | 193 | ### Step 7: Test Your Module | COMMENT |
| LOW⚡ | crates/smoketests/tests/cluster/auto_migration.rs | 190 | // Step 1: Publish with primary key. | COMMENT |
| LOW⚡ | crates/smoketests/tests/cluster/auto_migration.rs | 196 | // Step 2: Remove primary key. Should succeed. | COMMENT |
| LOW⚡ | crates/smoketests/tests/cluster/auto_migration.rs | 204 | // Step 3: Trivial change (add a reducer). This is where #3934 crashes. | COMMENT |
| LOW⚡ | crates/smoketests/tests/cluster/auto_migration.rs | 219 | // Step 1: publish with event table. | COMMENT |
| LOW⚡ | crates/smoketests/tests/cluster/auto_migration.rs | 225 | // Step 2: Reschema event table. Should work fine, even though we'd reject this change for a non-event table. | COMMENT |
| LOW⚡ | crates/smoketests/tests/cluster/auto_migration.rs | 233 | // Step 3: Reschema event table right back. Should still work fine. | COMMENT |
| LOW | crates/table/src/page.rs | 1507 | /// NOTE: This method is not `unsafe` as it cannot trigger UB. | COMMENT |
| LOW | crates/table/src/page.rs | 1523 | /// NOTE: This method is not `unsafe` as it cannot trigger UB. | COMMENT |
| LOW | crates/table/src/table.rs | 1256 | /// NOTE: This method skips updating indexes. | COMMENT |
| LOW⚡ | crates/runtime-core/src/sim/executor/task.rs | 81 | // Step 1: atomically mark the task as aborted. | COMMENT |
| LOW⚡ | crates/runtime-core/src/sim/executor/task.rs | 83 | // Step 2: wake the task so the executor re-schedules it for polling. | COMMENT |
| LOW | crates/client-api/src/routes/subscribe.rs | 1086 | /// NOTE: This function is provided for backwards-compatibility, in particular | COMMENT |
| LOW | crates/engine/src/update.rs | 1190 | // Step 1: Table with a primary key (requires unique constraint + index). | COMMENT |
| LOW | crates/engine/src/update.rs | 1204 | // Step 2: Same table, but primary key removed. | COMMENT |
| LOW | crates/engine/src/update.rs | 1215 | // Step 3: Trivially different module (same as v2, simulates "change anything"). | COMMENT |
| LOW | …00-authentication/00100-spacetimeauth/00400-testing.md | 27 | ## Step 1: Gather Your Configuration | COMMENT |
| LOW | …00-authentication/00100-spacetimeauth/00400-testing.md | 41 | ## Step 2: Open OIDC Debugger | COMMENT |
| LOW | …00-authentication/00100-spacetimeauth/00400-testing.md | 63 | ## Step 3: Run the Flow | COMMENT |
| LOW | …00-authentication/00100-spacetimeauth/00400-testing.md | 74 | ## Step 4: Inspect your tokens | COMMENT |
| LOW | …/00300-tutorials/00400-unreal-tutorial/00200-part-1.md | 21 | ### Step 1: Create a Blank Unreal Project | COMMENT |
| LOW | …o/00300-tutorials/00300-unity-tutorial/00200-part-1.md | 22 | ### Step 1: Create a Blank Unity Project | COMMENT |
| LOW | …o/00300-tutorials/00500-godot-tutorial/00200-part-1.md | 22 | ### Step 1: Create a Blank Godot Project | COMMENT |
| LOW | docs/docs/00250-how-to/00100-deploy/00300-railway.md | 16 | ## Step 1: Deploy the Railway template | COMMENT |
| LOW | docs/docs/00250-how-to/00100-deploy/00300-railway.md | 31 | ## Step 2: Add the Railway deployment to your CLI | COMMENT |
| LOW | docs/docs/00250-how-to/00100-deploy/00300-railway.md | 51 | ## Step 3: Publish your database | COMMENT |
| LOW | docs/docs/00250-how-to/00100-deploy/00300-railway.md | 61 | ## Step 4: Connect clients | COMMENT |
| LOW | …s/docs/00250-how-to/00100-deploy/00200-self-hosting.md | 15 | ## Step 1: Create a Dedicated User for SpacetimeDB | COMMENT |
| LOW | …s/docs/00250-how-to/00100-deploy/00200-self-hosting.md | 33 | ## Step 2: Create a Systemd Service for SpacetimeDB | COMMENT |
| LOW | …s/docs/00250-how-to/00100-deploy/00200-self-hosting.md | 71 | ## Step 3: Install and Configure Nginx | COMMENT |
| LOW | …s/docs/00250-how-to/00100-deploy/00200-self-hosting.md | 180 | ## Step 4: Secure with Let's Encrypt | COMMENT |
| LOW | …s/docs/00250-how-to/00100-deploy/00200-self-hosting.md | 210 | ## Step 5: Verify Installation | COMMENT |
| LOW | …s/docs/00250-how-to/00100-deploy/00200-self-hosting.md | 228 | ## Step 6: Updating SpacetimeDB Version | COMMENT |
| LOW | …s/docs/00250-how-to/00100-deploy/00200-self-hosting.md | 254 | ## Step 7: Troubleshooting | COMMENT |
| LOW | …00-authentication/00100-spacetimeauth/00400-testing.md | 27 | ## Step 1: Gather Your Configuration | COMMENT |
| LOW | …00-authentication/00100-spacetimeauth/00400-testing.md | 41 | ## Step 2: Open OIDC Debugger | COMMENT |
| LOW | …00-authentication/00100-spacetimeauth/00400-testing.md | 63 | ## Step 3: Run the Flow | COMMENT |
| LOW | …00-authentication/00100-spacetimeauth/00400-testing.md | 74 | ## Step 4: Inspect your tokens | COMMENT |
| LOW | …/00300-tutorials/00400-unreal-tutorial/00200-part-1.md | 20 | ### Step 1: Create a Blank Unreal Project | COMMENT |
| 12 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …p/tests/type-isolation-test/run_type_isolation_test.sh | 170 | # Extract more comprehensive error messages FIRST | COMMENT |
| MEDIUM | …p/tests/type-isolation-test/run_type_isolation_test.sh | 302 | # Capture more comprehensive error message | COMMENT |
| MEDIUM | crates/standalone/Cargo.toml | 16 | harness = true # Use libtest harness. | CODE |
| MEDIUM | crates/datastore/src/traits.rs | 46 | /// nuanced example of how postgres deals with consistency guarantees at lower | COMMENT |
| MEDIUM | crates/execution/src/pipelined.rs | 157 | /// Essentially just a projection that drops the view's private columns. | COMMENT |
| MEDIUM⚡ | sdks/csharp/test-harness~/sdk_csharp.rs | 73 | let panic = result.expect_err("Expected C# SDK harness client to fail"); | CODE |
| MEDIUM⚡ | sdks/csharp/test-harness~/sdk_csharp.rs | 79 | panic!("C# SDK harness failed with non-string panic"); | CODE |
| MEDIUM⚡ | sdks/csharp/test-harness~/sdk_csharp.rs | 84 | "Expected C# SDK harness client failure containing {expected_message:?}, got:\n{message}" | CODE |
| MEDIUM | sdks/csharp/test-harness~/Cargo.toml | 6 | description = "A C# SDK test harness for SpacetimeDB clients" | CODE |
| MEDIUM | sdks/csharp/test-harness~/view-pk-client/Program.cs | 30 | throw new ArgumentException($"Unknown C# view-pk harness test: {testName}"); | CODE |
| MEDIUM | sdks/csharp/test-harness~/procedure-client/Program.cs | 44 | throw new ArgumentException($"Unknown C# procedure harness test: {testName}"); | CODE |
| MEDIUM | sdks/csharp/test-harness~/sdk-test-client/Program.cs | 174 | throw new ArgumentException($"Unknown C# SDK harness test: {testName}"); | CODE |
| MEDIUM | …arp/test-harness~/procedural-view-pk-client/Program.cs | 30 | throw new ArgumentException($"Unknown C# procedural-view-pk harness test: {testName}"); | CODE |
| MEDIUM | …rce/SpacetimeDbSdk/Public/BSATN/Core/type_extensions.h | 200 | // Use string_view comparison for more robust matching | COMMENT |
| MEDIUM | .github/workflows/ci.yml | 2116 | # overwriting the repository's .NET 10 global.json, which later C# harness | COMMENT |
| MEDIUM | .github/workflows/ci.yml | 2161 | - name: Run C# SDK harness tests | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tools/llm-sequential-upgrade/run-loop.sh | 119 | # Step 1: Generate | COMMENT |
| LOW | tools/llm-sequential-upgrade/run-loop.sh | 135 | # Step 2: Grade → Fix loop | COMMENT |
| LOW⚡ | tools/llm-sequential-upgrade/run-loop.sh | 157 | # Step 1: Generate level 1 | COMMENT |
| LOW | tools/llm-sequential-upgrade/run-loop.sh | 184 | # Step 2: Upgrade through remaining levels | COMMENT |
| LOW⚡ | crates/smoketests/tests/cluster/auto_migration.rs | 190 | // Step 1: Publish with primary key. | COMMENT |
| LOW⚡ | crates/smoketests/tests/cluster/auto_migration.rs | 196 | // Step 2: Remove primary key. Should succeed. | COMMENT |
| LOW⚡ | crates/smoketests/tests/cluster/auto_migration.rs | 204 | // Step 3: Trivial change (add a reducer). This is where #3934 crashes. | COMMENT |
| LOW⚡ | crates/smoketests/tests/cluster/auto_migration.rs | 219 | // Step 1: publish with event table. | COMMENT |
| LOW⚡ | crates/smoketests/tests/cluster/auto_migration.rs | 225 | // Step 2: Reschema event table. Should work fine, even though we'd reject this change for a non-event table. | COMMENT |
| LOW⚡ | crates/smoketests/tests/cluster/auto_migration.rs | 233 | // Step 3: Reschema event table right back. Should still work fine. | COMMENT |
| LOW | crates/datastore/src/locking_tx_datastore/replay.rs | 788 | // For `st_table` inserts, we need to check if this is a new table or an update to an existing table. | COMMENT |
| LOW | crates/commitlog/src/repo/fs.rs | 278 | // We need to check if the segment already exists, | COMMENT |
| LOW⚡ | crates/runtime-core/src/sim/executor/task.rs | 81 | // Step 1: atomically mark the task as aborted. | COMMENT |
| LOW⚡ | crates/runtime-core/src/sim/executor/task.rs | 83 | // Step 2: wake the task so the executor re-schedules it for polling. | COMMENT |
| LOW | crates/engine/src/update.rs | 1190 | // Step 1: Table with a primary key (requires unique constraint + index). | COMMENT |
| LOW | crates/engine/src/update.rs | 1204 | // Step 2: Same table, but primary key removed. | COMMENT |
| LOW | crates/engine/src/update.rs | 1215 | // Step 3: Trivially different module (same as v2, simulates "change anything"). | COMMENT |
| LOW | templates/keynote-2/src/demo.ts | 378 | // Step 1: Check services | COMMENT |
| LOW | templates/keynote-2/src/demo.ts | 391 | // Step 2: Prep/seed | COMMENT |
| LOW | templates/keynote-2/src/demo.ts | 405 | // Step 3: Run benchmarks | COMMENT |
| LOW | templates/keynote-2/src/demo.ts | 420 | // Step 4: Display results | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …cs/00250-how-to/01100-social/00100-unique-usernames.md | 191 | OPENAI_API_KEY='your-api-key' spacetime publish my-game | CODE |
| HIGH | …0-how-to/01200-common-app-patterns/00400-send-email.md | 158 | EMAIL_API_KEY='your-api-key' spacetime publish my-game | CODE |
| HIGH⚡ | …200-common-app-patterns/00560-call-ai-model-sidecar.md | 524 | ANTHROPIC_API_KEY='your-api-key' npx tsx src/sidecar.ts | CODE |
| HIGH⚡ | …200-common-app-patterns/00560-call-ai-model-sidecar.md | 531 | OPENAI_API_KEY='your-api-key' npx tsx src/sidecar.ts | CODE |
| HIGH⚡ | …200-common-app-patterns/00560-call-ai-model-sidecar.md | 538 | GEMINI_API_KEY='your-api-key' npx tsx src/sidecar.ts | CODE |
| HIGH | …ow-to/01200-common-app-patterns/00550-call-ai-model.md | 116 | AI_API_KEY='your-api-key' spacetime publish my-game | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/crate-publish-checks.py | 6 | def find_non_path_spacetimedb_deps(dev_deps, cargo_toml_path): | CODE |
| LOW | tools/find-publish-list.py | 18 | def find_spacetimedb_dependencies(crate_metadata, crate): | CODE |
| LOW | …stgres/chat-app-20260108-140800/server/src/realtime.ts | 115 | function broadcastRoomMembersChanged(roomId: number) { | CODE |
| LOW | …stgres/chat-app-20260108-140800/server/src/realtime.ts | 131 | function broadcastReactionsChanged(messageId: number) { | CODE |
| LOW | …stgres/chat-app-20260108-140800/server/src/realtime.ts | 135 | function broadcastReadPositionChanged(roomId: number, userId: string) { | CODE |
| LOW | …/spacetime/chat-app-20260107-092240/client/src/App.tsx | 42 | function localDateTimeInputFromNow(now = new Date()) { | CODE |
| LOW | …/spacetime/chat-app-20260107-092240/client/src/App.tsx | 49 | function parseLocalDateTimeInputToMicros(value: string): bigint | null { | CODE |
| LOW | …es/chat-app-20260128-112222/server/src/socket/index.ts | 742 | async function updateUnreadCountsForRoom( | CODE |
| LOW | …t-app-20260112-154500/backend/spacetimedb/src/index.ts | 1809 | function removeSelectionForElement( | CODE |
| LOW | tools/templates/generate-template-readmes.ts | 28 | function parseTemplateFromQuickstart(content: string): string | null { | CODE |
| LOW | tools/templates/generate-template-readmes.ts | 34 | async function discoverQuickstartMapping(): Promise<Map<string, string>> { | CODE |
| LOW | tools/templates/generate-template-readmes.ts | 62 | function stripFrontmatterAndImports(content: string): string { | CODE |
| LOW | tools/templates/generate-template-readmes.ts | 83 | function convertStepByStepToMarkdown(content: string): string { | CODE |
| LOW | …dings-typescript/tests/db_connection_reconnect.test.ts | 647 | async function establishWithSubscription(): Promise<Harness> { | CODE |
| LOW | crates/bindings-typescript/tests/db_connection.test.ts | 73 | function getLastCallReducerRequestId(wsAdapter: WebsocketTestAdapter): number { | CODE |
| LOW | crates/bindings-typescript/tests/db_connection.test.ts | 86 | function getLastSubscribeMessageInfo(wsAdapter: WebsocketTestAdapter): { | CODE |
| LOW | crates/bindings-typescript/tests/db_connection.test.ts | 135 | function makeReducerInternalErrorResult(requestId: number, error: string) { | CODE |
| LOW | …/src/angular/injectors/inject-spacetimedb-connected.ts | 9 | export function injectSpacetimeDBConnected(): Signal<boolean> { | CODE |
| LOW | crates/bindings-typescript/src/server/runtime.ts | 477 | function flattenSubmoduleDispatches( | CODE |
| LOW | crates/bindings-typescript/src/server/runtime.ts | 1185 | export function buildProcedureAliasCtxMap( | CODE |
| LOW | crates/bindings-typescript/src/server/http_handlers.ts | 92 | function characterIsAcceptableForRoutePath(c: string) { | CODE |
| LOW | …es/bindings-typescript/src/server/test-utils/vitest.ts | 3 | export function spacetimedbModuleTestPlugin(): Plugin { | CODE |
| LOW | …ates/bindings-typescript/src/sdk/connection_manager.ts | 71 | export function connectionManagerReconnectDelayMs(attempt: number): number { | CODE |
| LOW | …ates/bindings-typescript/src/sdk/db_connection_impl.ts | 359 | function getClientMessageVariantTag(name: string): number { | CODE |
| LOW | crates/bindings-typescript/src/sdk/version.ts | 121 | export function ensureMinimumVersionOrThrow(versionString?: string): void { | CODE |
| LOW | …cs/docs/00250-how-to/00700-self-hosted-key-rotation.md | 643 | async function preserveLocalPublisherToken(cliTomlPath: string, privatePem: string) { | CODE |
| LOW | templates/keynote-2/src/connectors/sqlite_common.ts | 106 | export function ensureSqliteDirExistsSync( | CODE |
| LOW | templates/keynote-2/src/core/runner.ts | 9 | function precomputeZipfTransferPairs( | CODE |
| LOW | modules/module-test-ts/src/lib_submodule.ts | 34 | export function readRootEnvironmentHelper(): string | null { | CODE |
| LOW | modules/module-test-ts/src/lib_submodule.ts | 55 | export function uncheckedEnvironmentQuery(source: object) { | CODE |
| LOW | modules/spacetime-cron-ts/src/schedule.ts | 56 | export function normalizeReconcileEverySeconds( | CODE |
| LOW | modules/spacetime-cron-ts/src/cron.ts | 158 | function requireRegisteredHandlers(core: Core): void { | CODE |
| LOW | modules/spacetime-resend-ts/example/src/app.ts | 490 | function registerCallbacksForTable(name: string): void { | CODE |
| LOW | modules/spacetime-resend-ts/src/submodule/config.ts | 33 | export function loadConfigOrThrowFromProcedure( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/merge-docker-images.sh | 15 | # Check if images for both amd64 and arm64 exist | COMMENT |
| LOW | tools/llm-sequential-upgrade/run-loop.sh | 87 | # Check if bugs were found | COMMENT |
| LOW | …p/tests/type-isolation-test/run_type_isolation_test.sh | 410 | # Check if there are any publish jobs still running (excluding table updater) | COMMENT |
| LOW | …cpp/tests/type-isolation-test/update_table_from_log.sh | 197 | # Check if log file exists | COMMENT |
| LOW | …s-cpp/tests/client-comparison/run_client_comparison.sh | 73 | # Check if comparison scripts exist | COMMENT |
| LOW | …s-cpp/tests/client-comparison/run_client_comparison.sh | 104 | # Check if both succeeded | COMMENT |
| LOW | …s/bindings-cpp/tests/client-comparison/check_tables.py | 50 | # Check if table counts suggest duplicates | COMMENT |
| LOW | …cpp/tests/client-comparison/scripts/compare_modules.sh | 175 | # Check if WASM files exist and get schemas | COMMENT |
| LOW | …cpp/tests/client-comparison/scripts/compare_modules.sh | 179 | # Check if we have an existing Rust schema file or need to regenerate | COMMENT |
| LOW | …cpp/tests/client-comparison/scripts/compare_modules.sh | 195 | # Check if we have an existing C++ schema file or need to regenerate | COMMENT |
| LOW | …cpp/tests/client-comparison/scripts/compare_clients.sh | 56 | # Check if files are identical after filtering version comments | COMMENT |
| LOW | …ts/client-comparison/scripts/regenerate_rust_client.sh | 12 | # Check if rebuild is needed | COMMENT |
| LOW | …ts/client-comparison/scripts/regenerate_rust_client.sh | 28 | # Check if any source is newer than generated files | COMMENT |
| LOW | …ts/client-comparison/scripts/regenerate_rust_client.sh | 39 | # Check if sdk-test needs rebuilding | COMMENT |
| LOW | …sts/client-comparison/scripts/regenerate_cpp_client.sh | 29 | # Check if rebuild is needed | COMMENT |
| LOW | …sts/client-comparison/scripts/regenerate_cpp_client.sh | 49 | # Check if any source is newer than WASM | COMMENT |
| LOW | …sts/client-comparison/scripts/regenerate_cpp_client.sh | 54 | # Check if any library file is newer than WASM | COMMENT |
| LOW | …sts/client-comparison/scripts/regenerate_cpp_client.sh | 65 | # Check if lib.cpp needs rebuilding | COMMENT |
| LOW | …sts/client-comparison/scripts/regenerate_cpp_client.sh | 71 | # Check if build directory exists, if not configure it | COMMENT |
| LOW | templates/chat-console-rs/src/main.rs | 139 | // ### Print messages | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ts/00400-subscriptions/00200-subscription-semantics.md | 6 | <!--This document was generated by ChatGPT based on a Discord discussion starting https://discord.com/channels/103734087 | CODE |
| HIGH | …ocs/00200-core-concepts/00600-clients/00200-codegen.md | 14 | Module bindings are auto-generated code that mirrors your module's schema and functions. They provide: | CODE |
| HIGH | …e-concepts/00600-client-sdk-languages/00200-codegen.md | 14 | Module bindings are auto-generated code that mirrors your module's schema and functions. They provide: | CODE |
| HIGH | …ts/00400-subscriptions/00200-subscription-semantics.md | 6 | <!--This document was generated by ChatGPT based on a Discord discussion starting https://discord.com/channels/103734087 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/merge-docker-images.sh | 27 | # Create a new manifest using extracted digests | COMMENT |
| MEDIUM | tools/llm-sequential-upgrade/run.sh | 211 | # Create the database if it doesn't exist | COMMENT |
| MEDIUM | …p/tests/type-isolation-test/run_type_isolation_test.sh | 207 | # Create the expected directory structure and copy the library | COMMENT |
| MEDIUM | crates/update/spacetime-install.sh | 67 | # Define the latest SpacetimeDB download url | COMMENT |
| MEDIUM | crates/update/spacetime-install.sh | 146 | # The following functions are from rustup-init.sh of the Rust project: | COMMENT |
| MEDIUM | templates/chat-console-rs/src/main.rs | 9 | // ## Define the main function | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/smoketests/tests/standalone/cli/auth.rs | 206 | .args(["login", "--token", "test-dummy-token", "--no-browser"]) | CODE |
| LOW | crates/schema/src/def.rs | 2878 | let name = ScopedTypeName::try_new([], "fake_name").unwrap(); | CODE |
| LOW | crates/bindings-typescript/src/server/schema.ts | 466 | * ctx.db.user.insert({ username: 'admin', email: 'admin@example.com' }); | COMMENT |
| LOW⚡ | crates/bindings/src/lib.rs | 2602 | "email": "user@example.com", | CODE |
| LOW⚡ | crates/bindings/src/lib.rs | 2606 | "email": ["user@example.com"] | CODE |
| LOW⚡ | crates/bindings/src/lib.rs | 2610 | "name": "Jane Doe", | CODE |
| LOW | …00-authentication/00100-spacetimeauth/00400-testing.md | 86 | "email": "user@example.com", | CODE |
| LOW | …00-authentication/00100-spacetimeauth/00400-testing.md | 86 | "email": "user@example.com", | CODE |
| LOW | modules/spacetime-resend-ts/scripts/test-unit.ts | 19 | jsonBody: '{"to":["user@example.com"]}', | CODE |
| LOW | modules/spacetime-resend-ts/scripts/test-unit.ts | 61 | to: ['user@example.com'], | CODE |
| LOW | modules/spacetime-resend-ts/scripts/test-unit.ts | 82 | to: ['user@example.com'], | CODE |
| LOW | modules/spacetime-example-ui-ts/scripts/auth.test.ts | 98 | email!.value = 'user@example.com'; | CODE |
| LOW | modules/spacetime-example-ui-ts/scripts/auth.test.ts | 104 | email: 'user@example.com', | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/llm-sequential-upgrade/grade.sh | 7 | # Usage: | COMMENT |
| LOW | tools/llm-sequential-upgrade/run.sh | 7 | # Usage: | COMMENT |
| LOW | tools/llm-sequential-upgrade/run-loop.sh | 10 | # Usage: | COMMENT |
| LOW | tools/llm-sequential-upgrade/benchmark.sh | 7 | # Usage: | COMMENT |
| LOW | tools/llm-sequential-upgrade/reset-app.sh | 5 | # Usage: | COMMENT |
| LOW | tools/llm-sequential-upgrade/cleanup.sh | 7 | # Usage: | COMMENT |
| LOW | …s-cpp/tests/client-comparison/run_client_comparison.sh | 6 | # Usage: | COMMENT |
| LOW | crates/data-structures/src/error_stream.rs | 249 | /// Example usage: | COMMENT |
| LOW | crates/data-structures/src/error_stream.rs | 343 | /// Example usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/bindings-cpp/include/spacetimedb/logger.h | 232 | // TODO: Add error handling when we implement exception system | COMMENT |
| LOW | …s/core/src/subscription/module_subscription_manager.rs | 2112 | request_id: event.request_id.unwrap(), // TODO: Handle error here. | CODE |
| LOW | …s/core/src/subscription/module_subscription_manager.rs | 2132 | request_id: event.request_id.unwrap(), // TODO: Handle error here. | CODE |
| LOW | …tes/core/src/subscription/module_subscription_actor.rs | 352 | // TODO: Handle errors sending messages. | COMMENT |
| LOW | …tes/core/src/subscription/module_subscription_actor.rs | 369 | // TODO: Handle errors sending messages. | COMMENT |
| LOW | …tes/core/src/subscription/module_subscription_actor.rs | 386 | // TODO: Handle errors sending messages. | COMMENT |
| LOW | crates/cli/src/subcommands/generate.rs | 1065 | // TODO: implement formatting. | COMMENT |
| LOW | crates/cli/src/subcommands/generate.rs | 1068 | // TODO: implement formatting. | COMMENT |
| LOW | crates/primitives/src/col_list.rs | 443 | // TODO: implement a fast path here that avoids allocation, by lying about | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | crates/engine/src/relational_db.rs | 989 | /// In this implementation, we snapshot the existing [`CommittedState`] | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/crate-publish-checks.py | 83 | except Exception as e: | CODE |
| MEDIUM | modules/module-test-cpp/compare_module_schemas.py | 27 | print("Error: rust-module-schema.json not found") | CODE |
| MEDIUM | modules/module-test-cpp/compare_module_schemas.py | 31 | print(f"Error parsing rust-module-schema.json: {e}") | CODE |
| MEDIUM | modules/module-test-cpp/compare_module_schemas.py | 45 | print("Error: No C++ schema file found") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | crates/cli/src/subcommands/init.rs | 559 | // For C# projects, resolve the target .NET version before scaffolding. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/bench/hyper_cmp.py | 2 | CODE | |
| LOW | sdks/csharp/tools~/upgrade-version.py | 3 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | modules/module-test-cpp/compare_module_schemas.py | 139 | CODE |