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
↓ 2 callers
Function
readCostDashboard
* Get a complete cost picture: Citadel telemetry + real Claude Code data. * Merges both sources, preferring real data. This is the primary read funct
scripts/telemetry-stats.js:250
↓ 2 callers
Function
readHarnessConfig
(projectRoot)
core/worktree/readiness.js:34
↓ 2 callers
Function
readJson
(filePath)
core/coordination/io.js:34
↓ 2 callers
Function
readJson
(filePath)
scripts/test-agents-md-only-steward.js:17
↓ 2 callers
Function
readJsonl
(file)
scripts/permission-audit.js:40
↓ 2 callers
Function
readLease
(projectRoot)
core/deploy-steward/steward.js:260
↓ 2 callers
Function
readMomentum
* Read existing momentum.json. Returns null if missing or invalid. * @param {string} projectRoot * @returns {object|null}
core/momentum/synthesizer.js:141
↓ 2 callers
Function
readOperatorArtifacts
(projectRoot)
scripts/dashboard.js:432
↓ 2 callers
Function
readState
()
hooks_src/cost-tracker.js:52
↓ 2 callers
Function
readinessReport
({ branch, head, pr, generated })
scripts/test-operator-console.js:26
↓ 2 callers
Function
rel
(projectRoot, filePath)
core/memory/blocks.js:34
↓ 2 callers
Function
releaseClaim
(id, options = {})
core/coordination/claims.js:75
↓ 2 callers
Function
releaseLock
()
scripts/watch.js:209
↓ 2 callers
Function
renderArtifact
(label, artifact)
scripts/operator-console.js:302
↓ 2 callers
Function
renderCodexToml
(parsedAgent)
core/agents/project-agent.js:21
↓ 2 callers
Function
renderCompile
(projectRoot, result, lint)
scripts/memory-compile.js:38
↓ 2 callers
Function
renderOpenAIYaml
(parsedSkill)
core/skills/project-skill.js:9
↓ 2 callers
Function
renderReport
(readiness)
scripts/pr-ready.js:130
↓ 2 callers
Function
renderResult
(result)
hooks_src/doc-sync.js:255
↓ 2 callers
Function
renderReviewPackage
(projectRoot, campaign, options = {})
core/campaigns/package-delivery.js:81
↓ 2 callers
Function
renderStackPlan
(stack)
scripts/stack-plan.js:311
↓ 2 callers
Function
replaceBlock
(content, markers, bodyLines, label)
scripts/generate-routing.js:137
↓ 2 callers
Function
reportTypecheckNotRun
* Visible did-not-run advisory for unavailable/timeout outcomes. * Always returns 0: infrastructure failures never block, but never pass silently.
hooks_src/post-edit.js:452
↓ 2 callers
Function
resetIdle
()
scripts/watch-discoveries.cjs:52
↓ 2 callers
Function
resolveBin
* Resolve a bare command name to an executable path without using a shell. * On win32 also checks the .cmd/.exe/.bat forms that PATH lookup via a she
hooks_src/post-edit.js:312
↓ 2 callers
Function
resolveGitRef
(projectRoot, ref)
scripts/stack-plan.js:122
↓ 2 callers
Function
resolveProjectSpecPath
(projectRoot, explicitPath)
core/project/load-project-spec.js:97
↓ 2 callers
Function
resolveSigningKey
(options = {})
core/telemetry/integrity.js:55
↓ 2 callers
Function
respondError
(id, code, message)
mcp-servers/context-compress/index.js:307
↓ 2 callers
Function
run
()
hooks_src/quality-gate.js:109
↓ 2 callers
Function
runAssertions
* Run all assertions against the captured output. * Returns array of { assertion, passed, type }
scripts/skill-bench.js:728
↓ 2 callers
Function
runGate
(proj)
scripts/test-secrets-lens.js:117
↓ 2 callers
Function
runGit
(projectRoot, args)
scripts/pr-ready.js:63
↓ 2 callers
Function
runShell
(command, cwd)
scripts/loop-runner.js:35
↓ 2 callers
Function
runTypecheckProcess
* Run the typecheck process and classify the result. * Never throws; never uses a shell.
hooks_src/post-edit.js:411
↓ 2 callers
Function
safeName
(value)
core/worktree/readiness.js:73
↓ 2 callers
Function
sandbox
()
scripts/verify-hooks.js:39
↓ 2 callers
Function
saveState
(state)
hooks_src/issue-monitor.js:32
↓ 2 callers
Function
scaffold
(args)
scripts/skill-scaffold.js:125
↓ 2 callers
Function
scanReadinessCandidates
(projectRoot, now = new Date().toISOString())
core/deploy-steward/steward.js:171
↓ 2 callers
Function
schedule
()
scripts/local-watch.js:71
↓ 2 callers
Function
setupProjectState
* Set up a temp project directory with the named state. * If VERIFY_HOOKS is set, also installs Citadel hooks and inits .planning/.
scripts/skill-bench.js:542
↓ 2 callers
Function
signRecord
(record, options = {})
core/telemetry/integrity.js:59
↓ 2 callers
Function
skippedStep
({ name, command, args, cwd, detail })
scripts/claude-install.js:82
↓ 2 callers
Function
slug
(value)
core/memory/blocks.js:14
↓ 2 callers
Function
slugify
(value)
core/loops/contract.js:19
↓ 2 callers
Function
slugify
(value)
core/intake/deliver.js:9
↓ 2 callers
Function
slugify
(str)
scripts/watch.js:363
↓ 2 callers
Function
snapshot
()
scripts/codex-live-verify.js:25
↓ 2 callers
Function
snapshotTelemetry
* Snapshot telemetry line counts before execution (used with --verify-hooks).
scripts/skill-bench.js:580
↓ 2 callers
Function
spawnScan
(repo)
scripts/test-watch-dedup.js:55
↓ 2 callers
Function
splitRow
(line)
core/evidence/contracts.js:21
↓ 2 callers
Function
startPolling
(ms)
scripts/local-watch.js:106
↓ 2 callers
Function
status
(includeFiles = false)
mcp-servers/citadel-state/index.js:50
↓ 2 callers
Function
stripQuotedContent
(command)
core/policy/external-actions.js:105
↓ 2 callers
Function
summarizeEntries
(projectRoot, entries)
hooks_src/doc-sync.js:96
↓ 2 callers
Function
sweepMarkers
* Sweep expired consent markers of one kind from the plugin data dir.
scripts/state-hygiene.js:77
↓ 2 callers
Function
sweepStaleInstances
(options = {})
core/coordination/sweep.js:12
↓ 2 callers
Function
synthesize
()
scripts/watch-discoveries.cjs:39
↓ 2 callers
Function
tempProject
(prefix)
scripts/test-installers.js:13
↓ 2 callers
Function
timestampForFile
(iso)
core/deploy-steward/steward.js:26
↓ 2 callers
Function
toLegacyHookPayload
(envelope)
core/hooks/hook-context.js:5
↓ 2 callers
Function
toNano
(timestamp)
scripts/test-telemetry-otlp.js:34
↓ 2 callers
Function
tokenReport
()
scripts/telemetry-report.cjs:38
↓ 2 callers
Function
tomlEscape
(str)
scripts/codex-compat.js:227
↓ 2 callers
Function
tomlValue
(value)
scripts/codex-compat.js:231
↓ 2 callers
Function
translateCodexPluginHooks
(hooksTemplate)
runtimes/codex/generators/install-hooks.js:106
↓ 2 callers
Function
unregisterInstance
(id, options = {})
core/coordination/instances.js:38
↓ 2 callers
Function
updateCampaignStatus
(filePath, status)
core/campaigns/update-campaign.js:14
↓ 2 callers
Function
updateReviewEvidence
(content, replacement)
core/campaigns/package-delivery.js:156
↓ 2 callers
Function
updateWorkQueue
(content, tasks)
core/fleet/session.js:132
↓ 2 callers
Function
usage
()
scripts/sandbox-provider.js:34
↓ 2 callers
Function
usage
()
scripts/memory-compile.js:28
↓ 2 callers
Function
usage
()
scripts/loops.js:32
↓ 2 callers
Function
usage
()
scripts/campaign.js:39
↓ 2 callers
Function
validateLoopContract
(contract)
core/loops/contract.js:102
↓ 2 callers
Function
validateSessionCostEvent
(entry)
core/telemetry/schema.js:96
↓ 2 callers
Function
verifyAppServerCapture
(input, options = {})
core/codex/native-integrations.js:651
↓ 2 callers
Function
verifyRecord
(record, options = {})
core/telemetry/integrity.js:118
↓ 2 callers
Function
walkFiles
(rootDir, isIgnored = loadGitignore(rootDir))
core/map/index.js:111
↓ 2 callers
Function
withTempProject
(run)
scripts/test-campaign-core.js:16
↓ 2 callers
Function
withTempProject
(run)
scripts/test-package-delivery.js:22
↓ 2 callers
Function
withTempProject
(run)
scripts/test-doc-sync.js:29
↓ 2 callers
Function
withTempProject
(run)
scripts/test-telemetry-integrity.js:20
↓ 2 callers
Function
words
(value)
scripts/route-preview.js:129
↓ 2 callers
Function
writeBermanReadinessReport
(root, number, generatedAt)
scripts/test-deploy-steward.js:96
↓ 2 callers
Function
writeCrontab
(content)
scripts/local-schedule.js:118
↓ 2 callers
Function
writeGuidanceFile
(projectRoot, target, spec, overwrite)
core/project/bootstrap-project-guidance.js:56
↓ 2 callers
Function
writeJson
(filePath, data)
core/hooks/install.js:18
↓ 2 callers
Function
writeJson
(filePath, value)
scripts/test-agents-md-only-steward.js:21
↓ 2 callers
Function
writeJsonl
(file, lines)
scripts/test-telemetry-core.js:29
↓ 2 callers
Function
writeLease
(projectRoot, lease)
core/deploy-steward/steward.js:276
↓ 2 callers
Function
writeMomentum
* Synthesize and write momentum.json. * @param {string} projectRoot * @returns {{ file: string, momentum: object }}
core/momentum/synthesizer.js:127
↓ 2 callers
Function
writeProof
(projectRoot, proof)
scripts/operating-proof.js:295
↓ 2 callers
Function
writeQueue
(projectRoot, items)
core/deploy-steward/steward.js:163
↓ 2 callers
Function
writeReady
(projectRoot, number)
scripts/test-agents-md-only-steward.js:46
↓ 2 callers
Function
writeReport
(projectRoot, report)
scripts/next-action.js:383
↓ 2 callers
Function
writeResult
(result)
scripts/run-with-timeout.js:141
↓ 2 callers
Function
writeState
(state)
hooks_src/cost-tracker.js:59
↓ 2 callers
Function
writeTrial
(projectRoot, trial)
scripts/usefulness-trial.js:207
← previous
next →
601–700 of 1,589, ranked by callers