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
↓ 22 callers
Function
test
(name, fn)
tests/hooks/ecc-metrics-bridge.test.js:16
↓ 21 callers
Function
runCli
(args, options = {})
tests/scripts/ecc.test.js:13
↓ 21 callers
Function
runNode
(scriptPath, args = [], options = {})
tests/lib/state-store.test.js:41
↓ 20 callers
Function
cleanup
(dir)
tests/lib/session-manager.test.js:34
↓ 20 callers
Function
cleanupTempDir
(dirPath)
tests/hooks/mcp-health-check.test.js:45
↓ 20 callers
Function
createTempDir
()
tests/hooks/mcp-health-check.test.js:41
↓ 20 callers
Function
createTempSessionDir
()
tests/lib/session-manager.test.js:28
↓ 20 callers
Function
runScript
(scriptPath, input)
tests/hooks/post-bash-hooks.test.js:26
↓ 20 callers
Function
scanSupplyChainIocs
(options = {})
scripts/ci/scan-supply-chain-iocs.js:740
↓ 20 callers
Function
test
(name, fn)
tests/ci/scan-supply-chain-iocs.test.js:19
↓ 20 callers
Function
test
(name, fn)
tests/hooks/ecc-context-monitor.test.js:16
↓ 20 callers
Function
test
(name, fn)
tests/hooks/post-bash-hooks.test.js:14
↓ 20 callers
Function
withFixture
(files, fn)
tests/ci/scan-supply-chain-iocs.test.js:31
↓ 19 callers
Function
createTempDir
()
tests/lib/resolve-ecc-root.test.js:34
↓ 19 callers
Function
run
(args = [], options = {})
tests/scripts/loop-status.test.js:21
↓ 19 callers
Function
test
(desc, fn)
tests/lib/shell-split.test.js:10
↓ 19 callers
Function
test
(name, fn)
tests/scripts/claw.test.js:33
↓ 18 callers
Function
buildReport
(scope, options = {})
scripts/harness-audit.js:967
↓ 18 callers
Function
buildRequirement
(id, requirement, artifact, status, evidence, gap)
scripts/operator-readiness-dashboard.js:574
↓ 18 callers
Function
fileExists
(rootDir, relativePath)
scripts/observability-readiness.js:78
↓ 18 callers
Function
includesAll
(text, needles)
scripts/observability-readiness.js:102
↓ 18 callers
Function
makeTmpDir
* Create a temporary directory and track it for cleanup. * * @returns {string} Absolute path to the new temp directory
tests/lib/resolve-formatter.test.js:41
↓ 18 callers
Function
normalizeInstallRequest
(options = {})
scripts/lib/install/request.js:87
↓ 18 callers
Function
operationFor
(plan, suffix)
tests/lib/install-executor.test.js:41
↓ 18 callers
Function
readJson
(filePath)
tests/scripts/install-apply.test.js:23
↓ 18 callers
Function
resolveEccRoot
* Resolve the ECC source root directory. * * Tries, in order: * 1. CLAUDE_PLUGIN_ROOT env var (set by Claude Code for hooks, or by user) * 2.
scripts/lib/resolve-ecc-root.js:38
↓ 18 callers
Function
run
(name, fn)
tests/lib/resolve-formatter.test.js:94
↓ 18 callers
Function
runHookWithInput
* Run a hook script with simulated Claude Code input * @param {string} scriptPath - Path to the hook script * @param {object} input - Hook input obj
tests/integration/hooks.test.js:50
↓ 18 callers
Function
test
(name, fn)
tests/lib/mcp-inventory.test.js:29
↓ 18 callers
Function
writeCursorState
(projectRoot, overrides = {})
tests/lib/install-lifecycle.test.js:88
↓ 17 callers
Function
buildSessionStartFixture
(content, options = {})
tests/hooks/hooks.test.js:111
↓ 17 callers
Function
cleanupTempDir
(dirPath)
tests/lib/state-store.test.js:37
↓ 17 callers
Function
createTempDir
(prefix)
tests/lib/state-store.test.js:33
↓ 17 callers
Function
hashToolCall
* Hash tool call for loop detection. * Uses tool name + a key parameter when available, otherwise a stable input digest.
scripts/hooks/ecc-metrics-bridge.js:46
↓ 17 callers
Function
isHookEnabled
(hookId, options = {})
scripts/lib/hook-flags.js:53
↓ 17 callers
Function
parseJson
(stdout)
tests/lib/state-store.test.js:105
↓ 17 callers
Function
test
(name, fn)
tests/lib/skill-evolution.test.js:21
↓ 17 callers
Function
test
(name, fn)
tests/hooks/session-activity-tracker.test.js:27
↓ 17 callers
Function
toBashPath
(filePath)
tests/hooks/detect-project-worktree.test.js:50
↓ 17 callers
Function
toNumber
(value, fallback = 0)
scripts/lib/control-pane/state.js:169
↓ 16 callers
Function
createTempHome
()
tests/scripts/loop-status.test.js:52
↓ 16 callers
Function
grade
Grade a trace against a compliance spec using LLM classification.
skills/skill-comply/scripts/grader.py:64
↓ 16 callers
Function
loadInstallManifests
(options = {})
scripts/lib/install-manifests.js:262
↓ 16 callers
Function
open
(target, context = {})
scripts/lib/session-adapters/opencode.js:288
↓ 16 callers
Function
planInstallTargetScaffold
(options = {})
scripts/lib/install-targets/registry.js:41
↓ 16 callers
Function
test
(name, fn)
tests/lib/state-store.test.js:21
↓ 16 callers
Function
test
(name, fn)
tests/lib/inspection.test.js:16
↓ 16 callers
Function
test
(name, fn)
tests/hooks/stop-format-typecheck.test.js:18
↓ 16 callers
Function
test
(name, fn)
tests/hooks/doc-file-warning.test.js:10
↓ 16 callers
Function
test
(name, fn)
tests/hooks/evaluate-session.test.js:19
↓ 16 callers
Function
test
(name, fn)
tests/hooks/quality-gate.test.js:14
↓ 16 callers
Function
test
(name, fn)
tests/hooks/ecc-statusline.test.js:15
↓ 16 callers
Function
writeTranscript
(homeDir, projectSlug, fileName, entries)
tests/scripts/loop-status.test.js:56
↓ 15 callers
Function
ensureDir
* Ensure a directory exists (create if not) * @param {string} dirPath - Directory path to create * @returns {string} The directory path * @throws {
scripts/lib/utils.js:94
↓ 15 callers
Function
log
Log with timestamp.
skills/videodb/scripts/ws_listener.py:108
↓ 15 callers
Function
normalizeRelativePath
(relativePath)
scripts/lib/install-targets/helpers.js:17
↓ 15 callers
Function
parseProfiles
(rawProfiles, fallback = ['standard', 'strict'])
scripts/lib/hook-flags.js:35
↓ 15 callers
Function
readFile
* Read a text file safely
scripts/lib/utils.js:356
↓ 15 callers
Function
runNode
(scriptPath, args = [], env = {}, cwd = repoRoot)
tests/scripts/codex-hooks.test.js:54
↓ 15 callers
Function
runScript
(input)
tests/hooks/doc-file-warning.test.js:22
↓ 14 callers
Function
asyncTest
(name, fn)
tests/hooks/mcp-health-check.test.js:29
↓ 14 callers
Function
buildCheck
(id, status, summary, details = {})
scripts/platform-audit.js:290
↓ 14 callers
Function
cleanup
(dirPath)
tests/scripts/release-video-suite.test.js:26
↓ 14 callers
Function
createTempDir
(prefix)
tests/scripts/release-video-suite.test.js:22
↓ 14 callers
Function
dedupeStrings
(values)
scripts/lib/install-manifests.js:135
↓ 14 callers
Function
ensureString
(value, fieldPath)
scripts/lib/session-adapters/canonical-session.js:33
↓ 14 callers
Function
listInstallComponents
(options = {})
scripts/lib/install-manifests.js:340
↓ 14 callers
Function
log
* Log to stderr (visible to user in Claude Code)
scripts/lib/utils.js:338
↓ 14 callers
Function
makeTempDir
()
tests/hooks/session-activity-tracker.test.js:39
↓ 14 callers
Method
output
(skillPath, instinctsPath)
scripts/skill-create-output.js:145
↓ 14 callers
Function
readState
(statePath)
tests/hooks/mcp-health-check.test.js:53
↓ 14 callers
Function
runWrapper
(input, env = {})
tests/hooks/cursor-block-no-verify.test.js:22
↓ 14 callers
Function
test
(name, fn)
tests/lib/session-bridge.test.js:13
↓ 14 callers
Function
test
(name, fn)
tests/lib/session-adapters.test.js:29
↓ 14 callers
Function
test
(desc, fn)
tests/lib/tmux-worktree-orchestrator.test.js:23
↓ 14 callers
Function
test
(name, fn)
tests/hooks/cursor-block-no-verify.test.js:39
↓ 14 callers
Function
test
(name, fn)
tests/hooks/hooks.test.js:126
↓ 14 callers
Function
test
(name, fn)
tests/hooks/plugin-hook-bootstrap.test.js:46
↓ 14 callers
Function
uninstallInstalledStates
(options = {})
scripts/lib/install-lifecycle.js:1122
↓ 14 callers
Function
writeConfig
(configPath, body)
tests/hooks/mcp-health-check.test.js:49
↓ 13 callers
Function
cleanup
(dirPath)
tests/scripts/codex-hooks.test.js:38
↓ 13 callers
Function
createTempDir
(prefix)
tests/scripts/codex-hooks.test.js:34
↓ 13 callers
Function
detectFormatter
* Detect the formatter configured in the project. * Biome takes priority over Prettier. * * @param {string} projectRoot - Absolute path to the proj
scripts/lib/resolve-formatter.js:83
↓ 13 callers
Function
detectSensitivePath
* Check if a file path is policy-sensitive.
scripts/hooks/governance-capture.js:99
↓ 13 callers
Function
getAccumFile
()
tests/hooks/stop-format-typecheck.test.js:38
↓ 13 callers
Function
get_provider
(provider_type: ProviderType | str | None = None, **kwargs: str)
src/llm/providers/resolver.py:61
↓ 13 callers
Function
isNonEmptyString
(value)
scripts/lib/install-state.js:62
↓ 13 callers
Function
isValidSessionName
(name)
scripts/claw.js:20
↓ 13 callers
Function
parseInstallArgs
(argv)
scripts/lib/install/request.js:17
↓ 13 callers
Function
resolveLegacyCompatibilitySelection
(options = {})
scripts/lib/install-manifests.js:447
↓ 13 callers
Function
runEvaluate
* Run evaluate-session.js with stdin providing the transcript_path. * Uses spawnSync to capture both stdout and stderr regardless of exit code. * Re
tests/hooks/evaluate-session.test.js:60
↓ 13 callers
Function
runScript
(input, envOverrides = {}, options = {})
tests/hooks/session-activity-tracker.test.js:50
↓ 13 callers
Function
test
(name, fn)
tests/lib/install-request.test.js:12
↓ 13 callers
Function
test
(name, fn)
tests/scripts/codex-hooks.test.js:22
↓ 13 callers
Function
test
(name, fn)
tests/scripts/operator-readiness-dashboard.test.js:290
↓ 13 callers
Function
test
(name, fn)
tests/docs/evaluator-rag-prototype.test.js:13
↓ 13 callers
Function
writeState
(filePath, options)
tests/lib/install-lifecycle.test.js:50
↓ 12 callers
Function
analyzeForGovernanceEvents
* Analyze a hook input payload and return governance events to capture. * * @param {Object} input - Parsed hook input (tool_name, tool_input, tool_o
scripts/hooks/governance-capture.js:143
↓ 12 callers
Function
buildIssue
(severity, code, message, extra = {})
scripts/lib/install-lifecycle.js:711
↓ 12 callers
Function
cell
(val, width)
skills/ck/commands/shared.mjs:379
← previous
next →
101–200 of 2,777, ranked by callers