feat(mcp): add gittensory_validate_config tool for .gittensory.yml#4049
Merged
gittensory-orb[bot] merged 2 commits intoJul 7, 2026
Merged
Conversation
|
Tip 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 ✅ Gittensory review result - approve/merge recommendedReview updated: 2026-07-07 14:48:16 UTC
✅ Suggested Action - Approve/Merge
Review context
Contributor next steps
Signal definitions
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 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.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4049 +/- ##
=======================================
Coverage 93.57% 93.58%
=======================================
Files 378 379 +1
Lines 35487 35530 +43
Branches 13017 13033 +16
=======================================
+ Hits 33207 33250 +43
Misses 1618 1618
Partials 662 662
🚀 New features to boost your workflow:
|
2913a84 to
70e7d98
Compare
Contributor
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Expose manifest pre-validation via hosted MCP, stdio MCP, API route, and CLI using parseFocusManifestContent as the single parser source. Closes JSONbored#2057 Co-authored-by: Cursor <cursoragent@cursor.com>
Raise patch coverage for focus-manifest-validation.ts to satisfy codecov/patch. Co-authored-by: Cursor <cursoragent@cursor.com>
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
Adds
gittensory_validate_configso contributors/operators can pre-validate a.gittensory.ymlstring before pushing. The tool usesparseFocusManifestContentas the single parser source and returns{ present, warnings, normalized, status }wherestatusisok|warn|error.Surfaces:
src/mcp/server.ts)packages/gittensory-mcp/bin/gittensory-mcp.js)POST /v1/validate/focus-manifestgittensory-mcp validate-config --file <path>Private
maintainerNotesare omitted fromnormalizedoutput.Closes #2057
Validation
test/unit/focus-manifest-validation.test.ts— ok/warn/error arms, malformed YAML/JSON, oversize input, maintainerNotes redactiontest/unit/mcp-output-schemas.test.ts— hosted MCP tool + outputSchematest/unit/mcp-cli-validate-config.test.ts— CLI wrappertest/integration/api.test.ts— API route happy/invalid paths