Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Deploy docs to GitHub Pages

on:
push:
branches: [main]
paths: [product-docs/**]
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: pages
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
working-directory: product-docs
- name: Build docs
run: npm run build
working-directory: product-docs
- uses: actions/upload-pages-artifact@v3
with:
path: product-docs/dist

deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ Thumbs.db
# Test coverage
coverage/

# Documentation site build artifacts
product-docs/node_modules/
product-docs/dist/
product-docs/.astro/

**/CLAUDE.md

docs/*
52 changes: 52 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,58 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.4.0] - 2026-04-06

### Added

- **MCP Server** — `vibecop serve` starts an MCP server on stdio transport with 3 tools:
- `vibecop_scan` — scan a directory for AI code quality issues
- `vibecop_check` — check a single file for issues
- `vibecop_explain` — explain what a detector checks for, its severity, and category
- New dependency: `@modelcontextprotocol/sdk` for MCP protocol support
- Engine API: exported `scan()` and `checkFile()` from `engine.ts` for programmatic use
- Docs: Tier 3 MCP setup in `docs/agent-integration.md`, Phase 3.5 in `docs/design.md`

### Fixed

- **debug-console-in-prod:** auto-detect CLI/server projects via `package.json` `bin` field and skip — servers legitimately use console.log. Reduced default flagged methods to `log` and `debug` only (was 8 methods). Made configurable via `.vibecop.yml` `methods` array
- **undeclared-import:** skip packages importing themselves — reads `package.json` `name` field for JS/TS, normalizes hyphens to underscores for Python pyproject.toml matching
- **placeholder-in-production:** skip fixture, example, sample, mock, demo directories and `.md` files

### Changed

- Refactored `cli.ts` — scan/check orchestration moved to `engine.ts`, CLI is now a thin layer

## [0.3.1] - 2026-04-04

### Fixed

- Add native binding `optionalDependencies` and install verification test

## [0.3.0] - 2026-04-04

### Added

- 6 test quality detectors: assertion-roulette, sleepy-test, snapshot-only-test, empty-test, conditional-test-logic, no-error-path-test
- Custom YAML rules via `.vibecop/rules/*.yaml` using ast-grep pattern syntax
- `vibecop test-rules` command to validate custom rules against inline examples
- GCC output format (`--format gcc`) for editor/IDE integration
- Test utility refactor: shared `findTestFunctions()`, `countJsAssertions()`, `countPyAssertions()`

### Fixed

- `double-type-assertion` detector rewritten to use AST (was regex-based, false positives on strings)

## [0.2.0] - 2026-04-03

### Added

- Agent integration: `vibecop init` auto-detects 7 AI coding tools and generates config files
- 6 new LLM/agent safety detectors: unsafe-shell-exec, llm-call-no-timeout, dynamic-code-exec, llm-unpinned-model, llm-no-system-message, llm-temperature-not-set
- Hallucinated package detector with bundled npm top-5K allowlist
- Agent output format (`--format agent`): one finding per line, token-efficient
- Engine dedup with `DetectorMeta.priority` — keeps highest-priority finding per file:line

## [0.1.2] - 2026-04-02

### Fixed
Expand Down
Loading
Loading