MCPcopy Create free account

hub / github.com/SethGammon/Citadel / functions

Functions1,589 in github.com/SethGammon/Citadel

↓ 527 callersFunctionassert
(condition, message)
scripts/test-security.js:48
↓ 105 callersFunctionel
(tag, className, text)
dashboard/app.js:28
↓ 88 callersFunctiontest
(name, fn)
scripts/verify-hooks.js:100
↓ 87 callersFunctionrun
(label, scriptPath, extraArgs = [])
scripts/test-all.js:92
↓ 72 callersFunctionfireHook
* Fire a hook script with a synthetic payload. * Returns { exitCode, stdout, stderr, timedOut }
scripts/verify-hooks.js:53
↓ 48 callersFunctioncountLines
(sandboxDir, relPath)
scripts/verify-hooks.js:92
↓ 41 callersFunctionassert
(condition, message)
scripts/test-state-hygiene.js:51
↓ 35 callersFunctionassert
(condition, label)
scripts/test-permission-audit.js:32
↓ 34 callersFunctioncollectDashboard
(options = {})
scripts/dashboard.js:930
↓ 33 callersFunctionwriteFile
(sandboxDir, relPath, content)
scripts/test-organize-enforce.js:51
↓ 29 callersFunctionfireHook
(payload, sandboxDir)
scripts/test-organize-enforce.js:57
↓ 28 callersFunctionassert
(condition, message)
scripts/test-postedit-typecheck.js:53
↓ 28 callersFunctiontest
(name, fn)
scripts/test-organize-enforce.js:97
↓ 28 callersFunctionwriteConfig
(sandboxDir, config)
scripts/test-organize-enforce.js:44
↓ 27 callersFunctioncheck
(label, fn)
scripts/test-backward-compat.js:27
↓ 26 callersFunctiontest
(name, fn)
scripts/test-security.js:35
↓ 25 callersFunctioneditEvent
(sandboxDir, relPath)
scripts/test-organize-enforce.js:78
↓ 23 callersFunctiontest
(name, fn)
scripts/test-state-hygiene.js:38
↓ 22 callersFunctionadd
(id, pass, detail)
core/codex/native-integrations.js:654
↓ 22 callersFunctionwithTempProject
(run)
scripts/test-dashboard.js:12
↓ 22 callersFunctionwrite
(filePath, content)
scripts/test-dashboard.js:21
↓ 21 callersFunctionassert
(condition, message)
scripts/test-secrets-lens.js:58
↓ 21 callersMethodput
(x, y, char)
scripts/grid.cjs:51
↓ 20 callersFunctionarg
(name, fallback = null)
scripts/loops.js:16
↓ 20 callersFunctioncheck
(label, ok, detail)
scripts/test-dashboard-web.js:21
↓ 20 callersFunctionsequence
(name, fn, sandbox)
scripts/integration-test.js:218
↓ 19 callersFunctionrenderDashboard
(snapshot)
scripts/dashboard.js:1161
↓ 19 callersFunctionsource
(projectRoot, relativePath, reason)
core/memory/blocks.js:64
↓ 17 callersFunctionexists
(f)
hooks_src/harness-health-util.js:261
↓ 16 callersFunctionarg
(name, fallback = null)
scripts/codex-pr-review.js:12
↓ 16 callersFunctionprofileForFiles
(changedFiles, scripts = {})
core/verification/profiles.js:86
↓ 15 callersFunctionpreToolUse
* Dispatch all PreToolUse hooks for a tool. * Returns { blocked, blockMessage, script } — first exit-2 stops dispatch.
scripts/integration-test.js:108
↓ 15 callersFunctiontest
(name, fn)
scripts/test-secrets-lens.js:45
↓ 15 callersFunctionunsupported
(providerId, operation)
core/sandbox/providers.js:15
↓ 14 callersFunctioncountJsonlLines
(sandbox, relPath)
scripts/integration-test.js:166
↓ 14 callersFunctiondedupe
(values)
core/map/index.js:264
↓ 14 callersFunctionevt
(ts, tool, target, decision)
scripts/test-permission-audit.js:61
↓ 14 callersFunctionsection
(title)
dashboard/app.js:54
↓ 14 callersFunctionwrite
(filePath, text)
scripts/test-memory-blocks.js:18
↓ 14 callersFunctionwrite
(filePath, content)
scripts/test-pr-ready.js:15
↓ 13 callersFunctionlog
(msg)
scripts/local-daemon.js:55
↓ 13 callersFunctionstat
(value, label, kind, note)
dashboard/app.js:39
↓ 13 callersFunctiontruncate
(value, max)
scripts/dashboard.js:111
↓ 12 callersFunctionaction
({ label, command, why, confidence = 'medium', repairAvailable = false, runbook = null })
scripts/dashboard.js:996
↓ 12 callersFunctionarg
(name, fallback = null)
scripts/codex-app-artifacts.js:11
↓ 12 callersFunctionarg
(name, fallback = null)
scripts/codex-app-server-capture.js:15
↓ 12 callersFunctionfail
(message)
scripts/test-hook-events.js:10
↓ 12 callersFunctionpointsOf
(payload, name)
scripts/test-telemetry-otlp.js:65
↓ 12 callersFunctiontailJsonl
(filePath, limit)
scripts/dashboard.js:92
↓ 12 callersFunctionwriteFile
(filePath, content)
scripts/codex-compat.js:46
↓ 11 callersFunctiongit
(args, cwd)
scripts/live-github-steward-proof.js:71
↓ 11 callersFunctionhookOutput
(hookName, action, message, data = {})
hooks_src/post-edit.js:34
↓ 10 callersFunctionappendJsonl
(filePath, entries)
scripts/test-dashboard.js:26
↓ 10 callersFunctionarg
(name, fallback = null)
scripts/codex-automation.js:10
↓ 10 callersFunctionbadge
(text, kind)
dashboard/app.js:35
↓ 10 callersFunctioncapability
(supported, note)
core/sandbox/providers.js:21
↓ 10 callersFunctioncheck
(label, condition, detail)
scripts/test-watch-dedup.js:29
↓ 10 callersFunctionexists
(entry)
core/worktree/readiness.js:82
↓ 10 callersFunctionnormalizeToolName
(toolName)
core/hooks/normalize-event.js:64
↓ 10 callersFunctionparseCampaignContent
(content, options = {})
core/campaigns/parse-campaign.js:85
↓ 10 callersFunctionpaths
(projectRoot)
core/deploy-steward/steward.js:44
↓ 10 callersFunctionpercentile
* Nearest-rank percentile on a pre-sorted ascending array. * Returns null for empty input.
scripts/dashboard.js:568
↓ 10 callersFunctionselectRoute
(input)
scripts/route-preview.js:204
↓ 10 callersFunctionset
(key, value)
scripts/loops.js:111
↓ 9 callersFunctioncheck
(name, fn)
hooks_src/smoke-test.js:32
↓ 9 callersFunctiondetectExternalAction
(command, policy)
core/policy/external-actions.js:116
↓ 9 callersFunctioneventTimestamp
(entry)
scripts/dashboard.js:507
↓ 9 callersFunctiongetCoordinationPaths
(projectRoot)
core/coordination/io.js:13
↓ 9 callersFunctionhas
(flag)
scripts/claude-install.js:11
↓ 9 callersFunctionhasAny
(files, predicate)
core/verification/profiles.js:82
↓ 9 callersFunctionnowIso
(options = {})
core/codex/native-integrations.js:22
↓ 9 callersFunctionparseProjectSpec
(text)
core/project/load-project-spec.js:53
↓ 9 callersFunctionplanningDir
(projectRoot, ...parts)
core/codex/native-integrations.js:26
↓ 9 callersFunctionreadJsonlDetailed
(filePath, options = {})
core/telemetry/io.js:16
↓ 9 callersFunctionrunExporter
(tmpRoot, extraArgs)
scripts/test-telemetry-otlp.js:38
↓ 9 callersFunctionsummarizeSnapshot
(snapshot)
scripts/next-action.js:98
↓ 9 callersFunctionwrite
(filePath, content)
scripts/test-operating-proof.js:12
↓ 9 callersFunctionwriteFile
(filePath, content)
scripts/live-github-steward-proof.js:75
↓ 9 callersFunctionwriteJson
(filePath, value)
core/codex/native-integrations.js:30
↓ 8 callersFunctionattrValue
(point, key)
scripts/test-telemetry-otlp.js:73
↓ 8 callersFunctionbuildConsole
(projectRoot, options = {})
scripts/operator-console.js:261
↓ 8 callersFunctiondetectRuntime
(projectRoot)
core/runtime/detect-runtime.js:12
↓ 8 callersFunctionemptyState
(message, command)
dashboard/app.js:47
↓ 8 callersFunctionensureIndex
(forceRebuild = false)
mcp-servers/codebase-memory/index.js:38
↓ 8 callersFunctionfail
(message)
scripts/test-runtime-registry.js:9
↓ 8 callersFunctiongetArgValue
(flag)
scripts/skill-bench.js:54
↓ 8 callersFunctionhas
(flag)
scripts/codex-install.js:11
↓ 8 callersFunctionnormalizeStatus
(value, fallback = 'planned')
core/loops/status.js:30
↓ 8 callersFunctionreadJsonl
(file)
scripts/telemetry-stats.js:36
↓ 8 callersFunctionreadText
(filePath)
scripts/dashboard.js:63
↓ 8 callersFunctionrenderConsole
(consoleState)
scripts/operator-console.js:314
↓ 8 callersFunctionrunTest
(label, fn)
scripts/test-deploy-steward.js:105
↓ 8 callersFunctionsynth
(seed, length, charset)
scripts/test-secrets-lens.js:68
↓ 7 callersFunctionblockOutput
(hookName, action, message, data = {})
hooks_src/protect-files.js:67
↓ 7 callersFunctioncharAt
(lines, x, y)
scripts/verify.cjs:32
↓ 7 callersFunctioncheck
(label, ok, detail)
scripts/test-doc-surfaces.js:33
↓ 7 callersFunctioncheck
(label, fn)
scripts/test-compat-fixtures.js:35
↓ 7 callersFunctioncleanup
(dir)
scripts/test-cost-tracker.js:50
↓ 7 callersFunctioncreateLoopContract
(options = {})
core/loops/contract.js:42
↓ 7 callersFunctionfail
(name, msg)
scripts/test-cost-tracker.js:24
next →1–100 of 1,589, ranked by callers