Skip to main content
Glama
YanKe1816

Acceptance Criteria Extractor

by YanKe1816
README.md
# Acceptance Criteria Extractor

Acceptance Criteria Extractor is a Cloudflare Workers + TypeScript app for extracting explicitly written acceptance criteria from requirement documents, user stories, feature specifications, testing notes, or task descriptions.

## Identity

- App name: Acceptance Criteria Extractor
- App slug: `acceptance-criteria-extractor`
- Version: `1.0.0`
- Cloudflare Worker name: `acceptance-criteria-extractor`
- MCP endpoint: `/mcp`
- Support email: `sidcraigau@gmail.com`

## Tool

The only exposed MCP tool is `extract_acceptance_criteria`.

It accepts `source_text` and returns structured criteria, source fragments, extracted Given/When/Then pieces where present, `criteria_count`, and structured errors.

The tool is read-only, stateless, deterministic, and does not call external APIs. It does not generate new acceptance criteria, evaluate whether criteria are sufficient, run tests, write to databases, create issues, send email, submit forms, or modify external systems.

## Local Setup

```text
npm install
npm run typecheck
npm run build
npm run test:mcp:local
npm run test:mcp:production
```

## Local Run

```text
npm run dev
```

Routes:

- `GET /`
- `GET /health`
- `POST /mcp`

Required MCP methods:

- `initialize`
- `tools/list`
- `tools/call`

## Gate Status

This repository includes the Gate 3 Review Shell routes, challenge route, and production MCP regression command.