mirror of
https://github.com/GH05TCREW/pentestagent.git
synced 2026-07-25 02:35:23 -04:00
[PR #19] [MERGED] feat(workspaces): add unified /workspace lifecycle, target persistence, and workspace-scoped RAG #19
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/GH05TCREW/pentestagent/pull/19
Author: @giveen
Created: 1/19/2026
Status: ✅ Merged
Merged: 1/19/2026
Merged by: @GH05TCREW
Base:
main← Head:workspace📝 Commits (10+)
e8ab673feat(workspaces): add unified /workspace lifecycle, target persistence, and workspace-scoped RAGacb5ca0chore(workspaces): remove tracked workspaces and ignore user workspace data08e9d53chore: apply ruff fixes to project files; exclude third_party from ruff870cc4atest: suppress tarfile DeprecationWarning in import workspace tests2c82a30test(rag): assert persisted index is loaded (mtime unchanged)a186b62chore: log and notify on critical exceptions (mcp manager, tui target persistence/display)14ec8afchore: log notifier failures in RAG; notify on MCP atexit failure; add TUI notification tests63233dcrefactor: use workspaces.validation utilities for target extraction and scope checksbdb0b1ddocs: clarify gather_candidate_targets is shallow, not recursivecd1eaedchore: remove unused TargetManager import from base_agent.py📊 Changes
33 files changed (+2650 additions, -1345 deletions)
View changed files
📝
.gitignore(+12 -0)➕
dupe-workspace.tar.gz(+0 -0)➕
expimp-workspace.tar.gz(+0 -0)📝
pentestagent/agents/base_agent.py(+101 -51)📝
pentestagent/agents/crew/orchestrator.py(+37 -2)📝
pentestagent/agents/crew/worker_pool.py(+40 -6)📝
pentestagent/agents/pa_agent/pa_agent.py(+10 -2)📝
pentestagent/interface/main.py(+256 -0)➕
pentestagent/interface/notifier.py(+40 -0)📝
pentestagent/interface/tui.py(+738 -72)📝
pentestagent/knowledge/indexer.py(+6 -0)📝
pentestagent/knowledge/rag.py(+110 -3)📝
pentestagent/mcp/hexstrike_adapter.py(+123 -29)📝
pentestagent/mcp/manager.py(+24 -15)📝
pentestagent/mcp/metasploit_adapter.py(+99 -26)📝
pentestagent/mcp/transport.py(+97 -20)📝
pentestagent/runtime/docker_runtime.py(+28 -4)📝
pentestagent/runtime/runtime.py(+61 -22)📝
pentestagent/tools/notes/__init__.py(+21 -11)📝
pentestagent/tools/token_tracker.py(+20 -8)...and 13 more files
📄 Description
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.