Spec→code conformance before merge: shared report schema + deterministic gate consumer #2726
PascalThuet
started this conversation in
Ideas
Replies: 1 comment
-
|
Would love to see an extension/preset/workflow first, yes. Then we can see how it works and how it is adopted :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The March newsletter names a roadmap direction I care about: CI/CD integration that incorporates Spec Kit verification into PR workflows and fails builds when specs are out of alignment. April also calls spec-level drift detection an open area.
I looked for an existing maintainer-led design thread for that exact mechanism and did not find one. I did find a cluster of adjacent community threads:
Quratulain-bilal floats an opt-in, deterministic
/speckit.trace(stable IDs + coveragematrix). Open, with no visible maintainer response yet.
/auditfor post-implementation verification/speckit.verifyfor browser/CLI testingspec.mdas source of truthThere are also strong community extensions already doing useful work here: CI Guard (compliance report, gate config, drift check, badge), Verify (post-implementation read-only verification), plus Spec Sync, Reconcile, and Architecture Guard. So I do not think the gap is "no one has built a verifier."
The narrower gap I want to discuss is the merge gate contract.
Today, the closest tools generate useful conformance signals through agent prompts. CI Guard, for example, instructs the agent to be deterministic and to recommend an exit code, but the verdict is still produced by an LLM interpreting a Markdown command. That is fine for analysis, but weak as the final merge gate.
What I think is missing is a small shared primitive:
A versioned conformance-report schema: requirement / acceptance criterion /
task →
satisfied,missing,deviated, with evidence refs and deviationnotes.
A deterministic gate consumer: no LLM, just:
This does not claim the report is magically correct. Report generation can remain agentic and extension-driven. The point is only to make the final PR decision reproducible: same report + same config = same exit code.
This seems aligned with the roadmap item while staying smaller than "add a native verifier command." Existing extensions could keep competing on report generation quality, while converging on one report shape and one dumb gate decision.
Concretely, this dovetails with #471: a stable-ID + coverage-matrix generator like the
/speckit.tracefloated there would emit exactly the report this gate consumes — two halves of one idea rather than competing commands. It would be better to align on a shared report shape than to create parallel formats.Before building anything large, I would like maintainer guidance:
project direction, given the CI/CD roadmap item?
eventually, or should this stay fully extension-owned?
revisit core adoption if the community finds it useful?
Happy to prototype this extension-first and coordinate with CI Guard / Verify authors if the direction makes sense.
(Posting with AI assistance, disclosed per
CONTRIBUTING.md.)Beta Was this translation helpful? Give feedback.
All reactions