Repository navigation
Agent KB_cli_p3
grisun0 edited this page Oct 16, 2026
·
21 revisions
Previous: KB_cli_p2.md
- Doc: Orchestrator admin console for the autonomous loop.
- Layer: utility
- Language: py
- Symbols:
-
ConfigField(class, line 59)class ConfigField -
FormModal(class, line 81)class FormModal -
LazyOrchestratorApp(class, line 118)class LazyOrchestratorApp -
_coerce(function, line 793)def _coerce(raw) -
run_orchestrator_console(function, line 810)def run_orchestrator_console(task_id) -
__init__(method, line 86)def __init__(self, title, fields) -
compose(method, line 92)def compose(self) -
on_button_pressed(method, line 101)def on_button_pressed(self, event) -
on_input_submitted(method, line 110)def on_input_submitted(self, event) -
__init__(method, line 142)def __init__(self, payload_path, task_id) -
compose(method, line 153)def compose(self) -
on_mount(method, line 182)def on_mount(self) -
toggle_stage(method, line 193)def toggle_stage(self, name) -
toggle_verb(method, line 202)def toggle_verb(self, name) -
add_auto_verb(method, line 211)def add_auto_verb(self, name, keywords, needs_target, description) -
remove_auto_verb(method, line 226)def remove_auto_verb(self, name) -
_chains_dir(method, line 234)def _chains_dir(self) -
chain_rows(method, line 242)def chain_rows(self) -
chain_steps_preview(method, line 251)def chain_steps_preview(self, name, limit) -
toggle_chain(method, line 268)def toggle_chain(self, name) -
generate_chain(method, line 279)def generate_chain(self, playbook_key) -
remove_chain(method, line 293)def remove_chain(self, name) -
_refresh_chains(method, line 319)def _refresh_chains(self) -
_update_chains_detail(method, line 342)def _update_chains_detail(self, name) -
on_data_table_row_highlighted(method, line 349)def on_data_table_row_highlighted(self, event) -
_refresh_stages(method, line 362)def _refresh_stages(self) -
_refresh_verbs(method, line 378)def _refresh_verbs(self) -
_load_payload(method, line 402)def _load_payload(self) -
_load_payload_into_form(method, line 412)def _load_payload_into_form(self) -
save_config(method, line 423)def save_config(self, values) -
add_model_member(method, line 445)def add_model_member(self, name, model, priority) -
remove_model_member(method, line 453)def remove_model_member(self, name) -
set_model_priority(method, line 461)def set_model_priority(self, name, priority) -
add_guard_rule(method, line 473)def add_guard_rule(self, pattern, action, reason) -
remove_guard_rule(method, line 481)def remove_guard_rule(self, pattern) -
_refresh_models(method, line 489)def _refresh_models(self) -
_refresh_guard(method, line 510)def _refresh_guard(self) -
_resolve_task(method, line 532)def _resolve_task(self) -
_poll_now(method, line 550)def _poll_now(self) -
on_button_pressed(method, line 585)def on_button_pressed(self, event) -
action_refresh(method, line 603)def action_refresh(self) -
_selected_row(method, line 612)def _selected_row(self, table_id) -
action_toggle_item(method, line 621)def action_toggle_item(self) -
action_save_config(method, line 637)def action_save_config(self) -
_active_tab(method, line 647)def _active_tab(self) -
action_add_item(method, line 654)def action_add_item(self) -
action_edit_item(method, line 730)def action_edit_item(self) -
action_delete_item(method, line 764)def action_delete_item(self) -
_done(function, line 743)def _done(values) -
_done(function, line 659)def _done(values) -
_done_rule(function, line 676)def _done_rule(values) -
_done_verb(function, line 693)def _done_verb(values) -
_done_chain(function, line 716)def _done_chain(values)
-
- Depends on:
cli/commands/containers.py,core/config.py,modules/apt_playbooks.py,modules/chain_registry.py,modules/jsonl_tail.py,modules/lazy_engine.py,modules/lazy_loop.py,modules/orchestrator_config.py - Imported by:
cli/commands/lazyloop.py,tests/test_lazy_orchestrator.py
- Doc: Post-scan side effects executed at the tail of
do_lazynmap. - Layer: utility
- Language: py
- Symbols:
-
PostScanConfig(class, line 57)class PostScanConfig -
PostScanResult(class, line 76)class PostScanResult -
run_post_scan(function, line 94)def run_post_scan(target, payload, console, config, engine_factory, plan_config, clock) -
_enabled(function, line 164)def _enabled(payload, cfg) -
_default_engine_factory(function, line 180)def _default_engine_factory(payload, cfg) -
_update_world_model_phase(function, line 188)def _update_world_model_phase(cfg, target, clock_fn) -
_emit_event(function, line 213)def _emit_event(cfg, target, plan, plan_path, clock_fn) -
_atomic_write_json(function, line 263)def _atomic_write_json(path, data, mode) -
_safe_log(function, line 291)def _safe_log(console, message)
-
- Depends on:
cli/exploration.py,cli/recon_plan.py - Imported by:
cli/commands/recon.py,lazyown.py,tests/test_lazynmap_post.py
- Doc: Interactive marketplace manager for LazyOwn lazyaddons, plugins, and tools.
- Layer: infrastructure
- Language: py
- Symbols:
-
MarketplaceConfig(class, line 56)class MarketplaceConfig -
AddonInfo(class, line 131)class AddonInfo -
AddonRegistry(class, line 197)class AddonRegistry -
MarketplaceSettings(class, line 349)class MarketplaceSettings -
MarketplaceConfigurator(class, line 378)class MarketplaceConfigurator -
configure_marketplace_interactive(function, line 751)def configure_marketplace_interactive(config, start_tab) -
_build_initial_settings(function, line 774)def _build_initial_settings(registry) -
marketplace_summary(function, line 784)def marketplace_summary(registry) -
from_yaml(method, line 144)def from_yaml(cls, path) -
toggle_enabled(method, line 164)def toggle_enabled(self) -
set_enabled(method, line 168)def set_enabled(self, enabled) -
save_yaml(method, line 185)def save_yaml(self, data) -
__init__(method, line 220)def __init__(self) -
_nuclei_dir(method, line 223)def _nuclei_dir(self) -
scan(method, line 235)def scan(self, tab) -
_scan_yara(method, line 259)def _scan_yara(self) -
_scan_nuclei(method, line 278)def _scan_nuclei(self) -
_parse_yara_meta(method, line 307)def _parse_yara_meta(path) -
_parse_nuclei_info(method, line 319)def _parse_nuclei_info(path) -
rescan(method, line 334)def rescan(self, tab) -
tab_order(method, line 338)def tab_order(self) -
tab_label(method, line 341)def tab_label(self, tab) -
tab_count(method, line 344)def tab_count(self, tab) -
is_enabled(method, line 354)def is_enabled(self, kind, name) -
toggle(method, line 357)def toggle(self, addon) -
enable_all(method, line 367)def enable_all(self, addons) -
disable_all(method, line 372)def disable_all(self, addons) -
__init__(method, line 381)def __init__(self, config, registry, initial) -
run(method, line 395)def run(self, start_tab) -
_tty_available(method, line 408)def _tty_available() -
_rows_for_tab(method, line 411)def _rows_for_tab(self, tab) -
_loop(method, line 414)def _loop(self, stdscr) -
_cycle_tab(method, line 465)def _cycle_tab(self, direction) -
_edit_addon(method, line 470)def _edit_addon(self, addon) -
_create_addon(method, line 480)def _create_addon(self, stdscr) -
_init_colors(method, line 537)def _init_colors(self) -
_render(method, line 564)def _render(self, stdscr, rows, cursor, offset) -
_draw_frame(method, line 604)def _draw_frame(self, stdscr, top, left, height, width) -
_draw_header(method, line 618)def _draw_header(self, stdscr, top, left, width) -
_draw_tabs(method, line 641)def _draw_tabs(self, stdscr, row_y, left, width) -
_draw_column_headers(method, line 659)def _draw_column_headers(self, stdscr, row_y, left, width, rows) -
_draw_row(method, line 669)def _draw_row(self, stdscr, row_y, left, width, addon, selected) -
_draw_preview(method, line 692)def _draw_preview(self, stdscr, top, left, width, addon) -
_draw_summary(method, line 720)def _draw_summary(self, stdscr, row_y, left, width, rows) -
_draw_footer(method, line 732)def _draw_footer(self, stdscr, row_y, left, width) -
_color(method, line 742)def _color(self, pair)
-
- Imported by:
cli/commands/marketplace.py,cli/wizard.py
- Doc: Canonical non-actionable verb registry for post-command surfaces.
- Layer: utility
- Language: py
- Imported by:
cli/chain_mode.py,cli/protips.py,cli/reactive_hints.py,cli/tips_engine.py
- Doc: Power-user operator commands: ctx, tgrep, phase, note, l00t, pivot, tasks, sitrep, scans.
- Layer: utility
- Language: py
- Symbols:
-
print_ctx(function, line 74)def print_ctx(payload, sessions_dir) -
tgrep(function, line 115)def tgrep(pattern) -
_search_transcript_jsonl(function, line 177)def _search_transcript_jsonl(rx, hits, limit) -
_search_csv(function, line 211)def _search_csv(rx, hits, limit) -
_search_logs(function, line 236)def _search_logs(rx, hits, limit, sessions_dir) -
_highlight_match(function, line 265)def _highlight_match(line, rx) -
read_phase(function, line 279)def read_phase() -
_phase_rank(function, line 287)def _phase_rank(phase) -
_engagement_phase_to_cli(function, line 292)def _engagement_phase_to_cli(phase_value) -
_cli_phase_to_host_state(function, line 297)def _cli_phase_to_host_state(phase) -
write_phase(function, line 302)def write_phase(phase) -
print_phase(function, line 317)def print_phase() -
_render_progress_bar(function, line 359)def _render_progress_bar(ratio) -
_os_identified(function, line 367)def _os_identified(sessions_dir) -
_glob_count(function, line 375)def _glob_count(sessions_dir, pattern) -
_report_artifact_exists(function, line 380)def _report_artifact_exists(sessions_dir) -
_count_pivots(function, line 385)def _count_pivots(sessions_dir) -
phase_progress(function, line 393)def phase_progress(world, sessions_dir) -
_read_json(function, line 425)def _read_json(path) -
_write_json_atomic(function, line 433)def _write_json_atomic(path, data) -
_count_glob(function, line 450)def _count_glob(pattern) -
note_add(function, line 468)def note_add(text, rhost, phase) -
note_list(function, line 493)def note_list(rhost, limit) -
LootEntry(class, line 545)class LootEntry -
gather_loot(function, line 571)def gather_loot(sessions_dir) -
loot_show(function, line 614)def loot_show(sessions_dir) -
_loot_provenance(function, line 657)def _loot_provenance(query, sessions_dir) -
loot_search(function, line 686)def loot_search(query, sessions_dir) -
_cred_outcomes_for_host(function, line 731)def _cred_outcomes_for_host(world, host) -
_cred_node(function, line 758)def _cred_node(value) -
loot_reuse(function, line 763)def loot_reuse(rhost, sessions_dir) -
loot_graph(function, line 847)def loot_graph(sessions_dir) -
resolve_cred_value(function, line 917)def resolve_cred_value(selector, entries) -
loot_mark(function, line 945)def loot_mark(selector, outcome, host, sessions_dir) -
pivot_add(function, line 987)def pivot_add(new_ip, via_ip, note) -
pivot_list(function, line 1013)def pivot_list() -
_load_tasks(function, line 1059)def _load_tasks() -
_save_tasks(function, line 1066)def _save_tasks(tasks) -
tasks_list(function, line 1070)def tasks_list(status_filter, limit) -
tasks_add(function, line 1125)def tasks_add(title, operator) -
tasks_done(function, line 1146)def tasks_done(task_id) -
tasks_start(function, line 1166)def tasks_start(task_id) -
scans_list(function, line 1189)def scans_list(rhost, sessions_dir) -
sitrep(function, line 1242)def sitrep(payload, sessions_dir) -
_print_next_steps(function, line 1386)def _print_next_steps(rhost, phase, has_scan, cred_count, n_tasks_new, n_hosts) -
_render_steps(function, line 1448)def _render_steps(steps) -
_read_plan(function, line 1453)def _read_plan() -
_human_age(function, line 1474)def _human_age(seconds) -
_human_size(function, line 1484)def _human_size(n) -
value(method, line 561)def value(self) -
_bucket(function, line 861)def _bucket(node) -
_host_label(function, line 864)def _host_label(node) -
_join(function, line 901)def _join(items)
-
- Depends on:
core/safe_console.py,modules/killchain.py,modules/world_model.py - Imported by:
cli/commands/help_ui.py,cli/commands/misc_migrated.py,cli/commands/session_ops.py,cli/dashboard_tui.py,cli/tips_engine.py,lazyown.py,tests/test_killchain_unified.py,tests/test_ops_loot_phase.py
- Doc: Structured output modes and dry-run rendering for CLI commands.
- Layer: utility
- Language: py
- Symbols:
-
OutputModeConfig(class, line 20)class OutputModeConfig -
OutputMode(class, line 33)class OutputMode -
parse_output_flags(function, line 43)def parse_output_flags(args, config) -
strip_ansi(function, line 65)def strip_ansi(text) -
format_output(function, line 77)def format_output(data, mode) -
dry_run_line(function, line 98)def dry_run_line(command)
-
- Imported by:
cli/commands/anti_forensics.py,cli/commands/ux.py
- Doc: Read-only loader for
[cli/command_index.json](https://github.com/grisuno/LazyOwn/blob/bb49626e7e46fc85a736c1514cab43bd798f7b33/cli/command_index.json). - Layer: utility
- Language: py
- Symbols:
-
CommandIndexError(class, line 25)class CommandIndexError(RuntimeError) -
load_index(function, line 30)def load_index(path) -
all_commands(function, line 55)def all_commands() -
all_phases(function, line 72)def all_phases() -
all_categories(function, line 77)def all_categories() -
filter_by_phase(function, line 82)def filter_by_phase(phase) -
filter_by_category(function, line 92)def filter_by_category(category) -
search(function, line 97)def search(query) -
get(function, line 114)def get(name) -
duplicates(function, line 125)def duplicates() -
totals(function, line 130)def totals()
-
- Imported by:
cli/command_explorer.py,cli/command_form.py,cli/commands/misc_migrated.py,cli/contextual_help.py,cli/engagement_hooks.py,cli/palette_overlay.py,cli/tips_engine.py,lazyc2.py,lazyown.py,skills/lazyown_mcp.py,tests/test_command_palette.py
- Doc: Pure logic for the operator-facing
palettecommand. - Layer: utility
- Language: py
- Symbols:
-
PaletteMode(class, line 33)class PaletteMode(Enum) -
PaletteRenderConfig(class, line 44)class PaletteRenderConfig -
PaletteArgs(class, line 123)class PaletteArgs -
PaletteArgumentParser(class, line 132)class PaletteArgumentParser -
PaletteIndexQuery(class, line 184)class PaletteIndexQuery -
PaletteRenderer(class, line 277)class PaletteRenderer -
_filter_phase_rows(function, line 395)def _filter_phase_rows(rows, query) -
_enrich_detail_entry(function, line 409)def _enrich_detail_entry(entry) -
render(function, line 447)def render(index, line) -
PaletteJsonResult(class, line 487)class PaletteJsonResult -
PaletteJsonRenderer(class, line 514)class PaletteJsonRenderer -
render_json(function, line 566)def render_json(index, line) -
PaletteViewConfig(class, line 605)class PaletteViewConfig -
build_palette_view(function, line 619)def build_palette_view(index) -
_enrich_commands_for_view(function, line 665)def _enrich_commands_for_view(rows) -
_ensure_neighbour_keys(function, line 689)def _ensure_neighbour_keys(rows) -
_load_recent_commands(function, line 712)def _load_recent_commands() -
_ordered_phase_ids(function, line 728)def _ordered_phase_ids(config, phase_counts) -
CompletionPosition(class, line 737)class CompletionPosition -
PaletteCompleter(class, line 744)class PaletteCompleter -
truncate_summary(method, line 107)def truncate_summary(self, summary) -
__init__(method, line 149)def __init__(self, config) -
parse(method, line 152)def parse(self, line) -
__init__(method, line 193)def __init__(self, index) -
commands(method, line 197)def commands(self) -
phases(method, line 203)def phases(self) -
phase_counts(method, line 208)def phase_counts(self) -
in_phase(method, line 213)def in_phase(self, phase) -
search(method, line 218)def search(self, query) -
detail(method, line 234)def detail(self, target) -
next_phase(method, line 249)def next_phase(self, current) -
__init__(method, line 285)def __init__(self, config) -
render_overview(method, line 288)def render_overview(self, phase_counts) -
render_phase(method, line 304)def render_phase(self, phase, rows) -
render_search(method, line 312)def render_search(self, query, rows) -
render_detail(method, line 320)def render_detail(self, entry) -
render_next(method, line 360)def render_next(self, phase, rows) -
_format_neighbours(method, line 370)def _format_neighbours(self, values) -
_ordered_phases(method, line 376)def _ordered_phases(self, phase_counts) -
_format_name_summary_table(method, line 383)def _format_name_summary_table(self, header, rows) -
to_dict(method, line 502)def to_dict(self) -
__init__(method, line 522)def __init__(self, config) -
render_overview(method, line 525)def render_overview(self, phase_counts) -
render_phase(method, line 532)def render_phase(self, phase, query, rows) -
render_search(method, line 541)def render_search(self, query, rows) -
render_detail(method, line 549)def render_detail(self, target, entry) -
render_next(method, line 557)def render_next(self, phase, rows) -
__init__(method, line 755)def __init__(self, config) -
complete(method, line 758)def complete(self, text, line, endidx, index) -
_tokenise(method, line 784)def _tokenise(self, line, endidx) -
_filter_prefix(method, line 797)def _filter_prefix(candidates, text)
-
- Depends on:
cli/commands/enum.py,cli/palette_graph.py,cli/palette_telemetry.py,core/text_utils.py - Imported by:
cli/commands/misc_migrated.py,cli/palette_overlay.py,lazyc2.py,lazyown.py,skills/lazyown_mcp.py,tests/test_command_palette.py
- Doc: Graph-aware neighbour lookups for the operator command palette.
- Layer: utility
- Language: py
- Symbols:
-
GraphIndexError(class, line 39)class GraphIndexError(RuntimeError) -
GraphLookupConfig(class, line 44)class GraphLookupConfig -
_looks_like_command_label(function, line 63)def _looks_like_command_label(label) -
_command_name_from_label(function, line 68)def _command_name_from_label(label) -
GraphIndex(class, line 74)class GraphIndex -
_build_adjacency(function, line 90)def _build_adjacency(document) -
load_graph(function, line 127)def load_graph(path) -
safe_load_graph(function, line 149)def safe_load_graph(path) -
_filter_neighbours(function, line 161)def _filter_neighbours(neighbours) -
callees(function, line 179)def callees(graph, command_name) -
related_commands(function, line 226)def related_commands(graph, command_name) -
enrich_detail(function, line 287)def enrich_detail(graph, entry) -
enrich_commands(function, line 309)def enrich_commands(graph, rows)
-
- Imported by:
cli/palette_command.py,tests/test_command_palette.py
- Doc: Textual Cmd-K palette overlay for the LazyOwn shell.
- Layer: utility
- Language: py
- Symbols:
-
PaletteOverlayConfig(class, line 38)class PaletteOverlayConfig -
PaletteRow(class, line 59)class PaletteRow -
PaletteOverlayState(class, line 70)class PaletteOverlayState -
_load_recents(function, line 136)def _load_recents() -
_load_index(function, line 151)def _load_index() -
build_state(function, line 162)def build_state(payload, index, recents, config) -
launch_overlay(function, line 188)def launch_overlay(payload, state, runner) -
_build_app(function, line 228)def _build_app(state, theme) -
set_query(method, line 83)def set_query(self, value) -
rows(method, line 87)def rows(self) -
_score(method, line 113)def _score(self, name, summary, needle, is_recent) -
_truncate(method, line 130)def _truncate(self, value, max_chars) -
_PaletteOverlayApp(class, line 240)class _PaletteOverlayApp(App) -
__init__(method, line 255)def __init__(self) -
compose(method, line 261)def compose(self) -
on_mount(method, line 269)def on_mount(self) -
on_input_changed(method, line 272)def on_input_changed(self, event) -
on_input_submitted(method, line 276)def on_input_submitted(self, event) -
on_list_view_selected(method, line 279)def on_list_view_selected(self, event) -
action_cancel(method, line 282)def action_cancel(self) -
action_select_current(method, line 285)def action_select_current(self) -
_commit_from_item(method, line 292)def _commit_from_item(self, item) -
_refresh_rows(method, line 300)def _refresh_rows(self) -
_format_row(method, line 314)def _format_row(self, row)
-
- Depends on:
cli/commands/containers.py,cli/palette.py,cli/palette_command.py,cli/palette_telemetry.py,cli/themes.py,core/text_utils.py - Imported by:
cli/commands/misc_migrated.py,tests/test_palette_overlay.py
- Doc: Behavioural telemetry derived from
[sessions/LazyOwn_session_report.csv](https://github.com/grisuno/LazyOwn/blob/bb49626e7e46fc85a736c1514cab43bd798f7b33/sessions/LazyOwn_session_report.csv). - Layer: utility
- Language: py
- Symbols:
-
TelemetryIndexError(class, line 37)class TelemetryIndexError(RuntimeError) -
TelemetryConfig(class, line 42)class TelemetryConfig -
CommandStat(class, line 61)class CommandStat -
TelemetryIndex(class, line 78)class TelemetryIndex -
_normalise_command(function, line 97)def _normalise_command(value) -
_read_csv_rows(function, line 107)def _read_csv_rows(path) -
_build_index(function, line 123)def _build_index(rows) -
load_telemetry(function, line 186)def load_telemetry(path) -
safe_load_telemetry(function, line 204)def safe_load_telemetry(path) -
command_stats(function, line 216)def command_stats(telemetry, command_name) -
runs_after(function, line 239)def runs_after(telemetry, command_name) -
recents(function, line 259)def recents(telemetry) -
enrich_detail(function, line 275)def enrich_detail(telemetry, entry) -
enrich_commands(function, line 300)def enrich_commands(telemetry, rows)
-
- Imported by:
cli/palette_command.py,cli/palette_overlay.py,tests/test_command_palette.py
- Doc: Canonical human-readable labels for kill-chain command phases.
- Layer: utility
- Language: py
- Symbols:
-
phase_label(function, line 29)def phase_label(phase)
-
- Imported by:
cli/contextual_help.py,cli/tips_engine.py,tests/test_phase_labels.py
- Doc: Plugin tiers and operator ratings for the marketplace.
- Layer: infrastructure
- Language: py
- Symbols:
-
load_tier_manifest(function, line 35)def load_tier_manifest(manifest) -
tier_of(function, line 61)def tier_of(name, manifest_tiers, metadata_tier) -
_load_ratings(function, line 79)def _load_ratings(store) -
rate_plugin(function, line 98)def rate_plugin(name, stars, store) -
rating_summary(function, line 121)def rating_summary(name, store) -
format_rating(function, line 137)def format_rating(average, count) -
default_store(function, line 144)def default_store(base_dir) -
read_metadata_tier(function, line 149)def read_metadata_tier(path)
-
- Imported by:
cli/commands/marketplace.py,tests/test_input_fuzz.py,tests/test_plugin_tiers.py
- Doc: Pro tips system for the LazyOwn shell.
- Layer: utility
- Language: py
- Symbols:
-
ProTip(class, line 34)class ProTip -
_os_linux(function, line 43)def _os_linux(ctx) -
_os_windows(function, line 47)def _os_windows(ctx) -
_has_rhost(function, line 51)def _has_rhost(ctx) -
_has_domain(function, line 55)def _has_domain(ctx) -
_has_api_key(function, line 59)def _has_api_key(ctx) -
_phase_in(function, line 63)def _phase_in(ctx) -
_last_cmd_is(function, line 67)def _last_cmd_is(ctx) -
_after(function, line 75)def _after(ctx) -
get_session_tip(function, line 301)def get_session_tip(ctx) -
render_contextual_tip(function, line 327)def render_contextual_tip(last_cmd, ctx) -
print_session_tip(function, line 357)def print_session_tip(ctx) -
_safe_trigger(function, line 369)def _safe_trigger(tip, ctx)
-
- Depends on:
cli/noise_verbs.py,core/console.py - Imported by:
lazyown.py,tests/test_reactive_hints_expanded.py
- Doc: Purple Team Dashboard — Textual TUI for engagement monitoring.
- Layer: utility
- Language: py
- Symbols:
-
_load_score(function, line 33)def _load_score() -
_load_recent_results(function, line 42)def _load_recent_results(n) -
_dataset_stats(function, line 56)def _dataset_stats() -
_make_bar(function, line 65)def _make_bar(value, width) -
_color_rate(function, line 70)def _color_rate(rate) -
PurpleDashboard(class, line 79)class PurpleDashboard(App) -
launch(function, line 233)def launch() -
compose(method, line 98)def compose(self) -
on_mount(method, line 108)def on_mount(self) -
action_refresh(method, line 112)def action_refresh(self) -
refresh_data(method, line 115)def refresh_data(self) -
_render_score(method, line 125)def _render_score(self, score) -
_render_methods(method, line 157)def _render_methods(self, score) -
_render_actions(method, line 173)def _render_actions(self, results) -
_render_stats(method, line 205)def _render_stats(self, score, ds)
-
- Depends on:
cli/commands/containers.py - Imported by:
cli/commands/purple_team.py
- Doc: Non-blocking inline hint renderer for the LazyOwn cmd2 shell.
- Layer: utility
- Language: py
- Symbols:
-
render_inline_hints(function, line 220)def render_inline_hints(advisor, last_command, limit, enabled) -
_first_token(function, line 262)def _first_token(raw) -
_extract_labels(function, line 267)def _extract_labels(suggestions, limit) -
_truncate(function, line 278)def _truncate(value, max_len) -
_render(function, line 284)def _render(labels) -
EvidenceHint(class, line 299)class EvidenceHint -
confidence_from_score(function, line 321)def confidence_from_score(score) -
_clean_reason(function, line 343)def _clean_reason(reasons) -
build_evidence_hints(function, line 362)def build_evidence_hints(recommendations, limit) -
render_evidence_hints(function, line 400)def render_evidence_hints(hints) -
build_evidence_hint_lines(function, line 416)def build_evidence_hint_lines(hints) -
read_run_commands(function, line 443)def read_run_commands(sessions_dir) -
_collect_command_hints(function, line 476)def _collect_command_hints(cmd, phase, already_run, limit) -
render_command_hints(function, line 514)def render_command_hints(last_command, phase, sessions_dir, limit, enabled) -
command_hints(function, line 549)def command_hints(last_command, phase, sessions_dir, limit)
-
- Depends on:
cli/graph_advisor.py,cli/noise_verbs.py,core/console.py,core/logging.py,core/text_utils.py - Imported by:
cli/command_chain.py,cli/commands/misc_migrated.py,cli/dashboard_tui.py,cli/recommendation_signals.py,cli/status_bar.py,cli/tips_engine.py,lazyown.py,tests/test_evidence_hints.py,tests/test_improvements_spec.py,tests/test_reactive_hints.py,tests/test_reactive_hints_expanded.py
- Doc: Operator-facing view over the autonomous daemon decision log.
- Layer: utility
- Language: py
- Symbols:
-
ReasoningEntry(class, line 66)class ReasoningEntry -
read_raw_events(function, line 91)def read_raw_events(path, limit) -
_format_time(function, line 127)def _format_time(ts) -
_format_size(function, line 134)def _format_size(num_bytes) -
_truncate(function, line 141)def _truncate(text, limit) -
_summarize(function, line 148)def _summarize(kind, payload) -
_extract_reward(function, line 175)def _extract_reward(payload) -
event_to_entry(function, line 183)def event_to_entry(event) -
latest_reasoning(function, line 216)def latest_reasoning(path, limit) -
latest_hint(function, line 229)def latest_hint(events_path)
-
- Depends on:
core/text_utils.py - Imported by:
cli/commands/orchestration.py,cli/dashboard_tui.py,tests/test_engage_gates.py,tests/test_reasoning_stream.py
Next: KB_cli_p4.md
Generated offline by readmenator from commit bb49626e7e46. Edits here are overwritten by readmenator . --rebuild.
Start
Wiki
- community_0_cli_commands
- community_10_modules_opsec_scorer
- community_11_modules_finding_lifecycle
- community_12_modules_kerberos_core
- community_13_modules_saas_attacks
- community_14_modules_polymorphic_engine
- community_15_contrib_legacy
- community_16_scripts_journal
- community_17_modules_backdoor
- community_18_poc_tui
- community_19_scripts_check_contract_manifest
- community_1_modules_lazyc2
- community_20_scripts_migrate_lazyown
- community_21_tools
- community_22_orphans
- community_2_cli
- community_3_modules_autonomous_daemon
- community_4_modules_lazy_loop
- community_5_lazygui_panels
- community_6_skills_claude_md_orchestrator
- community_7_static_js
- community_8_modules_llm_budget
- community_9_modules_atomic_exploit_bridge
- 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_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_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_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_p5
- SYMBOLS_p6
- SYMBOLS_p7
- SYMBOLS_p8
- SYMBOLS_p9
Recipes