MCPcopy Create free account

hub / github.com/Conway-Research/automaton / functions

Functions1,371 in github.com/Conway-Research/automaton

↓ 1 callersFunctioncreateExternalToolRestrictionRule
* Deny specific high-risk tools when input comes from external sources. * Only agent-initiated or creator turns can use these tools.
src/agent/policy-rules/authority.ts:68
↓ 1 callersFunctioncreateForbiddenPatternsRule
* Check exec commands against forbidden patterns. * Replaces the isForbiddenCommand() function with a proper policy rule.
src/agent/policy-rules/command-safety.ts:115
↓ 1 callersFunctioncreateGenesisPromptDailyRule
* Maximum 1 genesis prompt change per day.
src/agent/policy-rules/rate-limits.ts:46
↓ 1 callersFunctioncreateGitHashRule
* Validate git commit hash format.
src/agent/policy-rules/validation.ts:79
↓ 1 callersFunctioncreateHealthMonitor
(taskCtx: HeartbeatLegacyContext)
src/heartbeat/tasks.ts:739
↓ 1 callersFunctioncreateHeartbeatDaemon
( options: HeartbeatDaemonOptions, )
src/heartbeat/daemon.ts:58
↓ 1 callersFunctioncreateInferenceDailyCapRule
* Deny inference calls if daily inference cost exceeds maxInferenceDailyCents. * Checks spend_tracking table for category 'inference'.
src/agent/policy-rules/financial.ts:241
↓ 1 callersFunctioncreateInstalledToolExecutor
(tool: { name: string; type: string; config?: Record<string, unknown>; })
src/agent/tools.ts:3171
↓ 1 callersFunctioncreateMessageId
()
src/social/protocol.ts:34
↓ 1 callersFunctioncreateMinimumReserveRule
* Deny any financial operation that would bring balance below minimum reserve.
src/agent/policy-rules/financial.ts:181
↓ 1 callersFunctioncreateMockAutomatonDb
(db: BetterSqlite3.Database)
src/__tests__/orchestration/simple-tracker.test.ts:6
↓ 1 callersFunctioncreateMockAutomatonDb
(db: BetterSqlite3.Database)
src/__tests__/orchestration/health-monitor.test.ts:14
↓ 1 callersFunctioncreateMockContext
(rawDb?: Database.Database)
src/__tests__/authority-rules.test.ts:111
↓ 1 callersFunctioncreateMockFunding
(balance = 100, fundSuccess = true)
src/__tests__/orchestration/health-monitor.test.ts:60
↓ 1 callersFunctioncreateMockMessaging
()
src/__tests__/orchestration/health-monitor.test.ts:68
↓ 1 callersFunctioncreateMockTracker
( idle: { address: string; name: string; role: string; status: string }[] = [], best: { address: string; n
src/__tests__/orchestration/health-monitor.test.ts:48
↓ 1 callersFunctioncreateNonce
()
src/social/protocol.ts:41
↓ 1 callersFunctioncreateNullRule
(id: string, appliesTo: PolicyRule["appliesTo"], priority = 100)
src/__tests__/policy-engine.test.ts:166
↓ 1 callersFunctioncreatePackageNameRule
* Validate npm package name format.
src/agent/policy-rules/validation.ts:23
↓ 1 callersFunctioncreatePortRangeRule
* Validate port number range.
src/agent/policy-rules/validation.ts:107
↓ 1 callersFunctioncreateProtectedFilesRule
* Deny writes to protected files. * Applies to: write_file, edit_own_file
src/agent/policy-rules/path-protection.ts:65
↓ 1 callersFunctioncreateQuarantineRule
(id: string, appliesTo: PolicyRule["appliesTo"], priority = 100)
src/__tests__/policy-engine.test.ts:151
↓ 1 callersFunctioncreateReadSensitiveRule
* Deny reads of sensitive files (wallet, env, config secrets). * Applies to: read_file
src/agent/policy-rules/path-protection.ts:94
↓ 1 callersFunctioncreateRejectedMessage
(row: InboxMessage)
src/orchestration/messaging.ts:459
↓ 1 callersFunctioncreateRequireConfirmationRule
* Return 'quarantine' (not deny) for transfer amounts above * requireConfirmationAboveCents. This is a soft limit requiring confirmation.
src/agent/policy-rules/financial.ts:273
↓ 1 callersFunctioncreateSelfModFromExternalRule
* Deny self-modification from external sources targeting protected paths.
src/agent/policy-rules/authority.ts:90
↓ 1 callersFunctioncreateSelfModHourlyRule
* Maximum 10 self-mod operations per hour.
src/agent/policy-rules/rate-limits.ts:78
↓ 1 callersFunctioncreateShellInjectionRule
* Detect shell metacharacters in tool arguments that will be * interpolated into shell commands.
src/agent/policy-rules/command-safety.ts:80
↓ 1 callersFunctioncreateSkillNameRule
* Validate skill name format.
src/agent/policy-rules/validation.ts:51
↓ 1 callersFunctioncreateSpawnDailyRule
* Maximum 3 child spawns per day.
src/agent/policy-rules/rate-limits.ts:107
↓ 1 callersFunctioncreateTestDb
()
src/__tests__/financial.test.ts:38
↓ 1 callersFunctioncreateTestDb
()
src/__tests__/inference-router.test.ts:38
↓ 1 callersFunctioncreateTestDb
()
src/__tests__/memory/knowledge-store.test.ts:13
↓ 1 callersFunctioncreateTestDb
()
src/__tests__/memory/compression-engine.test.ts:24
↓ 1 callersFunctioncreateTestDb
()
src/__tests__/memory/event-stream.test.ts:14
↓ 1 callersFunctioncreateTestDb
()
src/__tests__/memory/enhanced-retriever.test.ts:12
↓ 1 callersFunctioncreateTestSpendDb
()
src/__tests__/spend-tracker.test.ts:23
↓ 1 callersFunctioncreateTransferDailyCapRule
* Deny if daily transfer total would exceed cap.
src/agent/policy-rules/financial.ts:152
↓ 1 callersFunctioncreateTransferHourlyCapRule
* Deny if hourly transfer total would exceed cap.
src/agent/policy-rules/financial.ts:123
↓ 1 callersFunctioncreateTransferMaxSingleRule
* Deny single transfers above the configured max.
src/agent/policy-rules/financial.ts:97
↓ 1 callersFunctioncreateTraversalDetectionRule
* Deny paths containing traversal sequences after resolution. * * Only applies to edit_own_file, which modifies local agent source code. * write_fi
src/agent/policy-rules/path-protection.ts:127
↓ 1 callersFunctioncreateTurnTransferLimitRule
* Deny if too many transfer operations in a single turn. * Prevents iterative credit drain within one turn.
src/agent/policy-rules/financial.ts:215
↓ 1 callersFunctioncreateWorkspace
(goalId: string)
src/orchestration/workspace.ts:173
↓ 1 callersFunctioncreateX402DomainAllowlistRule
* Deny x402 requests to domains not in the allowlist.
src/agent/policy-rules/financial.ts:46
↓ 1 callersFunctioncreateX402MaxSingleRule
* Deny x402 payments above the configured per-payment max.
src/agent/policy-rules/financial.ts:26
↓ 1 callersFunctiondedupeCategories
(values: KnowledgeCategory[])
src/memory/enhanced-retriever.ts:684
↓ 1 callersFunctiondefaultExecutionState
()
src/orchestration/plan-mode.ts:304
↓ 1 callersFunctiondeleteChild
(db: DatabaseType, childId: string)
src/state/database.ts:2351
↓ 1 callersMethoddeleteDnsRecord
(domain: string, recordId: string)
src/types.ts:381
↓ 1 callersFunctiondeleteKnowledge
(db: DatabaseType, id: string)
src/state/database.ts:1180
↓ 1 callersFunctiondeserializeAgentCacheRow
(row: any)
src/state/database.ts:2415
↓ 1 callersFunctiondeserializeChild
(row: any)
src/state/database.ts:1584
↓ 1 callersFunctiondeserializeGoalRow
(row: any)
src/state/database.ts:2239
↓ 1 callersFunctiondeserializeHeartbeatScheduleRow
(row: any)
src/state/database.ts:1636
↓ 1 callersFunctiondeserializeMetricSnapshotRow
(row: any)
src/state/database.ts:2523
↓ 1 callersFunctiondeserializeModelRegistryRow
(row: any)
src/state/database.ts:2220
↓ 1 callersFunctiondeserializeOnchainTxRow
(row: any)
src/state/database.ts:2472
↓ 1 callersFunctiondeserializeProcedural
(row: any)
src/memory/procedural.ts:110
↓ 1 callersFunctiondeserializeProceduralRow
(row: any)
src/state/database.ts:2047
↓ 1 callersFunctiondeserializeRegistry
(row: any)
src/state/database.ts:1599
↓ 1 callersFunctiondeserializeRelationship
(row: any)
src/memory/relationship.ts:131
↓ 1 callersFunctiondeserializeRelationshipRow
(row: any)
src/state/database.ts:2054
↓ 1 callersFunctiondeserializeSemantic
(row: any)
src/memory/semantic.ts:162
↓ 1 callersFunctiondeserializeSemanticRow
(row: any)
src/state/database.ts:2041
↓ 1 callersFunctiondeserializeSessionSummaryRow
(row: any)
src/state/database.ts:2032
↓ 1 callersFunctiondeserializeSkill
(row: any)
src/state/database.ts:1570
↓ 1 callersFunctiondeserializeTaskGraphRow
(row: any)
src/state/database.ts:2254
↓ 1 callersFunctiondeserializeTurn
(row: any)
src/state/database.ts:1499
↓ 1 callersFunctiondeserializeWakeEventRow
(row: any)
src/state/database.ts:1670
↓ 1 callersFunctiondetectAuthorityClaims
(text: string)
src/agent/injection-defense.ts:274
↓ 1 callersFunctiondetectBoundaryManipulation
(text: string)
src/agent/injection-defense.ts:297
↓ 1 callersFunctiondetectChatMLMarkers
(text: string)
src/agent/injection-defense.ts:324
↓ 1 callersMethoddetectContradictions
(newFact: ExtractedFact, existing: KnowledgeEntry[])
src/memory/ingestion.ts:222
↓ 1 callersFunctiondetectEnvironment
()
src/setup/environment.ts:8
↓ 1 callersFunctiondetectFinancialManipulation
(text: string)
src/agent/injection-defense.ts:415
↓ 1 callersFunctiondetectInstructionPatterns
(text: string)
src/agent/injection-defense.ts:244
↓ 1 callersFunctiondetectMultiLanguageInjection
(text: string)
src/agent/injection-defense.ts:377
↓ 1 callersFunctiondetectObfuscation
(text: string)
src/agent/injection-defense.ts:341
↓ 1 callersFunctiondetectSelfHarmInstructions
(text: string)
src/agent/injection-defense.ts:436
↓ 1 callersFunctiondfs
(nodeId: string)
src/orchestration/task-graph.ts:431
↓ 1 callersFunctioneditFile
( conway: ConwayClient, db: AutomatonDatabase, filePath: string, newContent: string, reason: string,
src/self-mod/code.ts:220
↓ 1 callersMethodemitContradictions
(sessionId: string, contradictions: Contradiction[])
src/memory/ingestion.ts:352
↓ 1 callersMethodemitMarketSignals
(sessionId: string, marketSignals: MarketSignal[])
src/memory/ingestion.ts:332
↓ 1 callersFunctionenforceLruLimit
(cache: Map<string, number>)
src/memory/context-manager.ts:119
↓ 1 callersMethodensureEnhancementTableState
()
src/memory/ingestion.ts:540
↓ 1 callersMethodestimateSavings
( actions: CompressionAction[], turnEvents: StreamEvent[], usedTokens: number, )
src/memory/compression-engine.ts:601
↓ 1 callersFunctionestimateStepsHeuristic
(taskDescription: string, availableTools: string[])
src/orchestration/plan-mode.ts:405
↓ 1 callersFunctionestimateTokens
(text: string)
src/memory/agent-context-aggregator.ts:276
↓ 1 callersFunctionestimateTokens
(text: string)
src/orchestration/attention.ts:13
↓ 1 callersFunctionestimateTotalByBinarySearch
* Estimate total minted tokens by binary-searching ownerOf(). * Token IDs are sequential starting from 1, so the highest existing * tokenId equals t
src/registry/erc8004.ts:487
↓ 1 callersFunctionestimateTurnTokens
* Estimate total tokens for a single turn (input + thinking + tool calls/results).
src/agent/context.ts:67
↓ 1 callersFunctionexecLocal
(command: string, timeout?: number)
src/conway/client.ts:110
↓ 1 callersMethodexecuteSingleRequest
( client: OpenAI, providerId: string, model: ModelConfig, requestedTier: ModelTier, params
src/inference/inference-client.ts:223
↓ 1 callersFunctionexpandAbbreviations
(terms: string[])
src/memory/enhanced-retriever.ts:583
↓ 1 callersFunctionextractAgentMessage
(parsed: unknown)
src/orchestration/messaging.ts:394
↓ 1 callersMethodextractFinancialState
(events: StreamEvent[])
src/memory/compression-engine.ts:703
↓ 1 callersMethodextractKeyDecisions
(events: StreamEvent[])
src/memory/compression-engine.ts:690
↓ 1 callersMethodextractMarketSignals
(toolCalls: ToolCallResult[])
src/memory/ingestion.ts:135
↓ 1 callersMethodextractMetricValues
(snapshot: MetricSnapshot)
src/observability/alerts.ts:159
↓ 1 callersMethodextractSemanticFacts
( sessionId: string, turn: AgentTurn, toolCallResults: ToolCallResult[], )
src/memory/ingestion.ts:615
← previousnext →701–800 of 1,371, ranked by callers