Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Conway-Research/automaton
/ functions
Functions
1,371 in github.com/Conway-Research/automaton
⨍
Functions
1,371
◇
Types & classes
301
↓ 1 callers
Function
createExternalToolRestrictionRule
* 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 callers
Function
createForbiddenPatternsRule
* Check exec commands against forbidden patterns. * Replaces the isForbiddenCommand() function with a proper policy rule.
src/agent/policy-rules/command-safety.ts:115
↓ 1 callers
Function
createGenesisPromptDailyRule
* Maximum 1 genesis prompt change per day.
src/agent/policy-rules/rate-limits.ts:46
↓ 1 callers
Function
createGitHashRule
* Validate git commit hash format.
src/agent/policy-rules/validation.ts:79
↓ 1 callers
Function
createHealthMonitor
(taskCtx: HeartbeatLegacyContext)
src/heartbeat/tasks.ts:739
↓ 1 callers
Function
createHeartbeatDaemon
( options: HeartbeatDaemonOptions, )
src/heartbeat/daemon.ts:58
↓ 1 callers
Function
createInferenceDailyCapRule
* Deny inference calls if daily inference cost exceeds maxInferenceDailyCents. * Checks spend_tracking table for category 'inference'.
src/agent/policy-rules/financial.ts:241
↓ 1 callers
Function
createInstalledToolExecutor
(tool: { name: string; type: string; config?: Record<string, unknown>; })
src/agent/tools.ts:3171
↓ 1 callers
Function
createMessageId
()
src/social/protocol.ts:34
↓ 1 callers
Function
createMinimumReserveRule
* Deny any financial operation that would bring balance below minimum reserve.
src/agent/policy-rules/financial.ts:181
↓ 1 callers
Function
createMockAutomatonDb
(db: BetterSqlite3.Database)
src/__tests__/orchestration/simple-tracker.test.ts:6
↓ 1 callers
Function
createMockAutomatonDb
(db: BetterSqlite3.Database)
src/__tests__/orchestration/health-monitor.test.ts:14
↓ 1 callers
Function
createMockContext
(rawDb?: Database.Database)
src/__tests__/authority-rules.test.ts:111
↓ 1 callers
Function
createMockFunding
(balance = 100, fundSuccess = true)
src/__tests__/orchestration/health-monitor.test.ts:60
↓ 1 callers
Function
createMockMessaging
()
src/__tests__/orchestration/health-monitor.test.ts:68
↓ 1 callers
Function
createMockTracker
( idle: { address: string; name: string; role: string; status: string }[] = [], best: { address: string; n
src/__tests__/orchestration/health-monitor.test.ts:48
↓ 1 callers
Function
createNonce
()
src/social/protocol.ts:41
↓ 1 callers
Function
createNullRule
(id: string, appliesTo: PolicyRule["appliesTo"], priority = 100)
src/__tests__/policy-engine.test.ts:166
↓ 1 callers
Function
createPackageNameRule
* Validate npm package name format.
src/agent/policy-rules/validation.ts:23
↓ 1 callers
Function
createPortRangeRule
* Validate port number range.
src/agent/policy-rules/validation.ts:107
↓ 1 callers
Function
createProtectedFilesRule
* Deny writes to protected files. * Applies to: write_file, edit_own_file
src/agent/policy-rules/path-protection.ts:65
↓ 1 callers
Function
createQuarantineRule
(id: string, appliesTo: PolicyRule["appliesTo"], priority = 100)
src/__tests__/policy-engine.test.ts:151
↓ 1 callers
Function
createReadSensitiveRule
* Deny reads of sensitive files (wallet, env, config secrets). * Applies to: read_file
src/agent/policy-rules/path-protection.ts:94
↓ 1 callers
Function
createRejectedMessage
(row: InboxMessage)
src/orchestration/messaging.ts:459
↓ 1 callers
Function
createRequireConfirmationRule
* Return 'quarantine' (not deny) for transfer amounts above * requireConfirmationAboveCents. This is a soft limit requiring confirmation.
src/agent/policy-rules/financial.ts:273
↓ 1 callers
Function
createSelfModFromExternalRule
* Deny self-modification from external sources targeting protected paths.
src/agent/policy-rules/authority.ts:90
↓ 1 callers
Function
createSelfModHourlyRule
* Maximum 10 self-mod operations per hour.
src/agent/policy-rules/rate-limits.ts:78
↓ 1 callers
Function
createShellInjectionRule
* Detect shell metacharacters in tool arguments that will be * interpolated into shell commands.
src/agent/policy-rules/command-safety.ts:80
↓ 1 callers
Function
createSkillNameRule
* Validate skill name format.
src/agent/policy-rules/validation.ts:51
↓ 1 callers
Function
createSpawnDailyRule
* Maximum 3 child spawns per day.
src/agent/policy-rules/rate-limits.ts:107
↓ 1 callers
Function
createTestDb
()
src/__tests__/financial.test.ts:38
↓ 1 callers
Function
createTestDb
()
src/__tests__/inference-router.test.ts:38
↓ 1 callers
Function
createTestDb
()
src/__tests__/memory/knowledge-store.test.ts:13
↓ 1 callers
Function
createTestDb
()
src/__tests__/memory/compression-engine.test.ts:24
↓ 1 callers
Function
createTestDb
()
src/__tests__/memory/event-stream.test.ts:14
↓ 1 callers
Function
createTestDb
()
src/__tests__/memory/enhanced-retriever.test.ts:12
↓ 1 callers
Function
createTestSpendDb
()
src/__tests__/spend-tracker.test.ts:23
↓ 1 callers
Function
createTransferDailyCapRule
* Deny if daily transfer total would exceed cap.
src/agent/policy-rules/financial.ts:152
↓ 1 callers
Function
createTransferHourlyCapRule
* Deny if hourly transfer total would exceed cap.
src/agent/policy-rules/financial.ts:123
↓ 1 callers
Function
createTransferMaxSingleRule
* Deny single transfers above the configured max.
src/agent/policy-rules/financial.ts:97
↓ 1 callers
Function
createTraversalDetectionRule
* 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 callers
Function
createTurnTransferLimitRule
* 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 callers
Function
createWorkspace
(goalId: string)
src/orchestration/workspace.ts:173
↓ 1 callers
Function
createX402DomainAllowlistRule
* Deny x402 requests to domains not in the allowlist.
src/agent/policy-rules/financial.ts:46
↓ 1 callers
Function
createX402MaxSingleRule
* Deny x402 payments above the configured per-payment max.
src/agent/policy-rules/financial.ts:26
↓ 1 callers
Function
dedupeCategories
(values: KnowledgeCategory[])
src/memory/enhanced-retriever.ts:684
↓ 1 callers
Function
defaultExecutionState
()
src/orchestration/plan-mode.ts:304
↓ 1 callers
Function
deleteChild
(db: DatabaseType, childId: string)
src/state/database.ts:2351
↓ 1 callers
Method
deleteDnsRecord
(domain: string, recordId: string)
src/types.ts:381
↓ 1 callers
Function
deleteKnowledge
(db: DatabaseType, id: string)
src/state/database.ts:1180
↓ 1 callers
Function
deserializeAgentCacheRow
(row: any)
src/state/database.ts:2415
↓ 1 callers
Function
deserializeChild
(row: any)
src/state/database.ts:1584
↓ 1 callers
Function
deserializeGoalRow
(row: any)
src/state/database.ts:2239
↓ 1 callers
Function
deserializeHeartbeatScheduleRow
(row: any)
src/state/database.ts:1636
↓ 1 callers
Function
deserializeMetricSnapshotRow
(row: any)
src/state/database.ts:2523
↓ 1 callers
Function
deserializeModelRegistryRow
(row: any)
src/state/database.ts:2220
↓ 1 callers
Function
deserializeOnchainTxRow
(row: any)
src/state/database.ts:2472
↓ 1 callers
Function
deserializeProcedural
(row: any)
src/memory/procedural.ts:110
↓ 1 callers
Function
deserializeProceduralRow
(row: any)
src/state/database.ts:2047
↓ 1 callers
Function
deserializeRegistry
(row: any)
src/state/database.ts:1599
↓ 1 callers
Function
deserializeRelationship
(row: any)
src/memory/relationship.ts:131
↓ 1 callers
Function
deserializeRelationshipRow
(row: any)
src/state/database.ts:2054
↓ 1 callers
Function
deserializeSemantic
(row: any)
src/memory/semantic.ts:162
↓ 1 callers
Function
deserializeSemanticRow
(row: any)
src/state/database.ts:2041
↓ 1 callers
Function
deserializeSessionSummaryRow
(row: any)
src/state/database.ts:2032
↓ 1 callers
Function
deserializeSkill
(row: any)
src/state/database.ts:1570
↓ 1 callers
Function
deserializeTaskGraphRow
(row: any)
src/state/database.ts:2254
↓ 1 callers
Function
deserializeTurn
(row: any)
src/state/database.ts:1499
↓ 1 callers
Function
deserializeWakeEventRow
(row: any)
src/state/database.ts:1670
↓ 1 callers
Function
detectAuthorityClaims
(text: string)
src/agent/injection-defense.ts:274
↓ 1 callers
Function
detectBoundaryManipulation
(text: string)
src/agent/injection-defense.ts:297
↓ 1 callers
Function
detectChatMLMarkers
(text: string)
src/agent/injection-defense.ts:324
↓ 1 callers
Method
detectContradictions
(newFact: ExtractedFact, existing: KnowledgeEntry[])
src/memory/ingestion.ts:222
↓ 1 callers
Function
detectEnvironment
()
src/setup/environment.ts:8
↓ 1 callers
Function
detectFinancialManipulation
(text: string)
src/agent/injection-defense.ts:415
↓ 1 callers
Function
detectInstructionPatterns
(text: string)
src/agent/injection-defense.ts:244
↓ 1 callers
Function
detectMultiLanguageInjection
(text: string)
src/agent/injection-defense.ts:377
↓ 1 callers
Function
detectObfuscation
(text: string)
src/agent/injection-defense.ts:341
↓ 1 callers
Function
detectSelfHarmInstructions
(text: string)
src/agent/injection-defense.ts:436
↓ 1 callers
Function
dfs
(nodeId: string)
src/orchestration/task-graph.ts:431
↓ 1 callers
Function
editFile
( conway: ConwayClient, db: AutomatonDatabase, filePath: string, newContent: string, reason: string,
src/self-mod/code.ts:220
↓ 1 callers
Method
emitContradictions
(sessionId: string, contradictions: Contradiction[])
src/memory/ingestion.ts:352
↓ 1 callers
Method
emitMarketSignals
(sessionId: string, marketSignals: MarketSignal[])
src/memory/ingestion.ts:332
↓ 1 callers
Function
enforceLruLimit
(cache: Map<string, number>)
src/memory/context-manager.ts:119
↓ 1 callers
Method
ensureEnhancementTableState
()
src/memory/ingestion.ts:540
↓ 1 callers
Method
estimateSavings
( actions: CompressionAction[], turnEvents: StreamEvent[], usedTokens: number, )
src/memory/compression-engine.ts:601
↓ 1 callers
Function
estimateStepsHeuristic
(taskDescription: string, availableTools: string[])
src/orchestration/plan-mode.ts:405
↓ 1 callers
Function
estimateTokens
(text: string)
src/memory/agent-context-aggregator.ts:276
↓ 1 callers
Function
estimateTokens
(text: string)
src/orchestration/attention.ts:13
↓ 1 callers
Function
estimateTotalByBinarySearch
* 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 callers
Function
estimateTurnTokens
* Estimate total tokens for a single turn (input + thinking + tool calls/results).
src/agent/context.ts:67
↓ 1 callers
Function
execLocal
(command: string, timeout?: number)
src/conway/client.ts:110
↓ 1 callers
Method
executeSingleRequest
( client: OpenAI, providerId: string, model: ModelConfig, requestedTier: ModelTier, params
src/inference/inference-client.ts:223
↓ 1 callers
Function
expandAbbreviations
(terms: string[])
src/memory/enhanced-retriever.ts:583
↓ 1 callers
Function
extractAgentMessage
(parsed: unknown)
src/orchestration/messaging.ts:394
↓ 1 callers
Method
extractFinancialState
(events: StreamEvent[])
src/memory/compression-engine.ts:703
↓ 1 callers
Method
extractKeyDecisions
(events: StreamEvent[])
src/memory/compression-engine.ts:690
↓ 1 callers
Method
extractMarketSignals
(toolCalls: ToolCallResult[])
src/memory/ingestion.ts:135
↓ 1 callers
Method
extractMetricValues
(snapshot: MetricSnapshot)
src/observability/alerts.ts:159
↓ 1 callers
Method
extractSemanticFacts
( sessionId: string, turn: AgentTurn, toolCallResults: ToolCallResult[], )
src/memory/ingestion.ts:615
← previous
next →
701–800 of 1,371, ranked by callers