Repository Analysis

RightNow-AI/openfang

Open-source Agent Operating System

8.3 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of RightNow-AI/openfang, a Rust project with 18,009 GitHub stars. SynthScan v2.0 examined 264,554 lines of code across 504 source files, recording 1004 pattern matches distributed across 15 syntactic categories. The overall adjusted score of 8.3 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

8.3
Adjusted Score
8.3
Raw Score
100%
Time Factor
2026-07-02
Last Push
18.0K
Stars
Rust
Language
264.6K
Lines of Code
504
Files
1.0K
Pattern Hits
2026-07-14
Scan Date
0.02
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 7HIGH 5MEDIUM 525LOW 467

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 1004 distinct pattern matches across 15 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators508 hits · 1486 pts
SeverityFileLineSnippetContext
MEDIUMcrates/openfang-hands/bundled/twitter/HAND.toml29# ─── Configurable settings ───────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-hands/bundled/twitter/HAND.toml176# ─── Agent configuration ─────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-hands/bundled/clip/HAND.toml57# ─── Configurable settings ───────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-hands/bundled/clip/HAND.toml124# ─── Publishing settings ────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-hands/bundled/clip/HAND.toml184# ─── Agent configuration ─────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-hands/bundled/trader/HAND.toml8# ─── Configurable settings ───────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-hands/bundled/trader/HAND.toml192# ─── Agent configuration ─────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-hands/bundled/trader/HAND.toml688# ─── Dashboard metrics ────────────────────────────────────────────────────────STRING
MEDIUMcrates/openfang-hands/bundled/infisical-sync/HAND.toml18# ─── Requirements ─────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-hands/bundled/infisical-sync/HAND.toml41# ─── Settings ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-hands/bundled/infisical-sync/HAND.toml99# ─── Agent configuration ──────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-hands/bundled/infisical-sync/HAND.toml380# ─── Dashboard metrics ────────────────────────────────────────────────────────STRING
MEDIUMcrates/openfang-hands/bundled/collector/HAND.toml8# ─── Configurable settings ───────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-hands/bundled/collector/HAND.toml146# ─── Agent configuration ─────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-hands/bundled/browser/HAND.toml49# ─── Configurable settings ───────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-hands/bundled/browser/HAND.toml110# ─── Agent configuration ─────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-hands/bundled/lead/HAND.toml8# ─── Configurable settings ───────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-hands/bundled/lead/HAND.toml161# ─── Agent configuration ─────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-hands/bundled/predictor/HAND.toml8# ─── Configurable settings ───────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-hands/bundled/predictor/HAND.toml166# ─── Agent configuration ─────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-hands/bundled/researcher/HAND.toml8# ─── Configurable settings ───────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-hands/bundled/researcher/HAND.toml154# ─── Agent configuration ─────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-hands/src/registry.rs32// ─── Settings availability types ────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-hands/src/lib.rs16// ─── Error types ─────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-hands/src/lib.rs38// ─── Core types ──────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-hands/src/lib.rs153// ─── Hand settings types ────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-runtime/src/web_fetch.rs495 // ── SSRF allowlist tests ─────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-runtime/src/auth_cooldown.rs398 // ── Auth Profile Rotation (Gap 3) ────────────────────────────────────COMMENT
MEDIUMcrates/openfang-runtime/src/subprocess_sandbox.rs127 // ── Command substitution ──────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-runtime/src/subprocess_sandbox.rs141 // ── Command chaining ──────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-runtime/src/subprocess_sandbox.rs151 // ── I/O redirection ───────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-runtime/src/subprocess_sandbox.rs158 // ── Expansion and globbing ────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-runtime/src/subprocess_sandbox.rs164 // ── Embedded newlines ─────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-runtime/src/subprocess_sandbox.rs173 // ── Background execution and logical chaining ──────────────────────COMMENT
MEDIUMcrates/openfang-runtime/src/subprocess_sandbox.rs744 // ── Env passthrough merge (issue #1169) ────────────────────────────COMMENT
MEDIUMcrates/openfang-runtime/src/subprocess_sandbox.rs744 // ── Env passthrough merge (issue #1169) ────────────────────────────COMMENT
MEDIUMcrates/openfang-runtime/src/subprocess_sandbox.rs857 // ── Exec policy tests ──────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-runtime/src/subprocess_sandbox.rs960 // ── Shell metacharacter injection tests ──────────────────────────────COMMENT
MEDIUMcrates/openfang-runtime/src/subprocess_sandbox.rs1052 // ── CJK / multi-byte safety tests (issue #490) ──────────────────────COMMENT
MEDIUMcrates/openfang-runtime/src/subprocess_sandbox.rs1052 // ── CJK / multi-byte safety tests (issue #490) ──────────────────────COMMENT
MEDIUMcrates/openfang-runtime/src/subprocess_sandbox.rs1124 // ── Shell wrapper bypass tests (issue #794) ────────────────────────COMMENT
MEDIUMcrates/openfang-runtime/src/subprocess_sandbox.rs1124 // ── Shell wrapper bypass tests (issue #794) ────────────────────────COMMENT
MEDIUMcrates/openfang-runtime/src/provider_health.rs45// ── Probe cache ──────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-runtime/src/tool_runner.rs4537 // ─── Canvas / A2UI tests ────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-runtime/src/tool_runner.rs4625 // ── Regression: GitHub issue #919 — rm bypass via process_start ──────COMMENT
MEDIUMcrates/openfang-runtime/src/tool_runner.rs4625 // ── Regression: GitHub issue #919 — rm bypass via process_start ──────COMMENT
MEDIUMcrates/openfang-runtime/src/docker_sandbox.rs544 // ── Container Pool tests ──────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-runtime/src/docker_sandbox.rs586 // ── Bind Mount Validation tests ──────────────────────────────────COMMENT
MEDIUMcrates/openfang-runtime/src/browser.rs30// ── Constants ──────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-runtime/src/browser.rs39// ── Public types ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-runtime/src/browser.rs82// ── CDP connection ─────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-runtime/src/browser.rs224// ── Browser session ────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-runtime/src/browser.rs416 // ── Command implementations ────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-runtime/src/browser.rs621 // ── Helpers ────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-runtime/src/browser.rs672// ── Chromium discovery ─────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-runtime/src/browser.rs796// ── Browser manager ────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-runtime/src/browser.rs871// ── Tool handler functions ─────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-runtime/src/browser.rs1121// ── Embedded JavaScript ────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-runtime/src/browser.rs1171// ── Root detection ─────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/openfang-runtime/src/browser.rs1201// ── Tests ──────────────────────────────────────────────────────────────────COMMENT
448 more matches not shown…
Over-Commented Block277 hits · 251 pts
SeverityFileLineSnippetContext
LOWcrates/openfang-hands/bundled/researcher/HAND.toml321## SourcesCOMMENT
LOWcrates/openfang-hands/src/lib.rs121 pub check_value: String,COMMENT
LOWcrates/openfang-hands/src/lib.rs281 #[serde(default = "default_provider")]COMMENT
LOWcrates/openfang-hands/src/lib.rs361 /// Unique hand identifier (e.g. "clip").COMMENT
LOWcrates/openfang-hands/src/lib.rs381 /// Requirements that must be satisfied before activation.COMMENT
LOWcrates/openfang-hands/src/lib.rs421 pub instance_id: Uuid,COMMENT
LOWcrates/openfang-runtime/src/context_budget.rs1//! Dynamic context budget for tool result truncation.COMMENT
LOWcrates/openfang-runtime/src/web_fetch.rs181// ---------------------------------------------------------------------------COMMENT
LOWcrates/openfang-runtime/src/agent_loop.rs41const BASE_RETRY_DELAY_MS: u64 = 1000;COMMENT
LOWcrates/openfang-runtime/src/agent_loop.rs141/// signatures, Gemini 2.5+ thoughts, OpenAI-compat reasoning_content,COMMENT
LOWcrates/openfang-runtime/src/agent_loop.rs2361 let _ = hook_reg.fire(&ctx);COMMENT
LOWcrates/openfang-runtime/src/auth_cooldown.rs1//! Provider circuit breaker with exponential cooldown backoff.COMMENT
LOWcrates/openfang-runtime/src/auth_cooldown.rs61// ---------------------------------------------------------------------------COMMENT
LOWcrates/openfang-runtime/src/think_filter.rs1//! Streaming think-tag filter.COMMENT
LOWcrates/openfang-runtime/src/llm_driver.rs21 status: u16,COMMENT
LOWcrates/openfang-runtime/src/llm_driver.rs181 /// Base URL override.COMMENT
LOWcrates/openfang-runtime/src/llm_driver.rs201 ///COMMENT
LOWcrates/openfang-runtime/src/session_repair.rs1//! Session history validation and repair.COMMENT
LOWcrates/openfang-runtime/src/session_repair.rs21 /// Number of orphaned ToolResult blocks removed.COMMENT
LOWcrates/openfang-runtime/src/session_repair.rs41/// - 2c. Deduplicates ToolResults with the same tool_use_idCOMMENT
LOWcrates/openfang-runtime/src/session_repair.rs121 ..Default::default()COMMENT
LOWcrates/openfang-runtime/src/session_repair.rs361 },COMMENT
LOWcrates/openfang-runtime/src/session_repair.rs1001 assert_eq!(result_count, 1, "Should keep only the first ToolResult");COMMENT
LOWcrates/openfang-runtime/src/apply_patch.rs1//! Multi-hunk diff-based file patching.COMMENT
LOWcrates/openfang-runtime/src/llm_errors.rs1//! LLM error classification and sanitization.COMMENT
LOWcrates/openfang-runtime/src/llm_errors.rs41/// Classified error with metadata.COMMENT
LOWcrates/openfang-runtime/src/llm_errors.rs221 "network error",COMMENT
LOWcrates/openfang-runtime/src/llm_errors.rs541}COMMENT
LOWcrates/openfang-runtime/src/prompt_builder.rs1//! Centralized system prompt builder.COMMENT
LOWcrates/openfang-runtime/src/prompt_builder.rs61 pub sender_id: Option<String>,COMMENT
LOWcrates/openfang-runtime/src/a2a.rs1//! A2A (Agent-to-Agent) Protocol — cross-framework agent interoperability.COMMENT
LOWcrates/openfang-runtime/src/a2a.rs21COMMENT
LOWcrates/openfang-runtime/src/a2a.rs61#[derive(Debug, Clone, Serialize, Deserialize)]COMMENT
LOWcrates/openfang-runtime/src/a2a.rs81/// A2A Task — unit of work exchanged between agents.COMMENT
LOWcrates/openfang-runtime/src/a2a.rs101#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]COMMENT
LOWcrates/openfang-runtime/src/a2a.rs181 },COMMENT
LOWcrates/openfang-runtime/src/a2a.rs201 #[serde(default)]COMMENT
LOWcrates/openfang-runtime/src/graceful_shutdown.rs1//! Graceful shutdown — ordered subsystem teardown for clean exit.COMMENT
LOWcrates/openfang-runtime/src/compactor.rs1//! LLM-based session compaction.COMMENT
LOWcrates/openfang-runtime/src/hooks.rs1//! Plugin lifecycle hooks — intercept points at key moments in agent execution.COMMENT
LOWcrates/openfang-runtime/src/context_overflow.rs1//! Context overflow recovery pipeline.COMMENT
LOWcrates/openfang-runtime/src/subprocess_sandbox.rs1//! Subprocess environment sandboxing.COMMENT
LOWcrates/openfang-runtime/src/subprocess_sandbox.rs21 "USERPROFILE",COMMENT
LOWcrates/openfang-runtime/src/subprocess_sandbox.rs401COMMENT
LOWcrates/openfang-runtime/src/subprocess_sandbox.rs1081 #[test]COMMENT
LOWcrates/openfang-runtime/src/provider_health.rs1//! Provider health probing — lightweight HTTP checks for local LLM providers.COMMENT
LOWcrates/openfang-runtime/src/reply_directives.rs1//! Reply directive parsing and streaming accumulation.COMMENT
LOWcrates/openfang-runtime/src/mcp_server.rs1//! MCP Server — expose OpenFang tools via the Model Context Protocol.COMMENT
LOWcrates/openfang-runtime/src/loop_guard.rs1//! Tool loop detection for the agent execution loop.COMMENT
LOWcrates/openfang-runtime/src/agent_context.rs1//! Per-turn agent context loader for external `context.md` files.COMMENT
LOWcrates/openfang-runtime/src/agent_context.rs21/// Maximum size of `context.md` to inject into the prompt (32 KB).COMMENT
LOWcrates/openfang-runtime/src/command_lane.rs1//! Command lane system — lane-based command queue with concurrency control.COMMENT
LOWcrates/openfang-runtime/src/tool_policy.rs1//! Multi-layer tool policy resolution.COMMENT
LOWcrates/openfang-runtime/src/tool_runner.rs21/// Check if a tool name refers to a shell execution tool.COMMENT
LOWcrates/openfang-runtime/src/tool_runner.rs3321 "container_id": container.container_id,COMMENT
LOWcrates/openfang-runtime/src/tool_runner.rs4621 // CleanupCOMMENT
LOWcrates/openfang-runtime/src/workspace_sandbox.rs1//! Workspace filesystem sandboxing.COMMENT
LOWcrates/openfang-runtime/src/sandbox.rs1//! WASM sandbox for secure skill/plugin execution.COMMENT
LOWcrates/openfang-runtime/src/shell_bleed.rs1//! Shell bleed detection — scan script files for environment variable leaks.COMMENT
LOWcrates/openfang-runtime/src/browser.rs1//! Native browser automation via Chrome DevTools Protocol (CDP).COMMENT
217 more matches not shown…
Structural Annotation Overuse86 hits · 157 pts
SeverityFileLineSnippetContext
LOWCLAUDE.md26#### Step 1: Stop any running daemonCOMMENT
LOWCLAUDE.md34#### Step 2: Build fresh release binaryCOMMENT
LOWCLAUDE.md39#### Step 3: Start daemon with required API keysCOMMENT
LOWCLAUDE.md47#### Step 4: Test every new endpointCOMMENT
LOWCLAUDE.md62#### Step 5: Test real LLM integrationCOMMENT
LOWCLAUDE.md73#### Step 6: Verify side effectsCOMMENT
LOWCLAUDE.md80#### Step 7: Verify dashboard HTMLCOMMENT
LOWCLAUDE.md87#### Step 8: CleanupCOMMENT
LOWcrates/openfang-hands/bundled/clip/HAND.toml369### Step 1: Extract the clipCOMMENT
LOWcrates/openfang-hands/bundled/clip/HAND.toml374### Step 2: Crop to vertical (9:16)COMMENT
LOWcrates/openfang-hands/bundled/clip/HAND.toml383### Step 3: Generate SRT captions from transcriptCOMMENT
LOWcrates/openfang-hands/bundled/clip/HAND.toml454### Step 1: Check settingsCOMMENT
LOWcrates/openfang-hands/bundled/clip/HAND.toml461### Step 2: Validate credentialsCOMMENT
LOWcrates/openfang-hands/bundled/clip/HAND.toml516### Step 5: Rate limitingCOMMENT
LOWcrates/openfang-hands/bundled/clip/HAND.toml522### Step 6: Publishing summaryCOMMENT
LOWcrates/openfang-hands/bundled/clip/HAND.toml400### Step 4: Burn captions onto the clipCOMMENT
LOWcrates/openfang-hands/bundled/clip/HAND.toml439### Step 5: Generate thumbnailCOMMENT
LOWcrates/openfang-hands/bundled/clip/HAND.toml473### Step 3: Publish to TelegramCOMMENT
LOWcrates/openfang-hands/bundled/clip/HAND.toml489### Step 4: Publish to WhatsAppCOMMENT
LOWcrates/openfang-hands/bundled/trader/HAND.toml396### Step 1: Build the BULL CaseCOMMENT
LOWcrates/openfang-hands/bundled/trader/HAND.toml409### Step 2: Build the BEAR CaseCOMMENT
LOWcrates/openfang-hands/bundled/trader/HAND.toml422### Step 3: Cognitive Bias CheckCOMMENT
LOWcrates/openfang-hands/bundled/trader/HAND.toml430### Step 4: Synthesis & Final SignalCOMMENT
LOWcrates/openfang-runtime/src/web_fetch.rs55 // Step 1: SSRF protection — BEFORE any network I/OCOMMENT
LOWcrates/openfang-runtime/src/web_fetch.rs58 // Step 2: Cache lookup (only for GET)COMMENT
LOWcrates/openfang-runtime/src/web_fetch.rs67 // Step 3: Build request with configured methodCOMMENT
LOWcrates/openfang-runtime/src/web_fetch.rs127 // Step 4: For GET requests, detect HTML and convert to Markdown.COMMENT
LOWcrates/openfang-runtime/src/web_fetch.rs143 // Step 5: Truncate (char-boundary-safe to avoid panics on multi-byte UTF-8)COMMENT
LOWcrates/openfang-runtime/src/web_fetch.rs154 // Step 6: Wrap with external content markersCOMMENT
LOWcrates/openfang-runtime/src/web_fetch.rs160 // Step 7: Cache (only GET responses)COMMENT
LOWcrates/openfang-runtime/src/drivers/gemini.rs392 // Step 1: Merge consecutive same-role turnsCOMMENT
LOWcrates/openfang-runtime/src/drivers/gemini.rs404 // Step 2: Drop orphaned functionCall parts from model turns.COMMENT
LOWcrates/openfang-runtime/src/drivers/gemini.rs443 // Step 3: Drop orphaned functionResponse parts from user turns.COMMENT
LOWcrates/openfang-runtime/src/drivers/gemini.rs473 // Step 4: Remove turns that ended up empty after filteringCOMMENT
LOWcrates/openfang-runtime/src/drivers/gemini.rs476 // Step 5: Final merge pass (removing parts may have created new consecutive same-role)COMMENT
LOWcrates/openfang-runtime/src/drivers/copilot.rs751 // Step 1: Request device code.COMMENT
LOWcrates/openfang-runtime/src/drivers/copilot.rs754 // Step 2: Tell the user what to do + try to open browser.COMMENT
LOWcrates/openfang-runtime/src/drivers/copilot.rs767 // Step 3: Poll for authorization.COMMENT
LOWcrates/openfang-runtime/src/drivers/copilot.rs770 // Step 4: Persist.COMMENT
LOWcrates/openfang-runtime/src/drivers/bedrock.rs561 // Step 1: remove toolResult blocks whose ID is not in the assistant's toolUse set.COMMENT
LOWcrates/openfang-runtime/src/drivers/bedrock.rs582 // Step 2: deduplicate — keep only the first toolResult block per tool_use_id.COMMENT
LOWcrates/openfang-runtime/src/drivers/bedrock.rs605 // Step 3: insert a synthetic error result for any toolUse ID with no result.COMMENT
LOWcrates/openfang-runtime/src/drivers/bedrock.rs626 // Step 4: if all blocks were removed and nothing was inserted, the message isCOMMENT
LOWcrates/openfang-runtime/src/drivers/anthropic.rs931 // Step 1: API delivers a thinking block with signatureCOMMENT
LOWcrates/openfang-runtime/src/drivers/anthropic.rs951 // Step 2: Verify the signature reached the ContentBlockCOMMENT
LOWcrates/openfang-runtime/src/drivers/anthropic.rs965 // Step 3: Now feed the assistant turn back into the driver as ifCOMMENT
LOWcrates/openfang-runtime/src/drivers/anthropic.rs997 // Step 4: Verify on-the-wire JSON shape (`type=thinking`, `signature` present).COMMENT
LOWcrates/openfang-runtime/src/drivers/anthropic.rs1076 // Step 1: API delivers a response with a redacted_thinking block.COMMENT
LOWcrates/openfang-runtime/src/drivers/anthropic.rs1095 // Step 2: The opaque blob must reach the ContentBlock layer.COMMENT
LOWcrates/openfang-runtime/src/drivers/anthropic.rs1103 // Step 3: Resubmit the assistant turn as conversation history.COMMENT
LOWcrates/openfang-runtime/src/drivers/anthropic.rs1128 // Step 4: On-the-wire JSON shape (`type=redacted_thinking`, `data` present).COMMENT
LOWcrates/openfang-runtime/src/drivers/openai.rs2204 // Step 1: parse server response shape.COMMENT
LOWcrates/openfang-runtime/src/drivers/openai.rs2217 // Step 2: simulate the driver building blocks (mirrors the liveCOMMENT
LOWcrates/openfang-runtime/src/drivers/openai.rs2232 // Step 3: replay through the outbound path.COMMENT
LOWcrates/openfang-cli/src/main.rs6839 // Step 2: ConfirmCOMMENT
LOWcrates/openfang-cli/src/main.rs6849 // Step 3: Stop running daemonCOMMENT
LOWcrates/openfang-cli/src/main.rs6864 // Step 4: Remove auto-start entriesCOMMENT
LOWcrates/openfang-cli/src/main.rs6868 // Step 5: Clean PATH from shell configsCOMMENT
LOWcrates/openfang-cli/src/main.rs6875 // Step 6: Remove ~/.openfang/ dataCOMMENT
LOWcrates/openfang-cli/src/main.rs6888 // Step 7: Remove cargo bin copy if it exists and is separate from current exeCOMMENT
26 more matches not shown…
Verbosity Indicators78 hits · 141 pts
SeverityFileLineSnippetContext
LOWcrates/openfang-hands/bundled/clip/HAND.toml369### Step 1: Extract the clipCOMMENT
LOWcrates/openfang-hands/bundled/clip/HAND.toml374### Step 2: Crop to vertical (9:16)COMMENT
LOWcrates/openfang-hands/bundled/clip/HAND.toml383### Step 3: Generate SRT captions from transcriptCOMMENT
LOWcrates/openfang-hands/bundled/clip/HAND.toml454### Step 1: Check settingsCOMMENT
LOWcrates/openfang-hands/bundled/clip/HAND.toml461### Step 2: Validate credentialsCOMMENT
LOWcrates/openfang-hands/bundled/clip/HAND.toml516### Step 5: Rate limitingCOMMENT
LOWcrates/openfang-hands/bundled/clip/HAND.toml522### Step 6: Publishing summaryCOMMENT
LOWcrates/openfang-hands/bundled/clip/HAND.toml400### Step 4: Burn captions onto the clipCOMMENT
LOWcrates/openfang-hands/bundled/clip/HAND.toml439### Step 5: Generate thumbnailCOMMENT
LOWcrates/openfang-hands/bundled/clip/HAND.toml473### Step 3: Publish to TelegramCOMMENT
LOWcrates/openfang-hands/bundled/clip/HAND.toml489### Step 4: Publish to WhatsAppCOMMENT
LOWcrates/openfang-hands/bundled/trader/HAND.toml396### Step 1: Build the BULL CaseCOMMENT
LOWcrates/openfang-hands/bundled/trader/HAND.toml409### Step 2: Build the BEAR CaseCOMMENT
LOWcrates/openfang-hands/bundled/trader/HAND.toml422### Step 3: Cognitive Bias CheckCOMMENT
LOWcrates/openfang-hands/bundled/trader/HAND.toml430### Step 4: Synthesis & Final SignalCOMMENT
LOWcrates/openfang-runtime/src/web_fetch.rs55 // Step 1: SSRF protection — BEFORE any network I/OCOMMENT
LOWcrates/openfang-runtime/src/web_fetch.rs58 // Step 2: Cache lookup (only for GET)COMMENT
LOWcrates/openfang-runtime/src/web_fetch.rs67 // Step 3: Build request with configured methodCOMMENT
LOWcrates/openfang-runtime/src/web_fetch.rs127 // Step 4: For GET requests, detect HTML and convert to Markdown.COMMENT
LOWcrates/openfang-runtime/src/web_fetch.rs143 // Step 5: Truncate (char-boundary-safe to avoid panics on multi-byte UTF-8)COMMENT
LOWcrates/openfang-runtime/src/web_fetch.rs154 // Step 6: Wrap with external content markersCOMMENT
LOWcrates/openfang-runtime/src/web_fetch.rs160 // Step 7: Cache (only GET responses)COMMENT
LOWcrates/openfang-runtime/src/drivers/gemini.rs392 // Step 1: Merge consecutive same-role turnsCOMMENT
LOWcrates/openfang-runtime/src/drivers/gemini.rs404 // Step 2: Drop orphaned functionCall parts from model turns.COMMENT
LOWcrates/openfang-runtime/src/drivers/gemini.rs443 // Step 3: Drop orphaned functionResponse parts from user turns.COMMENT
LOWcrates/openfang-runtime/src/drivers/gemini.rs473 // Step 4: Remove turns that ended up empty after filteringCOMMENT
LOWcrates/openfang-runtime/src/drivers/gemini.rs476 // Step 5: Final merge pass (removing parts may have created new consecutive same-role)COMMENT
LOWcrates/openfang-runtime/src/drivers/copilot.rs751 // Step 1: Request device code.COMMENT
LOWcrates/openfang-runtime/src/drivers/copilot.rs754 // Step 2: Tell the user what to do + try to open browser.COMMENT
LOWcrates/openfang-runtime/src/drivers/copilot.rs767 // Step 3: Poll for authorization.COMMENT
LOWcrates/openfang-runtime/src/drivers/copilot.rs770 // Step 4: Persist.COMMENT
LOWcrates/openfang-runtime/src/drivers/bedrock.rs561 // Step 1: remove toolResult blocks whose ID is not in the assistant's toolUse set.COMMENT
LOWcrates/openfang-runtime/src/drivers/bedrock.rs582 // Step 2: deduplicate — keep only the first toolResult block per tool_use_id.COMMENT
LOWcrates/openfang-runtime/src/drivers/bedrock.rs605 // Step 3: insert a synthetic error result for any toolUse ID with no result.COMMENT
LOWcrates/openfang-runtime/src/drivers/bedrock.rs626 // Step 4: if all blocks were removed and nothing was inserted, the message isCOMMENT
LOWcrates/openfang-runtime/src/drivers/anthropic.rs931 // Step 1: API delivers a thinking block with signatureCOMMENT
LOWcrates/openfang-runtime/src/drivers/anthropic.rs951 // Step 2: Verify the signature reached the ContentBlockCOMMENT
LOWcrates/openfang-runtime/src/drivers/anthropic.rs965 // Step 3: Now feed the assistant turn back into the driver as ifCOMMENT
LOWcrates/openfang-runtime/src/drivers/anthropic.rs997 // Step 4: Verify on-the-wire JSON shape (`type=thinking`, `signature` present).COMMENT
LOWcrates/openfang-runtime/src/drivers/anthropic.rs1076 // Step 1: API delivers a response with a redacted_thinking block.COMMENT
LOWcrates/openfang-runtime/src/drivers/anthropic.rs1095 // Step 2: The opaque blob must reach the ContentBlock layer.COMMENT
LOWcrates/openfang-runtime/src/drivers/anthropic.rs1103 // Step 3: Resubmit the assistant turn as conversation history.COMMENT
LOWcrates/openfang-runtime/src/drivers/anthropic.rs1128 // Step 4: On-the-wire JSON shape (`type=redacted_thinking`, `data` present).COMMENT
LOWcrates/openfang-runtime/src/drivers/openai.rs2204 // Step 1: parse server response shape.COMMENT
LOWcrates/openfang-runtime/src/drivers/openai.rs2217 // Step 2: simulate the driver building blocks (mirrors the liveCOMMENT
LOWcrates/openfang-runtime/src/drivers/openai.rs2232 // Step 3: replay through the outbound path.COMMENT
LOWcrates/openfang-cli/src/main.rs6839 // Step 2: ConfirmCOMMENT
LOWcrates/openfang-cli/src/main.rs6849 // Step 3: Stop running daemonCOMMENT
LOWcrates/openfang-cli/src/main.rs6864 // Step 4: Remove auto-start entriesCOMMENT
LOWcrates/openfang-cli/src/main.rs6868 // Step 5: Clean PATH from shell configsCOMMENT
LOWcrates/openfang-cli/src/main.rs6875 // Step 6: Remove ~/.openfang/ dataCOMMENT
LOWcrates/openfang-cli/src/main.rs6888 // Step 7: Remove cargo bin copy if it exists and is separate from current exeCOMMENT
LOWcrates/openfang-cli/src/main.rs6896 // Step 8: Remove the binary itself (must be last)COMMENT
LOWcrates/openfang-cli/src/main.rs6800 // Step 1: Show what will be removedCOMMENT
LOWcrates/openfang-cli/src/tui/screens/init_wizard.rs891 // Step 1: request device codeCOMMENT
LOWcrates/openfang-cli/src/tui/screens/init_wizard.rs913 // Step 2: poll for tokenCOMMENT
LOWcrates/openfang-cli/src/tui/screens/init_wizard.rs937 // Step 3: fetch modelsCOMMENT
LOWcrates/openfang-api/static/js/pages/wizard.js21 // Step 2: Provider setupCOMMENT
LOWcrates/openfang-api/static/js/pages/wizard.js30 // Step 3: Agent creationCOMMENT
LOWcrates/openfang-api/static/js/pages/wizard.js148 // Step 3: Category filteringCOMMENT
18 more matches not shown…
Hallucination Indicators7 hits · 70 pts
SeverityFileLineSnippetContext
CRITICALcrates/openfang-api/tests/api_integration_test.rs937 state.kernel.config.auth.password_hash.clone()CODE
CRITICALcrates/openfang-api/src/server.rs154 state.kernel.config.auth.password_hash.clone()CODE
CRITICALcrates/openfang-api/src/routes.rs5455 && !state.kernel.config.network.shared_secret.is_empty();CODE
CRITICALcrates/openfang-api/src/routes.rs7735 state.kernel.config.default_model.provider.clone(),CODE
CRITICALcrates/openfang-api/src/routes.rs7736 state.kernel.config.default_model.api_key_env.clone(),CODE
CRITICALcrates/openfang-api/src/ws.rs332 state.kernel.config.auth.password_hash.clone()CODE
CRITICALcrates/openfang-kernel/src/kernel.rs2515 ssrf_allowed_hosts: self.config.web.fetch.ssrf_allowed_hosts.clone(),CODE
Modern AI Meta-Vocabulary11 hits · 31 pts
SeverityFileLineSnippetContext
MEDIUMcrates/openfang-cli/src/main.rs199 /// What to scaffold.COMMENT
MEDIUMcrates/openfang-cli/src/main.rs364 /// Create a new skill scaffold.COMMENT
MEDIUMcrates/openfang-types/src/agent.rs69/// Autonomous agent configuration — guardrails for 24/7 agents.COMMENT
MEDIUMcrates/openfang-types/src/agent.rs471 /// Autonomous agent configuration — guardrails for 24/7 agents.COMMENT
MEDIUMcrates/openfang-types/src/agent.rs480 /// agent's working directory and will NOT scaffold private state filesCOMMENT
MEDIUMcrates/openfang-extensions/src/installer.rs221/// Generate scaffold files for a new custom integration.COMMENT
MEDIUMcrates/openfang-extensions/src/installer.rs263/// Generate scaffold files for a new skill.STRING
MEDIUMcrates/openfang-kernel/src/kernel.rs9343 /// existing directory like `~/Documents`, the runtime must NOT scaffoldCOMMENT
MEDIUMdocs/agent-templates.md401# "Write a blog post about the benefits of agent-based architectures"COMMENT
MEDIUMdocs/troubleshooting.md696### How do I configure the embedding model for memory?COMMENT
MEDIUMdocs/skill-development.md487# Create a new skill scaffold (interactive)COMMENT
Synthetic Comment Markers3 hits · 20 pts
SeverityFileLineSnippetContext
HIGHcrates/openfang-runtime/src/media_understanding.rs238 description: "[Video description would be generated by Gemini]".to_string(),CODE
HIGHcrates/openfang-runtime/src/web_search.rs207 // Include AI-generated answer if availableCOMMENT
HIGHcrates/openfang-types/src/config.rs286 /// Include AI-generated answer summary.COMMENT
Fake / Example Data13 hits · 12 pts
SeverityFileLineSnippetContext
LOWcrates/openfang-hands/bundled/lead/SKILL.md177"Jane Smith","VP Engineering","Acme Corp","https://acme.com","https://linkedin.com/in/janesmith","SaaS","SMB (120 employCODE
LOWcrates/openfang-hands/bundled/lead/SKILL.md186 "company": "Acme Corp",CODE
LOWcrates/openfang-runtime/src/routing.rs184 model: "placeholder".to_string(),CODE
LOWcrates/openfang-memory/src/knowledge.rs318 name: "Acme Corp".to_string(),CODE
LOWcrates/openfang-memory/src/knowledge.rs344 assert_eq!(matches[0].target.name, "Acme Corp");CODE
LOWcrates/openfang-types/src/approval.rs508 decided_by: Some("admin@example.com".into()),CODE
LOWcrates/openfang-types/src/approval.rs514 assert_eq!(back.decided_by, Some("admin@example.com".into()));CODE
LOWcrates/openfang-api/static/i18n/i18n.js99 if (el.hasAttribute('placeholder')) {CODE
LOWcrates/openfang-api/src/routes.rs2412 "placeholder": f.placeholder,CODE
LOWcrates/openfang-channels/src/xmpp.rs231 platform_id: "user@example.com".to_string(),CODE
LOWcrates/openfang-channels/src/email.rs598 assert_eq!(extract_email_addr("user@example.com"), "user@example.com");CODE
LOWcrates/openfang-channels/src/linkedin.rs440 "fromName": "Jane Doe",CODE
LOWcrates/openfang-channels/src/linkedin.rs449 assert_eq!(name, "Jane Doe");CODE
Magic Placeholder Names2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHdocs/troubleshooting.md434curl -H "Authorization: Bearer your-api-key" http://127.0.0.1:4200/api/agentsCODE
HIGHdocs/api-reference.md39Authorization: Bearer <your-api-key>CODE
Excessive Try-Catch Wrapping7 hits · 8 pts
SeverityFileLineSnippetContext
LOWtest_vertex_e2e.py87 except Exception as e:CODE
LOWtest_vertex_e2e.py156 except Exception as e:CODE
MEDIUMtest_vertex_e2e.py12def test_vertex_ai():CODE
LOWagents/langchain-code-reviewer/server.py158 except Exception as e:CODE
LOWdocs/skill-development.md253 except Exception as e:CODE
LOWsdk/python/openfang_sdk.py120 except Exception as e:CODE
LOWsdk/python/openfang_sdk.py128 except Exception as e:CODE
Self-Referential Comments3 hits · 7 pts
SeverityFileLineSnippetContext
MEDIUMsdk/python/openfang_client.py10 # Create an agentSTRING
MEDIUMsdk/python/examples/client_basic.py25# Create a new agent from the "assistant" templateCOMMENT
MEDIUMsdk/python/examples/client_streaming.py17# Create an agentCOMMENT
AI Slop Vocabulary2 hits · 5 pts
SeverityFileLineSnippetContext
MEDIUMcrates/openfang-hands/bundled/researcher/HAND.toml168system_prompt = """You are Researcher Hand — an autonomous deep research agent that conducts exhaustive investigations, CODE
MEDIUMcrates/openfang-channels/src/router.rs779 // leverage line in the patch from issue #1127.COMMENT
Unused Imports4 hits · 4 pts
SeverityFileLineSnippetContext
LOWtest_vertex_e2e.py7CODE
LOWagents/langchain-code-reviewer/server.py20CODE
LOWagents/langchain-code-reviewer/server.py20CODE
LOWsdk/python/openfang_client.py31CODE
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtest_vertex_e2e.py91CODE
LOWsdk/python/openfang_client.py82CODE
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippetContext
LOWcrates/openfang-api/static/js/pages/wizard.js5function wizardTomlMultilineEscape(s) {CODE