Repository navigation
Agent API_p18
Previous: API_p17.md
-
generate_lateral_command(function)plugins/generate_lateral_command.lua:4
-
generate_linux_asm_reverse_shell(function)plugins/generate_linux_asm_reverse_shell.lua:1 -
all(function)plugins/generate_linux_asm_reverse_shell.lua:121
-
generate_linux_raw_shellcode(function)plugins/generate_linux_raw_shellcode.lua:1
-
write_file(function)plugins/generate_lolbird.lua:4 -
read_file(function)plugins/generate_lolbird.lua:12 -
xor_hex_string(function)plugins/generate_lolbird.lua:21 -
xor_string(function)plugins/generate_lolbird.lua:31 -
generate_lolbird_ps1(function)plugins/generate_lolbird.lua:44 -
Xor(function)plugins/generate_lolbird.lua:64
-
execute_command_to_file(function)plugins/generate_msfvenom_loader.lua:2 -
read_file(function)plugins/generate_msfvenom_loader.lua:7 -
hex_to_nasm(function)plugins/generate_msfvenom_loader.lua:18 -
generate_loader(function)plugins/generate_msfvenom_loader.lua:49 -
generate_msfvenom_loader(function)plugins/generate_msfvenom_loader.lua:104
-
generate_msfvenom_loader_windows(function)plugins/generate_msfvenom_loader_windows.lua:2
-
generate_reverse_shell(function)plugins/generate_reverse_shell.lua:1
-
write_file(function)plugins/generate_stub.lua:4 -
read_file(function)plugins/generate_stub.lua:12 -
xor_data(function)plugins/generate_stub.lua:21 -
xor_string(function)plugins/generate_stub.lua:30 -
generate_stub_ps1(function)plugins/generate_stub.lua:43
-
load_plugin(function)plugins/init_plugins.lua:6
-
kerberos_harvest(function)plugins/kerberos_harvest.lua:1
-
write_file(function)plugins/lolbas_certutil_download_exec.lua:5 -
read_file(function)plugins/lolbas_certutil_download_exec.lua:13 -
xor_data(function)plugins/lolbas_certutil_download_exec.lua:21
-
run_msfvenom(function)plugins/lolbas_certutil_exe.lua:2
-
write_file(function)plugins/lolbas_wmic_xsl_execution.lua:4
-
parse_nmap_with_xmlstarlet(function)plugins/parse_nmap_with_xmlstarlet.lua:1
-
run_nuclei_on_nmap_files(function)plugins/run_nuclei_on_nmap_files.lua:1
-
run_python_rev_c2(function)plugins/run_python_rev_c2.lua:2
-
write_file(function)plugins/rundll32_sct_from_url.lua:4 -
read_file(function)plugins/rundll32_sct_from_url.lua:12 -
base64_encode(function)plugins/rundll32_sct_from_url.lua:22 -
generate_sct(function)plugins/rundll32_sct_from_url.lua:58
-
hex_to_bytes(function)plugins/validate_shellcode.lua:2 -
esc_hex_to_bytes(function)plugins/validate_shellcode.lua:21 -
hex_list_to_byte_values(function)plugins/validate_shellcode.lua:65 -
validate_shellcode(function)plugins/validate_shellcode.lua:81
-
visualize_network(function)plugins/visualize_network.lua:1
Depends on: cli/commands/containers.py, lazyown.py
Imported by: poc_tui/__main__.py, poc_tui/run.py, poc_tui/test_app.py
-
ShellBackend.__init__(method)poc_tui/app.py:47def __init__(self, base_dir) -
ShellBackend.import_shell_class(method)poc_tui/app.py:53def import_shell_class(self)-- Import LazyOwnShell in the main thread (required for signal handlers). -
ShellBackend.start(method)poc_tui/app.py:71def start(self)-- Instantiate LazyOwnShell (must be called from main thread). -
ShellBackend.run(method)poc_tui/app.py:83def run(self, cmd)-- Execute a command and return its captured output. -
ShellBackend.get_commands(method)poc_tui/app.py:106def get_commands(self)-- Return {command_name: help_text} from the live shell. -
ShellBackend.get_aliases(method)poc_tui/app.py:119def get_aliases(self) -
ShellBackend.stop(method)poc_tui/app.py:124def stop(self) -
DashboardPanel.__init__(method)poc_tui/app.py:140def __init__(self, base_dir) -
DashboardPanel.compose(method)poc_tui/app.py:144def compose(self) -
DashboardPanel.refresh_data(method)poc_tui/app.py:165def refresh_data(self, backend, cmd_count)-- Pull latest state from the LIVE shell params (not stale disk file). -
PluginBrowser.__init__(method)poc_tui/app.py:198def __init__(self) -
PluginBrowser.compose(method)poc_tui/app.py:201def compose(self) -
PluginBrowser.update_commands(method)poc_tui/app.py:207def update_commands(self, commands) -
OutputPanel.__init__(method)poc_tui/app.py:248def __init__(self) -
OutputPanel.compose(method)poc_tui/app.py:252def compose(self) -
OutputPanel.write_renderable(method)poc_tui/app.py:258def write_renderable(self, renderable)-- Write a Rich renderable (no markup parsing applied). -
OutputPanel.write_markup(method)poc_tui/app.py:263def write_markup(self, text)-- Write a trusted internal string with Rich markup. -
OutputPanel.append_command(method)poc_tui/app.py:268def append_command(self, cmd) -
OutputPanel.append_result(method)poc_tui/app.py:273def append_result(self, text, success)-- Write real shell output, converting ANSI — never markup-parsed. -
OutputPanel.append_error(method)poc_tui/app.py:283def append_error(self, text)-- Write a TUI-side error message (plain, no markup from unsafe text). -
OutputPanel.append_system(method)poc_tui/app.py:287def append_system(self, text)-- Write a TUI-side status message. -
LazyOwnTUI.__init__(method)poc_tui/app.py:394def __init__(self, base_dir) -
LazyOwnTUI.compose(method)poc_tui/app.py:405def compose(self) -
LazyOwnTUI.on_mount(method)poc_tui/app.py:418def on_mount(self)-- Start the real cmd2 shell backend. -
LazyOwnTUI.execute_command(method)poc_tui/app.py:470def execute_command(self, cmd_str)-- Send command to real cmd2 shell, display captured output. -
LazyOwnTUI.action_clear_output(method)poc_tui/app.py:539def action_clear_output(self) -
LazyOwnTUI.action_tab_complete(method)poc_tui/app.py:544def action_tab_complete(self) -
LazyOwnTUI.action_toggle_sidebar(method)poc_tui/app.py:549def action_toggle_sidebar(self) -
LazyOwnTUI.action_refresh_dashboard(method)poc_tui/app.py:555def action_refresh_dashboard(self) -
LazyOwnTUI.action_quit(method)poc_tui/app.py:561def action_quit(self)-- Clean shutdown: drop the queue, stop the shell, exit the app. -
LazyOwnTUI.on_command_submitted(method)poc_tui/app.py:577def on_command_submitted(self, event) -
LazyOwnTUI.on_key(method)poc_tui/app.py:586def on_key(self, event) -
main(function)poc_tui/app.py:629def main()
Imported by: poc_tui/plugin_loader.py
-
PayloadConfig.reload(method)poc_tui/config.py:21def reload(self)-- Re-read payload.json from disk. -
PayloadConfig.save(method)poc_tui/config.py:28def save(self)-- Persist current state back to payload.json. -
PayloadConfig.get(method)poc_tui/config.py:35def get(self, key, default) -
PayloadConfig.set(method)poc_tui/config.py:38def set(self, key, value) -
PayloadConfig.keys(method)poc_tui/config.py:41def keys(self) -
PayloadConfig.items(method)poc_tui/config.py:44def items(self)
Depends on: poc_tui/config.py
-
PluginLoader.__init__(method)poc_tui/plugin_loader.py:91def __init__(self, config, base_dir) -
wrapper(function)poc_tui/plugin_loader.py:117def wrapper(arg) -
PluginLoader.load_all(method)poc_tui/plugin_loader.py:139def load_all(self)-- Load yaml addons, lua plugins, and .tool files. -
wrapper(function)poc_tui/plugin_loader.py:172def wrapper(arg) -
wrapper(function)poc_tui/plugin_loader.py:269def wrapper(arg) -
_LuaAppProxy.__init__(method)poc_tui/plugin_loader.py:294def __init__(self, config) -
_LuaAppProxy.params(method)poc_tui/plugin_loader.py:298def params(self) -
_LuaAppProxy.one_cmd(method)poc_tui/plugin_loader.py:301def one_cmd(self, cmd)
Depends on: poc_tui/app.py
-
main(function)poc_tui/run.py:9def main()
-
normalize_trailing_newline(function)readmeneitor.py:74def normalize_trailing_newline(output_path)-- Collapse a generated file tail to exactly one newline. -
load_command_index(function)readmeneitor.py:83def load_command_index(index_path)-- Load and parse the command index JSON file. -
build_command_map(function)readmeneitor.py:104def build_command_map(index_data)-- Build a lookup dict from command name to its metadata. -
extract_docstrings_from_file(function)readmeneitor.py:132def extract_docstrings_from_file(filepath)-- Parse a single Python file with AST and extract docstrings ofdo_*methods. -
extract_docstrings_from_dir(function)readmeneitor.py:161def extract_docstrings_from_dir(dirpath)-- Recursively scan a directory for Python files and extract alldo_*docstrings. -
group_commands_by_phase(function)readmeneitor.py:187def group_commands_by_phase(cmd_map)-- Group command names by their kill-chain phase. -
extract_functions_from_file(function)readmeneitor.py:209def extract_functions_from_file(filepath)-- Parse a Python file with AST and extract docstrings of public functions. -
write_utils_md(function)readmeneitor.py:241def write_utils_md(functions, output_path)-- Generate UTILS.md with a helper-function reference for[utils.py](https://github.com/grisuno/LazyOwn/blob/215eaf417d4692050512f90dd0b30b8d09a24c96/utils.py). -
write_commands_md(function)readmeneitor.py:276def write_commands_md(cmd_map, docstrings, groups, output_path)-- Generate COMMANDS.md with a table of contents and per-phase command reference. -
convert_to_html(function)readmeneitor.py:343def convert_to_html(md_path, html_path)-- Convert the generated Markdown file to HTML using pandoc. -
main(function)readmeneitor.py:379def main()-- Entry point: scan sources, load metadata, and generate reference docs.
-
banner(function)run_topoexploit_agent.sh:29 -
start_api(function)run_topoexploit_agent.sh:38
-
find_migrated_sets(function)scripts/activate_migrations.py:32def find_migrated_sets()-- Return paths to all *_migrated.py files using PendingCommandSet. -
extract_command_names(function)scripts/activate_migrations.py:42def extract_command_names(migrated_path)-- Extract do_* method names from a migrated CommandSet file. -
find_in_lazyown(function)scripts/activate_migrations.py:52def find_in_lazyown(command_names)-- Return {name: (start_line, end_line)} for commands in lazyown.py. -
remove_from_lazyown(function)scripts/activate_migrations.py:62def remove_from_lazyown(locations, dry_run)-- Remove the specified do_* methods from lazyown.py. -
activate_migrated_file(function)scripts/activate_migrations.py:75def activate_migrated_file(migrated_path, dry_run)-- Change PendingCommandSet to LazyOwnCommandSet in the migrated file. -
main(function)scripts/activate_migrations.py:88def main()
-
classify_os(function)scripts/backfill_addon_os_trigger.py:104def classify_os(filename)-- Return a MITRE-platform string for the addon based on filename. -
known_trigger(function)scripts/backfill_addon_os_trigger.py:121def known_trigger(name)-- Return the curated trigger tuple for an addon, or(). -
render_trigger(function)scripts/backfill_addon_os_trigger.py:127def render_trigger(trigger)-- Render the trigger field as inline YAML matching the project style. -
patch(function)scripts/backfill_addon_os_trigger.py:141def patch(path)-- Return the new file content withosandtriggerinserted. -
main(function)scripts/backfill_addon_os_trigger.py:175def main()-- Walk every addon and rewrite files that need backfilling.
Imported by: tests/test_contract_manifest.py
-
check_manifest(function)scripts/check_contract_manifest.py:176def check_manifest(config)-- Return the list of documented contracts that are missing on disk. -
main(function)scripts/check_contract_manifest.py:229def main(argv)-- Run the manifest check and return the process exit code.
Depends on: lazyown.py
-
argparser_commands(function)scripts/devtools/command_audit.py:40def argparser_commands(config)-- Return the command names decorated with@with_argparser. -
audit(function)scripts/devtools/command_audit.py:65def audit(config)-- Run the dispatch and parser audit. -
main(function)scripts/devtools/command_audit.py:105def main(argv)-- Run the audit and return the process exit code.
Depends on: core/hardening.py, core/payload_schema.py, modules/db.py, modules/killchain.py, modules/payload_factory.py
-
check_surfaces(function)scripts/devtools/core_smoke.py:64def check_surfaces(config)-- Return the dotted names that are missing from the imported modules. -
check_calls(function)scripts/devtools/core_smoke.py:81def check_calls()-- Exercise a small safe subset of the public API. -
main(function)scripts/devtools/core_smoke.py:118def main()-- Run the smoke check and return the process exit code.
-
parse_requirement(function)scripts/generate_sbom.py:25def parse_requirement(line)-- Split one requirements line into (name, pinned_version|None). -
collect_components(function)scripts/generate_sbom.py:37def collect_components(with_ml)-- Parse requirements files into CycloneDX components, deduplicated. -
project_version(function)scripts/generate_sbom.py:68def project_version()-- Read the package version from pyproject.toml. -
build_sbom(function)scripts/generate_sbom.py:74def build_sbom(with_ml)-- Assemble the CycloneDX document. -
main(function)scripts/generate_sbom.py:92def main()-- CLI entry point.
Imported by: scripts/read_journal.py, tests/test_journal.py
-
JournalConfig.from_git_remote(method)scripts/journal.py:71def from_git_remote(cls, remote, category)-- Build a config from theoriginremote of the current checkout. -
Journal.repo_id(method)scripts/journal.py:184def repo_id(self)-- The GraphQL node id of the repository. -
Journal.category_id(method)scripts/journal.py:192def category_id(self)-- The GraphQL node id of the journal category. -
Journal.post(method)scripts/journal.py:206def post(self, title, body)-- Create a journal entry and return its number, url, and title. -
Journal.entries(method)scripts/journal.py:223def entries(self, limit)-- Return the most recently updated journal entries. -
main(function)scripts/journal.py:264def main(argv)-- Run the journal CLI and return the process exit code.
-
healthy(function)scripts/lazy_llamacpp_serve.sh:33
-
ask(function)scripts/lazy_llamacpp_setup.sh:40
Imported by: skills/lazyown_mcp.py
-
patch_opencode(function)scripts/lazy_opencode_config.py:46def patch_opencode(set_default, host)-- Merge the llamacpp provider into the opencode config. -
patch_hermes(function)scripts/lazy_opencode_config.py:93def patch_hermes(host)-- Point the hermes config at the local llama.cpp server. -
main(function)scripts/lazy_opencode_config.py:150def main(argv)-- CLI entry:--target opencode|hermes|both [--set-default].
-
_ToolAnswer.__init__(method)scripts/mcp_call.py:46def __init__(self, text, is_error) -
main(function)scripts/mcp_call.py:173def main(argv)-- Parse the CLI, execute one MCP tool and print its answer.
-
merge_phase(function)scripts/migrate_commandsets.py:117def merge_phase(phase, dry_run)-- Merge one phase's migrated methods into its clean file. -
main(function)scripts/migrate_commandsets.py:158def main()
Imported by: tests/test_migrate_lazyown_generator.py
-
extract_method(function)scripts/migrate_lazyown.py:88def extract_method(source, node)-- Return the raw source text of a function definition. -
rewrite_globals(function)scripts/migrate_lazyown.py:96def rewrite_globals(method_source)-- Replace bare module-global names withself.params[...]. -
build_migrated_module(function)scripts/migrate_lazyown.py:124def build_migrated_module(phase, category, methods)-- Return the source text of a migratedCommandSetmodule. -
main(function)scripts/migrate_lazyown.py:173def main()
-
runners(function)scripts/mutate.sh:29 -
changed_sources(function)scripts/mutate.sh:33 -
usage(function)scripts/mutate.sh:40
-
discover_runners(function)scripts/mutation_gate.py:25def discover_runners()-- Return sorted curated mutation runners. -
run_runner(function)scripts/mutation_gate.py:34def run_runner(path, timeout_s)-- Execute one mutation runner. -
main(function)scripts/mutation_gate.py:63def main(argv)-- Entry point for the mutation gate.
-
log(function)scripts/publish_wiki.sh:37 -
fail(function)scripts/publish_wiki.sh:38 -
write_home(function)scripts/publish_wiki.sh:58 -
write_installation(function)scripts/publish_wiki.sh:92 -
write_c2_api(function)scripts/publish_wiki.sh:150 -
write_plugins(function)scripts/publish_wiki.sh:174 -
write_sidebar(function)scripts/publish_wiki.sh:188 -
write_footer(function)scripts/publish_wiki.sh:207
Depends on: scripts/journal.py
-
main(function)scripts/read_journal.py:29def main(argv)-- Print the recent journal entries and return the process exit code.
-
check(function)scripts/smoke_onboarding.sh:8
-
canonical_command_count(function)scripts/sync_doc_stats.py:87def canonical_command_count(root)-- Read the canonical command count from the committed command index. -
project_version(function)scripts/sync_doc_stats.py:100def project_version(root)-- Read the package version from pyproject.toml,0.0.0when absent. -
measure_stats(function)scripts/sync_doc_stats.py:109def measure_stats(root)-- Measure every published count from the live tree. -
render(function)scripts/sync_doc_stats.py:136def render(template, stats)-- Format one replacement template with the measured stats. -
sync(function)scripts/sync_doc_stats.py:141def sync(check, stats, root)-- Apply or verify every replacement; return the list of stale spots. -
main(function)scripts/sync_doc_stats.py:165def main()-- CLI entry point.
-
fail(function)scripts/top_tier_check.py:23def fail(message) -
ok(function)scripts/top_tier_check.py:28def ok(message) -
count_cli_commands(function)scripts/top_tier_check.py:32def count_cli_commands() -
count_mcp_tools(function)scripts/top_tier_check.py:43def count_mcp_tools() -
count_addons(function)scripts/top_tier_check.py:48def count_addons() -
check_versions(function)scripts/top_tier_check.py:52def check_versions() -
check_doc_counts(function)scripts/top_tier_check.py:70def check_doc_counts(commands, mcp, addons) -
check_tracked_secrets(function)scripts/top_tier_check.py:81def check_tracked_secrets() -
check_release_inputs(function)scripts/top_tier_check.py:108def check_release_inputs() -
main(function)scripts/top_tier_check.py:116def main()
-
build_technique_index(function)scripts/update_apt_atomic_ids.py:22def build_technique_index(atomics_path)-- Map technique_id -> list of {atomic_id, name, description}. -
update_playbooks(function)scripts/update_apt_atomic_ids.py:46def update_playbooks(index, playbook_dir)
-
pass(function)scripts/validate_agent_contract.sh:23 -
fail(function)scripts/validate_agent_contract.sh:27 -
check(function)scripts/validate_agent_contract.sh:32 -
check_no_hardcoded_passwords(function)scripts/validate_agent_contract.sh:59-- -- No hardcoded credentials outside payload.json --- Pentest help-text, doc placeholders (<...>), template vars ({{... -
check_no_hardcoded_wordlists(function)scripts/validate_agent_contract.sh:74-- -- No hardcoded wordlist paths outside payload.json --- Help-text examples, docstrings and filesystem hints are...
Depends on: core/logging.py, modules/logging_config.py
Imported by: skills/lazyown_mcp.py, tests/test_aci_planner.py
-
AttackPhase.to_dict(method)skills/aci_planner.py:171def to_dict(self)-- Serialize to dict for JSON persistence. -
AttackPhase.from_dict(method)skills/aci_planner.py:176def from_dict(cls, d)-- Deserialize from dict. -
ACIPlan.active_phase(method)skills/aci_planner.py:199def active_phase(self)-- Return the first phase that is active or pending. -
ACIPlan.completion_pct(method)skills/aci_planner.py:207def completion_pct(self)-- Percentage of phases that are done or skipped. -
ACIPlan.to_dict(method)skills/aci_planner.py:214def to_dict(self)-- Serialize to dict for JSON persistence. -
ACIPlan.from_dict(method)skills/aci_planner.py:221def from_dict(cls, d)-- Deserialize from dict. -
ACIPlanner.__init__(method)skills/aci_planner.py:461def __init__(self, api_key, objectives_file, plan_file) -
ACIPlanner.plan(method)skills/aci_planner.py:471def plan(self, goal, phase_filter)-- Decompose goal into an ACIPlan, inject objectives, persist. -
ACIEngine.__init__(method)skills/aci_planner.py:604def __init__(self, api_key, plan_file, objectives_file, history_file, replan_threshold) -
ACIEngine.status(method)skills/aci_planner.py:618def status(self)-- Return a structured status dict for the active plan. -
ACIEngine.should_replan(method)skills/aci_planner.py:658def should_replan(self, plan)-- Return True when the plan is stalled and a replan is warranted. -
ACIEngine.replan(method)skills/aci_planner.py:671def replan(self, reason)-- Generate a new set of objectives for blocked/remaining phases. -
ACIEngine.complete(method)skills/aci_planner.py:741def complete(self)-- Mark the active plan as completed and archive it. -
ACIReflector.__init__(method)skills/aci_planner.py:797def __init__(self, lessons_file) -
ACIReflector.reflect(method)skills/aci_planner.py:800def reflect(self, plan)-- Analyse plan and generate lessons. -
mcp_aci_plan(function)skills/aci_planner.py:865def mcp_aci_plan(goal, target, scope, domain, os_hint, phase_filter)-- Plan an engagement goal and return a JSON summary. -
mcp_aci_status(function)skills/aci_planner.py:923def mcp_aci_status()-- Return live status of the active ACI plan as JSON. -
mcp_aci_replan(function)skills/aci_planner.py:940def mcp_aci_replan(reason)-- Force adaptive replanning of the active ACI plan. -
main(function)skills/aci_planner.py:1003def main(argv)-- Entry point for CLI usage.
Depends on: core/logging.py, modules/asset_graph.py, modules/db.py, modules/detection_oracle.py, modules/enrich.py, modules/event_consumers.py, modules/evidence.py, modules/finding_lifecycle.py, modules/goals.py, modules/intercept.py, modules/killchain.py, modules/llm_pool.py, modules/logging_config.py, modules/metrics.py, modules/notify.py, modules/obs_parser.py, modules/pipeline_engine.py, modules/planner.py, modules/reactive_engine.py, modules/rl_trainer.py, modules/toolset.py, modules/traffic_recorder.py, skills/daemon_control.py, skills/lazyown_llm.py, skills/lazyown_mcp.py, skills/lazyown_mcp_helpers.py, skills/lazyown_objective.py, skills/lazyown_policy.py, skills/swan_agent.py
Imported by: cli/commands/database.py, cli/commands/session_ops.py, modules/pipeline_engine.py, skills/autonomous_replay.py, skills/lazyown_mcp.py, skills/tests/test_autonomous_daemon.py, skills/unified_orchestrator.py, tests/test_autonomous_replay.py, tests/test_daemon_loop.py, tests/test_engage_gates.py, tests/test_engage_orchestrator.py, tests/test_metrics_aware_selector.py, tests/test_moe_rl_swan.py, tests/test_pipeline_engine.py, tests/test_scope_bound_auto_gate.py
-
compute_decision_seed(function)skills/autonomous_daemon.py:394def compute_decision_seed(objective_id, step_n, source)-- Return a deterministic identifier for a daemon decision. -
ICommandRunner.run(method)skills/autonomous_daemon.py:426def run(self, command, timeout)-- Execute command within timeout seconds. -
ICommandRunner.name(method)skills/autonomous_daemon.py:431def name(self)-- Human-readable identifier for this runner. -
MCPCommandRunner.name(method)skills/autonomous_daemon.py:482def name(self) -
MCPCommandRunner.run(method)skills/autonomous_daemon.py:485def run(self, command, timeout)-- Try to import and call the MCP runner. -
PTYCommandRunner.name(method)skills/autonomous_daemon.py:502def name(self) -
PTYCommandRunner.run(method)skills/autonomous_daemon.py:505def run(self, command, timeout)-- Execute command via PTY. -
CommandRunnerChain.__init__(method)skills/autonomous_daemon.py:592def __init__(self, runners) -
CommandRunnerChain.name(method)skills/autonomous_daemon.py:598def name(self) -
CommandRunnerChain.run(method)skills/autonomous_daemon.py:601def run(self, command, timeout)-- Try each runner in sequence. -
ICommandSelector.select(method)skills/autonomous_daemon.py:689def select(self, target, phase, context)-- Return a CommandDecision or None if this selector has no suggestion. -
ReactiveSelector.__init__(method)skills/autonomous_daemon.py:704def __init__(self, reactive_engine) -
ReactiveSelector.register_output(method)skills/autonomous_daemon.py:708def register_output(self, output, command, platform)-- Feed reactive engine with last command output to generate new decisions. -
ReactiveSelector.select(method)skills/autonomous_daemon.py:735def select(self, target, phase, context)-- Pop and return the pending reactive decision if present. -
ParquetSelector.__init__(method)skills/autonomous_daemon.py:750def __init__(self, pdb, fail_counts) -
ParquetSelector.select(method)skills/autonomous_daemon.py:754def select(self, target, phase, context)-- Return the most-frequent successful command for this phase. -
BridgeSelector.__init__(method)skills/autonomous_daemon.py:796def __init__(self, dispatcher, fail_counts) -
BridgeSelector.select(method)skills/autonomous_daemon.py:800def select(self, target, phase, context)-- Return a bridge catalog suggestion for this phase. -
LLMSelector.select(method)skills/autonomous_daemon.py:866def select(self, target, phase, context)-- Return an LLM-suggested command with catalog context, or None if disabled. -
SWANSelector.select(method)skills/autonomous_daemon.py:988def select(self, target, phase, context)-- Ask the best MoE expert for a command recommendation. -
FallbackSelector.select(method)skills/autonomous_daemon.py:1034def select(self, target, phase, context)-- Return the static fallback command for this phase. -
MetricsAwareSelector.__init__(method)skills/autonomous_daemon.py:1071def __init__(self, wrapped, metrics_source, min_success_rate, min_attempts, window_seconds, cache_ttl_s, clock)-- Initialise the decorator. -
MetricsAwareSelector.wrapped(method)skills/autonomous_daemon.py:1117def wrapped(self)-- Return the underlying selector for introspection in tests. -
MetricsAwareSelector.select(method)skills/autonomous_daemon.py:1203def select(self, target, phase, context)-- Honour the :class:ICommandSelectorcontract. -
CredentialSpraySelector.__init__(method)skills/autonomous_daemon.py:1304def __init__(self, fail_counts) -
CredentialSpraySelector.select(method)skills/autonomous_daemon.py:1308def select(self, target, phase, context)-- Return a spray command when credentials + matching service are available. -
CascadeStrategy.__init__(method)skills/autonomous_daemon.py:1344def __init__(self, selectors) -
CascadeStrategy.next_command(method)skills/autonomous_daemon.py:1347def next_command(self, target, phase, context)-- Try each selector in order. -
StrategyEngine.__init__(method)skills/autonomous_daemon.py:1382def __init__(self, runner, selectors) -
StrategyEngine.register_output(method)skills/autonomous_daemon.py:1409def register_output(self, output, command, platform, success)-- Feed the reactive selector with the last command output. -
StrategyEngine.next_command(method)skills/autonomous_daemon.py:1423def next_command(self, target, phase, services, os_hint)-- Select the next command for target/phase using the cascade. -
IObjectiveHandler.handle(method)skills/autonomous_daemon.py:1457def handle(self, objective_id, objective_text, target, context)-- Execute objective and return a list of step results. -
ExecutionEngine.__init__(method)skills/autonomous_daemon.py:1479def __init__(self, strategy, max_steps, world_model, obs_parser, facts, loop) -
ExecutionEngine.handle(method)skills/autonomous_daemon.py:1495def handle(self, objective_id, objective_text, target, context)-- Synchronous entry point. -
ExecutionEngine.run_async(method)skills/autonomous_daemon.py:1505def run_async(self, objective_id, objective_text, target)-- Asyncio entry point used by objective_loop. -
DroneCoordinator.__init__(method)skills/autonomous_daemon.py:2814def __init__(self) -
DroneCoordinator.process_findings(method)skills/autonomous_daemon.py:2819def process_findings(self, findings, target, objective_id, payload_key)-- Launch drones for relevant findings. -
EnginePhaseResult.did_switch(method)skills/autonomous_daemon.py:3120def did_switch(self)-- True when the orchestrator used a fallback tool. -
IToolFallbackResolver.next_tool(method)skills/autonomous_daemon.py:3129def next_tool(self, failed_command, phase, attempt)-- Return the next candidate command or None when exhausted. -
StaticFallbackResolver.next_tool(method)skills/autonomous_daemon.py:3146def next_tool(self, failed_command, phase, attempt) -
BridgeFallbackResolver.__init__(method)skills/autonomous_daemon.py:3168def __init__(self, dispatcher) -
BridgeFallbackResolver.next_tool(method)skills/autonomous_daemon.py:3193def next_tool(self, failed_command, phase, attempt) -
_ShellDetector.__init__(method)skills/autonomous_daemon.py:3220def __init__(self, narrator) -
_ShellDetector.poll(method)skills/autonomous_daemon.py:3225def poll(self, target)-- Return the newly-detected client_ids since the previous poll. -
_ShellDetector.detect_in_output(method)skills/autonomous_daemon.py:3266def detect_in_output(self, output, target)-- Return True when a shell/root-shell signal appears in command output. -
EngageOrchestrator.__init__(method)skills/autonomous_daemon.py:3312def __init__(self, target, runner, narrator, approval_gate, fallback_resolver, shell_detector, plan... -
EngageOrchestrator.engagement_id(method)skills/autonomous_daemon.py:3357def engagement_id(self)-- Stable id for this engagement (correlates events in logs). -
EngageOrchestrator.run(method)skills/autonomous_daemon.py:3361def run(self)-- Drive the full plan against the configured target. -
mcp_engage_target(function)skills/autonomous_daemon.py:4005def mcp_engage_target(target, max_switches_per_step, detach, auto)-- Public MCP / CLI entry point for the engage verb. -
mcp_engage_status(function)skills/autonomous_daemon.py:4095def mcp_engage_status(last_n)-- Return the last N lines of sessions/engagement.log plus pending approvals. -
mcp_engage_approve(function)skills/autonomous_daemon.py:4121def mcp_engage_approve(approval_id, decision, operator)-- Resolve a pending approval. decision must be 'approved' or 'denied'. -
mcp_engage_list_pending(function)skills/autonomous_daemon.py:4146def mcp_engage_list_pending()-- List every pending approval awaiting an operator decision. -
cmd_engage(function)skills/autonomous_daemon.py:4164def cmd_engage(target, max_switches_per_step, detach)-- CLI helper bound to theengage <ip>daemon subcommand. -
objective_loop(function)skills/autonomous_daemon.py:4203def objective_loop(max_steps, loop)-- Root autonomous loop: takes pending objectives from objectives.jsonl and executes them without waiting for Claude... -
world_model_watcher(function)skills/autonomous_daemon.py:4346def world_model_watcher(loop)-- Watch world_model.json. -
heartbeat_loop(function)skills/autonomous_daemon.py:4537def heartbeat_loop()-- Emit heartbeat and write status every HEARTBEAT_S seconds. -
cmd_run(function)skills/autonomous_daemon.py:4664def cmd_run(max_steps)-- Run daemon in foreground (debug mode). -
cmd_start(function)skills/autonomous_daemon.py:4673def cmd_start(max_steps)-- Fork, detach, and run daemon in background. -
cmd_stop(function)skills/autonomous_daemon.py:4703def cmd_stop()-- Send SIGTERM to the running daemon. -
cmd_status(function)skills/autonomous_daemon.py:4720def cmd_status()-- Print current daemon status to stdout. -
cmd_inject(function)skills/autonomous_daemon.py:4736def cmd_inject(text, priority)-- Inject an objective from the CLI, split into verifiable sub-goals. -
mcp_autonomous_start(function)skills/autonomous_daemon.py:4770def mcp_autonomous_start(max_steps, backend)-- Start the autonomous daemon in a background thread (for MCP calls). -
mcp_autonomous_stop(function)skills/autonomous_daemon.py:4812def mcp_autonomous_stop()-- Stop the autonomous daemon. -
mcp_autonomous_status(function)skills/autonomous_daemon.py:4828def mcp_autonomous_status()-- Current daemon state: objectives, steps, drones, phase. -
mcp_autonomous_inject(function)skills/autonomous_daemon.py:4841def mcp_autonomous_inject(text, priority, target)-- Inject an objective into the daemon queue and into sessions/tasks.json. -
mcp_autonomous_events(function)skills/autonomous_daemon.py:4885def mcp_autonomous_events(last_n)-- Read the last N events from autonomous_events.jsonl.
Depends on: core/logging.py, skills/autonomous_daemon.py
Imported by: skills/lazyown_mcp.py, tests/test_autonomous_replay.py
-
ReplayReport.to_dict(method)skills/autonomous_replay.py:114def to_dict(self)-- Return the report as a JSON-serialisable dictionary. -
EventLogReader.__init__(method)skills/autonomous_replay.py:136def __init__(self, path)-- Initialise the reader. -
EventLogReader.path(method)skills/autonomous_replay.py:147def path(self)-- Return the source path. -
EventLogReader.read(method)skills/autonomous_replay.py:152def read(self)-- Return every event in the log, oldest first. -
EventLogReader.slice(method)skills/autonomous_replay.py:177def slice(self, events, from_event_id, to_event_id)-- Return the inclusive subrange of events byid. -
ReplayDispatcher.__init__(method)skills/autonomous_replay.py:221def __init__(self, reader, seed_fn)-- Initialise the dispatcher. -
ReplayDispatcher.trace(method)skills/autonomous_replay.py:325def trace(self, from_event_id, to_event_id)-- Replay the recorded decision sequence without executing it. -
ReplayDispatcher.execute(method)skills/autonomous_replay.py:357def execute(self, from_event_id, to_event_id, runner, timeout)-- Replay the recorded sequence and re-run each command. -
replay(function)skills/autonomous_replay.py:473def replay(from_event_id, to_event_id, mode, events_path, runner, timeout)-- Convenience entry point used by the MCP tool layer.
Depends on: skills/claude_md_orchestrator/config.py, skills/claude_md_orchestrator/models.py, skills/claude_md_orchestrator/tdd_agent.py, skills/claude_md_orchestrator/validators.py
-
run(function)skills/claude_md_orchestrator/bdd_agent.py:151def run(contract, spec, suite, config)-- Run the implementation agent for one contract.
Depends on: skills/claude_md_orchestrator/config.py, skills/claude_md_orchestrator/models.py, skills/claude_md_orchestrator/validators.py
-
run(function)skills/claude_md_orchestrator/boy_scout.py:90def run(state, config)-- Run the boy scout pass for one contract. -
write_report(function)skills/claude_md_orchestrator/boy_scout.py:110def write_report(report, config)-- Persist the boy scout proposal to disk.
Depends on: skills/claude_md_orchestrator/config.py, skills/claude_md_orchestrator/models.py
-
run(function)skills/claude_md_orchestrator/cicd_agent.py:177def run(contract, spec, report, config)-- Run the CI and CD agent for one contract.
Imported by: skills/claude_md_orchestrator/__init__.py, skills/claude_md_orchestrator/bdd_agent.py, skills/claude_md_orchestrator/boy_scout.py, skills/claude_md_orchestrator/cicd_agent.py, skills/claude_md_orchestrator/documentation_agent.py, skills/claude_md_orchestrator/orchestrator.py, skills/claude_md_orchestrator/parser.py, skills/claude_md_orchestrator/reviewer_agent.py, skills/claude_md_orchestrator/sdd_agent.py, skills/claude_md_orchestrator/tdd_agent.py
-
Config.ensure(method)skills/claude_md_orchestrator/config.py:112def ensure(self)-- Create the run subdirectories if they do not exist. -
Config.state_path(method)skills/claude_md_orchestrator/config.py:122def state_path(self)-- Return the absolute path of the cycle state file. -
Config.specs_dir(method)skills/claude_md_orchestrator/config.py:126def specs_dir(self)-- Return the absolute path of the spec directory. -
Config.tests_dir(method)skills/claude_md_orchestrator/config.py:130def tests_dir(self)-- Return the absolute path of the test directory. -
Config.src_dir(method)skills/claude_md_orchestrator/config.py:134def src_dir(self)-- Return the absolute path of the implementation directory. -
Config.review_dir(method)skills/claude_md_orchestrator/config.py:138def review_dir(self)-- Return the absolute path of the review directory. -
Config.docs_dir(method)skills/claude_md_orchestrator/config.py:142def docs_dir(self)-- Return the absolute path of the documentation directory. -
Config.logs_dir(method)skills/claude_md_orchestrator/config.py:146def logs_dir(self)-- Return the absolute path of the log directory. -
Config.log_path(method)skills/claude_md_orchestrator/config.py:150def log_path(self)-- Return the absolute path of the JSONL log for the active run. -
load_config(function)skills/claude_md_orchestrator/config.py:155def load_config()-- Build a Config from environment variables and return it. -
resolve_optional(function)skills/claude_md_orchestrator/config.py:164def resolve_optional(config, key)-- Return the environment value for a key or None when missing.
Depends on: skills/claude_md_orchestrator/config.py, skills/claude_md_orchestrator/models.py
-
run(function)skills/claude_md_orchestrator/documentation_agent.py:123def run(contract, spec, report, config)-- Run the documentation agent for one contract.
Depends on: cli/commands/enum.py
Imported by: skills/claude_md_orchestrator/__init__.py, skills/claude_md_orchestrator/bdd_agent.py, skills/claude_md_orchestrator/boy_scout.py, skills/claude_md_orchestrator/cicd_agent.py, skills/claude_md_orchestrator/documentation_agent.py, skills/claude_md_orchestrator/orchestrator.py, skills/claude_md_orchestrator/parser.py, skills/claude_md_orchestrator/reviewer_agent.py, skills/claude_md_orchestrator/sdd_agent.py, skills/claude_md_orchestrator/tdd_agent.py, skills/claude_md_orchestrator/validators.py
-
Contract.to_dict(method)skills/claude_md_orchestrator/models.py:91def to_dict(self)-- Return a JSON friendly view of the contract. -
Contract.from_dict(method)skills/claude_md_orchestrator/models.py:96def from_dict(cls, data)-- Build a Contract from a JSON friendly dictionary. -
SadPath.to_dict(method)skills/claude_md_orchestrator/models.py:120def to_dict(self)-- Return a JSON friendly view of the sad path. -
SadPath.from_dict(method)skills/claude_md_orchestrator/models.py:125def from_dict(cls, data)-- Build a SadPath from a JSON friendly dictionary. -
Spec.to_dict(method)skills/claude_md_orchestrator/models.py:166def to_dict(self)-- Return a JSON friendly view of the spec. -
Spec.from_dict(method)skills/claude_md_orchestrator/models.py:173def from_dict(cls, data)-- Build a Spec from a JSON friendly dictionary. -
Spec.validate(method)skills/claude_md_orchestrator/models.py:189def validate(self, min_sad_paths)-- Return the list of DoD violations the spec carries. -
TestSuite.to_dict(method)skills/claude_md_orchestrator/models.py:236def to_dict(self)-- Return a JSON friendly view of the test suite. -
TestSuite.from_dict(method)skills/claude_md_orchestrator/models.py:243def from_dict(cls, data)-- Build a TestSuite from a JSON friendly dictionary. -
Finding.to_dict(method)skills/claude_md_orchestrator/models.py:270def to_dict(self)-- Return a JSON friendly view of the finding. -
Finding.from_dict(method)skills/claude_md_orchestrator/models.py:280def from_dict(cls, data)-- Build a Finding from a JSON friendly dictionary. -
ReviewReport.blockers(method)skills/claude_md_orchestrator/models.py:315def blockers(self)-- Return the list of blocker findings. -
ReviewReport.to_dict(method)skills/claude_md_orchestrator/models.py:319def to_dict(self)-- Return a JSON friendly view of the report. -
ReviewReport.from_dict(method)skills/claude_md_orchestrator/models.py:333def from_dict(cls, data)-- Build a ReviewReport from a JSON friendly dictionary. -
CicleState.to_dict(method)skills/claude_md_orchestrator/models.py:383def to_dict(self)-- Return a JSON friendly view of the state. -
CicleState.from_dict(method)skills/claude_md_orchestrator/models.py:402def from_dict(cls, data)-- Build a CicleState from a JSON friendly dictionary. -
CicleStateFile.to_dict(method)skills/claude_md_orchestrator/models.py:440def to_dict(self)-- Return a JSON friendly view of the state file. -
CicleStateFile.from_dict(method)skills/claude_md_orchestrator/models.py:450def from_dict(cls, data)-- Build a CicleStateFile from a JSON friendly dictionary. -
CicleStateFile.save(method)skills/claude_md_orchestrator/models.py:459def save(self, path)-- Persist the state to disk as pretty JSON. -
CicleStateFile.load(method)skills/claude_md_orchestrator/models.py:467def load(cls, path)-- Read the state from disk. -
write_jsonl(function)skills/claude_md_orchestrator/models.py:480def write_jsonl(path, event)-- Append a single JSONL event to the log file.
Depends on: skills/claude_md_orchestrator/config.py, skills/claude_md_orchestrator/models.py, skills/claude_md_orchestrator/parser.py
Imported by: skills/claude_md_orchestrator/__init__.py
-
run(function)skills/claude_md_orchestrator/orchestrator.py:275def run(config, options)-- Run the orchestrator for the current run directory. -
summary_to_dict(function)skills/claude_md_orchestrator/orchestrator.py:306def summary_to_dict(summary)-- Return a JSON friendly view of the summary. -
main(function)skills/claude_md_orchestrator/orchestrator.py:393def main(argv)-- Run the orchestrator CLI and return the process exit code.
Depends on: skills/claude_md_orchestrator/config.py, skills/claude_md_orchestrator/models.py
Imported by: pwntomate.py, skills/claude_md_orchestrator/orchestrator.py, static/js/xterm.js, utils.py
-
flush_body(function)skills/claude_md_orchestrator/parser.py:97def flush_body() -
parse_claude_md(function)skills/claude_md_orchestrator/parser.py:167def parse_claude_md(path)-- Parse a CLAUDE.md file and return the list of contracts. -
load_contracts(function)skills/claude_md_orchestrator/parser.py:225def load_contracts(config, seeds)-- Return the contracts the orchestrator should process.
Depends on: skills/claude_md_orchestrator/config.py, skills/claude_md_orchestrator/models.py, skills/claude_md_orchestrator/validators.py
-
run(function)skills/claude_md_orchestrator/reviewer_agent.py:171def run(state, config)-- Run the reviewer for one contract. -
write_report(function)skills/claude_md_orchestrator/reviewer_agent.py:225def write_report(report, config)-- Persist the report as JSON inside the run review directory.
Depends on: modules/llm_factory.py, skills/claude_md_orchestrator/config.py, skills/claude_md_orchestrator/models.py, skills/claude_md_orchestrator/validators.py
-
run(function)skills/claude_md_orchestrator/sdd_agent.py:204def run(contract, config)-- Run the spec agent for one contract.
Depends on: skills/claude_md_orchestrator/config.py, skills/claude_md_orchestrator/models.py, skills/claude_md_orchestrator/validators.py
Imported by: skills/claude_md_orchestrator/bdd_agent.py
-
run(function)skills/claude_md_orchestrator/tdd_agent.py:175def run(contract, spec, config)-- Run the test agent for one contract. -
read_test_source(function)skills/claude_md_orchestrator/tdd_agent.py:228def read_test_source(test_path)-- Return the test source for inspection.
Next: API_p19.md
Generated offline by readmenator from commit 215eaf417d46. Edits here are overwritten by readmenator . --rebuild.
Start
Wiki
- community_0_modules_autonomous_daemon
- community_10_skills_claude_md_orchestrator
- community_11_skills_hermes_lazyown
- community_12_modules_opsec_scorer
- community_13_modules_kerberos_core
- community_14_modules_saas_attacks
- community_15_modules_polymorphic_engine
- community_16_contrib_legacy
- community_17_tests
- community_18_scripts_journal
- community_19_modules_backdoor
- community_1_cli_commands
- community_20_poc_tui
- community_21_scripts_check_contract_manifest
- community_22_scripts_migrate_lazyown
- community_23_tools
- community_24_orphans
- community_2_cli
- community_3_modules_lazy_loop
- community_4_modules_lazyc2
- community_5_static_js
- community_6_lazygui_panels
- community_7_modules_lazyown_facts
- community_8_modules_surface_graph
- community_9_modules_dashboard_engine
- 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_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
- 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_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_misc
- KB_modules
- KB_modules_p10
- KB_modules_p11
- KB_modules_p12
- KB_modules_p13
- KB_modules_p14
- KB_modules_p15
- 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_p2
- 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_p5
- SYMBOLS_p6
- SYMBOLS_p7
- SYMBOLS_p8
- SYMBOLS_p9
Recipes