Hivemind turns your traces into reusable skills across agents
This report summarizes scanner evidence for activeloopai/hivemind, a TypeScript project with 1,621 GitHub stars. SynthScan examined 164,576 lines of code across 704 source files, recording 684 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 9.7 (Moderate 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? 242 finding(s).
Are imports declared and package/API names verified? 3 finding(s).
Are wrappers, guards, and repeated structures necessary? 509 finding(s).
Which changes need focused human review? 684 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 684 distinct pattern matches across 11 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 |
|---|---|---|---|---|
| MEDIUM | tests/claude-code/pre-tool-use-baseline-cloud.test.ts | 242 | // ── Regression coverage anchored in a real benchmark run ───────────── | COMMENT |
| MEDIUM | tests/claude-code/pre-tool-use-baseline-cloud.test.ts | 312 | // ── writeReadCacheFile security guard ───────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/pre-tool-use-baseline-cloud.test.ts | 374 | // ── /index.md fallback lives in virtual-table-query.ts only ─────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs-coverage.test.ts | 24 | // ── Mock clients ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs-coverage.test.ts | 113 | // ── fileCount ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs-coverage.test.ts | 121 | // ── Graph VFS bridge ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs-coverage.test.ts | 205 | // ── Goals bootstrap ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs-coverage.test.ts | 221 | // ── Bootstrap null-coalescing (defensive ?? "" paths) ──────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs-coverage.test.ts | 248 | // ── Goal write routing (upsertRow → upsertGoalRow) ─────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs-coverage.test.ts | 273 | // ── rm goal soft-close ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs-coverage.test.ts | 297 | // ── mv goal status transition ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs-coverage.test.ts | 326 | // ── flush failure re-queue ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs-coverage.test.ts | 363 | // ── embeddings-disabled flush path ──────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs-coverage.test.ts | 376 | // ── virtual index with sessions section ──────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs-coverage.test.ts | 406 | // ── session reads (concatenation) ────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs-coverage.test.ts | 450 | // ── readFile / readFileBuffer remaining branches ────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs-coverage.test.ts | 506 | // ── metadata / unsupported ops ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs-coverage.test.ts | 532 | // ── write guards / mkdir ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs-coverage.test.ts | 551 | // ── rm error paths ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/pre-tool-use.test.ts | 51 | // ── Read commands: fast path (direct SQL) or shell fallback ────────────────── | COMMENT |
| MEDIUM | tests/claude-code/pre-tool-use.test.ts | 174 | // ── Unsafe commands: should return guidance (not deny) ────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/pre-tool-use.test.ts | 314 | // ── Deeplake CLI commands: no longer supported, should return guidance ──────── | COMMENT |
| MEDIUM | tests/claude-code/pre-tool-use.test.ts | 340 | // ── Non-memory commands: should pass through (no output) ──────────────────── | COMMENT |
| MEDIUM | tests/claude-code/pre-tool-use.test.ts | 364 | // ── Non-Bash tools targeting memory ───────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/pre-tool-use.test.ts | 407 | // ── Path variants ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/pre-tool-use.test.ts | 435 | // ── Write / Edit on memory paths: deny with Bash guidance ─────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs.test.ts | 16 | // ── Mock ManagedClient ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs.test.ts | 226 | // ── Helpers ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs.test.ts | 237 | // ── goal namespace isolation from the generic memory table ──────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs.test.ts | 358 | // ── Bootstrap ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs.test.ts | 387 | // ── Text reads ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs.test.ts | 408 | // ── Buffer reads ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs.test.ts | 431 | // ── Writes ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs.test.ts | 477 | // ── appendFile ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs.test.ts | 492 | // ── Directories ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs.test.ts | 537 | // ── stat ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs.test.ts | 559 | // ── rm ──────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs.test.ts | 603 | // ── cp / mv ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs.test.ts | 628 | // ── path resolution ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs.test.ts | 651 | // ── prefetch ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs.test.ts | 794 | // ── Session reads: bodyless rows must not read as silent empty files ───────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs.test.ts | 861 | // ── Session reads: local event cache is preferred over the fat DB read ─────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs.test.ts | 979 | // ── Upsert: id stability & dates ───────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs.test.ts | 1096 | // ── no-op / unsupported ops ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs.test.ts | 1114 | // ── Virtual index.md ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs.test.ts | 1250 | // ── writeFileWithMeta ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs.test.ts | 1293 | // ── readdirWithFileTypes ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/deeplake-fs.test.ts | 1320 | // ── cp recursive ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/cli-context.test.ts | 81 | // ── help ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/cli-context.test.ts | 101 | // ── login gating ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/cli-context.test.ts | 112 | // ── output ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/grep-core.test.ts | 16 | // ── searchDocs (per-file docs search — the docs/find backend) ───────────────── | COMMENT |
| MEDIUM | tests/claude-code/grep-core.test.ts | 89 | // ── normalizeContent ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/grep-core.test.ts | 505 | // ── buildPathFilter ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/grep-core.test.ts | 558 | // ── compileGrepRegex ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/grep-core.test.ts | 594 | // ── refineGrepMatches ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/grep-core.test.ts | 685 | // ── searchDeeplakeTables ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/grep-core.test.ts | 840 | // ── grepBothTables (end-to-end convenience wrapper) ───────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/grep-core.test.ts | 1172 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/claude-code/grep-core.test.ts | 1174 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| 379 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | vitest.config.ts | 1 | import { defineConfig } from "vitest/config"; | COMMENT |
| LOW | vitest.config.ts | 61 | // Both are excluded from vitest because they need a live Deeplake | COMMENT |
| LOW | vitest.config.ts | 201 | lines: 90, | COMMENT |
| LOW | vitest.config.ts | 221 | // | COMMENT |
| LOW | vitest.config.ts | 301 | // full subcommand-surface suite in tests/claude-code/cli-docs.test.ts | COMMENT |
| LOW | vitest.config.ts | 321 | // constant doesn't include SUMMARY_EMBEDDING_COL). Reachable only | COMMENT |
| LOW | vitest.config.ts | 381 | // per-agent gate dispatch + Deeplake skills table for org provenance. | COMMENT |
| LOW | vitest.config.ts | 401 | // paths are all exercised. | COMMENT |
| LOW | vitest.config.ts | 441 | // a mocked DeeplakeApi boundary (see resume-brief.test.ts). | COMMENT |
| LOW | vitest.config.ts | 461 | // mine-local.ts dips to 90 branches because a few short-circuit branches | COMMENT |
| LOW | vitest.config.ts | 481 | "src/skillify/pending-memory-manifest.ts": { statements: 90, branches: 85, functions: 90, lines: 90 }, | COMMENT |
| LOW | vitest.config.ts | 501 | // defensive fallbacks per field (one per column). Test data | COMMENT |
| LOW | vitest.config.ts | 521 | // pathological source files; branches held at 70, same tier as | COMMENT |
| LOW | vitest.config.ts | 561 | // surfaced as a red PR-coverage comment. deeplake-fs-coverage.test.ts | COMMENT |
| LOW | harnesses/openclaw/src/index.ts | 1 | function definePluginEntry<T>(entry: T): T { return entry; } | COMMENT |
| LOW | harnesses/openclaw/src/index.ts | 101 | COMMENT | |
| LOW | harnesses/openclaw/src/index.ts | 321 | let authUrl: string | null = null; | COMMENT |
| LOW | harnesses/openclaw/src/index.ts | 421 | let skillsTable = "skills"; // lazy-created on first INSERT by the worker | COMMENT |
| LOW | harnesses/openclaw/src/index.ts | 441 | // fired once per agent_end with a per-projectKey lock; per the assumption | COMMENT |
| LOW | harnesses/openclaw/src/index.ts | 481 | // sha1(channel) — same shape as deriveProjectKey in src/skillify/state.ts | COMMENT |
| LOW | harnesses/openclaw/src/index.ts | 761 | COMMENT | |
| LOW | harnesses/openclaw/src/index.ts | 1321 | // on PR #97.) | COMMENT |
| LOW | harnesses/openclaw/src/index.ts | 1381 | // 2. Welcome banner — once after a successful device-flow auth. | COMMENT |
| LOW | harnesses/openclaw/src/index.ts | 1481 | }; | COMMENT |
| LOW | harnesses/openclaw/src/index.ts | 1521 | } else { | COMMENT |
| LOW | harnesses/codex/install.sh | 1 | #!/bin/bash | COMMENT |
| LOW | harnesses/pi/extension-source/hivemind.ts | 1 | // @ts-nocheck — distributed as raw .ts; pi's runtime loads + compiles it. | COMMENT |
| LOW | harnesses/pi/extension-source/hivemind.ts | 321 | // | COMMENT |
| LOW | harnesses/pi/extension-source/hivemind.ts | 521 | if (v === null) logHm(`embed: daemon returned null (timeout or error)`); | COMMENT |
| LOW | harnesses/pi/extension-source/hivemind.ts | 621 | logHm(`autopull: spawn threw (swallowed): ${e?.message ?? e}`); | COMMENT |
| LOW | harnesses/pi/extension-source/hivemind.ts | 981 | child.unref(); | COMMENT |
| LOW | harnesses/pi/extension-source/hivemind.ts | 1481 | // - InputEvent: { type, text, images?, source } | COMMENT |
| LOW | tests/test-setup.ts | 1 | // Global vitest setup. Runs once before any test file. | COMMENT |
| LOW | tests/claude-code/pre-tool-use-baseline-cloud.test.ts | 241 | COMMENT | |
| LOW | tests/claude-code/notifications.test.ts | 481 | const payload = JSON.parse(writes[0]); | COMMENT |
| LOW | tests/claude-code/notifications.test.ts | 881 | // --------------------------------------------------------------------------- | COMMENT |
| LOW | tests/claude-code/grep-core.test.ts | 1401 | // score scale was overpowering cosine in the UNION). The field was | COMMENT |
| LOW | tests/claude-code/summary-state.test.ts | 581 | COMMENT | |
| LOW | tests/claude-code/wiki-worker-plugin-version.test.ts | 221 | COMMENT | |
| LOW | tests/claude-code/skillify-state.test.ts | 381 | }); | COMMENT |
| LOW | tests/claude-code/skillify-bundle-scan.test.ts | 101 | for (const agent of AGENTS) { | COMMENT |
| LOW | tests/claude-code/session-start-hook.test.ts | 441 | COMMENT | |
| LOW | tests/claude-code/session-start-hook.test.ts | 561 | COMMENT | |
| LOW | tests/openclaw/auto-recall.test.ts | 141 | "hivemind_search", "hivemind_read", "hivemind_index", | COMMENT |
| LOW | tests/shared/standalone-embed-client.test.ts | 1 | // Unit tests for the standalone embed client used by pi + openclaw. | COMMENT |
| LOW | tests/shared/autoupdate-windows-spawn.test.ts | 1 | import { describe, it, expect, vi } from "vitest"; | COMMENT |
| LOW | tests/shared/graph/path.test.ts | 1 | import { describe, it, expect } from "vitest"; | COMMENT |
| LOW | tests/shared/graph/neighborhood.test.ts | 1 | import { describe, it, expect } from "vitest"; | COMMENT |
| LOW | tests/shared/graph/session-context.test.ts | 241 | }); | COMMENT |
| LOW | tests/shared/graph/tour.test.ts | 21 | ...overrides, | COMMENT |
| LOW | tests/cli/cli-embeddings.test.ts | 221 | // fix gates the SIGTERM on `_isDaemonAliveOnSocket` — if the UDS path | COMMENT |
| LOW | tests/cli/cli-install-openclaw.test.ts | 61 | expect(existsSync(join(root, "skills", "hivemind.md"))).toBe(true); | COMMENT |
| LOW | tests/cli/cli-bundle-runtime.test.ts | 1 | import { describe, it, expect, beforeAll, afterAll } from "vitest"; | COMMENT |
| LOW | tests/cli/cli-update.test.ts | 401 | expect(() => detectInstallKind("/cli.js")).not.toThrow(); | COMMENT |
| LOW | tests/cli/cli-update.test.ts | 421 | // | COMMENT |
| LOW | tests/pi/pi-extension-source.test.ts | 141 | it("treats an empty pidfile as 'writer in progress' to avoid duplicate spawns", () => { | COMMENT |
| LOW | tests/scripts/marketplace-source-path.test.ts | 1 | import { describe, it, expect } from "vitest"; | COMMENT |
| LOW | …ledge/private/infrastructure/monorepo-build-release.md | 201 | COMMENT | |
| LOW | scripts/verify-install.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .github/workflows/ci.yaml | 61 | # 3. wiki-worker summary generation failed on Windows because the | COMMENT |
| 78 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | embeddings/embed-daemon.js | 48 | async function defaultImportTransformers(canonical = _importFromCanonicalSharedDeps, bare = _importFromBareSpecifier) { | CODE |
| LOW | harnesses/openclaw/src/setup-config.ts | 36 | export function isAllowlistCoveringHivemind(alsoAllow: unknown): boolean { | CODE |
| LOW | harnesses/openclaw/src/setup-config.ts | 57 | export function isPluginsAllowMissingHivemind(allow: unknown): boolean { | CODE |
| LOW | harnesses/openclaw/src/setup-config.ts | 82 | export function ensureHivemindAllowlisted(): SetupResult { | CODE |
| LOW | harnesses/openclaw/src/graph-lifecycle.ts | 72 | export function spawnOpenclawGraphPullWorker( | CODE |
| LOW | harnesses/openclaw/src/graph-lifecycle.ts | 101 | export function resetGraphPullSpawnedForTests(): void { | CODE |
| LOW | harnesses/openclaw/src/index.ts | 465 | function migrateOpenclawSkillifyLegacyStateDir(): void { | CODE |
| LOW | harnesses/openclaw/src/index.ts | 503 | function tryAcquireOpenclawSkillifyLock(projectKey: string): boolean { | CODE |
| LOW | harnesses/openclaw/src/index.ts | 613 | function spawnOpenclawSkillifyWorker(a: OpenclawSpawnArgs): boolean { | CODE |
| LOW | harnesses/pi/extension-source/hivemind.ts | 221 | async function healDriftedOrgTokenInline(creds: Creds): Promise<Creds> { | CODE |
| LOW | harnesses/pi/extension-source/hivemind.ts | 445 | function maybeCleanupOwnPlaceholderInline(): void { | CODE |
| LOW | harnesses/pi/extension-source/hivemind.ts | 1080 | function maybeTriggerPeriodicSummary(creds: Creds, sessionId: string, cwd: string): void { | CODE |
| LOW | harnesses/pi/extension-source/hivemind.ts | 1214 | function piCountLocalManifestEntries(): number { | CODE |
| LOW | …-005-cursor-skillify-bridge/qa/2026-06-13-qa-report.md | 85 | export function listLocalSkillsForPromoter(): Array<{ dirName: string; scope: "global" | "project"; path: string }> { | CODE |
| LOW | src/deeplake-api.ts | 114 | function maybeSignalBalanceExhausted(status: number, bodyText: string): void { | CODE |
| LOW | src/embeddings/standalone-embed-client.ts | 254 | function maybeCleanupOwnPlaceholder(pidPath: string): void { | CODE |
| LOW | src/embeddings/self-heal.ts | 46 | export function ensurePluginNodeModulesLink(opts: SelfHealOptions): SelfHealResult { | CODE |
| LOW | src/embeddings/disable.ts | 38 | function defaultResolveTransformers(): void { | CODE |
| LOW | src/embeddings/client.ts | 474 | export function isTransformersMissingError(err: string): boolean { | CODE |
| LOW | src/embeddings/nomic.ts | 87 | export async function defaultImportTransformers( | CODE |
| LOW | src/shell/grep-core.ts | 536 | export function buildPathFilterForTargets(targetPaths: string[]): string { | CODE |
| LOW | src/shell/grep-core.ts | 553 | export function extractRegexLiteralPrefilter(pattern: string): string | null { | CODE |
| LOW | src/shell/grep-core.ts | 586 | export function extractRegexAlternationPrefilters(pattern: string): string[] | null { | CODE |
| LOW | src/shell/grep-interceptor.ts | 24 | function resolveGrepEmbedDaemonPath(): string { | CODE |
| LOW | src/shell/grep-interceptor.ts | 44 | function patternIsSemanticFriendly(pattern: string, fixedString: boolean): boolean { | CODE |
| LOW | src/graph/extract/python.ts | 376 | function makeNodeWithExplicitLabel(relativePath: string, idName: string, label: string, kind: NodeKind, node: PyNode, ex | CODE |
| LOW | src/graph/extract/typescript.ts | 675 | function makeNodeWithExplicitLabel( | CODE |
| LOW | src/utils/plugin-cache.ts | 29 | export function resolveVersionedPluginDir(bundleDir: string): { | CODE |
| LOW | src/utils/plugin-cache.ts | 197 | export function readCurrentVersionFromManifest(manifestPath: string): string | null { | CODE |
| LOW | src/cli/install-claude.ts | 133 | function isBrokenHivemindHookEntry(h: HookEntry): boolean { | CODE |
| LOW | src/cli/install-claude.ts | 160 | export function cleanupBrokenSettingsHooks(): { removed: number; events: string[] } { | CODE |
| LOW | src/cli/install-codex.ts | 125 | function isForeignHivemindHookEntry(entry: unknown, pluginDir: string = PLUGIN_DIR): boolean { | CODE |
| LOW | src/cli/install-codex.ts | 190 | function reportForeignHivemindHooks(existing: Record<string, unknown>): void { | CODE |
| LOW | src/cli/skillify-spec.ts | 212 | export function renderSubcommandUsageBlock(): string { | CODE |
| LOW | src/skillify/local-manifest.ts | 97 | export function countLocalManifestEntries(path: string = LOCAL_MANIFEST_PATH): number { | CODE |
| LOW | src/skillify/legacy-cap-migration.ts | 263 | export function migrateLegacyCappedInstalls(): LegacyCapResult { | CODE |
| LOW | src/skillify/unpull.ts | 255 | function decideTargetForManifestEntry( | CODE |
| LOW | src/skillify/existing-skills.ts | 97 | export function renderExistingSkillsBlock(cwd: string, charCap: number): ExistingSkillsBlock { | CODE |
| LOW | src/skillify/scope-promotion.ts | 22 | export function isCrossAuthorMergeVerdict(args: { | CODE |
| LOW | src/skillify/pending-memory-manifest.ts | 100 | export function readPendingMemoryManifest( | CODE |
| LOW | src/skillify/pending-memory-manifest.ts | 123 | export function writePendingMemoryManifest( | CODE |
| LOW | src/skillify/pull.ts | 157 | export function isMissingContributorsColumnError(message: string | undefined): boolean { | CODE |
| LOW | src/hooks/wiki-worker-spawn.ts | 102 | export function buildTrailingPromptInvocation(bin: string, flags: string[], prompt: string): ClaudeInvocation { | CODE |
| LOW | src/hooks/wiki-worker-spawn.ts | 126 | export function buildStdinPromptInvocation(bin: string, flags: string[], prompt: string): ClaudeInvocation { | CODE |
| LOW | src/hooks/wiki-worker-spawn.ts | 143 | export function buildClaudeStdinInvocation( | CODE |
| LOW | src/hooks/virtual-table-query.ts | 248 | export async function listVirtualPathRowsForDirs( | CODE |
| LOW | src/hooks/bash-command-compiler.ts | 139 | export function hasUnsupportedRedirection(segment: string): boolean { | CODE |
| LOW | src/hooks/bash-command-compiler.ts | 187 | function isValidPipelineHeadTailStage(stage: string): boolean { | CODE |
| LOW | src/hooks/bash-command-compiler.ts | 413 | export async function executeCompiledBashCommand( | CODE |
| LOW | src/hooks/capture.ts | 253 | function maybeTriggerPeriodicSummary(sessionId: string, cwd: string, config: Config): void { | CODE |
| LOW | src/hooks/session-event-cache.ts | 45 | export function sessionEventCacheDisabled(): boolean { | CODE |
| LOW | src/hooks/session-event-cache.ts | 93 | export function pruneStaleSessionEventCaches( | CODE |
| LOW | src/hooks/session-queue.ts | 450 | export function tryAcquireSessionDrainLock( | CODE |
| LOW | src/hooks/session-queue.ts | 597 | function isEnsureSessionsTableRetryable(error: unknown): boolean { | CODE |
| LOW | src/hooks/session-queue.ts | 629 | export function clearSessionWriteDisabled( | CODE |
| LOW | src/hooks/session-queue.ts | 658 | function getSessionWriteDisabledPath(queueDir: string, sessionsTable: string): string { | CODE |
| LOW | src/hooks/version-check.ts | 63 | export function readFreshCachedLatestVersion( | CODE |
| LOW | src/hooks/grep-direct.ts | 36 | function patternIsSemanticFriendly(pattern: string, fixedString: boolean): boolean { | CODE |
| LOW | src/hooks/pre-tool-use.ts | 128 | function buildRetryGuidanceDecision(toolName: string): ClaudePreToolDecision { | CODE |
| LOW | src/hooks/cursor/capture.ts | 223 | function maybeTriggerPeriodicSummary(sessionId: string, cwd: string, config: Config): void { | CODE |
| 10 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/claude-code/skillify-pull.test.ts | 1103 | // Step 1: pre-pulled state — SKILL.md on disk + manifest entry | COMMENT |
| LOW⚡ | tests/claude-code/skillify-pull.test.ts | 1113 | // Step 2: install codex (creates the marker dir the detector keys on). | COMMENT |
| LOW⚡ | tests/claude-code/skillify-pull.test.ts | 1116 | // Step 3: re-pull. Action will be "skipped" because local version | COMMENT |
| LOW | tests/claude-code/session-summary.test.ts | 286 | // Step 1: create initial placeholder (session-start) | COMMENT |
| LOW | tests/claude-code/session-summary.test.ts | 298 | // Step 2: simulate session-end uploading a completed summary | COMMENT |
| LOW | library/knowledge/private/ai/wiki-summary-workers.md | 53 | ### Step 1: fetch session events | COMMENT |
| LOW | library/knowledge/private/ai/wiki-summary-workers.md | 67 | ### Step 2: check for an existing summary | COMMENT |
| LOW | library/knowledge/private/ai/wiki-summary-workers.md | 71 | ### Step 3: run the gate prompt | COMMENT |
| LOW | library/knowledge/private/ai/wiki-summary-workers.md | 85 | ### Step 4: embed and upload | COMMENT |
| LOW⚡ | library/knowledge/private/ai/skillify-pipeline.md | 46 | ### Step 1: fetch candidate sessions | COMMENT |
| LOW⚡ | library/knowledge/private/ai/skillify-pipeline.md | 55 | ### Step 2: extract prompt/answer pairs | COMMENT |
| LOW⚡ | library/knowledge/private/ai/skillify-pipeline.md | 59 | ### Step 3: build and run the gate prompt | COMMENT |
| LOW | library/knowledge/private/ai/skillify-pipeline.md | 82 | ### Step 4: write the skill file | COMMENT |
| LOW | library/knowledge/private/ai/skillify-pipeline.md | 93 | ### Step 5: record to the Deeplake skills table | COMMENT |
| LOW⚡ | src/commands/graph.ts | 578 | // Step 8: after the snapshot is fresh on disk, refresh docs IF the user | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | README.md | 255 | [Claude Cowork](https://support.claude.com/en/articles/11503834) is Anthropic's agentic assistant inside the Claude Desk | CODE |
| MEDIUM | tests/cli/install-helpers.test.ts | 326 | // Both stale bodies gone; the surviving scaffold is exactly the user's | COMMENT |
| MEDIUM | tests/cli/install-helpers.test.ts | 407 | // Exact remainder: both blocks removed, user scaffold intact. | COMMENT |
| MEDIUM | src/cli/install-cowork.ts | 8 | // Cowork is Anthropic's agentic desktop assistant, hosted inside the | COMMENT |
| MEDIUM | src/cli/util.ts | 209 | // claude_cowork — Anthropic's agentic desktop assistant, hosted in the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/claude-code/skillify-pull.test.ts | 1103 | // Step 1: pre-pulled state — SKILL.md on disk + manifest entry | COMMENT |
| LOW⚡ | tests/claude-code/skillify-pull.test.ts | 1113 | // Step 2: install codex (creates the marker dir the detector keys on). | COMMENT |
| LOW⚡ | tests/claude-code/skillify-pull.test.ts | 1116 | // Step 3: re-pull. Action will be "skipped" because local version | COMMENT |
| LOW | tests/claude-code/session-summary.test.ts | 286 | // Step 1: create initial placeholder (session-start) | COMMENT |
| LOW | tests/claude-code/session-summary.test.ts | 298 | // Step 2: simulate session-end uploading a completed summary | COMMENT |
| LOW⚡ | src/commands/graph.ts | 578 | // Step 8: after the snapshot is fresh on disk, refresh docs IF the user | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …s/claude-code/skillify-session-start-injection.test.ts | 294 | // source order — robust to unrelated code landing between them, unlike a | COMMENT |
| MEDIUM | src/shell/grep-interceptor.ts | 147 | // before giving up to the in-memory fallback. Keeps behavior robust when | COMMENT |
| MEDIUM | src/graph/git-hook-install.ts | 35 | "# mkdir is robust against first-run: $HOME/.hivemind may not exist yet,", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …sts/claude-code/shell-bundle-sql-trace-silence.test.ts | 48 | HIVEMIND_TOKEN: "fake-token-for-trace-test", | CODE |
| LOW | library/qa/security/2026-06-12-security-audit.md | 108 | - `"orgName": "Acme Inc"` - standard placeholder | CODE |
| LOW | …brary/knowledge/private/security/credential-storage.md | 74 | "orgName": "Acme Inc", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/shared/graph/python.test.ts | 18 | "def run():\n return helper()\n\ndef helper():\n return 1\n\nclass Service:\n def start(self):\n r | CODE |
| LOW | tests/shared/graph/python.test.ts | 32 | "def run():\n return helper()\n\ndef helper():\n return 1\n\nclass Service:\n def start(self):\n r | CODE |
| LOW | src/dashboard/serve.ts | 56 | function handleRequest(html: string) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/verify-install.sh | 12 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/release.yaml | 72 | # Check if release exists, Set outputs) read the post-bump state. | COMMENT |