Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/patches/c76a5f6eaf09d1e5 # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers ## GitHub aien-dev/omega-mv#682 (code only) closed derived `c76a5f6eaf09d1e5` #682 Imported from GitHub aien-dev/omega-mv#682 (code only) GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed). Base `cd5897e3f92f72a015892c67b17f096e433b54f7` · Head `d15e510acbf4996c46c4a99c471da07962f571bd` ### Apply it ``` git checkout -b patch-c76a5f6eaf09d1e5 cd5897e3f92f72a015892c67b17f096e433b54f7 curl -fsSL https://interplane.io/drakestapleton/omega-mv/patches/c76a5f6eaf09d1e5.patch | git am ``` Raw patch (mbox) · Diff ### Provenance This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record: ``` github-import 1 aien-dev/omega-mv 682 d15e510acbf4996c46c4a99c471da07962f571bd ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"omega-mv","number":682,"url":"https://github.com/aien-dev/omega-mv/pull/682","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:38:16Z","metadata":"unavailable","state_derived":true} ``` ### Changes ``` diff --git a/.crumb b/.crumb index 4ef780685..273408206 100644 --- a/.crumb +++ b/.crumb @@ -41,14 +41,14 @@ "generated": { "children": [ { - "digest": "fb7cc6e608fdbe68a9735a1313285782b9717ff12bde17343f8ce635de3644f6", - "last_commit": "190ff891", + "digest": "9f19f11674ca5dfc3c9c3ae35fe6106557aee9583210da13d257e1b9d88e052c", + "last_commit": "dc7c1304", "name": "calibration", "purpose": "Directory calibration. Purpose not yet described by a human." }, { - "digest": "d2eb8967a939ebdb0b54e15fe5d849dd5af71c23b812941e4ba86ad2b0f21d39", - "last_commit": "4870b0a4", + "digest": "2ff2b8f9b497473c444c34383857d29a5ad45a55c274141321d98d608475b97e", + "last_commit": "dc7c1304", "name": "docs", "purpose": "Directory docs. Purpose not yet described by a human." }, @@ -65,8 +65,8 @@ "purpose": "Directory mk. Purpose not yet described by a human." }, { - "digest": "eccc4aec1037ae222d6370836953732b031b8ed70de28967b7af7ca62c2abe0b", - "last_commit": "5901baa5", + "digest": "590f1f3a26a12dfd9df281ec944b882b85fd4ac2ae07a88a03bb8bd0d7d62536", + "last_commit": "dc7c1304", "name": "research", "purpose": "Directory research. Purpose not yet described by a human." }, @@ -77,33 +77,33 @@ "purpose": "Directory spec. Purpose not yet described by a human." }, { - "digest": "dfa36de2ac8649f66f80587abea51a7f166285ee0b92e0e09774c98689055250", - "last_commit": "333091a6", + "digest": "7208b7c84c3cfde224b9d055d0754bc493b240cf0f5a93b96ae405686534783e", + "last_commit": "dc7c1304", "name": "src", "purpose": "Directory src. Purpose not yet described by a human." }, { - "digest": "4eb9d4d76234448c0ed691f0aeb9c90d785f8a47b1b1291d728bbe3e1509dc10", - "last_commit": "88e24bdd", + "digest": "1ea94f184a37ca1ca165b6418a9c06785a540dac27b4b1e63fffe06ef4ca496e", + "last_commit": "dc7c1304", "name": "tests", "purpose": "Directory tests. Purpose not yet described by a human." }, { - "digest": "566a123ba248da906e3c42430b73decd7c3ec030a4fd26c909d265aa9bf67db9", - "last_commit": "88e24bdd", + "digest": "1404d3f510dde3affb3153fad5276a4d81f6886f07fd51fd0cf147bf91a051fb", + "last_commit": "dc7c1304", "name": "tools", "purpose": "Directory tools. Purpose not yet described by a human." } ], - "children_root": "sha256:e1a8c008214ad5dbc33a3e184d7e882dc56d1d50f9bd14c58f8773992961557e", - "compiled_at": "2026-10-23T18:47:32Z", + "children_root": "sha256:ae62f2bbbc87b2dee06d9445f4b67f92c52114c1349ca42dcf3a1b866f9df8a3", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:441c464bfd497ddf4f44484a1fbb141f8b1f42219be502ce5f145a1933a4fcdc", + "digest": "sha256:66c54072d2713c85d5cbffe12ab7b654c7e25a94f695f02d23fbe73b21214559", "evidence_files": 11127, "evidence_root": "sha256:4528085ec1661c442b64fb5dc8def65067ea2620ff88e42bcf52d58b7642ea6e", - "files": 14100, - "generated_at_commit": "a8ffd2b912c84197d08f963b05f9c7d8b30a3f8a", - "source_tree": "sha256:015a10e9c77584751ddac2e33c30fcceee980ca1cb85f25bda32247bb6a169d5" + "files": 14101, + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:824e3a90b89de1651be6bfafb18e8b714e3ed49f7b06e86517ab9a09108d7329" }, "owner_lane": "", "provenance": { diff --git a/LICENSE b/LICENSE index be3f7b28e..d64569567 100644 --- a/LICENSE +++ b/LICENSE @@ -1,661 +1,202 @@ - GNU AFFERO GENERAL PUBLIC LICENSE - Version 3, 19 November 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU Affero General Public License is a free, copyleft license for -software and other kinds of works, specifically designed to ensure -cooperation with the community in the case of network server software. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -our General Public Licenses are intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - Developers that use our General Public Licenses protect your rights -with two steps: (1) assert copyright on the software, and (2) offer -you this License which gives you legal permission to copy, distribute -and/or modify the software. - - A secondary benefit of defending all users' freedom is that -improvements made in alternate versions of the program, if they -receive widespread use, become available for other developers to -incorporate. Many developers of free software are heartened and -encouraged by the resulting cooperation. However, in the case of -software used on network servers, this result may fail to come about. -The GNU General Public License permits making a modified version and -letting the public access it on a server without ever releasing its -source code to the public. - - The GNU Affero General Public License is designed specifically to -ensure that, in such cases, the modified source code becomes available -to the community. It requires the operator of a network server to -provide the source code of the modified version running there to the -users of that server. Therefore, public use of a modified version, on -a publicly accessible server, gives the public access to the source -code of the modified version. - - An older license, called the Affero General Public License and -published by Affero, was designed to accomplish similar goals. This is -a different license, not a version of the Affero GPL, but Affero has -released a new version of the Affero GPL which permits relicensing under -this license. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU Affero General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Remote Network Interaction; Use with the GNU General Public License. - - Notwithstanding any other provision of this License, if you modify the -Program, your modified version must prominently offer all users -interacting with it remotely through a computer network (if your version -supports such interaction) an opportunity to receive the Corresponding -Source of your version by providing access to the Corresponding Source -from a network server at no charge, through some standard or customary -means of facilitating copying of software. This Corresponding Source -shall include the Corresponding Source for any work covered by version 3 -of the GNU General Public License that is incorporated pursuant to the -following paragraph. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the work with which it is combined will remain governed by version -3 of the GNU General Public License. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU Affero General Public License from time to time. Such new versions -will be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU Affero General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU Affero General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU Affero General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Affero General Public License for more details. - - You should have received a copy of the GNU Affero General Public License - along with this program. If not, see . - -Also add information on how to contact you by electronic and paper mail. - - If your software can interact with users remotely through a computer -network, you should also make sure that it provides a way for users to -get its source. For example, if your program is a web application, its -interface could display a "Source" link that leads users to an archive -of the code. There are many ways you could offer source, and different -solutions will be better for different programs; see section 13 for the -specific requirements. - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU AGPL, see -. + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/NOTICE b/NOTICE new file mode 100644 index 000000000..a1d3b1f89 --- /dev/null +++ b/NOTICE @@ -0,0 +1,24 @@ +AIEN Sovereign Ecosystem (AienOS / Omega / CUDA++ / INTERPLANE) +Copyright 2024-2026 Drake Stapleton and AIEN Contributors (https://github.com/aien-dev) + +This product includes software developed as part of the AIEN Sovereign +Ecosystem (https://www.aienos.com). + +The Omega language (omega-mv), CUDA++ GPU toolchain (CUDApp), Aienux kernel, +INTERPLANE protocol, and FORGE realization layer (physics-mv) are foundational +components designed and architected by Drake Stapleton. + +TRADEMARK NOTICE: +Pursuant to Section 6 of the Apache License, Version 2.0, this license does not +grant permission to use the trade names, trademarks, service marks, or product +names of the Licensor. "AIEN", "AienOS", "Aienux", "Omega", "CUDA++", "CUDApp", +"INTERPLANE", and "FORGE" are trademarks of Drake Stapleton. Any derivative +works or redistributions modified from the canonical upstream repositories +(https://github.com/aien-dev) may not be branded or marketed as official +"AienOS Verified" or "Omega" distributions without express written permission. + +THIRD-PARTY COMPONENTS: +The six research files under research/m15/spbm/ are a Linux kernel module and +its helpers. They carry SPDX-License-Identifier: GPL-2.0-only and remain under +GPL-2.0-only. They are research-only and are not part of the shipped Omega +binary. See research/m15/spbm/LICENSE-NOTE.md. diff --git a/bench/prime_race/.crumb b/bench/prime_race/.crumb index a375434b7..f29198a61 100644 --- a/bench/prime_race/.crumb +++ b/bench/prime_race/.crumb @@ -3,14 +3,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-14T01:16:48Z", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:9dd7474de3f8342f85466d4629e58ebe6a7e9be694f6f282803892d32f9c272f", + "digest": "sha256:c1f97071b8d200601d33ead7c91f5f1c73a1720f330b2cd6a31f07937ff1f1cb", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 10, - "generated_at_commit": "e0abd0b524f5bf8e3ba6960b53868980bdd41b4e", - "source_tree": "sha256:5672fda945c78b908a57f8948c2062df54c958ea0ec866691da515ddbc9c621a" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:a068ccd11792a182cfa40573e5bad2582190d2ed4ea9cfd2ee8ab7ff49665fb8" } }, "invariants": [ diff --git a/bench/prime_race/cpu_base.c b/bench/prime_race/cpu_base.c index 605cd3a4e..11aea93ff 100644 --- a/bench/prime_race/cpu_base.c +++ b/bench/prime_race/cpu_base.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* aien-cpu-c-base: conventional single-thread CPU sieve following the upstream "base" rules. * Faithful: a struct holds the whole state, one calloc per pass sized to the limit, odd factors searched * sequentially from 3 up to sqrt(limit), every multiple cleared individually starting at factor*factor. diff --git a/bench/prime_race/gb10_native.c b/bench/prime_race/gb10_native.c index a4d04fc25..46aa71f08 100644 --- a/bench/prime_race/gb10_native.c +++ b/bench/prime_race/gb10_native.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* AIEN Prime Drag Race: native GB10 implementation (no CUDA). * * Kernel: gen_prime_sieve in src/omega_gpu_elementwise_api.c (Omega's own Blackwell diff --git a/bench/prime_race/prime_race_impl.c b/bench/prime_race/prime_race_impl.c index 34e94765a..15ed54941 100644 --- a/bench/prime_race/prime_race_impl.c +++ b/bench/prime_race/prime_race_impl.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* AIEN Prime Drag Race: implementation-side protocol. See prime_race_impl.h and bench/prime_race/README.md. */ #include "prime_race_impl.h" diff --git a/bench/prime_race/prime_race_impl.h b/bench/prime_race/prime_race_impl.h index 110d66737..8b7ddaec3 100644 --- a/bench/prime_race/prime_race_impl.h +++ b/bench/prime_race/prime_race_impl.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* AIEN Prime Drag Race: implementation-side protocol (one copy for every C/CUDA implementation). * Contract: canonical bitmap, bit k (u64 word k/64, bit k%64) set iff 2k+1 is prime, 0 <= k < (limit+1)/2, * tail bits zero; prime 2 is implicit when limit >= 2. */ diff --git a/bench/prime_race/tests/gb10_launch_cost.c b/bench/prime_race/tests/gb10_launch_cost.c index 6b637f161..21778461b 100644 --- a/bench/prime_race/tests/gb10_launch_cost.c +++ b/bench/prime_race/tests/gb10_launch_cost.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* DIAGNOSTIC, not a benchmark result: where does a GB10 native launch spend its time? * * gb10_launch_cost empty N GRID BLOCK EXIT-only kernel, N launches diff --git a/bench/prime_race/tests/gb10_sieve_host_test.c b/bench/prime_race/tests/gb10_sieve_host_test.c index 28cc73768..7095db08d 100644 --- a/bench/prime_race/tests/gb10_sieve_host_test.c +++ b/bench/prime_race/tests/gb10_sieve_host_test.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Host tests for the native GB10 prime sieve (no device is opened). * * gb10_sieve_host_test golden words of the three new ops, codegen budget, nvdisasm diff --git a/bench/prime_race/tests/prime_race_host_test.c b/bench/prime_race/tests/prime_race_host_test.c index cdfa95ec8..fbf28080b 100644 --- a/bench/prime_race/tests/prime_race_host_test.c +++ b/bench/prime_race/tests/prime_race_host_test.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Host test for the prime race protocol helper and the cpu_base baseline. * Oracle: independent trial division (no sieve). Compares canonical bitmaps word for word. */ #include "../prime_race_impl.h" diff --git a/bench/prime_race/tests/run_gb10_chip.sh b/bench/prime_race/tests/run_gb10_chip.sh index ed32b68fd..36b4daa50 100755 --- a/bench/prime_race/tests/run_gb10_chip.sh +++ b/bench/prime_race/tests/run_gb10_chip.sh @@ -1,4 +1,19 @@ #!/bin/bash +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # bench/prime_race/tests/run_gb10_chip.sh -- AIEN Prime Drag Race: native GB10 sieve chip test. # # GB10_CHIP_RUN=1 bench/prime_race/tests/run_gb10_chip.sh --physics-dir DIR [--evidence-dir DIR] diff --git a/calibration/.crumb b/calibration/.crumb index 7a4f08dbb..781e3f77c 100644 --- a/calibration/.crumb +++ b/calibration/.crumb @@ -57,21 +57,21 @@ "purpose": "Directory calibration/schemas. Purpose not yet described by a human." }, { - "digest": "7da9b50a75b326141d535cf9e56e31d51437da93d85bf0556e6f61720810a430", - "last_commit": "87f3e8b8", + "digest": "af056765c0d3db17ce1819cb8aae90f04ae2a9b21b399ec347daf81efe9eff80", + "last_commit": "dc7c1304", "name": "scripts", "purpose": "Directory calibration/scripts. Purpose not yet described by a human." } ], - "children_root": "sha256:e58b9cc78de81a51c7ed21c725616ddb80bd3d24d171b24a189e8f7132499433", - "compiled_at": "2026-10-14T21:46:29Z", + "children_root": "sha256:d303c33c7df5e0b63fa0438a79bb26c0cb619369ae6f644ce332e10ddc05241b", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:fb7cc6e608fdbe68a9735a1313285782b9717ff12bde17343f8ce635de3644f6", + "digest": "sha256:9f19f11674ca5dfc3c9c3ae35fe6106557aee9583210da13d257e1b9d88e052c", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 110, - "generated_at_commit": "2a6d6d7b9091bd2184b15dcde893035dbcca40d3", - "source_tree": "sha256:b39f40915ce2ed4092ade2a38665d99f6daab78fd462433177cdd0aec5f00bd7" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:2df583871de57822c268162a2ba6c6e6d9ecfa3f443af02dc8b47b39ea4b1b9b" }, "owner_lane": "", "provenance": { diff --git a/calibration/scripts/.crumb b/calibration/scripts/.crumb index 8ed7ab3f5..2cde41c3d 100644 --- a/calibration/scripts/.crumb +++ b/calibration/scripts/.crumb @@ -7,14 +7,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-04T13:47:05Z", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:7da9b50a75b326141d535cf9e56e31d51437da93d85bf0556e6f61720810a430", + "digest": "sha256:af056765c0d3db17ce1819cb8aae90f04ae2a9b21b399ec347daf81efe9eff80", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 18, - "generated_at_commit": "834ee93e4314a42c1127a2fcda8b29cf3b511245", - "source_tree": "sha256:febb5477e664fde09fef96bcffbab9708ff231b06c0cb7536607b2ca991dc10c" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:84635269c60d192d195c50f14a97e1fe88dd6c7a36644986d600268f81240904" }, "owner_lane": "", "provenance": { diff --git a/calibration/scripts/candidate_env.sh b/calibration/scripts/candidate_env.sh index 36264e771..fe482dfc3 100755 --- a/calibration/scripts/candidate_env.sh +++ b/calibration/scripts/candidate_env.sh @@ -1,4 +1,19 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Turing calibration (CAL-0 / EXP-001): Candidate Environment. # # usage: candidate_env.sh [--workdir DIR] [--dev DIR]... [--ro DIR]... [--net] -- COMMAND [ARG...] diff --git a/calibration/scripts/check_profile.sh b/calibration/scripts/check_profile.sh index 0486403b2..8495bb688 100644 --- a/calibration/scripts/check_profile.sh +++ b/calibration/scripts/check_profile.sh @@ -1,4 +1,19 @@ #!/bin/sh +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # check_profile.sh: the experiment profile (EXP_ID, default EXP-001: Turing-profile-v1.0.toml; EXP-001R: v1.1) must agree with the code it describes. # # TXA_CAND=build/turing-exp001-a/turing-cal-candidates sh calibration/scripts/check_profile.sh [--freeze] diff --git a/calibration/scripts/envelope_summary.sh b/calibration/scripts/envelope_summary.sh index 3e3811531..bced28d1c 100644 --- a/calibration/scripts/envelope_summary.sh +++ b/calibration/scripts/envelope_summary.sh @@ -1,4 +1,19 @@ #!/bin/sh +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Summarise turing-coder envelope CSVs (DIR/seed-..csv) per candidate and coder: # the largest |overhead - 448| in bits over every file and every crumb, and the worst margin # |overhead - 448| - (64 + 1.0e-3 x N) (<= 0 means inside the envelope; CODER_SPEC section 9). diff --git a/calibration/scripts/evaluator_env.sh b/calibration/scripts/evaluator_env.sh index f5493507e..cde6a4af2 100755 --- a/calibration/scripts/evaluator_env.sh +++ b/calibration/scripts/evaluator_env.sh @@ -1,4 +1,19 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Turing calibration (CAL-0 / EXP-001): Evaluator Environment. # # usage: evaluator_env.sh --frozen DIR --sealed DIR --out DIR [--ro DIR]... -- COMMAND [ARG...] diff --git a/calibration/scripts/freeze_candidate.sh b/calibration/scripts/freeze_candidate.sh index eaab30869..adaa3a11a 100644 --- a/calibration/scripts/freeze_candidate.sh +++ b/calibration/scripts/freeze_candidate.sh @@ -1,4 +1,19 @@ #!/bin/sh +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # freeze_candidate.sh: hash every EXP-001 candidate model and the profile into # calibration/experiments/EXP-001/candidate_manifest.json. # diff --git a/calibration/scripts/freeze_receipt.sh b/calibration/scripts/freeze_receipt.sh index a4e2b5b08..c30f06a3b 100755 --- a/calibration/scripts/freeze_receipt.sh +++ b/calibration/scripts/freeze_receipt.sh @@ -1,4 +1,19 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # freeze_receipt.sh: step 2 of the two-step freeze (BLINDING_PROTOCOL.md section 2). Writes # calibration/experiments/EXP-001/freeze_receipt.json with TURING_PROFILE_V1_FROZEN = PASS for the freeze # commit C_f, or refuses (exit 2) and writes nothing. diff --git a/calibration/scripts/generate_sealed_data.sh b/calibration/scripts/generate_sealed_data.sh index 3ac9abf45..96f3c6408 100755 --- a/calibration/scripts/generate_sealed_data.sh +++ b/calibration/scripts/generate_sealed_data.sh @@ -1,4 +1,19 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Turing calibration (CAL-0 / EXP-001): generate the sealed test data AFTER the # candidate freeze. calibration/docs/BLINDING_PROTOCOL.md is the full procedure. # diff --git a/calibration/scripts/indep_source_digest.sh b/calibration/scripts/indep_source_digest.sh index 1cb62cd1e..b8b03b7c8 100644 --- a/calibration/scripts/indep_source_digest.sh +++ b/calibration/scripts/indep_source_digest.sh @@ -1,4 +1,19 @@ #!/bin/sh +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # indep_source_digest.sh: independent_scorer_source_sha256 of EXP-001 (rule turing.cal.indep_source.v1). # # sh calibration/scripts/indep_source_digest.sh [--lines] diff --git a/calibration/scripts/make_dataset_manifest.sh b/calibration/scripts/make_dataset_manifest.sh index f2ba5b117..7669e47e0 100644 --- a/calibration/scripts/make_dataset_manifest.sh +++ b/calibration/scripts/make_dataset_manifest.sh @@ -1,4 +1,19 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # EXP-001 dataset manifest (turing.cal.dataset_manifest.v1): the evaluator's # only description of the data it scores. See calibration/docs/EVALUATOR.md. # diff --git a/calibration/scripts/power_simulation.c b/calibration/scripts/power_simulation.c index 5b95d81fc..bd1dc378a 100644 --- a/calibration/scripts/power_simulation.c +++ b/calibration/scripts/power_simulation.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* EXP-001 power simulation (Turing-profile-v1.0, lane A). C only, CPU only. * * power-simulation MANIFEST ROOT diff --git a/calibration/scripts/record_void.sh b/calibration/scripts/record_void.sh index 99a198c58..f3a14afb9 100755 --- a/calibration/scripts/record_void.sh +++ b/calibration/scripts/record_void.sh @@ -1,4 +1,19 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # record_void.sh: record a VOID attempt of EXP-001 that no tool records by itself: a failed build or test of the # frozen tree at BLINDING_PROTOCOL.md step 7 (stage "tests"). It writes the next void receipt in the one EXP-001 # counter ($TC_EVAL_ROOT//run/bundle, tc_void_lib.sh) and, on the third void of the experiment, the diff --git a/calibration/scripts/runtime_digest.sh b/calibration/scripts/runtime_digest.sh index 76dc80126..7886efb12 100644 --- a/calibration/scripts/runtime_digest.sh +++ b/calibration/scripts/runtime_digest.sh @@ -1,4 +1,19 @@ #!/bin/sh +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # runtime_digest.sh: the runtime_digest of Turing-profile-v1.0 (rule turing.cal.runtime.v1). # # sh calibration/scripts/runtime_digest.sh [--lines] diff --git a/calibration/scripts/tc_exp.sh b/calibration/scripts/tc_exp.sh index 0cef26634..e6f7696c5 100644 --- a/calibration/scripts/tc_exp.sh +++ b/calibration/scripts/tc_exp.sh @@ -1,3 +1,18 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # tc_exp.sh: experiment selection for the calibration scripts (POSIX sh; sourced, never run). # # EXP_ID=EXP-001 (default) Turing-profile-v1.0, calibration/experiments/EXP-001, preregistration EXP-001.md diff --git a/calibration/scripts/tc_jail_lib.sh b/calibration/scripts/tc_jail_lib.sh index d2d45ef45..4c2350625 100755 --- a/calibration/scripts/tc_jail_lib.sh +++ b/calibration/scripts/tc_jail_lib.sh @@ -1,3 +1,18 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Turing calibration (CAL-0 / EXP-001): shared bubblewrap jail helpers. # Sourced by candidate_env.sh, evaluator_env.sh, generate_sealed_data.sh and # test_blinding.sh. calibration/docs/BLINDING_PROTOCOL.md explains the design. diff --git a/calibration/scripts/tc_void_lib.sh b/calibration/scripts/tc_void_lib.sh index bc60f1104..32a802c12 100644 --- a/calibration/scripts/tc_void_lib.sh +++ b/calibration/scripts/tc_void_lib.sh @@ -1,3 +1,18 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Turing calibration (EXP-001): the one VOID counter, shared by sealed generation, the frozen-tree tests and # the evaluator (FAILURE_REPORTING.md section 2; CAL-0 review 2 Q1). Sourced by generate_sealed_data.sh and # record_void.sh; turing-cal-eval implements the same rule in C (refuse_c). diff --git a/calibration/scripts/test_blinding.sh b/calibration/scripts/test_blinding.sh index 842da00c8..831fbcbad 100755 --- a/calibration/scripts/test_blinding.sh +++ b/calibration/scripts/test_blinding.sh @@ -1,4 +1,19 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Turing calibration (CAL-0 / EXP-001, EXP-001R): blinding self-test (make test-turing-cal-blinding). # # Plants a random canary file inside the REAL sealed root, then checks, through diff --git a/calibration/scripts/verify_holdout_separation.sh b/calibration/scripts/verify_holdout_separation.sh index 2691422ba..451688252 100755 --- a/calibration/scripts/verify_holdout_separation.sh +++ b/calibration/scripts/verify_holdout_separation.sh @@ -1,4 +1,19 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Turing calibration (CAL-0 / EXP-001, EXP-001R): prove the sealed test data is separate # from all development data, and was made after the freeze. Writes overlap_audit.json. # diff --git a/docs/.crumb b/docs/.crumb index ca5d5ec00..559223c0a 100644 --- a/docs/.crumb +++ b/docs/.crumb @@ -87,8 +87,8 @@ "purpose": "Directory docs/numeric. Purpose not yet described by a human." }, { - "digest": "6bdfbc843114954144a288eb6bc0f8c84a3be256547a8db98b2bd3ee949e95be", - "last_commit": "f37bf0fd", + "digest": "6fff07c654fe051c1738dd033ac3723f28df48d44efc1365982205eab21337c6", + "last_commit": "dc7c1304", "name": "osc", "purpose": "Directory docs/osc. Purpose not yet described by a human." }, @@ -123,15 +123,15 @@ "purpose": "Directory docs/turing. Purpose not yet described by a human." } ], - "children_root": "sha256:ac7f7ea4b00d4620a993c6dd88a0267f2d49008d415162976e45fa4341e43407", - "compiled_at": "2026-10-16T09:04:56Z", + "children_root": "sha256:714214544c32beee15166fcc8b150c5847bf3786035848011e1e564bdd72ddd4", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:d2eb8967a939ebdb0b54e15fe5d849dd5af71c23b812941e4ba86ad2b0f21d39", + "digest": "sha256:2ff2b8f9b497473c444c34383857d29a5ad45a55c274141321d98d608475b97e", "evidence_files": 34, "evidence_root": "sha256:589d8b3706e6d7a202ab20b278dac5fc5bafc973f1c2a867b2668aa7210b65cc", "files": 127, - "generated_at_commit": "9d368679f13ea58c46bf7580899aee92e39f5885", - "source_tree": "sha256:29d159b6950500f96de859834fd2c5a9e9ba037f9bc88fd97a8ed47a1688233b" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:9258a62ccd8cb6745c2c3aebedc9ad5fad089f7e6fafedc20caa26dbd005f2e9" }, "owner_lane": "", "provenance": { diff --git a/docs/osc/.crumb b/docs/osc/.crumb index 93ece87ce..cfa7f0299 100644 --- a/docs/osc/.crumb +++ b/docs/osc/.crumb @@ -13,21 +13,21 @@ "generated": { "children": [ { - "digest": "dd88e66963c539dfc4d24530fb8b19002aa11eb05d52e5b509bc6de33f07b163", - "last_commit": "5901baa5", + "digest": "8d8eef025f0cd53adf52fca843f24748afd9080d7c8be50672e9b5ffac9d2202", + "last_commit": "dc7c1304", "name": "audit", "purpose": "Directory docs/osc/audit. Purpose not yet described by a human." } ], - "children_root": "sha256:fe7b526366c92c41e77d831ed9fddc2c3c278df36af61c755bf788f12d38c5e7", - "compiled_at": "2026-10-16T01:32:55Z", + "children_root": "sha256:0aeaacc3c9de970cb9bfdf60e5596f0a9548d866afdcc2bb1d70e9f2df24cd4d", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:6bdfbc843114954144a288eb6bc0f8c84a3be256547a8db98b2bd3ee949e95be", + "digest": "sha256:6fff07c654fe051c1738dd033ac3723f28df48d44efc1365982205eab21337c6", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 15, - "generated_at_commit": "06d994df9cb00eb5267a6c613552c70109a2aaa4", - "source_tree": "sha256:4d1c984a8fd4a3e5b30557b23ba1f073be816e090ede232f31284906723acb2b" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:722024bf52735209cc9e480dbef3e2df40045a4eb39d392b0ba80302daf70fe7" }, "owner_lane": "research-0c", "provenance": { diff --git a/docs/osc/audit/.crumb b/docs/osc/audit/.crumb index c8882d9dc..b79dcde21 100644 --- a/docs/osc/audit/.crumb +++ b/docs/osc/audit/.crumb @@ -13,21 +13,21 @@ "generated": { "children": [ { - "digest": "362eb4664e9e5a8099509b028a69c4fa1b023d58b3b0f2050172b0cde15632fd", - "last_commit": "a927bd6c", + "digest": "42806c0219be3e07cac18533cd663ffcd532463cd3cffa23f8d0218102553b95", + "last_commit": "dc7c1304", "name": "baseline", "purpose": "Directory docs/osc/audit/baseline. Purpose not yet described by a human." } ], - "children_root": "sha256:5bad2e37a82c74f65f94511437b8ef17992b2462e417ee489f4543fe64fe497c", - "compiled_at": "2026-10-14T01:16:48Z", + "children_root": "sha256:9f75b86f483f436b0a99af29d35518e6406bfc20bab02dd2f7f6f88b4543fd5e", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:dd88e66963c539dfc4d24530fb8b19002aa11eb05d52e5b509bc6de33f07b163", + "digest": "sha256:8d8eef025f0cd53adf52fca843f24748afd9080d7c8be50672e9b5ffac9d2202", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 6, - "generated_at_commit": "e0abd0b524f5bf8e3ba6960b53868980bdd41b4e", - "source_tree": "sha256:e8649f8740d85070492eec0b5fda3e5851f61a4a2e89dc4160a8c46cb25eaca2" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:85dcfcd1767c17a4dc816cfef947f3b3f26ef4d77661f2c841f9befb8394acbf" }, "owner_lane": "", "provenance": { diff --git a/docs/osc/audit/baseline/.crumb b/docs/osc/audit/baseline/.crumb index edd049670..19296e07e 100644 --- a/docs/osc/audit/baseline/.crumb +++ b/docs/osc/audit/baseline/.crumb @@ -7,14 +7,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-04T13:47:05Z", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:362eb4664e9e5a8099509b028a69c4fa1b023d58b3b0f2050172b0cde15632fd", + "digest": "sha256:42806c0219be3e07cac18533cd663ffcd532463cd3cffa23f8d0218102553b95", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 2, - "generated_at_commit": "834ee93e4314a42c1127a2fcda8b29cf3b511245", - "source_tree": "sha256:f5d300ac81eb4f5557064affba3d506954bca1ff0bd4d99fb40a7f660f30d838" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:2be84447ecd58352f836804606fb13a99dac0fee0035ec7ba3059d33752038e4" }, "owner_lane": "", "provenance": { diff --git a/docs/osc/audit/baseline/agg.sh b/docs/osc/audit/baseline/agg.sh index 6086b14a5..607421d9f 100755 --- a/docs/osc/audit/baseline/agg.sh +++ b/docs/osc/audit/baseline/agg.sh @@ -1,4 +1,19 @@ #!/bin/bash +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + R=/home/drakestapleton/.claude/jobs/9d0b86f6/tmp/bench-scratch/runs cd $R || exit 1 sec() { awk -F: '{ if (NF==3) print $1*3600+$2*60+$3; else print $1*60+$2 }'; } diff --git a/docs/osc/audit/baseline/shim.c b/docs/osc/audit/baseline/shim.c index 0c11638d5..e6b3d31fb 100644 --- a/docs/osc/audit/baseline/shim.c +++ b/docs/osc/audit/baseline/shim.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + // LD_PRELOAD allocation counting shim. Counts malloc/calloc/realloc/free (+memalign family), // tracks live bytes with malloc_usable_size, prints totals + mallinfo2 at exit to stderr. #define _GNU_SOURCE diff --git a/research/.crumb b/research/.crumb index df383ba0d..03aa7f9dd 100644 --- a/research/.crumb +++ b/research/.crumb @@ -21,27 +21,27 @@ "generated": { "children": [ { - "digest": "fce91110a9847be58e4068fc9c24497369672f3f60ca6c7deb5b0699df0e045c", - "last_commit": "e0abd0b5", + "digest": "52c3be397b5256bbedfd2131ad15c04eb12ce6fde938d4b35279d4b8836a2d1a", + "last_commit": "dc7c1304", "name": "atemporal", "purpose": "AT-0 Clock-Free Universe research program: relational (Page-Wootters) quantum models with no ext" }, { - "digest": "7597531ca9a2cdce9e840dda55ce639f86c4237eda3f2e3d1d5b10c599966a33", - "last_commit": "458c57f5", + "digest": "87db1defc5aade980a964c2be7856312f9fd5ef77e40b9d8690d51232b3e14e5", + "last_commit": "dc7c1304", "name": "dirac-oracle", "purpose": "Directory research/dirac-oracle. Purpose not yet described by a human." } ], - "children_root": "sha256:47fde1e530a64eb6f5fbecb27fddf6335c32069f1acb4de243826d601361a138", - "compiled_at": "2026-10-14T01:16:48Z", + "children_root": "sha256:51505e32ba6ea6c03963dea5572d9eeafb0b606af56df338e0ddc613b3d291af", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:eccc4aec1037ae222d6370836953732b031b8ed70de28967b7af7ca62c2abe0b", + "digest": "sha256:590f1f3a26a12dfd9df281ec944b882b85fd4ac2ae07a88a03bb8bd0d7d62536", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 538, - "generated_at_commit": "e0abd0b524f5bf8e3ba6960b53868980bdd41b4e", - "source_tree": "sha256:2c362ea1c5900e78486cbe9cfc017bd87b53ab97bd93317cd9be0efb6923d9ea" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:3fa1bc07dd8c0a0839e88d38f860a502bd23580b16380d73a729f7aed885ef63" }, "owner_lane": "", "provenance": { diff --git a/research/atemporal/.crumb b/research/atemporal/.crumb index fc9132860..5634267fc 100644 --- a/research/atemporal/.crumb +++ b/research/atemporal/.crumb @@ -3,21 +3,21 @@ "generated": { "children": [ { - "digest": "b5ce051e4052120508499aeed3c249cbc4ef5c0e46b2386e8a8916c7bdb9f7f9", - "last_commit": "bacc4b6b", + "digest": "5ad6a1ff0fed0195603d5a012f2c76f48a3087b488347884ac76c7fb002f5417", + "last_commit": "dc7c1304", "name": "at0", "purpose": "AT-0 V1: finite clock plus one qubit under the AT0_CASE_V1 / AT0_RESULT_V1 contracts" } ], - "children_root": "sha256:f7bd1d7019a69ef57140cd019f86634f3cb80c1e31ca3063dfdf73ac9deef7c6", - "compiled_at": "2026-10-14T01:16:48Z", + "children_root": "sha256:15b18e565d084ce405f46950099fe98902118858b0d7401d672ecbe404b6f001", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:fce91110a9847be58e4068fc9c24497369672f3f60ca6c7deb5b0699df0e045c", + "digest": "sha256:52c3be397b5256bbedfd2131ad15c04eb12ce6fde938d4b35279d4b8836a2d1a", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 392, - "generated_at_commit": "e0abd0b524f5bf8e3ba6960b53868980bdd41b4e", - "source_tree": "sha256:2bdda175595d2ff0ed4424af8e04f326e0c69c0bcac44151aa21771afd647cbe" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:e89f94973b5ba39d9e634f8a2f04fc581ec0f46e573ac21e25809da1439ff0e9" } }, "name": "atemporal", diff --git a/research/atemporal/at0/.crumb b/research/atemporal/at0/.crumb index 24e04c9ae..519717815 100644 --- a/research/atemporal/at0/.crumb +++ b/research/atemporal/at0/.crumb @@ -3,39 +3,39 @@ "generated": { "children": [ { - "digest": "89c1c159c3b165b4da0433cd0b89584f76fd43ca3a8d29bc3eb522e8f26b4465", - "last_commit": "712469d9", + "digest": "b7cd47648b7a7efeee71c84734e4046a7fbe69d5d313ffc3edd64005c39f8285", + "last_commit": "dc7c1304", "name": "evaluator", "purpose": "Agent 4 independent adversarial evaluator for AT-0: independent AT0_CASE_V1 codec, exact-arithme" }, { - "digest": "6e8b05f8e04b9609f9da655e458f5aa7e3a61760ecc94cf4d1a34fe4894c1b40", - "last_commit": "ff9210e0", + "digest": "1ca130c5ad9cc18fda6d77e3d16fb6b09c33066203dbd920ea2e113c03b02f9e", + "last_commit": "dc7c1304", "name": "integration", "purpose": "AT-0 Agent 5 integration runner, exact result assembler/judge, hygiene and isolation controls, a" }, { - "digest": "412b7b17d778908a08547c6555d1bb684e26b8fcf16eae953cd4a23510028ba9", - "last_commit": "bff4a428", + "digest": "7f7221de7a77beeb3d2acd8e0226b1ec542032f968f8a09da590055c4797e590", + "last_commit": "dc7c1304", "name": "model", "purpose": "Agent 3 candidate relational quantum engine in portable C11: state, Hamiltonians, constraint ker" }, { - "digest": "24340ae691dce9743ee4d3eedf80ae0d362dd707cac0b6bae6ebbb562dafcf39", - "last_commit": "026bad06", + "digest": "516195dbbbf36c0a3f91312184abd2a5cb617e2ccbc491263949a2e99b17b0f7", + "last_commit": "dc7c1304", "name": "oracle", "purpose": "AT-0 reference oracle (Rust, standard library only, built by rustc directly; research cross-chec" } ], - "children_root": "sha256:b8f4b679edffdd5a70e217cf9f5de151009b4d8c1c0c4defb0eb564d60adb45a", - "compiled_at": "2026-10-10T00:57:37Z", + "children_root": "sha256:2a31a3c56db8ed0bcfb8f1c11680758b660503005cbca702569acd744b4fa93c", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:b5ce051e4052120508499aeed3c249cbc4ef5c0e46b2386e8a8916c7bdb9f7f9", + "digest": "sha256:5ad6a1ff0fed0195603d5a012f2c76f48a3087b488347884ac76c7fb002f5417", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 189, - "generated_at_commit": "ff9210e09293af5eee705084cc8888cd52bfd44c", - "source_tree": "sha256:eb5284f230763c0500674b8ea743884fbe30109420d03d52b6eeb2bc0d1648a5" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:16e5885b3cfdcc8976812ce1efbce584072310e48eb84ef4b7807bb1d197da8b" } }, "name": "at0", diff --git a/research/atemporal/at0/evaluator/.crumb b/research/atemporal/at0/evaluator/.crumb index 10b05a7b7..29809caa3 100644 --- a/research/atemporal/at0/evaluator/.crumb +++ b/research/atemporal/at0/evaluator/.crumb @@ -3,14 +3,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-10T00:48:51Z", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:89c1c159c3b165b4da0433cd0b89584f76fd43ca3a8d29bc3eb522e8f26b4465", + "digest": "sha256:b7cd47648b7a7efeee71c84734e4046a7fbe69d5d313ffc3edd64005c39f8285", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 99, - "generated_at_commit": "1b099302031b3ac860efd536a5df2883235f62ce", - "source_tree": "sha256:881c0d3606b69fe4c824d820c170d154873b7148a8f7beab5973ccd31b4027ac" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:01d40bc9c4256d17204ab4dd59a6a32a2c6b92a597fbc76be68f5b4a3013804e" } }, "name": "evaluator", diff --git a/research/atemporal/at0/evaluator/cases/generate.sh b/research/atemporal/at0/evaluator/cases/generate.sh index 22761d695..0aa03473b 100644 --- a/research/atemporal/at0/evaluator/cases/generate.sh +++ b/research/atemporal/at0/evaluator/cases/generate.sh @@ -1,4 +1,19 @@ #!/bin/sh +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Regenerates the public AT-0 case corpus of the Agent 4 evaluator from the # generator (positive and negative controls) and from byte-level edits of the # contract example (refusal controls). Hand derivations: ../README.md section 4. diff --git a/research/atemporal/at0/evaluator/gates/clean_control.c b/research/atemporal/at0/evaluator/gates/clean_control.c index ddb1f604f..133e79e52 100644 --- a/research/atemporal/at0/evaluator/gates/clean_control.c +++ b/research/atemporal/at0/evaluator/gates/clean_control.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Negative control for gates/isolation.sh: pure arithmetic, no forbidden * symbol. The gate must PASS on this object. */ #include diff --git a/research/atemporal/at0/evaluator/gates/fortified_read_mutant.c b/research/atemporal/at0/evaluator/gates/fortified_read_mutant.c index a021ad19e..a029b3464 100644 --- a/research/atemporal/at0/evaluator/gates/fortified_read_mutant.c +++ b/research/atemporal/at0/evaluator/gates/fortified_read_mutant.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Isolation gate positive control (Agent 5 finding, omega#358): a hardened-libc file read. * With -D_FORTIFY_SOURCE the compiler rewrites fread/open into __fread_chk/__open_2; a gate that * matches only the plain names misses them. The references are written out explicitly so the diff --git a/research/atemporal/at0/evaluator/gates/hidden_clock_mutant.c b/research/atemporal/at0/evaluator/gates/hidden_clock_mutant.c index f0907561f..3466d9499 100644 --- a/research/atemporal/at0/evaluator/gates/hidden_clock_mutant.c +++ b/research/atemporal/at0/evaluator/gates/hidden_clock_mutant.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Positive control for gates/isolation.sh: a compute-like object that secretly * reads the wall clock. The gate must FAIL on this object. Never linked into * anything else. */ diff --git a/research/atemporal/at0/evaluator/gates/isolation.sh b/research/atemporal/at0/evaluator/gates/isolation.sh index 8499814d5..1f038921e 100644 --- a/research/atemporal/at0/evaluator/gates/isolation.sh +++ b/research/atemporal/at0/evaluator/gates/isolation.sh @@ -1,4 +1,19 @@ #!/bin/sh +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # AT-0 evaluator isolation gate (charter section 3, gate AT0-G2 method; adapted # from omega tests/physics0/isolation.sh). Compute objects of the candidate # (engine, oracle) must reference no clock, randomness, environment, file, diff --git a/research/atemporal/at0/evaluator/run.sh b/research/atemporal/at0/evaluator/run.sh index cce1be9f9..64f8125ab 100755 --- a/research/atemporal/at0/evaluator/run.sh +++ b/research/atemporal/at0/evaluator/run.sh @@ -1,4 +1,19 @@ #!/bin/sh +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # AT-0 Agent 4 qualification runner. Builds the evaluator, runs its own # red-before-green self-tests, the public corpus, the isolation-gate controls, # and (when a candidate is supplied) the candidate conformance and verification diff --git a/research/atemporal/at0/evaluator/src/at0e.h b/research/atemporal/at0/evaluator/src/at0e.h index b6aff158b..3531aec6a 100644 --- a/research/atemporal/at0/evaluator/src/at0e.h +++ b/research/atemporal/at0/evaluator/src/at0e.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* AT-0 Agent 4 independent evaluator: shared declarations. * * Contracts: AT0_CASE_V1 and AT0_RESULT_V1, frozen at aien-architecture diff --git a/research/atemporal/at0/evaluator/src/at0e_big.c b/research/atemporal/at0/evaluator/src/at0e_big.c index f0de06a3c..dd8b87993 100644 --- a/research/atemporal/at0/evaluator/src/at0e_big.c +++ b/research/atemporal/at0/evaluator/src/at0e_big.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Exact arithmetic for the AT-0 evaluator: int128 rationals, scaled decimals, * 4096-bit integers, and the two tri-state comparison forms of AT0_RESULT_V1 * section 4. Nothing here touches floating point except the bit-pattern diff --git a/research/atemporal/at0/evaluator/src/at0e_case.c b/research/atemporal/at0/evaluator/src/at0e_case.c index 269b7452c..684a138f2 100644 --- a/research/atemporal/at0/evaluator/src/at0e_case.c +++ b/research/atemporal/at0/evaluator/src/at0e_case.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Independent AT0_CASE_V1 codec: parse, validate (section 4 order), identities * (section 5), canonical emission. Written from the contract text only. */ #include "at0e.h" diff --git a/research/atemporal/at0/evaluator/src/at0e_main.c b/research/atemporal/at0/evaluator/src/at0e_main.c index 0eec75432..0f45f9d93 100644 --- a/research/atemporal/at0/evaluator/src/at0e_main.c +++ b/research/atemporal/at0/evaluator/src/at0e_main.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* at0-eval: command-line front end of the AT-0 Agent 4 evaluator. * * at0-eval case [--detail] diff --git a/research/atemporal/at0/evaluator/src/at0e_result.c b/research/atemporal/at0/evaluator/src/at0e_result.c index 263a1ba08..6c6452047 100644 --- a/research/atemporal/at0/evaluator/src/at0e_result.c +++ b/research/atemporal/at0/evaluator/src/at0e_result.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Independent AT0_RESULT_V1 parser, exact re-derivation of the ten checks, and * the evaluator's verification pass (identities, bindings, provenance, shadow). */ #include "at0e.h" diff --git a/research/atemporal/at0/evaluator/src/at0e_shadow.c b/research/atemporal/at0/evaluator/src/at0e_shadow.c index ec7064c68..283069d7b 100644 --- a/research/atemporal/at0/evaluator/src/at0e_shadow.c +++ b/research/atemporal/at0/evaluator/src/at0e_shadow.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Shadow oracle: an independent derivation of every AT-0 quantity from the case * alone (AT0_CASE_V1 section 3), used to falsify engine and reference values. * diff --git a/research/atemporal/at0/evaluator/src/at0e_synth.c b/research/atemporal/at0/evaluator/src/at0e_synth.c index 6332e5947..d82e420d4 100644 --- a/research/atemporal/at0/evaluator/src/at0e_synth.c +++ b/research/atemporal/at0/evaluator/src/at0e_synth.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Synthetic result writer for evaluator self-tests. The honest fixture takes its * numbers from the shadow oracle (rounded to binary64, bound 1@15, ESTIMATED). * Every mutant below is a deliberate defect the evaluator must catch. Nothing diff --git a/research/atemporal/at0/evaluator/src/at0e_text.c b/research/atemporal/at0/evaluator/src/at0e_text.c index a12fd4781..c3c84ad59 100644 --- a/research/atemporal/at0/evaluator/src/at0e_text.c +++ b/research/atemporal/at0/evaluator/src/at0e_text.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Byte rules, tokens and digests for the AT-0 evaluator (AT0_CASE_V1 sections 1, 2, 5). */ #include "at0e.h" #include "sha256.h" diff --git a/research/atemporal/at0/integration/.crumb b/research/atemporal/at0/integration/.crumb index 3f622d523..2126ed256 100644 --- a/research/atemporal/at0/integration/.crumb +++ b/research/atemporal/at0/integration/.crumb @@ -3,14 +3,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-10T00:57:37Z", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:6e8b05f8e04b9609f9da655e458f5aa7e3a61760ecc94cf4d1a34fe4894c1b40", + "digest": "sha256:1ca130c5ad9cc18fda6d77e3d16fb6b09c33066203dbd920ea2e113c03b02f9e", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 7, - "generated_at_commit": "ff9210e09293af5eee705084cc8888cd52bfd44c", - "source_tree": "sha256:b2b25f43aa0cc8e35daf403a3a955569aeca35d248ed044ccc99b3f82a093989" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:13355e15149287d345adbc2f45c8dcf86d03e452647057b38b252b1c08e35fd0" } }, "name": "at0-integration", diff --git a/research/atemporal/at0/integration/at0_assemble.c b/research/atemporal/at0/integration/at0_assemble.c index 93738179f..710895b7b 100644 --- a/research/atemporal/at0/integration/at0_assemble.c +++ b/research/atemporal/at0/integration/at0_assemble.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* AT-0 Agent 5: result assembler and exact judge (runner side, C11, -lm not needed). * * Joins one engine component output (OMEGA-AT0-ENGINE v1) with the `reference` lines of one diff --git a/research/atemporal/at0/integration/candidate_run.sh b/research/atemporal/at0/integration/candidate_run.sh index 314483423..a421efbdc 100755 --- a/research/atemporal/at0/integration/candidate_run.sh +++ b/research/atemporal/at0/integration/candidate_run.sh @@ -1,4 +1,19 @@ #!/bin/sh +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # AT-0 Agent 5: run ONE case end to end and write one complete AT0_RESULT_V2 file to stdout. # sh candidate_run.sh # model -> engine component output; oracle -> record (only its `reference` lines are used); diff --git a/research/atemporal/at0/integration/case_tool.sh b/research/atemporal/at0/integration/case_tool.sh index 54cc1cf70..26e68be01 100755 --- a/research/atemporal/at0/integration/case_tool.sh +++ b/research/atemporal/at0/integration/case_tool.sh @@ -1,4 +1,19 @@ #!/bin/sh +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # AT-0 Agent 5: codec-only front for the evaluator's AT0_CANDIDATE_CASE_TOOL hook. # Prints `AT0_CASE_OK ` (exit 0) or `AT0_CASE_REFUSED ` on stderr (exit 2), # using the candidate model's own parser. sh case_tool.sh diff --git a/research/atemporal/at0/integration/isolation_check.sh b/research/atemporal/at0/integration/isolation_check.sh index 1593ad562..e38e20b1d 100755 --- a/research/atemporal/at0/integration/isolation_check.sh +++ b/research/atemporal/at0/integration/isolation_check.sh @@ -1,4 +1,19 @@ #!/bin/sh +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # AT-0 Agent 5: symbol isolation check (charter section 6, gate AT0-G2), written independently of # the evaluator's gates/isolation.sh and of the oracle's isolation.sh. Works on C objects and on # the members of a Rust rlib: any undefined symbol that names a clock, timer, random source, diff --git a/research/atemporal/at0/integration/run.sh b/research/atemporal/at0/integration/run.sh index 6a47c2e32..dba1f5da5 100644 --- a/research/atemporal/at0/integration/run.sh +++ b/research/atemporal/at0/integration/run.sh @@ -1,4 +1,19 @@ #!/bin/sh +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # AT-0 Agent 5: clean-checkout integration runner (charter section 6, gates G2, G4, G5, G6). # # sh run.sh [--out DIR | --evidence] [--keep-work] diff --git a/research/atemporal/at0/model/.crumb b/research/atemporal/at0/model/.crumb index 57e342764..954092c5a 100644 --- a/research/atemporal/at0/model/.crumb +++ b/research/atemporal/at0/model/.crumb @@ -3,21 +3,21 @@ "generated": { "children": [ { - "digest": "2e9a2125a63adc22f82a5e56134e6b2b5d6806bdb17bd9237f99b120f2ad89bc", - "last_commit": "f768beb0", + "digest": "8392e810077f3fd6fb3404a4dbf12f2fb815cdfdc26d175ca2063a1a3abdb4ae", + "last_commit": "dc7c1304", "name": "tests", "purpose": "Component tests and case files for the candidate engine" } ], - "children_root": "sha256:ec1bb06dccff3af0d8e616f417d41fdaa237a9b91a62ec7404e9b4ea2863ca65", - "compiled_at": "2026-10-10T00:41:47Z", + "children_root": "sha256:1048eda5f0078b90003be537bb48f816e80be4989387217c29b6b46462ad5e56", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:412b7b17d778908a08547c6555d1bb684e26b8fcf16eae953cd4a23510028ba9", + "digest": "sha256:7f7221de7a77beeb3d2acd8e0226b1ec542032f968f8a09da590055c4797e590", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 21, - "generated_at_commit": "f768beb0f76b857e9bfcf432db02135dd27be780", - "source_tree": "sha256:dea30a82e67261eebf82d3fba4798d80679cbf8e555fc2a24fc17beb782d91a2" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:9e3f32789bae730d6da6629adfc0202724958458221b763d2e85d03a76998a16" } }, "name": "model", diff --git a/research/atemporal/at0/model/at0_case.c b/research/atemporal/at0/model/at0_case.c index 3b7f41f29..8e6f22d75 100644 --- a/research/atemporal/at0/model/at0_case.c +++ b/research/atemporal/at0/model/at0_case.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* AT0_CASE_V1 codec: parse, validate (rules 1..6 in contract order), compute * identities, emit canonical bytes. The only shared omega source is sha256. */ #include "at0_model.h" diff --git a/research/atemporal/at0/model/at0_conditional.c b/research/atemporal/at0/model/at0_conditional.c index 54e8837bd..29d09a81b 100644 --- a/research/atemporal/at0/model/at0_conditional.c +++ b/research/atemporal/at0/model/at0_conditional.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Conditional subsystem state: phi_k = ( [--reversed] * stdout: OMEGA-AT0-ENGINE v1 text. Refused case: stderr "AT0_CASE_REFUSED ", diff --git a/research/atemporal/at0/model/at0_model.h b/research/atemporal/at0/model/at0_model.h index d53389be7..9886346e8 100644 --- a/research/atemporal/at0/model/at0_model.h +++ b/research/atemporal/at0/model/at0_model.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* AT-0 candidate relational quantum engine (Agent 3, research model). * * Implements the finite Page-Wootters universe of AT0_CASE_V1 / AT0_RESULT_V1 diff --git a/research/atemporal/at0/model/at0_observable.c b/research/atemporal/at0/model/at0_observable.c index 141f2e67d..7fa9adee7 100644 --- a/research/atemporal/at0/model/at0_observable.c +++ b/research/atemporal/at0/model/at0_observable.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Observable probabilities: P(sigma = +/-1) = Tr(rho (I +/- sigma)/2), each * sign computed directly from rho (never as one minus the other). */ #include "at0_model.h" diff --git a/research/atemporal/at0/model/at0_output.c b/research/atemporal/at0/model/at0_output.c index dd481e18f..3ba593d6a 100644 --- a/research/atemporal/at0/model/at0_output.c +++ b/research/atemporal/at0/model/at0_output.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* OMEGA-AT0-ENGINE v1: the engine's versioned output. Its values block is the * AT0_RESULT_V1 section 1 values block without the oracle's reference lines, * so a runner can splice it into a result. This is a private format of the diff --git a/research/atemporal/at0/model/at0_povm.c b/research/atemporal/at0/model/at0_povm.c index 1267ffce1..e368bbfea 100644 --- a/research/atemporal/at0/model/at0_povm.c +++ b/research/atemporal/at0/model/at0_povm.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Internal clock POVM: covariant discrete clock states and the normalization * residual. The phase of each component is reduced exactly (rational, mod one * turn) before cos/sin, so no accumulated angle drift and no lookup table. */ diff --git a/research/atemporal/at0/model/at0_state.c b/research/atemporal/at0/model/at0_state.c index f610f2b57..c8e3f9ae7 100644 --- a/research/atemporal/at0/model/at0_state.c +++ b/research/atemporal/at0/model/at0_state.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Quantum state representation: a vector in C^N (x) C^2, clock factor first. * Every accessor checks its indices; nothing here is global. */ #include "at0_model.h" diff --git a/research/atemporal/at0/model/build.sh b/research/atemporal/at0/model/build.sh index bea4cfef6..cd49f488b 100755 --- a/research/atemporal/at0/model/build.sh +++ b/research/atemporal/at0/model/build.sh @@ -1,4 +1,19 @@ #!/bin/sh +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Build the AT-0 candidate engine and its tests (plain C11, -lm only). # ./build.sh plain build into ./build # ./build.sh asan address + undefined sanitizer build into ./build-asan diff --git a/research/atemporal/at0/model/tests/.crumb b/research/atemporal/at0/model/tests/.crumb index 708b470d4..578ef0a73 100644 --- a/research/atemporal/at0/model/tests/.crumb +++ b/research/atemporal/at0/model/tests/.crumb @@ -4,20 +4,20 @@ "children": [ { "digest": "d2c887ac51f08d91ec644200b3b19880a779125df79d55a1d2fecf0a18a88ef4", - "last_commit": "f768beb0", + "last_commit": "bff4a428", "name": "cases", "purpose": "AT0_CASE_V1 case files used by the tests; the KAT file is the contract section 6 example byte fo" } ], "children_root": "sha256:f586562bb608d59c0a422a02fed4cfaeefa2aac5c3cfff171fb4b28f44c5f71f", - "compiled_at": "2026-10-10T00:41:47Z", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:2e9a2125a63adc22f82a5e56134e6b2b5d6806bdb17bd9237f99b120f2ad89bc", + "digest": "sha256:8392e810077f3fd6fb3404a4dbf12f2fb815cdfdc26d175ca2063a1a3abdb4ae", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 5, - "generated_at_commit": "f768beb0f76b857e9bfcf432db02135dd27be780", - "source_tree": "sha256:f07c24b44143dbb9245fc9f14612013b63f96d626faf2aef3ecf76261f9f90ba" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:d7dff386fb04b5080181dd1b13d9377a7b23439591efda3b3b6f906402d8e2f8" } }, "name": "tests", diff --git a/research/atemporal/at0/model/tests/mkcase.sh b/research/atemporal/at0/model/tests/mkcase.sh index f22e812fe..e8342b660 100755 --- a/research/atemporal/at0/model/tests/mkcase.sh +++ b/research/atemporal/at0/model/tests/mkcase.sh @@ -1,4 +1,19 @@ #!/bin/sh +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Stamp AT0_CASE_V1 identities onto a hand-written case body. # tests/mkcase.sh > # The body holds every line from "OMEGA-AT0-CASE v1" through "end acceptance". diff --git a/research/atemporal/at0/model/tests/test_model.c b/research/atemporal/at0/model/tests/test_model.c index b3e5746a6..8c5ee5dfa 100644 --- a/research/atemporal/at0/model/tests/test_model.c +++ b/research/atemporal/at0/model/tests/test_model.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Component tests for the AT-0 candidate engine. * at0-tests * Every test is a plain function returning 0 on pass; failures print the diff --git a/research/atemporal/at0/oracle/.crumb b/research/atemporal/at0/oracle/.crumb index 352c6cbad..1b0824572 100644 --- a/research/atemporal/at0/oracle/.crumb +++ b/research/atemporal/at0/oracle/.crumb @@ -4,20 +4,20 @@ "children": [ { "digest": "e8ffe146a962a5f83ae451493137edeb61aa801e5db79ba6494e36148317dabf", - "last_commit": "13b5a12", + "last_commit": "026bad06", "name": "fixtures", "purpose": "Deterministic AT-0 oracle calibration fixtures: case files, computed values/verdict blocks, CALI" } ], "children_root": "sha256:d1b049cf56079c332a7ff86f09e30225dfa91e01bbf6e598e481d521d9b72977", - "compiled_at": "2026-10-10T00:12:06Z", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:24340ae691dce9743ee4d3eedf80ae0d362dd707cac0b6bae6ebbb562dafcf39", + "digest": "sha256:516195dbbbf36c0a3f91312184abd2a5cb617e2ccbc491263949a2e99b17b0f7", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 62, - "generated_at_commit": "9b74392c8a09ff50c9e1056a958bbee8f817dedd", - "source_tree": "sha256:18bf6d7f84db029544f90befe6321628d9525f06f67825889076a0033e2a9f44" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:74cd66f9e19c263d3d00eb55c7a6f2f362a9a049495adcfb9a24e79b2eb3aef2" } }, "name": "oracle", diff --git a/research/atemporal/at0/oracle/build.sh b/research/atemporal/at0/oracle/build.sh index f0d486339..63bc52b78 100755 --- a/research/atemporal/at0/oracle/build.sh +++ b/research/atemporal/at0/oracle/build.sh @@ -1,4 +1,19 @@ #!/bin/sh +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Build the AT-0 reference oracle with a direct rustc invocation (no cargo, no crates). # Usage: ./build.sh -> target/at0-oracle # ./build.sh test -> builds and runs target/at0-oracle-test diff --git a/research/atemporal/at0/oracle/isolation.sh b/research/atemporal/at0/oracle/isolation.sh index 9ad80777c..2ca149dab 100755 --- a/research/atemporal/at0/oracle/isolation.sh +++ b/research/atemporal/at0/oracle/isolation.sh @@ -1,4 +1,19 @@ #!/bin/sh +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Symbol-isolation gate for the AT-0 oracle compute crate (src/at0/), Rust adaptation of the # charter's nm gate. # 1. Source rule: no compute file names a std::time, std::fs, std::process, std::thread, diff --git a/research/atemporal/at0/oracle/src/at0/case.rs b/research/atemporal/at0/oracle/src/at0/case.rs index b0a1650a4..6f98169a8 100644 --- a/research/atemporal/at0/oracle/src/at0/case.rs +++ b/research/atemporal/at0/oracle/src/at0/case.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! AT0_CASE_V1 codec: byte rules, canonical encodings, exact validity rules //! in the contract's order (section 4), identities (section 5), kernel pairs. //! Contract: aien-architecture docs/plans/atemporal/AT0_CASE_V1.md at 044c9d1. diff --git a/research/atemporal/at0/oracle/src/at0/complex.rs b/research/atemporal/at0/oracle/src/at0/complex.rs index eff6151c3..890a039b2 100644 --- a/research/atemporal/at0/oracle/src/at0/complex.rs +++ b/research/atemporal/at0/oracle/src/at0/complex.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! Explicit complex numbers and small dense matrices (Vec>). Written //! here; no numeric library, nothing shared with the C11 engine. diff --git a/research/atemporal/at0/oracle/src/at0/exact.rs b/research/atemporal/at0/oracle/src/at0/exact.rs index a69a98b29..409fc1120 100644 --- a/research/atemporal/at0/oracle/src/at0/exact.rs +++ b/research/atemporal/at0/oracle/src/at0/exact.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! Exact decisions on written tokens (AT0_RESULT_V1 section 4) without floats. //! //! Every binary64 value is m * 2^e with e >= -1074, every scaled decimal is diff --git a/research/atemporal/at0/oracle/src/at0/fixtures.rs b/research/atemporal/at0/oracle/src/at0/fixtures.rs index c4ef51d0a..d7134f5d9 100644 --- a/research/atemporal/at0/oracle/src/at0/fixtures.rs +++ b/research/atemporal/at0/oracle/src/at0/fixtures.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! Deterministic public calibration fixtures. Pure: returns file contents; //! src/main.rs writes them. Expected tables are exact rationals derived by hand //! (README.md, "How fixture expectations were derived"). diff --git a/research/atemporal/at0/oracle/src/at0/matrix_path.rs b/research/atemporal/at0/oracle/src/at0/matrix_path.rs index 9703baf92..4b51eb88a 100644 --- a/research/atemporal/at0/oracle/src/at0/matrix_path.rs +++ b/research/atemporal/at0/oracle/src/at0/matrix_path.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! Direct-matrix path: Page-Wootters numerics by explicit complex linear algebra //! on the full 2N-dimensional composite space. Produces `clock_probability` and //! `pauli`. No closed-form Schrodinger formula appears here (see reference.rs). diff --git a/research/atemporal/at0/oracle/src/at0/mod.rs b/research/atemporal/at0/oracle/src/at0/mod.rs index 5c6c03b01..a44af7203 100644 --- a/research/atemporal/at0/oracle/src/at0/mod.rs +++ b/research/atemporal/at0/oracle/src/at0/mod.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! AT-0 reference oracle, compute crate. Standard library only; no clock, file, //! process, thread, network, environment or random facility anywhere below //! this module (isolation.sh enforces it). All I/O lives in src/main.rs. diff --git a/research/atemporal/at0/oracle/src/at0/rational.rs b/research/atemporal/at0/oracle/src/at0/rational.rs index 2cc4aca50..94c558140 100644 --- a/research/atemporal/at0/oracle/src/at0/rational.rs +++ b/research/atemporal/at0/oracle/src/at0/rational.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! Exact rationals on i128 for case validation and kernel tests. //! Inputs are bounded by the contract (|n|, d <= 2^20), so every product here fits. diff --git a/research/atemporal/at0/oracle/src/at0/reference.rs b/research/atemporal/at0/oracle/src/at0/reference.rs index c389a3be6..15827d150 100644 --- a/research/atemporal/at0/oracle/src/at0/reference.rs +++ b/research/atemporal/at0/oracle/src/at0/reference.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! Analytic reference path: the Schrodinger prediction without any clock matrix. //! //! 1. `schrodinger_probabilities`: exp(-i H_S t) = e^{-i h0 t} (cos(|h| t) I - i sin(|h| t) n.sigma) diff --git a/research/atemporal/at0/oracle/src/at0/result.rs b/research/atemporal/at0/oracle/src/at0/result.rs index c682e5ac0..5cbd046ee 100644 --- a/research/atemporal/at0/oracle/src/at0/result.rs +++ b/research/atemporal/at0/oracle/src/at0/result.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! AT0_RESULT writer and exact checker. //! //! Result version: AT0_RESULT_V2 per Agent 0's ruling on omega#358 (comment diff --git a/research/atemporal/at0/oracle/src/at0/sha256.rs b/research/atemporal/at0/oracle/src/at0/sha256.rs index 3e2e815ae..831d45345 100644 --- a/research/atemporal/at0/oracle/src/at0/sha256.rs +++ b/research/atemporal/at0/oracle/src/at0/sha256.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! SHA-256 (FIPS 180-4), written here so the oracle shares no digest code with //! the engine or with omega's src/sha256.c. Verified against the contract's //! published known-answer digests and the "abc" test vector. diff --git a/research/atemporal/at0/oracle/src/main.rs b/research/atemporal/at0/oracle/src/main.rs index 26a37780f..1e6d07b7c 100644 --- a/research/atemporal/at0/oracle/src/main.rs +++ b/research/atemporal/at0/oracle/src/main.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! AT-0 reference oracle, outer layer: the only place that touches files, the //! process table and the wall clock. Everything that computes lives in src/at0/. //! diff --git a/research/atemporal/at1/evaluator/.crumb b/research/atemporal/at1/evaluator/.crumb index 35d62fafe..303207e35 100644 --- a/research/atemporal/at1/evaluator/.crumb +++ b/research/atemporal/at1/evaluator/.crumb @@ -3,14 +3,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-10T04:54:22Z", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:d7472188cc921c2fcedb227495a6fdad3ea575761615f762d37c7703e5ed002b", + "digest": "sha256:407606a6bda8c7b16a368a1286e9f3037af50c17a5ab5cde14f49aaf5e66430f", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 125, - "generated_at_commit": "f47584d8300dca03fb0323d93df5d51049227ebd", - "source_tree": "sha256:fc319157dfac83fe6d57477f4fed77acb60218348f6b88a9ffbc8c5c734a153f" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:13bf8a091ef8299fa0b6f3623bc65ed768f91c9bfa726942e972568baf3ce4e1" } }, "name": "evaluator", diff --git a/research/atemporal/at1/evaluator/gates/clean_control.c b/research/atemporal/at1/evaluator/gates/clean_control.c index 8ca4fa4d7..463b3ba7b 100644 --- a/research/atemporal/at1/evaluator/gates/clean_control.c +++ b/research/atemporal/at1/evaluator/gates/clean_control.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Negative control for gates/isolation.sh (AT-1 G2): pure arithmetic, no * forbidden symbol, no counter read, no system call. The gate must PASS. */ #include diff --git a/research/atemporal/at1/evaluator/gates/counter_mutant.c b/research/atemporal/at1/evaluator/gates/counter_mutant.c index 948b6df63..b44b06cee 100644 --- a/research/atemporal/at1/evaluator/gates/counter_mutant.c +++ b/research/atemporal/at1/evaluator/gates/counter_mutant.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Positive control for gates/isolation.sh (AT-1 G2, charter mutant "counter"): * reads the hardware counter inline, so no symbol is referenced and a symbol * scan alone is blind. The instruction scan (at1-eval scan-clock) must reject diff --git a/research/atemporal/at1/evaluator/gates/hidden_clock_mutant.c b/research/atemporal/at1/evaluator/gates/hidden_clock_mutant.c index a692c48c7..aa2ea82a5 100644 --- a/research/atemporal/at1/evaluator/gates/hidden_clock_mutant.c +++ b/research/atemporal/at1/evaluator/gates/hidden_clock_mutant.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Positive control for gates/isolation.sh (AT-1 G2): a compute-like object * that reads the wall clock through libc. The symbol scan must reject it. * Compiled only, never linked or run. */ diff --git a/research/atemporal/at1/evaluator/gates/isolation.sh b/research/atemporal/at1/evaluator/gates/isolation.sh index 9259b34ef..9aeeffb0d 100644 --- a/research/atemporal/at1/evaluator/gates/isolation.sh +++ b/research/atemporal/at1/evaluator/gates/isolation.sh @@ -1,4 +1,19 @@ #!/bin/sh +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # AT-1 isolation gate (charter section 6, G2; adapted from the AT-0 Agent 4 # gate). Two independent scans of each compute object or executable: # 1. symbol scan (nm): no clock, randomness, environment, file, network, diff --git a/research/atemporal/at1/evaluator/gates/raw_syscall_mutant.c b/research/atemporal/at1/evaluator/gates/raw_syscall_mutant.c index d3cf5d0cf..f01543b5f 100644 --- a/research/atemporal/at1/evaluator/gates/raw_syscall_mutant.c +++ b/research/atemporal/at1/evaluator/gates/raw_syscall_mutant.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Positive control for gates/isolation.sh (AT-1 G2, charter mutant * "raw-syscall"): asks the kernel for the time with an inline system call, so * no libc symbol is referenced. The instruction scan (at1-eval scan-clock) diff --git a/research/atemporal/at1/evaluator/run.sh b/research/atemporal/at1/evaluator/run.sh index 7c083547a..e6b79f2ea 100644 --- a/research/atemporal/at1/evaluator/run.sh +++ b/research/atemporal/at1/evaluator/run.sh @@ -1,4 +1,19 @@ #!/bin/sh +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # AT-1 Agent 4 qualification run (POSIX sh; Linux and macOS). # sh run.sh '' '' [cases-dir] [out-dir] [hidden-dir] # Each command is a template: {case} is replaced by the case file path and diff --git a/research/atemporal/at1/evaluator/src/big.rs b/research/atemporal/at1/evaluator/src/big.rs index fcc531c48..21ecedc2f 100644 --- a/research/atemporal/at1/evaluator/src/big.rs +++ b/research/atemporal/at1/evaluator/src/big.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! Arbitrary-precision signed integers (std only). Little-endian u32 limbs, //! normalised (no high zero limbs; zero is an empty vector with neg = false). //! Division is Knuth algorithm D (Hacker's Delight divmnu form). diff --git a/research/atemporal/at1/evaluator/src/case.rs b/research/atemporal/at1/evaluator/src/case.rs index 40a265d10..045f80325 100644 --- a/research/atemporal/at1/evaluator/src/case.rs +++ b/research/atemporal/at1/evaluator/src/case.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! Independent AT1_CASE_V1 codec: byte rules, fixed line grammar, canonical //! encodings and the six validity rules in contract order (section 4), with //! arbitrary-precision exact arithmetic for rules 3 and 4 (no implementation diff --git a/research/atemporal/at1/evaluator/src/corpus.rs b/research/atemporal/at1/evaluator/src/corpus.rs index 38b946912..766b6c63a 100644 --- a/research/atemporal/at1/evaluator/src/corpus.rs +++ b/research/atemporal/at1/evaluator/src/corpus.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! The public AT-1 case corpus: one file per charter case class and per //! AT1_SPEC section 13 row, generated deterministically (no shell edits, so it //! regenerates byte-identically on Linux and macOS). Positive and negative diff --git a/research/atemporal/at1/evaluator/src/dd.rs b/research/atemporal/at1/evaluator/src/dd.rs index eff1fedd6..2cebd808d 100644 --- a/research/atemporal/at1/evaluator/src/dd.rs +++ b/research/atemporal/at1/evaluator/src/dd.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! Double-double arithmetic (about 106 bits), deterministic on every IEEE-754 //! platform: only +, -, *, / and fused multiply-add (f64::mul_add, which is //! correctly rounded by definition). Used by the shadow model when a phase is diff --git a/research/atemporal/at1/evaluator/src/hidden.rs b/research/atemporal/at1/evaluator/src/hidden.rs index 746b4977b..74f6d7bb3 100644 --- a/research/atemporal/at1/evaluator/src/hidden.rs +++ b/research/atemporal/at1/evaluator/src/hidden.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! Hidden-set generator (documented, deterministic, seeded) and the commitment //! procedure of AT1_SPEC 12.3. The procedure is public; the 256-bit seed is //! not, so the cases cannot be reproduced before the reveal. diff --git a/research/atemporal/at1/evaluator/src/judge.rs b/research/atemporal/at1/evaluator/src/judge.rs index a3c404476..45b05ac6d 100644 --- a/research/atemporal/at1/evaluator/src/judge.rs +++ b/research/atemporal/at1/evaluator/src/judge.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! Exact re-derivation of the AT1_RESULT_V1 section 4 checks and the section 5 //! outcome, codes and expectation from the written values. Every comparison is //! on exact rationals (a binary64 value and a scaled decimal are both exact). diff --git a/research/atemporal/at1/evaluator/src/main.rs b/research/atemporal/at1/evaluator/src/main.rs index f433e5436..930240343 100644 --- a/research/atemporal/at1/evaluator/src/main.rs +++ b/research/atemporal/at1/evaluator/src/main.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! at1-eval: the AT-1 Agent 4 adversarial evaluator (std-only Rust, no Cargo). //! Build: rustc --edition 2021 -O src/main.rs -o build/at1-eval diff --git a/research/atemporal/at1/evaluator/src/model.rs b/research/atemporal/at1/evaluator/src/model.rs index 335aebfa6..3eaffb73e 100644 --- a/research/atemporal/at1/evaluator/src/model.rs +++ b/research/atemporal/at1/evaluator/src/model.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! Shadow model: the evaluator's own computation of the AT-1 physics from the //! case text (AT1_CASE_V1 section 3, AT1_SPEC Theorems 1 to 5), written from the //! contract and the spec only, never from the oracle's or the engine's code. diff --git a/research/atemporal/at1/evaluator/src/mutants.rs b/research/atemporal/at1/evaluator/src/mutants.rs index 5d596ae19..7f901736c 100644 --- a/research/atemporal/at1/evaluator/src/mutants.rs +++ b/research/atemporal/at1/evaluator/src/mutants.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! Mutant kill receipt. Every mutant is a deliberately broken engine, oracle or //! result file. A cell is KILLED when the verifier raises the mutant's intended //! finding and every other FAIL finding lies inside the mutant's explained set; diff --git a/research/atemporal/at1/evaluator/src/qualify.rs b/research/atemporal/at1/evaluator/src/qualify.rs index 6e63a2da3..c5787a3d9 100644 --- a/research/atemporal/at1/evaluator/src/qualify.rs +++ b/research/atemporal/at1/evaluator/src/qualify.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! `selftest` (the evaluator's own tests at run time) and `qualify` (run a //! candidate engine and the oracle on a corpus, splice, verify, and print the //! per-case table and gate verdicts of AT1 charter section 6). diff --git a/research/atemporal/at1/evaluator/src/rat.rs b/research/atemporal/at1/evaluator/src/rat.rs index a1b611928..7d3b1a629 100644 --- a/research/atemporal/at1/evaluator/src/rat.rs +++ b/research/atemporal/at1/evaluator/src/rat.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! Exact rationals, Gaussian rationals, the contract's token grammars //! (rational, complex rational, scaled decimal, integer) and the exact value //! of a binary64 bit pattern. diff --git a/research/atemporal/at1/evaluator/src/result.rs b/research/atemporal/at1/evaluator/src/result.rs index a21513288..3ba3a1aaf 100644 --- a/research/atemporal/at1/evaluator/src/result.rs +++ b/research/atemporal/at1/evaluator/src/result.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! AT1_RESULT_V1 strict parser and canonical writer (section 1 line order, //! section 2 number tokens, section 6 identities). diff --git a/research/atemporal/at1/evaluator/src/scan.rs b/research/atemporal/at1/evaluator/src/scan.rs index d3f1e2f0f..cf87acdd7 100644 --- a/research/atemporal/at1/evaluator/src/scan.rs +++ b/research/atemporal/at1/evaluator/src/scan.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! In-code instruction scan for the isolation gate (AT1 charter G2): a symbol //! scan cannot see an inline counter read or an inline system call, so this //! reads the executable sections of ELF64 and Mach-O 64 files (objects, diff --git a/research/atemporal/at1/evaluator/src/sha256.rs b/research/atemporal/at1/evaluator/src/sha256.rs index 30befe8df..1ec31be4a 100644 --- a/research/atemporal/at1/evaluator/src/sha256.rs +++ b/research/atemporal/at1/evaluator/src/sha256.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! SHA-256 (FIPS 180-4), std only. The evaluator links no omega source and no //! external crate; the oracle and engine have their own digest code. diff --git a/research/atemporal/at1/evaluator/src/synth.rs b/research/atemporal/at1/evaluator/src/synth.rs index a97c45d24..b7b6cbe18 100644 --- a/research/atemporal/at1/evaluator/src/synth.rs +++ b/research/atemporal/at1/evaluator/src/synth.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! Synthetic writers built on the shadow: an honest engine, an honest oracle //! record, the runner's splice, and every mutant of the receipt. These are the //! evaluator's own controls; they are never presented as a candidate. diff --git a/research/atemporal/at1/evaluator/src/text.rs b/research/atemporal/at1/evaluator/src/text.rs index 30c7db869..932718224 100644 --- a/research/atemporal/at1/evaluator/src/text.rs +++ b/research/atemporal/at1/evaluator/src/text.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! Byte rules (AT1_CASE_V1 section 1) and the small token grammars shared by //! case and result files. diff --git a/research/atemporal/at1/evaluator/src/verify.rs b/research/atemporal/at1/evaluator/src/verify.rs index 5e2005ab5..67d1f2662 100644 --- a/research/atemporal/at1/evaluator/src/verify.rs +++ b/research/atemporal/at1/evaluator/src/verify.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! Verification of one AT1_RESULT_V1 file: structure, identities, binding to //! the case, provenance, token discipline, exact re-derivation of the verdict, //! and comparison of every engine and oracle value with the shadow model. diff --git a/research/atemporal/at1/integration/.crumb b/research/atemporal/at1/integration/.crumb index 5ceae5dfd..0467e6a05 100644 --- a/research/atemporal/at1/integration/.crumb +++ b/research/atemporal/at1/integration/.crumb @@ -3,14 +3,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-10T06:28:38Z", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:163aa7e6fb222ba8c8a9c66a289258e44ccc3ec016721600c6a9587c480a3882", + "digest": "sha256:05bc95b2d41c8606ae58af7018aa0479ff1929a0ff3e0ac1b85d78097f81da7c", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 5, - "generated_at_commit": "0863d99ec730f261951b90ec984e9e3924e64c57", - "source_tree": "sha256:58cf43d67e3d612edbe70d8def83028542f317997796ed20cc4936062bfe604e" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:279b26ec7d0a7d53f018e225dfd1983f7f2c1a2daef5d3a62444eb6c6192aefb" } }, "name": "at1-integration", diff --git a/research/atemporal/at1/integration/engine_shim.sh b/research/atemporal/at1/integration/engine_shim.sh index c2d14a517..d190facb6 100644 --- a/research/atemporal/at1/integration/engine_shim.sh +++ b/research/atemporal/at1/integration/engine_shim.sh @@ -1,4 +1,19 @@ #!/bin/sh +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # AT-1 Agent 5: engine command for the evaluator's run.sh template ' {case} {out}'. # sh engine_shim.sh # Runs the oracle on the case, writes the provenance file (the engine reads no clock), then diff --git a/research/atemporal/at1/integration/oracle_shim.sh b/research/atemporal/at1/integration/oracle_shim.sh index 3d04606f6..99c72279e 100644 --- a/research/atemporal/at1/integration/oracle_shim.sh +++ b/research/atemporal/at1/integration/oracle_shim.sh @@ -1,4 +1,19 @@ #!/bin/sh +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # AT-1 Agent 5: oracle command for the evaluator's run.sh template ' {case} {out}'. # sh oracle_shim.sh -> at1-oracle emit -o # Exit status and standard error are the oracle's own (2 and one `AT1_CASE_REFUSED ` line on a diff --git a/research/atemporal/at1/integration/run.sh b/research/atemporal/at1/integration/run.sh index 4bb90f9e4..7173c9c41 100644 --- a/research/atemporal/at1/integration/run.sh +++ b/research/atemporal/at1/integration/run.sh @@ -1,4 +1,19 @@ #!/bin/sh +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # AT-1 Agent 5: clean-checkout integration runner (AT1_CHARTER.md sections 3, 6; gates G1 to G6). # # sh run.sh [--out DIR | --evidence] [--keep-work] diff --git a/research/atemporal/at1/model/at1_bn.c b/research/atemporal/at1/model/at1_bn.c index ed210a535..00fc2e107 100644 --- a/research/atemporal/at1/model/at1_bn.c +++ b/research/atemporal/at1/model/at1_bn.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Exact arithmetic for the AT-1 engine: arbitrary-precision integers (32-bit limbs, Knuth * algorithm D for division), reduced rationals and Gaussian rationals. Used for validation * (rules 3 and 4 of AT1_CASE_V1 section 4 are decided exactly for every in-limit case, as diff --git a/research/atemporal/at1/model/at1_case.c b/research/atemporal/at1/model/at1_case.c index 1aaf315e5..c58d6e9fe 100644 --- a/research/atemporal/at1/model/at1_case.c +++ b/research/atemporal/at1/model/at1_case.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* AT1_CASE_V1 codec: parse and validate a case in the order of AT1_CASE_V1 section 4, first * failure wins: * 1. shape and encodings: CASE_PARSE_ERROR for any shape failure anywhere in the file, then diff --git a/research/atemporal/at1/model/at1_exact.c b/research/atemporal/at1/model/at1_exact.c index bc1bd5751..0c13fd680 100644 --- a/research/atemporal/at1/model/at1_exact.c +++ b/research/atemporal/at1/model/at1_exact.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Exact kernel of the literal constraint matrix. * * H_total = H_C (x) I_S + I_C (x) H_S + sum_j |E_j> [--reversed] diff --git a/research/atemporal/at1/model/at1_model.h b/research/atemporal/at1/model/at1_model.h index 5962a92b3..ac91ff8ed 100644 --- a/research/atemporal/at1/model/at1_model.h +++ b/research/atemporal/at1/model/at1_model.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* AT-1 candidate engine (Agent 3, aien-spark/omega#371). Portable C11, libc + libm only. * * Contracts (frozen, aien-architecture cbe4c8e): AT1_CASE_V1 (sha256 e62018d8...), diff --git a/research/atemporal/at1/model/at1_numeric.c b/research/atemporal/at1/model/at1_numeric.c index 70a044f1a..adbd8b0dc 100644 --- a/research/atemporal/at1/model/at1_numeric.c +++ b/research/atemporal/at1/model/at1_numeric.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* binary64 evaluation of the AT-1 quantities (AT1_RESULT_V1 section 3) from the exact kernel. * * |t_k> = N^(-1/2) sum_j exp(-2 pi i E_j k tau) |E_j> turn count E_j k tau reduced diff --git a/research/atemporal/at1/model/at1_result.c b/research/atemporal/at1/model/at1_result.c index 60d91fe9d..747067c34 100644 --- a/research/atemporal/at1/model/at1_result.c +++ b/research/atemporal/at1/model/at1_result.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* AT1_RESULT_V1 writer: splices the oracle's four reference families (charter reading c), * judges the twelve checks of AT1_RESULT_V1 section 4 in exact rational arithmetic on the * written tokens (AT0_RESULT_V2 section 4 comparison forms), and writes the complete file with diff --git a/research/atemporal/at1/model/tests/test_model.c b/research/atemporal/at1/model/tests/test_model.c index 517543744..d2bd9a52a 100644 --- a/research/atemporal/at1/model/tests/test_model.c +++ b/research/atemporal/at1/model/tests/test_model.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Tests of the AT-1 candidate engine (Agent 3). Portable C11 plus POSIX system() status macros. * * build/test_model diff --git a/research/atemporal/at1/oracle/.crumb b/research/atemporal/at1/oracle/.crumb index 28de22ad8..3f8eeb1d4 100644 --- a/research/atemporal/at1/oracle/.crumb +++ b/research/atemporal/at1/oracle/.crumb @@ -3,14 +3,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-10T04:37:28Z", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:3eb2d35ebbc48ad49b2866922fe1fc5665b0334087412bc55bae4a7c3ff2faaf", + "digest": "sha256:4e73277ae28dd17aa4305688bdd3aa724363879a51524e01d7658b633a8c4a72", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 60, - "generated_at_commit": "9d513801495d83ae469c643ee50f4bd35c844984", - "source_tree": "sha256:c4f85c76cf6cdada32fa30f50faf8b1949c0109e6d2cd384549a8f3319d18a35" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:a798edf15b27769c7309d024a1beca50853d6a72ee554df77d057a3971d9b3ee" } }, "name": "oracle", diff --git a/research/atemporal/at1/oracle/build.sh b/research/atemporal/at1/oracle/build.sh index 0f5b82a86..da26e198a 100755 --- a/research/atemporal/at1/oracle/build.sh +++ b/research/atemporal/at1/oracle/build.sh @@ -1,4 +1,19 @@ #!/bin/sh +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Build the AT-1 reference oracle with a direct rustc invocation (no cargo, no crates). # Usage: ./build.sh -> target/at1-oracle # ./build.sh test -> builds and runs target/at1-oracle-test diff --git a/research/atemporal/at1/oracle/isolation.sh b/research/atemporal/at1/oracle/isolation.sh index bccbfca28..0ed2d70bb 100755 --- a/research/atemporal/at1/oracle/isolation.sh +++ b/research/atemporal/at1/oracle/isolation.sh @@ -1,4 +1,19 @@ #!/bin/sh +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Symbol-isolation gate for the AT-1 oracle compute crate (src/at1/), Rust adaptation of the # charter's nm gate. # 1. Source rule: no compute file names a std::time, std::fs, std::process, std::thread, diff --git a/research/atemporal/at1/oracle/src/at1/big.rs b/research/atemporal/at1/oracle/src/at1/big.rs index d26638959..c4e9c8217 100644 --- a/research/atemporal/at1/oracle/src/at1/big.rs +++ b/research/atemporal/at1/oracle/src/at1/big.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! Arbitrary-precision integers and rationals, standard library only. //! //! AT1_CASE_V1 section 2: rules 3 and 4, the kernel test and the zero test are decided diff --git a/research/atemporal/at1/oracle/src/at1/case.rs b/research/atemporal/at1/oracle/src/at1/case.rs index 9e702bf50..d420c5110 100644 --- a/research/atemporal/at1/oracle/src/at1/case.rs +++ b/research/atemporal/at1/oracle/src/at1/case.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! AT1_CASE_V1 codec: byte rules, canonical encodings, exact validity rules in the order of //! section 4, identities (section 5). Contract: aien-architecture //! docs/plans/atemporal/AT1_CASE_V1.md, sha256 e62018d8..., frozen at `CONTRACT_COMMIT`. diff --git a/research/atemporal/at1/oracle/src/at1/closed.rs b/research/atemporal/at1/oracle/src/at1/closed.rs index 5439976b5..3b290c90c 100644 --- a/research/atemporal/at1/oracle/src/at1/closed.rs +++ b/research/atemporal/at1/oracle/src/at1/closed.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! Oracle reference quantities (AT1_RESULT_V1 section 3), each by its own code path: //! //! - `interacting`: the closed form of AT1_SPEC Theorem 3 from the exact level vectors, diff --git a/research/atemporal/at1/oracle/src/at1/complex.rs b/research/atemporal/at1/oracle/src/at1/complex.rs index eff6151c3..890a039b2 100644 --- a/research/atemporal/at1/oracle/src/at1/complex.rs +++ b/research/atemporal/at1/oracle/src/at1/complex.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! Explicit complex numbers and small dense matrices (Vec>). Written //! here; no numeric library, nothing shared with the C11 engine. diff --git a/research/atemporal/at1/oracle/src/at1/fixtures.rs b/research/atemporal/at1/oracle/src/at1/fixtures.rs index ed4d7df47..85d8cf40e 100644 --- a/research/atemporal/at1/oracle/src/at1/fixtures.rs +++ b/research/atemporal/at1/oracle/src/at1/fixtures.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! Calibration fixtures: every case of AT1_SPEC.md section 13 (classes P1 to P6, the N1 //! family, N2 to N6) built from exact parameters, with the hand-derived values of the //! spec's tables as expectations. Values are copied from the spec at `SPEC_COMMIT`, written diff --git a/research/atemporal/at1/oracle/src/at1/matrix.rs b/research/atemporal/at1/oracle/src/at1/matrix.rs index eda55c941..1a5d5fcc4 100644 --- a/research/atemporal/at1/oracle/src/at1/matrix.rs +++ b/research/atemporal/at1/oracle/src/at1/matrix.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! Literal matrix route (the oracle record's own "engine" values, and an internal //! cross-check of the closed form): build H_total = H_C (x) I + I (x) H_S + V as a dense //! 2N x 2N matrix, the orthogonal projector onto its kernel from the exact kernel pairs diff --git a/research/atemporal/at1/oracle/src/at1/mod.rs b/research/atemporal/at1/oracle/src/at1/mod.rs index 800d03546..7d2a1865c 100644 --- a/research/atemporal/at1/oracle/src/at1/mod.rs +++ b/research/atemporal/at1/oracle/src/at1/mod.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! AT-1 reference oracle, compute crate. Standard library only; no clock, file, process, //! thread, network, environment or random facility anywhere below this module //! (isolation.sh enforces it). All I/O lives in src/main.rs. diff --git a/research/atemporal/at1/oracle/src/at1/model.rs b/research/atemporal/at1/oracle/src/at1/model.rs index 04d0dfed3..3016e35e5 100644 --- a/research/atemporal/at1/oracle/src/at1/model.rs +++ b/research/atemporal/at1/oracle/src/at1/model.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! Exact level structure of the clock-diagonal model (AT1_SPEC.md sections 1 to 4). //! //! Everything here is exact Gaussian-rational arithmetic: level norms, kernel pairs, diff --git a/research/atemporal/at1/oracle/src/at1/result.rs b/research/atemporal/at1/oracle/src/at1/result.rs index 0052d931c..4724cbc86 100644 --- a/research/atemporal/at1/oracle/src/at1/result.rs +++ b/research/atemporal/at1/oracle/src/at1/result.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! AT1_RESULT_V1 writer and exact judge. Contract: aien-architecture //! docs/plans/atemporal/AT1_RESULT_V1.md, sha256 3e6efd7e..., frozen at //! `case::CONTRACT_COMMIT`; AT0_RESULT_V2 (sha256 bd0f9eb8...) sections 2, 4, 5 and 7 are diff --git a/research/atemporal/at1/oracle/src/at1/sha256.rs b/research/atemporal/at1/oracle/src/at1/sha256.rs index 3e2e815ae..831d45345 100644 --- a/research/atemporal/at1/oracle/src/at1/sha256.rs +++ b/research/atemporal/at1/oracle/src/at1/sha256.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! SHA-256 (FIPS 180-4), written here so the oracle shares no digest code with //! the engine or with omega's src/sha256.c. Verified against the contract's //! published known-answer digests and the "abc" test vector. diff --git a/research/atemporal/at1/oracle/src/main.rs b/research/atemporal/at1/oracle/src/main.rs index efdc349ba..a2d9f85ac 100644 --- a/research/atemporal/at1/oracle/src/main.rs +++ b/research/atemporal/at1/oracle/src/main.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! AT-1 reference oracle, outer layer: the only place that touches files, the process //! table and the wall clock. Everything that computes lives in src/at1/. //! diff --git a/research/atemporal/at1/oracle/src/tests.rs b/research/atemporal/at1/oracle/src/tests.rs index 1dcf1fb0a..30ce16ca9 100644 --- a/research/atemporal/at1/oracle/src/tests.rs +++ b/research/atemporal/at1/oracle/src/tests.rs @@ -1,3 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026 Drake Stapleton (AIEN / aien-dev) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //! Test suite of the AT-1 reference oracle. Expectations come from the frozen contracts //! (AT1_CASE_V1, AT1_RESULT_V1 at aien-architecture cbe4c8e) and from AT1_SPEC.md section //! 13 (81047f5); none is copied from a run of this oracle. diff --git a/research/dirac-oracle/.crumb b/research/dirac-oracle/.crumb index 753f4137a..31507f806 100644 --- a/research/dirac-oracle/.crumb +++ b/research/dirac-oracle/.crumb @@ -13,21 +13,21 @@ "generated": { "children": [ { - "digest": "044d04925f1b7dcdfffad8c9a27bc5deae44156ce95ece9a59fc72eee0d720b1", - "last_commit": "458c57f", + "digest": "f022cad61641a7c0668b8068e565203ed5312bf6b2d0caeb7988fd7d01b12b4c", + "last_commit": "dc7c1304", "name": "src", "purpose": "Directory research/dirac-oracle/src. Purpose not yet described by a human." } ], - "children_root": "sha256:ffedba41cd02b58b4f9fa78c44ded26531b14511d5c21e3c49b063710e99babc", - "compiled_at": "2026-10-04T13:47:05Z", + "children_root": "sha256:6fcbc69716f212083f3076ef1776cf186856c8dcde9fa1ad1b152a575cf35801", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:7597531ca9a2cdce9e840dda55ce639f86c4237eda3f2e3d1d5b10c599966a33", + "digest": "sha256:87db1defc5aade980a964c2be7856312f9fd5ef77e40b9d8690d51232b3e14e5", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 5, - "generated_at_commit": "834ee93e4314a42c1127a2fcda8b29cf3b511245", - "source_tree": "sha256:7696adf8d2158808f1858ca03c3cb0e8c66e0867f047d58b43246317445fab76" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:2514e74cff165ccf8d9d2416a98b6aadddf9e94f3552747eb89b940d02ec83e6" }, "owner_lane": "", "provenance": { diff --git a/research/dirac-oracle/src/.crumb b/research/dirac-oracle/src/.crumb index 64f4c126d..92024d7da 100644 --- a/research/dirac-oracle/src/.crumb +++ b/research/dirac-oracle/src/.crumb @@ -7,14 +7,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-04T13:47:05Z", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:044d04925f1b7dcdfffad8c9a27bc5deae44156ce95ece9a59fc72eee0d720b1", + "digest": "sha256:f022cad61641a7c0668b8068e565203ed5312bf6b2d0caeb7988fd7d01b12b4c", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 2, - "generated_at_commit": "834ee93e4314a42c1127a2fcda8b29cf3b511245", - "source_tree": "sha256:fedf1eb06eff0e6382d2d6d476b27085f6e2427db8e6094e9ba3a249fdb8acfa" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:b01643c93dc58bcab29155f07156df6f2b47748fab1b4102df2cad9ef3cc8dc1" }, "owner_lane": "", "provenance": { diff --git a/research/dirac-oracle/src/oracle_clifford.c b/research/dirac-oracle/src/oracle_clifford.c index 6e8bc7cf4..97e67cb61 100644 --- a/research/dirac-oracle/src/oracle_clifford.c +++ b/research/dirac-oracle/src/oracle_clifford.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * DIRAC-0 independent oracle: exact Clifford relation check. * STATUS: NOT_RUN. Not compiled, not executed. No libm, no floating point. diff --git a/research/dirac-oracle/src/oracle_kat_verify.sh b/research/dirac-oracle/src/oracle_kat_verify.sh index 7a74ee7ea..f047107f7 100755 --- a/research/dirac-oracle/src/oracle_kat_verify.sh +++ b/research/dirac-oracle/src/oracle_kat_verify.sh @@ -1,4 +1,19 @@ #!/bin/sh +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # DIRAC-0 oracle corpus digest check. STATUS: NOT_RUN. POSIX sh plus sha256sum only. # usage: oracle_kat_verify.sh dirac-kat-.txt set -eu diff --git a/research/m15/pmu/.crumb b/research/m15/pmu/.crumb index 471a3f8e5..cdce19d37 100644 --- a/research/m15/pmu/.crumb +++ b/research/m15/pmu/.crumb @@ -7,14 +7,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-04T13:47:05Z", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:7ca182d0a6bd90801e4386c4627ac58965e0aa2b381e49bb6c5e0d2226ace248", + "digest": "sha256:7fe83b02503e5388c480f95f348f1313effbf409070da8631b03c1f8a0b1d71f", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 2, - "generated_at_commit": "834ee93e4314a42c1127a2fcda8b29cf3b511245", - "source_tree": "sha256:6e42d770d4dbb4a6db76836af422f373ea2918d01ce4d88af42cb9be57e731cd" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:95913a4de1302c89c91a8acce463e014b04ebd86f0b1a8d6356c15f972895717" }, "owner_lane": "", "provenance": { diff --git a/research/m15/pmu/pmu_probe.c b/research/m15/pmu/pmu_probe.c index 2f602cf5c..948a97969 100644 --- a/research/m15/pmu/pmu_probe.c +++ b/research/m15/pmu/pmu_probe.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Probe: per-thread, inherited counters opened on both GB10 CPU PMUs. * A worker thread created after the counters runs a fixed loop on an A725 * core, then the same loop on an X925 core. Prints per-PMU counts and the diff --git a/research/m15/spbm/.crumb b/research/m15/spbm/.crumb index 52b5fb51f..7ef0d2e62 100644 --- a/research/m15/spbm/.crumb +++ b/research/m15/spbm/.crumb @@ -13,14 +13,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-14T21:46:29Z", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:baf4a6094854fe437a8880b2c90733bbf9048212af7f7b45381db4050d8e128c", + "digest": "sha256:6e2c078aae19445eb177571719cef864df7301b84c4d6c462143feee517c5026", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 129, - "generated_at_commit": "2a6d6d7b9091bd2184b15dcde893035dbcca40d3", - "source_tree": "sha256:4b183d9ff80e7d0e7c8ab2925b20c1a8072ffbfa3c6d14d3c1024c1796eb3f5c" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:6139c7e4ad41cd04c29c5f4a20da6bb46365b5d888b00149ab294d5c11e85b05" }, "owner_lane": "", "provenance": { diff --git a/research/m15/spbm/LICENSE-NOTE.md b/research/m15/spbm/LICENSE-NOTE.md index a58fceafb..37c99d1b5 100644 --- a/research/m15/spbm/LICENSE-NOTE.md +++ b/research/m15/spbm/LICENSE-NOTE.md @@ -1,6 +1,6 @@ # License note for research/m15/spbm -Omega is licensed AGPL-3.0-or-later (see the LICENSE at the repository root, decision of Drake Stapleton, 2026-10-04). +Omega is licensed Apache-2.0 (see the LICENSE at the repository root, decision of Drake Stapleton, 2026-10-23). The six source files in this folder (`aien_spbm_readonly.c`, `load.c`, `reduce.c`, `sample.c`, `contract.h`, `contract_test.c`) carry `SPDX-License-Identifier: GPL-2.0-only` and stay GPL-2.0-only. `aien_spbm_readonly.c` is a Linux kernel module, which is why it uses the kernel's license. diff --git a/research/m15/spbm/collect-c2.sh b/research/m15/spbm/collect-c2.sh index 7867e4824..bf4a7ea25 100644 --- a/research/m15/spbm/collect-c2.sh +++ b/research/m15/spbm/collect-c2.sh @@ -1,4 +1,19 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # R15 clarification C2 sensor validation: idle, CPU, GPU and combined load. # Not an R15 qualification or PASS. Loads are deliberately bounded: 4 X925 # cores (load p 14 4) and the resident GB10 seat (r15_gpu_load claims 14), diff --git a/research/m15/spbm/collect.sh b/research/m15/spbm/collect.sh index c333ffdc4..ed4829879 100644 --- a/research/m15/spbm/collect.sh +++ b/research/m15/spbm/collect.sh @@ -1,4 +1,19 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2026 Drake Stapleton (AIEN / aien-dev) +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Preliminary sensor validation, not an R15 qualification or PASS receipt. set -euo pipefail cd "$(dirname "$0")" diff --git a/src/.crumb b/src/.crumb index 4fe5298a4..b7891e09b 100644 --- a/src/.crumb +++ b/src/.crumb @@ -61,135 +61,135 @@ "generated": { "children": [ { - "digest": "e999ad5d79b28e45cf3c87fca942087088f243bdfd0e55da7948eb5d6e619460", - "last_commit": "7350a61c", + "digest": "728ab6985dea994eb78a7eb2521384a911492d1c36819c17970a5dc3a8a0c5e2", + "last_commit": "dc7c1304", "name": "algebra", "purpose": "Directory src/algebra. Purpose not yet described by a human." }, { - "digest": "24b48531671e1ad40c520571c43aa6fa8dfe43ce7139a5724f31afa9f8411afd", - "last_commit": "834ee93e", + "digest": "1881ed1d139a405a777d24d4b26f97bc8405dee0552d6ce21841ce4833560ce2", + "last_commit": "dc7c1304", "name": "ans", "purpose": "ANS (Alignment Navigation System), Inertial Alignment v1: frozen reference atoms, drift filter o" }, { - "digest": "5b110f4a6136ebd3d6703590962b7beed9f8cec034c2d12944b1590434e3c747", - "last_commit": "d48ab89e", + "digest": "92c3e2481f7457afd6c7717e6c1a75ebab950ec9114b48025dd137a6edb2975c", + "last_commit": "dc7c1304", "name": "autodiff", "purpose": "M21 OMEGA_AUTODIFF: reverse-mode tape over M20 tensor CPU ops, caller-owned nodes and scratch, p" }, { - "digest": "bdc017bf3baddb9034478651fb3f170f045ce8aa27187481d15ac5da7fbfd18c", - "last_commit": "1edf41a5", + "digest": "3bd51397fcd28cd54db65c1df72c320883798bc8550779b2b79c8498b28ffb0d", + "last_commit": "dc7c1304", "name": "compiler", "purpose": "Directory src/compiler. Purpose not yet described by a human." }, { - "digest": "41faf68aa92b4f16b40243239e1866110a443ce284ff9f7ec3b125b289bcd845", - "last_commit": "3c82389f", + "digest": "36a66980895553ae73884798bc09a92141e1aeba5e5068a7d9d62a99bad02548", + "last_commit": "dc7c1304", "name": "crumbline", "purpose": "Directory src/crumbline. Purpose not yet described by a human." }, { - "digest": "945ae745a338467614bee287efb628f38f53ad83e4842c1a7fbf7d0b91a8da57", - "last_commit": "00f54b6b", + "digest": "c75df77ddb2bae35ac5e1225a0ae9dcef77b24608775c7b8d02dce1af0ec3ca4", + "last_commit": "dc7c1304", "name": "dual_experiment", "purpose": "DUAL applicability experiment library (ARCH-0031 offline evidence lane): deterministic discrete " }, { - "digest": "62a0884e7f075eb3c92b22fc400234a06bd8c3020fc75e55a9b0c0f0f6a26d7e", - "last_commit": "1a147e40", + "digest": "8856d5162c55cb33997201cd580638f80ea933b46e11c61e1913185d419731d7", + "last_commit": "dc7c1304", "name": "estimation", "purpose": "Directory src/estimation. Purpose not yet described by a human." }, { - "digest": "330c407ff51bfd684e062707c055f58f325f5af16fe9764889aec3a7ffeb31ac", - "last_commit": "3108fc2f", + "digest": "391e337c60cb8b2ae549595394482c23717c1757d83747a7446e81cd780750c1", + "last_commit": "dc7c1304", "name": "fabric", "purpose": "Directory src/fabric. Purpose not yet described by a human." }, { - "digest": "3bdcb211108a4fdc33550b2c54df3167dd15d4a5fe004eefbcef11b489d0e27a", - "last_commit": "71c6ff88", + "digest": "2d33eb528dafb5954bb027cdd9a7c7923594c177f17181194311155b4e1f40b3", + "last_commit": "dc7c1304", "name": "language", "purpose": "Directory src/language. Purpose not yet described by a human." }, { - "digest": "651cad69999ba000a9be247d7decaf02ef9c4653f718255b62efb248139ad74b", - "last_commit": "6d8d92ad", + "digest": "cd0551dbfb6fc354741efe9a3ad1808ffaaf6a8d7e9e7345851333d7a721cee0", + "last_commit": "dc7c1304", "name": "osh", "purpose": "osh (Omega-native shell, arch#158) lexer unit: layout list, generator, osh_lex.osc, C reference " }, { - "digest": "8383106b5d1b3adbc44b8e837a5d1f5ff6699a6d54070068e36716b2a32390d5", - "last_commit": "d550b705", + "digest": "2b5dd2c64d4bbba8c41471dc1af5a0b00bfc1361a2c680d78b99fb30b5b547fe", + "last_commit": "dc7c1304", "name": "path", "purpose": "Directory src/path. Purpose not yet described by a human." }, { - "digest": "8c5cf96997407cff3f8a4c78150ae5294d2ed09a8d9076ae933e426a60792037", - "last_commit": "e59633e5", + "digest": "e0b91129cc9c188fc0e47b7f3189a3a9a09f9c55eecd018786794571ffc39aad", + "last_commit": "dc7c1304", "name": "physics0", "purpose": "PD-0 hidden-equation benchmark (Physics-0 Discovery Engine cut 1): world, oracle, scorer, ladder" }, { - "digest": "a79103ff25b5fbeac2ab22f451166d742ff45a90b46bad2caa4cf2790ea6a17b", - "last_commit": "61c09411", + "digest": "8b923fb5dc1de3b04afae043a4770f7b1fb27d959a8f597191ae2556d822a1cf", + "last_commit": "dc7c1304", "name": "polyglot", "purpose": "Directory src/polyglot. Purpose not yet described by a human." }, { - "digest": "4785d8df268c31047589c5dff4ebc1f9a12a0fa4d5c94ce6dee156a841cf9502", - "last_commit": "dd67f6bd", + "digest": "076f486fdf51e12a26160e7f0bf7686fea611db54216f7fef81367620e7a6bdb", + "last_commit": "dc7c1304", "name": "reservoir", "purpose": "Ionic-droplet reservoir simulator (omega#440): binary32 fixed-step RK4 of the authors' droplet m" }, { - "digest": "9e27882accc1db2881793e3f389519f5dd37f83cd37c4d1a6e19f2aa2e84d217", - "last_commit": "5901baa5", + "digest": "c6af24b823d6a18a8ad1593003a214fcd577955d1d134bc4304a5c097a71cd35", + "last_commit": "dc7c1304", "name": "runtime", "purpose": "Directory src/runtime. Purpose not yet described by a human." }, { - "digest": "d7bb5fb627dfe92066f94fa556e86be5d025c0ff5e81d823ba177a56ea099d31", - "last_commit": "5901baa5", + "digest": "af5fcc64fe83dc35f782724372854febde5461f5eab8b327f3c3ed75f8572053", + "last_commit": "dc7c1304", "name": "searchtrace", "purpose": "Directory src/searchtrace. Purpose not yet described by a human." }, { - "digest": "ae63793b7b13442e349e438229fccf6a859a5be55343cdd997e35f2966c1157c", - "last_commit": "f633e343", + "digest": "9723dd7c18d4e2c22db631680974e1025bccb9c309619424e2f4dfcc43cc7068", + "last_commit": "dc7c1304", "name": "tensor", "purpose": "M20 OMEGA_TENSOR: immutable tensor semantic layer, views, generation-checked storage, CPU realiz" }, { - "digest": "be7e624435df81eae403f51a381acf480e9fd2f2a04eb34e955547973645b95d", - "last_commit": "54826a37", + "digest": "06d9fb18dddf7ab0f8ad02fffd15ce8b80808c77d0904609b6baae83c2b05ce5", + "last_commit": "dc7c1304", "name": "train", "purpose": "Directory src/train. Purpose not yet described by a human." }, { - "digest": "78c180a66607ebaf93e6ef6a6a56a3059ebf97db394d76af50c0e3f25d2be639", - "last_commit": "2564f57a", + "digest": "812a7faed07b21e066b732ed596eb0aea609379a2b2af0e8b61dd1ea05bef602", + "last_commit": "dc7c1304", "name": "turing", "purpose": "Directory src/turing. Purpose not yet described by a human." }, { - "digest": "daf5e5e90c1ccb4c089220a6545844dbe4078a233f1777e8145b74f1bf5dd5fe", - "last_commit": "40d1ea37", + "digest": "b2e34b2ea0392059ac30d17e27289b1146e523db60a02ef825edef96036817ab", + "last_commit": "dc7c1304", "name": "visor", "purpose": "Directory src/visor. Purpose not yet described by a human." } ], - "children_root": "sha256:15012a017b26a269feb256b64875ece2912f5f82c57804baafa3777c4fcb80b9", - "compiled_at": "2026-10-16T07:33:43Z", + "children_root": "sha256:7ae75586ec96c314f5e6eafc3c32775c1feba09ca424b3f26bcde1bd3cc95818", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:dfa36de2ac8649f66f80587abea51a7f166285ee0b92e0e09774c98689055250", + "digest": "sha256:7208b7c84c3cfde224b9d055d0754bc493b240cf0f5a93b96ae405686534783e", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 537, - "generated_at_commit": "1d481ab853a14d3c11eff926ce1e25993085f76a", - "source_tree": "sha256:200c9243151691313acb5f86d3e9cb3058f1a1b92ece2a255b3340b691dfb894" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:b3422b41f768b6ef5556fe9a3ec3835be5e559478240c4a2be762b5bbff8dfbf" }, "owner_lane": "", "provenance": { diff --git a/src/aarch64_decoder.c b/src/aarch64_decoder.c index d5dd1b589..70510c47d 100644 --- a/src/aarch64_decoder.c +++ b/src/aarch64_decoder.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include "aarch64_decoder.h" #include #include diff --git a/src/aarch64_decoder.h b/src/aarch64_decoder.h index 2f5f3c5f3..f4fc898c0 100644 --- a/src/aarch64_decoder.h +++ b/src/aarch64_decoder.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #ifndef AARCH64_DECODER_H #define AARCH64_DECODER_H diff --git a/src/aarch64_encoder.c b/src/aarch64_encoder.c index d202ab7d2..fcf991df6 100644 --- a/src/aarch64_encoder.c +++ b/src/aarch64_encoder.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Legacy AArch64 instruction writer (OSC-2 item 4, docs/osc/OSC-2-DESIGN.md section 4). * * Every emitter validates every field against its exact architectural range BEFORE diff --git a/src/aarch64_encoder.h b/src/aarch64_encoder.h index 403cb4203..046b49d4a 100644 --- a/src/aarch64_encoder.h +++ b/src/aarch64_encoder.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #ifndef AARCH64_ENCODER_H #define AARCH64_ENCODER_H diff --git a/src/aarch64_target.h b/src/aarch64_target.h index ef741ed0f..5aa73629a 100644 --- a/src/aarch64_target.h +++ b/src/aarch64_target.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* ========================================================================= * BOOTSTRAP REPRESENTATION - NOT PERMANENT SEMANTIC DEFINITION * AArch64 Target Profile for Milestone 5 (OMEGA_AARCH64) diff --git a/src/aegis_verification.c b/src/aegis_verification.c index 4c821fe2b..a53f26375 100644 --- a/src/aegis_verification.c +++ b/src/aegis_verification.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include "aegis_verification.h" #include "forge_realize.h" #include diff --git a/src/aegis_verification.h b/src/aegis_verification.h index b048e8a4b..1d6e87ea4 100644 --- a/src/aegis_verification.h +++ b/src/aegis_verification.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #ifndef AEGIS_VERIFICATION_H #define AEGIS_VERIFICATION_H diff --git a/src/algebra/.crumb b/src/algebra/.crumb index 3f3efdfdf..58122bed1 100644 --- a/src/algebra/.crumb +++ b/src/algebra/.crumb @@ -7,14 +7,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-04T13:47:05Z", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:e999ad5d79b28e45cf3c87fca942087088f243bdfd0e55da7948eb5d6e619460", + "digest": "sha256:728ab6985dea994eb78a7eb2521384a911492d1c36819c17970a5dc3a8a0c5e2", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 19, - "generated_at_commit": "834ee93e4314a42c1127a2fcda8b29cf3b511245", - "source_tree": "sha256:93f7b3f0813d993711c3c5db7f35e79fed75e3421221140acf27eae0899a0170" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:1484950cb5bb38ad08033ed9cc19c122dd53a9bfb8ff365c3df9edfa8058e54a" }, "owner_lane": "", "provenance": { diff --git a/src/algebra/oma_pack.c b/src/algebra/oma_pack.c index e1874db4a..33a7674e3 100644 --- a/src/algebra/oma_pack.c +++ b/src/algebra/oma_pack.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include "algebra/oma_pack.h" /* Every function here validates its whole input before writing any output, diff --git a/src/algebra/oma_pack.h b/src/algebra/oma_pack.h index 176b2868f..767a54b8b 100644 --- a/src/algebra/oma_pack.h +++ b/src/algebra/oma_pack.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Omega mixed algebra: packing. * - bitplane form: n trits -> ceil(n/64) oma_blocks, unused lanes zero; * serialized as 16 bytes per block: pos then neg, each little-endian. diff --git a/src/algebra/oma_quant.c b/src/algebra/oma_quant.c index 2a6256ddb..7ca583eb1 100644 --- a/src/algebra/oma_quant.c +++ b/src/algebra/oma_quant.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include "algebra/oma_quant.h" #include diff --git a/src/algebra/oma_quant.h b/src/algebra/oma_quant.h index d56ed4421..2b574e278 100644 --- a/src/algebra/oma_quant.h +++ b/src/algebra/oma_quant.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Omega mixed algebra: float -> ternary quantization. * APPROXIMATE transform, not an exact realization: w is replaced by q*scale * with q in {-1,0,1}. Use oma_quant_rel_l2 to measure what was lost. */ diff --git a/src/algebra/oma_select.c b/src/algebra/oma_select.c index 2cf510695..978f8a05d 100644 --- a/src/algebra/oma_select.c +++ b/src/algebra/oma_select.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* MA-2 selector, RETIRED for new decisions (TURING K.6/K.7); kept only to * reproduce ma2_select_receipt.json. New selections: src/turing * turing_rank_min_cost / turing.decision.v1. See oma_select.h. */ diff --git a/src/algebra/oma_select.h b/src/algebra/oma_select.h index 0668ff454..fed6e11ab 100644 --- a/src/algebra/oma_select.h +++ b/src/algebra/oma_select.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* MA-2 selector for Omega-X realizations: RETIRED for new decisions. * spec/mixed-algebra-ma2.md * diff --git a/src/algebra/oma_trit.c b/src/algebra/oma_trit.c index 30b892c13..ce9c4b750 100644 --- a/src/algebra/oma_trit.c +++ b/src/algebra/oma_trit.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Omega mixed algebra: trit, block, dot, integer conversion. */ #include "algebra/oma_trit.h" diff --git a/src/algebra/oma_trit.h b/src/algebra/oma_trit.h index 62c34efc1..c93bae89f 100644 --- a/src/algebra/oma_trit.h +++ b/src/algebra/oma_trit.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Omega mixed algebra (oma_): correctness-first CPU reference ("parity oracle"). * spec/mixed-algebra-reference.md * diff --git a/src/algebra/oma_z3.c b/src/algebra/oma_z3.c index 1d6c0b7ed..bf00a08db 100644 --- a/src/algebra/oma_z3.c +++ b/src/algebra/oma_z3.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include "algebra/oma_z3.h" int oma_z3_make(int v, oma_z3 *out) { diff --git a/src/algebra/oma_z3.h b/src/algebra/oma_z3.h index b8d068eb6..2533f38c9 100644 --- a/src/algebra/oma_z3.h +++ b/src/algebra/oma_z3.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Omega mixed algebra: Z3 (integers mod 3, values {0,1,2}). * Map to balanced trits: 0 <-> 0, 1 <-> +1, 2 <-> -1. This map is a ring * isomorphism: Z3 add = balanced-add sum trit (carry dropped), Z3 mul = H2. */ diff --git a/src/algebra/phase_twin.c b/src/algebra/phase_twin.c index f05273ba1..22e820f7e 100644 --- a/src/algebra/phase_twin.c +++ b/src/algebra/phase_twin.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Omega mixed algebra: phase-domain Z3 digital twin. See phase_twin.h. */ #include "algebra/phase_twin.h" diff --git a/src/algebra/phase_twin.h b/src/algebra/phase_twin.h index 9aa7f878c..64f06632f 100644 --- a/src/algebra/phase_twin.h +++ b/src/algebra/phase_twin.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Omega mixed algebra: phase-domain Z3 digital twin (spec/mixed-algebra-phase-twin.md). * * A software model of a physical realization of Z3 = {0,1,2} carried as the diff --git a/src/algebra/realize_binary.c b/src/algebra/realize_binary.c index ebef33a44..a3e086469 100644 --- a/src/algebra/realize_binary.c +++ b/src/algebra/realize_binary.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* MA-2 R1: conventional binary realizations. W stored as int8 (8 bits per * weight), int8 x int8 -> int32 multiply-accumulate. * R1_plain : plain C loop at -O2 (labelled weak baseline). diff --git a/src/algebra/realize_bitplane.c b/src/algebra/realize_bitplane.c index 4bda7708b..0eb4132d6 100644 --- a/src/algebra/realize_bitplane.c +++ b/src/algebra/realize_bitplane.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* MA-2 R2: packed ternary bitplanes (2 bits per weight). * * R2_bitplane: per row, chunks of 128 weights stored as two 16-byte planes diff --git a/src/algebra/realize_common.c b/src/algebra/realize_common.c index b3bdde889..543794280 100644 --- a/src/algebra/realize_common.c +++ b/src/algebra/realize_common.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Omega mixed algebra MA-2: shared realization helpers and registry. */ #include "algebra/realize_common.h" diff --git a/src/algebra/realize_common.h b/src/algebra/realize_common.h index 1a82b73ee..1ecce3746 100644 --- a/src/algebra/realize_common.h +++ b/src/algebra/realize_common.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Omega mixed algebra MA-2: realizations of one exact semantic operation. * spec/mixed-algebra-ma2.md * diff --git a/src/algebra/realize_dense.c b/src/algebra/realize_dense.c index 186760611..c5f51c523 100644 --- a/src/algebra/realize_dense.c +++ b/src/algebra/realize_dense.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* MA-2 R5: dense 5 trits per byte (1.6 bits per weight), decode then SDOT. * Byte rule is the reference dense rule (oma_pack.h): byte = sum_{i<5} * (t_i + 1) * 3^i, valid bytes 0..242. Only the assignment of trits to bytes diff --git a/src/algebra/realize_rns.c b/src/algebra/realize_rns.c index 248449c57..f0744707d 100644 --- a/src/algebra/realize_rns.c +++ b/src/algebra/realize_rns.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* MA-2 R4: residue number system (RNS). * Moduli {256, 255, 253} (pairwise coprime), M = 16,515,840. Every centered * residue fits int8: x mod 256 is x itself, x mod 255 in [-127,127], diff --git a/src/algebra/realize_sparse.c b/src/algebra/realize_sparse.c index 3119c4a64..e2c649506 100644 --- a/src/algebra/realize_sparse.c +++ b/src/algebra/realize_sparse.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* MA-2 R3: sparse ternary. Per row, a list of +1 column indices followed by a * list of -1 column indices (uint16, so n <= 65536); row offsets uint32. * y_i = sum x[pos idx] - sum x[neg idx], scalar gather with 4 accumulators diff --git a/src/allen/allen_bind.c b/src/allen/allen_bind.c index 1d59123f3..d73d0a396 100644 --- a/src/allen/allen_bind.c +++ b/src/allen/allen_bind.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* allen_bind.c -- see allen_bind.h. Pure functions over the subject object, * a Cortex store and World references. No I/O except reading the object file. */ #include "allen/allen_bind.h" diff --git a/src/allen/allen_bind.h b/src/allen/allen_bind.h index 38eedc0d8..87397d5fb 100644 --- a/src/allen/allen_bind.h +++ b/src/allen/allen_bind.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* allen_bind.h -- ALLEN inside the resident organism: the three bindings. * * ARCH-0035 (PROPOSED). ALLEN is the durable subject the AIEN organism diff --git a/src/ans/.crumb b/src/ans/.crumb index 7a1f61870..91c0cb112 100644 --- a/src/ans/.crumb +++ b/src/ans/.crumb @@ -3,14 +3,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-04T13:47:05Z", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:24b48531671e1ad40c520571c43aa6fa8dfe43ce7139a5724f31afa9f8411afd", + "digest": "sha256:1881ed1d139a405a777d24d4b26f97bc8405dee0552d6ce21841ce4833560ce2", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 3, - "generated_at_commit": "834ee93e4314a42c1127a2fcda8b29cf3b511245", - "source_tree": "sha256:c8bb1e957b4524e7e79e8d316e90f98c343cf19cdfa183af66308cb4feae17e3" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:1c37662f6d7b73e901cebf768af079ce56e4dcf92c51e759f961c8bb2a177a68" } }, "layer": "src/ans", diff --git a/src/ans/ans.c b/src/ans/ans.c index a401afb49..0c3241461 100644 --- a/src/ans/ans.c +++ b/src/ans/ans.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* ANS state machine, control law and promotion gate (see ans.h). The filter is * EST-1 (est_kf.c) and is not reimplemented here. */ #include "ans.h" diff --git a/src/ans/ans.h b/src/ans/ans.h index e92866934..5385e8094 100644 --- a/src/ans/ans.h +++ b/src/ans/ans.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* ANS: Alignment Navigation System, Inertial Alignment v1. * * ANS measures and recommends. It never grants, revokes or promotes. A verdict diff --git a/src/ans/ans_encode.c b/src/ans/ans_encode.c index 0d929e436..e12af681d 100644 --- a/src/ans/ans_encode.c +++ b/src/ans/ans_encode.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* ANS record encodings and digests (see ans.h). One field-visitor per record * serves both directions, so encoder and decoder cannot drift apart. * diff --git a/src/autodiff/.crumb b/src/autodiff/.crumb index 425363f71..d523f3fe6 100644 --- a/src/autodiff/.crumb +++ b/src/autodiff/.crumb @@ -3,14 +3,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-04T13:47:05Z", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:5b110f4a6136ebd3d6703590962b7beed9f8cec034c2d12944b1590434e3c747", + "digest": "sha256:92c3e2481f7457afd6c7717e6c1a75ebab950ec9114b48025dd137a6edb2975c", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 2, - "generated_at_commit": "834ee93e4314a42c1127a2fcda8b29cf3b511245", - "source_tree": "sha256:503c367a59697747371660bf68617df2fc9d52ac72628ec36f97e8b8446a0750" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:4c0e7db6b227fc67ad4b7a4cb270081f1ecc8a2239907f3c20355b2d0f0f295e" } }, "invariants": [ diff --git a/src/autodiff/omega_autodiff.c b/src/autodiff/omega_autodiff.c index 85f90fee5..b7ab09ea7 100644 --- a/src/autodiff/omega_autodiff.c +++ b/src/autodiff/omega_autodiff.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * M21 OMEGA_AUTODIFF, CPU tier: reverse-mode tape over M20 tensor ops. * Meaning, determinism rules and the per-op error contract are stated in diff --git a/src/autodiff/omega_autodiff.h b/src/autodiff/omega_autodiff.h index c2a686c41..43a6d094c 100644 --- a/src/autodiff/omega_autodiff.h +++ b/src/autodiff/omega_autodiff.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #ifndef OMEGA_AUTODIFF_H #define OMEGA_AUTODIFF_H diff --git a/src/checker2/c2_blast.c b/src/checker2/c2_blast.c index b9264eea3..8ba23112d 100644 --- a/src/checker2/c2_blast.c +++ b/src/checker2/c2_blast.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* c2_blast.c: symbolic execution of one IR function into CNF (see c2_blast.h). */ #include #include diff --git a/src/checker2/c2_blast.h b/src/checker2/c2_blast.h index 239217c04..658265ac2 100644 --- a/src/checker2/c2_blast.h +++ b/src/checker2/c2_blast.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* c2_blast: checker2's bit-blaster for bounded integer programs (omega#446). * * Property NO-TRAP for function F of a unit checker2 has accepted: diff --git a/src/checker2/c2_check.c b/src/checker2/c2_check.c index eec0c0b94..42e0b5964 100644 --- a/src/checker2/c2_check.c +++ b/src/checker2/c2_check.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* c2_check.c: checker2 acceptance rules over a decoded unit (spec/one-layer-receipts.md section 9). * * Written from docs/osc/OSC-{1,2,3}-DESIGN.md, OSC-EXT-BYTES-DESIGN.md and the osc_ir.h comments diff --git a/src/checker2/c2_ir.c b/src/checker2/c2_ir.c index cdf75d75e..765b831b0 100644 --- a/src/checker2/c2_ir.c +++ b/src/checker2/c2_ir.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* c2_ir.c: checker2 decoder, re-encoder and acceptance rules for canonical OSC IR bytes. * See c2_ir.h for the independence statement and spec/one-layer-receipts.md section 9 for the * rules. Every rejection names its rule; lines tagged GUARD, colon, name are removed one at a time by diff --git a/src/checker2/c2_ir.h b/src/checker2/c2_ir.h index 30ca0cba8..5bd542969 100644 --- a/src/checker2/c2_ir.h +++ b/src/checker2/c2_ir.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* c2_ir: checker2's own decoder and acceptance rules for canonical OSC IR bytes. * * INDEPENDENCE. Written from the byte layout of the encoder (src/compiler/osc_ir.c, the diff --git a/src/checker2/c2_lrat.c b/src/checker2/c2_lrat.c index 1f22a5b5e..f11332dce 100644 --- a/src/checker2/c2_lrat.c +++ b/src/checker2/c2_lrat.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* c2_lrat.c: DIMACS reader and RUP-only LRAT checker (see c2_lrat.h for the format and rules). */ #include #include diff --git a/src/checker2/c2_lrat.h b/src/checker2/c2_lrat.h index cc0427b0c..984765521 100644 --- a/src/checker2/c2_lrat.h +++ b/src/checker2/c2_lrat.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* c2_lrat: checker2's own DIMACS CNF reader and LRAT proof checker (omega#446). * * Trusted part of checker2. The SAT solver that writes proofs is NOT trusted and is not linked here. diff --git a/src/checker2/c2_receipt.c b/src/checker2/c2_receipt.c index 6d89bb3e6..1d2989cd3 100644 --- a/src/checker2/c2_receipt.c +++ b/src/checker2/c2_receipt.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* c2_receipt.c: signed Omega realization receipts v1. Normative layout: spec/one-layer-receipts.md. * * Signature code: the vendored in-house Ed25519 (src/searchtrace/sig, aienos native/sig @ 913b962, diff --git a/src/checker2/c2_receipt.h b/src/checker2/c2_receipt.h index b695f5585..d2872e5d3 100644 --- a/src/checker2/c2_receipt.h +++ b/src/checker2/c2_receipt.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* c2_receipt: signed Omega realization receipts, format v1 (spec/one-layer-receipts.md, normative). * * A receipt is 416 bytes, fixed layout, little-endian, no text, no timestamps. It binds one diff --git a/src/checker2/checker2_main.c b/src/checker2/checker2_main.c index adbfbd23a..07cd7ec9b 100644 --- a/src/checker2/checker2_main.c +++ b/src/checker2/checker2_main.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* checker2: the independent checker's command line (omega#446, spec/one-layer-receipts.md). * * checker2 check judge canonical OSC IR bytes diff --git a/src/checker2/untrusted/c2sat.c b/src/checker2/untrusted/c2sat.c index 2072e6aba..79c395f17 100644 --- a/src/checker2/untrusted/c2sat.c +++ b/src/checker2/untrusted/c2sat.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* c2sat: small DPLL SAT solver that writes LRAT proofs (omega#446). UNTRUSTED. * * Not part of checker2's trusted base and not in its identity hash: every UNSAT answer is only diff --git a/src/compiler/.crumb b/src/compiler/.crumb index 9f069fc78..01379c381 100644 --- a/src/compiler/.crumb +++ b/src/compiler/.crumb @@ -13,21 +13,21 @@ "generated": { "children": [ { - "digest": "4958bd790f408a33ee369dbadc3c8ab6c9eca52effaec2aa65f9f0938b293262", - "last_commit": "b81f8500", + "digest": "4c69012750423880a866d8e996f916e8f4edfa74e65dfd4a589f621453b33b16", + "last_commit": "dc7c1304", "name": "model", "purpose": "Directory src/compiler/model. Purpose not yet described by a human." } ], - "children_root": "sha256:4067665ff5aaacc482c82c65d5074409c044890a046868d11fdb4faa38bbb95c", - "compiled_at": "2026-10-14T17:37:01Z", + "children_root": "sha256:12b3e294aa48e971b1b571459a53b38b380352a98dbb3769e783d5fdf0fcb09b", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:bdc017bf3baddb9034478651fb3f170f045ce8aa27187481d15ac5da7fbfd18c", + "digest": "sha256:3bd51397fcd28cd54db65c1df72c320883798bc8550779b2b79c8498b28ffb0d", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 31, - "generated_at_commit": "e9943ed23f0712a7dd1f7248a7d6bb00eabf5ea5", - "source_tree": "sha256:cf6e1630b5ccc657c6356142356038413cf7ec5420d675667111b7e366d3f4e7" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:24ead40743db6185f272275325bb13511d4fe8dc88303c7cd148f14e07127b25" }, "owner_lane": "", "provenance": { diff --git a/src/compiler/model/.crumb b/src/compiler/model/.crumb index 4b76c832c..416bae9f4 100644 --- a/src/compiler/model/.crumb +++ b/src/compiler/model/.crumb @@ -7,14 +7,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-04T13:47:05Z", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:4958bd790f408a33ee369dbadc3c8ab6c9eca52effaec2aa65f9f0938b293262", + "digest": "sha256:4c69012750423880a866d8e996f916e8f4edfa74e65dfd4a589f621453b33b16", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 4, - "generated_at_commit": "834ee93e4314a42c1127a2fcda8b29cf3b511245", - "source_tree": "sha256:ff10781849b85e0530054df16e15eae519361bc59a4131f4c3374eb842fa5512" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:82a26bf526ff4a600f10c7577931f12d82fb8dcead2eaa5a071198ae9d0d7ab0" }, "owner_lane": "", "provenance": { diff --git a/src/compiler/model/osc_model.c b/src/compiler/model/osc_model.c index 259d95119..6ea1a8053 100644 --- a/src/compiler/model/osc_model.c +++ b/src/compiler/model/osc_model.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * osc_model.c -- II.11 executable reference model (see osc_model.h). * Every handler validates completely before it mutates, so a rejected event diff --git a/src/compiler/model/osc_model.h b/src/compiler/model/osc_model.h index 25deec245..bce4368df 100644 --- a/src/compiler/model/osc_model.h +++ b/src/compiler/model/osc_model.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * osc_model.h -- OSC-0B exit gate: the II.11 executable reference model of the * Omega Systems Core memory rules (OMEGA_SYSTEMS_CORE_CODE_AUDIT.md II.11). diff --git a/src/compiler/model/osc_model_gen.c b/src/compiler/model/osc_model_gen.c index 577b17583..5272a0eeb 100644 --- a/src/compiler/model/osc_model_gen.c +++ b/src/compiler/model/osc_model_gen.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * osc_model_gen.c -- seeded generator of valid and single-fault sequences for * the II.11 model. The shadow state here is written independently of diff --git a/src/compiler/model/osc_model_gen.h b/src/compiler/model/osc_model_gen.h index ff5e68df2..5b3090c4e 100644 --- a/src/compiler/model/osc_model_gen.h +++ b/src/compiler/model/osc_model_gen.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * osc_model_gen.h -- seeded deterministic sequence generator for the II.11 * model (OSC-0B exit gate). diff --git a/src/compiler/osc_a64.c b/src/compiler/osc_a64.c index 9c2da62b8..8cb76f809 100644 --- a/src/compiler/osc_a64.c +++ b/src/compiler/osc_a64.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * osc_a64.c -- hardened AArch64 encoder + mirror decoder (OSC-1 back end). * OSC-1 slice; not a general Omega compiler; no self-hosting. diff --git a/src/compiler/osc_a64.h b/src/compiler/osc_a64.h index 710451a4b..e4790e6e9 100644 --- a/src/compiler/osc_a64.h +++ b/src/compiler/osc_a64.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * osc_a64.h -- hardened AArch64 encoder + mirror decoder for the OSC-1 back end. * diff --git a/src/compiler/osc_alloc.c b/src/compiler/osc_alloc.c index 318f3d05c..726f8944b 100644 --- a/src/compiler/osc_alloc.c +++ b/src/compiler/osc_alloc.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * osc_alloc.c -- see osc_alloc.h. * OSC-1 slice; not a general Omega compiler; no self-hosting. diff --git a/src/compiler/osc_alloc.h b/src/compiler/osc_alloc.h index 650b418d5..3f87814b4 100644 --- a/src/compiler/osc_alloc.h +++ b/src/compiler/osc_alloc.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * osc_alloc.h -- explicit allocation context for the OSC compiler (docs/osc/OSC-1-DESIGN.md, * "Explicit allocation"). Every byte the compiler takes from the heap goes through one OscAlloc diff --git a/src/compiler/osc_cg.c b/src/compiler/osc_cg.c index 5d6145122..34a20f345 100644 --- a/src/compiler/osc_cg.c +++ b/src/compiler/osc_cg.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * osc_cg.c -- OSC-1 IR -> AArch64 (DESIGN section 7). * OSC-1 slice; not a general Omega compiler; no self-hosting. diff --git a/src/compiler/osc_cg.h b/src/compiler/osc_cg.h index 550183faf..7c1737c21 100644 --- a/src/compiler/osc_cg.h +++ b/src/compiler/osc_cg.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * osc_cg.h -- OSC-1 back end: typed IR -> AArch64 machine code through the * hardened in-repo encoder (src/compiler/osc_a64.*). ABI and frame layout: diff --git a/src/compiler/osc_check.c b/src/compiler/osc_check.c index fbbf9d806..3e33434a6 100644 --- a/src/compiler/osc_check.c +++ b/src/compiler/osc_check.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * osc_check.c -- OSC-1 checker: names, types, literals, overflow-unsafe * constants, loop/return rules, ownership + borrows (lexical lifetimes). diff --git a/src/compiler/osc_check.h b/src/compiler/osc_check.h index 549830853..84c344ea2 100644 --- a/src/compiler/osc_check.h +++ b/src/compiler/osc_check.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * osc_check.h -- OSC-1 name/type resolution, literal typing, compile-time * overflow-unsafe checks, loop/return rules and ownership + borrow analysis diff --git a/src/compiler/osc_diag.c b/src/compiler/osc_diag.c index 6c1a3d8b2..01b22a625 100644 --- a/src/compiler/osc_diag.c +++ b/src/compiler/osc_diag.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * osc_diag.c -- OSC-1 diagnostic kind names and filling helper. * OSC-1 slice; not a general Omega compiler; no self-hosting. diff --git a/src/compiler/osc_diag.h b/src/compiler/osc_diag.h index 708567822..a75df5213 100644 --- a/src/compiler/osc_diag.h +++ b/src/compiler/osc_diag.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * osc_diag.h -- OSC-1 typed compile diagnostics (docs/osc/OSC-1-DESIGN.md * section 6). Every refusal of the front end is exactly one OscDiag. diff --git a/src/compiler/osc_front.c b/src/compiler/osc_front.c index 2b51cc789..55f8bcbc4 100644 --- a/src/compiler/osc_front.c +++ b/src/compiler/osc_front.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * osc_front.c -- see osc_front.h. * OSC-1 slice; not a general Omega compiler; no self-hosting. diff --git a/src/compiler/osc_front.h b/src/compiler/osc_front.h index 2754d7028..fed31b781 100644 --- a/src/compiler/osc_front.h +++ b/src/compiler/osc_front.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * osc_front.h -- OSC-1 front-end driver: source bytes -> validated OscUnit. * lex -> parse -> check (types, constants, loops, returns, ownership) -> diff --git a/src/compiler/osc_interp.c b/src/compiler/osc_interp.c index 999a1d014..000a2fde4 100644 --- a/src/compiler/osc_interp.c +++ b/src/compiler/osc_interp.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * osc_interp.c -- reference interpreter for the OSC-1 IR (DESIGN section 5). * OSC-1 slice; not a general Omega compiler; no self-hosting. diff --git a/src/compiler/osc_interp.h b/src/compiler/osc_interp.h index 5f77f1a1b..c8e308231 100644 --- a/src/compiler/osc_interp.h +++ b/src/compiler/osc_interp.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * osc_interp.h -- reference interpreter for the OSC-1 typed IR. * Semantics: docs/osc/OSC-1-DESIGN.md section 5, exactly. Allocation and diff --git a/src/compiler/osc_ir.c b/src/compiler/osc_ir.c index da7dcf82c..d34ff9e04 100644 --- a/src/compiler/osc_ir.c +++ b/src/compiler/osc_ir.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * osc_ir.c -- OSC-1 typed IR: structural validation, canonical encoding, * SHA-256 identity. See osc_ir.h and docs/osc/OSC-1-DESIGN.md section 4. diff --git a/src/compiler/osc_ir.h b/src/compiler/osc_ir.h index 33c23f490..5813bad26 100644 --- a/src/compiler/osc_ir.h +++ b/src/compiler/osc_ir.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * osc_ir.h -- OSC-1 typed IR ("Flow IR" v0 slice). The contract between the * OSC-1 front end (src/compiler/osc_front.*), the reference interpreter diff --git a/src/compiler/osc_lex.c b/src/compiler/osc_lex.c index 97ba414e0..3be14e58b 100644 --- a/src/compiler/osc_lex.c +++ b/src/compiler/osc_lex.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * osc_lex.c -- OSC-1 lexer. See osc_lex.h. * OSC-1 slice; not a general Omega compiler; no self-hosting. diff --git a/src/compiler/osc_lex.h b/src/compiler/osc_lex.h index a136bf2da..0f3ed1aec 100644 --- a/src/compiler/osc_lex.h +++ b/src/compiler/osc_lex.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * osc_lex.h -- OSC-1 lexer (docs/osc/OSC-1-DESIGN.md section 2; literal, * comment and identifier spelling as in spec/omega-language-v0.md). diff --git a/src/compiler/osc_lower.c b/src/compiler/osc_lower.c index 8ce948772..733b86439 100644 --- a/src/compiler/osc_lower.c +++ b/src/compiler/osc_lower.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * osc_lower.c -- see osc_lower.h. * OSC-1 slice; not a general Omega compiler; no self-hosting. diff --git a/src/compiler/osc_lower.h b/src/compiler/osc_lower.h index f005218a5..e7d5a265b 100644 --- a/src/compiler/osc_lower.h +++ b/src/compiler/osc_lower.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * osc_lower.h -- OSC-1 lowering: checked AST (osc_check annotations) -> * OscUnit IR (docs/osc/OSC-1-DESIGN.md section 4). Blocks, short-circuit diff --git a/src/compiler/osc_native.c b/src/compiler/osc_native.c index 8793a8538..82fe5ff99 100644 --- a/src/compiler/osc_native.c +++ b/src/compiler/osc_native.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * osc_native.c -- executable mapping for OSC-1 machine code. * OSC-1 slice; not a general Omega compiler; no self-hosting. diff --git a/src/compiler/osc_native.h b/src/compiler/osc_native.h index 2d2ccfc5b..1f2243784 100644 --- a/src/compiler/osc_native.h +++ b/src/compiler/osc_native.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * osc_native.h -- map OSC-1 machine code for execution (RW mmap, copy, * clear the instruction cache, mprotect RX), same pattern as src/omega_exec.c. diff --git a/src/compiler/osc_parse.c b/src/compiler/osc_parse.c index 67c18127b..62313a0b6 100644 --- a/src/compiler/osc_parse.c +++ b/src/compiler/osc_parse.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * osc_parse.c -- OSC-1 recursive-descent parser. See osc_parse.h and * docs/osc/OSC-1-DESIGN.md section 2 (grammar). diff --git a/src/compiler/osc_parse.h b/src/compiler/osc_parse.h index f9301c7ef..d0ec8f497 100644 --- a/src/compiler/osc_parse.h +++ b/src/compiler/osc_parse.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * osc_parse.h -- OSC-1 recursive-descent parser producing the disposable * typed AST (docs/osc/OSC-1-DESIGN.md section 2). Fixed node arena, bounded diff --git a/src/compiler/osc_rt.c b/src/compiler/osc_rt.c index b10731e29..04e81b65d 100644 --- a/src/compiler/osc_rt.c +++ b/src/compiler/osc_rt.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * osc_rt.c -- OSC-1 bootstrap runtime (OSC-0 II.10), shared by the reference * interpreter and natively compiled code. See osc_rt.h. diff --git a/src/compiler/osc_rt.h b/src/compiler/osc_rt.h index aea0e68b6..968c8e0de 100644 --- a/src/compiler/osc_rt.h +++ b/src/compiler/osc_rt.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * osc_rt.h -- OSC-1 bootstrap runtime (OSC-0 II.10: "built in C first as the * bootstrap runtime"). Shared by the reference interpreter and natively diff --git a/src/compiler/oscc_main.c b/src/compiler/oscc_main.c index 14e938fd4..6837a6557 100644 --- a/src/compiler/oscc_main.c +++ b/src/compiler/oscc_main.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * oscc_main.c -- `oscc `: compile an OSC-1 source file to IR and * AArch64 machine code and print their identities: diff --git a/src/crumbline/.crumb b/src/crumbline/.crumb index dbcdb4da5..66361d6fd 100644 --- a/src/crumbline/.crumb +++ b/src/crumbline/.crumb @@ -7,14 +7,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-04T13:47:05Z", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:41faf68aa92b4f16b40243239e1866110a443ce284ff9f7ec3b125b289bcd845", + "digest": "sha256:36a66980895553ae73884798bc09a92141e1aeba5e5068a7d9d62a99bad02548", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 8, - "generated_at_commit": "834ee93e4314a42c1127a2fcda8b29cf3b511245", - "source_tree": "sha256:2cd5aaa9a5b0f1c9dd5a2b8633543e57a5237b19a27ea54860b1b960914826bc" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:b378425ac3913643a60fb93abe39ec53ebf7ab7b531b0c253db7aa4119a5c3c7" }, "owner_lane": "", "provenance": { diff --git a/src/crumbline/cl_common.c b/src/crumbline/cl_common.c index d1e3d10a5..2a566a0be 100644 --- a/src/crumbline/cl_common.c +++ b/src/crumbline/cl_common.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include "cl_common.h" #include "sha256.h" diff --git a/src/crumbline/cl_common.h b/src/crumbline/cl_common.h index 77c81d55e..c38b8295c 100644 --- a/src/crumbline/cl_common.h +++ b/src/crumbline/cl_common.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * cl_common.h -- Crumbline shared plumbing: canonical byte buffers, the * deterministic PRNG, width masks and domain-separated digests. diff --git a/src/crumbline/cl_crumb.c b/src/crumbline/cl_crumb.c index e15a506dd..c4a62b1f0 100644 --- a/src/crumbline/cl_crumb.c +++ b/src/crumbline/cl_crumb.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include "cl_crumb.h" #include diff --git a/src/crumbline/cl_crumb.h b/src/crumbline/cl_crumb.h index 811391507..f26726dd4 100644 --- a/src/crumbline/cl_crumb.h +++ b/src/crumbline/cl_crumb.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * cl_crumb.h -- Omega's reader for Crumb v1 learner-visible bytes ("CRB1"). * diff --git a/src/crumbline/cl_program.c b/src/crumbline/cl_program.c index abfa97ac0..154cbfb47 100644 --- a/src/crumbline/cl_program.c +++ b/src/crumbline/cl_program.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include "cl_program.h" #include "omega_core.h" #include "omega_synthesis.h" diff --git a/src/crumbline/cl_program.h b/src/crumbline/cl_program.h index 3e29ec0ee..ef2424197 100644 --- a/src/crumbline/cl_program.h +++ b/src/crumbline/cl_program.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * cl_program.h -- Crumbline candidate programs as step chains over Omega's * existing unary operations, plus the operation bank the search draws from. diff --git a/src/crumbline/cl_search.c b/src/crumbline/cl_search.c index aa1b2e683..6e7f83e79 100644 --- a/src/crumbline/cl_search.c +++ b/src/crumbline/cl_search.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include "cl_search.h" #include diff --git a/src/crumbline/cl_search.h b/src/crumbline/cl_search.h index 05d7ed398..2aca1550b 100644 --- a/src/crumbline/cl_search.h +++ b/src/crumbline/cl_search.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * cl_search.h -- Omega synthesis over a Crumbline crumb (the Omega-side adapter). * diff --git a/src/dual/rx_dual.c b/src/dual/rx_dual.c index cc16f38a7..e2a627b42 100644 --- a/src/dual/rx_dual.c +++ b/src/dual/rx_dual.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* DUAL-0a: typed records, registry, validation, canonical encoding and * digests (ADR 0031 section 4). See rx_dual.h for the contract. */ #include "rx_dual.h" diff --git a/src/dual/rx_dual.h b/src/dual/rx_dual.h index b1f4c1360..8af52cf41 100644 --- a/src/dual/rx_dual.h +++ b/src/dual/rx_dual.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* DUAL: constraint pricing for soft resource budgets (ARCH-0031 / ADR 0031). * * DUAL estimates a nonnegative price (a dual variable) for each DECLARED soft diff --git a/src/dual/rx_dual_bind.c b/src/dual/rx_dual_bind.c index b3a5fd810..2f21ac23e 100644 --- a/src/dual/rx_dual_bind.c +++ b/src/dual/rx_dual_bind.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* DUAL-0b: binding to ESTIMATION records and freshness classification. */ #include "rx_dual_bind.h" diff --git a/src/dual/rx_dual_bind.h b/src/dual/rx_dual_bind.h index 4cf19df31..fd7ffab79 100644 --- a/src/dual/rx_dual_bind.h +++ b/src/dual/rx_dual_bind.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* DUAL-0b: binding DUAL inputs to ESTIMATION records (ARCH-0020) and * classifying their freshness (ADR 0031 sections 4.2, 5.2, 8.1). * diff --git a/src/dual/rx_dual_replay.c b/src/dual/rx_dual_replay.c index b500906c8..2a779b2cb 100644 --- a/src/dual/rx_dual_replay.c +++ b/src/dual/rx_dual_replay.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* DUAL-1b: digest-bound traces and deterministic replay. */ #include "rx_dual_replay.h" #include "sha256.h" diff --git a/src/dual/rx_dual_replay.h b/src/dual/rx_dual_replay.h index 659d75f14..e5d4c6e12 100644 --- a/src/dual/rx_dual_replay.h +++ b/src/dual/rx_dual_replay.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* DUAL-1b: deterministic replay of the reference controller over digest-bound * traces (ADR 0031 section 5 and section 8, gate DUAL_PRICE_REFERENCE). * diff --git a/src/dual/rx_dual_update.c b/src/dual/rx_dual_update.c index 5624dc67a..c9944ecce 100644 --- a/src/dual/rx_dual_update.c +++ b/src/dual/rx_dual_update.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* DUAL-1a: reference price update. */ #include "rx_dual_update.h" diff --git a/src/dual/rx_dual_update.h b/src/dual/rx_dual_update.h index ae81d1898..931c97f6d 100644 --- a/src/dual/rx_dual_update.h +++ b/src/dual/rx_dual_update.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* DUAL-1a: the reference price update (ADR 0031 section 5.1) as a pure, * deterministic function of (previous state, bound input, controller). * diff --git a/src/dual_experiment/.crumb b/src/dual_experiment/.crumb index 24ce183c0..7a52021fc 100644 --- a/src/dual_experiment/.crumb +++ b/src/dual_experiment/.crumb @@ -3,14 +3,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-04T18:11:13Z", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:945ae745a338467614bee287efb628f38f53ad83e4842c1a7fbf7d0b91a8da57", + "digest": "sha256:c75df77ddb2bae35ac5e1225a0ae9dcef77b24608775c7b8d02dce1af0ec3ca4", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 5, - "generated_at_commit": "cb7cc216147664549484fcca8e8ceadbd6f6cdbf", - "source_tree": "sha256:4db0b6ac2d69acee18b953ab7d5fe77bafb2c577c30ce33bb79a25ed088944ea" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:3d1f8196aca4bccdadc2bbd4a6fcba1ac1ec42686934720fd373579489731579" } }, "name": "dual_experiment", diff --git a/src/dual_experiment/applic.h b/src/dual_experiment/applic.h index b089892cd..1d93ee8f2 100644 --- a/src/dual_experiment/applic.h +++ b/src/dual_experiment/applic.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* DUAL applicability experiment: deterministic discrete workload simulator, * aggregate (macroscopic) predictor, heterogeneity measurements, campaign. * Plain C11, no I/O, no allocation, no globals (the caller owns ap_sim). diff --git a/src/dual_experiment/applic_metrics.c b/src/dual_experiment/applic_metrics.c index b4d7fa41c..cdd4043eb 100644 --- a/src/dual_experiment/applic_metrics.c +++ b/src/dual_experiment/applic_metrics.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Heterogeneity measurements, campaign driver, canonical row text, digests * and Pearson correlation for the DUAL applicability experiment. */ #include "applic.h" diff --git a/src/dual_experiment/applic_params.h b/src/dual_experiment/applic_params.h index 484bd1d6a..0cf959956 100644 --- a/src/dual_experiment/applic_params.h +++ b/src/dual_experiment/applic_params.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* DUAL applicability experiment (ARCH-0031 / ADR 0031, offline evidence lane): * pre-registered parameters. Every constant below is part of the experiment * identity: ap_params_digest() hashes the canonical text of these values diff --git a/src/dual_experiment/applic_predict.c b/src/dual_experiment/applic_predict.c index 39e1261e7..125b066cf 100644 --- a/src/dual_experiment/applic_predict.c +++ b/src/dual_experiment/applic_predict.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Aggregate (macroscopic) predictor and its error against the exact discrete * outcome. The predictor sees one ap_window record only: densities, last * window's arrival count, the counts in system, and running means over diff --git a/src/dual_experiment/applic_sim.c b/src/dual_experiment/applic_sim.c index c848a2b4f..5955b67b1 100644 --- a/src/dual_experiment/applic_sim.c +++ b/src/dual_experiment/applic_sim.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Deterministic discrete workload simulator for the DUAL applicability * experiment. One step: arrivals (enqueue or REJECT when the queue is full), * admission in class-then-FIFO order with backfill against slot and memory diff --git a/src/estimation/.crumb b/src/estimation/.crumb index 51ec1ac5b..d4e996dfa 100644 --- a/src/estimation/.crumb +++ b/src/estimation/.crumb @@ -7,14 +7,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-04T13:47:05Z", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:62a0884e7f075eb3c92b22fc400234a06bd8c3020fc75e55a9b0c0f0f6a26d7e", + "digest": "sha256:8856d5162c55cb33997201cd580638f80ea933b46e11c61e1913185d419731d7", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 10, - "generated_at_commit": "834ee93e4314a42c1127a2fcda8b29cf3b511245", - "source_tree": "sha256:8354d309b9735cae9a5e2f895b325891b7b2020e6add0aa2167a712902f85236" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:13b3ac0a8f074f807b20b732e591ef0656c595ae5cf6ffd6cf74713eeacd5b59" }, "owner_lane": "", "provenance": { diff --git a/src/estimation/est_kf.c b/src/estimation/est_kf.c index f312dd6cb..9e719cd7d 100644 --- a/src/estimation/est_kf.c +++ b/src/estimation/est_kf.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* EST-1 linear Kalman filter. See est_kf.h for the equations and refusals. * Row-major dense matrices, at most EST_MAX_DIM per side, all on the stack. * No allocation, no globals, no I/O. Outputs are built in locals and copied diff --git a/src/estimation/est_kf.h b/src/estimation/est_kf.h index 40d34adba..8b9edbb2b 100644 --- a/src/estimation/est_kf.h +++ b/src/estimation/est_kf.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* EST-1 linear Kalman filter: the first estimator behind the EST-0 contract. * * Pure functions over est_types.h records. Deterministic for identical inputs diff --git a/src/estimation/est_mix.c b/src/estimation/est_mix.c index 8ea7a942b..8545cf298 100644 --- a/src/estimation/est_mix.c +++ b/src/estimation/est_mix.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include "est_mix.h" #include diff --git a/src/estimation/est_mix.h b/src/estimation/est_mix.h index 465c87c55..9a12907b2 100644 --- a/src/estimation/est_mix.h +++ b/src/estimation/est_mix.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* EST-3b noise shape: zero-mean Gaussian scale mixture of a one-step change * (protocol v2, docs/estimation/EST23_PROTOCOL_V2.md). * diff --git a/src/estimation/est_pred.c b/src/estimation/est_pred.c index 71070ff19..614aaff10 100644 --- a/src/estimation/est_pred.c +++ b/src/estimation/est_pred.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* ESTIMATION-2 (protocol v3) discrete predictive layer. Contract: est_pred.h. * No allocation, no globals, no I/O; libm only (plus snprintf for the verdict * reason text). */ diff --git a/src/estimation/est_pred.h b/src/estimation/est_pred.h index 2fceb340e..6e79fc5af 100644 --- a/src/estimation/est_pred.h +++ b/src/estimation/est_pred.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* ESTIMATION-2, protocol v3: quantization-aware discrete predictive layer. * * Why it exists. Protocol v1 failed on heavy tails and volatility clustering; diff --git a/src/estimation/est_types.c b/src/estimation/est_types.c index 6d471eb2f..9a0657430 100644 --- a/src/estimation/est_types.c +++ b/src/estimation/est_types.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* EST-0 implementation: validation, digests, fixed little-endian encoding. * See est_types.h for the contract. No allocation, no globals, no I/O. * diff --git a/src/estimation/est_types.h b/src/estimation/est_types.h index f1f8c7f65..e1058872d 100644 --- a/src/estimation/est_types.h +++ b/src/estimation/est_types.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* EST-0 semantic contract: observation, belief (state estimate), prediction, * innovation, and the linear-Gaussian model they are bound to (ARCH-0020). * diff --git a/src/estimation/est_v4.c b/src/estimation/est_v4.c index ee8a8fde0..9b39d984b 100644 --- a/src/estimation/est_v4.c +++ b/src/estimation/est_v4.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* ESTIMATION v4 predictive families. Model and formulas: est_v4.h. */ #include "est_v4.h" #include "sha256.h" diff --git a/src/estimation/est_v4.h b/src/estimation/est_v4.h index 833a320c5..5aa4ded99 100644 --- a/src/estimation/est_v4.h +++ b/src/estimation/est_v4.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* ESTIMATION v4 (protocol docs/estimation/protocols/est-v4.md): persistence- * aware predictive families for a quantized, 1 Hz temperature series. * diff --git a/src/fabric/.crumb b/src/fabric/.crumb index 43cb951ff..44a2fa28c 100644 --- a/src/fabric/.crumb +++ b/src/fabric/.crumb @@ -7,14 +7,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-04T13:47:05Z", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:330c407ff51bfd684e062707c055f58f325f5af16fe9764889aec3a7ffeb31ac", + "digest": "sha256:391e337c60cb8b2ae549595394482c23717c1757d83747a7446e81cd780750c1", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 8, - "generated_at_commit": "834ee93e4314a42c1127a2fcda8b29cf3b511245", - "source_tree": "sha256:70af8e151260272941d4e69988659ee0b5017d270b3b8c13a9a6ec974522d02b" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:41fef293f2e86fa7e73e4c7c441bed4107c7b41bfed4816cc38b18476a31e201" }, "owner_lane": "", "provenance": { diff --git a/src/fabric/fab_dispatch.c b/src/fabric/fab_dispatch.c index b84e6c55a..2f12ccbfb 100644 --- a/src/fabric/fab_dispatch.c +++ b/src/fabric/fab_dispatch.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* fab_dispatch.c -- Fabric dispatch of remote composition candidates (fab_dispatch.h). */ #include "fab_dispatch.h" diff --git a/src/fabric/fab_dispatch.h b/src/fabric/fab_dispatch.h index 6d9e7c42f..e95e7e59d 100644 --- a/src/fabric/fab_dispatch.h +++ b/src/fabric/fab_dispatch.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * fab_dispatch.h -- the Fabric side of a living composition (F5-0, loopback). * diff --git a/src/fabric/fab_hmac.c b/src/fabric/fab_hmac.c index aad0cbdd8..b1c1b856e 100644 --- a/src/fabric/fab_hmac.c +++ b/src/fabric/fab_hmac.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* fab_hmac.c -- HMAC-SHA256. See fab_hmac.h. */ #include "fab_hmac.h" diff --git a/src/fabric/fab_hmac.h b/src/fabric/fab_hmac.h index 62ffe4dd0..8b49fc705 100644 --- a/src/fabric/fab_hmac.h +++ b/src/fabric/fab_hmac.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * fab_hmac.h -- HMAC-SHA256 (RFC 2104) over omega's sha256.c. Used only by the * loopback authenticator (fab_loopback.h), the F5-0 stand-in for a real diff --git a/src/fabric/fab_loopback.c b/src/fabric/fab_loopback.c index 19a9a4921..9a4d50e13 100644 --- a/src/fabric/fab_loopback.c +++ b/src/fabric/fab_loopback.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* fab_loopback.c -- loopback transport and HMAC authenticator. See fab_loopback.h. */ #include "fab_loopback.h" diff --git a/src/fabric/fab_loopback.h b/src/fabric/fab_loopback.h index 01b134243..9d3c2be10 100644 --- a/src/fabric/fab_loopback.h +++ b/src/fabric/fab_loopback.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * fab_loopback.h -- in-process loopback transport and HMAC authenticator for * Fabric F5-0 (fabric.h). Test and simulation only. diff --git a/src/fabric/fabric.c b/src/fabric/fabric.c index a598f9c41..e724def46 100644 --- a/src/fabric/fabric.c +++ b/src/fabric/fabric.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* fabric.c -- AIEN Fabric interface F5-0. See fabric.h. */ #include "fabric.h" diff --git a/src/fabric/fabric.h b/src/fabric/fabric.h index bd56498bf..48cede2fa 100644 --- a/src/fabric/fabric.h +++ b/src/fabric/fabric.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * fabric.h -- AIEN Fabric interface F5-0: membership, capability * advertisement, leases and loss detection as typed records keyed by diff --git a/src/forge_realization.c b/src/forge_realization.c index 88bffb37c..b2bbaf1b2 100644 --- a/src/forge_realization.c +++ b/src/forge_realization.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include "forge_realization.h" #include "forge_realize.h" #include diff --git a/src/forge_realization.h b/src/forge_realization.h index 6fae86bfb..1b73eab4d 100644 --- a/src/forge_realization.h +++ b/src/forge_realization.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #ifndef FORGE_REALIZATION_H #define FORGE_REALIZATION_H diff --git a/src/language/.crumb b/src/language/.crumb index a1f207d6e..518509b1b 100644 --- a/src/language/.crumb +++ b/src/language/.crumb @@ -7,14 +7,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-04T13:47:05Z", + "compiled_at": "2026-10-24T04:15:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:3bdcb211108a4fdc33550b2c54df3167dd15d4a5fe004eefbcef11b489d0e27a", + "digest": "sha256:2d33eb528dafb5954bb027cdd9a7c7923594c177f17181194311155b4e1f40b3", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 6, - "generated_at_commit": "834ee93e4314a42c1127a2fcda8b29cf3b511245", - "source_tree": "sha256:ee64e621b25afb08cdeec1a6102915c1f030d3fbd2f60f5f7e56561a8a753b4b" + "generated_at_commit": "dc7c1304c038f49db3b121d5a5e27d7bcab5bf6c", + "source_tree": "sha256:b1c302c1aef67d1fc2e7d3b57641ae9bfcd30e631e5c6bb7ded9ccef6da18365" }, "owner_lane": "", "provenance": { diff --git a/src/language/omega_lex.c b/src/language/omega_lex.c index b9ccfe1bc..d575c954e 100644 --- a/src/language/omega_lex.c +++ b/src/language/omega_lex.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* omega_lex.c -- Omega surface language V0 lexer. See omega_lex.h. */ #include "omega_lex.h" diff --git a/src/language/omega_lex.h b/src/language/omega_lex.h index 0f69ff7ed..6befcd0c7 100644 --- a/src/language/omega_lex.h +++ b/src/language/omega_lex.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * omega_lex.h -- Omega surface language V0 lexer (spec/omega-language-v0.md). * diff --git a/src/language/omega_lower.c b/src/language/omega_lower.c index 8c0c61cc1..6acd8e658 100644 --- a/src/language/omega_lower.c +++ b/src/language/omega_lower.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* omega_lower.c -- Omega surface language V0 lowering. See omega_lower.h. * * Builds objects only through the existing omega_build_* / omega_program_* diff --git a/src/language/omega_lower.h b/src/language/omega_lower.h index 9291bba5f..8dafa19b0 100644 --- a/src/language/omega_lower.h +++ b/src/language/omega_lower.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * omega_lower.h -- Omega surface language V0 lowering (spec/omega-language-v0.md). * diff --git a/src/language/omega_parse.c b/src/language/omega_parse.c index 066e9c77f..d75907fb5 100644 --- a/src/language/omega_parse.c +++ b/src/language/omega_parse.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* omega_parse.c -- Omega surface language V0 parser. See omega_parse.h. */ #include "omega_parse.h" diff --git a/src/language/omega_parse.h b/src/language/omega_parse.h index c71488683..ca94ad3df 100644 --- a/src/language/omega_parse.h +++ b/src/language/omega_parse.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * omega_parse.h -- Omega surface language V0 parser (spec/omega-language-v0.md). * diff --git a/src/omega_accelerator.c b/src/omega_accelerator.c index e1a6458ba..b7f4adedb 100644 --- a/src/omega_accelerator.c +++ b/src/omega_accelerator.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include "omega_accelerator.h" #include "sha256.h" #include diff --git a/src/omega_accelerator.h b/src/omega_accelerator.h index 41afc63e1..2375ec99f 100644 --- a/src/omega_accelerator.h +++ b/src/omega_accelerator.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #ifndef OMEGA_ACCELERATOR_H #define OMEGA_ACCELERATOR_H diff --git a/src/omega_accelerator_world.c b/src/omega_accelerator_world.c index cf39f377d..25fba55c8 100644 --- a/src/omega_accelerator_world.c +++ b/src/omega_accelerator_world.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include "omega_accelerator_world.h" #include "omega_gpu_code_alloc.h" #include "omega_blackwell_qmd.h" diff --git a/src/omega_accelerator_world.h b/src/omega_accelerator_world.h index d17d67f5f..a3dffcb67 100644 --- a/src/omega_accelerator_world.h +++ b/src/omega_accelerator_world.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #ifndef OMEGA_ACCELERATOR_WORLD_H #define OMEGA_ACCELERATOR_WORLD_H diff --git a/src/omega_blackwell_codegen.c b/src/omega_blackwell_codegen.c index b09fa1e54..8bca6ad96 100644 --- a/src/omega_blackwell_codegen.c +++ b/src/omega_blackwell_codegen.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include "omega_blackwell_codegen.h" #include "omega_blackwell_submit.h" #include "sha256.h" diff --git a/src/omega_blackwell_codegen.h b/src/omega_blackwell_codegen.h index cc36e237d..03cb2ed7a 100644 --- a/src/omega_blackwell_codegen.h +++ b/src/omega_blackwell_codegen.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #ifndef OMEGA_BLACKWELL_CODEGEN_H #define OMEGA_BLACKWELL_CODEGEN_H diff --git a/src/omega_blackwell_codegen_attn.c b/src/omega_blackwell_codegen_attn.c index 37a67d8df..060e25cff 100644 --- a/src/omega_blackwell_codegen_attn.c +++ b/src/omega_blackwell_codegen_attn.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * omega_blackwell_codegen_attn.c: the one-launch decode attention kernel (see the header). Emitter rules follow * omega_blackwell_codegen_moe.c (control words, read barrier on every load, loop live ranges). diff --git a/src/omega_blackwell_codegen_attn.h b/src/omega_blackwell_codegen_attn.h index 102a3f2e5..4f84bba33 100644 --- a/src/omega_blackwell_codegen_attn.h +++ b/src/omega_blackwell_codegen_attn.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #ifndef OMEGA_BLACKWELL_CODEGEN_ATTN_H #define OMEGA_BLACKWELL_CODEGEN_ATTN_H /* diff --git a/src/omega_blackwell_codegen_bf16.c b/src/omega_blackwell_codegen_bf16.c index 08125e6c6..6972b3e85 100644 --- a/src/omega_blackwell_codegen_bf16.c +++ b/src/omega_blackwell_codegen_bf16.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* omega_blackwell_codegen_bf16.c: bf16 streaming GEMV kernel (the lm_head), OWN-30B 2026-10-13. See the header. * The emitter helpers below are copies of omega_blackwell_codegen_moe.c's (same chip-learned scheduling rules: every * instruction waits on everything still pending; variable-latency results go through scoreboard 0, stores set the read diff --git a/src/omega_blackwell_codegen_bf16.h b/src/omega_blackwell_codegen_bf16.h index c7a22cdfd..5b1a5bcca 100644 --- a/src/omega_blackwell_codegen_bf16.h +++ b/src/omega_blackwell_codegen_bf16.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #ifndef OMEGA_BLACKWELL_CODEGEN_BF16_H #define OMEGA_BLACKWELL_CODEGEN_BF16_H /* diff --git a/src/omega_blackwell_codegen_dec.c b/src/omega_blackwell_codegen_dec.c index b2ec67d7f..7b6b24a23 100644 --- a/src/omega_blackwell_codegen_dec.c +++ b/src/omega_blackwell_codegen_dec.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * omega_blackwell_codegen_dec.c: decode glue kernels (see the header). The emitter helpers are the router's * (omega_blackwell_codegen_router.c): control words, read barrier on every load, loop live ranges, lane-0 regions. diff --git a/src/omega_blackwell_codegen_dec.h b/src/omega_blackwell_codegen_dec.h index 0ea33231e..d126fdff6 100644 --- a/src/omega_blackwell_codegen_dec.h +++ b/src/omega_blackwell_codegen_dec.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #ifndef OMEGA_BLACKWELL_CODEGEN_DEC_H #define OMEGA_BLACKWELL_CODEGEN_DEC_H /* diff --git a/src/omega_blackwell_codegen_gemm.c b/src/omega_blackwell_codegen_gemm.c index b804ce0da..e60a8ab11 100644 --- a/src/omega_blackwell_codegen_gemm.c +++ b/src/omega_blackwell_codegen_gemm.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* omega_blackwell_codegen_gemm.c: FP8 e4m3 block-scaled grouped GEMM for prefill (OWN-30B builder F item 26). See the * header for the contract. The emitter helpers are copies of omega_blackwell_codegen_moe.c's (same chip-learned * scheduling rules) plus one addition: weight and scale prefetch loads use scoreboards 3 (buffer A) and 4 (buffer B) diff --git a/src/omega_blackwell_codegen_gemm.h b/src/omega_blackwell_codegen_gemm.h index 7bcfba2cc..c3edb9d5a 100644 --- a/src/omega_blackwell_codegen_gemm.h +++ b/src/omega_blackwell_codegen_gemm.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #ifndef OMEGA_BLACKWELL_CODEGEN_GEMM_H #define OMEGA_BLACKWELL_CODEGEN_GEMM_H /* diff --git a/src/omega_blackwell_codegen_moe.c b/src/omega_blackwell_codegen_moe.c index 14d9d5c4f..4524e6ed2 100644 --- a/src/omega_blackwell_codegen_moe.c +++ b/src/omega_blackwell_codegen_moe.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* omega_blackwell_codegen_moe.c: FP8 e4m3 block-scaled GEMV kernel (OWN-30B Cut 6 / Cut 5). * See the header for the contract and the argument words. * diff --git a/src/omega_blackwell_codegen_moe.h b/src/omega_blackwell_codegen_moe.h index 4140f2fc7..d880d6163 100644 --- a/src/omega_blackwell_codegen_moe.h +++ b/src/omega_blackwell_codegen_moe.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #ifndef OMEGA_BLACKWELL_CODEGEN_MOE_H #define OMEGA_BLACKWELL_CODEGEN_MOE_H /* diff --git a/src/omega_blackwell_codegen_moe2.c b/src/omega_blackwell_codegen_moe2.c index 967822300..eee933b5f 100644 --- a/src/omega_blackwell_codegen_moe2.c +++ b/src/omega_blackwell_codegen_moe2.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* omega_blackwell_codegen_moe2.c: FP8 e4m3 block-scaled GEMV, variant 2 (row-pipelined). See the header. * * Scheduling: variant 1's chip-learned rules (every instruction waits on everything pending; variable-latency diff --git a/src/omega_blackwell_codegen_moe2.h b/src/omega_blackwell_codegen_moe2.h index ab32d3d97..fc8533a34 100644 --- a/src/omega_blackwell_codegen_moe2.h +++ b/src/omega_blackwell_codegen_moe2.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #ifndef OMEGA_BLACKWELL_CODEGEN_MOE2_H #define OMEGA_BLACKWELL_CODEGEN_MOE2_H /* diff --git a/src/omega_blackwell_codegen_pattn.c b/src/omega_blackwell_codegen_pattn.c index 676f84998..83dee6b00 100644 --- a/src/omega_blackwell_codegen_pattn.c +++ b/src/omega_blackwell_codegen_pattn.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * omega_blackwell_codegen_pattn.c: causal prefill attention on tensor cores (see the header). * Emitter rules are those of omega_blackwell_codegen_attn.c / omega_blackwell_codegen_tc.c (control words, the read diff --git a/src/omega_blackwell_codegen_pattn.h b/src/omega_blackwell_codegen_pattn.h index 09add123e..b7f8ff1a2 100644 --- a/src/omega_blackwell_codegen_pattn.h +++ b/src/omega_blackwell_codegen_pattn.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #ifndef OMEGA_BLACKWELL_CODEGEN_PATTN_H #define OMEGA_BLACKWELL_CODEGEN_PATTN_H /* diff --git a/src/omega_blackwell_codegen_pf.c b/src/omega_blackwell_codegen_pf.c index 78e1d6b33..25e0f54ff 100644 --- a/src/omega_blackwell_codegen_pf.c +++ b/src/omega_blackwell_codegen_pf.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* omega_blackwell_codegen_pf.c: device-resident prefill helper kernels (OWN-30B T3b). See the header. */ #include "omega_blackwell_codegen_pf.h" #include "omega_bw_em.h" diff --git a/src/omega_blackwell_codegen_pf.h b/src/omega_blackwell_codegen_pf.h index 74236c80c..f4a126d3e 100644 --- a/src/omega_blackwell_codegen_pf.h +++ b/src/omega_blackwell_codegen_pf.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #ifndef OMEGA_BLACKWELL_CODEGEN_PF_H #define OMEGA_BLACKWELL_CODEGEN_PF_H /* diff --git a/src/omega_blackwell_codegen_pfhost.c b/src/omega_blackwell_codegen_pfhost.c index a272585b6..50883404e 100644 --- a/src/omega_blackwell_codegen_pfhost.c +++ b/src/omega_blackwell_codegen_pfhost.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* omega_blackwell_codegen_pfhost.c: router logits and MoE combine for the whole-prompt prefill (W-L1G-D). See the header. */ #include "omega_blackwell_codegen_pfhost.h" #include "omega_bw_em.h" diff --git a/src/omega_blackwell_codegen_pfhost.h b/src/omega_blackwell_codegen_pfhost.h index 3f9545151..02bcef486 100644 --- a/src/omega_blackwell_codegen_pfhost.h +++ b/src/omega_blackwell_codegen_pfhost.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #ifndef OMEGA_BLACKWELL_CODEGEN_PFHOST_H #define OMEGA_BLACKWELL_CODEGEN_PFHOST_H /* diff --git a/src/omega_blackwell_codegen_qg.c b/src/omega_blackwell_codegen_qg.c index 4d1e84c17..98b78b7a4 100644 --- a/src/omega_blackwell_codegen_qg.c +++ b/src/omega_blackwell_codegen_qg.c @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* omega_blackwell_codegen_qg.c: native FP8 prefill kernels (W-L1G). See the header. */ #include "omega_blackwell_codegen_qg.h" #include "omega_bw_em.h" diff --git a/src/omega_blackwell_codegen_qg.h b/src/omega_blackwell_codegen_qg.h index daf96304d..7fff88f26 100644 --- a/src/omega_blackwell_codegen_qg.h +++ b/src/omega_blackwell_codegen_qg.h @@ -1,3 +1,19 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright 2026 Drake Stapleton (AIEN / aien-dev) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #ifndef OMEGA_BLACKWELL_CODEGEN_QG_H #define OMEGA_BLACKWELL_CODEGEN_QG_H /* diff --git a/src/omega_blackwell_codegen_qmma.c b/src/omega_blackwell_codegen_qmma.c index 7616015ee..3337395ae 100644 --- a/src/omega_blackwell_codegen_qmma.c +++ b/src/omega_blackwell_codegen_qmma.c @@ -1,3 +1,19 @@ ``` The diff is longer than this page shows; the raw diff has all of it.