Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SethGammon/Citadel
/ functions
Functions
1,589 in github.com/SethGammon/Citadel
⨍
Functions
1,589
◇
Types & classes
2
↓ 5 callers
Function
makeTempRoot
(name)
scripts/test-permission-audit.js:42
↓ 5 callers
Function
markRepair
(projectRoot, item, reason, now, events, options)
core/deploy-steward/steward.js:550
↓ 5 callers
Function
parseSection
(content, sectionName)
core/campaigns/parse-campaign.js:18
↓ 5 callers
Function
pct
(n, total)
scripts/permission-audit.js:98
↓ 5 callers
Function
postToolUse
* Dispatch all PostToolUse hooks for a tool.
scripts/integration-test.js:128
↓ 5 callers
Function
printJson
(value)
scripts/loops.js:44
↓ 5 callers
Function
readMarkdownFiles
(dir, skip = [])
scripts/unharness.js:37
↓ 5 callers
Function
recordAppArtifact
(options = {})
core/codex/native-integrations.js:202
↓ 5 callers
Function
removeFileIfExists
(filePath)
core/coordination/io.js:54
↓ 5 callers
Method
render
()
scripts/grid.cjs:151
↓ 5 callers
Function
respond
(id, result)
mcp-servers/context-compress/index.js:302
↓ 5 callers
Function
runBashGate
(command)
scripts/test-security.js:419
↓ 5 callers
Function
runCli
(rootDir, args)
scripts/test-map-substrate.js:25
↓ 5 callers
Function
runGit
(projectRoot, args)
core/verification/profiles.js:26
↓ 5 callers
Function
runProtectFiles
(toolName, filePath, extraEnv = {})
scripts/test-security.js:323
↓ 5 callers
Function
selectVerificationProfile
(projectRoot, options = {})
core/verification/profiles.js:193
↓ 5 callers
Function
send
(message)
scripts/codex-app-server-capture.js:125
↓ 5 callers
Function
slug
(value)
core/deploy-steward/steward.js:32
↓ 5 callers
Function
splitLines
(output)
core/verification/profiles.js:36
↓ 5 callers
Function
statusFromCheck
(check, options = {})
scripts/usefulness-trial.js:62
↓ 5 callers
Function
taskId
(task)
core/fleet/session.js:56
↓ 5 callers
Function
taskLabel
(task)
scripts/fleet-steward.js:79
↓ 5 callers
Function
test
(name, fn)
scripts/test-teammate-rebalance.js:28
↓ 5 callers
Method
text
(x, y, str)
scripts/grid.cjs:57
↓ 5 callers
Function
toAttributes
(pairs)
scripts/telemetry-otlp-export.js:83
↓ 5 callers
Function
validateProjectSpec
(spec)
core/project/load-project-spec.js:72
↓ 4 callers
Function
acquireLease
(projectRoot, options = {})
core/deploy-steward/steward.js:284
↓ 4 callers
Function
arg
(name, fallback = null)
scripts/codex-app-server-dashboard.js:11
↓ 4 callers
Function
arg
(name, fallback = null)
scripts/claude-install.js:15
↓ 4 callers
Function
asArray
(value)
core/worktree/readiness.js:40
↓ 4 callers
Function
bootstrapProjectGuidance
(options = {})
core/project/bootstrap-project-guidance.js:68
↓ 4 callers
Function
buildAppServerApprovalResponse
(msg, options = {})
core/codex/native-integrations.js:636
↓ 4 callers
Function
buildApprovalCapsule
(projectRoot, snapshot, generatedAt)
scripts/next-action.js:211
↓ 4 callers
Function
buildFixture
* Build a complete fixture. Returns paths to everything created.
scripts/test-state-hygiene.js:74
↓ 4 callers
Function
buildRoutingTable
(projectRoot)
scripts/generate-routing.js:65
↓ 4 callers
Function
buildSkillCatalog
(projectRoot)
core/skills/catalog.js:115
↓ 4 callers
Function
buildTrial
(projectRoot, options = {})
scripts/usefulness-trial.js:147
↓ 4 callers
Function
check
(cmd, expectedColor, expectedTool, label, source)
scripts/test-demo.js:115
↓ 4 callers
Function
claimScope
(id, scope, type, description, options = {})
core/coordination/claims.js:50
↓ 4 callers
Function
cleanState
* Run the hygiene sweep. * * @param {object} [options] * @param {boolean} [options.dryRun=false] Report what would be removed without deleting *
scripts/state-hygiene.js:159
↓ 4 callers
Function
cleanup
(root)
scripts/test-dashboard-web.js:41
↓ 4 callers
Function
compareVersions
(left, right)
runtimes/claude-code/generators/hook-support.js:22
↓ 4 callers
Function
completeCampaign
(filePath, projectRoot, options = {})
core/campaigns/update-campaign.js:57
↓ 4 callers
Function
countBy
(events, keyFn)
scripts/permission-audit.js:89
↓ 4 callers
Function
createDataSource
(projectRoot)
scripts/dashboard-server.js:80
↓ 4 callers
Function
createEnvelope
(runtime, nativeEventName, payload)
core/hooks/normalize-event.js:77
↓ 4 callers
Function
createPrReviewPlan
(options = {})
core/codex/native-integrations.js:142
↓ 4 callers
Function
defaultOutputPath
(rootDir)
core/map/index.js:44
↓ 4 callers
Function
defaultState
()
scripts/watch.js:106
↓ 4 callers
Function
destroyFixture
(fx)
scripts/test-state-hygiene.js:130
↓ 4 callers
Function
ensureTelemetryDir
* Ensure telemetry directory exists.
hooks_src/harness-health-util.js:124
↓ 4 callers
Function
escapeHtml
(value)
core/codex/native-integrations.js:792
↓ 4 callers
Function
extractSection
(text, sectionName)
core/project/load-project-spec.js:38
↓ 4 callers
Function
fileExists
(sandboxDir, relPath)
scripts/verify-hooks.js:78
↓ 4 callers
Function
finish
(reason)
scripts/codex-app-server-capture.js:135
↓ 4 callers
Function
gateStatus
(content, gateLabel)
core/deploy-steward/steward.js:74
↓ 4 callers
Function
gateStatus
(content, gateLabel)
scripts/stack-plan.js:66
↓ 4 callers
Function
getSandboxProvider
(id = 'worktree', options = {})
core/sandbox/providers.js:134
↓ 4 callers
Function
hasFlag
(name)
scripts/loop-runner.js:22
↓ 4 callers
Function
hashRecord
(record)
core/telemetry/integrity.js:36
↓ 4 callers
Function
hashRecord
* Compute a SHA-256 hash of a telemetry record. * The record must NOT contain _hash or _hash_v fields — those are added after. * @param {object} rec
hooks_src/harness-health-util.js:49
↓ 4 callers
Function
ingestCodexReview
(options = {})
core/codex/native-integrations.js:386
↓ 4 callers
Function
intakeFiles
(repo)
scripts/test-watch-dedup.js:70
↓ 4 callers
Function
isUnderRoot
* Check if a file path is under a given root directory.
hooks_src/organize-enforce.js:85
↓ 4 callers
Function
isWordChar
(ch)
scripts/verify.cjs:154
↓ 4 callers
Function
jsonl
(records)
scripts/test-telemetry-otlp.js:30
↓ 4 callers
Function
lintMemoryBlocks
(projectRoot, options = {})
core/memory/blocks.js:299
↓ 4 callers
Function
listFiles
(dir, predicate = () => true)
scripts/dashboard.js:81
↓ 4 callers
Function
loadMapIndex
(outputPath)
core/map/index.js:467
↓ 4 callers
Function
logAgentRunEvent
(args, options = {})
core/telemetry/log.js:41
↓ 4 callers
Function
loopPath
(projectRoot, id)
core/loops/registry.js:26
↓ 4 callers
Function
makeFixture
(name)
scripts/test-dashboard-web.js:30
↓ 4 callers
Function
makeLockdir
(dirPath, ageMs)
scripts/test-state-hygiene.js:65
↓ 4 callers
Function
makePhasedCampaign
(name, phaseStatuses, status = 'active')
scripts/test-campaign-core.js:47
↓ 4 callers
Function
normalizeCodexHookInput
(payload)
runtimes/codex/adapters/hook-input.js:8
↓ 4 callers
Function
normalizePath
(value)
core/map/index.js:40
↓ 4 callers
Function
parseExitEvidence
(markdown)
core/evidence/contracts.js:55
↓ 4 callers
Function
parseGitHubPr
(value)
core/deploy-steward/steward.js:122
↓ 4 callers
Function
parseResult
(resp)
mcp-servers/codebase-memory/smoke-test.js:27
↓ 4 callers
Function
readAppArtifacts
(projectRoot = process.cwd())
core/codex/native-integrations.js:229
↓ 4 callers
Function
readJsonIfExists
(filePath)
core/loops/registry.js:30
↓ 4 callers
Function
readJsonl
(sandboxDir, relPath)
scripts/verify-hooks.js:82
↓ 4 callers
Function
readJsonlCount
(filePath)
mcp-servers/citadel-state/index.js:40
↓ 4 callers
Function
readLineCount
(filePath)
scripts/codex-live-verify.js:13
↓ 4 callers
Function
readLoop
(projectRoot, id)
core/loops/registry.js:52
↓ 4 callers
Function
readText
(projectRoot, relativePath, maxChars = 24000)
core/memory/blocks.js:42
↓ 4 callers
Function
render
(report)
scripts/next-action.js:322
↓ 4 callers
Function
renderCodexGuidance
(spec)
core/project/render-codex-guidance.js:9
↓ 4 callers
Function
renderJson
(table, eol = '\n')
scripts/generate-routing.js:96
↓ 4 callers
Function
resolveFile
(index, arg)
mcp-servers/codebase-memory/index.js:66
↓ 4 callers
Function
routeAction
(snapshot)
scripts/continue-action.js:37
↓ 4 callers
Function
run
(command, args)
scripts/codex-plugin-smoke.js:16
↓ 4 callers
Function
runAudit
(root)
scripts/test-permission-audit.js:53
↓ 4 callers
Function
runGh
(gh, args, options = {})
core/deploy-steward/steward.js:438
↓ 4 callers
Function
runGit
(projectRoot, args)
core/campaigns/package-delivery.js:37
↓ 4 callers
Function
safeMtime
(filePath)
scripts/dashboard.js:388
↓ 4 callers
Function
scaffoldRepo
(projectRoot, testExit = 0)
scripts/test-usefulness-trial.js:26
↓ 4 callers
Function
scopesOverlap
(scopeA, scopeB)
core/coordination/claims.js:20
↓ 4 callers
Function
slugify
(value)
core/codex/native-integrations.js:14
↓ 4 callers
Function
tmpRoot
()
scripts/test-loops.js:30
← previous
next →
201–300 of 1,589, ranked by callers