Awesome Reviewers

When introducing/altering API fields, parsing rules, or behavior, ensure documentation makes the code’s correctness contract explicit.

Apply this standard:

Example (initializer contracts + documented change):

/// Represents a socket to be published from container to host.
public struct PublishSocket: Sendable, Codable {
    /// Container-side socket path.
    /// Constraints: must be an absolute path within the container filesystem.
    public let containerPath: FilePath

    /// Host-side socket path.
    /// Constraints: must be an absolute path and must not be a directory.
    public let hostPath: FilePath

    /// Deprecated: New in 1.0.0; path types changed from `URL` to `FilePath`.
    /// Note: Decoder currently accepts both `URL` and `FilePath` for backward compatibility.
    public init(containerPath: FilePath, hostPath: FilePath) throws {
        // Enforce invariants here so instances are correct by construction.
        guard containerPath.isAbsolute else { throw ValidationError.invalidContainerPath }
        guard hostPath.isAbsolute else { throw ValidationError.invalidHostPath }
        self.containerPath = containerPath
        self.hostPath = hostPath
    }
}