Skip to content

feat: add Intent system for semi-automated attack loop#8

Open
Esonhugh wants to merge 3 commits intomasterfrom
intent
Open

feat: add Intent system for semi-automated attack loop#8
Esonhugh wants to merge 3 commits intomasterfrom
intent

Conversation

@Esonhugh
Copy link
Copy Markdown
Collaborator

Summary

  • Add Intent queue system with Goal/Intent domain types and MCP tool integration
  • Implement TreeView UI for reviewing, approving, and dismissing intents from the sidebar
  • Expose set_goal, get_goal, create_intent, list_intents, update_intent_status, execute_intent as MCP tools for AI-driven pentest orchestration
  • Clean up command registration: stateless commands in registerCommands, feature-scoped commands in their own modules

Key changes

  • Domain: Intent and Goal types (src/core/domain/intent.ts)
  • Feature module: src/features/intent/ — queue, treeview, approve/skip commands
  • MCP Server: 6 new intent-related tools in httpServer.ts
  • registerCommands: refactored with Exposed/Internal separation and clear ownership convention

Test plan

  • Unit tests for Intent domain types pass (src/test/unit/core/domain/intent.test.ts)
  • Verify TreeView renders pending/approved/completed intents correctly
  • Test MCP tools via Claude/Cursor: create_intent → approve → execute_intent flow
  • Confirm goal setting via Command Palette and MCP tool

🤖 Generated with Claude Code

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.

1 participant