fix: correct agent MCP setup coverage - #34
Merged
Conversation
Caller-audit: Sources/PastewatchCLI/GuardCommand.swift -- updated Sources/PastewatchCLI/GuardReadCommand.swift -- updated Sources/PastewatchCLI/GuardWriteCommand.swift -- updated Sources/PastewatchCore/FileWatcher.swift -- updated Sources/PastewatchCLI/MCPCommand.swift -- updated Sources/PastewatchCLI/ScanCommand.swift -- updated Sources/PastewatchCore/DirectoryScanner.swift -- updated Sources/PastewatchCore/GitDiffScanner.swift -- updated Sources/PastewatchCore/GitHistoryScanner.swift -- updated Sources/PastewatchCore/Remediation.swift -- updated
Caller-audit: Sources/PastewatchCore/ProxyServer.swift -- updated Tests/PastewatchTests/ProxyAlertTests.swift -- updated
Caller-audit: Sources/PastewatchCore/ProxyServer.swift -- updated Tests/PastewatchTests/ProxyAlertTests.swift -- updated
Caller-audit: Sources/PastewatchCLI/GuardCommand.swift -- updated Sources/PastewatchCLI/GuardReadCommand.swift -- updated Sources/PastewatchCLI/GuardWriteCommand.swift -- updated Sources/PastewatchCore/FileWatcher.swift -- updated
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary\n- correct current MCP config paths and schemas across the 14 setup targets\n- make automatic, manual, and unavailable setup modes explicit\n- preserve unrelated JSON configuration and fail closed on malformed or incompatible merge sections\n- load Codex hooks from the supported schema and document its trust step\n- align setup documentation with actual proxy routing and MCP support\n- centralize guard filtering and dotenv-file classification\n- prevent agent-controlled commands from self-authorizing with file-local allow comments\n- scan complete plaintext and custom content-block payloads while preserving base64 binary payloads\n- document watched duplication between Darwin and Linux streaming relays\n\n## Verification\n- exact-head macOS and Linux build/test CI passed\n- swift test --filter Guard (98 tests, 0 failures)\n- swift test --filter ProxyAlertTests (39 tests, 0 failures)\n- targeted dotenv/scanner tests (34 tests, 0 failures)\n- exact-head SwiftLint and CodeQL passed\n\nCloses WO-500\nReopens and completes WO-114\nAddresses WO-502, WO-503, WO-504, and WO-505