Executes commands in response to file modifications
This report summarizes scanner evidence for watchexec/watchexec, a Rust project with 7,228 GitHub stars. SynthScan examined 34,470 lines of code across 198 source files, recording 148 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 4.3 (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.
Can maintainers explain intent, assumptions, and trade-offs? 147 finding(s).
Are imports declared and package/API names verified? 1 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 148 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 148 distinct pattern matches across 2 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 | crates/filterer/globset/CHANGELOG.md | 1 | # Changelog | COMMENT |
| LOW | crates/filterer/globset/src/lib.rs | 61 | /// | COMMENT |
| LOW | crates/filterer/ignore/CHANGELOG.md | 1 | # Changelog | COMMENT |
| LOW | crates/filterer/ignore/src/lib.rs | 1 | //! A Watchexec Filterer implementation for ignore files. | COMMENT |
| LOW | crates/filterer/ignore/src/lib.rs | 21 | use watchexec_events::{Event, FileType, Priority}; | COMMENT |
| LOW | crates/project-origins/src/lib.rs | 1 | //! Resolve project origins and kinds from a path. | COMMENT |
| LOW | crates/project-origins/src/lib.rs | 21 | use futures::StreamExt; | COMMENT |
| LOW | crates/project-origins/src/lib.rs | 41 | COMMENT | |
| LOW | crates/project-origins/src/lib.rs | 61 | /// Detects when a `.hg` folder is present, or any of the files `.hgignore` or `.hgtags`. | COMMENT |
| LOW | crates/project-origins/src/lib.rs | 81 | /// Soft: the [C programming language](https://en.wikipedia.org/wiki/C_(programming_language)). | COMMENT |
| LOW | crates/project-origins/src/lib.rs | 101 | /// Soft: the [Go](https://golang.net) language. | COMMENT |
| LOW | crates/project-origins/src/lib.rs | 121 | /// Detects when a `project.clj` file is present. | COMMENT |
| LOW | crates/signals/src/lib.rs | 1 | #![doc = include_str!("../README.md")] | COMMENT |
| LOW | crates/signals/src/lib.rs | 21 | /// On Windows, only some signals are supported, as described. Others will be ignored. | COMMENT |
| LOW | crates/signals/src/lib.rs | 41 | /// Despite its nominal purpose, on Unix this signal is often used to reload configuration files. | COMMENT |
| LOW | crates/signals/src/lib.rs | 61 | /// Indicate that the process is to stop, the kernel will then dump its core. | COMMENT |
| LOW | crates/signals/src/lib.rs | 81 | /// This signal is generally used to start debugging. | COMMENT |
| LOW | crates/signals/src/lib.rs | 101 | /// | COMMENT |
| LOW | crates/signals/src/lib.rs | 121 | /// ignored rather than hard-erroring. | COMMENT |
| LOW | crates/signals/src/lib.rs | 221 | } | COMMENT |
| LOW | crates/signals/src/lib.rs | 281 | } | COMMENT |
| LOW | crates/bosion/src/lib.rs | 21 | /// [`gather_to`]: it writes to `bosion.rs` a pub struct named `Bosion`. | COMMENT |
| LOW | crates/bosion/src/lib.rs | 81 | (format!( | COMMENT |
| LOW | crates/bosion/src/lib.rs | 141 | {viz} struct {structname}; | COMMENT |
| LOW | crates/bosion/src/lib.rs | 161 | /// The crate features | COMMENT |
| LOW | crates/bosion/src/lib.rs | 201 | /// See the crate-level documentation for a guide. This function is a convenience wrapper around | COMMENT |
| LOW | crates/bosion/src/info.rs | 1 | use std::{ | COMMENT |
| LOW | crates/bosion/src/info.rs | 21 | pub struct Info { | COMMENT |
| LOW | crates/cli/tests/ignore.rs | 21 | const WATCH_TOKEN: &str = "updated"; | COMMENT |
| LOW | crates/cli/src/config.rs | 761 | const fn on_busy_signal(signal: Option<Signal>, stop_signal: Option<Signal>) -> Signal { | COMMENT |
| LOW | crates/cli/src/args.rs | 21 | const OPTSET_FILTERING: &str = "Filtering"; | COMMENT |
| LOW | crates/cli/src/args.rs | 41 | /// | COMMENT |
| LOW | crates/cli/src/args.rs | 81 | /// $ watchexec -w src npm run build | COMMENT |
| LOW | crates/cli/src/args.rs | 121 | /// Generate a shell completions script | COMMENT |
| LOW | crates/cli/src/args/filtering.rs | 21 | pub struct FilteringArgs { | COMMENT |
| LOW | crates/cli/src/args/filtering.rs | 81 | )] | COMMENT |
| LOW | crates/cli/src/args/filtering.rs | 101 | /// watched project. This is contrasted with '--no-vcs-ignore', which disables loading of Git | COMMENT |
| LOW | crates/cli/src/args/filtering.rs | 121 | display_order = 144, | COMMENT |
| LOW | crates/cli/src/args/filtering.rs | 161 | /// | COMMENT |
| LOW | crates/cli/src/args/filtering.rs | 201 | /// Filename patterns to filter to | COMMENT |
| LOW | crates/cli/src/args/filtering.rs | 241 | /// | COMMENT |
| LOW | crates/cli/src/args/filtering.rs | 261 | /// | COMMENT |
| LOW | crates/cli/src/args/filtering.rs | 281 | /// | COMMENT |
| LOW | crates/cli/src/args/filtering.rs | 301 | /// 'any(.tags[] | select(.kind == "fs"); .simple == "create")' | COMMENT |
| LOW | crates/cli/src/args/events.rs | 41 | #[arg( | COMMENT |
| LOW | crates/cli/src/args/events.rs | 61 | short, | COMMENT |
| LOW | crates/cli/src/args/events.rs | 81 | /// This option can be specified multiple times to map multiple signals. | COMMENT |
| LOW | crates/cli/src/args/events.rs | 101 | /// too often. Additionally, it's not infrequent that file writes are not atomic, and each write | COMMENT |
| LOW | crates/cli/src/args/events.rs | 121 | )] | COMMENT |
| LOW | crates/cli/src/args/events.rs | 201 | /// Watchexec can emit event information when running a command, which can be used by the child | COMMENT |
| LOW | crates/cli/src/args/events.rs | 221 | /// | COMMENT |
| LOW | crates/cli/src/args/events.rs | 241 | /// } | COMMENT |
| LOW | crates/cli/src/args/events.rs | 261 | /// * 'keyboard', along with: | COMMENT |
| LOW | crates/cli/src/args/events.rs | 281 | /// and so should be prepended to each path to obtain the full/real path. Then: | COMMENT |
| LOW | crates/cli/src/args/command.rs | 41 | /// | COMMENT |
| LOW | crates/cli/src/args/command.rs | 61 | /// control flow, logic, or pipes. | COMMENT |
| LOW | crates/cli/src/args/command.rs | 101 | /// | COMMENT |
| LOW | crates/cli/src/args/command.rs | 141 | /// Configure how the process is wrapped | COMMENT |
| LOW | crates/cli/src/args/command.rs | 161 | value_name = "MODE", | COMMENT |
| LOW | crates/cli/src/args/command.rs | 181 | /// events. For portability the unix signals "SIGKILL", "SIGINT", "SIGTERM", and "SIGHUP" are | COMMENT |
| 87 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/cli/README.md | 100 | $ watchexec -n -- echo ';' lorem ipsum | CODE |