🌱 Private, quiet space for thinking. Simple app for .md files.
This report summarizes scanner evidence for zakirullin/files.md, a Go project with 4,174 GitHub stars. SynthScan examined 71,214 lines of code across 148 source files, recording 83 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 1.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.
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? 77 finding(s).
Are imports declared and package/API names verified? 6 finding(s).
Are wrappers, guards, and repeated structures necessary? 19 finding(s).
Which changes need focused human review? 83 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 83 distinct pattern matches across 7 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 | web/files.js | 1 | // files.js - connects three worlds: | COMMENT |
| LOW | web/files.js | 81 | COMMENT | |
| LOW | web/files.js | 101 | // In-memory snapshot of what the server has, persisted to localStorage | COMMENT |
| LOW | web/chat.js | 761 | e.preventDefault(); | COMMENT |
| LOW | web/lib/codemirror.js | 341 | else { bidiOther = i; } | COMMENT |
| LOW | web/lib/codemirror.js | 2721 | var lineSpaceBox = cm.display.lineSpace.getBoundingClientRect(); | COMMENT |
| LOW | web/lib/codemirror.js | 3681 | }); | COMMENT |
| LOW | web/lib/codemirror.js | 6261 | } | COMMENT |
| LOW | web/lib/codemirror.js | 8161 | // extendTo(cur); | COMMENT |
| LOW | web/lib/codemirror.js | 8861 | var div = elt("div", [te], null, "overflow: hidden; position: relative; width: 3px; height: 0px;"); | COMMENT |
| LOW | web/lib/hypermd.js | 201 | var tmp; | COMMENT |
| LOW | web/lib/hypermd.js | 281 | } | COMMENT |
| LOW | web/lib/fold-code.js | 1 | // HyperMD, copyright (c) by laobubu | COMMENT |
| LOW | web/lib/show-hint.js | 501 | // var term, from = CodeMirror.Pos(cur.line, token.start), to = cur | COMMENT |
| LOW | web/lib/hide-token.js | 1 | // HyperMD, copyright (c) by laobubu | COMMENT |
| LOW | web/lib/fold-image.js | 161 | // // console.log("[image]FAILED TO REQUEST RANGE: ", rngReq); | COMMENT |
| LOW | web/lib/autoscroll.js | 101 | }); | COMMENT |
| LOW | web/lib/autoscroll.js | 121 | // const lineHeight = editor.defaultTextHeight(); | COMMENT |
| LOW | web/lib/autoscroll.js | 141 | // function stopAutoScroll() { | COMMENT |
| LOW | web/lib/autoscroll.js | 161 | // startAutoScroll('down'); | COMMENT |
| LOW | web/lib/autoscroll.js | 181 | // stopAutoScroll(); | COMMENT |
| LOW | web/lib/autoscroll.js | 201 | // if (autoscrollState.isSelecting) { | COMMENT |
| LOW | web/lib/autoscroll.js | 221 | // editor.off('beforeSelectionChange', selectionChangeHandler); | COMMENT |
| LOW | tests/files.spec.js | 961 | // newFile() ignores the open/selected folder for the toolbar button. | COMMENT |
| LOW | tests/files.spec.js | 981 | // | COMMENT |
| LOW | tests/files.spec.js | 1001 | // - editor.path = /life/Pilaf.md, editor content = Pilaf UPDATED | COMMENT |
| LOW | tests/files.spec.js | 1021 | // things: | COMMENT |
| LOW | tests/files.spec.js | 1041 | // | COMMENT |
| LOW | tests/playwright.config.js | 41 | // Firefox and Webkit aren't currently supporting showDirectoryPicker | COMMENT |
| LOW | server/bot_test.go | 181 | // | COMMENT |
| LOW | server/bot_test.go | 201 | // | COMMENT |
| LOW | server/bot_test.go | 1001 | // r := require.New(t) | COMMENT |
| LOW | server/bot_test.go | 1021 | // defer func() { | COMMENT |
| LOW | server/bot_test.go | 4561 | content, err := bot.fs.Read("journal", journalFiles[0].Name) | COMMENT |
| LOW | server/bot_test.go | 4581 | // bot := NewBot(-1, tgram, userFS, db.NewFakeDB(), cfg) | COMMENT |
| LOW | server/bot.go | 2041 | //filename, err := b.fs.Unhash(fs.DirUserRoot, msgIndex) | COMMENT |
| LOW | server/chat_test.go | 201 | r.Equal(chatBlockHash("- [ ] `01:01` Test content"), h) | COMMENT |
| LOW | server/chat_test.go | 221 | // | COMMENT |
| LOW | server/chat_test.go | 301 | // | COMMENT |
| LOW | server/chat_test.go | 321 | // content := `#### 1 July, Tuesday | COMMENT |
| LOW | server/chat_test.go | 401 | hasTimestamp := timestampRegex.MatchString(record) | COMMENT |
| LOW | server/chat_test.go | 421 | // for i, block := range result { | COMMENT |
| LOW | server/chat.go | 21 | inboxHeaderRegex = regexp.MustCompile(`^#### `) | COMMENT |
| LOW | server/bot_forwards.go | 1 | // Don't want to put this hacky complex code into main bot file. | COMMENT |
| LOW | server/sync/sync_test.go | 461 | } | COMMENT |
| LOW | server/sync/sync_test.go | 481 | // fs.NewUserFS = origFS | COMMENT |
| LOW | server/sync/sync_test.go | 501 | // r.Equal(http.StatusOK, w.Code) | COMMENT |
| LOW | server/fs/fs.go | 621 | } | COMMENT |
| LOW | server/stats/stats_test.go | 41 | COMMENT | |
| LOW | server/stats/stats_test.go | 61 | // now = savedNow | COMMENT |
| LOW | server/stats/stats_test.go | 81 | //func TestDoneTodayScheduled(t *testing.T) { | COMMENT |
| LOW | server/stats/stats_test.go | 101 | // err := fs.Put("archive", "a.md", "") | COMMENT |
| LOW | server/pkg/txt/md.go | 261 | // MarkdownToHTML naively converts user's markdown to Telegram-supported subset of HTML. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | web/files.js | 704 | async function collectModifiedAndDeletedFiles() { | CODE |
| LOW | web/files.js | 1076 | function setServerFileLastClientModified(path, lastClientModified) { | CODE |
| LOW | web/files.js | 1619 | function walkFilesExcludingSystemDirs(callback) { | CODE |
| LOW | web/welcome.js | 5 | async function getTemporaryStorageDirHandle() { | CODE |
| LOW | web/lib/keymap.js | 576 | function incrementRemainingMarkdownListNumbers(cm, pos) { | CODE |
| LOW | web/lib/codemirror.js | 1535 | function conflictingCollapsedRange(doc, lineNo, from, to, marker) { | CODE |
| LOW | web/lib/codemirror.js | 1792 | function defaultSpecialCharPlaceholder(ch) { | CODE |
| LOW | web/lib/codemirror.js | 2446 | function updateExternalMeasurement(cm, line) { | CODE |
| LOW⚡ | web/lib/codemirror.js | 2628 | function maybeUpdateRectForZooming(measure, rect) { | CODE |
| LOW⚡ | web/lib/codemirror.js | 2638 | function clearLineMeasurementCacheFor(lineView) { | CODE |
| LOW⚡ | web/lib/codemirror.js | 2647 | function clearLineMeasurementCache(cm) { | CODE |
| LOW | web/lib/codemirror.js | 4739 | function maybeUpdateLineNumberWidth(cm) { | CODE |
| LOW | web/lib/codemirror.js | 5374 | function selectionEventCanBeMerged(doc, origin, prev, sel) { | CODE |
| LOW | web/lib/codemirror.js | 5573 | function setSelectionReplaceHistory(doc, sel, options) { | CODE |
| LOW | web/lib/codemirror.js | 5904 | function makeChangeSingleDocInEditor(cm, change, spans) { | CODE |
| LOW | web/lib/codemirror.js | 6242 | function adjustScrollWhenAboveVisible(cm, line, diff) { | CODE |
| LOW | web/lib/codemirror.js | 7430 | function incrementRemainingMarkdownListNumbers(cm, pos) { | CODE |
| LOW | web/lib/hypermd.js | 801 | function createSimpleInnerModeExitChecker(endTag, retInfo) { | CODE |
| LOW | web/lib/fs.js | 80 | async function writeIfContentIsDifferent(path, content) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | web/lib/codemirror.js | 9538 | return this.cm.display.wrapper.ownerDocument.getSelection() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/editor.spec.js | 153 | const testContent = `Lorem ipsum dolor\nLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod temp | CODE |
| LOW | tests/editor.spec.js | 153 | const testContent = `Lorem ipsum dolor\nLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod temp | CODE |
| LOW | server/pkg/txt/str_test.go | 344 | str, placeholders := ReplaceWithPlaceholders("Hello World, Hello Universe", "Hello", "placeholder") | CODE |
| LOW | server/pkg/txt/str_test.go | 360 | str, placeholders = ReplaceWithPlaceholders("email@example.com and test@example.org", `\S+@\S+\.\S+`, "email") | CODE |
| LOW | server/pkg/txt/str_test.go | 364 | "#email1#": "test@example.org", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | web/lib/sidebar.js | 137 | // Step 0: Lists group | COMMENT |
| LOW | web/lib/sidebar.js | 183 | // Step 2: Personal group | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | web/lib/sidebar.js | 137 | // Step 0: Lists group | COMMENT |
| LOW | web/lib/sidebar.js | 183 | // Step 2: Personal group | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | web/offline.js | 144 | async function handleRequest(request) { | CODE |