Repository navigation
Agent KB_mediation
grisun0 edited this page Oct 25, 2026
·
1 revision
- Doc: Mediation layer for LazyOwn cross-module coordination.
- Layer: utility
- Language: py
- Depends on:
modules/mediation/chain_mediator.py,modules/mediation/contracts.py,modules/mediation/feedback_mediator.py,modules/mediation/hub.py,modules/mediation/intel_mediator.py,modules/mediation/telemetry_mediator.py - Imported by:
cli/apt_chain_support.py,modules/lazy_intel.py,modules/lazy_loop.py,tests/test_mediation.py
- Doc: Specialised mediator for the APT chain pipeline.
- Layer: utility
- Language: py
- Symbols:
-
LlmPoolPort(class, line 13)class LlmPoolPort -
ChainMediator(class, line 48)class ChainMediator -
complete(method, line 16)def complete(self, prompt, max_tokens, task_id) -
has_members(method, line 34)def has_members(self) -
__init__(method, line 53)def __init__(self) -
register_llm_port(method, line 57)def register_llm_port(self, port) -
llm(method, line 65)def llm(self) -
describe(method, line 73)def describe(self)
-
- Depends on:
modules/lazy_loop.py - Imported by:
modules/mediation/__init__.py,modules/mediation/hub.py,tests/test_guardrails.py
- Doc: Mediation contracts: the abstractions every participant depends on.
- Layer: utility
- Language: py
- Symbols:
-
MediationDomains(class, line 12)class MediationDomains -
ActivityLogPort(class, line 35)class ActivityLogPort(Protocol) -
LlmCompletionPort(class, line 57)class LlmCompletionPort(Protocol) -
MediatorContract(class, line 84)class MediatorContract(Protocol) -
MediationHubContract(class, line 95)class MediationHubContract(Protocol) -
resolve(function, line 103)def resolve(domain) -
is_known(method, line 23)def is_known(cls, domain) -
read(method, line 44)def read(self, limit) -
complete(method, line 60)def complete(self, prompt, max_tokens, task_id) -
has_members(method, line 78)def has_members(self) -
describe(method, line 89)def describe(self) -
mediator_for(method, line 98)def mediator_for(self, domain)
-
- Depends on:
modules/mediation/hub.py - Imported by:
modules/mediation/__init__.py,modules/mediation/hub.py
- Doc: Specialised mediator for step-ordering feedback coordination.
- Layer: utility
- Language: py
- Symbols:
-
FeedbackMediator(class, line 13)class FeedbackMediator -
describe(method, line 18)def describe(self) -
order_steps(method, line 22)def order_steps(self, steps, stack)
-
- Depends on:
modules/lazy_orchestrator_feedback.py - Imported by:
modules/mediation/__init__.py,modules/mediation/hub.py
- Doc: Thin routing hub for specialised mediators.
- Layer: utility
- Language: py
- Symbols:
-
MediationHub(class, line 19)class MediationHub -
_build_default(function, line 55)def _build_default() -
default_hub(function, line 73)def default_hub() -
get_hub(function, line 78)def get_hub() -
__init__(method, line 22)def __init__(self) -
register(method, line 26)def register(self, mediator) -
mediator_for(method, line 35)def mediator_for(self, domain) -
snapshot(method, line 46)def snapshot(self)
-
- Depends on:
modules/mediation/chain_mediator.py,modules/mediation/contracts.py,modules/mediation/feedback_mediator.py,modules/mediation/intel_mediator.py,modules/mediation/telemetry_mediator.py - Imported by:
modules/mediation/__init__.py,modules/mediation/contracts.py,tests/test_mediation.py
- Doc: specialised mediator for recon-intel coordination.
- Layer: utility
- Language: py
- Symbols:
-
IntelMediator(class, line 13)class IntelMediator -
__init__(method, line 18)def __init__(self) -
register_activity_log_factory(method, line 22)def register_activity_log_factory(self, factory) -
describe(method, line 32)def describe(self) -
activity_records(method, line 39)def activity_records(self, task_id, limit) -
record_routing_decision(method, line 64)def record_routing_decision(self, task_id, intent_id, command, intent_text, target, stack) -
record_routing_outcome(method, line 97)def record_routing_outcome(self, task_id, intent_id, command, state, facts, findings, stack) -
mask_configured(method, line 133)def mask_configured(self, text) -
stack_signature(method, line 149)def stack_signature(self, assets)
-
- Depends on:
modules/lazy_intel.py,modules/lazy_loop.py - Imported by:
modules/mediation/__init__.py,modules/mediation/hub.py
- Doc: Specialised mediator for loop telemetry coordination.
- Layer: utility
- Language: py
- Symbols:
-
TelemetryMediator(class, line 14)class TelemetryMediator -
describe(method, line 19)def describe(self) -
publish_event(method, line 23)def publish_event(self, task_id, worker, kind, text, severity) -
annotate_detection(method, line 43)def annotate_detection(self, command) -
record_step(method, line 59)def record_step(self, task_id, worker, command, output, detection_prob) -
swan_available(method, line 76)def swan_available(self) -
swan_consult(method, line 85)def swan_consult(self, prompt, task_type, phase, timeout) -
moe_route(method, line 110)def moe_route(self, task_type) -
rl_select(method, line 126)def rl_select(self, task_type, phase, candidates, deterministic) -
moe_record_outcome(method, line 151)def moe_record_outcome(self, expert_id, task_type, reward, detection_prob) -
rl_update(method, line 167)def rl_update(self, task_type, phase, action, reward, candidates, detection_prob)
-
- Depends on:
modules/loop_ai_bridge.py - Imported by:
modules/mediation/__init__.py,modules/mediation/hub.py
Generated offline by readmenator from commit 49386884ba27. Edits here are overwritten by readmenator . --rebuild.
Start
Wiki
- community_0_modules_autonomous_daemon
- community_10_skills_claude_md_orchestrator
- community_11_modules_opsec_scorer
- community_12_modules_kerberos_core
- community_13_modules_saas_attacks
- community_14_modules_polymorphic_engine
- community_15_contrib_legacy
- community_16_tests
- community_17_scripts_journal
- community_18_modules_backdoor
- community_19_poc_tui
- community_1_cli_commands
- community_20_scripts_check_contract_manifest
- community_21_scripts_migrate_lazyown
- community_22_tools
- community_23_orphans
- community_2_cli
- community_3_modules_lazy_loop
- community_4_modules_world_model
- community_5_lazygui_panels
- community_6_lazyc2_security
- community_7_modules_chain_runner
- community_8_modules_llm_budget
- community_9_static_js
- concepts
- queries
- REPORT
Agent Docs
- API
- API_p10
- API_p11
- API_p12
- API_p13
- API_p14
- API_p15
- API_p16
- API_p17
- API_p18
- API_p19
- API_p2
- API_p20
- API_p21
- API_p22
- API_p23
- API_p24
- API_p3
- API_p4
- API_p5
- API_p6
- API_p7
- API_p8
- API_p9
- ARCHITECTURE
- ARCHITECTURE_p2
- ARCHITECTURE_p3
- ARCHITECTURE_p4
- ARCHITECTURE_p5
- ARCHITECTURE_p6
- ARCHITECTURE_p7
- ARCHITECTURE_p8
- ARCHITECTURE_p9
- CONCEPTS
- GOTCHAS
- INDEX
- INDEX_p2
- INDEX_p3
- KB_backdoor
- KB_blueprints
- KB_cgi-bin
- KB_claude_md_orchestrator
- KB_cli
- KB_cli_p2
- KB_cli_p3
- KB_cli_p4
- KB_cli_p5
- KB_commands
- KB_commands_p2
- KB_commands_p3
- KB_commands_p4
- KB_config
- KB_contract
- KB_core
- KB_core_p2
- KB_devtools
- KB_extensions
- KB_guardrails
- KB_hermes-lazyown
- KB_integrations
- KB_js
- KB_js_p2
- KB_js_p3
- KB_js_p4
- KB_lazyc2
- KB_lazygui
- KB_lazyown-docker
- KB_legacy
- KB_legacy_p2
- KB_mediation
- KB_misc
- KB_modules
- KB_modules_p10
- KB_modules_p11
- KB_modules_p12
- KB_modules_p13
- KB_modules_p14
- KB_modules_p15
- KB_modules_p16
- KB_modules_p2
- KB_modules_p3
- KB_modules_p4
- KB_modules_p5
- KB_modules_p6
- KB_modules_p7
- KB_modules_p8
- KB_modules_p9
- KB_modules_tools
- KB_palettes
- KB_panels
- KB_plugins
- KB_poc_tui
- KB_root
- KB_root_p2
- KB_rootkit
- KB_scripts
- KB_security
- KB_services
- KB_sinks
- KB_skills
- KB_skills_claude_md_orchestrator_tests
- KB_skills_p2
- KB_skills_p3
- KB_skills_p4
- KB_skills_p5
- KB_skills_tests
- KB_tests
- KB_tests_p10
- KB_tests_p11
- KB_tests_p12
- KB_tests_p13
- KB_tests_p14
- KB_tests_p15
- KB_tests_p16
- KB_tests_p17
- KB_tests_p18
- KB_tests_p19
- KB_tests_p2
- KB_tests_p20
- KB_tests_p3
- KB_tests_p4
- KB_tests_p5
- KB_tests_p6
- KB_tests_p7
- KB_tests_p8
- KB_tests_p9
- KB_theme
- KB_tools
- KB_widgets
- KB_win_rootkit
- KB_windows
- MEMORY
- SECURITY
- SYMBOLS
- SYMBOLS_p10
- SYMBOLS_p11
- SYMBOLS_p12
- SYMBOLS_p13
- SYMBOLS_p14
- SYMBOLS_p15
- SYMBOLS_p16
- SYMBOLS_p17
- SYMBOLS_p18
- SYMBOLS_p19
- SYMBOLS_p2
- SYMBOLS_p20
- SYMBOLS_p21
- SYMBOLS_p22
- SYMBOLS_p23
- SYMBOLS_p24
- SYMBOLS_p25
- SYMBOLS_p26
- SYMBOLS_p27
- SYMBOLS_p28
- SYMBOLS_p29
- SYMBOLS_p3
- SYMBOLS_p30
- SYMBOLS_p31
- SYMBOLS_p32
- SYMBOLS_p33
- SYMBOLS_p34
- SYMBOLS_p35
- SYMBOLS_p36
- SYMBOLS_p37
- SYMBOLS_p38
- SYMBOLS_p39
- SYMBOLS_p4
- SYMBOLS_p40
- SYMBOLS_p41
- SYMBOLS_p42
- SYMBOLS_p43
- SYMBOLS_p44
- SYMBOLS_p45
- SYMBOLS_p5
- SYMBOLS_p6
- SYMBOLS_p7
- SYMBOLS_p8
- SYMBOLS_p9
Recipes