Skip to content

Commit 6e65bfb

Browse files
committed
feat(owen-ext): Owen.Build host + Owen.TypedBuilder extension #1 (OX-01)
Implements docs/notes/owen-extension-alpha-preregistration.md (with its Amendment 1, committed here before any official run): - Owen.Build: the generic build host package. Packs the OwnSharp.Cli publish closure (the owen program, bundled extractor, rust-core/<platform>) minus the Python core, plus build/buildTransitive targets that run 'owen build-check' after every build. - owen build-check: validates extension descriptors (OWENB001-005), writes obj/owen/extensions.json, scans the project plus the declared generators' output, runs the Rust core once with --format msbuild, and turns extractor/core refusals into navigable OWENB010/011 errors. It names no extension. - Owen.TypedBuilder: the Typed Builder as a Roslyn incremental generator over the SAME model/renderer as the CLI (TypedBuilderCore.cs, shared), plus the extension descriptor; output = '#nullable enable' + the golden. - OwenRustCore.props: the one platform inventory, used by Owen.Cli and Owen.Build. - spec/OwenExtension.md + schema; scripts/owen_extension_gate.py (isolated consumer A-H, mutations M1-M7) and the Linux/Windows CI job; a synthetic second extension under tests/owen-extensions. No change under ownlang/, rust/, the extractor, OwnIR spec, T0 or calibration. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011ZFvhLx1fM9Gerg4dKsZcL
1 parent 49f5493 commit 6e65bfb

25 files changed

Lines changed: 2274 additions & 412 deletions

‎.github/workflows/ci.yml‎

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3455,6 +3455,38 @@ jobs:
34553455
path: ${{ runner.temp }}/benchmark-scorecard.json
34563456
retention-days: 90
34573457

3458+
# OX-01 (docs/notes/owen-extension-alpha-preregistration.md): the Owen extension substrate,
3459+
# with Typed Builder as extension #1. The gate packs Owen.Build (the generic host, with this
3460+
# platform's natively built Rust core) and Owen.TypedBuilder, then proves in a project OUTSIDE
3461+
# the checkout, with no Python / cargo / rustc / owen on PATH, that one PackageReference gives
3462+
# the generated API, CS errors, and OWN findings from `dotnet build` with canonical MSBuild
3463+
# coordinates; it replays the whole TB-MVP corpus and acceptance through the package, adds a
3464+
# second (synthetic) extension, and mutates the installed packages (M1-M7). Both platforms:
3465+
# MSBuild's Exec, the packed core and the paths all differ between them.
3466+
owen-extension:
3467+
name: Owen extension substrate (Owen.Build + Owen.TypedBuilder, isolated consumer)
3468+
strategy:
3469+
fail-fast: false
3470+
matrix:
3471+
os: [ubuntu-latest, windows-latest]
3472+
runs-on: ${{ matrix.os }}
3473+
defaults:
3474+
run:
3475+
shell: bash
3476+
steps:
3477+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
3478+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
3479+
with:
3480+
python-version: "3.13"
3481+
- uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4
3482+
with:
3483+
dotnet-version: "8.0.x"
3484+
- uses: dtolnay/rust-toolchain@fa04a1451ff1842e2626ccb99004d0195b455a88 # master, 2026-07-10
3485+
with:
3486+
toolchain: stable
3487+
- name: The extension gate (pack, isolated consumer A-H, mutations M1-M7)
3488+
run: python scripts/owen_extension_gate.py
3489+
34583490
# Alpha gate A (issue #202): the single delightful command, proven end-to-end
34593491
# on a clean runner — install -> check -> findings. Packaging only, no
34603492
# analysis-behaviour change: the underlying project stays OwnSharp.Cli

‎docs/notes/owen-extension-alpha-preregistration.md‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,30 @@ package cannot run without a global Owen install, the verdict is NO_GO.
266266
- a second aggregate;
267267
- a repo-wide rename.
268268

269+
## Amendment 1 (before the official run)
270+
271+
These are corrections found while building the gate. They were committed before any official
272+
run.
273+
274+
1. **M1 splits in two.**
275+
- **M1a:** delete `owen-extension.json` from the installed `Owen.TypedBuilder`, but keep its props, which still declares the descriptor. Expect **error `OWENB002`** ("the extension descriptor cannot be read"), not the registered `OWENB001`.
276+
- **M1b:** remove the extension's whole declaration (props and descriptor). Expect warning `OWENB001` and no `OWN002`.
277+
- **Why:** treating a declared but missing descriptor as "no extension" would be fail-open, so it is an error. The contract (§ *Extension discovery*) already says a descriptor that cannot be read is `OWENB002`; the registered M1 expectation contradicted it.
278+
2. **The `Owen.Cli` payload criterion is restated.** "File-for-file identical" is not achievable for the two assemblies built from this repository. `ownsharp.dll` gains `build-check` by design. `ownsharp-extract.dll` carries commit-stamped build metadata although its source is unchanged: the bytes differed between two packs of the same extractor source from two commits, even under `ContinuousIntegrationBuild`.
279+
280+
The criterion is now:
281+
- an **identical file list**;
282+
- **every other payload file byte-identical**: Roslyn, `deps.json`/`runtimeconfig.json`, vendored `.py`, Rust core;
283+
- `git diff 88cb8cc3..HEAD -- frontend/roslyn/OwnSharp.Extractor` **empty**;
284+
- gate A (install → `owen check` → `OWN001`) passing on the head.
285+
3. **G: the acceptance runner builds with `-p:OwenEnabled=false`.**
286+
- **Why the host runs there at all:** the runner references the consumer project, so the host reaches it through `buildTransitive`, as it reaches any dependent project.
287+
- **What the host does there:** the runner opens a protocol region in **top-level statements**, which the extractor does not model, so the host refuses it with `OWENB010`. That is fail-closed behaviour, not a defect.
288+
- **Why switching it off is acceptable:** the runner is a test harness, not the product under test. The consumer itself is analysed by A–F and H.
289+
290+
The registered criterion (44/44, transcript byte-identical) is unchanged.
291+
4. **The host runs with `DOTNET_ROLL_FORWARD=Major`,** set on the Exec. The host payload targets .NET 8, and a machine with only a newer SDK has no .NET 8 runtime. The isolated consumer keeps the registered `--framework net8.0`.
292+
269293
## P0 results
270294

271295
Run on `88cb8cc31c49d730290613208947102d0737cad2`, a clean tree except for the two documents of this commit:
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<!-- Owen.Build: the GENERIC Owen build host (OX-01, docs/notes/owen-extension-alpha-preregistration.md,
4+
spec/OwenExtension.md).
5+
6+
It exists because the host has to be a PackageReference (Owen.Cli is a DotnetTool
7+
package and NuGet refuses one as a reference, NU1212) and because every extension must
8+
share ONE copy of the extractor and the Rust core. It knows no extension: extensions
9+
declare themselves with an <OwenExtensionDescriptor> item and depend on this package.
10+
11+
Payload: tools/net8.0/any/ is the publish closure of OwnSharp.Cli — the very program the
12+
Owen.Cli tool is (`owen`), with the bundled extractor and rust-core/<platform>/own-cli —
13+
minus the vendored Python core, which the Rust engine never touches. build/ and
14+
buildTransitive/ carry the targets that run `owen build-check` after every build.
15+
16+
Pack it with the platform cores staged exactly as for Owen.Cli:
17+
dotnet pack frontend/roslyn/Owen.Build -c Release -p:OwenRustCoreDir=/abs/staged -->
18+
<PropertyGroup>
19+
<!-- no assembly of its own: the TFM only lets an extension project reference this one -->
20+
<TargetFramework>netstandard2.0</TargetFramework>
21+
<IncludeBuildOutput>false</IncludeBuildOutput>
22+
<NoWarn>$(NoWarn);NU5128;NU5100</NoWarn>
23+
<IsPackable>true</IsPackable>
24+
<PackageId>Owen.Build</PackageId>
25+
<!-- the host version an extension's `requires.host` is checked against; it is the
26+
version of the program it packs (OwnSharp.Cli <Version>) and must stay equal to it -->
27+
<Version>0.1.0</Version>
28+
<Description>Owen build host: runs Owen (the Roslyn extractor and the Rust analysis core it ships) on every build for the Owen extensions a project references, and reports findings as ordinary build diagnostics.</Description>
29+
<Authors>PhysShell</Authors>
30+
<PackageProjectUrl>https://github.com/PhysShell/Own.NET</PackageProjectUrl>
31+
<RepositoryUrl>https://github.com/PhysShell/Own.NET</RepositoryUrl>
32+
<RepositoryType>git</RepositoryType>
33+
<PackageTags>owen;static-analysis;msbuild;ownership;lifetime</PackageTags>
34+
<PackageReadmeFile>README.md</PackageReadmeFile>
35+
<DevelopmentDependency>false</DevelopmentDependency>
36+
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
37+
</PropertyGroup>
38+
39+
<Import Project="..\OwenRustCore.props" />
40+
41+
<ItemGroup>
42+
<None Include="build\Owen.Build.props" Pack="true" PackagePath="build" />
43+
<None Include="build\Owen.Build.targets" Pack="true" PackagePath="build" />
44+
<None Include="build\Owen.Build.props" Pack="true" PackagePath="buildTransitive" />
45+
<None Include="build\Owen.Build.targets" Pack="true" PackagePath="buildTransitive" />
46+
<None Include="README.md" Pack="true" PackagePath="\" />
47+
</ItemGroup>
48+
49+
<PropertyGroup>
50+
<_OwenHostStage>$(MSBuildProjectDirectory)/$(BaseIntermediateOutputPath)host-stage/</_OwenHostStage>
51+
</PropertyGroup>
52+
53+
<!-- A host package without the engine would install an Owen that cannot analyse. -->
54+
<Target Name="OwenBuildNeedsCore" BeforeTargets="GenerateNuspec">
55+
<Error Condition="'$(OwenRustCoreDir)' == ''"
56+
Text="Owen.Build must be packed with -p:OwenRustCoreDir=&lt;staged platform cores&gt;: the host runs the Rust core and has no other engine." />
57+
</Target>
58+
59+
<Target Name="OwenBuildPayload" BeforeTargets="_GetPackageFiles" DependsOnTargets="OwenRustCoreInventory"
60+
Condition="'$(OwenRustCoreDir)' != ''">
61+
<RemoveDir Directories="$(_OwenHostStage)" />
62+
<MSBuild Projects="..\OwnSharp.Cli\OwnSharp.Cli.csproj" Targets="Restore;Publish"
63+
Properties="Configuration=$(Configuration);PublishDir=$(_OwenHostStage);OwenRustCoreDir=$(OwenRustCoreDir);_OwenRestoreNonce=host" />
64+
<ItemGroup>
65+
<!-- minus the vendored Python core (Owen.Cli's publish puts its *.py at the root) and
66+
the symbols. NuGet appends each file's RecursiveDir to a folder PackagePath, so the
67+
layout under tools/ is the publish layout, rust-core/<platform>/ included. -->
68+
<_OwenHostFiles Include="$(_OwenHostStage)**/*" Exclude="$(_OwenHostStage)*.py;$(_OwenHostStage)**/*.pdb;$(_OwenHostStage)ownsharp;$(_OwenHostStage)ownsharp-extract;$(_OwenHostStage)*.exe" />
69+
<None Include="@(_OwenHostFiles)" Pack="true" PackagePath="tools/net8.0/any/" Visible="false" />
70+
</ItemGroup>
71+
<Error Condition="!Exists('$(_OwenHostStage)ownsharp.dll') or !Exists('$(_OwenHostStage)ownsharp-extract.dll')"
72+
Text="Owen.Build: the host publish closure is incomplete (no ownsharp.dll / ownsharp-extract.dll under $(_OwenHostStage))." />
73+
</Target>
74+
75+
</Project>
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Owen.Build
2+
3+
The Owen build host. You normally do not reference it yourself: the Owen extensions you
4+
reference depend on it.
5+
6+
On every `dotnet build`, after compilation, it runs Owen once for every active Owen
7+
extension:
8+
- the Roslyn extractor and the Rust analysis core, both shipped inside this package;
9+
- no Python, no Rust toolchain, no global tool;
10+
- findings are reported as ordinary build diagnostics (`file(line): warning OWNxxx: …`),
11+
including in Visual Studio's Error List.
12+
13+
| property | default | meaning |
14+
|---|---|---|
15+
| `OwenSeverity` | `warning` | `error` makes findings fail the build |
16+
| `OwenEnabled` | `true` | `false` turns the host off |
17+
18+
Each project's active extensions are listed in `obj/owen/extensions.json`. Host errors use
19+
the `OWENB` codes; see `spec/OwenExtension.md` in the Owen repository. Platforms: `linux-x64`
20+
and `win-x64`.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<Project>
2+
<!-- Owen.Build, the generic Owen build host (spec/OwenExtension.md). Defaults only; the work
3+
is in Owen.Build.targets. Nothing here names an extension. -->
4+
<PropertyGroup>
5+
<!-- false switches the host off for this project -->
6+
<OwenEnabled Condition="'$(OwenEnabled)' == ''">true</OwenEnabled>
7+
<!-- how a finding is SHOWN: warning (default — installing Owen never turns a legacy build
8+
red) or error. It never changes what is found. Refusals (OWENB010/011) are errors
9+
either way: a declared protocol that cannot be checked must not read as clean. -->
10+
<OwenSeverity Condition="'$(OwenSeverity)' == ''">warning</OwenSeverity>
11+
<!-- Extension generators' output must reach the scan AS SOURCE (the extractor reads files,
12+
and an extension's protocol lives in generated code), so the compiler writes it out. -->
13+
<EmitCompilerGeneratedFiles Condition="'$(OwenEnabled)' == 'true' and '$(EmitCompilerGeneratedFiles)' == ''">true</EmitCompilerGeneratedFiles>
14+
</PropertyGroup>
15+
</Project>
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
<Project>
2+
<!-- Owen.Build, the generic Owen build host (spec/OwenExtension.md).
3+
4+
After a project has been compiled and copied to its output, run `owen build-check` —
5+
the program packed in this package's tools/ — once, for every active Owen extension:
6+
* every <OwenExtensionDescriptor> item is validated against what this host supports
7+
(fail loud: OWENB002/003/004), and the active set is written to
8+
obj/owen/extensions.json;
9+
* the generated C# of the generators the descriptors name is handed to the extractor
10+
explicitly, next to the project itself;
11+
* the Rust core judges the facts and prints canonical MSBuild diagnostics
12+
(`file(line): warning|error OWNxxx: …`), which the Exec task below logs as real
13+
build warnings/errors — Visual Studio's Error List included.
14+
No analysis happens here and no extension is named here. -->
15+
16+
<PropertyGroup>
17+
<_OwenHostDir>$([MSBuild]::NormalizeDirectory('$(MSBuildThisFileDirectory)', '..', 'tools', 'net8.0', 'any'))</_OwenHostDir>
18+
<_OwenObjDir>$([MSBuild]::NormalizeDirectory('$(MSBuildProjectDirectory)', '$(BaseIntermediateOutputPath)', 'owen'))</_OwenObjDir>
19+
</PropertyGroup>
20+
21+
<Target Name="OwenBuildCheck"
22+
AfterTargets="CopyFilesToOutputDirectory"
23+
Condition="'$(OwenEnabled)' == 'true' and '$(DesignTimeBuild)' != 'true' and '$(BuildingProject)' != 'false'">
24+
<PropertyGroup>
25+
<!-- the muxer already running this build; never a PATH search for anything of ours -->
26+
<_OwenDotnet>$(DOTNET_HOST_PATH)</_OwenDotnet>
27+
<_OwenDotnet Condition="'$(_OwenDotnet)' == ''">dotnet</_OwenDotnet>
28+
<_OwenGeneratedRoot>$(CompilerGeneratedFilesOutputPath)</_OwenGeneratedRoot>
29+
<_OwenGeneratedRoot Condition="'$(_OwenGeneratedRoot)' != '' and !$([System.IO.Path]::IsPathRooted('$(_OwenGeneratedRoot)'))">$(MSBuildProjectDirectory)/$(_OwenGeneratedRoot)</_OwenGeneratedRoot>
30+
<_OwenRequest>$(_OwenObjDir)request.txt</_OwenRequest>
31+
</PropertyGroup>
32+
<ItemGroup>
33+
<_OwenRequestLine Include="project&#9;$(MSBuildProjectFullPath)" />
34+
<_OwenRequestLine Include="@(OwenExtensionDescriptor->'descriptor&#9;%(FullPath)')" />
35+
<_OwenRequestLine Include="generated-root&#9;$(_OwenGeneratedRoot)" Condition="'$(_OwenGeneratedRoot)' != ''" />
36+
<_OwenRequestLine Include="severity&#9;$(OwenSeverity)" />
37+
<_OwenRequestLine Include="manifest&#9;$(_OwenObjDir)extensions.json" />
38+
<_OwenRequestLine Include="emit-facts&#9;$(OwenEmitFacts)" Condition="'$(OwenEmitFacts)' != ''" />
39+
</ItemGroup>
40+
<MakeDir Directories="$(_OwenObjDir)" />
41+
<WriteLinesToFile File="$(_OwenRequest)" Lines="@(_OwenRequestLine)" Overwrite="true" WriteOnlyWhenDifferent="true" />
42+
<!-- DOTNET_ROLL_FORWARD: the host is built for .NET 8 and must run on whatever newer
43+
runtime the build machine has (a .NET 9-only machine has no 8 runtime). Exec kills the
44+
whole child tree when the build is cancelled. -->
45+
<Exec Command="&quot;$(_OwenDotnet)&quot; exec &quot;$(_OwenHostDir)ownsharp.dll&quot; build-check --request &quot;$(_OwenRequest)&quot;"
46+
WorkingDirectory="$(MSBuildProjectDirectory)"
47+
IgnoreExitCode="true"
48+
StandardOutputImportance="normal"
49+
StandardErrorImportance="normal"
50+
EnvironmentVariables="DOTNET_ROLL_FORWARD=Major">
51+
<Output TaskParameter="ExitCode" PropertyName="_OwenExit" />
52+
</Exec>
53+
<!-- build-check prints a canonical OWENB/OWN line for everything it fails on, and Exec
54+
turns those into errors. An exit code with nothing canonical behind it (a crash before
55+
any line) must still fail the build: never a silent clean. -->
56+
<Error Condition="'$(_OwenExit)' != '0' and '$(_OwenExit)' != '1' and '$(_OwenExit)' != '2'"
57+
Code="OWENB012"
58+
Text="Owen: the build host exited $(_OwenExit) without completing the analysis; the project was not checked." />
59+
</Target>
60+
</Project>
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<!-- Owen extension #1 (OX-01, docs/notes/owen-extension-alpha-preregistration.md).
4+
5+
The package a consumer references: `dotnet add package Owen.TypedBuilder`. It carries
6+
* analyzers/dotnet/cs/Owen.TypedBuilder.Generator.dll — the Roslyn incremental
7+
generator (this project's output), which renders the protocol with the SAME model
8+
and renderer as the CLI (../Own.TypedBuilder/TypedBuilderCore.cs, linked below);
9+
* buildTransitive/Owen.TypedBuilder.props + owen-extension.json — the extension's
10+
declaration to the generic host;
11+
* a dependency on Owen.Build (the generic host: extractor + Rust core + targets).
12+
Nothing here analyses anything: the verdicts are the Rust core's, run by Owen.Build. -->
13+
<PropertyGroup>
14+
<TargetFramework>netstandard2.0</TargetFramework>
15+
<LangVersion>12</LangVersion>
16+
<Nullable>enable</Nullable>
17+
<AssemblyName>Owen.TypedBuilder.Generator</AssemblyName>
18+
<RootNamespace>Own.TypedBuilder</RootNamespace>
19+
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
20+
<IsRoslynComponent>true</IsRoslynComponent>
21+
<Deterministic>true</Deterministic>
22+
<ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild>
23+
24+
<IsPackable>true</IsPackable>
25+
<PackageId>Owen.TypedBuilder</PackageId>
26+
<Version>0.1.0</Version>
27+
<Description>Owen extension: typed states and a typed builder generated from one annotated entity, checked on every build by Owen (ownership, state protocols, proven harmless calls).</Description>
28+
<Authors>PhysShell</Authors>
29+
<PackageProjectUrl>https://github.com/PhysShell/Own.NET</PackageProjectUrl>
30+
<RepositoryUrl>https://github.com/PhysShell/Own.NET</RepositoryUrl>
31+
<RepositoryType>git</RepositoryType>
32+
<PackageTags>roslyn;source-generator;typestate;ef-core;owen</PackageTags>
33+
<PackageReadmeFile>README.md</PackageReadmeFile>
34+
<!-- an analyzer package: the generator goes to analyzers/, never to lib/ -->
35+
<IncludeBuildOutput>false</IncludeBuildOutput>
36+
<DevelopmentDependency>false</DevelopmentDependency>
37+
<SuppressDependenciesWhenPacking>false</SuppressDependenciesWhenPacking>
38+
<!-- NU5128: an analyzer package has no lib/. RS2008: OWENTB001 is the generator's only
39+
rule and is documented in spec/OwenExtension.md, not in Roslyn release-tracking files. -->
40+
<NoWarn>$(NoWarn);NU5128;RS2008</NoWarn>
41+
</PropertyGroup>
42+
43+
<ItemGroup>
44+
<!-- 4.8.0: the Roslyn of the oldest .NET 8 SDK (8.0.1xx), so the generator loads in every
45+
.NET 8 compiler. -->
46+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.8.0" PrivateAssets="all" />
47+
<Compile Include="..\Own.TypedBuilder\TypedBuilderCore.cs" Link="TypedBuilderCore.cs" />
48+
</ItemGroup>
49+
50+
<ItemGroup>
51+
<!-- The generic host, as a package DEPENDENCY with every asset flowing (its build
52+
targets are the whole point). The host does not know this package exists. -->
53+
<ProjectReference Include="..\Owen.Build\Owen.Build.csproj" PrivateAssets="none" IncludeAssets="all" />
54+
</ItemGroup>
55+
56+
<ItemGroup>
57+
<None Include="$(OutputPath)$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
58+
<None Include="buildTransitive\Owen.TypedBuilder.props" Pack="true" PackagePath="buildTransitive" />
59+
<None Include="buildTransitive\owen-extension.json" Pack="true" PackagePath="buildTransitive" />
60+
<None Include="buildTransitive\Owen.TypedBuilder.props" Pack="true" PackagePath="build" />
61+
<None Include="buildTransitive\owen-extension.json" Pack="true" PackagePath="build" />
62+
<None Include="README.md" Pack="true" PackagePath="\" />
63+
</ItemGroup>
64+
65+
</Project>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// netstandard2.0 lacks the marker type C# needs for `record` and `init`.
2+
namespace System.Runtime.CompilerServices
3+
{
4+
internal static class IsExternalInit
5+
{
6+
}
7+
}

0 commit comments

Comments
 (0)