Skip to content

feat(hooks): add post_tool MCP hook — auto-scan file after AI write (closes #47 phase-1)#113

Merged
Wolfvin merged 1 commit into
mainfrom
feat/47-mcp-post-tool-hook
Jun 30, 2026
Merged

feat(hooks): add post_tool MCP hook — auto-scan file after AI write (closes #47 phase-1)#113
Wolfvin merged 1 commit into
mainfrom
feat/47-mcp-post-tool-hook

Conversation

@Wolfvin

@Wolfvin Wolfvin commented Jun 30, 2026

Copy link
Copy Markdown
Owner

Summary

Implements Phase 1 of issue #47: MCP post_tool hook.

What changed

  • New: scripts/mcp_hooks/init.py, scripts/mcp_hooks/post_tool.py
  • Modified: scripts/mcp_server.py (HookManager class)
  • Default: disabled (opt-in via .codelens/hooks.json)
  • Non-blocking: ThreadPoolExecutor

Verification

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@Wolfvin Wolfvin merged commit ca89f36 into main Jun 30, 2026
0 of 6 checks passed
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
D Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

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.

[FEATURE] MCP hooks — auto-trigger scans on AI write / dep change / task end (extracted from #23)

1 participant