AI Slop Code RIsk Monitor

RightNow-AI/openfang

Open-source Agent Operating System

8.3 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for RightNow-AI/openfang, a Rust project with 18,217 GitHub stars. SynthScan examined 264,554 lines of code across 504 source files, recording 1004 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 8.3 (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.

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

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 11.0/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 463 finding(s).

Hallucinated Dependency & Supply Chain Risk 1.8/100 · LOW

Are imports declared and package/API names verified? 26 finding(s).

Agent Over-Engineering Ratio 24.6/100 · LOW

Are wrappers, guards, and repeated structures necessary? 516 finding(s).

PR Review Velocity Impact 33.3/100 · MEDIUM

Which changes need focused human review? 1004 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 7HIGH 5MEDIUM 525LOW 467

Directory Score Breakdown

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.

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 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.

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
MEDIUM⚡crates/openfang-runtime/src/subprocess_sandbox.rs141 // ── Command chaining ──────────────────────────────────────────────COMMENT
MEDIUM⚡crates/openfang-runtime/src/subprocess_sandbox.rs151 // ── I/O redirection ───────────────────────────────────────────────COMMENT
MEDIUM⚡crates/openfang-runtime/src/subprocess_sandbox.rs158 // ── Expansion and globbing ────────────────────────────────────────COMMENT
MEDIUM⚡crates/openfang-runtime/src/subprocess_sandbox.rs164 // ── Embedded newlines ─────────────────────────────────────────────COMMENT
MEDIUM⚡crates/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
LOW⚡CLAUDE.md26#### Step 1: Stop any running daemonCOMMENT
LOW⚡CLAUDE.md34#### Step 2: Build fresh release binaryCOMMENT
LOW⚡CLAUDE.md39#### Step 3: Start daemon with required API keysCOMMENT
LOW⚡CLAUDE.md47#### Step 4: Test every new endpointCOMMENT
LOWCLAUDE.md62#### Step 5: Test real LLM integrationCOMMENT
LOW⚡CLAUDE.md73#### Step 6: Verify side effectsCOMMENT
LOW⚡CLAUDE.md80#### Step 7: Verify dashboard HTMLCOMMENT
LOW⚡CLAUDE.md87#### Step 8: CleanupCOMMENT
LOW⚡crates/openfang-hands/bundled/clip/HAND.toml369### Step 1: Extract the clipCOMMENT
LOW⚡crates/openfang-hands/bundled/clip/HAND.toml374### Step 2: Crop to vertical (9:16)COMMENT
LOW⚡crates/openfang-hands/bundled/clip/HAND.toml383### Step 3: Generate SRT captions from transcriptCOMMENT
LOW⚡crates/openfang-hands/bundled/clip/HAND.toml454### Step 1: Check settingsCOMMENT
LOW⚡crates/openfang-hands/bundled/clip/HAND.toml461### Step 2: Validate credentialsCOMMENT
LOW⚡crates/openfang-hands/bundled/clip/HAND.toml516### Step 5: Rate limitingCOMMENT
LOW⚡crates/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
LOW⚡crates/openfang-hands/bundled/trader/HAND.toml422### Step 3: Cognitive Bias CheckCOMMENT
LOW⚡crates/openfang-hands/bundled/trader/HAND.toml430### Step 4: Synthesis & Final SignalCOMMENT
LOW⚡crates/openfang-runtime/src/web_fetch.rs55 // Step 1: SSRF protection — BEFORE any network I/OCOMMENT
LOW⚡crates/openfang-runtime/src/web_fetch.rs58 // Step 2: Cache lookup (only for GET)COMMENT
LOW⚡crates/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
LOW⚡crates/openfang-runtime/src/web_fetch.rs154 // Step 6: Wrap with external content markersCOMMENT
LOW⚡crates/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
LOW⚡crates/openfang-runtime/src/drivers/gemini.rs473 // Step 4: Remove turns that ended up empty after filteringCOMMENT
LOW⚡crates/openfang-runtime/src/drivers/gemini.rs476 // Step 5: Final merge pass (removing parts may have created new consecutive same-role)COMMENT
LOW⚡crates/openfang-runtime/src/drivers/copilot.rs751 // Step 1: Request device code.COMMENT
LOW⚡crates/openfang-runtime/src/drivers/copilot.rs754 // Step 2: Tell the user what to do + try to open browser.COMMENT
LOW⚡crates/openfang-runtime/src/drivers/copilot.rs767 // Step 3: Poll for authorization.COMMENT
LOW⚡crates/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
LOW⚡crates/openfang-runtime/src/drivers/anthropic.rs1095 // Step 2: The opaque blob must reach the ContentBlock layer.COMMENT
LOW⚡crates/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
LOW⚡crates/openfang-cli/src/main.rs6839 // Step 2: ConfirmCOMMENT
LOW⚡crates/openfang-cli/src/main.rs6849 // Step 3: Stop running daemonCOMMENT
LOW⚡crates/openfang-cli/src/main.rs6864 // Step 4: Remove auto-start entriesCOMMENT
LOW⚡crates/openfang-cli/src/main.rs6868 // Step 5: Clean PATH from shell configsCOMMENT
LOW⚡crates/openfang-cli/src/main.rs6875 // Step 6: Remove ~/.openfang/ dataCOMMENT
LOW⚡crates/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
LOW⚡crates/openfang-hands/bundled/clip/HAND.toml369### Step 1: Extract the clipCOMMENT
LOW⚡crates/openfang-hands/bundled/clip/HAND.toml374### Step 2: Crop to vertical (9:16)COMMENT
LOW⚡crates/openfang-hands/bundled/clip/HAND.toml383### Step 3: Generate SRT captions from transcriptCOMMENT
LOW⚡crates/openfang-hands/bundled/clip/HAND.toml454### Step 1: Check settingsCOMMENT
LOW⚡crates/openfang-hands/bundled/clip/HAND.toml461### Step 2: Validate credentialsCOMMENT
LOW⚡crates/openfang-hands/bundled/clip/HAND.toml516### Step 5: Rate limitingCOMMENT
LOW⚡crates/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
LOW⚡crates/openfang-hands/bundled/trader/HAND.toml422### Step 3: Cognitive Bias CheckCOMMENT
LOW⚡crates/openfang-hands/bundled/trader/HAND.toml430### Step 4: Synthesis & Final SignalCOMMENT
LOW⚡crates/openfang-runtime/src/web_fetch.rs55 // Step 1: SSRF protection — BEFORE any network I/OCOMMENT
LOW⚡crates/openfang-runtime/src/web_fetch.rs58 // Step 2: Cache lookup (only for GET)COMMENT
LOW⚡crates/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
LOW⚡crates/openfang-runtime/src/web_fetch.rs154 // Step 6: Wrap with external content markersCOMMENT
LOW⚡crates/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
LOW⚡crates/openfang-runtime/src/drivers/gemini.rs473 // Step 4: Remove turns that ended up empty after filteringCOMMENT
LOW⚡crates/openfang-runtime/src/drivers/gemini.rs476 // Step 5: Final merge pass (removing parts may have created new consecutive same-role)COMMENT
LOW⚡crates/openfang-runtime/src/drivers/copilot.rs751 // Step 1: Request device code.COMMENT
LOW⚡crates/openfang-runtime/src/drivers/copilot.rs754 // Step 2: Tell the user what to do + try to open browser.COMMENT
LOW⚡crates/openfang-runtime/src/drivers/copilot.rs767 // Step 3: Poll for authorization.COMMENT
LOW⚡crates/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
LOW⚡crates/openfang-runtime/src/drivers/anthropic.rs1095 // Step 2: The opaque blob must reach the ContentBlock layer.COMMENT
LOW⚡crates/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
LOW⚡crates/openfang-cli/src/main.rs6839 // Step 2: ConfirmCOMMENT
LOW⚡crates/openfang-cli/src/main.rs6849 // Step 3: Stop running daemonCOMMENT
LOW⚡crates/openfang-cli/src/main.rs6864 // Step 4: Remove auto-start entriesCOMMENT
LOW⚡crates/openfang-cli/src/main.rs6868 // Step 5: Clean PATH from shell configsCOMMENT
LOW⚡crates/openfang-cli/src/main.rs6875 // Step 6: Remove ~/.openfang/ dataCOMMENT
LOW⚡crates/openfang-cli/src/main.rs6888 // Step 7: Remove cargo bin copy if it exists and is separate from current exeCOMMENT
LOW⚡crates/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
LOW⚡crates/openfang-api/static/js/pages/wizard.js21 // Step 2: Provider setupCOMMENT
LOW⚡crates/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