Skip to content

docs(ci): add coverage buffer and contributor test-quality guidance#55

Merged
JSONbored merged 3 commits into
JSONbored:mainfrom
monsterdavidliu-ux:feat/33-coverage-buffer-guidance
Jun 1, 2026
Merged

docs(ci): add coverage buffer and contributor test-quality guidance#55
JSONbored merged 3 commits into
JSONbored:mainfrom
monsterdavidliu-ux:feat/33-coverage-buffer-guidance

Conversation

@monsterdavidliu-ux

@monsterdavidliu-ux monsterdavidliu-ux commented May 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Document the 97% global coverage gate and 98%+ local branch buffer in CONTRIBUTING.md and .github/pull_request_template.md.
  • Require test scenarios and public/private safety boundaries in the feature issue template.
  • Keep Cursor in MCP setup docs; add --print mcp as a compatibility alias for generic JSON MCP hosts.

Closes #33

Parent: #32

Review feedback addressed

  • Restored Cursor in MCP client docs (apps/gittensory-ui /docs/mcp-clients) and gittensory-mcp init-client --print cursor.
  • Generic MCP hosts supported via --print mcp (same JSON snippet as Claude/Cursor).
  • Merged latest main and resolved conflicts (site/ retired in favor of TanStack UI docs).

Validation

  • npm run typecheck
  • npx vitest run test/unit/mcp-cli.test.ts (cursor + mcp alias)

Safety

  • Docs and contributor-template changes only (minor MCP CLI copy + mcp print alias)
  • No secrets, wallet details, user PATs, raw trust scores, or private rankings exposed

@JSONbored JSONbored left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#55 docs(ci): add coverage buffer and contributor test-quality guidance
action: request changes
required:

  • Do not remove Cursor from init-client/help docs; support Cursor and generic MCP if needed.
  • Otherwise the coverage guidance is useful.

Document the 95% global coverage gate and 96%+ local branch buffer in
CONTRIBUTING and the submission checklist. Require test scenarios and
public/private safety boundaries in feature issues. Enforce contributor
testing phrases via scripts/check-docs.mjs.

Keep Cursor in init-client and MCP setup docs; add --print mcp as a
compatibility alias for generic JSON MCP hosts alongside cursor.

Fixes JSONbored#33
@monsterdavidliu-ux
monsterdavidliu-ux force-pushed the feat/33-coverage-buffer-guidance branch from 30c6fab to 7f1cfe1 Compare May 31, 2026 14:02
Resolve conflicts after main retired site/ and VitePress docs:
- Port coverage buffer guidance to CONTRIBUTING and PR templates (97%/98%)
- Move MCP init-client docs to apps/gittensory-ui MCP client page
- Keep Cursor plus --print mcp alias in gittensory-mcp CLI
@monsterdavidliu-ux
monsterdavidliu-ux force-pushed the feat/33-coverage-buffer-guidance branch from 25a703a to 31f561e Compare June 1, 2026 15:18
@JSONbored
JSONbored dismissed their stale review June 1, 2026 17:33

@monsterdavidliu-ux This is ready from my side. The earlier Cursor regression is fixed, generic MCP output was added without replacing client-specific docs, and the tests now cover both Cursor and generic MCP snippets. CI is green and the branch is merge-clean.

@JSONbored
JSONbored merged commit 4d47f8b into JSONbored:main Jun 1, 2026
3 checks passed
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.

ci: add coverage buffer and contributor test-quality enforcement

2 participants