Spec format

Complete reference for Verify spec syntax.

Structure

Every spec has a title and three required sections:

# Title

## Intent
[description]

## Scope
[scope declarations]

## Acceptance Criteria
[list of criteria]

## Execution steps
[steps to execute]

Title

Short description of the change. Appears in dashboard, PR checks, and audit trail.

Intent

Plain-language description of what and why. Provides context for verification.

Scope

Declares what the change may touch using three keywords.

Keywords

Keyword
Purpose
Required

modify

Files to create or edit

Yes

call

External services to access

No

forbid

Prohibited files or actions

No

Syntax

Glob patterns

Pattern
Matches

src/handlers/*.go

.go files in src/handlers

src/handlers/**/*.go

.go files in src/handlers and subdirectories

tests/*_test.go

Files ending in _test.go in tests

Acceptance Criteria

Checklist of requirements using markdown checkbox syntax.

Each criterion is checked independently during verification.

Complete example

Validation errors

Error
Fix

Missing required section

Add Intent, Scope, or Acceptance Criteria

Empty acceptance criteria

Add at least one criterion

Invalid scope keyword

Use modify, call, or forbid

Invalid glob pattern

Check pattern syntax

Last updated

Was this helpful?