cd /news/developer-tools/turning-spfx-factory-into-an-evidenc… · home topics developer-tools article
[ARTICLE · art-116780] src=dev.to ↗ pub= topic=developer-tools verified=true sentiment=· neutral

Turning spfx-factory Into an Evidence-Gated SPFx Agent

The latest release of spfx-factory, an open-source tool for generating SharePoint Framework (SPFx) projects, introduces an evidence-gated workflow that records verification results for each step of the generation process. The tool now logs checks such as scaffold completion, code implementation, policy validation, local npm checks, and independent assurance, with each check reporting a status of verified, warning, blocked, or not-tested. This evidence ledger aims to provide transparency about what was tested and what remains unknown, distinguishing local verification from tenant validation.

read1 min views9 publishedAug 31, 2026

AI can generate an SPFx project. That is not the same as proving the project is ready.

The latest spfx-factory

release adds an evidence ledger around the existing generation workflow:

SCAFFOLD

— whether the official scaffold completed;CODEX

— whether implementation was requested and completed;POLICY

— whether static policy checks passed;LOCAL

— whether requested local npm checks passed;ASSURANCE

— whether an independent spfx-assurance

check ran;TENANT

— always explicitly not-tested

.Every check reports one of:

verified

;warning

;blocked

;not-tested

.The existing factory report status remains backward compatible. Evidence is recorded in a parallel evidence

field rather than silently changing the old contract.

The factory can invoke spfx-assurance

when it is already available through SPFX_ASSURANCE_BIN

or PATH

.

It does not:

npx

;When the checker is absent, the result is not-tested

with an actionable explanation.

spfx-factory inspect --output ./generated
spfx-factory inspect --output ./generated --json

The inspection command is read-only. It reads the existing factory-report.json

, prints the evidence, and does not rerun generation or verification.

Warnings do not break an otherwise green run by default. Teams that want warning-gating can opt in:

spfx-factory generate \
  --spec specs/document-review.json \
  --output ./generated \
  --fail-on warning

This is local evidence, not tenant validation. A green local report does not prove:

That limitation is part of the report, not a footnote hidden outside it.

The useful product boundary for AI-assisted SPFx development is not “the model wrote code.” It is:

The system cannot call the work complete without showing what was checked, what passed, and what remains unknown.

The project is open source:

https://github.com/vystartasv/spfx-factory

The release adds an evidence layer to the factory while preserving its existing generation and policy behaviour.

── more in #developer-tools 4 stories · sorted by recency
── more on @spfx-factory 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/turning-spfx-factory…] indexed:0 read:1min 2026-08-31 ·