fix(mcp): redact private preflight workspace signals - #885
Conversation
|
Note Gittensory Gate skippedPR closed before full evaluation. No late first comment was created.
💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers. |
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
gittensory · advisory review Reviewed 3 changed file(s) — two independent AI reviewers. Changed files: Suggested action: ✅ Safe to merge — both reviewers found no blocking issues. Reviewer A · Suggestions
Worth double-checking
Reviewer B · Suggestions
Worth double-checking
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #885 +/- ##
=======================================
Coverage 96.71% 96.71%
=======================================
Files 108 108
Lines 14641 14641
Branches 5298 5298
=======================================
Hits 14160 14160
Misses 102 102
Partials 379 379 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Motivation
accountStateblockers and private rerun guidance) from local-branch analysis into the public-facing preflight MCP/CLI surfaces.Description
publicSafeWorkspaceIntelligenceto sanitizeworkspaceIntelligenceby clearingblockers.accountStateand replacingrerunWhenwith public-safe text.gittensory_preflight_current_branchtool response and when producinggittensory-mcp preflight --jsonpayloads.gittensory-mcp preflightoutput while preserving full private intelligence for non-preflight analysis surfaces./v1/local/branch-analysissample data containing account-state blockers and add a unit test that asserts both JSON and human-readable preflight outputs redact private fields.Testing
npm test -- --run test/unit/mcp-cli-basics.test.tsand all tests in that file passed.npm --workspace @jsonbored/gittensory-mcp run buildand the build/type checks passed.git diff --checkto verify no whitespace/formatting errors were introduced.Codex Task