Skip to content

Commit 80f9e02

Browse files
dmealingclaude
andcommitted
docs: C# codegen tier shipped — update status (CLAUDE.md + roadmap)
C# now generates the full EF Core + ASP.NET stack (entities, AppDbContext with @storage owned types, CRUD routes) + Postgres DDL (tables w/ FK + @storage columns, projection views) via the meta CLI. Update the status from "codegen being built out" to shipped; the remaining C# tiers are introspection-driven incremental migration and the runtime-metadata pillar. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 1dae3cd commit 80f9e02

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Equal weight. Three ship per-language today; the fourth is committed for 7.0.0:
1717

1818
## Status
1919

20-
TypeScript reference implementation is **published to npm at `0.5.0`** (11 `@metaobjectsdev/*` packages on the `latest` tag; `cli` at `0.5.1`) — Projects D–G shipped end-to-end with 2124+ tests passing. Java port is in progress: H3a (loader restructure) shipped 2026-05-19; H3b (conformance harness) is active. **C# is a first-class full-stack target.** Loader + conformance shipped (loader, canonical serializer, and a `dotnet test` conformance runner over the full shared corpus; metadata layer fully caught up — empty expected-failures ledger, incl. `template.*` + `origin.collection`). The FR-004 tier ships: the **render engine (`MetaObjects.Render`)** renders the shared `fixtures/render-conformance` corpus byte-identical to TS, plus payload-VO codegen (`MetaObjects.Codegen`) and `verify`. The remaining tiers — CLI, full codegen, runtime, and migrate — are being built out (no part of MetaObjects is out of scope for C#). Python is planned post-H3.
20+
TypeScript reference implementation is **published to npm at `0.5.0`** (11 `@metaobjectsdev/*` packages on the `latest` tag; `cli` at `0.5.1`) — Projects D–G shipped end-to-end with 2124+ tests passing. Java port is in progress: H3a (loader restructure) shipped 2026-05-19; H3b (conformance harness) is active. **C# is a first-class full-stack target.** Loader + conformance shipped (loader, canonical serializer, and a `dotnet test` conformance runner over the full shared corpus; metadata layer fully caught up — empty expected-failures ledger, incl. `template.*` + `origin.collection`). The FR-004 tier ships: the **render engine (`MetaObjects.Render`)** renders the shared `fixtures/render-conformance` corpus byte-identical to TS, plus payload-VO codegen and `verify`. **The EF Core + ASP.NET codegen tier ships** (`MetaObjects.Codegen` + the `meta` CLI: `verify`/`gen`/`migrate`): entities, `AppDbContext` (DbSets, projection `.ToView`, `@storage` owned types via `OwnsOne`), CRUD minimal-API routes, and Postgres DDL (`CREATE TABLE` with PK/NOT NULL/UNIQUE/FK + `@storage` columns; `CREATE VIEW` for projections incl. aggregate/passthrough-`@via`/collection origins). Remaining tiers — introspection-driven incremental migration (`migrate` is full-CREATE today) and the runtime-metadata pillar — are being built out (no part of MetaObjects is out of scope for C#). Python is planned post-H3.
2121

2222
The 7.0.0 line is specced: FR-003 brings the Java OMDB persistence engine, metadata-driven schema migration, and dynamic projections onto current core; FR-004 builds the fourth pillar (cross-language prompt construction) on top of FR-003's projections. Both are design-stage plan-of-record (`docs/superpowers/specs/2026-05-22-fr-003-*` and `*-fr-004-*`), not yet implemented.
2323

spec/roadmap.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,18 @@
77
- **H2 — Shared conformance fixtures** (2026-05-15)
88
Fixtures extracted into `fixtures/conformance/`; TS conformance runner; canonical
99
serializer (fused-key form); format documented in `spec/conformance-tests.md`.
10-
- **C# full-stack target** (loader + conformance shipped; codegen/runtime in progress)
10+
- **C# full-stack target** (loader + conformance + codegen + full-CREATE migrate shipped;
11+
runtime + incremental migration in progress)
1112
C# Loader at `csharp/MetaObjects/` plus full conformance corpus green via
1213
`csharp/MetaObjects.Conformance.Tests/` (`dotnet test`) — metadata layer fully caught
1314
up (empty expected-failures ledger). C# is a first-class full-stack port: the FR-004
14-
render engine (`MetaObjects.Render`) + payload-VO codegen (`MetaObjects.Codegen`) +
15-
`verify` ship; the CLI, full codegen, runtime, and migrate tiers are being built out.
15+
render engine (`MetaObjects.Render`) + payload-VO codegen + `verify` ship, and the
16+
EF Core + ASP.NET stack is generated by `MetaObjects.Codegen` — entities, `AppDbContext`
17+
(DbSets, projection `.ToView`, `@storage` owned types via `OwnsOne`), CRUD minimal-API
18+
routes, and Postgres DDL (`CREATE TABLE` with PK/NOT NULL/UNIQUE/FK + `@storage` columns,
19+
`CREATE VIEW` for projections incl. aggregate/passthrough-`@via`/collection origins) —
20+
driven by the `meta` CLI (`verify` / `gen` / `migrate`). Remaining: introspection-driven
21+
incremental migration (`migrate` is full-CREATE today) and the runtime-metadata pillar.
1622
- **Per-target output directories (TS codegen)** (2026-05-22)
1723
Each generator routes to a named output target (`{ outDir, importBase?, outputLayout?,
1824
dbImport? }`), so generated code lands with its runtime concern (model → database

0 commit comments

Comments
 (0)