Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/affaan-m/ECC
/ functions
Functions
2,777 in github.com/affaan-m/ECC
⨍
Functions
2,777
◇
Types & classes
100
↳
Endpoints
15
↓ 9 callers
Function
validateCanonicalSnapshot
(snapshot)
scripts/lib/session-adapters/canonical-session.js:162
↓ 8 callers
Function
aura_verdict
Look up the trust verdict for a counterparty DID. Never raises on a network/parse failure — returns an `unknown` verdict instead, leaving the
integrations/aura/adapter.py:136
↓ 8 callers
Function
buildAdvisorySourceReport
(options = {})
scripts/ci/supply-chain-advisory-sources.js:304
↓ 8 callers
Function
buildContextBar
* Build context progress bar with ANSI colors. * @param {number} remaining - Raw remaining percentage from Claude Code * @returns {string} Colored b
scripts/hooks/ecc-statusline.js:43
↓ 8 callers
Function
buildOrchestrationPlan
(config = {})
scripts/lib/tmux-worktree-orchestrator.js:175
↓ 8 callers
Function
dedupeStrings
(values)
scripts/lib/install/request.js:7
↓ 8 callers
Function
detectApprovalRequired
* Check if a command requires governance approval.
scripts/hooks/governance-capture.js:84
↓ 8 callers
Function
detectPatterns
* Detect recurring failure patterns from skill runs. * * @param {Array} skillRuns - Array of skill run objects (newest first) * @param {Object} [op
scripts/lib/inspection.js:71
↓ 8 callers
Function
execRows
(db, sql, params = [])
scripts/lib/control-pane/state.js:139
↓ 8 callers
Function
extractFilePaths
* Extract modified file paths from tool input.
scripts/hooks/ecc-metrics-bridge.js:83
↓ 8 callers
Function
findProjectRoot
* Walk up from `startDir` until a directory containing a known project * root marker (package.json or formatter config) is found. * Returns `startDi
scripts/lib/resolve-formatter.js:58
↓ 8 callers
Function
getClaudeDir
* Get the Claude config directory (alias of getAgentDataHome for backwards compatibility).
scripts/lib/utils.js:48
↓ 8 callers
Function
getLineNumber
(source, index)
scripts/ci/validate-workflow-security.js:79
↓ 8 callers
Method
header
()
scripts/skill-create-output.js:88
↓ 8 callers
Method
instincts
(instincts)
scripts/skill-create-output.js:138
↓ 8 callers
Function
isForeignPlatformPath
(sourceRelativePath, adapterTarget)
scripts/lib/install-targets/helpers.js:24
↓ 8 callers
Function
loadAliases
* Load aliases from file * @returns {object} Aliases object
scripts/lib/session-aliases.js:42
↓ 8 callers
Function
loadHistory
(filePath)
scripts/claw.js:40
↓ 8 callers
Function
load_all_instincts
Load all instincts: project-scoped + global. Project-scoped instincts take precedence over global ones when IDs conflict.
skills/continuous-learning-v2/scripts/instinct-cli.py:641
↓ 8 callers
Function
makeTempDir
()
tests/hooks/cost-tracker.test.js:27
↓ 8 callers
Function
normalizePlanPath
(value)
tests/lib/locale-install.test.js:16
↓ 8 callers
Function
normalizeTransport
(rawType, { url } = {})
scripts/lib/mcp-inventory/canonical-mcp.js:112
↓ 8 callers
Function
pad
(str, w)
skills/ck/commands/shared.mjs:276
↓ 8 callers
Function
parseCodexTarget
(target)
scripts/lib/session-adapters/codex-worktree.js:14
↓ 8 callers
Function
parse_trace
Parse a JSONL observation trace file into sorted events.
skills/skill-comply/scripts/parser.py:47
↓ 8 callers
Function
read
(relativePath)
tests/docs/legacy-artifact-inventory.test.js:25
↓ 8 callers
Function
readSessionCost
* Read cumulative cost for a session from costs.jsonl. * * Scans the full file because each row is a cumulative session total * (see cost-tracker.j
scripts/hooks/ecc-metrics-bridge.js:149
↓ 8 callers
Function
readValue
(args, index, flagName)
scripts/platform-audit.js:50
↓ 8 callers
Function
requireValue
(argv, index, argName)
scripts/skills-health.js:26
↓ 8 callers
Function
run
(args = [], options = {})
tests/scripts/session-inspect.test.js:15
↓ 8 callers
Function
runGit
(cwd, args)
tests/scripts/instinct-cli-projects.test.js:94
↓ 8 callers
Function
seedStore
(dbPath)
tests/lib/state-store.test.js:109
↓ 8 callers
Function
setupLegacyPluginInstall
(homeDir, segments)
tests/lib/resolve-ecc-root.test.js:46
↓ 8 callers
Function
test
(desc, fn)
tests/lib/orchestration-session.test.js:23
↓ 8 callers
Function
test
(name, fn)
tests/lib/agent-data-home.test.js:18
↓ 8 callers
Function
test
(name, fn)
tests/lib/changed-files-store.test.js:8
↓ 8 callers
Function
test
(name, fn)
tests/scripts/session-inspect.test.js:49
↓ 8 callers
Function
test
(name, fn)
tests/scripts/platform-audit.test.js:153
↓ 8 callers
Function
test
(name, fn)
tests/hooks/config-protection.test.js:13
↓ 8 callers
Function
withEnv
(overrides, fn)
tests/lib/agent-data-home.test.js:30
↓ 8 callers
Function
withTempHome
(homeDir)
tests/hooks/cost-tracker.test.js:31
↓ 7 callers
Function
assertValidEntity
(entityName, payload, label)
scripts/lib/state-store/schema.js:81
↓ 7 callers
Method
build
(self, messages: list[Message], tools: list[ToolDefinition] | None = None)
src/llm/prompt/builder.py:49
↓ 7 callers
Function
buildAgentCatalog
* Build a compressed catalog from a directory of agents. * * Modes: * - 'catalog': name, description, tools, model only (~2-3k tokens for 27 agent
scripts/lib/agent-compress.js:165
↓ 7 callers
Function
buildControlPaneSnapshot
(options = {})
scripts/lib/control-pane/state.js:544
↓ 7 callers
Function
buildSeededReport
(rootDir)
tests/scripts/operator-readiness-dashboard.test.js:274
↓ 7 callers
Function
cleanup
(dirPath)
tests/scripts/observability-readiness.test.js:18
↓ 7 callers
Function
cleanup
(dirPath)
tests/scripts/auto-update.test.js:37
↓ 7 callers
Function
cleanup
(dirPath)
tests/scripts/platform-audit.test.js:21
↓ 7 callers
Function
createAdapterRegistry
(options = {})
scripts/lib/session-adapters/registry.js:99
↓ 7 callers
Function
createCommandConfig
(scriptPath)
tests/hooks/mcp-health-check.test.js:69
↓ 7 callers
Function
createEvalWrapper
(testDir, configPath)
tests/hooks/hooks.test.js:3411
↓ 7 callers
Function
createLegacyInstallPlan
(options = {})
scripts/lib/install-executor.js:551
↓ 7 callers
Function
createSkill
(skillRoot, name, content)
tests/lib/skill-evolution.test.js:41
↓ 7 callers
Function
createTempDir
(prefix)
tests/scripts/observability-readiness.test.js:14
↓ 7 callers
Function
createTempDir
(prefix)
tests/scripts/ecc.test.js:37
↓ 7 callers
Function
createTempDir
(prefix)
tests/scripts/auto-update.test.js:33
↓ 7 callers
Function
createTempDir
(prefix)
tests/scripts/platform-audit.test.js:17
↓ 7 callers
Function
createTranscript
* Create a JSONL transcript file with N user messages. * Each line is a JSON object with `"type":"user"`.
tests/hooks/evaluate-session.test.js:43
↓ 7 callers
Function
discoverInstalledStates
(options = {})
scripts/lib/install-lifecycle.js:698
↓ 7 callers
Function
dmuxWorker
(workerSlug, status = {}, overrides = {})
tests/lib/session-adapters.test.js:654
↓ 7 callers
Function
extractFileEvents
(toolName, toolInput)
scripts/hooks/session-activity-tracker.js:512
↓ 7 callers
Function
formatCode
(value)
scripts/status.js:198
↓ 7 callers
Function
formatDuration
* Format duration from ISO timestamp to now. * @param {string} isoTimestamp * @returns {string} e.g. "5s", "12m", "1h23m"
scripts/hooks/ecc-statusline.js:26
↓ 7 callers
Function
formatReport
(report, options = {})
scripts/worktree-lifecycle.js:70
↓ 7 callers
Function
getBridgePath
* Get the bridge file path for a session. * @param {string} sessionId - Already-sanitized session ID * @returns {string}
scripts/lib/session-bridge.js:36
↓ 7 callers
Function
getFallbackSessionRecordingPath
(snapshot, options = {})
scripts/lib/session-adapters/canonical-session.js:277
↓ 7 callers
Function
getLegacySessionsDir
(homeDir)
tests/hooks/hooks.test.js:89
↓ 7 callers
Function
getPackageManager
* Get the package manager to use for current project * * Detection priority: * 1. Environment variable CLAUDE_PACKAGE_MANAGER * 2. Project-specifi
scripts/lib/package-manager.js:163
↓ 7 callers
Function
inTempRepo
(fn)
tests/hooks/pre-bash-commit-quality.test.js:27
↓ 7 callers
Function
loadInstallConfig
(configPath, options = {})
scripts/lib/install/config.js:56
↓ 7 callers
Function
makeCheck
(id, status, summary, fix, details = {})
scripts/release-video-suite.js:484
↓ 7 callers
Function
makeTempRoot
(prefix)
tests/scripts/check-unicode-safety.test.js:31
↓ 7 callers
Function
normalizeRemoteUrl
(remoteUrl)
scripts/lib/observer-sessions.js:59
↓ 7 callers
Function
parseJson
(stdout)
tests/scripts/consult.test.js:21
↓ 7 callers
Function
parseOpencodeTarget
(target)
scripts/lib/session-adapters/opencode.js:14
↓ 7 callers
Function
parseTimestamp
(value)
scripts/loop-status.js:240
↓ 7 callers
Function
parse_spec
Parse a YAML compliance spec file.
skills/skill-comply/scripts/parser.py:77
↓ 7 callers
Function
read
(relativePath)
tests/docs/stale-pr-salvage-ledger.test.js:24
↓ 7 callers
Function
read
(relativePath)
tests/docs/harness-adapter-compliance.test.js:32
↓ 7 callers
Function
readFile
(filename)
skills/ck/commands/init.mjs:29
↓ 7 callers
Function
readJson
(fileName)
tests/docs/evaluator-rag-prototype.test.js:29
↓ 7 callers
Function
readProjects
()
skills/ck/commands/shared.mjs:39
↓ 7 callers
Function
record
(ok)
tests/ci/no-personal-paths.test.js:109
↓ 7 callers
Function
renderText
(result)
scripts/ci/catalog.js:717
↓ 7 callers
Function
run
(args = [])
tests/scripts/catalog.test.js:11
↓ 7 callers
Function
runFreshSessionEdit
(filePath, extra = {})
tests/hooks/gateguard-fact-force.test.js:1018
↓ 7 callers
Function
runHook
(input, env = {})
tests/hooks/config-protection.test.js:25
↓ 7 callers
Function
runNode
(scriptPath, args = [], options = {})
tests/scripts/repair.test.js:41
↓ 7 callers
Function
runScript
(scriptPath, command, envOverrides = {})
tests/hooks/pre-bash-reminders.test.js:26
↓ 7 callers
Function
seedProject
(root, id, options = {})
tests/scripts/instinct-cli-projects.test.js:67
↓ 7 callers
Function
sendJson
(res, statusCode, payload)
scripts/lib/control-pane/server.js:62
↓ 7 callers
Function
tableExists
(db, tableName)
scripts/lib/control-pane/state.js:151
↓ 7 callers
Function
test
(name, fn)
tests/lib/cost-estimate.test.js:12
↓ 7 callers
Function
test
(name, fn)
tests/lib/locale-install.test.js:31
↓ 7 callers
Function
test
(name, fn)
tests/scripts/check-unicode-safety.test.js:9
↓ 7 callers
Function
test
(name, fn)
tests/scripts/release-video-suite.test.js:103
↓ 7 callers
Function
test
(name, fn)
tests/scripts/release-approval-gate.test.js:145
↓ 7 callers
Function
test
(name, fn)
tests/scripts/install-readme-clarity.test.js:12
↓ 7 callers
Function
test
(name, fn)
tests/scripts/catalog.test.js:28
← previous
next →
301–400 of 2,777, ranked by callers