MCPcopy Create free account

hub / github.com/SethGammon/Citadel / functions

Functions1,589 in github.com/SethGammon/Citadel

↓ 1 callersFunctiongetProjectDeps
()
hooks_src/post-edit.js:658
↓ 1 callersFunctiongetProjectRoot
(projectRoot)
core/campaigns/load-campaign.js:7
↓ 1 callersFunctiongetProjectRoot
(projectRoot)
core/coordination/io.js:9
↓ 1 callersFunctiongetProjectSlug
()
runtimes/claude-code/adapters/session-tokens.js:49
↓ 1 callersFunctiongetRepoSlug
()
hooks_src/issue-monitor.js:40
↓ 1 callersFunctiongetSupportedEventsForVersion
(version, templateEvents)
runtimes/claude-code/generators/hook-support.js:56
↓ 1 callersFunctiongetTier
(label, policy)
core/policy/external-actions.js:77
↓ 1 callersFunctiongitDirty
(projectRoot)
scripts/route-preview.js:359
↓ 1 callersFunctiongitStatus
(worktreePath)
core/sandbox/providers.js:32
↓ 1 callersMethodhArrow
(x1, x2, y, label, labelY)
scripts/grid.cjs:96
↓ 1 callersFunctionhandleBashHangCheck
* Handle PostToolUse for Bash: check last-command-result.json for hangs. * Only fires a warning -- does not trip the breaker or block execution.
hooks_src/circuit-breaker.js:146
↓ 1 callersFunctionhandleFailure
* Handle PostToolUseFailure: track consecutive failures, trip on threshold.
hooks_src/circuit-breaker.js:79
↓ 1 callersFunctionhandleMessage
(msg)
scripts/codex-app-server-capture.js:184
↓ 1 callersFunctionhandleRequest
(req)
mcp-servers/codebase-memory/index.js:285
↓ 1 callersFunctionhandleRequest
(req)
mcp-servers/context-compress/index.js:312
↓ 1 callersFunctionhandleRequest
(req)
mcp-servers/citadel-state/index.js:99
↓ 1 callersFunctionhasLaterMatchingToolCall
(entry, auditEntries = [])
scripts/dashboard.js:722
↓ 1 callersFunctionhasSessionAllow
* Check if a session-scoped allow is active for a category. * Session allows expire after 6 hours (covers long sessions but not overnight). * @param
hooks_src/harness-health-util.js:539
↓ 1 callersFunctionheartbeat
(id)
scripts/coordination.js:48
↓ 1 callersFunctionhookOutput
(hookName, action, message, data = {})
hooks_src/doc-sync.js:60
↓ 1 callersFunctionhookOutput
(hookName, action, message, data = {})
hooks_src/restore-compact.js:23
↓ 1 callersFunctionhookOutput
(hookName, action, message, data = {})
hooks_src/post-compact.js:30
↓ 1 callersFunctionhookOutput
(hookName, action, message, data = {})
hooks_src/pre-compact.js:40
↓ 1 callersFunctionhookOutput
(hookName, action, message, data = {})
hooks_src/stop-failure.js:19
↓ 1 callersFunctionhookOutput
(hookName, action, message, data = {})
hooks_src/quality-gate.js:31
↓ 1 callersFunctionhookOutput
(hookName, action, message, data = {})
hooks_src/organize-enforce.js:28
↓ 1 callersFunctionhookReport
()
scripts/telemetry-report.cjs:30
↓ 1 callersFunctionimpactOfChange
(base)
mcp-servers/codebase-memory/index.js:147
↓ 1 callersFunctionincrement
* Increment a counter in the hook timing log. * @param {string} hook - Hook name (e.g., 'circuit-breaker', 'quality-gate') * @param {string} metric
hooks_src/harness-health-util.js:137
↓ 1 callersFunctionincrementTrustCounters
* Increment trust counters in harness.json for contextual appropriateness. * Tracks sessions completed and campaigns completed this session. * Non-c
hooks_src/session-end.js:279
↓ 1 callersFunctionindexStatus
()
mcp-servers/codebase-memory/index.js:175
↓ 1 callersFunctioninferCompletionOutcome
(content, options = {})
core/campaigns/outcomes.js:30
↓ 1 callersFunctioninferRiskLevel
(fm, body)
core/skills/catalog.js:81
↓ 1 callersFunctioninferRole
(relPath)
core/map/index.js:284
↓ 1 callersFunctioninferTaskClass
(name, fm, body)
core/skills/catalog.js:69
↓ 1 callersFunctionisCitadelRepo
(dir)
scripts/unharness.js:128
↓ 1 callersFunctionisFringeGuard
(text)
core/skills/noop-detect.js:140
↓ 1 callersFunctionisMapIndexFresh
(outputPath, maxAgeMs = DEFAULT_CACHE_MAX_AGE_MS)
core/map/index.js:471
↓ 1 callersFunctionisNativeMemoryPath
* True when an absolute, normalized path points into the Claude Code native * auto-memory directory: <home>/.claude/projects/<slug>/memory/ where <sl
hooks_src/protect-files.js:283
↓ 1 callersFunctionisOlderThan
(dateString, days, now = new Date())
core/memory/blocks.js:280
↓ 1 callersFunctionisPersistentWorktree
* Returns true if the given branch is owned by a persistent campaign * (campaign frontmatter has worktree_status: active). * Scans .planning/campaig
hooks_src/worktree-remove.js:85
↓ 1 callersFunctionisProcessAlive
(pid)
core/coordination/io.js:58
↓ 1 callersFunctionisRubricOrExample
(text)
core/skills/noop-detect.js:149
↓ 1 callersFunctionisRunnable
(task, taskMap = null)
core/fleet/session.js:172
↓ 1 callersFunctionisSafeBashCommand
(command)
hooks_src/permission-request.js:75
↓ 1 callersFunctionisSafeFilePath
(filePath)
hooks_src/permission-request.js:81
↓ 1 callersFunctionisolate
(subset)
scripts/noop-ablate.js:242
↓ 1 callersFunctionlastDecision
(content)
scripts/dashboard.js:192
↓ 1 callersFunctionlatestSession
(projectRoot)
scripts/fleet-steward.js:59
↓ 1 callersFunctionlensAccessibility
(file, content)
hooks_src/quality-gate.js:241
↓ 1 callersFunctionlensAdversarial
(file, content)
hooks_src/quality-gate.js:286
↓ 1 callersFunctionlensContractual
(file, content)
hooks_src/quality-gate.js:354
↓ 1 callersFunctionlensCrossReference
(file, content)
hooks_src/quality-gate.js:400
↓ 1 callersFunctionlensCustom
(file, content, config)
hooks_src/quality-gate.js:544
↓ 1 callersFunctionlensPerformance
(file, content, builtInRules)
hooks_src/quality-gate.js:212
↓ 1 callersFunctionlensSecrets
(file, content)
hooks_src/quality-gate.js:496
↓ 1 callersFunctionlistCampaignFiles
(projectRoot, options = {})
core/campaigns/load-campaign.js:30
↓ 1 callersFunctionlistClaudeMarketplaces
(cwd)
scripts/claude-install.js:112
↓ 1 callersFunctionlistClaudePlugins
(cwd)
scripts/claude-install.js:128
↓ 1 callersFunctionlistRegisteredLoops
(projectRoot)
core/loops/registry.js:99
↓ 1 callersFunctionlistUntrackedPath
(projectRoot, statusPath)
core/verification/profiles.js:40
↓ 1 callersFunctionlisten
(port = 0)
scripts/test-worktree-readiness.js:31
↓ 1 callersFunctionloadDesignManifest
()
hooks_src/post-edit.js:716
↓ 1 callersFunctionloadEvents
* Load permission events from both sources, normalized to * { ts, tool, target, decision }. * * audit.jsonl entries (event === 'permission-request'
scripts/permission-audit.js:61
↓ 1 callersFunctionloadGitignore
(rootDir)
core/map/index.js:95
↓ 1 callersFunctionloadLatestVerdicts
()
scripts/noop-ablate.js:63
↓ 1 callersFunctionloadPricing
()
runtimes/claude-code/adapters/session-tokens.js:15
↓ 1 callersFunctionloadRequiredIndex
(outputPath)
scripts/map-index.js:80
↓ 1 callersFunctionloadSkills
()
scripts/route-preview.js:113
↓ 1 callersFunctionloadState
(stateFile)
scripts/telemetry-otlp-export.js:256
↓ 1 callersFunctionloadState
()
hooks_src/issue-monitor.js:24
↓ 1 callersFunctionloadVerdicts
()
scripts/noop-apply.js:46
↓ 1 callersFunctionlogPermissionEvent
* Append a compact permission event to the dedicated audit JSONL. * Observer-only: failures are swallowed, never affects the hook outcome. * One app
hooks_src/permission-request.js:40
↓ 1 callersFunctionlogSessionCost
* Log session cost data to .planning/telemetry/session-costs.jsonl. * * Two-layer approach: * 1. Real tokens: Read Claude Code's session JSONL fo
hooks_src/session-end.js:131
↓ 1 callersFunctionlooksLikeCodexReviewItem
(item, authorHint = 'codex')
core/codex/native-integrations.js:374
↓ 1 callersFunctionlooksLikePath
(value)
core/evidence/contracts.js:70
↓ 1 callersFunctionloopId
(options = {})
core/loops/contract.js:31
↓ 1 callersFunctionmain
()
scripts/dashboard-server.js:423
↓ 1 callersFunctionmain
()
scripts/unharness.js:137
↓ 1 callersFunctionmain
()
scripts/verification-plan.js:67
↓ 1 callersFunctionmain
()
scripts/generate-project-guidance.js:50
↓ 1 callersFunctionmain
()
scripts/test-watch-dedup.js:76
↓ 1 callersFunctionmain
()
scripts/noop-ablate.js:151
↓ 1 callersFunctionmain
()
scripts/noop-scan.js:51
↓ 1 callersFunctionmain
()
scripts/skill-scaffold.js:149
↓ 1 callersFunctionmain
()
scripts/install-hooks.js:64
↓ 1 callersFunctionmain
()
scripts/fleet-steward.js:256
↓ 1 callersFunctionmain
()
scripts/stack-plan.js:389
↓ 1 callersFunctionmain
()
scripts/test-postedit-typecheck.js:103
↓ 1 callersFunctionmain
()
scripts/map-index.js:88
↓ 1 callersFunctionmain
()
scripts/watch.js:659
↓ 1 callersFunctionmain
()
scripts/telemetry-log.cjs:38
↓ 1 callersFunctionmain
()
scripts/permission-audit.js:200
↓ 1 callersFunctionmain
()
scripts/test-project-guidance.js:17
↓ 1 callersFunctionmain
()
scripts/test-package-surfaces.js:12
↓ 1 callersFunctionmain
()
scripts/operator-console.js:408
↓ 1 callersFunctionmain
()
scripts/test-runtime-contracts.js:12
↓ 1 callersFunctionmain
()
scripts/telemetry-otlp-export.js:360
↓ 1 callersFunctionmain
()
scripts/noop-apply.js:71
↓ 1 callersFunctionmain
()
scripts/generate-skill-projections.js:20
← previousnext →901–1,000 of 1,589, ranked by callers