Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel
BUILD-TEST-A0 net10 legacy test policy
Yuechen Li2080d13bf0f0
diff --git a/Aetheris.CLI.Tests/Aetheris.CLI.Tests.csproj b/Aetheris.CLI.Tests/Aetheris.CLI.Tests.csprojindex 7bb433f6..4f3273aa 100644--- a/Aetheris.CLI.Tests/Aetheris.CLI.Tests.csproj+++ b/Aetheris.CLI.Tests/Aetheris.CLI.Tests.csproj@@ -1,6 +1,6 @@<Project Sdk="Microsoft.NET.Sdk"><PropertyGroup>- <TargetFrameworks>net10.0;net8.0</TargetFrameworks>+ <TargetFramework>net10.0</TargetFramework><ImplicitUsings>enable</ImplicitUsings><Nullable>enable</Nullable><IsPackable>false</IsPackable>diff --git a/Aetheris.CLI/Aetheris.CLI.csproj b/Aetheris.CLI/Aetheris.CLI.csprojindex 12a2c7c9..90dda6e0 100644--- a/Aetheris.CLI/Aetheris.CLI.csproj+++ b/Aetheris.CLI/Aetheris.CLI.csproj@@ -1,7 +1,7 @@<Project Sdk="Microsoft.NET.Sdk"><PropertyGroup><OutputType>Exe</OutputType>- <TargetFrameworks>net10.0;net8.0</TargetFrameworks>+ <TargetFramework>net10.0</TargetFramework><ImplicitUsings>enable</ImplicitUsings><Nullable>enable</Nullable><AssemblyName>aetheris</AssemblyName>diff --git a/Aetheris.Firmament.FrictionLab/Aetheris.Firmament.FrictionLab.csproj b/Aetheris.Firmament.FrictionLab/Aetheris.Firmament.FrictionLab.csprojindex 8a07963d..994586fc 100644--- a/Aetheris.Firmament.FrictionLab/Aetheris.Firmament.FrictionLab.csproj+++ b/Aetheris.Firmament.FrictionLab/Aetheris.Firmament.FrictionLab.csproj@@ -1,7 +1,7 @@<Project Sdk="Microsoft.NET.Sdk"><PropertyGroup><OutputType>Exe</OutputType>- <TargetFrameworks>net10.0;net8.0</TargetFrameworks>+ <TargetFramework>net10.0</TargetFramework><ImplicitUsings>enable</ImplicitUsings><Nullable>enable</Nullable></PropertyGroup>diff --git a/Aetheris.Forge/Aetheris.Forge.csproj b/Aetheris.Forge/Aetheris.Forge.csprojindex e95acbe2..c4134034 100644--- a/Aetheris.Forge/Aetheris.Forge.csproj+++ b/Aetheris.Forge/Aetheris.Forge.csproj@@ -1,6 +1,6 @@<Project Sdk="Microsoft.NET.Sdk"><PropertyGroup>- <TargetFrameworks>net10.0;net8.0</TargetFrameworks>+ <TargetFramework>net10.0</TargetFramework><ImplicitUsings>enable</ImplicitUsings><Nullable>enable</Nullable></PropertyGroup>diff --git a/Aetheris.FrictionLab.Tests/Aetheris.FrictionLab.Tests.csproj b/Aetheris.FrictionLab.Tests/Aetheris.FrictionLab.Tests.csprojindex f295ce66..9942cad4 100644--- a/Aetheris.FrictionLab.Tests/Aetheris.FrictionLab.Tests.csproj+++ b/Aetheris.FrictionLab.Tests/Aetheris.FrictionLab.Tests.csproj@@ -1,11 +1,15 @@<Project Sdk="Microsoft.NET.Sdk"><PropertyGroup>- <TargetFrameworks>net10.0;net8.0</TargetFrameworks>+ <TargetFramework>net10.0</TargetFramework><ImplicitUsings>enable</ImplicitUsings><Nullable>enable</Nullable><IsPackable>false</IsPackable></PropertyGroup>+ <ItemGroup Condition="'$(AETHERIS_RUN_LEGACY_TESTS)' != '1'">+ <Compile Remove="**/*.cs" />+ </ItemGroup>+<ItemGroup><PackageReference Include="coverlet.collector" Version="6.0.0" /><PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />diff --git a/Aetheris.Kernel.Core.Tests/Aetheris.Kernel.Core.Tests.csproj b/Aetheris.Kernel.Core.Tests/Aetheris.Kernel.Core.Tests.csprojindex ff7384ee..aaca79f7 100644--- a/Aetheris.Kernel.Core.Tests/Aetheris.Kernel.Core.Tests.csproj+++ b/Aetheris.Kernel.Core.Tests/Aetheris.Kernel.Core.Tests.csproj@@ -1,6 +1,6 @@<Project Sdk="Microsoft.NET.Sdk"><PropertyGroup>- <TargetFrameworks>net10.0;net8.0</TargetFrameworks>+ <TargetFramework>net10.0</TargetFramework><ImplicitUsings>enable</ImplicitUsings><Nullable>enable</Nullable><IsPackable>false</IsPackable>diff --git a/Aetheris.Kernel.Core/Aetheris.Kernel.Core.csproj b/Aetheris.Kernel.Core/Aetheris.Kernel.Core.csprojindex d61bb5e1..6c3a8871 100644--- a/Aetheris.Kernel.Core/Aetheris.Kernel.Core.csproj+++ b/Aetheris.Kernel.Core/Aetheris.Kernel.Core.csproj@@ -1,6 +1,6 @@<Project Sdk="Microsoft.NET.Sdk"><PropertyGroup>- <TargetFrameworks>net10.0;net8.0</TargetFrameworks>+ <TargetFramework>net10.0</TargetFramework><ImplicitUsings>enable</ImplicitUsings><Nullable>enable</Nullable></PropertyGroup>diff --git a/Aetheris.Kernel.Firmament.Tests/Aetheris.Kernel.Firmament.Tests.csproj b/Aetheris.Kernel.Firmament.Tests/Aetheris.Kernel.Firmament.Tests.csprojindex 17dc9195..df1c4d49 100644--- a/Aetheris.Kernel.Firmament.Tests/Aetheris.Kernel.Firmament.Tests.csproj+++ b/Aetheris.Kernel.Firmament.Tests/Aetheris.Kernel.Firmament.Tests.csproj@@ -1,11 +1,31 @@<Project Sdk="Microsoft.NET.Sdk"><PropertyGroup>- <TargetFrameworks>net10.0;net8.0</TargetFrameworks>+ <TargetFramework>net10.0</TargetFramework><ImplicitUsings>enable</ImplicitUsings><Nullable>enable</Nullable><IsPackable>false</IsPackable></PropertyGroup>+ <ItemGroup Condition="'$(AETHERIS_RUN_LEGACY_TESTS)' != '1'">+ <Compile Remove="FirmamentBoolean*.cs" />+ <Compile Remove="FirmamentBuildAndExportTests.cs" />+ <Compile Remove="FirmamentCompiledSchemaAttachmentTests.cs" />+ <Compile Remove="FirmamentConnectorLibraryPartTests.cs" />+ <Compile Remove="FirmamentCorpusScaffoldTests.cs" />+ <Compile Remove="FirmamentDocumentCoherenceValidationTests.cs" />+ <Compile Remove="FirmamentExamplePackSmokeTests.cs" />+ <Compile Remove="FirmamentFormatterTests.cs" />+ <Compile Remove="FirmamentPlacement*.cs" />+ <Compile Remove="FirmamentPmiTests.cs" />+ <Compile Remove="FirmamentPrimitive*.cs" />+ <Compile Remove="FirmamentSafeSubtractFeatureGraphValidationTests.cs" />+ <Compile Remove="FirmamentScaffoldTests.cs" />+ <Compile Remove="FirmamentSchema*.cs" />+ <Compile Remove="FirmamentStepExporterTests.cs" />+ <Compile Remove="FirmamentTorusContractTests.cs" />+ <Compile Remove="FirmamentValidation*.cs" />+ </ItemGroup>+<ItemGroup><PackageReference Include="coverlet.collector" Version="6.0.0" /><PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />diff --git a/Aetheris.Kernel.Firmament/Aetheris.Kernel.Firmament.csproj b/Aetheris.Kernel.Firmament/Aetheris.Kernel.Firmament.csprojindex 63fa8d17..c1a05ede 100644--- a/Aetheris.Kernel.Firmament/Aetheris.Kernel.Firmament.csproj+++ b/Aetheris.Kernel.Firmament/Aetheris.Kernel.Firmament.csproj@@ -1,6 +1,6 @@<Project Sdk="Microsoft.NET.Sdk"><PropertyGroup>- <TargetFrameworks>net10.0;net8.0</TargetFrameworks>+ <TargetFramework>net10.0</TargetFramework><ImplicitUsings>enable</ImplicitUsings><Nullable>enable</Nullable></PropertyGroup>diff --git a/Aetheris.Kernel.StandardLibrary/Aetheris.Kernel.StandardLibrary.csproj b/Aetheris.Kernel.StandardLibrary/Aetheris.Kernel.StandardLibrary.csprojindex c3b321af..cdafd07c 100644--- a/Aetheris.Kernel.StandardLibrary/Aetheris.Kernel.StandardLibrary.csproj+++ b/Aetheris.Kernel.StandardLibrary/Aetheris.Kernel.StandardLibrary.csproj@@ -1,6 +1,6 @@<Project Sdk="Microsoft.NET.Sdk"><PropertyGroup>- <TargetFrameworks>net10.0;net8.0</TargetFrameworks>+ <TargetFramework>net10.0</TargetFramework><ImplicitUsings>enable</ImplicitUsings><Nullable>enable</Nullable></PropertyGroup>diff --git a/Aetheris.Server.Tests/Aetheris.Server.Tests.csproj b/Aetheris.Server.Tests/Aetheris.Server.Tests.csprojindex e67588df..feda50f5 100644--- a/Aetheris.Server.Tests/Aetheris.Server.Tests.csproj+++ b/Aetheris.Server.Tests/Aetheris.Server.Tests.csproj@@ -1,14 +1,13 @@<Project Sdk="Microsoft.NET.Sdk"><PropertyGroup>- <TargetFrameworks>net10.0;net8.0</TargetFrameworks>+ <TargetFramework>net10.0</TargetFramework><ImplicitUsings>enable</ImplicitUsings><Nullable>enable</Nullable><IsPackable>false</IsPackable></PropertyGroup><ItemGroup>- <PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="10.0.7" Condition="'$(TargetFramework)' == 'net10.0'" />- <PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.24" Condition="'$(TargetFramework)' == 'net8.0'" />+ <PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="10.0.7" /><PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" /><PackageReference Include="xunit" Version="2.9.2" /><PackageReference Include="xunit.runner.visualstudio" Version="2.8.2" />diff --git a/Aetheris.Server/Aetheris.Server.csproj b/Aetheris.Server/Aetheris.Server.csprojindex a4e233b4..12882426 100644--- a/Aetheris.Server/Aetheris.Server.csproj+++ b/Aetheris.Server/Aetheris.Server.csproj@@ -1,7 +1,7 @@<Project Sdk="Microsoft.NET.Sdk.Web"><PropertyGroup>- <TargetFrameworks>net10.0;net8.0</TargetFrameworks>+ <TargetFramework>net10.0</TargetFramework><Nullable>enable</Nullable><ImplicitUsings>enable</ImplicitUsings><SpaRoot>..\aetheris.client\</SpaRoot>diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 9f610bb7..1845586d 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -28,7 +28,7 @@dotnet test Aetheris.Kernel.Core.Tests/Aetheris.Kernel.Core.Tests.csproj --logger "console;verbosity=minimal"```-- Use `Aetheris.slnx` as the canonical solution file. Default automation should target `net10.0`; use `net8.0` only for explicit fallback validation.+- Use `Aetheris.slnx` as the canonical solution file. Default automation targets `net10.0` only. Legacy Firmament V1 and FrictionLab tests are opt-in with `AETHERIS_RUN_LEGACY_TESTS=1` or `./scripts/test-legacy.sh`; see `docs/build-test-policy-net10-and-legacy-v1.md`.## Kernel disciplinediff --git a/README.md b/README.mdindex ce3ad2de..e5a45693 100644--- a/README.md+++ b/README.md@@ -33,11 +33,11 @@ If you want the API entry point instead of the test wrapper, use `FirmamentBuild## Automation-friendly test entrypoints-The canonical solution format is `Aetheris.slnx` for both local and automation workflows. Primary targeting is .NET 10 (`net10.0`) with .NET 8 (`net8.0`) as an explicit fallback target.+The canonical solution format is `Aetheris.slnx` for both local and automation workflows. Primary targeting is .NET 10 (`net10.0`) only; legacy .NET 8 targeting has been removed.### Canonical repo-level test path-Use the shell script below as the official automation-friendly entrypoint. It runs the canonical solution (`Aetheris.slnx`) on the primary framework (`net10.0`) and excludes `SlowCorpus` by default.+Use the shell script below as the official automation-friendly entrypoint. It runs the canonical solution (`Aetheris.slnx`) on the sole active framework (`net10.0`), excludes `SlowCorpus` by default, and leaves legacy Firmament V1/FrictionLab tests opt-in.```bashexport PATH="$HOME/.dotnet:$PATH"@@ -77,7 +77,7 @@ dotnet test Aetheris.slnx -f net10.0 --filter "Category!=SlowCorpus"dotnet test Aetheris.Kernel.Core.Tests --filter "Category=SlowCorpus"```-Use `Aetheris.slnx` as the only solution entrypoint. For fallback framework validation, run `dotnet build Aetheris.slnx -f net8.0`.+Use `Aetheris.slnx` as the only solution entrypoint. For legacy Firmament V1/FrictionLab test validation, run `AETHERIS_RUN_LEGACY_TESTS=1 dotnet test Aetheris.slnx -f net10.0` or `./scripts/test-legacy.sh`. See `docs/build-test-policy-net10-and-legacy-v1.md`.## Repo mapdiff --git a/docs/build-test-policy-net10-and-legacy-v1.md b/docs/build-test-policy-net10-and-legacy-v1.mdnew file mode 100644index 00000000..dcb26e03--- /dev/null+++ b/docs/build-test-policy-net10-and-legacy-v1.md@@ -0,0 +1,68 @@+# BUILD-TEST-A0 — net10-only target and legacy V1 test policy++## Why net10-only++Aetheris now uses `net10.0` as the only active .NET target. The previous `net8.0;net10.0` multi-targeting doubled normal build and test work while the project is concentrating on the V2 compiler architecture. Dropping `net8.0` keeps local and CI loops focused on the current runtime without changing geometry, compiler, BRep, STEP, or lowering behavior.++## Active architecture++- `Aetheris.Kernel.Core` is the LLVM-analogue kernel/backend substrate. Core geometry, BRep, STEP, recovery, and import/export tests remain active by default.+- `Aetheris.Kernel.Firmament` Firmament V2 is the Clang-analogue source frontend. Parser, AIR, lowering, region, artifact, and current compiler validation tests remain active by default.+- Firmament V1 remains valid historical TOON/YAML-ish structured syntax, but it is legacy/frozen. It is retained for compatibility, corpus, regression evidence, and reference.+- FrictionLab remains legacy/experimental unless a lab result is explicitly promoted into active V2/Core production-adjacent tests.++## Test-suite policy++Normal `dotnet test` runs active tests only:++```bash+dotnet test -f net10.0+```++The default project configuration excludes legacy Firmament V1 test source files from `Aetheris.Kernel.Firmament.Tests` and excludes the FrictionLab test project sources unless legacy tests are explicitly requested. This avoids relying on traits alone, which would still execute tests under plain `dotnet test`.++Legacy tests are opt-in with `AETHERIS_RUN_LEGACY_TESTS=1`:++```bash+AETHERIS_RUN_LEGACY_TESTS=1 dotnet test -f net10.0+```++For a narrower legacy run:++```bash+AETHERIS_RUN_LEGACY_TESTS=1 dotnet test Aetheris.Kernel.Firmament.Tests/Aetheris.Kernel.Firmament.Tests.csproj -f net10.0 --filter FirmamentPrimitive+AETHERIS_RUN_LEGACY_TESTS=1 dotnet test Aetheris.FrictionLab.Tests/Aetheris.FrictionLab.Tests.csproj -f net10.0 --filter CIRLab+```++The helper scripts are:++```bash+./scripts/test-all.sh+./scripts/test-legacy.sh+```++`test-all.sh` is the active/default lane. `test-legacy.sh` exports `AETHERIS_RUN_LEGACY_TESTS=1` and runs the same `net10.0` framework lane with legacy sources included.++## Promoting useful legacy tests++When a Firmament V1 or FrictionLab scenario becomes relevant to current V2/Core work:++1. Copy or adapt the motivating assertion into an active V2/Core test file.+2. Keep the active test focused on the current architecture path: V2 parser/frontend, AIR, lowering, Core geometry, BRep, STEP, or artifact behavior.+3. Do not merely un-gate broad legacy suites to keep one useful assertion alive.+4. Leave the historical V1/FrictionLab test in place for deliberate legacy runs unless it is superseded by an explicit cleanup milestone.++## Non-goals++This policy change does not:++- change geometry behavior;+- change BRep topology behavior;+- change STEP import/export behavior;+- change Firmament V2 parser or lowering behavior;+- change AIR lowering behavior;+- change artifact emission behavior;+- change CIR behavior;+- redesign Firmasm;+- delete V1 tests or fixtures;+- mass-disable `Aetheris.Kernel.Core` tests.diff --git a/docs/edge-x13-firmament-airchamfer-shadow-diagnostics.md b/docs/edge-x13-firmament-airchamfer-shadow-diagnostics.mdindex c4517578..098529b3 100644--- a/docs/edge-x13-firmament-airchamfer-shadow-diagnostics.md+++ b/docs/edge-x13-firmament-airchamfer-shadow-diagnostics.md@@ -112,7 +112,7 @@ Observed focused result during implementation:dotnet test Aetheris.Kernel.Firmament.Tests/Aetheris.Kernel.Firmament.Tests.csproj --filter "AirChamferShadow"```-Result: passed for both `net8.0` and `net10.0` target frameworks.+Historical result: passed when the repo still multi-targeted. Current validation should use the sole active `net10.0` target framework.## Non-goalsdiff --git a/docs/warn-clean-a1-inventory.md b/docs/warn-clean-a1-inventory.mdindex 683f8c2e..d051113a 100644--- a/docs/warn-clean-a1-inventory.md+++ b/docs/warn-clean-a1-inventory.md@@ -4,7 +4,7 @@ Date: 2026-05-06 (UTC)## Scope-This milestone inventories remaining warnings/failures in the canonical gate after WARN-CLEAN-A0 made `Aetheris.Kernel.Core` warning-free for `net10.0` and `net8.0`.+This milestone inventories remaining warnings/failures in the canonical gate after WARN-CLEAN-A0 made `Aetheris.Kernel.Core` warning-free. Current validation should use the sole active `net10.0` target framework.Commands used:diff --git a/scripts/test-legacy.sh b/scripts/test-legacy.shnew file mode 100755index 00000000..b8fd0d1b--- /dev/null+++ b/scripts/test-legacy.sh@@ -0,0 +1,6 @@+#!/usr/bin/env bash+set -euo pipefail++export AETHERIS_RUN_LEGACY_TESTS=1+SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"+exec "$SCRIPT_DIR/test-all.sh" "$@"