Skip to content

Goldpath 0.1.0-preview.8

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 07 Sep 15:01
· 175 commits to main since this release
8bd5fe9

[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
    for ldap and saml, values the manifest schema does not accept, so it now carries a
    third column saying what actually runs; an RFC row called Goldpath.Sdk unpublished
    though it shipped on preview.7; and a specanchor DoD box sat unchecked with all three
    of its sub-clauses satisfied.
  • Goldpath.Analyzers has 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.md gains 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 carries outbox — a recipe with no --features value, so choosing
    it printed and ran dotnet new goldpath-solution --features outbox and the template refused.
    The menu is now the template's own choice list, pinned against template.json by a test.
  • goldpath add feature approvals left the console rail over nothing. The recipe wired the
    module and the jobs block but never emitted app.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|gateway swallowed flags in silence. new service Billing --db sqlserver ignored --db and 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 outbox as an add feature-only recipe (it listed thirteen of fourteen).

Added

  • The CLI has its own proof lane (scripts/validate-cli.sh, nightly job cli-proofs).
    The golden-manifest lane proves the TEMPLATES — it calls dotnet new directly — so six
    verbs an adopter types had unit tests and nothing else: the wizard, init, export compose, discover, db status and check (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, including docker compose config
    accepting the exported file and check naming each of its four steps.
  • Four nightly shapes for values that had none: GmOneViaCli and GmWorkerViaCli
    generate through goldpath new solution|worker instead of dotnet new (the verb the
    guides teach had no end-to-end proof); GmApiKey proves the api-key floor, which was in
    the template's choices, the CLI's flag and the wizard and in no shape; GmGrownRest runs
    the eight add feature recipes GmGrown does not, behind an auth floor. The in-solution
    fleet gains a third worker so add worker --trigger schedule is proven too.

Changed

  • Mutation ledger honesty: the nine unrowed exclusions (Archival, Bulk and CLI) now carry their
    justification in stryker/README.md, and ignore-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.sh gained 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 worker consume 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 and goldpath add feature fileexchange map
    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 vulnerable System.Security.Cryptography.Xml only under the SqlServer
    provider; the lift is now unconditional and the nightly gains GmOneClean (clean layout
    on the default providers + fileexchange), the shape that was missing.

Changed

  • Kit-freshness gate tightened — the console may now lag @qorpe/ui by 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 jobs refuses 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 the GmWorkerInSolution nightly).
    The refusal names the alternatives. The nightly shapes that grow an app by verbs now run
    goldpath db add after the recipes, as the verbs' next steps tell an adopter — the
    GmGrown shape's first nightly hung on a model without its migration.
  • goldpath add worker inherits 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-coded exposeUnsecured
    — 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). The GmWorkerInSolution nightly 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 GmGrown nightly shape — a lean app (--auth none --broker none) grown by five
    goldpath add feature recipes (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.FileExchange admin surface + the console's seventh module (open-threads T22)
    — MapGoldpathFileExchangeAdmin() mounts /goldpath/admin/fileexchange (contract §7.1,
    READ-ONLY: /rails with live counts, /files newest-archive-first, /quarantine with 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;
    the Goldpath.FileExchange meter (files received/rejected, rows applied/quarantined/
    duplicate, per rail) and its Grafana board ship with the package. The reads ride a new
    IGoldpathFileLedgerQueries seam both shipped ledgers implement; a custom ledger without it
    is refused at startup in words. The templates and goldpath add feature fileexchange map
    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.QuarantinedAt and GoldpathFileArchive.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.ServiceDefaults now
    subscribes to the Microsoft.EntityFrameworkCore and Npgsql meters — 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%) and Goldpath.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 worker gains --auth openid|apikey|none for the MANAGEMENT head (the jobs admin surface
    and the console now sit behind the ops floor, or carry the visible exposeUnsecured
    opt-out under none) 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 accepts providers.auth and 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; the using
    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|fileexchange now maps MapGoldpathConsole
    (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
    equivalent goldpath new worker command printed and delegated to.

Fixed

  • Messaging: the correlation header was never stamped from inside a real request. The
    publish filter read goldpath.correlation_id off Activity.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 outbox on a --broker none app — two bugs the GmGrown shape
    found: the recipe left providers.broker: none in the manifest, so the engine's own
    SPEC0101 refused the result it had just produced (the recipe now flips the broker, and
    ManifestEditor.SetProviderScalar exists for the next recipe that births infrastructure);
    and the born bus brought PackageReferences for packages the template pins only under
    UseBroker, so the restore failed with NU1010 (the recipe now adds the central pins —
    Goldpath.Messaging on the app's train, Aspire.Hosting.RabbitMQ on its Aspire line,
    MassTransit.RabbitMQ from KnownVersions, which a test keeps equal to the repo pin).
  • goldpath add feature wrote using MassTransit; into a method body — EnsureUsing
    took using 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 in OnModelCreating while the model file's using MassTransit;
    sits behind UseBroker in the template (CS1061). Recipes now carry model usings.
  • goldpath new without -o resolves the app root to the template's name directory,
    so the post-generation db init and the first-contract commit run instead of silently
    skipping (they searched <cwd>/src before).

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