agentic-spec-kit — one real change, gate by gate

My open-source toolkit for spec-driven development with AI agents: agents draft, build and verify, and a named person approves at every gate. This page follows the one real change it has been used on, the audit-identity change to my HealthQCopilot project, from the constitution to the point where it stopped. Watch it run on its own, pause it, or click any node or gate. Switch the profile, and read what the kit does not do before you trust any of it.

What it is
An open-source (MIT) toolkit for spec-driven development with AI coding agents, built on GitHub’s Spec Kit.
The rule
Agents draft, build and verify. A named person approves at every gate. Nothing advances on an agent’s say-so.
Shape
Eight gates (G0 to G7), 105 checks, sixteen agents, three profiles: Lite, Standard and Regulated.
Status
Pre-alpha. Used once, on one change to my own open-source healthcare project.
Code
github.com/imatiqul/agentic-spec-kit

Pre-alpha, used once. No gate of this change has a recorded decision, and the kit has never been run against live GitHub reviews, a live tracker or a chat service. The kit and the change were written by an AI coding agent working under my direction. Nothing here is production use, client work or a compliance claim.

Lite. A change passes G1, G3 and G5, and each gate needs any one of its listed roles. The installer puts in two of the six extensions. Nobody has timed how long Lite takes to adopt.

Standard. A change passes G1 to G7, and each gate needs every role listed for it. The kit adds the owners of whatever the change touches. All six extensions are installed.

Regulated. The same seven gates and the same rule as Standard, with the data, contract and security agents always on the team and a routing policy required. The real change ran under this profile: 39 files of record, about 2,500 lines, for 14 files of code and tests, about 1,250 lines.

G0The constitution

No recorded decision Approved by me in conversation.

The constitution is decided once for a project, and again when it is amended. The profiles differ in the gates of a change, G1 to G7.

Who acts

  • AgentDrafts the constitution and maps each principle to a check, or marks it as one a person judges.
  • PersonProduct Owner, Solutions Architect, and Security and Compliance approve.

What appears

The constitution, and a map from every principle to the check that enforces it or the gate where a person judges it.

Checks

CK-CONSTITUTION: every principle is machine-checked or marked human-judged.

On the real change

The agent drafted a constitution for HealthQCopilot that maps every principle and answers every finding. I approved it as drafted on 22 November 2026, with a reply in chat. It is now at version 2.

The kit’s own rule is that a reply in chat never counts as a decision. So G0 has no record.

G1The spec

No recorded decision Approved by me in conversation.

Lite requires this gate. Any one of its listed roles can approve.Standard requires this gate.Regulated requires this gate.

Who acts

  • AgentThe Spec Author drafts the spec. An Independent Verifier reads it against the constitution.
  • PersonThe Product Owner approves.

What appears

spec.md, with its risk tier and what it touches on the system map: data stores, shared components, contracts and other applications.

Checks

Wording an agent could misread, two obligations in one sentence and an oversized spec fail before this gate. A likely duplicate of existing work blocks it until a Product Owner decides. The tier rises to the highest tier the spec touches.

On the real change

Spec 004, audit identity, answers finding C4: in the audit record of requests for patient data, the user field held the same word for everyone. It is one of 25 specs written for 27 findings in the project. Neither repository holds real patient data.

I approved the eight Critical specs, this one among them, at G1 and G2 on 22 November 2026 in conversation. There was no pull-request review, so there is no decision record.

G2The clarified spec

No recorded decision Approved by me in conversation, with G1.

Lite does not require this gate.Standard requires this gate.Regulated requires this gate.

Who acts

  • AgentThe Spec Author resolves the open questions.
  • PersonThe Product Owner and the Solutions Architect approve.

What appears

The changed spec and the log of clarifications.

Checks

The wording checks run on what changed; approved wording is left alone until it changes. An amendment after approval re-opens only the gates it affects.

On the real change

Later, the two reviewing agents found seven things in this approved spec that needed to change. One example: a requirement says more than the nine services can do, because the gateway refuses a caller with no token first and audits nothing.

The seven are proposed to me as amendments. They are not applied.

G3The plan

No recorded decision A draft, corrected after the reviews. It waits for me.

Lite requires this gate. Any one of its listed roles can approve.Standard requires this gate, and adds the owners of what the change touches.Regulated requires this gate, and adds the owners of what the change touches.

Who acts

  • AgentThe Architect and the Impact Analyst write the plan and the impact report. A security reviewer and the Independent Verifier read them.
  • PersonThe Solutions Architect, plus the owner of every component the change touches or is one step from. Nobody chooses these; the impact report lists them.

What appears

plan.md, impact.md, a threat model, a privacy impact and a rollout plan.

Checks

Impact analysis walks the system map from what the spec touches. CK-THREAT-MODEL: each threat names the criterion that tests it. A Critical change plans its rollback rehearsal here. CK-GATE-RECORD: once a plan exists, the records for G1 and G2 must exist.

On the real change

The reviewers found four statements in these documents that were wrong, all written by the authoring agent. The privacy impact was wrong about how a request arrives, where the identifier goes and who can read it. The threat model called its second threat mitigated where it is not. The rollout’s signals would have missed the likely failures. The plan claimed a join to user accounts that does not hold. All four were corrected.

The gate check fails here, as it should: there is no record for G1, G2 or G3.

G4The tasks

No recorded decision A draft. It waits for me.

Lite does not require this gate.Standard requires this gate.Regulated requires this gate.

Who acts

  • AgentThe Architect cuts the plan into tasks. The Independent Verifier reads the tasks against the plan.
  • PersonThe Engineering Manager and QA approve.

What appears

tasks.md, a test strategy, and the trace manifest that links each criterion to a task and a test.

Checks

CK-TRACE fails on a missing or orphaned link in either direction. Once a task list exists, the gate check asks for the G3 record as well. Once work on the tasks shows in the tree, it asks for the G4 record too; that rule was added after this change was merged.

On the real change

Six tasks: the middleware (T001), the nine Program.cs files (T002), the middleware and pipeline tests (T003), the order tests (T004), a run of the solution’s own tests (T005), and the verification repeated on those results (T006).

G5The implementation

No recorded decision Evidence prepared. The gate could not pass, and it still waits.

Lite requires this gate. Any one of its listed roles can approve.Standard requires this gate, and adds the owner of each touched component.Regulated requires this gate, and adds the owner of each touched component.

Who acts

  • AgentThe Test Agent writes the tests first, then the Implementers build inside the paths their work items declare. A security reviewer reads the result.
  • PersonQA, plus the owner of each touched component.

What appears

14 code files: PhiAuditMiddleware.cs, nine Program.cs files and four test files with 80 tests. Beside them, the record: evidence for each task, the security review in two rounds, a trace from one line of each changed file, and a one-page brief for the reviewer.

Checks

On the branch, 80 checks pass, 23 fail and 1 was not run. Six of the failures belong to this change:

  • CK-TOUCH: the middleware belongs to the audit event stream, which the spec does not declare.
  • CK-THREAT-MODEL: two criteria test threats and are not written as abuse cases.
  • CK-GATE-RECORD: no decision record for G1, G2 or G3.
  • CK-CHARACTERIZATION: the tests that pin the old behaviour had not been run. It passes now that the real run is recorded.
  • CK-RUN-RECORD: no step records what it cost.
  • CK-SBOM: a release folder with no bill of materials.

What the security reviewer found

15 findings in its first round. It accepted the nine registrations and returned the middleware and the spec’s documents. In the code:

  • The subject could be read from an identity that was not authenticated.
  • The log lines written after the pipeline named no user, so the only user on them came from the log scope, which a request header can set.

Both were fixed in one rework round. In its second round it accepted.

On the real change

An orchestrator made six work items. A backend implementer wrote the middleware and the nine registrations, a test agent wrote the tests, and a security reviewer, started in a new session with a fixed list of what it could read, reviewed for this gate.

The package registry could not be reached from where the change was written, so the test results in the record came from a stand-in project: 80 passed once the rework was done. Every evidence file says it is not the solution’s own test run.

The record says two more things about itself. The change was written before the run was opened and then recorded task by task. And one session played both the implementer and the test agent, so the rule that tests are written first was not kept.

G6The verification

No recorded decision Verified by an agent in three rounds, the third on the real test results. No person has reviewed it.

Lite does not require this gate. The independent verifier is still one of the four agents Lite installs.Standard requires this gate.Regulated requires this gate.

Who acts

  • AgentThe Independent Verifier, in a new session, given only the artefact, the spec, the constitution and the map.
  • PersonQA approves.

What appears

The verification report in three rounds, the third on the real test results, the list of what the verifier was given, and a one-page brief for the reviewer.

Checks

CK-AUTHOR-NEQ-VERIFIER: the author is never the verifier, on recorded agent ids. It now also fails on a record whose reviewer is not named. CK-VERIFY-INPUTS: the verifier’s input list is checked. The kit cannot see what a model was actually shown; that isolation is procedural.

What the verifier found

14 findings in its first round, using its own seeded defects and a real host. It returned both test tasks.

  • No test looked at the user in the event or in a log line, at a 403, or at a subject with capitals.
  • Three “rejected token” cases took the no-token path.
  • The check of registration order could be passed by a tenth service in the old order, in two ways.

Five of the defects it planted passed every test until the rework. After the rework there were 80 tests. In its second round it planted more, accepted the work, and left a list in the plan of what still slips through.

On the real change

The verifier was given the spec, the plan documents, the constitution, the map and the change, and no work record, hand-off note or conversation. It listed every file it opened. Its first verification was by reading and by a stand-in run.

After the merge the real tests ran: 520 of 520 passed, the 80 tests of the change among them.

An independent verifier agent then reviewed the record of that run. It sent the record back once, because two sentences claimed more than the results files showed. It accepted the corrected record and repeated its verification on the real results.

That third round closes six of its fourteen earlier findings, leaves five open and three open in part, and adds six. The first of the six says what the kit had not said: the change is on main and no gate of the spec has a decision. To see what had been compiled, the verifier also read nine project and build-setting files and listed them; the check on its inputs fails on that list, and whether a verifier may read build settings is not decided.

G7The release

No recorded decision Evidence prepared. Nothing was released or deployed.

Lite does not require this gate.Standard requires this gate.Regulated requires this gate.

Who acts

  • AgentThe Release Agent prepares the release evidence.
  • PersonDevOps / SRE and the Product Owner approve.

What appears

Release notes, an operational-readiness page, a rollout file and a one-page brief for the reviewer.

Checks

CK-SBOM fails: a release folder exists with no bill of materials. A Critical change shows its rollback rehearsal here.

On the real change

The gate needs a bill of materials, which needs a build. It needs a rollback rehearsal and staging checks, which need an environment. None of those has happened.

ThenThe merge, without the gates

No gate passed I merged the change myself. A merge is not a gate decision.

This stop is not part of the kit’s workflow. It is what happened.

Who acts

  • PersonMe, alone. I pushed three branches, opened three pull requests and merged all three within a minute. No review carried a gate’s line.

What the kit did

It did not notice. On main its checks reported the same three missing gate records as before the merge: 79 pass, 24 fail, 1 not run. It had no rule for a change that reaches the default branch without G5 and G6.

The rule came afterwards. The gate check now asks for G4 once work on a spec’s tasks shows in the tree, and on the default branch also for G5 and G6. On the merged main it reports G4, G5 and G6 for this spec. It reports after the merge and does not hold a merge back: on a pull request it asks for G4 and what precedes it, so even a required check would not stop a merge for want of G5 and G6.

What happened next

  1. No pipeline ran. Nothing has run in that repository’s CI since May 2026.
  2. The first real build stopped at restore with 147 errors. None came from the merge: ten packages had advisories published since the suppression list was last looked at, and the build treats warnings as errors. Nothing had told anyone.
  3. With the tests captured in a results file: 520 of 520 passed, the 80 tests of the change among them. The eleven old audit tests passed at the base commit. The stand-in runs had reported the same 80 and the same 11.
  4. The verifier agent reviewed that record, sent it back once, accepted the correction and repeated its verification on the real results.
  5. The review of that record was written down under no name. The command was run without a reviewer’s name, and the kit wrote “a person with no name” as the one who returned the record and then accepted it, in the work item and in two lines of the audit log. No check noticed; it was found some hours later. The kit now refuses a review that names nobody, and the log, which can only be added to, carries the correction as a later entry. The change this page follows exists because an audit record named nobody.

The tests pass and the agent reviews are on record. The gates still have no decision.

Which gates each profile needs

From the kit’s role guide and release notes. The profile switch above marks the same thing on the gates.

GateLiteStandardRegulated
G1 SpecRequiredRequiredRequired
G2 Clarified specNot requiredRequiredRequired
G3 PlanRequiredRequiredRequired
G4 TasksNot requiredRequiredRequired
G5 ImplementationRequiredRequiredRequired
G6 VerificationNot requiredRequiredRequired
G7 ReleaseNot requiredRequiredRequired
Approval at a gateAny one listed roleEvery listed roleEvery listed role
Extensions installed2 of 66 of 66 of 6
Python · PyYAML · github/spec-kit v1.4.3 · six extensions · 105 checks · sixteen agents · MIT Atiqul Islam · atiqulislam.dev
The figures on this page are from the kit’s own reports as of 22 November 2026. One model played every agent: the author and the reviewers were separated by session and by what they were given, not by model.
Write-up Read what held and what did not Code agentic-spec-kit on GitHub Report The change, as recorded