Skip to content

[Extension]: Add Test Coverage Drift Control #3600

Description

@benizzio

Extension ID

test-coverage-drift-control

Extension Name

Test Coverage Drift Control

Version

0.3.0

Description

Generate incremental coverage drift reports and planned remediation tasks after implementation

Author

Igor Benicio de Mesquita

Repository URL

https://github.com/benizzio/spec-kit-test-coverage-drift-control

Download URL

https://github.com/benizzio/spec-kit-test-coverage-drift-control/archive/refs/tags/v0.3.0.zip

License

MIT

Homepage (optional)

https://github.com/benizzio/spec-kit-test-coverage-drift-control

Documentation URL (optional)

https://github.com/benizzio/spec-kit-test-coverage-drift-control#readme

Changelog URL (optional)

https://github.com/benizzio/spec-kit-test-coverage-drift-control/blob/main/CHANGELOG.md

Required Spec Kit Version

=0.2.0

Required Tools (optional)

None.

Number of Commands

2

Number of Hooks (optional)

1

Tags

analysis, coverage, testing, quality, maintenance

Key Features

  • Generates or incrementally refreshes feature-level test coverage drift reports.
  • Compares implementations with explicit or conservatively derived repository coverage policies.
  • Preserves historical findings with stable COV-DRIFT-### identifiers and Pending/Resolved statuses.
  • Records evidence-based remediation plans and appends executable remediation tasks to tasks.md.
  • Provides an optional after_implement hook for automatic report generation.

Testing Checklist

  • Extension installs successfully via download URL
  • All commands execute without errors
  • Documentation is complete and accurate
  • No security vulnerabilities identified
  • Tested on at least one real project

Submission Requirements

  • Valid extension.yml manifest included
  • README.md with installation and usage instructions
  • LICENSE file included
  • GitHub release created with version tag
  • All command files exist and are properly formatted
  • Extension ID follows naming conventions (lowercase-with-hyphens)

Testing Details

Tested on:

  • Linux 7.1.4-1-cachyos x86_64
  • Spec Kit 0.12.15
  • OpenCode integration

Test project: https://github.com/benizzio/ghostfolio-cryptogains

Test evidence:

Test scenarios:

  1. Installed v0.3.0 from the GitHub release archive in a clean Spec Kit 0.12.15 project.
  2. Confirmed registration of both commands and the optional after_implement hook.
  3. Generated and incrementally refreshed a coverage drift report for a completed real-project feature.
  4. Generated evidence-based remediation plans and executable tasks for reported findings.
  5. Executed and validated the remediation workflow, including resolved finding statuses and resolution evidence.
  6. Verified the project’s canonical coverage gate passed with 100% line and branch coverage.

Example Usage

# Install the extension
specify extension add test-coverage-drift-control --from https://github.com/benizzio/spec-kit-test-coverage-drift-control/archive/refs/tags/v0.3.0.zip

# Generate or refresh the drift report
/speckit.test-coverage-drift-control.report

# Plan remediation and append tasks
/speckit.test-coverage-drift-control.remediation-plan

# Execute the generated remediation tasks
/speckit.implement

Proposed Catalog Entry

{
  "test-coverage-drift-control": {
    "name": "Test Coverage Drift Control",
    "id": "test-coverage-drift-control",
    "description": "Generate incremental coverage drift reports and planned remediation tasks after implementation",
    "author": "Igor Benicio de Mesquita",
    "version": "0.3.0",
    "download_url": "https://github.com/benizzio/spec-kit-test-coverage-drift-control/archive/refs/tags/v0.3.0.zip",
    "repository": "https://github.com/benizzio/spec-kit-test-coverage-drift-control",
    "homepage": "https://github.com/benizzio/spec-kit-test-coverage-drift-control",
    "documentation": "https://github.com/benizzio/spec-kit-test-coverage-drift-control#readme",
    "changelog": "https://github.com/benizzio/spec-kit-test-coverage-drift-control/blob/main/CHANGELOG.md",
    "license": "MIT",
    "category": "code",
    "effect": "read-write",
    "requires": {
      "speckit_version": ">=0.2.0"
    },
    "provides": {
      "commands": 2,
      "hooks": 1
    },
    "tags": [
      "analysis",
      "coverage",
      "testing",
      "quality",
      "maintenance"
    ],
    "verified": false,
    "downloads": 0,
    "stars": 0,
    "created_at": "2026-07-21T00:00:00Z",
    "updated_at": "2026-07-21T00:00:00Z"
  }
}

Additional Context

This is a new community catalog submission.

Release: https://github.com/benizzio/spec-kit-test-coverage-drift-control/releases/tag/v0.3.0

The release archive was independently downloaded, integrity-tested, and installed in a clean Spec Kit 0.12.15 project. The installation reported Test Coverage Drift Control v0.3.0 with 2 commands and 1 optional hook.

The extension has also been exercised in the public ghostfolio-cryptogains project, including report generation, incremental finding tracking, remediation planning, task generation, and resolution evidence.

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions