Repository navigation
Goldpath 0.1.0-preview.8
Pre-release
Pre-release
·
175 commits
to main
since this release
[0.1.0-preview.8] - 2026-09-07
The seam-and-proof train. The consume seam reaches the generated apps, and a coverage
audit of every CLI verb, flag value and feature against what proves it closes four real
defects, gives six verbs their first end-to-end proof, gives the two newest modules the
analyzer rules and console journey they shipped without, and makes five ledger claims
true. Adopters: read the upgrade guide first — GP0405 becomes a Warning and GP1901 is a
new ERROR.
Closed by the coverage audit (2026-09-05)
Changed
- Ledger honesty pass (the coverage audit's fourth finding). Five claims the ledgers
could not support are corrected in place, each saying what was wrong and when:
the two registers disagreed about T1 (the CorPay nightly asserts the console is SERVED
and inherits the floor; it does not DRIVE it, so the thread stays open and the
overstating row is withdrawn); T7's trigger has fired and the thread now reads as
unscheduled rather than blocked; the golden-manifest coverage table listed GM coverage
forldapandsaml, values the manifest schema does not accept, so it now carries a
third column saying what actually runs; an RFC row calledGoldpath.Sdkunpublished
though it shipped on preview.7; and a specanchor DoD box sat unchecked with all three
of its sub-clauses satisfied. Goldpath.Analyzershas a mutation gate. The package that enforces forty-nine
executable standards was the one with no ungameable metric over it, and the exclusion
ledger carried no row explaining why. It scores 72.67 % and joins the nightly matrix,
which is sixteen packages now. Its single exclusion (Descriptors.cs, forty-nine
descriptor initialisers with no branching) is justified in the ledger.- Mutation scores are recorded. The release checklist asked for "current" scores and
nothing wrote one down, so the gate could be audited only by whoever ran it.
stryker/README.mdgains a measured-scores table and the checklist gains the line that
fills it.
Fixed
- The wizard offered a module the template cannot take.
goldpath new's module menu was
the recipe list, which carriesoutbox— a recipe with no--featuresvalue, so choosing
it printed and randotnet new goldpath-solution --features outboxand the template refused.
The menu is now the template's own choice list, pinned againsttemplate.jsonby a test. goldpath add feature approvalsleft the console rail over nothing. The recipe wired the
module and the jobs block but never emittedapp.MapGoldpathApprovalsAdmin(...), so a
CLI-grown app showed an Approvals section with no endpoint behind it. Every admin-bearing
recipe now has that invariant under test.goldpath new service|gatewayswallowed flags in silence.new service Billing --db sqlserverignored--dband generated a head on the solution's shape without a word; the
two verbs now refuse any flag but--path, naming it.- The usage text names
outboxas anadd feature-only recipe (it listed thirteen of fourteen).
Added
- The CLI has its own proof lane (
scripts/validate-cli.sh, nightly jobcli-proofs).
The golden-manifest lane proves the TEMPLATES — it callsdotnet newdirectly — so six
verbs an adopter types had unit tests and nothing else: the wizard,init,export compose,discover,db statusandcheck(which ran only in the CorPay job, against
the PUBLISHED tool, never the working tree). The lane drives every one of them on a real
generated app and asserts what each must produce, includingdocker compose config
accepting the exported file andchecknaming each of its four steps. - Four nightly shapes for values that had none:
GmOneViaCliandGmWorkerViaCli
generate throughgoldpath new solution|workerinstead ofdotnet new(the verb the
guides teach had no end-to-end proof);GmApiKeyproves the api-key floor, which was in
the template's choices, the CLI's flag and the wizard and in no shape;GmGrownRestruns
the eightadd featurerecipesGmGrowndoes not, behind an auth floor. The in-solution
fleet gains a third worker soadd worker --trigger scheduleis proven too.
Changed
- Mutation ledger honesty: the nine unrowed exclusions (Archival, Bulk and CLI) now carry their
justification instryker/README.md, andignore-methods: Log*— which the ledger claimed
for every package — is declared in all twenty-one configs instead of ten. - The hosted-fit mutation matrix is called fifteen packages everywhere (it was ten, thirteen and
fifteen in three places).docs-freshness.shgained two gates: the spelled-out count must
match the matrix, and every stryker exclusion must have a ledger row.
Changed (this train, at the boundary)
- The templates, the worker template and
goldpath add workerconsume through the seam —
OrderPlacedHandler/WorkItemQueuedHandler : IIntegrationEventHandler<T>registered with
bus.AddGoldpathHandler<TEvent, THandler>(); queue names unchanged. GP0405 is a Warning
from this train (was Info). Both templates andgoldpath add feature fileexchangemap
MapGoldpathFileExchangeAdmin()behind the auth floor. CorPay moves its three consumers
when it takes this train (it binds to the published packages). - Clean layout on postgres built red (NU1903) — the Infrastructure class library lifted
EF Design's vulnerableSystem.Security.Cryptography.Xmlonly under the SqlServer
provider; the lift is now unconditional and the nightly gainsGmOneClean(clean layout
on the default providers + fileexchange), the shape that was missing.
Changed
- Kit-freshness gate tightened — the console may now lag
@qorpe/uiby at most ONE minor
or 14 days (was two minors / 30 days); the three consumers had drifted three minors apart
in August under the old window. Same change in mockifyr's copy.
Added
- The bus conformance suite (ADR-0013 §3) —
tests/Goldpath.Messaging.Conformance: eight
facts a bus must hold for Goldpath, proven on real RabbitMQ + PostgreSQL through the seam
(exactly-once on a re-delivered id, tenant + correlation across the broker, the poison
ladder then the fault, a 1 MiB payload, version tolerance, the crash between commit and
publish, a broker outage, a graceful stop draining across processes). The oracle is
MassTransit 8.5.10; a second engine runs the same class. In the CI integration job. goldpath add worker --trigger jobsrefuses a solution without a jobs rider — the
in-solution fleet shares the app database's jobs tables, which the Api's context owns;
without a rider it booted against nothing (found by theGmWorkerInSolutionnightly).
The refusal names the alternatives. The nightly shapes that grow an app by verbs now run
goldpath db addafter the recipes, as the verbs' next steps tell an adopter — the
GmGrownshape's first nightly hung on a model without its migration.goldpath add workerinherits the solution's floor and features (the in-solution
half of T25's worker parity): a worker added to an authed solution is authed — its fleet's
admin surface sits behind the SAME ops policy instead of the hard-codedexposeUnsecured
— and it composes the solution's cross-cutting features on its own context (audit rows,
soft-delete filter, tenant isolation, data protection, the app-database lock; table-owning
ones only where the trigger owns a context). TheGmWorkerInSolutionnightly shape proves
it with an authed, three-feature solution growing a jobs worker and a queue worker.- The consume seam (ADR-0013, messaging-exit RFC §5) —
IIntegrationEventHandler<TEvent>,
IntegrationEventContext(message id, correlation, tenant, retry attempt, headers) and
bus.AddGoldpathHandler<TEvent, THandler>()/AddGoldpathHandlers(assembly): an adopter's
handler names no bus type, drains the SAME queue the consumer of that name drained, and
rides the pipeline's retry, inbox and tenant restoration. Analyzer GP0405 steers
IConsumer<T>implementations toward it — Info in this train; Warning at the next boundary,
when the templates, the CLI's worker skeleton and CorPay move (release checklist). With the
publish seam of preview.7 this completes the application-side vocabulary the swappable
engine needs. - The
GmGrownnightly shape — a lean app (--auth none --broker none) grown by five
goldpath add featurerecipes (audittrail, softdelete, locking, bulk, outbox), then
built, drift-checked and smoked: the CLI verb's end-to-end proof (it had shipped
UNPROVEN). Its first local runs found FOUR recipe bugs, fixed below. Goldpath.FileExchangeadmin surface + the console's seventh module (open-threads T22)
—MapGoldpathFileExchangeAdmin()mounts/goldpath/admin/fileexchange(contract §7.1,
READ-ONLY:/railswith live counts,/filesnewest-archive-first,/quarantinewith each
row's reason and age; R3 repeats; file names ride the query). The console gains "File rails"
(rails, files, the quarantine sheet), a Today card ("Rows in quarantine") and triage rows;
theGoldpath.FileExchangemeter (files received/rejected, rows applied/quarantined/
duplicate, per rail) and its Grafana board ship with the package. The reads ride a new
IGoldpathFileLedgerQueriesseam both shipped ledgers implement; a custom ledger without it
is refused at startup in words. The templates andgoldpath add feature fileexchangemap
the surface at the next train boundary (they may only consume PUBLISHED API — the
release checklist carries the line); the console smoke host proves it against source now.
[schema]GoldpathFileQuarantine.QuarantinedAtandGoldpathFileArchive.ArchivedAt
columns join the ledger model — one additive migration for adopters on the EF ledger.- Ops packs for the seven ops-less packages (open-threads T17 closed) — Messaging
(runbook + board over the MassTransit meter), Data (runbook + board over EF Core's and
Npgsql's meters), ApiDefaults (runbook: deprecated-version traffic, sunset procedure,
cursor-invalid triage), Console (runbook + board over the admin routes), Sdk (the guard's
two log lines as alerts), Locking.SqlServer (the applock half of the Locking pack),
Abstractions (N/A by construction, written down).Goldpath.ServiceDefaultsnow
subscribes to theMicrosoft.EntityFrameworkCoreandNpgsqlmeters — they never
reached the collector before, whatever the RFC note said. - Mutation gates for the three thin floor suites —
Goldpath.Console(75%),
Goldpath.Messaging(80%) andGoldpath.ServiceDefaults(70%) join the nightly matrix
with the family thresholds (break 70); the corners the first runs left alive got tests
(the sampler ladder, the correlation id's exact boundary, live/ready tag split, the
guard's queue, the framework's own Fault messages passing the boundary guard, options
binding). - Worker template concept parity (open-threads T25, decided 2026-09-03) —
goldpath new workergains--auth openid|apikey|nonefor the MANAGEMENT head (the jobs admin surface
and the console now sit behind the ops floor, or carry the visibleexposeUnsecured
opt-out undernone) and--features multitenancy|audittrail|softdelete|dataprotection| locking|notification|fileexchange— the features whose concept exists in a process
without business HTTP. The riders (notification, fileexchange) bring the jobs runtime and
the console to a queue worker; the jobs worker on SQL Server now sets the jobs store
provider (it silently defaulted to the postgres delegate before). The manifest schema's
worker branch acceptsproviders.authand the seven feature keys; the worker's drift
profile carries the same feature⇄package⇄call pairs the solution has; the worker ships the
.claude/guardrails (stop gate, format hook,goldpath-manifest,breaker) and
ops/grafana-worker-dashboard.json. The wizard asks the worker the same questions and
refuses table-owning features on a schedule worker with teaching text. Two nightly shapes
prove it:GmWorkerJobsAuthed(401 on the admin surface and the console, sqlserver) and
GmWorkerQueueFeatures(tenant on the message header, riders next to the inbox, console served). goldpath add feature outbox— the fourteenth recipe, the one schema key the CLI could
not compose: births the bus with its RabbitMQ resource when the app has none, joins the
existing bus when it has one; the three MassTransit tables join the model; theusing
the template hides behind a preprocessor symbol is written for real.- The console rides the FIRST jobs feature through the CLI —
goldpath add feature archival|bulk|notification|campaign|approvals|fileexchangenow mapsMapGoldpathConsole
(secured, or the visible opt-out) exactly as the template does; a CLI-grown app no longer
ends up with the admin API and no screen over it. goldpath new(wizard) births workers too — kind, trigger and database asked; the
equivalentgoldpath new workercommand printed and delegated to.
Fixed
- Messaging: the correlation header was never stamped from inside a real request. The
publish filter readgoldpath.correlation_idoffActivity.Current, but by the time it
runs MassTransit has started its own child activity for the send, so the tag (on the
request activity) was one level up and the header stayed empty. The filter now walks the
activity chain. Found by the new Messaging mutation gate. goldpath add feature outboxon a--broker noneapp — two bugs the GmGrown shape
found: the recipe leftproviders.broker: nonein the manifest, so the engine's own
SPEC0101 refused the result it had just produced (the recipe now flips the broker, and
ManifestEditor.SetProviderScalarexists for the next recipe that births infrastructure);
and the born bus broughtPackageReferences for packages the template pins only under
UseBroker, so the restore failed with NU1010 (the recipe now adds the central pins —
Goldpath.Messagingon the app's train,Aspire.Hosting.RabbitMQon its Aspire line,
MassTransit.RabbitMQfromKnownVersions, which a test keeps equal to the repo pin).goldpath add featurewroteusing MassTransit;into a method body —EnsureUsing
tookusing var scope = …(the template's migration block) for a using directive and
inserted after it (CS1001). It now recognises directives only: column 0, a namespace,
a semicolon.- The outbox recipe's model calls arrived without their using — the three MassTransit
table calls landed inOnModelCreatingwhile the model file'susing MassTransit;
sits behindUseBrokerin the template (CS1061). Recipes now carry model usings. goldpath newwithout-oresolves the app root to the template's name directory,
so the post-generationdb initand the first-contract commit run instead of silently
skipping (they searched<cwd>/srcbefore).
Upgrade guide: docs/upgrades/0.1.0-preview.8.md — read it first. GP0405 becomes a Warning and GP1901 is a new ERROR; both carry their fix.
Install: dotnet new install Goldpath.Templates@0.1.0-preview.8