Skip to content

community_0_modules_lazy_loop

grisun0 edited this page Oct 31, 2026 · 1 revision

modules: lazy_loop

Community 0 | 184 files | cohesion 0.57

Definition

This community groups 184 file(s) rooted at tests with dominant language py (cohesion 0.57). Central symbols: ActivityLog, ActivityLogPort, AdLabCaptureSpec, AdLabCatalogueSpec, AdLabGymDefinitionsSpec, AdLabRuntimeSpec, AssetGate, AssetGraph. Core file: modules/lazy_loop.py (489 symbols). Documented purpose: Lazy queue and misc command set. Engine-backed operator surface with lazy_ names. Every command here reads or writes the single modules.lazy_engine sto.

Files

tests (93 files)

File Language Layer Symbols Doc
tests/test_ad_lab_gym.py py testing 25 yes
tests/test_asset_gate.py py testing 16 yes
tests/test_attack_surface3d.py py testing 8 yes

modules (63 files)

File Language Layer Symbols Doc
modules/__init__.py py utility 0 no
modules/attack_surface3d.py py utility 11 yes
modules/auto_loop_memory.py py utility 26 yes

modules/mediation (7 files)

File Language Layer Symbols Doc
modules/mediation/__init__.py py utility 0 yes
modules/mediation/chain_mediator.py py utility 8 yes
modules/mediation/contracts.py py utility 12 yes

cli (6 files)

File Language Layer Symbols Doc
cli/lazy_monitor.py py utility 46 yes
cli/lazy_orchestrator.py py utility 46 yes

cli/commands (5 files)

File Language Layer Symbols Doc
cli/commands/lazyloop.py py utility 13 yes
cli/commands/lazyops.py py utility 72 yes

modules/sinks (4 files)

File Language Layer Symbols Doc
modules/sinks/chain_feed.py py utility 1 yes
modules/sinks/findings.py py utility 5 yes

modules/tools (3 files)

File Language Layer Symbols Doc
modules/tools/__init__.py py utility 0 yes
modules/tools/loop_smoke.py py utility 10 yes

core (1 files)

File Language Layer Symbols Doc
core/terminal_guard.py py utility 8 yes

lazyc2/blueprints (1 files)

File Language Layer Symbols Doc
lazyc2/blueprints/orchestrator.py py presentation 17 yes

skills (1 files)

File Language Layer Symbols Doc
skills/lazyown_mcp_opencode.py py utility 6 yes

... and 164 more files in this community.

Key Symbols

  • _engine (function, cli/commands/lazyloop.py:22) def _engine() - Return a fresh engine handle over the persisted lazy store.
  • LazyQueueCommandSet (class, cli/commands/lazyloop.py:29) class LazyQueueCommandSet(LazyOwnCommandSet) - Lazy queue controls backed by the loop engine.
  • do_lazy_sync (method, cli/commands/lazyloop.py:36) def do_lazy_sync(self, line) - Run bidirectional LAZY sync into world model and objectives.
  • do_lazy_intents (method, cli/commands/lazyloop.py:51) def do_lazy_intents(self, line) - List engine intents for a task, optionally filtered by state.
  • do_lazy_delete (method, cli/commands/lazyloop.py:71) def do_lazy_delete(self, line) - Delete an engine intent; soft keeps outputs, hard cascades.
  • do_lazy_findings (method, cli/commands/lazyloop.py:110) def do_lazy_findings(self, line) - List engine findings for a task, optionally filtered by status.
  • do_lazy_handoff (method, cli/commands/lazyloop.py:180) def do_lazy_handoff(self, line) - Print the operator handoff for a finished loop task.
  • do_lazy_verdict (method, cli/commands/lazyloop.py:190) def do_lazy_verdict(self, line) - Record a manual retest verdict on an engine finding.
  • do_lazy_mention (method, cli/commands/lazyloop.py:213) def do_lazy_mention(self, line) - Search @ mention candidates with scroll pagination.
  • do_lazy_approve (method, cli/commands/lazyloop.py:248) def do_lazy_approve(self, line) - List engine guard reviews filtered by decision and source.
  • do_lazy_fleet (method, cli/commands/lazyloop.py:270) def do_lazy_fleet(self, line) - Cross-task fleet: list | graph | findings | traces [query] | node |
  • do_lazy_orchestrator (method, cli/commands/lazyloop.py:335) def do_lazy_orchestrator(self, line) - Admin console for the loop (Textual TUI).
  • do_lazy_view (method, cli/commands/lazyloop.py:364) def do_lazy_view(self, line) - Attach the live worker monitor to a task (or the newest task).
  • _engine (function, cli/commands/lazyops.py:28) def _engine() - Import LazyEngine lazily so the shell boots without it.
  • LazyCommandSet (class, cli/commands/lazyops.py:35) class LazyCommandSet(LazyOwnCommandSet) - Lazy double-graph autonomous loop: planner, workers, guard, retest.
  • _task_id (method, cli/commands/lazyops.py:41) def _task_id(self, args) - Resolve --task flag or fall back to the newest task.
  • _require_task (method, cli/commands/lazyops.py:54) def _require_task(self, args) - Return task id or print usage error and empty string.
  • _free_text (method, cli/commands/lazyops.py:62) def _free_text(args) - Return positional words with flag values stripped.
  • do_lazy_dispatch (method, cli/commands/lazyops.py:88) def do_lazy_dispatch(self, line) - Dispatch one detached task to an external agent: opencode|hermes [--in DIR] [--resume S] [--max-turn
  • do_lazy_task (method, cli/commands/lazyops.py:147) def do_lazy_task(self, line) - Create/list/show/pause/resume/delete/spawn/queue/limit/drain tasks. Usage: lazy_task create |
  • do_lazy_graph (method, cli/commands/lazyops.py:269) def do_lazy_graph(self, line) - Show planner-facing graph overview. Usage: lazy_graph [--task T]
  • do_lazy_context (method, cli/commands/lazyops.py:298) def do_lazy_context(self, line) - Render the bounded prompt context the planner/worker LLMs receive. Usage: lazy_context [--task T] [-
  • do_lazy_skill (method, cli/commands/lazyops.py:319) def do_lazy_skill(self, line) - Skills: list|show |preview|inject <name...>|clear|auto on|off|mirror [name]|register-hermes. U
  • do_lazy_workspace (method, cli/commands/lazyops.py:403) def do_lazy_workspace(self, line) - Confined workspace files: list [path]|read |write |mkdir |rm |path. U
  • do_lazy_selfupdate (method, cli/commands/lazyops.py:456) def do_lazy_selfupdate(self, line) - Self-update: check [--branch B]|apply [--yes] [--branch B]. Usage: lazy_selfupdate ...
  • do_lazy_planner (method, cli/commands/lazyops.py:484) def do_lazy_planner(self, line) - Run one planner wakeup (emits 0..N intents). Usage: lazy_planner [--task T]
  • do_lazy_frontier (method, cli/commands/lazyops.py:503) def do_lazy_frontier(self, line) - Show pending intent queue. Usage: lazy_frontier [--task T]
  • do_lazy_worker (method, cli/commands/lazyops.py:515) def do_lazy_worker(self, line) - Claim ONE intent and execute it with real tools. Usage: lazy_worker [--task T] [--intent N]
  • do_lazy_trace (method, cli/commands/lazyops.py:555) def do_lazy_trace(self, line) - Worker trace exchange. Usage: lazy_trace list|search |search-all |get |steps
  • do_lazy_broadcast (method, cli/commands/lazyops.py:608) def do_lazy_broadcast(self, line) - Exploration timeline. Usage: lazy_broadcast [--task T] [--kind K] [--q Q] [--asc] [--page N] [--limi

Internal vs External Edges

  • Internal resolved imports (EXTRACTED): 1035
  • Cross-boundary resolved imports (EXTRACTED): 627

Connections

  • [EXTRACTED] depends_on community 4 <-> 0 (strength 0.9): Extracted import edge crosses communities: cli/apt_chain_support.py imports modules/mediation/init.py.
  • [EXTRACTED] depends_on community 1 <-> 0 (strength 0.9): Extracted import edge crosses communities: cli/commands/campaign.py imports modules/world_model.py.
  • [EXTRACTED] depends_on community 11 <-> 0 (strength 0.9): Extracted import edge crosses communities: cli/commands/exploit_migrated.py imports modules/world_model.py.

Risks

Open Questions

Sources

Start

Wiki

Agent Docs

Recipes

Clone this wiki locally