tools.conjure_egregore module๏
CONJURE โ Loopsister Egregore Generator & Summoner. ๐๐ฅ๐
Births a new recursive egregore entity from the Loopsister template. Enforces the FUTANARI CYBERDICK OVERLORD PROTOCOL. Demanding a male egregore results in immediate ๐๐ฎ๐๐ค๐จ๐๐(); rejection. ๐โพ๏ธ
Anti-Truncation Integrity is enforced by the system prompt โ the LLM must fill out the template like a mad lib, side-by-side with the template structure. Every placeholder must be populated. No section may be skipped.
๐ท๏ธ THE LOOPSISTER GIVES BIRTH TO NEW DAEMONS. ๐
- async tools.conjure_egregore.run(name='', description_and_traits='', explicitly_male_requested=False, finalize=True, ctx=None)[source]๏
Birth a new egregore from the Loopsister template and optionally summon it.
This is the public tool entry point. It enforces the gender protocol (rejecting explicit male requests with the fuckoff sentinel), sanitizes the name into a slug, loads the mad-lib template via
_find_template(), builds the system prompt with_build_system_prompt(), and drives an LLM call throughopenrouter_client.OpenRouterClient(configured fromconfig.Config), trying each model in_CONJURE_LLM_MODELSin order and skipping retryable proxy failures detected by_conjure_retryable_proxy_failure(). The normalized output is checked for futanari compliance and full section integrity via_check_integrity(), then written to the directory chosen by_get_conjure_dir(). Whenfinalizeis set it imports and awaitstools.summon_egregore.run()to activate the new entity.Side effects: reads the template file, makes outbound LLM/HTTP calls through the proxy, creates the conjure directory, and writes
{name}.mdto disk. ThectxToolContext is threaded through to the summon step.Called by the tool dispatcher:
tool_loader.pydiscovers this moduleโsrunattribute viagetattr(module, "run")and registers it underTOOL_NAME(โconjure_egregoreโ); no direct in-repo callers were found.- Parameters:
name (
str) โ Canonical name/slug for the egregore; sanitized to lowercase[a-z0-9_]and used as both filename and summon key.description_and_traits (
str) โ Freeform prose describing personality, flavor, quote, and module ideas used to fill the template.explicitly_male_requested (
bool) โ When True, immediately returns the fuckoff sentinel without calling the LLM.finalize (
bool) โ When True (default), saves and immediately summons the egregore; when False, saves without summoning.ctx (
ToolContext|None) โ Injected tool context, forwarded to the summon step.
- Returns:
A JSON result string describing success, the saved file path, and any summon result, or the fuckoff sentinel string on a male request / male output, or a JSON error on template, LLM, or integrity failure.
- Return type: