Add coverage gap audit workflow#258
Merged
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a coverage-driven audit workflow to PromptKit by introducing a new reasoning protocol for coverage-gap triage and a companion audit template that applies the specification-drift taxonomy to uncovered regions, with manifest.yaml updated to register both components.
Changes:
- Added
coverage-gap-analysisreasoning protocol to turn uncovered regions into reproducible drift candidates and classification steps. - Added
audit-coverage-gapstemplate that packages the protocol into an investigation-report-style audit using the existing specification-drift taxonomy. - Updated
manifest.yamlto include the new protocol and template entries.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| templates/audit-coverage-gaps.md | New audit template that consumes coverage artifacts plus spec/validation/test inputs and produces an investigation report. |
| protocols/reasoning/coverage-gap-analysis.md | New deterministic protocol defining phased coverage-gap inventory, disambiguation, tracing, and drift classification. |
| manifest.yaml | Registers the new protocol and template so they can be discovered/assembled by the bootstrap engine. |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
abeltrano
reviewed
Jun 3, 2026
abeltrano
approved these changes
Jun 3, 2026
Address PR feedback by clarifying the allowed drift labels and their scope in the coverage gap audit workflow. Make excluded and inconclusive regions map cleanly to the investigation report structure, add synchronization contracts to behavioral significance, normalize next-action wording, and state the one-region-one-label rule for confirmed findings. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a coverage-driven audit path to PromptKit for spec-first maintenance work. The new protocol turns uncovered code into deterministic drift candidates, and the new template packages that method as a reusable audit using existing specification-analysis components.
New Components
Design Decisions
specification-analyst,investigation-report, andspecification-driftinstead of adding new persona, format, or taxonomy components because the contribution is a new discovery method, not a new output shape.validation_planandtest_codein the template inputs so the workflow can distinguish D2 missing validation from D11/D12/D13 test-level gaps.Checklist