Skip to content

Integrate or remove orphaned modules (*_enhanced, documentation_generator, docker parser) #19

Done

Description

@OkiriGabriel

Problem

Several modules duplicate or extend production code but are never wired into the agent.

Current state

No imports outside their own files for:

  • tools/safe_executor_enhanced.py — stricter DevSecOps executor with email alerts
  • collectors/server_enhanced.py — multi-OS EnhancedServerCollector
  • tools/documentation_generator.py — post-incident doc generation
  • collectors/docker.py — parse_build_error() for Docker build logs

Meanwhile agent/core.py uses SafeExecutor and ServerCollector only.

Acceptance criteria

  • Either wire enhanced modules into the agent (with feature flags) or delete/archive them
  • Wire parse_build_error into CI/CD collector path for Docker build failures
  • Update ARCHITECTURE.md to reflect actual modules in use
  • Add tests if integrated; remove dead code if not

Files

  • agent/core.py, tools/safe_executor_enhanced.py, collectors/server_enhanced.py, tools/documentation_generator.py, collectors/docker.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementtechnical-debt

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions