Open source · MIT · .NET 10 · by Pjotr Casteel

One family.
Three focused tools.

Forge is a family of small, explicit .NET libraries. Delta explains semantic change. Sync plans how current state becomes desired state. Parse verifies dynamic structured output without brittle test code.

Install only what you needExplicit semanticsNo hidden I/OProduction-oriented APIs
forge.family 1.20.0
Δ
FORGE.DELTASemantic difference

before → typed change

⇄
FORGE.SYNCDesired-state planning

current → desired

{ }
FORGE.PARSEStructured expectations

expected ≈ actual

R
FORGE.PARSE.REQNROLLBDD table adapter

DataTable → expectation

3 core packages 1 optional adapter one design language
Forge.DeltaForge.SyncForge.Parse.NET 10 DeterministicStrongly typed where it mattersMIT
Choose by question, not by framework

Each package has one clear job.

Forge is the umbrella. The subprojects stay focused, composable and independently useful.

ΔFORGE.DELTA

What changed inside this object?

Source-generated semantic comparison with typed property changes, nested deltas, collection semantics, merge analysis and inversion.

before + after → semantic difference
[GenerateDelta]
public sealed record Customer(...);

var delta = CustomerDelta.Between(before, after);
⇄FORGE.SYNC

How does current state become desired state?

Keyed reconciliation and typed planning: Add / Update / Remove / Preserve, dependencies, manifests, topology and execution-aware replanning.

current + desired → transition plan
[GenerateSync(nameof(OrderItem.Id))]
public sealed record OrderItem(...);

var plan = OrderItemSync.Plan(current, desired);
{ }FORGE.PARSE

Does dynamic output satisfy this expectation?

Structured JSON matching for generated IDs, timestamps, partial payloads, unordered arrays and cross-field relationships.

expected + actual → readable verdict
JsonAssert.Matches(
    """{ "id": "<Guid>",
          "state": "<OneOf:pending|active>" }""",
    actualJson);
Object difference → Delta Desired-state change → Sync Dynamic structured assertion → Parse Sync depends on Delta; Parse is independent.
Interactive family lab

Switch the question.
Switch the Forge tool.

The browser demo illustrates each package's responsibility; it is not executing the .NET packages in your browser.

Choose a subproject
DELTA · SEMANTIC CHANGE Turn before/after state into a typed explanation.

Only participating domain state becomes part of the result.

RESULTCustomerDelta.Between(before, after)
typed
Changed2
Unchanged1
Hidden I/O0
Runtime reflection0
Family architecture

Related tools, not one giant framework.

The shared design language is deliberate; the dependency graph stays small.

CORE RELATIONSHIP

Sync builds on Delta.

When a keyed item is updated, Sync can carry its typed semantic Delta. That relationship is useful and explicit.

Forge.Sync→Forge.Delta
INDEPENDENT CORE

Parse stands on its own.

Parse is a test-oriented structured matching engine. It does not require Delta or Sync and does not inherit their planning model.

Forge.Parse→System.Text.Json
OPTIONAL ADAPTER

Reqnroll stays thin.

The adapter translates DataTables into Parse expectations. The matching rules remain in Forge.Parse.

Forge.Parse.Reqnroll→Forge.Parse
01

Focused APIs

A package should solve one production primitive well instead of becoming an application framework.

02

Explicit semantics

Identity, equality, matching and planning choices are visible instead of guessed at runtime.

03

Deterministic core

No network calls, persistence or hidden side effects are required to compute a result.

04

Composable edges

Adapters and higher-level planning features build around small stable cores.

Forge.Sync deep dive

Planning is one Forge capability — not the Forge identity.

Sync is the broadest subproject today. Its planning ladder remains available without redefining Delta or Parse around it.

01

Reconcile state

Add, update, remove, preserve and nested/cross-type differences.

current → desired
02

Explain and validate

Operation rules, constraints, impact and application-owned reasons.

change → intent
03

Order safely

Dependencies, readiness, slices and topology invariants.

intent → safe plan
04

Cross boundaries

Portable manifests, digests and stale-state preconditions.

plan → artifact
05

Replan against reality

Incremental and execution-aware replanning as work progresses.

artifact → next plan
Open the Forge.Sync production story →
Forge + AI coding agents

Make change, plans and expectations explicit.

Each subproject gives an agent a smaller, inspectable surface instead of asking it to infer important semantics from ad-hoc code.

ΔDeltaWhat changed?
→
⇄SyncWhat should change?
·
{ }ParseDid output match?
→
✓Your applicationOwns authority and side effects
WHY THIS HELPS
  • Typed semantic changes instead of hand-diffed objects
  • Explicit desired-state plans instead of inferred orchestration intent
  • Readable dynamic expectations instead of fragile string normalization
  • Deterministic library outputs that are easy to test and review
  • Application-owned execution, authorization and infrastructure
Five-minute start

Install the tool that matches your question.

You do not need to adopt the whole Forge family.

C# · Forge.Delta
Start with semantic change.

Delta is independently useful; Sync only needs it when planning updates.

Full guide →
Where the family fits

Different problems. Consistent engineering values.

Δ

Semantic updates

Know exactly which participating properties changed and preserve domain-specific equality.

⇄

Desired-state APIs

Turn complete or partial desired state into explicit Add / Update / Remove / Preserve results.

{ }

Integration tests

Assert generated IDs, timestamps and partial JSON without hiding intent in custom normalization helpers.

R

BDD tables

Use Reqnroll DataTables as structured expectations while keeping matching semantics in Parse.

⌘

Provisioning plans

Order dependent state changes before handing execution to infrastructure you already own.

✓

Reviewable behavior

Make differences, plans and test expectations explicit enough to inspect in code and CI.

Forge is the family — the package is the choice

Pick the question.
Install the tool.

Free, open source and MIT licensed.