Skip to content

Consolidate output directories and remove legacy documentation#93

Merged
valITino merged 2 commits into
mainfrom
claude/pensive-ritchie-hinu20
Jun 23, 2026
Merged

Consolidate output directories and remove legacy documentation#93
valITino merged 2 commits into
mainfrom
claude/pensive-ritchie-hinu20

Conversation

@valITino

Copy link
Copy Markdown
Owner

Summary

This PR consolidates the fragmented output directory structure into a single output/ hierarchy and removes outdated comparative analysis documentation that is no longer maintained.

Key Changes

Directory Structure Consolidation:

  • Unified results/ and reports/ directories under output/sessions/ and output/reports/ respectively
  • Updated blhackbox/config.py to point results_dir and reports_dir to the new consolidated paths
  • Updated blhackbox/reporting/paths.py docstring to reflect new structure
  • Updated .gitignore to ignore output/ instead of separate results/ and reports/ entries
  • Updated .dockerignore to ignore consolidated output/ directory
  • Removed legacy .gitkeep placeholder files from old results/ and reports/ directories

Documentation Cleanup:

  • Removed docs/pentagi-comparison.md — detailed architectural comparison with PentAGI that is no longer actively maintained
  • Removed docs/external-repo-assessment.md — assessment of HexStrike AI, BOAZ-MCP, and BOAZ_beta that has been superseded by integrated implementations
  • Removed docs/repo-audit.md — point-in-time audit findings that are no longer current
  • Removed docs/container-integration-review.md — container topology documentation that is now covered in the main README

Minor Updates:

  • Updated MCP server description in blhackbox/mcp/server.py to reference new report path structure
  • Removed empty .gitmodules file

Implementation Details

The consolidation maintains backward compatibility at the application level — all path resolution logic continues to work as before, but now points to a unified output/ directory tree. This simplifies the repository structure and makes it clearer to operators where all generated artifacts are stored.

The removed documentation files represent earlier analysis phases that have been incorporated into the codebase through actual feature implementations (HexStrike and BOAZ integration, tool discovery enhancements). Keeping them would create maintenance burden without providing current value.

https://claude.ai/code/session_01GXPrrB6JQMBGHc19sXhcHw

claude added 2 commits June 23, 2026 07:27
…nreferenced docs

Cleanup of dead files identified by cross-referencing every candidate
against code, config.py, docker-compose, Makefile, CI, and tests:

- .gitmodules: empty (1 byte), no submodules defined
- blhackbox/clients/: empty placeholder package; nothing imports
  blhackbox.clients. pyproject auto-discovers packages (include =
  ["blhackbox*"]), so no packaging change is needed
- docs/container-integration-review.md, docs/external-repo-assessment.md,
  docs/pentagi-comparison.md, docs/repo-audit.md: point-in-time analysis
  docs linked from nothing (README/.env.example-linked docs were kept)

No surviving file references any removed path. Full test suite passes
(201 passed).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GXPrrB6JQMBGHc19sXhcHw
… split)

config.py was the only component never migrated to the v2.1 output/
layout: results_dir/reports_dir still defaulted to the top-level
results/ and reports/ dirs, while skills, templates, docker mounts +
entrypoint symlinks, setup.sh, README, and DOCKER.md all use output/.

Effect: on the host / Claude Code Web path the core MCP tools
(aggregate_results, generate_report) wrote session JSON and reports to
results/ + reports/, while the agent's hand-authored docs (per the
skills) went to output/ -- splitting a single engagement across two
trees and leaving the documented output/ folders looking empty. In
Docker the core server isn't wired in, so results/ + reports/ were
never written at all.

Reconciliation:
- config.py: results_dir -> output/sessions, reports_dir -> output/reports
  (still overridable via RESULTS_DIR / REPORTS_DIR env vars)
- remove now-dead top-level results/ and reports/ (.gitkeep)
- drop the stale "legacy" results/reports rules from .gitignore
- .dockerignore: results/ -> output/ to keep runtime scan data out of the
  build context (preserves the original protective intent)
- sync now-inaccurate docstrings in reporting/paths.py and the
  generate_report tool description to output/reports/...

MCP tool schemas and the AggregatedPayload contract are unchanged.
Full test suite passes (201 passed).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GXPrrB6JQMBGHc19sXhcHw
@valITino valITino merged commit 1015af0 into main Jun 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants