A tiling window manager for macOS based on binary space partitioning
This report summarizes scanner evidence for asmvik/yabai, a C project with 29,792 GitHub stars. SynthScan examined 21,519 lines of code across 61 source files, recording 33 pattern matches distributed across 1 syntactic category. The legacy adjusted pattern signal is 1.5 (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? 33 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 33 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 33 distinct pattern matches across 1 syntactic category. 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 | scripts/install.sh | 1 | #!/usr/bin/env sh | COMMENT |
| LOW | src/workspace.m | 41 | // :WorstApiEverMade | COMMENT |
| LOW | src/application.h | 1 | #ifndef APPLICATION_H | COMMENT |
| LOW | src/manifest.m | 1 | #include <objc/objc-runtime.h> | COMMENT |
| LOW | src/manifest.m | 21 | #include <dirent.h> | COMMENT |
| LOW | src/manifest.m | 41 | #include <pwd.h> | COMMENT |
| LOW | src/manifest.m | 61 | #include "osax/common.h" | COMMENT |
| LOW | src/manifest.m | 81 | #include "mission_control.c" | COMMENT |
| LOW | src/yabai.c | 1 | #define SA_SOCKET_PATH_FMT "/tmp/yabai-sa_%s.socket" | COMMENT |
| LOW | src/message.c | 21 | COMMENT | |
| LOW | src/message.c | 41 | #define COMMAND_CONFIG_BOTTOM_PADDING "bottom_padding" | COMMENT |
| LOW | src/message.c | 61 | #define ARGUMENT_CONFIG_DISPLAY_ORDER_X "horizontal" | COMMENT |
| LOW | src/message.c | 81 | #define ARGUMENT_CONFIG_MOUSE_MOD_CTRL "ctrl" | COMMENT |
| LOW | src/message.c | 101 | #define COMMAND_SPACE_CREATE "--create" | COMMENT |
| LOW | src/message.c | 121 | #define ARGUMENT_SPACE_TGL_PADDING "padding" | COMMENT |
| LOW | src/message.c | 141 | #define COMMAND_WINDOW_GRID "--grid" | COMMENT |
| LOW | src/message.c | 161 | #define ARGUMENT_WINDOW_MOVE "%255[^:]:%f:%f" | COMMENT |
| LOW | src/message.c | 181 | COMMENT | |
| LOW | src/message.c | 201 | #define ARGUMENT_RULE_KEY_ROLE "role" | COMMENT |
| LOW | src/message.c | 221 | #define COMMAND_SIGNAL_REM "--remove" | COMMENT |
| LOW | src/message.c | 241 | #define ARGUMENT_COMMON_SEL_LAST "last" | COMMENT |
| LOW | src/misc/service.h | 221 | // NOTE(asmvik): Service is not bootstrapped and could be disabled. | COMMENT |
| LOW | src/misc/timer.h | 141 | __attribute((cleanup(END_TIME_BLOCK))) struct time_block tb_##label;\ | COMMENT |
| LOW | src/misc/timer.h | 161 | #define TIME_BODY(label, c) c | COMMENT |
| LOW | src/misc/macros.h | 1 | #ifndef MACROS_H | COMMENT |
| LOW | src/misc/macros.h | 21 | COMMENT | |
| LOW | src/misc/macros.h | 41 | COMMENT | |
| LOW | src/misc/sbuffer.h | 1 | #ifndef SBUFFER_H | COMMENT |
| LOW | src/osax/loader.m | 1 | #include <Cocoa/Cocoa.h> | COMMENT |
| LOW | src/osax/common.h | 1 | #ifndef SA_COMMON_H | COMMENT |
| LOW | src/osax/payload.m | 1 | #include <Foundation/Foundation.h> | COMMENT |
| LOW | src/osax/payload.m | 21 | COMMENT | |
| LOW | src/osax/payload.m | 301 | NSLog(@"[yabai-sa] (0x%llx) dppm found at address 0x%llX (0x%llx)", baseaddr, dppm_offset, dppm_offset - baseadd | COMMENT |