-
Notifications
You must be signed in to change notification settings - Fork 0
S2: Owen.CSharp.Rewriter — deterministic acquire rewrite (postimage + report) #288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
7f3c142
feat(S2): Owen.CSharp.Rewriter — deterministic acquire rewrite (posti…
PhysShell 78330d6
fix(S2): owen-rewrite defends its own contract — the five HOLD blockers
PhysShell a44784d
fix(S2): split the uvariant locals — bash marks all `local` names bef…
PhysShell d30c75d
fix(S2): physical confinement + the frozen envelope, inside the execu…
PhysShell 55ccbe9
feat(S2): step 8 — the canonical patch bundle (patch + manifest + pos…
PhysShell 6e74a26
fix(S2): platform-aware paths, git-safe patch names, claimed staging,…
PhysShell File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
frontend/roslyn/Owen.CSharp.Rewriter/Owen.CSharp.Rewriter.csproj
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| <Project Sdk="Microsoft.NET.Sdk"> | ||
|
|
||
| <PropertyGroup> | ||
| <OutputType>Exe</OutputType> | ||
| <TargetFramework>net8.0</TargetFramework> | ||
| <ImplicitUsings>enable</ImplicitUsings> | ||
| <Nullable>enable</Nullable> | ||
| <AssemblyName>owen-rewrite</AssemblyName> | ||
|
|
||
| <!-- The S2 deterministic subscription rewriter. Reads a hash-bound | ||
| (validated-plan.json, candidates.json) pair + a source root and emits an | ||
| edited postimage + apply-manifest for the ONE allowed file — it never | ||
| writes back into the source tree. Roslyn-based but syntax-only: the | ||
| span-node guard matches the acquire against the hash-bound candidate by | ||
| normalized text, so no SemanticModel (and no shared FixCore) is needed yet. | ||
| The Extractor stays strictly read-only; this is a SEPARATE entry point. --> | ||
| <PackAsTool>true</PackAsTool> | ||
| <ToolCommandName>owen-rewrite</ToolCommandName> | ||
| <PackageId>Owen.CSharp.Rewriter</PackageId> | ||
| <Version>0.1.0</Version> | ||
| <Description>Owen S2 deterministic C# subscription rewriter: converts a validated convert_acquire plan's `event += handler` acquires to the project's weak wrapper, producing an isolated postimage + manifest (never modifying the source tree).</Description> | ||
| </PropertyGroup> | ||
|
|
||
| <ItemGroup> | ||
| <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.9.2" /> | ||
| </ItemGroup> | ||
|
|
||
| </Project> |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.