Enums§
- Hook
Short Circuit Mode - Tri-state knob for the
hook_post_editshort-circuit heuristic.
Constants§
- ANTHROPIC_
API_ KEY - COLORFGBG
- COLORTERM
- DEFAULT_
DEEP_ RECALL_ SAMPLE_ RATE - Default deep-recall sample rate when the env var is unset (2%).
- DIFFLORE_
BFS_ RETRIEVAL - DIFFLORE_
CLAUDE_ HOME - DIFFLORE_
CLOUD_ TOKEN - DIFFLORE_
CLOUD_ URL - DIFFLORE_
DEBUG_ CLOUD - DIFFLORE_
DEBUG_ HOOKS - DIFFLORE_
DEBUG_ PROVIDERS - DIFFLORE_
DEBUG_ TELEMETRY - DIFFLORE_
DEEP_ RECALL_ SAMPLE_ RATE - Probability (0.0–0.10) that an MCP recall serve with caller-requested
top_k == 5is transparently bumped totop_k = 8so we accrue data on whether rules at ranks 6–8 ever get accepted. - DIFFLORE_
DISABLE_ RULES - DIFFLORE_
EMBEDDING_ KEY - API key for
difflore embeddings setup(BYOK), read from env/stdin so it stays out of shell history. The runtime resolver uses the encrypted key stored by that command — not a raw env var at embed time. - DIFFLORE_
FIX_ DEBUG - DIFFLORE_
FIX_ DUMP_ DIR - DIFFLORE_
FIX_ PREVIEW_ REVIEW_ TIMEOUT_ SECS - DIFFLORE_
HOME - DIFFLORE_
HOOK_ CACHE_ TTL_ MS - DIFFLORE_
HOOK_ CLIENT - DIFFLORE_
HOOK_ CROSS_ REPO_ STARTER - Opt-in: allow the post-edit / pre-read hook to fall back to cross-repo
“starter” rules when the current repo has no scoped memory. Default OFF —
the hook is repo-level only: it surfaces THIS repo’s own memory or stays
silent, never auto-injecting transferable rules from other repos on every
edit. (The explicit
difflore recallcommand keeps its own starter path.) - DIFFLORE_
HOOK_ FORWARD - DIFFLORE_
HOOK_ SHIM_ TRACE - DIFFLORE_
HOOK_ SHORT_ CIRCUIT - Controls the per-process
hook_post_editshort-circuit cache. - DIFFLORE_
INTENT_ RERANK - DIFFLORE_
MASTER_ KEY - DIFFLORE_
MCP_ HOME - DIFFLORE_
NO_ WELCOME - DIFFLORE_
THEME - DIFFLORE_
TOKEN - DIFFLORE_
TRACE_ HOOK - DIFF_
LORE_ CLOUD_ URL - MAX_
DEEP_ RECALL_ SAMPLE_ RATE - Maximum permitted deep-recall sample rate (10%). Anything higher would substantially shift the cost/token profile of the hot recall path; the whole point of the sampler is “cheap occasional probe”, not a knob the caller can crank into a second production mode.
- NO_
COLOR - OPENAI_
API_ KEY - PATH
- TERM
Functions§
- debug_
cloud - debug_
providers - debug_
telemetry - deep_
recall_ sample_ rate - Resolve
DIFFLORE_DEEP_RECALL_SAMPLE_RATEinto a validated probability. - difflore_
home - fix_
debug - fix_
dump_ dir - flag_
set - hook_
cache_ ttl_ ms - hook_
cross_ repo_ starter_ enabled - Whether the hook may inject cross-repo “starter” rules when the current repo
has no scoped memory. Default OFF: the hook is repo-level only — it surfaces
THIS repo’s own memory or stays silent, instead of injecting transferable
rules from other repos on every edit. Set
DIFFLORE_HOOK_CROSS_REPO_STARTERto a truthy value to opt back into cold-start starter hints in the hook. - hook_
short_ circuit_ mode - Resolve
DIFFLORE_HOOK_SHORT_CIRCUITinto a tri-state mode. - master_
key_ hex - non_
empty - parse_
deep_ recall_ sample_ rate - Parse a raw
DIFFLORE_DEEP_RECALL_SAMPLE_RATEstring into a validatedf32in[0.0, MAX_DEEP_RECALL_SAMPLE_RATE]. - trace_
hook - truthy
- var
- var_os