Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ruvnet/ruflo
/ functions
Functions
18,477 in github.com/ruvnet/ruflo
⨍
Functions
18,477
◇
Types & classes
6,101
↓ 3 callers
Function
randomFSM
(game: GameSpec, rng: () => number, nStates = 2, name = 'evolved')
plugins/ruflo-arena/src/domain/strategies.ts:136
↓ 3 callers
Function
randomVector
(dim: number)
v3/@claude-flow/memory/benchmarks/hnsw-search.bench.ts:28
↓ 3 callers
Method
rankViolations
* Rank violations by frequency and cost (rework lines)
v3/@claude-flow/guidance/src/ledger.ts:398
↓ 3 callers
Function
readCoverageFromDisk
* Read coverage data from disk. Checks these locations in order: * 1. coverage/coverage-summary.json (Jest/Istanbul) * 2. coverage/lcov.info (lcov f
v3/@claude-flow/cli/src/commands/hooks.ts:56
↓ 3 callers
Function
readFederationMetadata
(event: ClaimDomainEvent)
v3/@claude-flow/claims/src/infrastructure/federated-event-store.ts:89
↓ 3 callers
Method
rebuildClusters
()
v3/@claude-flow/neural/src/pattern-learner.ts:731
↓ 3 callers
Method
rebuildIndex
(indexName: string)
v3/@claude-flow/plugins/src/integrations/ruvector/types.ts:1755
↓ 3 callers
Method
recordAcquireTime
(startTime: number)
v3/@claude-flow/mcp/src/connection-pool.ts:323
↓ 3 callers
Method
recordAcquireTime
* Record acquire time for statistics
v3/@claude-flow/shared/src/mcp/connection-pool.ts:408
↓ 3 callers
Method
recordAcquireTime
* Record acquire time for statistics
v3/mcp/connection-pool.ts:408
↓ 3 callers
Method
recordAction
* Record an action in the provenance buffer. P5 will route to telemetry; * P1 keeps the last N events for test inspection and post-incident audit.
v3/@claude-flow/security/src/authorization/propagator.ts:228
↓ 3 callers
Function
recordFailure
(key: string, status: number | undefined, err: unknown)
ruflo/src/ruvocal/src/lib/server/mcp/clientPool.ts:117
↓ 3 callers
Method
recordMetric
* Record a metric event
v3/@claude-flow/cli/src/production/monitoring.ts:154
↓ 3 callers
Function
recordModelOutcomeByModelId
( task: string, modelId: string, outcome: 'success' | 'failure' | 'escalated' )
v3/@claude-flow/cli/src/ruvector/model-router.ts:1463
↓ 3 callers
Method
recordPatternUsage
* Record a pattern usage outcome. Updates the success rate using an * exponential moving average (alpha = 0.1).
v3/@claude-flow/memory/src/persistent-sona.ts:218
↓ 3 callers
Function
recordTurn
( state: ConvergenceState, inputTokens: number, toolCallsThisTurn: Array<{ name: string; args: object }>
v3/@claude-flow/cli/src/benchmarks/gaia-convergence.ts:317
↓ 3 callers
Function
recordUpdate
(entry: UpdateHistoryEntry)
v3/@claude-flow/cli/src/update/executor.ts:78
↓ 3 callers
Method
recordViolation
* Record a violation during a run
v3/@claude-flow/guidance/src/index.ts:596
↓ 3 callers
Function
redactSensitiveFields
* Recursively redact sensitive fields from an object
v3/plugins/gastown-bridge/src/sanitizers.ts:464
↓ 3 callers
Function
reducer
(state: State, action: Action)
v3/goal_ui/src/hooks/use-toast.ts:71
↓ 3 callers
Method
refreshBaseline
* Compute or refresh the baseline for a device from its recent readings.
v3/@claude-flow/plugin-iot-cognitum/src/domain/services/telemetry-ingestion-service.ts:53
↓ 3 callers
Function
refreshLock
(key: Semaphores | string, lockId: ObjectId)
ruflo/src/ruvocal/src/lib/migrations/lock.ts:41
↓ 3 callers
Function
registerKnowledgeGraphAdapter
( options: KnowledgeGraphAdapterOptions & { registry?: AdapterRegistry }, )
plugins/ruflo-graph-intelligence/src/adapters/knowledge-graph-adapter.ts:97
↓ 3 callers
Method
registerPlugin
* Register a plugin in the registry
v3/@claude-flow/shared/src/plugin-registry.ts:35
↓ 3 callers
Function
registerTool
* Simulate tool registration
v3/@claude-flow/performance/benchmarks/startup/mcp-server-init.bench.ts:44
↓ 3 callers
Method
rejectHandoff
* Reject a pending handoff
v3/@claude-flow/claims/src/application/claim-service.ts:90
↓ 3 callers
Function
releaseLock
(key: Semaphores | string, lockId: ObjectId)
ruflo/src/ruvocal/src/lib/migrations/lock.ts:27
↓ 3 callers
Method
reload
* Hot reload a plugin without full restart.
v3/@claude-flow/plugins/src/registry/enhanced-plugin-registry.ts:531
↓ 3 callers
Function
removeDiacritics
(s: string, form: "NFD" | "NFKD" = "NFD")
ruflo/src/ruvocal/src/lib/utils/searchTokens.ts:3
↓ 3 callers
Method
removeNode
(node: LRUNode<T>)
v3/@claude-flow/memory/src/cache-manager.ts:360
↓ 3 callers
Method
removeNode
(node: LRUNode<K, V>)
v3/plugins/gastown-bridge/src/cache.ts:242
↓ 3 callers
Method
removePidFile
* Remove PID file
v3/@claude-flow/cli/src/mcp-server.ts:744
↓ 3 callers
Function
requireAdmin
(locals: App.Locals)
ruflo/src/ruvocal/src/lib/server/api/utils/requireAuth.ts:15
↓ 3 callers
Method
resetActivity
* Reset activity tracking
v3/@claude-flow/shared/src/hooks/session-hooks.ts:465
↓ 3 callers
Function
resetGlobalRng
()
v3/@claude-flow/neural/src/utils/rng.ts:107
↓ 3 callers
Method
resetMetrics
* Reset all metrics
v3/@claude-flow/performance/src/attention-integration.ts:399
↓ 3 callers
Function
resetPluginManager
()
v3/@claude-flow/cli/src/plugins/manager.ts:543
↓ 3 callers
Function
resolveBackend
(cfg: NeuralRouterConfig)
v3/@claude-flow/cli/src/ruvector/neural-router.ts:320
↓ 3 callers
Function
resolveBasePath
(input?: string)
v3/@claude-flow/cli/src/mcp-tools/agentbbs-tools.ts:60
↓ 3 callers
Method
resolveConsensus
* Resolve a consensus request
v3/@claude-flow/hooks/src/swarm/index.ts:510
↓ 3 callers
Method
resolvePrivilegeLevel
(score: number)
v3/@claude-flow/guidance/src/conformance-kit.ts:470
↓ 3 callers
Method
resolveStepDependencies
Resolve step dependencies (topological sort)
v3/plugins/gastown-bridge/src/formula/executor.ts:179
↓ 3 callers
Function
resolveWitnessKey
()
v3/@claude-flow/browser/src/infrastructure/witness-signer.ts:182
↓ 3 callers
Method
restoreAllowedIPs
* Phase 3 hook — peer reactivated. Restore the AllowedIPs slice that * was active before suspension. Returns null if the peer was never * suspen
v3/@claude-flow/plugin-agent-federation/src/domain/services/wg-mesh-service.ts:275
↓ 3 callers
Method
retrieve
(key: string)
v3/@claude-flow/browser/src/infrastructure/memory-integration.ts:48
↓ 3 callers
Method
retrieveForTask
* Retrieve relevant guidance for a task * * This is the main entry point called at task start. * Returns the constitution + relevant shards.
v3/@claude-flow/guidance/src/index.ts:551
↓ 3 callers
Function
roomLogPath
(basePath: string, roomId: string)
v3/@claude-flow/cli/src/mcp-tools/agentbbs-tools.ts:101
↓ 3 callers
Function
run
(name: string, fn: () => Promise<void>)
v3/@claude-flow/cli/src/benchmarks/gaia-voting.smoke.ts:371
↓ 3 callers
Method
runAll
* Run all workers (non-blocking with concurrency limit)
v3/@claude-flow/hooks/src/workers/index.ts:958
↓ 3 callers
Method
runCommand
* Run a command and return output
v3/@claude-flow/codex/src/dual-mode/orchestrator.ts:353
↓ 3 callers
Function
runDefaultCell
()
v3/@claude-flow/guidance/tests/conformance-kit.test.ts:74
↓ 3 callers
Function
runGaiaAgentWithCritic
( question: GaiaQuestion, options: RunWithCriticOptions = {}, )
v3/@claude-flow/cli/src/benchmarks/gaia-critic.ts:366
↓ 3 callers
Function
runHarness
(args, opts)
v3/@claude-flow/cli/plugins/ruflo-metaharness/scripts/_harness.mjs:134
↓ 3 callers
Function
runHarness
(args, opts)
plugins/ruflo-metaharness/scripts/_harness.mjs:134
↓ 3 callers
Function
runHarnessAsync
(args, opts)
v3/@claude-flow/cli/plugins/ruflo-metaharness/scripts/_harness.mjs:80
↓ 3 callers
Function
runHarnessAsync
(args, opts)
plugins/ruflo-metaharness/scripts/_harness.mjs:80
↓ 3 callers
Function
runNpm
(args: string[], timeoutMs: number)
v3/@claude-flow/cli/src/plugins/manager.ts:22
↓ 3 callers
Function
runPython
* Run a Python script passed via stdin, with optional positional args. * Uses execFileSync with stdin input to avoid shell-escaping issues.
v3/@claude-flow/cli/src/benchmarks/gaia-tools/file_read.ts:143
↓ 3 callers
Method
runReplayTest
* Replay a previously captured trace and verify that every decision * is reproduced identically by the control plane logic.
v3/@claude-flow/guidance/src/conformance-kit.ts:890
↓ 3 callers
Function
runRestore
(sessionId: string)
v3/@claude-flow/cli/__tests__/session-encryption.test.ts:54
↓ 3 callers
Method
runTest
* Run a single test
v3/@claude-flow/testing/src/regression/integration-regression.ts:92
↓ 3 callers
Function
runValidationTasks
( executor: IHeadlessExecutor, tasks: ValidationTask[], workDir: string, )
v3/@claude-flow/guidance/src/analyzer.ts:1886
↓ 3 callers
Function
safePath
(baseDir: string, ...segments: string[])
v3/@claude-flow/plugins/src/security/index.ts:178
↓ 3 callers
Function
sanitize
(s: string)
v3/@claude-flow/cli/src/commands/daemon.ts:57
↓ 3 callers
Function
sanitizeError
* Sanitize error messages to prevent information disclosure
v3/@claude-flow/cli/src/services/claim-service.ts:798
↓ 3 callers
Method
sanitizeInput
* Sanitize input by removing detected threats
v3/@claude-flow/browser/src/infrastructure/security-integration.ts:284
↓ 3 callers
Method
sanitizeInput
(input: string)
v3/plugins/agentic-qe/__tests__/bridges.test.ts:186
↓ 3 callers
Function
sanitizeLabels
(value: unknown)
v3/@claude-flow/cli/src/mcp-tools/github-tools.ts:126
↓ 3 callers
Function
sanitizeMessage
(message: string)
v3/@claude-flow/cli/__tests__/security-audit.test.ts:277
↓ 3 callers
Method
save
Save session state
v3/@claude-flow/shared/src/hooks/session-hooks.ts:120
↓ 3 callers
Function
saveAgentStore
(store: AgentStore)
v3/@claude-flow/cli/src/mcp-tools/agent-execute-core.ts:64
↓ 3 callers
Function
saveConfigStore
(store: ConfigStore)
v3/@claude-flow/cli/src/mcp-tools/config-tools.ts:70
↓ 3 callers
Function
saveCustomServers
(servers: MCPServer[])
ruflo/src/ruvocal/src/lib/stores/mcpServers.ts:83
↓ 3 callers
Function
saveDisabledBaseIds
(ids: Set<string>)
ruflo/src/ruvocal/src/lib/stores/mcpServers.ts:118
↓ 3 callers
Function
saveHNSWMetadata
* Save HNSW metadata to disk for persistence
v3/@claude-flow/cli/src/memory/memory-initializer.ts:632
↓ 3 callers
Function
saveLedger
(path, ledger)
plugins/ruflo-business-pods/scripts/pod-tick.mjs:193
↓ 3 callers
Function
saveMetrics
(metrics: SystemMetrics)
v3/@claude-flow/cli/src/mcp-tools/system-tools.ts:95
↓ 3 callers
Method
saveModel
* Save model to persistence file
v3/@claude-flow/cli/src/ruvector/q-learning-router.ts:300
↓ 3 callers
Function
saveSwarmStore
(store: SwarmStore)
v3/@claude-flow/cli/src/mcp-tools/swarm-tools.ts:134
↓ 3 callers
Method
saveSyncState
* Save sync state to AgentDB
v3/plugins/gastown-bridge/src/bridges/sync-bridge.ts:868
↓ 3 callers
Method
saveTeamState
(teamName: string)
v3/plugins/teammate-plugin/src/teammate-bridge.ts:2251
↓ 3 callers
Method
saveTeammateMemory
* Save teammate memory
v3/plugins/teammate-plugin/src/teammate-bridge.ts:1695
↓ 3 callers
Function
saveTerminalStore
(store: TerminalStore)
v3/@claude-flow/cli/src/mcp-tools/terminal-tools.ts:69
↓ 3 callers
Function
scanCFPForPII
(cfp: CFPFormat)
v3/@claude-flow/cli/src/transfer/anonymization/index.ts:204
↓ 3 callers
Function
scoreToTier
* Map a trust score to a privilege tier.
v3/@claude-flow/guidance/src/trust.ts:622
↓ 3 callers
Method
search
* Semantic vector search
v3/@claude-flow/memory/src/agentdb-backend.ts:388
↓ 3 callers
Method
search
(indexPtr: number, query: Float32Array, topK: number, efSearch: number)
v3/plugins/healthcare-clinical/src/bridges/hnsw-bridge.ts:38
↓ 3 callers
Method
search
(query: Float32Array, k: number)
v3/plugins/cognitive-kernel/src/types.ts:471
↓ 3 callers
Method
searchLayer
* Search at a specific layer
v3/@claude-flow/memory/benchmarks/hnsw-indexing.bench.ts:152
↓ 3 callers
Method
searchPatterns
* Search for similar patterns using HNSW (if available) or brute-force
v3/@claude-flow/hooks/src/reasoningbank/index.ts:366
↓ 3 callers
Function
searchQuantizedBinary
( store: QuantizedVectorStore, query: number[], k: number )
v3/@claude-flow/plugins/__tests__/ruvector-quantization.test.ts:347
↓ 3 callers
Function
searchQuantizedInt8
( store: QuantizedVectorStore, query: number[], k: number )
v3/@claude-flow/plugins/__tests__/ruvector-quantization.test.ts:324
↓ 3 callers
Function
searchRabitq
( queryEmbedding: number[], options?: { k?: number; namespace?: string } )
v3/@claude-flow/cli/src/memory/rabitq-index.ts:218
↓ 3 callers
Method
searchTemplates
* Search templates by tags
v3/@claude-flow/browser/src/infrastructure/workflow-templates.ts:384
↓ 3 callers
Method
selectModel
* Select the best model from scores. Uses Thompson sampling (#1772): * each model's deterministic complexity score is multiplied by a draw * θ_m
v3/@claude-flow/cli/src/ruvector/model-router.ts:968
↓ 3 callers
Method
selfAttention
( input: Float32Array, config: AttentionConfig )
v3/plugins/ruvector-upstream/src/bridges/attention.ts:29
↓ 3 callers
Method
send
(address: string, message: { type?: string; payload: unknown; streamId?: string })
v3/@claude-flow/swarm/src/consensus/federation-transport.ts:41
↓ 3 callers
Method
send
* Send a message to a specific peer. Resolves with the peer's reply * (or `null` if the peer ack'd without a reply), rejects on timeout or * unr
v3/@claude-flow/swarm/src/consensus/transport.ts:71
↓ 3 callers
Method
send
(to: string, msg: Omit<ConsensusMessage, 'from'>, timeoutMs?: number)
v3/@claude-flow/swarm/src/consensus/transport.ts:256
↓ 3 callers
Method
sendMessage
* Send message to a specific teammate
v3/plugins/teammate-plugin/src/teammate-bridge.ts:1075
← previous
next →
3,501–3,600 of 18,477, ranked by callers