Agent KB_cli_p3 - grisuno/LazyOwn GitHub Wiki

Subsystem: cli (page 3 of 5)

Previous: KB_cli_p2.md

cli/lazy_orchestrator.py

  • 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

cli/lazynmap_post.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

cli/marketplace_config.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

cli/noise_verbs.py

cli/ops_commands.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

cli/output_mode.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

cli/palette.py

cli/palette_command.py

  • Doc: Pure logic for the operator-facing palette command.
  • 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

cli/palette_graph.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

cli/palette_overlay.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

cli/palette_telemetry.py

  • Doc: Behavioural telemetry derived from [sessions/LazyOwn_session_report.csv](https://github.com/grisuno/LazyOwn/blob/146a52570ef792d1ec01ec4d3709b0c159990e47/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

cli/phase_labels.py

cli/plugin_tiers.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

cli/protips.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

cli/purple_tui.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

cli/reactive_hints.py

cli/reasoning_stream.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