Skip to content

Sealed by default

Sealed by default

TheYard is a used-vehicle auction platform built in the open: a .NET 11 API, a React front end, and two databases underneath it. A class in it is sealed unless something in the solution derives from it. That is the default rather than a decision taken class by class, and the one class that had slipped past it was found by counting, not by review, which is the argument for the test at the bottom of this page.

In plain words

Every class in this code is locked against being extended (sealed, in C#) unless something in the solution actually extends it. A test counts every class on each build and fails on one left open with nothing deriving from it. The page shows why this matters most for records, the classes compared by their values.

What that is worth: a developer can trust that two records with the same values compare as equal, and the organization has that held by the build instead of by a reviewer's memory.

What sealed says

sealed on a class stops any other class deriving from it. The C# reference puts it in one line: "When applied to a class, the sealed modifier prevents other classes from inheriting from it" (sealed, C# reference).

A whole class from this repository, the in-memory half of the password reset port, as it is written:

/// <summary>
/// The port in memory, for a container with no document store: the test
/// host and a developer's machine. A link minted here works on this process
/// only and does not outlive it, which is the right shape for both.
/// </summary>
public sealed class MemoryResetLinks : IResetLinks
{
    private readonly System.Collections.Concurrent.ConcurrentDictionary<string, (string Token, DateTimeOffset Expires)> _kept = new(StringComparer.Ordinal);
    private readonly TimeProvider _clock;

    public MemoryResetLinks(TimeProvider? clock = null)
    {
        _clock = clock ?? TimeProvider.System;
    }

    public Task<string> KeepAsync(string token, TimeSpan lifetime, CancellationToken cancellation)
    {
        var now = _clock.GetUtcNow();
        foreach (var (id, entry) in _kept)
        {
            if (entry.Expires <= now)
            {
                _kept.TryRemove(id, out _);
            }
        }

        string fresh = ResetLinkIds.Fresh();
        _kept[fresh] = (token, now.Add(lifetime));
        return Task.FromResult(fresh);
    }

    public Task<string?> ReadAsync(string id, CancellationToken cancellation)
    {
        if (ResetLinkIds.IsOne(id) && _kept.TryGetValue(id, out var entry) && entry.Expires > _clock.GetUtcNow())
        {
            return Task.FromResult<string?>(entry.Token);
        }

        return Task.FromResult<string?>(null);
    }

    public Task<bool> ForgetAsync(string id, CancellationToken cancellation) =>
        Task.FromResult(ResetLinkIds.IsOne(id) && _kept.TryRemove(id, out _));
}

Live from api/TheYard.Application/Features/Accounts/ResetLinks.cs, region memory, read from this build at 99df7a8.

Nothing derives from it and nothing was meant to, and the declaration says so before a reader has to go looking for a subclass that is not there.

Sealed records, and the comparison they give you

This is the part worth passing on, and it is the reason every record in this repository is sealed on purpose.

A record is a class the compiler writes equality for. Two records holding the same field values compare as equal; two ordinary classes holding the same field values do not, because a class compares references and a record compares members. That difference is the whole reason to reach for a record: comparing payloads in a test, using a data transfer object as a dictionary key, or deciding whether anything actually changed.

public sealed class PlainBid
{
    public required string VehicleId { get; init; }
    public required int Amount { get; init; }
}

public sealed record Bid(string VehicleId, int Amount);

var a = new PlainBid { VehicleId = "v-1", Amount = 9_000 };
var b = new PlainBid { VehicleId = "v-1", Amount = 9_000 };
Console.WriteLine(a == b); // False. Two references, and they are not the same reference.

Console.WriteLine(new Bid("v-1", 9_000) == new Bid("v-1", 9_000)); // True. Same values, same thing.

// Which is also why one of these works as a key and the other does not.
var seen = new HashSet<Bid> { new("v-1", 9_000) };
Console.WriteLine(seen.Contains(new Bid("v-1", 9_000))); // True.

Leave that record unsealed and the compiler hands it something else as well: a protected virtual EqualityContract. That property is how the generated Equals decides whether the object it was handed is even the same kind of thing, and the C# reference is explicit that it exists for exactly that (Records, C# reference). Derive from your DTO and the compiler overrides the contract for you. Every comparison made against the base type now means something different, no call site changed, and the place that shows up is production.

public record Payload(string Id);

public record Audited(string Id, string By) : Payload(Id);

Payload one = new Payload("p-1");
Payload two = new Audited("p-1", "steve");

// False, and nothing at the call site says why: the derived record overrode
// EqualityContract, so "same kind of thing" is no longer true.
Console.WriteLine(one == two);
Console.WriteLine(one.Equals(two));

Sealing the record removes that case from the language rather than from a reviewer's memory. Same values, same thing, and nothing can be derived that changes the answer.

The wire shape of a vehicle, whole, as the site serves it:

namespace TheYard.Data;

/// <summary>
/// A vehicle listing exactly as it appears in data/vehicles.json. Property
/// names map to the payload's snake_case via JsonNamingPolicy.SnakeCaseLower,
/// so the wire shape stays identical to the source dataset.
///
/// Sealed, like every data record here: record equality is value-based but
/// includes a runtime-type check that inheritance would quietly break, and a
/// wire contract is not an extension point. Tests compare whole vehicle
/// lists by value, and `with` copies power the bid overlay, and both rely on
/// equality staying purely "same fields".
///
/// With one exception, which is worth knowing before you write a test against
/// it: DamageNotes and Images are declared as IReadOnlyList&lt;string&gt;, and
/// the default equality comparer for an interface type calls the instance's own
/// Equals. For a list that is reference equality, so two vehicles carrying
/// equal but distinct lists are not equal. Twenty-seven fields compare by value
/// and two compare by identity. A test that needs those two compared by
/// contents has to say so, which PersistenceTests does.
/// </summary>
public sealed record Vehicle
{
    public required string Id { get; init; }
    public required string Vin { get; init; }
    public required int Year { get; init; }
    public required string Make { get; init; }
    public required string Model { get; init; }
    public required string Trim { get; init; }
    public required string BodyStyle { get; init; }
    public required string ExteriorColor { get; init; }
    public required string InteriorColor { get; init; }
    public required string Engine { get; init; }
    public required string Transmission { get; init; }
    public required string Drivetrain { get; init; }
    public required int OdometerKm { get; init; }
    public required string FuelType { get; init; }
    public required double ConditionGrade { get; init; }
    public required string ConditionReport { get; init; }
    public required IReadOnlyList<string> DamageNotes { get; init; }
    public required string TitleStatus { get; init; }
    public required string Province { get; init; }
    public required string City { get; init; }
    public required string AuctionStart { get; init; }
    public required int StartingBid { get; init; }

    /// <summary>null → no reserve.</summary>
    public required int? ReservePrice { get; init; }

    /// <summary>null → no Buy Now option.</summary>
    public required int? BuyNowPrice { get; init; }

    public required IReadOnlyList<string> Images { get; init; }
    public required string SellingDealership { get; init; }
    public required string Lot { get; init; }

    /// <summary>null until the first bid is placed (bid_count == 0).</summary>
    public required int? CurrentBid { get; init; }

    public required int BidCount { get; init; }
}

Live from api/TheYard.Data/Vehicle.cs, region *, read from this build at 99df7a8.

Two things in that file are worth the read. The sealing reason is written on the type itself rather than left to a page, and the comment is honest about the exception: two of the properties are IReadOnlyList<string>, and the default comparer for an interface calls the instance's own Equals, which for a list is reference equality. Twenty-seven fields compare by value and two compare by identity, and a test that needs those two compared by contents has to say so.

Record structs cannot be derived from at all, so they get the same guarantee from the runtime.

Habits do not carry from one busy month to the next, which is why this is a test rather than a rule. Every build checks it, and anything that has to stay open goes on a named allow-list with the reason written beside it. The test is at the bottom of this page, whole.

Why this codebase seals by default

Intent comes first. An open class is an invitation: somebody may reasonably derive from it, override a method, and expect the rest of the code to keep working. These classes were not written to survive that. Most of them do one job behind a port, like the null sender that stands in when a container has no mail configured:

/// <summary>Where a message goes. Configured means a sender exists; Reason says why not when it does not.</summary>
public interface IEmailSender
{
    bool Configured { get; }

    string Reason { get; }

    /// <summary>Send one plain-text message; true when the sender accepted it, false when it refused or failed. Never throws.</summary>
    Task<bool> SendAsync(string to, string subject, string text, CancellationToken cancellation);
}

/// <summary>The port wired to nothing: no sender, and a sentence for the card.</summary>
public sealed class NullEmailSender(string reason) : IEmailSender
{
    public static readonly NullEmailSender Instance = new("no email sender is configured on this site; the operator can mint a reset link from the Admin tab");

    public bool Configured => false;

    public string Reason => reason;

    public Task<bool> SendAsync(string to, string subject, string text, CancellationToken cancellation) => Task.FromResult(false);
}

Live from api/TheYard.Application/Features/Accounts/Email.cs, region email-port, read from this build at 99df7a8.

The interface is the extension point, and the class behind it is finished. That is the shape almost everything here takes, and sealing is how the class says which of the two it is.

The runtime gets something out of it as well. When the just-in-time compiler knows a type has no subclass, it can turn virtual calls into direct ones, and casts, type checks, array assignments and span conversions all get cheaper. Gérald Barré measured each of those (Performance benefits of sealed class in .NET). His numbers are his, from his machine, and none of them are copied onto this page: a figure this project cannot measure through its own gate is a figure it should not print.

An analyzer catches the half a person forgets. CA1852 names an internal class that nothing derives from and that could be sealed (CA1852: Seal internal types). It is on here as a warning:

# Sealed by default, the practice written up on the Best Practices page
# docs/best-practices/SEALED.md. CA1852 names an internal class that nothing derives from and
# that could be sealed. It is a warning here, and the gate reads any warning as
# red, so the analyzer half of the practice is held by the build rather than by
# review; SealedByDefaultTests holds the public half.
dotnet_diagnostic.CA1852.severity = warning

Live from .editorconfig, region ca1852, read from this build at 99df7a8.

The gate reads any warning as red, so that rule is held by the build rather than by anybody's attention. CA1852 stops at internal classes, which is why the test below covers the public ones too.

The same class open and sealed, and what a caller can do with each:

// Open. Anything can derive from it, and the override is invisible at the call
// site: a method that takes an Increment has no idea which one it is holding.
public class Increment
{
    public virtual int For(int standing) => standing < 10_000 ? 250 : 1_000;
}

public sealed class Generous : Increment
{
    // Every rule downstream now reads a different number, and no call site changed.
    public override int For(int standing) => 1;
}

// Sealed. The class is the whole answer, the call is a direct one, and the
// subclass above does not compile.
public sealed class SealedIncrement
{
    public int For(int standing) => standing < 10_000 ? 250 : 1_000;
}

When not to seal

The Framework Design Guidelines say the opposite of this page: "DO NOT seal classes without having a good reason" (Sealing). That advice is written for public libraries, where a type other people derive from is part of the contract and sealing it later breaks strangers who already shipped. Nothing here is a library. These six projects are one application, everything that derives from anything is in the same solution, and unsealing a class the day somebody needs to is one keyword in one commit.

So the rule carries its exception in writing. A class with a subclass stays open. A class that has to stay open for a reason the code cannot show goes on a named allow-list inside the test, with the reason beside it, which is a decision somebody made rather than one nobody noticed.

The one base class in this repository written to be inherited is a test base that three test classes share (api/TheYard.Tests/AuthTests.cs). It is abstract, which says the same thing from the other side: this class exists to be derived from and cannot be used on its own. A base written to be open looks like this:

// Written to be inherited: abstract, so it cannot be used on its own; one member
// a subclass owes it; and the work every subclass shares sitting in the base
// where all of them get it.
public abstract class StoreCheck
{
    protected StoreCheck(TimeProvider clock) => Clock = clock;

    protected TimeProvider Clock { get; }

    /// <summary>The one thing a subclass has to answer.</summary>
    protected abstract Task<bool> IsReachableAsync(CancellationToken cancellation);

    /// <summary>What every check reports, in the shape the Admin tab reads.</summary>
    public async Task<(string Name, bool Healthy, long At)> RunAsync(CancellationToken cancellation)
    {
        bool reachable = await IsReachableAsync(cancellation);
        return (GetType().Name, reachable, Clock.GetUtcNow().ToUnixTimeMilliseconds());
    }
}

The test that holds it

One test class reads the six projects that make up the application, counts the shape of every class and record the build actually has, and fails when one of them is open with nothing deriving from it:

using System.CodeDom.Compiler;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Text.RegularExpressions;

namespace TheYard.Tests;

/// <summary>
/// Sealed by default, held here rather than in a review comment. The practice
/// is written up on the Best Practices page this class is named after,
/// docs/best-practices/SEALED.md: a class in this application is sealed unless it is a base
/// somebody actually derives from, and the analyzer that catches the internal
/// half of it is on as a warning, which the gate reads as red.
///
/// <para>A practice nothing checks lasts until the first hurried afternoon.
/// The house had sealed almost everything already and one class had slipped
/// through, which is the argument for a test rather than against one: the
/// slip is never the class somebody thought about.</para>
///
/// <para>Records are counted here beside the classes. A record is a value
/// shape whose equality the compiler writes; every record in the six projects
/// is sealed too, and the page says so.</para>
/// </summary>
public class SealedByDefaultTests
{
    // #region practice
    /// <summary>
    /// The six projects that make up the application. The test project is not
    /// one of them: a test class is instantiated by a runner that needs no help
    /// from the type system, and three of them do inherit a shared base on
    /// purpose.
    /// </summary>
    private static readonly string[] Projects =
    [
        "TheYard.Data",
        "TheYard.Domain",
        "TheYard.Application",
        "TheYard.Infrastructure",
        "TheYard.Infrastructure.Cosmos",
        "TheYard.Api",
    ];

    /// <summary>
    /// Classes that must stay open, each with the reason it is open, checked
    /// by the test below so that an entry cannot outlive its reason. Empty, and
    /// an entry here is a decision rather than an oversight.
    /// </summary>
    private static readonly Dictionary<string, string> Open = new(StringComparer.Ordinal)
    {
        // "TheYard.Api.Example" = "the reason this one is written to be inherited",
    };

    private static List<Type> Written() =>
        Projects
            .SelectMany(name => Assembly.Load(new AssemblyName(name)).GetTypes())
            .Where(IsWrittenHere)
            .ToList();

    /// <summary>
    /// A type somebody in this repository typed. The compiler writes plenty of
    /// its own, from closures to the regex source generator's output to the
    /// attributes it emits for nullability, and none of those are anybody's
    /// practice: they carry a generated marker, sit outside the project's own
    /// namespaces, or carry a name no C# file can spell.
    /// </summary>
    private static bool IsWrittenHere(Type type) =>
        OneOfOurs(type)
        && !(type.FullName ?? string.Empty).Contains('<', StringComparison.Ordinal)
        && !IsGenerated(type)
        && !typeof(Delegate).IsAssignableFrom(type);

    /// <summary>
    /// A type in one of the project's own namespaces, or in none at all:
    /// Program has no namespace, because the host is written as top-level
    /// statements and the class the compiler generates for them lands in the
    /// global one. It is still this repository's class and the practice covers
    /// it.
    /// </summary>
    private static bool OneOfOurs(Type type) =>
        type.Namespace is null
        || type.Namespace.StartsWith("TheYard", StringComparison.Ordinal);

    private static bool IsGenerated(Type type) =>
        type.IsDefined(typeof(CompilerGeneratedAttribute), inherit: false)
        || type.IsDefined(typeof(GeneratedCodeAttribute), inherit: false)
        || (type.DeclaringType is not null && IsGenerated(type.DeclaringType));

    /// <summary>
    /// A record, either kind. The compiler gives a record class a clone method
    /// no C# file can call, and a record struct the member printer behind its
    /// ToString; both are how a reader of reflection tells a record from the
    /// class or struct it is compiled to.
    /// </summary>
    private static bool IsRecord(Type type) =>
        type.GetMethod("<Clone>$", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic) is not null
        || (type.IsValueType
            && type.GetMethod("PrintMembers", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic) is not null);

    /// <summary>
    /// The five shapes the page counts. Anything that is not a class and not a
    /// record is not this rule's business: an interface has nothing to seal, an
    /// enum cannot be inherited, and a plain struct is sealed by the runtime.
    /// </summary>
    private static string Shape(Type type)
    {
        if (IsRecord(type))
        {
            return "records";
        }
        if (!type.IsClass)
        {
            return string.Empty;
        }
        if (type.IsAbstract && type.IsSealed)
        {
            return "static";
        }
        if (type.IsAbstract)
        {
            return "abstract";
        }
        return type.IsSealed ? "sealed" : "open";
    }

    private static Dictionary<string, int> Counted()
    {
        var counts = new Dictionary<string, int>(StringComparer.Ordinal)
        {
            ["sealed"] = 0,
            ["static"] = 0,
            ["abstract"] = 0,
            ["open"] = 0,
            ["records"] = 0,
            ["open records"] = 0,
        };
        foreach (Type type in Written())
        {
            string shape = Shape(type);
            if (counts.ContainsKey(shape))
            {
                counts[shape]++;
            }
            if (shape == "records" && !type.IsSealed)
            {
                counts["open records"]++;
            }
        }
        return counts;
    }

    [Fact]
    public void Every_class_in_the_application_is_sealed_static_abstract_or_inherited()
    {
        var written = Written();

        // A scan that reads nothing passes, which is the failure this class
        // exists to prevent somewhere else. The floor moves with the project
        // and should never move down by much.
        Assert.True(written.Count > 100, $"only {written.Count} types were read across {Projects.Length} projects");

        var everything = written
            .Concat(typeof(SealedByDefaultTests).Assembly.GetTypes())
            .ToList();

        var unexplained = new List<string>();
        foreach (Type type in written.Where(type => Shape(type) == "open"))
        {
            bool inherited = everything.Any(other => other != type && other.BaseType == type);
            if (inherited || Open.ContainsKey(type.FullName ?? type.Name))
            {
                continue;
            }
            unexplained.Add(
                $"{type.FullName} is open, nothing in the solution derives from it, "
                + "and it is not on the allow-list in this file");
        }

        Assert.True(unexplained.Count == 0, string.Join(Environment.NewLine, unexplained));
    }

    /// <summary>
    /// Records carry the practice further than classes do, and this is the one
    /// the data transfer objects rest on. A record's equality is its values,
    /// written by the compiler from its members, which is exactly what a type
    /// that exists to be carried across a wire wants. It also compares the
    /// runtime type: a record and a record that derives from it are never equal
    /// even when every field matches, because the generated equality checks
    /// EqualityContract first. Sealing the record removes that case from the
    /// language rather than from a reviewer's memory, so "same values" is the
    /// whole of "equal" and a caller can rely on it.
    ///
    /// <para>A record struct cannot be derived from at all, so it passes for
    /// free and is counted rather than argued with.</para>
    /// </summary>
    [Fact]
    public void Every_record_is_sealed_so_two_of_them_compare_by_value_alone()
    {
        var open = Written()
            .Where(type => IsRecord(type) && !type.IsSealed)
            .Select(type => $"{type.FullName} is an open record, so its equality carries the runtime type")
            .ToList();

        Assert.True(open.Count == 0, string.Join(Environment.NewLine, open));
    }

    [Fact]
    public void The_allow_list_holds_no_entry_that_has_stopped_being_open()
    {
        var written = Written();
        var stale = new List<string>();

        foreach (string name in Open.Keys)
        {
            Type? listed = written.Find(candidate => candidate.FullName == name);
            if (listed is null || Shape(listed) != "open")
            {
                stale.Add($"{name} is on the allow-list and is not an open class in these projects");
            }
        }

        Assert.True(stale.Count == 0, string.Join(Environment.NewLine, stale));
    }
    // #endregion practice

    // #region page-numbers
    /// <summary>
    /// The page states the shape of this build in a table, and a number in
    /// prose goes stale silently, so the table is read back against what the
    /// build actually holds. The same rule the record that explains the API
    /// host is held to.
    /// </summary>
    [Fact]
    public void The_page_quotes_the_shape_this_build_has()
    {
        string page = File.ReadAllText(Path.Combine(Repo.Root(), "docs", "best-practices", "SEALED.md"));
        var wrong = new List<string>();

        foreach ((string shape, int actual) in Counted())
        {
            var quoted = Regex.Match(page, $@"^\| {shape} \| (\d+) \|", RegexOptions.Multiline);
            if (!quoted.Success)
            {
                wrong.Add($"docs/best-practices/SEALED.md has no row for {shape}");
                continue;
            }
            if (int.Parse(quoted.Groups[1].Value) != actual)
            {
                wrong.Add($"docs/best-practices/SEALED.md says {quoted.Groups[1].Value} {shape} and this build has {actual}");
            }
        }

        Assert.True(wrong.Count == 0, string.Join(Environment.NewLine, wrong));
    }

    /// <summary>
    /// The analyzer half of the practice. CA1852 is the rule that names an
    /// internal class nothing derives from, and the page says it is on as a
    /// warning here, which matters because the gate treats any warning as red.
    /// A page that claims a setting is a page that can be wrong about it.
    /// </summary>
    [Fact]
    public void The_analyzer_that_catches_the_internal_half_is_on_as_a_warning()
    {
        string editorconfig = File.ReadAllText(Path.Combine(Repo.Root(), ".editorconfig"));

        Assert.Contains("dotnet_diagnostic.CA1852.severity = warning", editorconfig, StringComparison.Ordinal);
        Assert.Contains("CA1852", File.ReadAllText(Path.Combine(Repo.Root(), "docs", "best-practices", "SEALED.md")), StringComparison.Ordinal);
    }
    // #endregion page-numbers
}

Live from api/TheYard.Tests/SealedByDefaultTests.cs, region *, read from this build at 99df7a8.

Measured on this build:

shape count
sealed 416
static 258
abstract 0
open 0
records 481
open records 0

Every class in those six projects is sealed or static, and a static class cannot be inherited either, which is why the open and abstract rows read 0. Every record is sealed or a record struct, so value comparison means what it says on every one of them. Every number in that table is read back out of this page by the test above, so it cannot drift from the build the way a number typed once always does.

References

Store

The Yard, home

Steven StoutStaff .NET engineerRemote

Production .NET that stays up. Built with AI, measured on every version.

Steven Stout

Hi, I'm Steve. I build the systems that make delivery boring in the best way, then coach people inside them.

  • 200+

    production releases, none took the platform down

    Conway Investment Research, 2019 to 2024. Sole engineer for the first three years on a live financial advisory platform.

    See how
  • 50%

    shorter release cycle

    Storee Construction, 2024 to 2026. Four ASP.NET applications onto one .NET 10 platform on Azure, with a four-person team I hired and mentored.

    See how

01Verified

Steven Stout

A real person, and the work is mine.

  • Identity

    Checked by LinkedIn, not by me.

    LinkedIn verified my government ID.

  • Running system

    You are looking at it.

    Version 1.0.5.273 is live. Nothing ships unless it passes the automated gates first.

That's who I am. Here's how I work.

02Strengths

Ten strengths, each with the proof beside it. The numbers match my resume and LinkedIn, and the live ones are read from this site as you look.

  • 01

    Keeps production alive

    200+ releases on a live financial platform, and none took it down. Sole engineer for the first three years.

    See the Conway work

  • 02

    Simplifies messy systems

    Four ASP.NET applications onto one .NET 10 platform on Azure, and a release cycle 50% shorter.

    See the Storee work

  • 03

    Marries dev and infrastructure

    Blue-green releases at Storee that flipped in about 5 seconds with nobody signed out, and Azure Front Door at two employers.

    See this site's cloud

  • 04

    Designs data that holds up

    White-label clients on one shared database, the isolation built into the data, and no cross-client issues.

    See the Conway work

  • 05

    Keeps AI-written code honest

    15 quality numbers that may only improve: 273 releases in a row with none worse.

    See the quality numbers

  • 06

    Resourceful

    $30,000+ cut from Azure and vendor spend at Conway. This site's Azure bill is public, resource by resource.

    See the bill

  • 07

    Builds people up

    Hired and mentored a four-person team. 13 colleagues recommend me by name.

    Read the recommendations

  • 08

    Takes ideas to production

    This site: designed, built and run solo, with 352 versions measured through one gate.

    How it was built

  • 09

    Writes clearly

    Posts on real engineering problems, in plain words.

    Read the blog

  • 10

    Owns decisions

    153 decision records, each with its tradeoff and the call I made.

    See the decision records

Built with AI. Gated so quality never slides.

Steven Stout’s showcase: a used-vehicle auction on .NET and React, built and run by one engineer, live on Azure, with its decisions written down.

No quality number has gotten worse at any release since 1.0.5.1 on 10 November: 273 releases in a row.

One engineer, an AI agent and a gate that checks 15 quality numbers on every release. 352 versions measured, with every result public, the worst days included.

82 releases in the last 7 days, each through the same gate.

Async methods with no CancellationToken, may only fall

11091.0.3.1391.0.5.2731.0.4.115, the ratchet
Every number, on the Quality page

TheYard, right nowLive

Answering in

unread

02505007501,000

server time at p95, the usual five minutes of the last day.

Azure this month

unread

the bill, by resource, read from Azure. The Admin tab shows every line.

Since the last roll

unread

 

rolled in place by the pipeline, behind one gate.

People who have visited

unread

30 days agotoday

Scanners, my own tools' and my own reads left out.

03Start here

04Where teams are heading

How I see engineering with AI, and the setup on this site that backs it.

AI-augmented teams · Architecture and ownership

AI writes more of the code. Someone still has to own what ships.

Teams are going to be heavily AI-augmented. That moves the senior job toward architecture and technical ownership: deciding what to build in pieces small enough to verify, and owning what ships.

  • Task tracking will get automated too. Judgment stays human: seeing a design fail at scale before it does.
  • On this site the AI's first design held the whole catalogue in memory. I caught it when the App Service plan hit 82 per cent and moved the work to the store.

What the AI wrote, what I decided

07Tech stack

  •    
  •    
  •    

Read from the build, never typed by hand

What TheYard runs on

What we use, where it runs, its AWS twin, the version as built, and the file that proves it.

Cloud patterns, not one vendor: every Azure piece in this stack has a named AWS twin. Mapped, not yet run on AWS.

  • .NET 1114 projects
  • React 19.3TypeScript 7.0
  • Azure9 Bicep files
  • 11GitHub Actions workflows
The whole stack, with the file that proves each line

The last release the gate stopped was 1.0.5.258 on 2 December, at its browser 1 of 2 job.

08How it is built

09How it is run

10Who and why

Next step

11What has to work, where is it today, and what does success look like?

Book 20 minutes opens an email to me with those three questions in it, and I answer with a time.

Book 20 minutes

Your email app should have opened with this message. If it did not, copy it and send it from any mailbox.

Or message me on LinkedIn