Modular-Boundary Copyleft Library License 1.0 (MBC-Lib-1.0) Copyright (c) [Year], [Copyright Holder] Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Source and Notice Preservation: Redistributions of source code must retain the above copyright notice, this list of conditions, and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions, and the following disclaimer in the documentation and/or other materials provided with the distribution. 2. Project-Level Copyleft: Except as explicitly permitted under Section 3, any Modification or Combined Work containing this Software (whether compiled statically, bundled into a single executable, or integrated into the same codebase) must be distributed in source code form under the exact terms of this License, with no additional restrictions, sublicensing, or conversion to other licenses permitted. 3. Outbound Modular Boundary: Separate external programs or libraries under any license may statically or dynamically link to this Software without being subject to Section 2, provided that this Software remains a distinct, self-contained module or package interacted with through its documented public interfaces, and source code for this Software (including any Modifications) is made available under this License. Exposing internal implementation details or adding low-level hooks solely to circumvent Section 2 does not qualify as a public interface. 4. Patent Grant and Retaliation: Each contributor grants you a non-exclusive, worldwide, royalty-free patent license to make, use, sell, offer for sale, import, and otherwise transfer the Software. If you institute patent litigation against any entity (including a cross-claim or counterclaim) alleging that the Software or a Contribution incorporated within it constitutes direct or contributory patent infringement, then any patent and copyright licenses granted to you under this License shall terminate immediately as of the date such litigation is filed. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.