Skip to content

Conversation

@vapi-tasker
Copy link

@vapi-tasker vapi-tasker bot commented Jan 27, 2026

Summary

  • Regex pattern support for coverage scope: Added ability to use raw regex patterns in coverage scope config by prefixing with regex: (e.g., regex:^src/app/.*\.(ts|tsx)$). This matches atlas's precise coverage targeting.

  • Vapi Next.js preset: Added coveragePreset: 'vapi-nextjs' option with atlas-matching patterns for:

    • Include: src/app/, src/components/, src/hooks/, src/lib/
    • Exclude: layout.tsx, page.tsx, UI components, barrel files, test files
  • Detailed rules guidance: Added rulesGuidance config with Vapi-specific conventions for:

    • API routes (auth, SSE events, status codes, tests)
    • React components (UI components, cn(), @/ aliases, skeletons, DetailPageHeader)
    • Hooks (use* naming, no any)
    • Test files (location, test cases, vi.mock patterns)
    • All files (no hardcoded values, console prefixes, explicit types, import order)
  • Dotenv loading: Added automatic loading of .env.local on guardian initialization, matching atlas behavior.

Test plan

  • npm run typecheck passes
  • npm run lint passes
  • npm run build passes
  • Manual testing: Create a config with coveragePreset: 'vapi-nextjs' and verify regex patterns work
  • Manual testing: Verify .env.local values are loaded

Linear Issue

VAP-11522


Generated with Claude Code

- Add support for raw regex patterns in coverage scope config (prefix with "regex:")
- Add vapi-nextjs preset with atlas-matching coverage scope patterns
- Add detailed Vapi-specific rules guidance (API routes, React components, hooks, tests)
- Add dotenv loading for .env.local in guardian initialization
- Export RulesGuidance interface and DEFAULT_VAPI_RULES_GUIDANCE constant

Fixes VAP-11522

Co-Authored-By: Claude <noreply@anthropic.com>
@linear
Copy link

linear bot commented Jan 27, 2026

VAP-11522 [tasker] Add pre-push hook with CI checks to tasker repo

Request from Slack

Requested by: tejas
Slack message: https://vapi-ai.slack.com/archives/C0A94RFGC8Z/p1769489258287129


look at the pre-push agentic hook added to the atlas repo, it basically resolves all ci checks (test, lint, etc) and guarantees test coverage before pushing to a branch

can you implement the same on the tasker repo?

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.

0 participants