diff --git a/AGENTS.md b/AGENTS.md index 937a6f0bd1..53f811e9b7 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -4,9 +4,9 @@ MetaObjects is a **cross-language metadata standard** for declaring typed entity models that drive code generation, runtime metadata access, and drift detection — across TypeScript, C#, Java, Python, and Kotlin (Kotlin runs on the JVM via `metadata-ktx` + `codegen-kotlin`). -The metamodel is the **durable spine**; generated code is the **disposable artifact**. Substrate is local-first: typed metadata lives in your repo, generated code is idiomatic per-language output with **no proprietary runtime**: the generated entity and model code imports nothing from MetaObjects at runtime, and the REST, prompt, client and runtime tiers import ordinary Apache-2.0 packages you can vendor, fork or replace. If `@metaobjectsdev/*` disappears tomorrow, you keep working code. +The metamodel is the **durable spine**; generated code is **regenerated output**. The reference generators help a team get started and are never the required way. What they generate is real code: run it, extend it, or replace the generator. Substrate is local-first: typed metadata lives in your repo, generated code is idiomatic per-language output with **no proprietary runtime**: the generated entity and model code imports nothing from MetaObjects at runtime, and the REST, prompt, client and runtime tiers import ordinary Apache-2.0 packages you can vendor, fork or replace. If `@metaobjectsdev/*` disappears tomorrow, you keep working code. -**Core vs helpers (ADR-0034 Amendments 3 and 11).** The core is the contracts and the conformance kits, and only the core is a product promise: the metamodel, loader, canonical format and registry; the store-neutral contracts (the expected schema and the guarded update, which a persistence-conformance scenario is to hold every store driver to — ADR-0066 §6); the drift gates (`meta verify`); prompt render and the reply parser. Store-specific code — SQL writers, introspectors, drivers (the `ObjectManager` drivers, the `meta migrate` writer) and mappings — is a **supported helper**, and so is every generator that writes application code into an adopter's repo (routes, controllers, ORM wiring, DTOs, forms, grids, hooks, filter allowlists, and the HTTP adapters that mount the `ObjectManager` on a web framework): it compiles, passes its reference fixtures, gets the same capabilities in every port unless a ruling says otherwise (parity is capability, not identical output), and is fixed in the reference when it is wrong. **Generated code is real code**: run it as shipped, extend it through hooks, or copy it with `meta eject` and own the copy. The freeze on non-TypeScript REST generators is lifted. Mechanical test: what the tool guarantees as a contract is core; what it writes into your repo or a store is a helper. Every port can eject: `meta eject` (TypeScript), `metaobjects eject` (Python), `mvn metaobjects:eject` (Java/Kotlin), `dotnet meta eject` (C#). Not every generator ships a reference copy: `meta gen --list` marks the ones that do not `package-only` (in TypeScript: `template`, which is exempt for good, and `docs-site`, whose builder stays packaged and whose theme `meta eject docs-site` copies; ADR-0034 Amendment 3 correction, 2026-09-26, narrowed by Amendments 5 and 7, and held to the shared manifest by Amendment 8). When you find a generator defect, fix the reference; do not describe it as a broken core guarantee. +**Core vs helpers (ADR-0034 Amendments 3 and 11).** The core is the contracts and the conformance corpora this repository runs every port against (adopters read them; they are not a tool an adopter runs), and only the core is a product promise: the metamodel, loader, canonical format and registry; the store-neutral contracts (the expected schema and the guarded update, which a persistence-conformance scenario is to hold every store driver to — ADR-0066 §6); the drift gates (`meta verify`); prompt render and the reply parser. Store-specific code — SQL writers, introspectors, drivers (the `ObjectManager` drivers, the `meta migrate` writer) and mappings — is a **supported helper**, and so is every generator that writes application code into an adopter's repo (routes, controllers, ORM wiring, DTOs, forms, grids, hooks, filter allowlists, and the HTTP adapters that mount the `ObjectManager` on a web framework): it compiles, passes its reference fixtures, gets the same capabilities in every port unless a ruling says otherwise (parity is capability, not identical output), and is fixed in the reference when it is wrong. **Generated code is real code**: run it as shipped, extend it through hooks, or copy it with `meta eject` and own the copy. The freeze on non-TypeScript REST generators is lifted. Mechanical test: what the tool guarantees as a contract is core; what it writes into your repo or a store is a helper. Every port can eject: `meta eject` (TypeScript), `metaobjects eject` (Python), `mvn metaobjects:eject` (Java/Kotlin), `dotnet meta eject` (C#). Not every generator ships a reference copy: `meta gen --list` marks the ones that do not `package-only` (in TypeScript: `template`, which is exempt for good, and `docs-site`, whose builder stays packaged and whose theme `meta eject docs-site` copies; ADR-0034 Amendment 3 correction, 2026-09-26, narrowed by Amendments 5 and 7, and held to the shared manifest by Amendment 8). When you find a generator defect, fix the reference; do not describe it as a broken core guarantee. ## Six pillars @@ -76,12 +76,12 @@ PyPI has had no product change since `0.25.0` — nothing is broken. **Cross-port conformance corpora** (every port runs the shared corpus): - Metamodel: `fixtures/conformance/` (584 fixtures; 48 shared corpora in total — per-corpus counts + the corpus x port matrix live in `docs/CONFORMANCE.md`). TS / C# / Java / Python all green. - Render: `fixtures/render-conformance/`. TS / Java / Kotlin / Python byte-identical; C# and Rust each carry a `KnownDrift` render ledger, recorded in `docs/CONFORMANCE.md`. -- Persistence: `fixtures/persistence-conformance/`. **Query** scenarios run on every port (TS / C# / Java / Kotlin / Python; `op: guardedUpdate` is TS-only until each port's 1.3.0 guarded update lands), each provisioning its test DB by executing the committed, TS-produced `canonical/schema.postgres.sql` (Postgres only — Derby dropped for the cross-port query corpus, ADR-0015; the FR-044 `report-*` scenarios also run on SQLite, MySQL and D1 where a port has the engine, see [docs/CONFORMANCE.md](docs/CONFORMANCE.md)). The **migration** scenarios are exercised by **TS only** (TS owns schema migrations). **The corpus now gates WRITES, not just reads (SP-H):** an `op: roundtrip` scenario type INSERTs through each port's runtime/ORM write codec (NOT raw SQL), reads the row back, and asserts the wire-normalized value. The `AllTypes` entity (`roundtrip-all-types.yaml`) carries one field of **every** persistable `field.*` subtype — string/int/long/double/float/decimal/boolean/date/time/timestamp(+tz)/currency/enum/uuid/object — plus an **array-of-VO** `field.object @isArray @storage:jsonb` column (`labels`, written as 2-element / empty-`[]` / single-element arrays across the three rows) — so every subtype write+read (incl. the array-of-value-object jsonb codec) round-trips through every port against Testcontainers PG. (`field.byte`/`field.short`/`field.class` were cut as non-functional registration-only stubs — the matrix tracks only genuinely-supported subtypes; see `fixtures/registry-conformance/README.md` → "Per-subtype write-round-trip matrix".) +- Persistence: `fixtures/persistence-conformance/`. **Query** scenarios run on every port (TS / C# / Java / Kotlin / Python; `op: guardedUpdate` is TS-only until each port's 1.3.0 guarded update lands), each provisioning its test DB by executing the committed, TS-produced `canonical/schema.postgres.sql` (Postgres only — Derby dropped for the cross-port query corpus, ADR-0015; the FR-044 `report-*` scenarios also run on SQLite, MySQL and D1 where a port has the engine, see [docs/CONFORMANCE.md](docs/CONFORMANCE.md)). The **migration** scenarios are exercised by **TS only** (the Node reference helper writes them; a native tool is equally first-class, ADR-0015 Amendment 2). **The corpus now gates WRITES, not just reads (SP-H):** an `op: roundtrip` scenario type INSERTs through each port's runtime/ORM write codec (NOT raw SQL), reads the row back, and asserts the wire-normalized value. The `AllTypes` entity (`roundtrip-all-types.yaml`) carries one field of **every** persistable `field.*` subtype — string/int/long/double/float/decimal/boolean/date/time/timestamp(+tz)/currency/enum/uuid/object — plus an **array-of-VO** `field.object @isArray @storage:jsonb` column (`labels`, written as 2-element / empty-`[]` / single-element arrays across the three rows) — so every subtype write+read (incl. the array-of-value-object jsonb codec) round-trips through every port against Testcontainers PG. (`field.byte`/`field.short`/`field.class` were cut as non-functional registration-only stubs — the matrix tracks only genuinely-supported subtypes; see `fixtures/registry-conformance/README.md` → "Per-subtype write-round-trip matrix".) - API-contract: `fixtures/api-contract-conformance/`. TS / C# / Java / Kotlin / Python all green — each port runs **two lanes**: a hand-rolled reference server AND its **generated** API artifact booted over HTTP (the deployed controller/routes; TS+C# full-stack vs Testcontainers PG, Java/Kotlin/Python generated controller + in-memory repo behind the consumer seam). The generated fan-out found 10 real deployment bugs golden snapshots missed. Three sub-corpora run the **generated lane only, on all five ports** — `write-through/`, `projection/` (F22: a view-only `object.projection` serves GET list + GET by id and answers every write verb with `405 {"error": "method_not_allowed"}`) and `report/` (FR-044: a view-backed `object.report` serves GET list, answers `POST` with that same `405`, and mounts no `/{id}` route). That is deliberate, not a gap: what is under test is whether a port's GENERATOR emits those routes, and a hand-rolled reference server would answer every scenario by construction. The `m2m/` sub-corpus also gates **TPH x M:N together** (base-declared, subtype-declared, abstract-mid-declared, a non-subtype source onto a subtype TARGET, and the cross-subtype source id answering `200 []`) — the two corpora were originally built disjoint (`tph/` had no relationships, `m2m/` no discriminators), which is precisely how that defect class survived. - YAML / verify corpora green across the ports that ship those layers. - **Codegen-compile gate** (all five ports; a GATE, not a corpus — it has no fixtures of its own and no row in the matrix). Every corpus above gates BEHAVIOUR; none asks whether the emitted code BUILDS, which is how four "generated code does not compile" defects shipped in 1.0.4 with the whole matrix green — `gen` exits 0 in all four cases and the adopter's build is the first thing that disagrees. Each port generates from `fixtures/persistence-conformance/canonical/meta.fitness.json` (reused deliberately: a second kitchen sink would drift from the one the other corpora already maintain) and compiles the emitted tree with its real compiler — `ts.createProgram` / Roslyn / `javac` / `KotlinCompilation` / (Python, having no static compiler) importing the generated package plus `ruff` F821. **Every port excludes its framework-bound route tier** (TS `routesFile`, C# `RoutesGenerator`, Java `SpringControllerGenerator`, Kotlin `KotlinSpringControllerGenerator`): those imports are not on an in-memory compile's classpath and stubbing them drowns the signal, so that tier is proven by the api-contract integration lane instead. One cross-port rule, not four local concessions. Found 5 further real defects on first run. Boundary detail: `docs/CONFORMANCE.md` → "Split coverage". -**Key cross-language features shipped:** FR5 family (a/b/c/d/e + WARN envelope-shape — actionable loader errors per ADR-0009); FR-003 (Java RDB runtime persistence + projections; schema migrations are TS-only — the Java migration engine was removed); FR-006 (template.output parser-on-receipt codegen per ADR-0010 in all 5 ports); FR-008 + FR-009 (cross-port REST API contract + the nine filter operators); FR-018 (M:N relationship codegen in all 5 ports — entity navigation + idiomatic ORM wiring [Drizzle m2m / EF Core `UsingEntity` / Spring repo+JPA / Exposed / Pydantic+route as the SQLAlchemy-secondary equivalent] + REST traversal `GET //{id}/` + Tier-2 docs, gated by the shared api-contract m2m corpus in both lanes + persistence-conformance; the TanStack M:N client hook is a deferred client-ergonomics follow-up); SP-H (field-subtype end-to-end hardening: every concrete `field.*` subtype write+read round-trips cross-port via the persistence `op: roundtrip` gate; cut `field.byte`/`field.short`/`field.class` non-functional stubs; cross-port filter-op reconciliation for uuid/currency); source v2 paradigm (ADR-0007); metadata-ktx Kotlin facade; per-target output directories (TS codegen); FR-044 (the reporting vocabulary — `dimension.attribute`/`dimension.time`, `measure.aggregate`/`measure.ratio`, `segment.filter`, `object.report`, `@spine` on a report to take rows from a to-one dimension entity, `@default` on a measure for empty aggregates, plus the relative-date filter value — registered and loader-validated in all five ports; a report that declares a read-only `source.rdb @kind: view` is lowered to a SQL view by `meta migrate` and read by every port, and served by a generated read-only list route in every port, gated by the api-contract `report/` sub-corpus; the TypeScript `cube-model` reference generator writes the vocabulary as Cube data-model files, gated by the `fixtures/cube-model/` corpus and a `cube` lane that loads the output into a real Cube; a served report gets the generated TanStack list hook (`use`, or `useList` when the plural is the name) but no grid or form, see [docs/features/reporting.md](docs/features/reporting.md) and [docs/features/cube-export.md](docs/features/cube-export.md)). +**Key cross-language features shipped:** FR5 family (a/b/c/d/e + WARN envelope-shape — actionable loader errors per ADR-0009); FR-003 (Java RDB runtime persistence + projections; schema migrations run in the project's own tool or the Node reference helper — the Java migration engine was removed); FR-006 (template.output parser-on-receipt codegen per ADR-0010 in all 5 ports); FR-008 + FR-009 (cross-port REST API contract + the nine filter operators); FR-018 (M:N relationship codegen in all 5 ports — entity navigation + idiomatic ORM wiring [Drizzle m2m / EF Core `UsingEntity` / Spring repo+JPA / Exposed / Pydantic+route as the SQLAlchemy-secondary equivalent] + REST traversal `GET //{id}/` + Tier-2 docs, gated by the shared api-contract m2m corpus in both lanes + persistence-conformance; the TanStack M:N client hook is a deferred client-ergonomics follow-up); SP-H (field-subtype end-to-end hardening: every concrete `field.*` subtype write+read round-trips cross-port via the persistence `op: roundtrip` gate; cut `field.byte`/`field.short`/`field.class` non-functional stubs; cross-port filter-op reconciliation for uuid/currency); source v2 paradigm (ADR-0007); metadata-ktx Kotlin facade; per-target output directories (TS codegen); FR-044 (the reporting vocabulary — `dimension.attribute`/`dimension.time`, `measure.aggregate`/`measure.ratio`, `segment.filter`, `object.report`, `@spine` on a report to take rows from a to-one dimension entity, `@default` on a measure for empty aggregates, plus the relative-date filter value — registered and loader-validated in all five ports; a report that declares a read-only `source.rdb @kind: view` is lowered to a SQL view by `meta migrate` and read by every port, and served by a generated read-only list route in every port, gated by the api-contract `report/` sub-corpus; the TypeScript `cube-model` reference generator writes the vocabulary as Cube data-model files, gated by the `fixtures/cube-model/` corpus and a `cube` lane that loads the output into a real Cube; a served report gets the generated TanStack list hook (`use`, or `useList` when the plural is the name) but no grid or form, see [docs/features/reporting.md](docs/features/reporting.md) and [docs/features/cube-export.md](docs/features/cube-export.md)). **Release 1.1.0** (released; npm `1.1.0`, PyPI `1.1.0`, NuGet `1.1.0` and Maven Central `8.1.0`; the latest is 1.2.3 / 8.2.3). The reporting release (FR-044): declare dimensions, measures, segments and an `object.report`, and get a SQL view, a served read-only list route in every port, a generated TanStack list hook, and a Cube data model, with `@spine` for rows that have no facts and `@default` for an empty measure. Also carries the first slice of requirements (the gate in every port's `verify`), the derived-key parity fix across the ports, and the list-hook and nested-average fixes found by the first adopter. See the `CHANGELOG.md` 1.1.0 section for the full scope, pre-release RC history, and the diffs to expect when you upgrade (ejected generators and keyless projections). It also makes documentation a set of generators in every port (ADR-0034 Amendment 9): the docs commands are removed, and `docs/features/migrations/docs-are-generators.md` is the upgrade path. The last 1.0.x release, 1.0.13 (2026-10-03), was a PATCH on 1.0.x. @@ -405,6 +405,8 @@ These are the load-bearing principles that have emerged through implementation. - **NEVER call `own*()` accessors by default — resolving/effective is the default; `own` breaks `extends` (ADR-0039).** `extends` is a super-*reference*, not a flatten: inherited attrs/children live on the parent, reachable only via the *resolving* accessors (`attr()`/`children()`/`getMetaAttr(name)` / Python `attrs().get()`). Reading a field/node's effective property (`isArray`, `subType`, `@maxLength`, `@precision`, `@default`, `@column`, `@objectRef`, `@storage`, …) or iterating its member set through an **own-only** accessor (`ownAttr`/`ownChildren`/`ownFields`/`field.isArray` native flag / Java `,false`) silently drops everything inherited via `extends` — corrupting codegen and runtime. The **one** legitimate `own*()` use: **codegen emitting a generated subclass, iterating `ownFields()` so inherited members aren't re-emitted** (the generated base already has them). The metamodel-internal siblings (own-mode canonical serializer, overlay-merge, super-resolution walks) use the same "emit only the declared-here layer" principle. The one attr deliberately own-only is `@dbColumnType` (physical, never inherited). Every `own*()` call must carry a comment naming its sanctioned case; any other own read is a bug. Watch the naming inversion: Python `attr()` is OWN, TS `attr()` resolves. See [ADR-0039](spec/decisions/ADR-0039-own-accessor-discipline.md). +- **The loader rule: the loader refuses what is invalid for the model; a limit of one generator is that generator's error.** The loader refuses only a model that is ambiguous or contradictory by itself, with a fixture in every port; a name only a reference generator derives, or a subtype one generator cannot emit, is raised by that generator when it runs. Relaxing a refusal is never a break. The rule is step 3 of ADR-0037; the ledger of the four known cases is in [GOVERNANCE.md](GOVERNANCE.md#the-loader-rule). + - **Bind metadata→native types at build time, never runtime reflection.** Resolving an object's native class/module from its FQN must happen in generated code (static imports for data-oriented ports; a domain-sliced, FQN-keyed registry for OO ports), not via `Class.forName`/`Type.GetType`/`importlib` — runtime reflection is impossible in TS and breaks under GraalVM native-image / .NET AOT. See [ADR-0001](spec/decisions/ADR-0001-cross-language-type-binding.md). - **Record significant cross-cutting decisions as ADRs.** Durable, cross-language/cross-feature architectural contracts live in `spec/decisions/` (Nygard format). Consult them before changing a cross-language contract; add a new ADR when you make one. Feature-level decisions stay in the FR spec; this file holds only the one-line rule + the pointer. diff --git a/CHANGELOG.md b/CHANGELOG.md index 567fa15a11..573f8a5ffa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,512 +10,6 @@ here.** ## [Unreleased] -- **The deprecated-reference finding ends its sentence before naming the replacement.** It read `…Team: the league no longer tracks teams Replaced by acme::app::Club.`; it now reads `…tracks teams. Replaced by acme::app::Club.` A reason that already ends in `.`, `!` or `?` is left as written. - -- **C#: `dotnet meta verify` runs the three model authoring lints.** The overlay lint - (`WARN_OVERLAY_IMPLICIT`), the node-name lint (`WARN_NAME_SURROUNDING_WHITESPACE`, - `WARN_NAME_INTERNAL_WHITESPACE`) and the deprecated-reference lint (`WARN_DEPRECATED_REFERENCE`) - now print on every `dotnet meta verify`, as they do in Node `meta verify`, before the field lint. - They are advisory, never change the exit code, and are muted by `--no-overlay-lint`, - `--no-name-lint` and `--no-deprecation-lint`, or by `META_NO_OVERLAY_LINT=1`, - `META_NO_NAME_LINT=1` and `META_NO_DEPRECATION_LINT=1`. C# runs the shared - `fixtures/model-lint-conformance/` corpus. - -- **codegen-ts: `service-routes-hono`, the service's Hono transport (ADR-0067 layer 5).** - `serviceRoutesHonoFile()` writes `/transport/hono.ts`, the same routes as the Fastify - transport, as `ServiceHonoRoutes(app, { service, getActor })`, with the actor read by - `getActor(c)`. It imports the new `@metaobjectsdev/runtime-ts/service/hono` entry, and `meta eject - service-routes-hono` copies that source. A fixed path segment is added before a parameter wherever - two routes could match one request, so `GET /` is not taken for - `GET /{id}`, as Fastify's router already decides. -- **The service is held to more of the shared API tests.** Its lanes, on Fastify and on Hono, now - run the `list-query/`, `api-settings/`, `enum-default/`, `jsonb/` and `duration/` corpora beside the - root and `rules/` corpora, on every engine the routes lane runs, D1 included through - `interactiveTransactions: false`. The service compile gate compiles both transports. -- **The service covers every object the flat routes serve.** Projections and served reports get - their reads, and their transports answer writes `405`. A report keeps its row cap, through the - new `serviceFile({ reportMaxRows })` option, and its `?format=` export. Write-through entities - read through their view and read a write back through it. A single-table hierarchy gets the - polymorphic base reads and per-subtype operations scoped to the discriminator. Each - many-to-many relationship gets a query and a `GET /{id}/` route. The - `projection/`, `report/` (Postgres, MySQL, SQLite and D1), `write-through/`, `tph/`, `m2m/`, - `decimal/` and `secret-fields/` corpora now run on both service lanes. runtime-ts: the read-only - and many-to-many reads (`readOnlyList`, `readOnlyGet`, `m2mRelated`) are framework-neutral - functions, which the flat Fastify mounts and the service both call. -- **codegen-ts: a `runGen` with no project no longer leaves its gen-state in the scratch root.** - The state of such a run is kept for that process's later runs only, and is removed when the - process exits normally (a process killed by a signal still leaves it). Before this fix, each such process left `meta-gen-state-` behind - permanently. The test harnesses that generate with no project had left hundreds of those - directories, about 3 GB, in a RAM-backed `$DEV_SCRATCH`. - -- **runtime-ts: the generated service keeps its rollback guarantee on a sync SQLite driver.** On - bun:sqlite and better-sqlite3, Drizzle's `transaction()` commits when its callback returns, so a - service write that awaited inside it committed at its first `await`: a hook's or a body's refusal - answered 409 over a row that stayed. The service now drives those drivers' transaction itself - (`BEGIN IMMEDIATE`, `COMMIT`, `ROLLBACK`, one at a time per handle, a savepoint inside a caller's - transaction), and a read outside a transaction waits for the one in flight. The generated `Db` - type on SQLite accepts a sync driver again, as the flat queries module does. New - `withWriteTransaction(db, fn)` runs several operations atomically on any driver; on a sync - driver, pass its `tx` to each one inside it. -- **codegen-ts: `serviceFile({ interactiveTransactions: false })` for a store that holds no - transaction across application code (Cloudflare D1; ADR-0067 §4).** The service opens no - transaction: each derived write is its one statement and a transition is its guarded update. - It has no hooks and no event hook, and a package that declares a command fails generation with - `ERR_STORE_NO_INTERACTIVE_TX`, naming the package, the command and the option. Queries are - generated. Run end to end on Miniflare's local D1. -- **ADR-0066 §6 states that input validation precedes the permission point.** The policy is handed - the validated input, so an operation's `@inputRef` input is checked first; a caller the policy - would refuse can see a 400 with validation detail before the 403. An app that must answer - neither refuses that caller in its actor resolver or transport. -- **codegen-ts: the service layer, part 2 — the rules run (ADR-0066 §6, ADR-0067 §4 and §7).** The - `service` generator now writes a command per transition that derives one (`POST - /{id}/`) and a shell per declared command and query, at its binding or - derived path, and enforces ADR-0066's checks in order, in one transaction: the row (404), the - permission point (403 `forbidden`), the state (409 `invalid_transition`), the hand-written body, - the guarded update (409 `invalid_transition` or `transition_condition_failed`) and the event hook. - The generic update answers a changed lifecycle field 409 `state_managed`. What an app writes is - passed to `createService(deps)` through generated interfaces: `Policy`, `Bodies` - (a command returns the move to make or `"none"`, and `ctx.refuse` answers a declared error), - optional `Hooks` on the derived writes and `Events` told about every write. Any of - them may refuse, which rolls the write back. The actor is an app-defined type parameter, passed - as `opts.actor` and resolved by the Fastify transport's `getActor(request)`. Three settings now - act on the generated side: `rules.lifecycle.create` (`initial` fills an omitted state and refuses - another; `any` accepts any), `rules.lifecycle.commands` (which transitions get a command) and - `rules.permissions.names: require` (generation refuses a point with no `@permission`, naming the - derived one). A transport refuses two routes on one method and path. New shared API tests, - `fixtures/api-contract-conformance/rules/`, cover 403, the three 409 codes, a declared error, a - derived command, a declared command and query, a public operation and a hook's and the event - hook's refusal rolling back, with three settings variants; the TypeScript lane runs them in both - layouts, and the service compile gate builds the model in every dialect. `ServiceDeps`, the - service interface and the factory take the actor type `A` (default `unknown`), so existing calls - compile unchanged. `@metaobjectsdev/runtime-ts/service` gains the helpers they call - (`checkPermission`, `checkState`, `makeTransition`, `checkStateManaged`, `checkCreateState`, - `emitWrite`, `handlerContext`) and their types. -- **The install-size budget rises to 51.7 MB, by ruling.** Installing `@metaobjectsdev/cli` now - measures 51.5 MB against a 51.0 MB budget. The growth since #622 (the service generator and the - 1.3.0 codegen and runtime work) was measured late because hosted CI does not run `ts-slow`. - Declaration maps stay, so go-to-definition still reaches the shipped source. - `scripts/check-install-size.mjs` now accepts a raise only when the newest `history` entry in - `scripts/install-size-budget.json` records it with its reason and ruling. It also reads - `origin/main` when a checkout has no local `main`; before this, such a checkout skipped the - never-rises rule entirely. -- **codegen-ts: the service layer, part 1 (ADR-0067 layers 4 and 5).** Two new generators, neither - scaffolded. `service` (the new `service` layer label, shared by every port's catalog) writes one - module per metadata package: a function per derived list, get, create, update and delete of each - concrete, table-backed, single-key entity, every write in one transaction (a savepoint inside a - caller's `opts.tx`) that loads the row under a row lock and then validates and stamps the input - with the declared write rules (ADR-0045), and `createService(deps)`. `service-routes` writes - the thin Fastify transport over it, one plugin per package. A new api-contract lane runs the - shared corpus against the service behind its transport, in both layouts, and passes as the flat - routes do; a compile gate builds the tier in every dialect. `@metaobjectsdev/runtime-ts` gains - the `./service` and `./service/fastify` entries they import, and `meta eject` copies them. - Write-through, TPH, many-to-many, projections and reports stay on the flat generators for now: - [docs/features/business-rules.md](docs/features/business-rules.md#the-service-layer-typescript). -- **runtime-ts: a list with no `limit` answers 50 rows (breaking).** A generated entity or - projection list in a project that sets no `api.pagination` returned every matching row when the - request carried no `limit`; it now answers the first 50, the default of every port. An explicit - `limit` is still served as asked (no maximum without the setting), and a project that sets - `api.pagination` is unchanged. The OpenAPI document states the default, the `meta verify` - advisory `unbounded-list-pages` is retired, and the shared `list-query/default-page-of-fifty` - scenario pins it over a 60-row seed. Check any client that reads a whole list without a `limit`: - [docs/features/migrations/default-list-page-of-fifty.md](docs/features/migrations/default-list-page-of-fifty.md). -- **codegen-ts: the trace helper's call loop is written into the project, and - `@metaobjectsdev/ai-runtime` is no longer published.** The `trace-helper` generator now writes - `llm-call.ts` (the `LlmClient` seam and `runLlmCall`) beside the `.trace.ts` modules, - and a `call` imports it from there, so generated trace code depends only on - `runtime-ts`, `render` and `metadata`. `ai-runtime` is `private` and leaves the publish set, - which is 13 packages; 1.2.3 stays on npm. Regenerate and drop the dependency: - [docs/features/migrations/ai-runtime-unpublished.md](docs/features/migrations/ai-runtime-unpublished.md) - (ADR-0024 Amendment 2). -- **codegen-ts: a trace helper whose response value object has a required field compiles.** It - cast the extracted record straight to the value object's interface, which `strict` TypeScript - refuses; it now casts through `unknown`, after checking that no required field was lost. -- **react: `` moves to `@metaobjectsdev/react/image-upload`, and `react-easy-crop` - becomes an optional peer (breaking).** `ImageUpload` and `cropToBlob` leave the package root - for the new subpath, and the generated form imports them from there, so a project with no - `view.image` field no longer installs the crop library at all. A project with one adds - `react-easy-crop` (`>=6.2.3 <7.0.0`) to its dependencies. The adapter provider stays on the - root. Regenerate, and move any hand-written import: - [docs/features/migrations/react-image-upload-subpath.md](docs/features/migrations/react-image-upload-subpath.md). -- **The empty `@metaobjectsdev/forge` package is removed.** It was private, exported nothing and - had no importer. The forge vocabulary (`decision`, `principle`, `convention`, `glossary`, - `failure` and the `@forge*` attributes) is unchanged: `@metaobjectsdev/sdk` ships it as - `forgeTypesProvider`, and `FORGE-METADATA.md` now says so. The "The TypeScript forge provider" - section of `docs/features/extending-with-providers.md` is removed; that doc no longer names it. -- **cli: `meta schema` prints the expected schema, read-only.** `meta schema --dialect - postgres|sqlite|d1` prints the `CREATE` statements `meta migrate` would write for an empty - database, views included; `--as json` prints the neutral JSON document instead, the format - `meta migrate` commits as its snapshot, now described in `docs/features/schema-snapshot-format.md`. - It builds the schema the way `meta migrate` does (conventions, `migrate.scope`, the dependency - exclusion) and reads no database and no snapshot, so a native migration tool can start from it. - The dialect defaults to `migrate.dialect`, then to the `dialect` in `metaobjects.config.ts`. -- **Java: a standalone `{{! comment }}` line leaves no blank line.** mustache.java kept the line break - after a standalone comment tag, so a Java render had one extra blank line where TypeScript, C# and - Python had none. `Renderer` now strips standalone comment lines before mustache.java parses them. A - template with such a line renders differently in Java, so a prompt body with one changes bytes (and - its prompt-cache prefix) on upgrade. The `render-standalone-*` fixtures pin the whitespace rules. -- **Python: the entity model generator writes through the code writer (ADR-0063).** The model - modules (`.py` with `Create` and `Patch`), the shared `enums.py` and the - `_duration_wire.py` banner are built on a `PyWriter`, and `ruff` no longer runs over them, so the - bytes no longer depend on whether `ruff` is installed. Over 1,561 model modules generated from the - repository's fixtures, 1,146 are byte-identical, and the other 415 match once both versions are - put through the same `ruff` import sort and format. What moves: the standard-library and - third-party imports share one section (no blank line between `import datetime` and - `from pydantic import ...`, the writer's import order); a `Field(...)` too long for its line puts - one keyword per line; and a `field.duration` annotation too long for its line breaks inside - `Annotated[...]`. `PyWriter.gap()` asked for before the first body line now gives the two blank - lines PEP 8 sets after the imports and before a top-level class (a new `py-gap-after-imports` - writer-conformance case). For subclasses of `EntityModelGenerator` (not a stability contract, - ADR-0063 item 7): `_emit_field_lines`, `_emit_create_lines` and `_emit_patch_lines` return writer - pieces without indentation (`"name: int | None = None"`) instead of indented strings, - `_emit_cross_field_rules` returns a step that writes the method onto the writer (or `None`) instead - of lines, a new `_write_model` writes one class, and `render_entity_model` returns the finished - module rather than text for `ruff` to tidy. -- **Python: `@union` and `@grain` projections are checked at load.** A union member whose fields - differ in name, subtype, array-ness, `@column` or enum shape, a member that is the projection - itself or declares its own `@union`, `@unionAll` without `@union`, a `@grain` that does not name a - base-entity `field.object` jsonb array with `@objectRef`, an aggregate in a `@grain` view, and a - malformed `@grainOrdinal` are now `ERR_BAD_ATTR_VALUE`, as in TypeScript and C#. Python passes the - `error-projection-union-shape` and `error-projection-grain-not-object-array` fixtures. -- **C#: an unchanged file is never rewritten.** `dotnet meta gen` already left identical output alone - when the project keeps a hash manifest. It now does the same on the path with no manifest (output - written outside the project, or a program that runs the generators with no state directory), which - reports the file `unchanged` instead of `written`. `dotnet meta eject --force` compares each copy - (the generator, its emitters and the helper runtime) before writing it and reports one that already - matches the reference as `[unchanged]`. The gen fingerprint is rewritten only when it changes. -- **C#: the routes, expression-indexes, report-export, requirement-tests, shared-model and api-docs - generators are built from overridable pieces (ADR-0063 item 7).** The routes generator works out - what a file serves once (`PlanStandardRoutes`, `PlanTphRoutes`) and writes it from one - `protected virtual` method per piece: the file header, the list, item, create, update and delete - routes, the M:N traversals, the TPH polymorphic list and item routes, the sort dispatch and the - helper members. Its `Append*` helpers are renamed `Write*` and are `protected virtual`; its other - helpers and records are `protected`. The other generators follow the same rule, and `ApiDocsGenerator` - is no longer sealed. A subclass overrides the piece it wants and keeps the rest. Output is - byte-identical. These methods are not a stability contract. -- **Java and Kotlin: template and documentation output is recorded in the hash manifest.** The - `template` and `mustache` generators, the api, HTML, JSON and PlantUML documentation pages and the - `META-INF/services` registration wrote through a byte compare only, so a hand edit to one of them - was overwritten without the refusal every other generated file gets. They now go through - `GeneratedFileWriter.writeUnmarked`: each file is recorded under `.metaobjects/.gen-state/.hashes/`, - unchanged bytes are not rewritten, and a hand edit is refused by name under `handEdits: keep`. An - existing file at one of these paths that the manifest has no record of is taken as generated - output on the first run (it can carry no `GENERATED` marker), so upgrading refuses nothing. The - orphan sweep and `metaobjects:verify` now see these files too: one a template stops emitting is - deleted when untouched, as other generated files are. The documentation generators also no longer - create an empty file before writing, so `metaobjects:verify`'s in-memory render leaves nothing on - disk. -- **Java and Kotlin: a gate that every generator writes through `GeneratedFileWriter`.** - `GeneratorWritePathTest` runs every registered Java and Kotlin generator over the shared fitness - corpus and fails when a file is left on disk that the writer did not write, or when a second run - changes a file's bytes or modification time, so a new generator cannot skip the hash manifest or - the unchanged-bytes check. -- **Java and Kotlin: `mvn metaobjects:eject -Dforce=true` no longer rewrites an identical copy.** An - owned generator, template, support or runtime file, or the `codegen/pom.xml`, that already holds - exactly the reference content is left alone and reported as identical, with or without `force`. - The codegen fingerprint, `metaobjects:fmt` and `metaobjects:init` also compare before they write. -- **C#: a `contract-types` generator writes each entity's create and update records (ADR-0067 layer 1).** - Opt-in, beside `entity`: add `new ContractTypesGenerator()` to `codegen/Generators.cs`. For each - writable entity it writes `Contracts.g.cs` with `Create` and `Update`, - `sealed record`s carrying the entity's validation attributes and wire converters. Neither carries - what the server owns: a generated key, an `@autoSet` stamp, a `readOnly` or derived field, a TPH - discriminator. A required member with no `@default` is a `required` member of the create record, so - a body that omits it does not bind. A `writeOnce` field is on the create record and off the update - record, since it is frozen after create. Every update member is optional; `Update.From` binds a - body and records which keys it carried, so `Has` tells an omitted member (untouched) from an - explicit null (cleared), and validation refuses null on a required member. The lifecycle field - stays on both, so the service shell can check it and refuse a change with `409 state_managed`. The - validation and converter attributes moved out of `EntityGenerator` into `ContractMembers`, which - eject hands over with either generator; the entity's output is unchanged. The shared generator - manifest gains the `contract-types` entry (C# only for now). -- **C#: a `rules-names` generator writes the business-rules names as constants (ADR-0067 layer 0).** - It is opt-in, like any generator: add `new RulesNamesGenerator()` to `codegen/Generators.cs`. For - each entity with a lifecycle it writes `Rules.g.cs`, with each lifecycle's states, initial - and terminal states, transitions, and the permission each derived command asks for. For each - `api.operational` it writes `Operations.g.cs`, with each operation's name, permission and - `@errors` codes. It also writes `RuleErrorCodes.g.cs` once, with the shell's own codes. Permission - names are derived the way `verify` derives them, and `rules.lifecycle.commands` decides which - transitions get one. A model with no rules vocabulary gets no file. It is a layer generator, so the - flat generators' output is unchanged and the codegen-noop rules corpus still holds them. The shared - generator manifest gains the `rules-names` entry (C# only for now). -- **C#: the codegen project sets every `GenConfig` option.** `dotnet meta init` now writes a - `Generators.Configure` method beside the generator list, and `codegen/Program.cs` passes it to - `CodegenCli.Run`. It receives the config a run builds from its flags and `.metaobjects/config.json` - and returns the one the generators see. That makes the options no flag or config key sets - reachable on the normal path: `ContextTypeName`, `PropertyNaming`, `ProvidedEnumNamespace`, - `PackageNamespaces`, `TypeOverrides`, `Convention`, `UnmappedStrategy` and the rest. `gen` and - `verify --codegen` both apply it. An existing codegen project keeps working unchanged; to use it, - add the method and pass `Generators.Configure` as the third argument in `Program.cs`. -- **C#: an unknown top-level key in `.metaobjects/config.json` warns.** It was ignored without a word, - so a misspelt key (`scopes` for `scope`) did nothing. It is still ignored, and nothing fails, - because a newer MetaObjects may have written it, but each one is now named once on standard error - with the known keys, in the words TypeScript uses. A key inside a block C# owns (`csharp`, - `naming`, `wire` and the rest) is refused as before. -- **sdk: the static agent files, built once for every port (ADR-0033 Amendment 1).** The - assembler now also runs at build time, once per stack a port's own command serves: each server - language alone and Java with Kotlin, each with no client, React, React with TanStack or - Angular. The result is committed at `agent-context-shipped/` (a manifest plus each distinct file - once, by content hash), for each port's package to embed and its `agent-docs` command to copy, - so a non-TypeScript project gets its agent files with no Node. `agent-context-shipped/README.md` - is the contract; `buildShippedAgentContext()` and `materializeShippedStack()` are exported, and - `shipped.test.ts` fails when the tree is stale or a stack differs from what `meta agent-docs` - writes. The ports' own commands land in their own rows; until then they still redirect. -- **sdk, cli: Rust is an agent-context server language.** `--server rust` (alias `rs`) is - accepted, and a `Cargo.toml` at the project root is detected as Rust. A Rust project's - always-on file gives the `cargo meta gen` loop and the `cargo meta verify` step, and a `rust` - case joins `fixtures/agent-context-conformance`. Libraries list Rust among their ports, checked - against the copy the Rust crate embeds. -- **codegen-ts: the rules names layer (ADR-0067 layer 0).** A new generator, `rules-names` - (`rulesNamesFile()`, ejectable), writes one `rules.names.ts` per metadata package that declares - a lifecycle or an operation: each lifecycle's states, initial and terminal states and - transitions, the commands derived from unclaimed transitions, the declared operations, every - permission the package asks about and the business errors its commands declare, as `as const` - values with literal-union types. The derivations move into `@metaobjectsdev/metadata` - (`derivedCommandsOf`, `operationPermission`, `commandPermission`, `claimedTransitions`, ...), and - `meta verify`'s rules gate now calls the same functions, so a constant and a verify message - cannot disagree. The loaded root carries the `rules` settings (`rulesSettings`). C# ships its own - `rules-names`; the other ports add theirs with their rules-layer work. No existing generator's output - moves (`fixtures/codegen-noop/rules`). -- **codegen-ts: the contract types layer (ADR-0067 layer 1).** A new generator, `contract-types` - (`contractTypes()`, ejectable), writes the shapes a caller and a service exchange with no - persistence mapping: `.contract.ts` (the read schema and type, the create and update - schemas, the typed create and patch), `.contract.ts` (the read shape), the value - modules they reach, `/operations.contract.ts` (each declared operation's input, output - and errors) and `errors.contract.ts` (the wire codes, their statuses and the error bodies). Each - module imports `zod` only. The field schemas are the entity generator's own renderers, and an - entity's contract read type is held equal to the entity file's on every dialect. C# writes the create and - update records with its own `contract-types`. No existing generator's output moves. -- **runtime-ts: the guarded update (ADR-0066 §6 step 5), and the shared scenario that holds every - store driver to it.** `ObjectManager.guardedUpdate(entity, id, { field, from, to, condition? })` - makes a lifecycle transition's write in one statement — `UPDATE … SET = :to WHERE - = :id AND IN (:from) [AND ]`, TPH-scoped — and answers the row, or `null` - when the guard matched nothing. The `@condition` (attr.expression's CHECK subset) compiles to - the driver contract, which gains three `WhereClause` kinds: `compare` (two operands, each a - column, a literal or a `coalesce`), `nullTest` over any operand, and `not`. A driver an adopter - wrote must handle them; the bundled Kysely, Drizzle and in-memory drivers do, the in-memory one - with SQL's three-valued logic. Guard symbols must be members of the state enum, and each symbol - and condition literal is stored in its column's form (an int-backed enum as its integer). The - persistence corpus gains `op: guardedUpdate` and `queries/guarded-update.yaml`; TypeScript runs - it on Postgres and MySQL, and C#, Java, Kotlin and Python defer it by name until each builds its - own. -- **The REST standard's list handling is part of the cross-port contract.** `?search`, - `filter[or]` / `filter[and]`, the nesting cap, the bare-field and leading-`%` refusals, the - filter-value format check, and the `invalid_json`, `invalid_id`, `pagination.invalid_value` and - `constraint_violation` responses were TypeScript-only extensions. `docs/features/api-contract.md` - now states them as contract, with TypeScript's wire names unchanged. Two corpora hold the ports - to it: - - a new shared corpus, `fixtures/list-query-conformance/`: 95 parse cases, each a query string - in and either a filter tree in neutral values or the exact 400 body out, run with no server - and no database; - - a 20-scenario `list-query/` sub-corpus of `api-contract-conformance/`, over a 60-row seed, in - the generated lane. - - TypeScript passes both. The other ports take them on in their 1.3.0 REST-standard work. The - decision is [ADR-0068](spec/decisions/ADR-0068-list-query-cross-port-contract.md). A - scenario can now send a body that is not JSON with `rawBody`. -- **openapi: the document describes `?search`, `filter[or]` and `filter[and]`.** A list whose row - has a text field the search matches takes a `search` parameter naming those fields, and a list - with any filter takes the two combinators as `deepObject` parameters whose description gives the - grammar and the nesting cap. Item `GET`, `PATCH`, `PUT` and `DELETE` now list the `400 invalid_id` answer the routes - already gave. A project that wires `openApiFile()` sees `openapi.json` change on the next - `meta gen`; the contract corpus goldens move with it. A new contract case, `list-query`, documents - the list-query model, and the list-query lane now holds every exchange to it as the other - generated lanes do; the check no longer exempts `search` and the combinators. -- **Java: the Spring controller generator writes through the code writer (ADR-0063).** - `SpringControllerGenerator` writes through `SpringJavaWriter`, a `JavaWriter` that adds the two - layouts Spring source uses and a block does not: a continuation line (two indents deeper) and an - indented `case` body. Every member of the generated controller comes from its own protected - `write*` method, so an owned copy changes one handler by overriding one method; the `append*` - helpers that took a `StringBuilder` are gone. The shared validator members and the decimal and - duration import lists in `SpringGeneratorSupport` are written through the writer too - (`writeCrossFieldValidationMembers`; `decimalAnnotationImports` and `durationAnnotationImports` - now return qualified names). A generated controller changes in two layout details only, checked - on 1,512 controllers from every fixture model: its imports are sorted, and the blank line after - `public class ... {` is gone. - - The DTO, value-object and shared-enum generators follow (`SpringDtoGenerator`, - `SpringValueObjectGenerator`, `Fr019SharedEnum`). A record, patch class, stamping helper and - enum declaration each come from a protected method, and the string-returning helpers they used - are replaced by writer ones: `SpringTypeMapper.enumDeclaration` by `writeEnumDeclaration`, - `SpringRecordBuilder.members` by `writeMembers` (with `applies` to ask first), and an owned DTO - generator customizes every file it writes by overriding `newWriter`. Their output changes in - layout only, checked on every fixture model in two wire and API configurations: sorted imports - with no blank between groups, no blank line after `public final class ...Patch {` or a doubled - one in a patch with no settable fields, no trailing indent on the blank lines of a nested enum, - and no leading blank line in a file with no package. -- **runtime-ts: one list-query parse for every mount.** `parseListQuery` (exported from - `@metaobjectsdev/runtime-ts`; it does not depend on Drizzle) reads a list request into a - port-neutral `ListQuery`, and each mount compiles that for its own query library. The Drizzle - and Hono mounts and the `ObjectManager` Fastify mount all use it. The `ObjectManager` mount - (`@metaobjectsdev/runtime-ts/fastify`) takes two new options: - - `filterAllowlist`: it then serves `filter[...]`, `filter[or]` / `filter[and]` and `?search` - and refuses what the Drizzle mount refuses, with the same bodies; - - `pagination`: the `api.pagination` page size. - - The names, repository and report-export generators follow (`SpringNamesGenerator`, - `SpringRepositoryGenerator`, `SpringReportExportGenerator`), each finder, constant block and - writer section from its own protected method; the one layout change in their output is that - the blank line after the class or interface opener is gone. So does the output-parser generator - (`SpringOutputParserGenerator`), whose `StringBuilder` seams (`emitMapperMethods`, `emitMapper`, - `appendMapperHelpers`) now take the writer, and whose parsers gain a blank line after the - leading `// GENERATED` comment besides sorted imports. The filter-allowlist, response-format and - render-helper generators follow: the allowlist output is unchanged, and the other two gain the - same blank after the leading comment, sorted imports and no blank after the class opener. - `SpringNaming.packageHeader` is removed; the writer's `packageName` replaces it. The LLM-trace - helper and the `requirement-tests` generator follow with the same layout changes, and the - witness-key collision error now lists its colliding pairs on one line, separated by `; `. - In `codegen-base`, the entity extractor (`ExtractorCodeGenerator`, whose `write*` seams now take - a `JavaWriter`, and whose `writeHeader` no longer takes the extractor name or writes the class - opener) and the generated `ObjectClassBindingProvider` move to the writer too, with sorted imports - and no blank after the class opener; the older object code writers take their indentation unit - from `WriterOptions` (`JAVA`, and the new two-space `DIRECT`) instead of a typed string. Every - Java generator now writes through the code writer, so the layout ratchet's `unconverted` list - is empty. `CodeWriter`, `JavaWriter`, `WriterOptions` and `SpringJavaWriter` join the Java - engine surface (`eject.engineSurface.java.engine`), so an ejected generator imports them from - the package rather than copying them. - - With no sort, the `ObjectManager` mount now orders by the primary key. The `ObjectManager` - `Filter` gains `$or` and a case-insensitive `$ilike`, and the class gains `keyFields()` and - `fieldNames()`. -- **codegen-ts: the filter and sort allowlists are available as data.** - `filterAllowlistRules(entity)` and `sortAllowlistRules(entity)` return the rules that - `FilterAllowlist` / `SortAllowlist` are printed from. The generated files are - byte-identical. - -- **Fixed: the filter nesting cap could not be reached.** `qs`'s default depth of 5 kept the sixth - bracket pair as part of the key, so `filter[or][0][or][0][or][0][a][eq]=1` read as a field named - `[0][a][eq]` and answered `invalid_filter_field` instead of `filter.nesting_too_deep`. Every - TypeScript mount now parses with `parseListQueryString`, whose depth is sized to the cap. As part - of the same fix, a combinator branch that names no field (`filter[or][0]=x`) is now - `400 invalid_filter_value` with `field: "or"`; before, it was an unknown field named `0`. -- **Fixed: on SQLite, `like` through the `ObjectManager` was case-insensitive.** The Kysely and - Drizzle drivers sent SQLite's native LIKE, which folds ASCII case, against ADR-0049. They now - lower `like` to GLOB on SQLite, as the generated routes already did, and to a binary comparison - on MySQL. -- **Fixed: `?search` on an entity with an int-backed enum answered 500 on Postgres.** The search - included every filterable text field, and an int-backed (`@intValueMap`) enum is an integer - column, so Postgres refused the ILIKE. Search now covers only fields whose operator band - includes `like`. -- **Reporting and requirements are vocabulary packs, out of core.** The reporting vocabulary - (`object.report`, `dimension.*`, `measure.*` including `measure.derived` and its `@expr`, - `segment.filter`, the entity's dimension, measure and segment children and `@segment` on - `origin.aggregate` and `origin.first`) is now registered by its own provider, - `metaobjects-reporting`. The requirements vocabulary (`requirement.functional`, - `requirement.architectural` and the root's `requirement.*` child) is registered by - `metaobjects-requirements`. Both are in the default bundle of every port, so a model that loads - today loads and generates the same. An embedder can leave either out, and a model that then uses - its types gets a loader error naming the unknown type or subtype (new fixtures - `error-packs-left-out-*-used`). The `verify` requirements gate reads the nodes the pack - registered: with the pack left out, a model with no requirements gets a silent ledger. The core - vocabulary pin loses these types and attributes, and the registry manifest changes in one row: - the root's `requirement` child rule now states `min: 0, max: null`, as `api` did when the rules - pack moved out. A subtype a pack declares with `extendsBase` may now fold a base another provider - registered (`object.report` folds `object.base`); those folded attributes stay owned by the base's - provider. GOVERNANCE.md now says an attribute promoted from a pack into core keeps its name and - meaning. -- **A template that names a variable the payload lacks fails to render, in every render path.** - Mustache and Jinja raise `render verify failed: ERR_VAR_NOT_ON_PAYLOAD ()` for a missing - variable or dotted path, where they used to render it empty. A variable that is present and null - still renders empty. The Rust `metaobjects-render` crate raises it too, so all six renderers - agree. Render fixtures may now carry `expected-error.txt` in place of `expected.txt`. -- **Business rules: two operations or transitions whose permission names come out equal are - refused (rule P3).** A permission name is the declared `@permission`, or else the derived - `.`, compared exactly as the policy receives it, so `p::Order.open` and - `p.Order.open` are two names. When two permission points resolve to - the same name and at least one of the two names is derived, the loader reports - `ERR_TRANSITION_NAME_COLLISION` on the later one. Two equal declared names stay legal: that is a - shared permission. New fixtures `error-rules-permission-name-op-{dotted,declared}` and - `rules-permission-name-package-separator-distinct`. Java now accepts dotted operation names - (`Order.open`), as TypeScript, C# and Python already did. -- **Python: a primitive array persists on SQLite and MySQL.** The `ObjectManagerDb`'s SQLite and - MySQL dialects bound no list, so an `isArray` string, number, date, uuid or enum field could not be - written there. The column the TypeScript-owned schema gives it (`TEXT` on SQLite, `JSON` on MySQL) - now holds a JSON array, an int-backed enum's as its integers (`[5,0]`), and each element reads back - through the scalar decode. `roundtrip-int-enum-array` runs on both engines instead of being deferred. - A `field.date`, `field.time` or `field.timestamp` array was refused on write on every engine, - Postgres included (the list was parsed as one value); it is now parsed element by element. -- **Python: an unrestricted `routes` is no longer refused for objects it writes no router for.** - `metaobjects gen` refused a config that limits `filter-allowlist` (or `entity`) to some packages - while `routes` is left unlimited, whenever another package held an abstract or sourceless object, - saying `routes` covered it. `routes` writes nothing for those objects, so only the objects it - routes count now. A routed object's model still imports the abstract base it `extends`, the value - objects its fields reference and its M:N targets, so limiting `entity` away from one of those is - still refused. So is the concrete subtype of a routed discriminator base, whose `Create` and - `Patch` models the base's router imports. -- **Python: `metaobjects eject --force` no longer rewrites an identical copy.** It compares each file - with the reference before writing, and one that already matches is left alone and reported - `unchanged`. -- **Python: a reverse finder over a flattened value-object member is named by its flat key.** A - reference whose `@fields` names a member such as `address.countryId` emitted a method name with a - dot in it, which is not Python. It is now `find_plans_by_address_country`, as TypeScript names it, - so the generated finder name changes for such a model on upgrade. -- **C#: a `@sequenceStart` whose migrations project lacks the design-time services line is a generation - error.** When `dotnet meta gen` can see the context's `ModelSnapshot.cs` in another project and that - project does not carry `[assembly: DesignTimeServicesReference]`, the next `dotnet ef migrations add` - would scaffold `RESTART WITH n` and hand out ids live rows hold. The run now fails with - `ERR_DESIGN_TIME_REFERENCE_MISSING`, naming the project and the line to add, instead of warning. A - run that cannot tell (no snapshot on disk yet) and a project that declares no `@sequenceStart` still - get the warning. -- **C#: the filter allowlist, names, callable, output-prompt, output-parser and extractor generators - write through a code writer (ADR-0063).** `MetaObjects.Codegen.Writer.CsWriter` carries the layout - (indent, braces, `using` lines, blank lines), and each of those generators is a class built from - overridable per-piece methods. The output is unchanged except in one place: a parser generated - for a reply declared `@responseFormat: xml` no longer has a blank line right after its opening - `{` (the writer drops a blank line after an opener, as it does in every port). A layout check - with an allowlist that only shrinks keeps new hand-typed layout out of the generator source. - The shared writer-conformance corpus gains six C# cases. -- **C#: the last six generators write through the code writer (ADR-0063).** The routes generator, the - reverse-finder emitter, the expression-indexes, report-export and requirement-tests generators and the - render-helper generator no longer type line breaks or indentation, so the layout check's list of - unconverted generators is empty. Output is byte-identical on the 737 model fixtures in four layouts, - with these exceptions the writer owns: the shared `ReportExportWriter.g.cs` now ends with a newline - like every other generated file; a `// ` comment line for an empty statement is written as `//`; and - an empty requirement-tests witness interface has its braces on two lines. The routes generator's - `AppendOffsetLimit` and `AppendSaveChanges` helpers lose their `indent` argument, and its private - helpers take a `CsWriter`. The requirement-tests collision message indents its list by four spaces. -- **C#: the DbContext generator writes through the code writer (ADR-0063).** `DbContextGenerator` - (the context, its `OnModelCreating` and `ConfigureModelNN` chunks, the enum, map and duration helpers - and the design-time services file) builds each file on a `CsWriter`. Output is byte-identical for the - 737 model fixtures in all four layouts. **An owned or subclassed generator needs a small edit.** The - hooks `EmitUsings`, `EmitDbSetDeclarations` and `EmitOnModelCreatingBody` take a `CsWriter` in place of the - `StringBuilder`, and `EmitUsings` opens the class body with `w.Open("{")`. The hooks that return - text now document their lines as unindented; a line that still carries an indent is accepted, since the - writer removes the common margin. A `ContextUsings` line is a `using ...;` directive, printed once in the - order given. The layout check's allowlist loses the DbContext generator's entry. -- **C#: the entity generator writes through the code writer (ADR-0063).** `EntityGenerator` (mapped - entities, TPH subtypes, abstract shapes, value objects, shared enums and the decimal, duration and - net-validation helper files) builds each file on a `CsWriter`. Output is unchanged for the 737 model - fixtures in all four layouts except three layout details the writer owns: a class with no members - has no blank line between its braces, a blank line before a closing `}` is dropped, and a `///` - doc line has no trailing space. **An owned or subclassed generator needs a small edit.** The hooks - `EmitClassHeader`, `EmitClassAttributes`, `EmitClassDeclarationLine`, `EmitPropertyAttributes`, - `EmitFileUsings` and `EmitClassBodyTrailer` take a `CsWriter` in place of the `StringBuilder`, and write - lines with `w.Line(...)` or `w.Using(...)`, with no typed indentation. The base class still adds - `IValidatableObject` to the declaration line an override wrote. The property emitters are renamed - `WriteScalarProperty`, `WriteEnumProperty`, `WriteObjectNavProperty`, `WriteMapProperty` and the - `WriteTphSubtype*Property` pair, and the validator-attribute writers `Write*ValidatorAttributes`. - `ValueObjectMemberAttributes` returns lines with no indent (it used to return four spaces of it). - `XmlDocBuilder.WriteTo(writer, node)` is the writer form of `AppendTo`. The public statics - `EntityGenerator.M2mNavProperty` and `ExtractDelegateEmitter.DelegatingMembers`, which returned a - string, are now `WriteM2mNavProperty(CsWriter, ...)` and `WriteDelegatingMembers(CsWriter, ...)`, - returning void. `NamesGenerator.Member` and `MemberGroups` are now protected. A flat-layout shared-enum - file that holds two or more namespaces no longer ends with an extra blank line. The layout check no - longer lists `EntityGenerator.cs` as unconverted. -- **`migrate.foreignKeyTargets: "warn"` turns the refusal of a foreign key onto a non-unique target into - a report.** For a database whose unique index on the target is hand-made and not declared in the - metadata. The default, `"refuse"`, is the 1.3.0 behavior; the refusal's hint now names the setting. See - [Migrations and drift](docs/features/migrations-and-drift.md). -- **Rust (ADR-0065 Amendment 3).** A project now chooses its generators in `metaobjects.config.json` -(`{ "generators": [...] }`, written by `cargo meta init`) and no longer needs to eject to drop one; -`cargo meta gen --list` shows each as configured or not. `cargo meta eject` no longer writes the -path of the machine the tool was built on into `codegen/Cargo.toml`: the owned crate names the exact -crates.io release by default, and `--engine ` names a checkout or a git -revision. The three crates lose `publish = false`, carry their packaging metadata, and the `rust` lane -runs `cargo publish --dry-run` over all four crates. Nothing is published. The new `metaobjects-render` -crate carries the Rust prompt render, the reply parser and the output-format fragment. `cargo meta eject --force` leaves a -copy that already matches the shipped generator untouched. `cargo meta verify` now runs the business-rules -gate (ADR-0066) too: the same five findings, severities and message text as the other ports, under the -four `rules.*` and `verify.lifecycle.unreachable` settings, held to `fixtures/rules-check-conformance/`. - ## [1.3.0] — unreleased @@ -676,6 +170,73 @@ Each item below is described in full under Security, Added, Changed or Fixed; th `meta verify --db` against a SQLite URL stop with the install command. Postgres, MySQL and D1 projects install nothing new. With the ORM and the formatter gone as well, installing the CLI is about 51 MB. +- **A list with no `limit` answers 50 rows (TypeScript and C#, breaking).** A generated list route in a + project that sets no `api.pagination` used to return every matching row. It now answers the first 50, as + every port's standard says. An explicit `limit` is still served as asked, and a project that sets + `api.pagination` is unchanged. In C# a `limit` or `offset` that is not a non-negative integer is now + `400 pagination.invalid_value`, and `limit=0` is a page of zero rows. Check any client that reads a whole + list without a `limit`: + [default-list-page-of-fifty](docs/features/migrations/default-list-page-of-fifty.md). +- **C#: the route helpers are the `MetaObjects.AspNetCore` package.** `MetaObjects.Codegen` and the + `dotnet meta` tool no longer carry EF Core or ASP.NET Core, and the helpers (`FilterParser`, + `FilterPredicate`, `ValueObjectValidator` and the rest) moved to the new package. Add + `` to the project that compiles the + generated routes; the next `dotnet meta gen` moves the `using` line. Generated list routes also speak the + REST standard (`?search`, `filter[or]`, `filter[and]`), answer `400 {"error": "invalid_json"}` for a body + that is not JSON and `400 {"error": "invalid_id"}` for a path id the key cannot hold, and an owned copy + that sets `routes` and not `filter-allowlist` re-ejects both together. +- **C#: a missing design-time services line is a generation error.** A project that declares + `@sequenceStart`, whose `ModelSnapshot.cs` `dotnet meta gen` can see in another project, and whose + migrations project does not carry `[assembly: DesignTimeServicesReference]` now fails with + `ERR_DESIGN_TIME_REFERENCE_MISSING`, naming the project and the line to add. It was a warning, and the + next `dotnet ef migrations add` would have scaffolded `RESTART WITH n`. +- **Python: `ObjectManager` is the abstract contract, and the class you constructed is + `ObjectManagerDb` (breaking, by hand).** Constructing `ObjectManager(root, driver)` raises a `TypeError` + that names the replacement; there is no alias. Find every site with `grep -rn "ObjectManager(" .`: + [python-object-manager-split](docs/features/migrations/python-object-manager-split.md). +- **`@metaobjectsdev/ai-runtime` is no longer published.** The `trace-helper` generator writes its call loop + (`llm-call.ts`) into the project, so remove the dependency and regenerate: + [ai-runtime-unpublished](docs/features/migrations/ai-runtime-unpublished.md). +- **react: `` is imported from `@metaobjectsdev/react/image-upload`, and `react-easy-crop` is + an optional peer.** Only a project that uses the component installs it: + [react-image-upload-subpath](docs/features/migrations/react-image-upload-subpath.md). +- **The empty `@metaobjectsdev/forge` package is removed.** It exported nothing and had no importer; the + forge vocabulary is unchanged and ships in `@metaobjectsdev/sdk` as `forgeTypesProvider`. +- **A business-rules refusal is new at load.** Two operations or transitions whose permission names + come out equal, where at least one is derived, are `ERR_TRANSITION_NAME_COLLISION` (rule P3). +- **Python: a malformed `@union` or `@grain` projection member or grain is now `ERR_BAD_ATTR_VALUE`,** as in + TypeScript and C#. +- **Java and Kotlin: template and documentation output is in the hash manifest.** The `template` and + `mustache` generators and the documentation pages are recorded under `.metaobjects/.gen-state/.hashes/`, + and a hand edit to one is refused by name under `handEdits: keep`. An existing file the manifest has no + record of is taken as generated on the first run, so upgrading refuses nothing. Commit the hashes. +- **Rust: the crates are numbered 1.3.0 and join the release path.** The workspace version is the shared + line, and `cargo meta eject` names the exact crates.io release in the owned `codegen/Cargo.toml` instead of + the path of the machine that built the tool. Re-eject an owned crate to pick that up. +- **TypeScript and C#: `Names` has no entry for a derived field with no column.** Code that reads + `Names.Field` / `Column` (C#), `fields.` (TypeScript) or a + `ColumnsByField` entry for such a field stops compiling; use `nameof(...)` or the metamodel name as a + literal. A projection's derived field and a write-through entity's keep their entry. +- **C#: a "-sis" entity name pluralizes to "-ses".** `Diagnosis` gives `Diagnoses` and + `FindDiagnosesByPatient`, not `Diagnosises`; code naming the old form stops compiling. Use the new + name, or set `"@collectionName": "Diagnosises"` on the entity to keep the old one. The REST segment is + unchanged. +- **C#: each shared enum is its own file.** The next `dotnet meta gen` removes `Enums.g.cs` and writes + `/.g.cs`. A cast of an int-mapped shared enum to `int` now returns its `@intValueMap` + integer, not its position. +- **C#: `FilterAllowlist` is emitted in its entity's namespace,** so `GenConfig.PackageNamespaces` + separates the allowlists too. Update a `using` that named the old namespace. +- **C#: a bare `?field=value` on a generated list route answers 400** (`filter.bare_field`) where it used + to answer every row; write `?filter[field]=value`. The generated list routes also read `?search=` and + nested `filter[or]` / `filter[and]` groups. +- **Doc pages move under package directories on the flat default.** A TypeScript project's `docsFile()` and + `apiDocsFile()` pages, and a Java or Kotlin api-docs `layout` left at its default, move on the next + generate. Set `layout` to `flat` on the Java or Kotlin generator to keep the old paths. +- **TypeScript and C#: the next migrate adds CHECKs to an existing TPH table.** A concrete subtype's enum, + validator and cross-field validator columns now carry their CHECKs on the discriminator base's table, so + `meta migrate` proposes them and `meta verify --db` reports a table that lacks them. +- **`meta migrate` reads a Postgres `character(n)` column as itself.** A model that declared a plain + `field.string` over one sees a type change until it declares `@dbColumnType: character(n)`. - **`metamodelVersion` is `1.3`.** Upgrade every port together. ### Security @@ -794,6 +355,460 @@ Each item below is described in full under Security, Added, Changed or Fixed; th ### Added +- **cli: `meta init --with-services` and the `unenforced-lifecycle` advisory (ADR-0067 §6, §8).** + `init` still writes an empty generator list; `--with-services` writes the recommended service list + instead (`entityFile()`, `rulesNamesFile()`, `contractTypes()`, `serviceFile()`, + `serviceRoutesFile()`, with `serviceFile({ interactiveTransactions: false })` on `--d1`) and names + the packages their output needs. `meta gen --list` names the same list under the catalog. + `meta verify` now advises, without changing the exit code, when a concrete entity with a source + declares a lifecycle and no listed service generator covers it: the flat routes do not enforce + it. +- **codegen-ts: a generator declares what it provides in one place.** `provides` on a `Generator` + (`entityModule`, `queries`, `names`, `reportExport`, `routes` with its framework, `expose` and + `filter`, `uiTier`, `modelDocs`, `apiDocs`) replaces the nine single-purpose markers + (`emitsEntityModule`, `emitsQueries`, `emitsNames`, `emitsReportExport`, `emitsHonoRoutes`, + `mountsRoutes`, `emitsUiTier`, `emitsModelDocs`, `emitsApiDocs`). The runner, the docs + generators and the gates read it through one function, `providesOf`, so a generator of your own + under any name is seen as the stock one is. The old markers are deprecated and still read, so an + owned copy that sets them keeps working; a re-ejected copy declares `provides`. +- **C#: the route helpers are their own package, `MetaObjects.AspNetCore`, and `MetaObjects.Codegen` + and the `dotnet meta` tool no longer carry EF Core.** `FilterParser`, `FilterParseResult`, + `FilterPredicate`, `EfCoreFilterDispatch`, `ValueObjectValidator`, `ConstraintErrors`, + `ValidationIssues`, `UnknownFieldCheck`, `Iso8601TimestampConverter`, `DecimalWire`, + `DurationWire`, `DecimalRangeEndpointFilter`, `ReportExportHttp` and `SerializerKeys` moved from + `MetaObjects.Codegen` (namespace `MetaObjects.Codegen.Runtime`) to the new `MetaObjects.AspNetCore` + package (namespace `MetaObjects.AspNetCore`), which depends on ASP.NET Core and EF Core and on no + MetaObjects package. `MetaObjects.Codegen` drops its EF Core and ASP.NET Core references: the tool + installs about 42% smaller (14 DLLs to 6), and the first restore of a `codegen/` project no longer + pulls EF Core's 11 packages. `ExtractObject` and `M2MResolver` stay in `MetaObjects.Codegen` under + `MetaObjects.Codegen.Runtime`. The packaged routes generator now writes `using MetaObjects.AspNetCore;`, + so the next `dotnet meta gen` moves that line in every generated routes file. `dotnet meta gen` and + `dotnet meta verify` warn when a generated file imports `MetaObjects.AspNetCore` and the project + that compiles it (the one `.csproj` in its directory or above, a project it references, or a + `Directory.Build.props`/`.targets` above them) does not reference the package, and when generated + output still imports the helpers from `MetaObjects.Codegen.Runtime`. Both warnings are advisory. + `dotnet meta eject routes` still copies the helpers into `codegen/runtime/` as `Codegen.Runtime`. + Generated-output change — regenerate to pick it up; three-way merge preserves hand edits. + + Upgrading: add `` to the + app that compiles the generated routes, run `dotnet meta gen`, and change any hand-written + `using MetaObjects.Codegen.Runtime;` that names one of the helpers (a host registering + `Iso8601TimestampConverter`, say) to `using MetaObjects.AspNetCore;`. A routes generator you + ejected before the helpers were handed over writes `using MetaObjects.Codegen.Runtime;`: set its + `HelperRuntimeNamespace` constant to `"MetaObjects.AspNetCore"`, or re-eject with + `dotnet meta eject routes --force`. An app that only uses the ejected helpers in `codegen/runtime/` + needs nothing. +- **C#: the generated list routes speak the REST standard.** Every entity, projection, report and + single-table-hierarchy list route now reads its query through `ListQueryParser`: `?search=` + (case-insensitive, over the filterable text fields), `filter[or][i]` / `filter[and][i]` groups + five levels deep, and the named refusals `filter.bare_field` (a `?name=` outside `filter[...]`, + which used to answer every row), `filter.leading_wildcard_disallowed`, `filter.nesting_too_deep` + and `invalid_filter_value` for a value of the wrong format. A refusal's body carries the shared + details (`field`, `expected`, `allowed`), so an `invalid_sort` lists the sortable fields. A body + that is not JSON is now `400 {"error": "invalid_json"}` (it was the `validation` body), and a + path id the key cannot hold is `400 {"error": "invalid_id"}` on every item route (it was an + empty 400 from ASP.NET Core's binding). The sortable set is unchanged. The routes read the new + `RouteErrors` helper in `MetaObjects.AspNetCore`, and `dotnet meta eject routes` copies it with + the others. The filter allowlist now carries the parser's rule table (`Rules`, `Sort`, + `FieldNames`), typed with the helpers, so `routes` and `filter-allowlist` are ejected together: + naming either owns both, and `eject --undo` gives both back. The C# generated lane now runs the whole `list-query/` sub-corpus, closing the C# + routes' `KNOWN_GAPS.md` G2. Generated-output change — regenerate to pick it up; three-way merge + preserves hand edits. + + Upgrading: a project that owns `routes` and not `filter-allowlist` runs + `dotnet meta eject filter-allowlist` (or `eject routes --force`), so both read the owned helpers. + A client that sent a bare `?field=value` and read every row back now gets a 400; + send `filter[field][eq]=value`. A client that matched the `validation` body of a malformed JSON + request should match `invalid_json`. + The flat-filter path (`FilterParser`, `FilterPredicate`, `FilterParseResult`, + `EfCoreFilterDispatch.ApplyFilter` and `Validate(FilterParseResult)`) is now `[Obsolete]` and will be + removed in 2.0; a hand-written endpoint moves to `ListQueryParser.Parse`, `EfCoreFilterDispatch.Apply` + and `Validate(ListQuery)`. +- **The docs pages and the docs site share one row shape.** `fixtures/docs-page-conformance/` + now also pins, under `expected/rows/`, the rows each page is built from: the requirement + ledger rows and the model-only schema rows. The schema rows are a subset of `meta schema + --as json`, and the requirement rows are what the explorer graph already holds, so the site + reuses them instead of pinning a second shape. codegen-ts exports `schemaRows()` and + `schemaInputFromRows()`. No page changes a byte. +- **Every top-level node gets an explorer page.** The site wrote pages only for objects and + templates, so a requirement claiming a node of another type, such as an application's + `capability.module`, failed the site's own link check. Every other top-level type now gets a + generic page (`explorer-node.html.mustache`, which `meta eject docs-site` copies): its + attributes, linked where they name a node, its members, the requirements claiming it, what + references it and what was generated from it. Package pages and search list these nodes too. +- **The generator-authoring surface is named and promised.** Each port names the modules you write + your own generator against, in four roles: the generator interface, the model walk, the code + writer and the naming helpers. They are listed in a new `surface` block of + `fixtures/generator-registry-conformance/registry.json`. That surface is versioned with the port's + codegen package under the compatibility policy; the rest of the engine is internal. A generator + will declare what it provides in one place instead of flags named after packaged generators, and + reference templates that `meta eject` copies stay your own code, never surface. Decision record: + ADR-0034 Amendment 12, ADR-0035 Amendment 7, ADR-0065 Amendment 5. TypeScript pins the + surface's exported names in `codegen-ts/test/authoring-surface.snapshot.json`, and the engine + entry (`@metaobjectsdev/codegen-ts/engine`) now also exports `objectRefTarget`. The other ports' + snapshot tests follow. +- **Independent packs: the `packs/` directory, its gates and its lane (ADR-0069).** A capability + that is not core vocabulary can now be built in `packs//` with its own version, changelog + and port list, outside the default bundle and outside `metamodelVersion`. The packs that + exist are listed in `packs/README.md`, and nothing published changes. `scripts/check-pack-boundary.ts` fails a change that makes core + depend on a pack, puts a pack in the bundle, or lets core's release tooling see `packs/`. + `scripts/check-pack-manifests.ts` holds each `pack.json` to its ports' native manifests. + `scripts/pack-vocabulary.ts` pins the rows a pack adds and fails one that changes the bundle's, + and `scripts/pack-conformance.ts` runs a pack's load fixtures through the new corpus-root entry + point `runCorpus` in `@metaobjectsdev/conformance`. A new `packs` lane in `ci-local.sh` blocks + for a pack's own change and reports, without failing, a pack that a core change breaks. The + root `build` and `typecheck` scripts now name core's workspace directories instead of + `--filter '*'`. The provider contract is now named as covered by core's package version + (`docs/compatibility-policy.md`). +- **metadata: a provider outside core can register vocabulary from a definition file.** + `applyProviderDefinition` and its types (`ProviderDefinition`, `TypeDef`, `ChildDef`, + `ExtendDef`, `FactoryMap`, `ValidatorMap`) are exported from `@metaobjectsdev/metadata`, with + the validation hook's types (`NodeValidator`, `ValidationContext`, `SymbolTable`, + `LoaderCode`). `applyProviderDefinition` takes an optional fourth argument, a + `"."` → validator map, so a type registered from data can carry a check the data + cannot express. `referrerPackageFor` (ADR-0059 R3: the package a reference attribute resolves + in) is exported too, so a provider's own reference check resolves as the loader's does. The + bundled packs already registered this way; the independent packs under `packs/` (ADR-0069) now + can too. No vocabulary or `metamodelVersion` change. +- **Reference sources: name a prompt's reply type that another run generates.** A `sources` + entry may carry `"reference": true` (Maven: ``). Its files load into + the same tree, so a prompt's `@responseRef` (and any other reference) resolves against them, + and no generator emits a type for a node declared only there. The prompt keeps its parser, + output-format fragment and extractor, naming the reply type the other run generates. Before + this, a reply type owned by another generator run could not be named at all (the load + refused the unresolved `@responseRef`), and merging its files into the prompt's tree generated + every reply type a second time. A `template.*` declared only in a reference source is refused + (`ERR_REFERENCE_SOURCE_TEMPLATE`). Every port, pinned by `fixtures/reference-source-conformance/`. +- **Python: `metaobjects agent-docs` writes the shipped agent files itself, with no Node.** It used to + print a redirect to `npx meta agent-docs --server python` and exit 1. It now copies + `.metaobjects/AGENTS.md` and the `metaobjects-*` skills for the stack (`--server`, `--client`, + default `python`; `--out`; `--no-wire-root`) out of a copy of `agent-context-shipped/` that the + wheel carries, pins the guide links to the release tag (a prerelease keeps `main`), and matches + `npx meta agent-docs` byte for byte for the same stack, including the `-migrate` stack it picks + when `.metaobjects/config.json` sets `migrate.dialect`. A re-run writes nothing for an unchanged + file, parks fresh text at `.new` beside a hand-edited one, and rewrites the sidecar manifest + only when it changed. `--skills-dir` and `--no-skills` remain Node-CLI flags. The `gates` lane + fails when the copy drifts (`scripts/sync-python-agent-context.sh` refreshes it). +- **Python: the `requirements` and `agent-docs` generators.** `metaobjects gen` can now write + `requirements.md`, `requirements.toon`, `agent/requirements.md` and the model-only + `agent/schema.md` (`agent/ui.md` stays TypeScript-only). They render the shared Mustache + templates from the pinned data model, held to `fixtures/docs-page-conformance/`; the templates + are bundled in the package (`scripts/sync-doc-templates.sh` copies them, the doc-template drift + gate checks the copy) and a same-named template under the project's templates directory + overrides a page. Both are ejectable. The Python Mustache engine now treats a string-valued + section as the context (`{{#statement}}{{{.}}}{{/statement}}`), as the spec and the TypeScript + engine do. +- **The Rust crates join the release path (ADR-0065 Amendment 3).** The workspace version moves to + the shared line (1.3.0), and `scripts/release.mjs` publishes the four crates to crates.io after + npm, behind the same confirm, in dependency order, when a file they ship changed since the last + `rust-v*` tag (or they never shipped, or `expected-registry.json` moved); `--crates=publish|skip` + overrides. Its preflight checks the crates.io token and that the version is free before anything + is bumped. `docs/RELEASING.md` names crates.io as the fifth registry. Nothing is published. +- **Rust generators own their layout, take options and expose their parts (ADR-0063).** A + layout ratchet (`tests/layout_ratchet.rs`) parses every generator source with `syn` and fails + on a hand-typed line break or indentation run; its allowlist can only shrink, and it starts + empty but for six files whose strings are not generated code. Eight `rust` writer-conformance + cases pin the dialect (`use_list`, `doc`, `prose`, `doc_break`, `assign`), each a rustfmt fixed + point under the generated crates' `rustfmt.toml`. An entry in `metaobjects.config.json`'s + `generators` may now be `{"name": ..., "options": {...}}`: `Generator::configure` receives the + options, and the shipped generators take none and refuse any key with + `ERR_UNKNOWN_GENERATOR_OPTION`, also on a run `--generators` narrows. Each shipped generator + has a `*Parts` trait — eleven in all once the layer generators landed (`EntityParts`, + `ClientParts`, `CommandsParts`, `RenderHelperParts`, `OutputParserParts`, `OutputPromptParts`, + `RulesNamesParts`, `ContractTypesParts`, `RepositoryParts`, `ServiceParts`, + `ServiceRoutesParts`) — with one default method per output piece, so an owned + generator overrides one piece and keeps the rest. Generated output is byte-identical but for + one fix: `assign` now moves an array right-hand side to the next line when that is where + rustfmt puts it under those settings. +- **Rust port: many-to-many relationships are traversed (FR-018).** A many-to-many relationship + of a keyed entity gets `_of` in its store module, the related rows read through the + junction in one statement (hetero, directed self-join and `@symmetric` self-join, which keeps a + row relating a record to itself). The junction's keys come from the same derivation the loader's + pairing rule runs, now a public function of the core crate (`derive_m2m_fields`). The persistence + runner runs all 56 scenarios on Postgres, `guarded-update` among them (`meta_store::transition` + takes a transition's `@condition` and ANDs it into the same statement), and its ledger is empty. +- **Rust port's prompt tier: `render-helper`, `output-parser` and `output-prompt`.** Three + generators put the `metaobjects-render` crate (render, the strict JSON parse and the tolerant + `extract`, the output-format fragment) behind typed functions, held to the render, + template-output and extract corpora. They write a crate each beside the model crate: + `_prompts` (a typed render function per prompt), `_parsers` (`parse_` + for a JSON reply, `extract_` for any, and the extract schema) and `_formats` + (the fragment and its descriptor), for every prompt with a `@responseRef` (ADR-0052). `eject` + copies all three, and `gen` checks each body against its payload before it writes a render function. + The generated crates depend on `metaobjects-render` at this release's major and minor. +- **Rust port: reports and projections are read (FR-044, ADR-0028).** The core crate derives a + report's fields (`metaobjects::report_shape`, FR-044 Table B and C) byte for byte with + `report-shapes.json`. A served read (a concrete projection or report whose read source is a view) + gets a read-only struct in its model crate and a read-only module in its store crate: `list`, + `count`, and `get` for a projection with a key. A view's numbers are read through a cast to their + field's type, since the view's SQL picks the column type. The persistence runner now runs the 24 + report and 3 projection scenarios, and its ledger holds only the three many-to-many ones. A + view-backed projection that an operation returns is now the model crate's type, not a copy in + the contract crate. Clients and commands for read models wait for a Rust transport that serves + them. +- **Rust port's data access: the `repository` generator (ADR-0067 layer 3).** It writes a + `_store` crate per package with a stored entity, on sqlx, for Postgres and SQLite: per + entity the table mapping and typed `list` (the nine filter operators, sort, paging), `count`, + `get`, `create`, `update` and `delete`, and per lifecycle the guarded update + `transition_(id, from, to)`, one conditional `UPDATE` that answers `false` when another + writer moved the row first (ADR-0066 §6). The shared `meta_store` crate holds the statements and + the decode of each column into the model's own types. A single-table subtype writes its + discriminator and reads only its own rows. A Rust runner for the shared persistence corpus runs + it on a throwaway Postgres: every list, get, count, create, update, delete, roundtrip and + single-table scenario passes; the many-to-many, projection and report scenarios are on its + shrink-only ledger, because projections, reports, many-to-many traversal and flattened storage + are not stored yet. +- **Rust port's rules layers 0 and 1: `rules-names` and `contract-types` (ADR-0067).** Two + generators read the business-rules vocabulary, and each writes nothing for a model without it. + `rules-names` writes a `_rules` crate for a package with a lifecycle or a declared + operation: per entity, each lifecycle's state type (the model's own enum), its states, initial + and terminal states and its transitions, and the commands derived from unclaimed transitions; + then the package's operations (kind, permission, claimed transitions, business errors), every + permission asked about (declared or derived per ADR-0066) and every business error, each as a + closed enum, plus the five codes the enforcing shell answers with. `contract-types` writes a + `_contract` crate for a package with a declared operation: each operation's input and + output types, its business-error enum and its error body (a fixed wire code or one of its own), + the read shape of a projection it returns, and a shared `meta_contract` crate with the wire + error codes, their statuses and the validation and constraint-violation bodies. An entity's + read, create and patch shapes stay in the model crate, which carries no persistence mapping. + Both are listed in the shared generator registry (Rust only for now) and `eject` copies them. +- **Rust port: the `service` generator (ADR-0067 layer 4, ADR-0066 §6).** It writes a + `_service` crate per package with a stored entity: `Service`, generic over the + database pool (Postgres or SQLite) and the actor type, with each derived list (page size 50 unless + `api.pagination` says otherwise, `withCount` for the total), get, many-to-many traversal, create, + update and delete, a command per transition that derives one, and a shell per declared command + and query. Every write runs in one sqlx transaction, or inside a caller's through its `_in` twin, + and runs ADR-0066's checks in order: the row (404), the permission point (403 `forbidden`), the + state (409 `invalid_transition`), the hand-written body, the guarded update (409 + `invalid_transition` or `transition_condition_failed`) and the event hook. The generic update + answers a changed lifecycle field 409 `state_managed`, a create starts in the initial state, and + `@autoSet` timestamps are stamped by the service (ADR-0045 Amendment 1). What an app writes are + traits: `Policy`, `Bodies` (a command answers the move to make or none, and + `BodyError::Business` a declared error), `Hooks` (one `before` and one `after`, told of + the write by the `Before` and `After` enums) and `Events`, the last two with + defaults. The shared `meta_service` crate holds the error codes and statuses. A probe runs the + rules corpus's scenarios through the service on SQLite, with the settings variants checked in + the generated text; the HTTP transport, and the shared API tests over it, come next. The walks + the layer generators share moved into a new engine module, `metaobjects_codegen::layers`, so an + ejected `service` or `repository` calls the same walk the shipped one does. +- **Rust port: the service is served over HTTP (`service-routes`, ADR-0067 layer 5, ADR-0065 + Amendment 7).** A new opt-in generator writes a `_http` crate per package and the shared + `meta_http` crate: `router(service, actor)` returns an axum `Router` over the generated service, + with the derived CRUD, traversal, transition-command and declared-operation routes, the + REST-standard list query (filters with `or`/`and` groups, search, `sort=:asc|desc`, a + default page of 50, `withCount`) and the named 400s. `ActorSource` (or `ActorFn` over the + headers) is the app's authentication, handed to the service untouched. It runs only when + `metaobjects.config.json` lists it: `cargo meta init --transport` adds it, a plain `init` and a + project with no list leave it out, and `gen --list` marks it `[opt-in]`. A credential field (one + with a password view) is never returned. An entity with a read-only view beside its table is + written to the table and read back through the view, so its derived fields are in every answer + (the store's `Table` gains `read`). A field with no `@sortable` is now sortable when it is + filterable, as in TypeScript, so a generated client's sort allowlist can grow: regenerate. + The api-contract corpus runs over HTTP in Rust's generated lane (`core`, `write-through`, + `secret-fields`, `list-query`, `rules` and its settings variants, 77 scenarios; the rest + ledgered), the list-query corpus runs all 95 cases, and `examples/rust-service/` is a whole + tasks service built this way, checked by the `rust` lane. +- **Rust: `cargo meta verify --templates`, the template drift gate.** It checks every `template.*` + body (and its partials) against the payload value object it renders over + (`ERR_VAR_NOT_ON_PAYLOAD`, `ERR_PARTIAL_UNRESOLVED`, `ERR_OUTPUT_TAG_MISSING`, + `ERR_REQUIRED_SLOT_UNUSED`, `ERR_TEMPLATE_SYNTAX`) and each prompt's reply, reading + `@payloadRef`, `@textRef`, `@requiredTags` and `@responseRef` through `extends`. Bodies live + under `prompts/` (`--prompts ` to move it), and a bare `verify` runs the gate beside the + codegen and rules gates. The `metaobjects-render` crate gains `verify`, held to + `fixtures/verify-conformance/` (all 45 cases). A Jinja body is refused + (`ERR_TEMPLATE_ENGINE_UNSUPPORTED`): the Rust renderer runs Mustache only. The old refusal + of `--templates` is gone. +- **docs, agent skills: how to model vocabulary of your own semantically.** A new page, + `docs/features/semantic-modelling.md`, states the rules a custom type, subtype or attribute is + held to: the type says what a thing is and what it relates to, the subtype says which kind + (it adds attributes and constraints, never a relationship), and products, versions, steps and + environment values belong to the generators and their layered configuration. It gives the + ordered test for where one fact goes, worked before and after examples, and the wrong turns + an AI assistant makes. The `metaobjects-authoring` skill carries the same guidance as + `references/semantic-modelling.md` and opens it whenever custom vocabulary is added or + changed; the always-on file's vocabulary rule gains one sentence. Run `meta agent-docs` to + take the new text in an existing project. `agent-context/evals/skill-triggers/` gains twelve + cases for that skill. +- **C#: `dotnet meta verify` runs the three model authoring lints.** The overlay lint + (`WARN_OVERLAY_IMPLICIT`), the node-name lint (`WARN_NAME_SURROUNDING_WHITESPACE`, + `WARN_NAME_INTERNAL_WHITESPACE`) and the deprecated-reference lint (`WARN_DEPRECATED_REFERENCE`) + now print on every `dotnet meta verify`, as they do in Node `meta verify`, before the field lint. + They are advisory, never change the exit code, and are muted by `--no-overlay-lint`, + `--no-name-lint` and `--no-deprecation-lint`, or by `META_NO_OVERLAY_LINT=1`, + `META_NO_NAME_LINT=1` and `META_NO_DEPRECATION_LINT=1`. C# runs the shared + `fixtures/model-lint-conformance/` corpus. +- **codegen-ts: `service-routes-hono`, the service's Hono transport (ADR-0067 layer 5).** + `serviceRoutesHonoFile()` writes `/transport/hono.ts`, the same routes as the Fastify + transport, as `ServiceHonoRoutes(app, { service, getActor })`, with the actor read by + `getActor(c)`. It imports the new `@metaobjectsdev/runtime-ts/service/hono` entry, and `meta eject + service-routes-hono` copies that source. A fixed path segment is added before a parameter wherever + two routes could match one request, so `GET /` is not taken for + `GET /{id}`, as Fastify's router already decides. +- **The service is held to more of the shared API tests.** Its lanes, on Fastify and on Hono, now + run the `list-query/`, `api-settings/`, `enum-default/`, `jsonb/` and `duration/` corpora beside the + root and `rules/` corpora, on every engine the routes lane runs, D1 included through + `interactiveTransactions: false`. The service compile gate compiles both transports. +- **The service covers every object the flat routes serve.** Projections and served reports get + their reads, and their transports answer writes `405`. A report keeps its row cap, through the + new `serviceFile({ reportMaxRows })` option, and its `?format=` export. Write-through entities + read through their view and read a write back through it. A single-table hierarchy gets the + polymorphic base reads and per-subtype operations scoped to the discriminator. Each + many-to-many relationship gets a query and a `GET /{id}/` route. The + `projection/`, `report/` (Postgres, MySQL, SQLite and D1), `write-through/`, `tph/`, `m2m/`, + `decimal/` and `secret-fields/` corpora now run on both service lanes. runtime-ts: the read-only + and many-to-many reads (`readOnlyList`, `readOnlyGet`, `m2mRelated`) are framework-neutral + functions, which the flat Fastify mounts and the service both call. +- **codegen-ts: `serviceFile({ interactiveTransactions: false })` for a store that holds no + transaction across application code (Cloudflare D1; ADR-0067 §4).** The service opens no + transaction: each derived write is its one statement and a transition is its guarded update. + It has no hooks and no event hook, and a package that declares a command fails generation with + `ERR_STORE_NO_INTERACTIVE_TX`, naming the package, the command and the option. Queries are + generated. Run end to end on Miniflare's local D1. +- **codegen-ts: the service layer, part 2 — the rules run (ADR-0066 §6, ADR-0067 §4 and §7).** The + `service` generator now writes a command per transition that derives one (`POST + /{id}/`) and a shell per declared command and query, at its binding or + derived path, and enforces ADR-0066's checks in order, in one transaction: the row (404), the + permission point (403 `forbidden`), the state (409 `invalid_transition`), the hand-written body, + the guarded update (409 `invalid_transition` or `transition_condition_failed`) and the event hook. + The generic update answers a changed lifecycle field 409 `state_managed`. What an app writes is + passed to `createService(deps)` through generated interfaces: `Policy`, `Bodies` + (a command returns the move to make or `"none"`, and `ctx.refuse` answers a declared error), + optional `Hooks` on the derived writes and `Events` told about every write. Any of + them may refuse, which rolls the write back. The actor is an app-defined type parameter, passed + as `opts.actor` and resolved by the Fastify transport's `getActor(request)`. Three settings now + act on the generated side: `rules.lifecycle.create` (`initial` fills an omitted state and refuses + another; `any` accepts any), `rules.lifecycle.commands` (which transitions get a command) and + `rules.permissions.names: require` (generation refuses a point with no `@permission`, naming the + derived one). A transport refuses two routes on one method and path. New shared API tests, + `fixtures/api-contract-conformance/rules/`, cover 403, the three 409 codes, a declared error, a + derived command, a declared command and query, a public operation and a hook's and the event + hook's refusal rolling back, with three settings variants; the TypeScript lane runs them in both + layouts, and the service compile gate builds the model in every dialect. `ServiceDeps`, the + service interface and the factory take the actor type `A` (default `unknown`), so existing calls + compile unchanged. `@metaobjectsdev/runtime-ts/service` gains the helpers they call + (`checkPermission`, `checkState`, `makeTransition`, `checkStateManaged`, `checkCreateState`, + `emitWrite`, `handlerContext`) and their types. +- **codegen-ts: the service layer, part 1 (ADR-0067 layers 4 and 5).** Two new generators, neither + scaffolded. `service` (the new `service` layer label, shared by every port's catalog) writes one + module per metadata package: a function per derived list, get, create, update and delete of each + concrete, table-backed, single-key entity, every write in one transaction (a savepoint inside a + caller's `opts.tx`) that loads the row under a row lock and then validates and stamps the input + with the declared write rules (ADR-0045), and `createService(deps)`. `service-routes` writes + the thin Fastify transport over it, one plugin per package. A new api-contract lane runs the + shared corpus against the service behind its transport, in both layouts, and passes as the flat + routes do; a compile gate builds the tier in every dialect. `@metaobjectsdev/runtime-ts` gains + the `./service` and `./service/fastify` entries they import, and `meta eject` copies them. + Write-through, TPH, many-to-many, projections and reports stay on the flat generators for now: + [docs/features/business-rules.md](docs/features/business-rules.md#the-service-layer-typescript). +- **codegen-ts: the trace helper's call loop is written into the project, and + `@metaobjectsdev/ai-runtime` is no longer published.** The `trace-helper` generator now writes + `llm-call.ts` (the `LlmClient` seam and `runLlmCall`) beside the `.trace.ts` modules, + and a `call` imports it from there, so generated trace code depends only on + `runtime-ts`, `render` and `metadata`. `ai-runtime` is `private` and leaves the publish set, + which is 13 packages; 1.2.3 stays on npm. Regenerate and drop the dependency: + [docs/features/migrations/ai-runtime-unpublished.md](docs/features/migrations/ai-runtime-unpublished.md) + (ADR-0024 Amendment 2). +- **cli: `meta schema` prints the expected schema, read-only.** `meta schema --dialect + postgres|sqlite|d1` prints the `CREATE` statements `meta migrate` would write for an empty + database, views included; `--as json` prints the neutral JSON document instead, the format + `meta migrate` commits as its snapshot, now described in `docs/features/schema-snapshot-format.md`. + It builds the schema the way `meta migrate` does (conventions, `migrate.scope`, the dependency + exclusion) and reads no database and no snapshot, so a native migration tool can start from it. + The dialect defaults to `migrate.dialect`, then to the `dialect` in `metaobjects.config.ts`. +- **C#: a `contract-types` generator writes each entity's create and update records (ADR-0067 layer 1).** + Opt-in, beside `entity`: add `new ContractTypesGenerator()` to `codegen/Generators.cs`. For each + writable entity it writes `Contracts.g.cs` with `Create` and `Update`, + `sealed record`s carrying the entity's validation attributes and wire converters. Neither carries + what the server owns: a generated key, an `@autoSet` stamp, a `readOnly` or derived field, a TPH + discriminator. A required member with no `@default` is a `required` member of the create record, so + a body that omits it does not bind. A `writeOnce` field is on the create record and off the update + record, since it is frozen after create. Every update member is optional; `Update.From` binds a + body and records which keys it carried, so `Has` tells an omitted member (untouched) from an + explicit null (cleared), and validation refuses null on a required member. The lifecycle field + stays on both, so the service shell can check it and refuse a change with `409 state_managed`. The + validation and converter attributes moved out of `EntityGenerator` into `ContractMembers`, which + eject hands over with either generator; the entity's output is unchanged. The shared generator + manifest gains the `contract-types` entry (C# only for now). +- **C#: a `rules-names` generator writes the business-rules names as constants (ADR-0067 layer 0).** + It is opt-in, like any generator: add `new RulesNamesGenerator()` to `codegen/Generators.cs`. For + each entity with a lifecycle it writes `Rules.g.cs`, with each lifecycle's states, initial + and terminal states, transitions, and the permission each derived command asks for. For each + `api.operational` it writes `Operations.g.cs`, with each operation's name, permission and + `@errors` codes. It also writes `RuleErrorCodes.g.cs` once, with the shell's own codes. Permission + names are derived the way `verify` derives them, and `rules.lifecycle.commands` decides which + transitions get one. A model with no rules vocabulary gets no file. It is a layer generator, so the + flat generators' output is unchanged and the codegen-noop rules corpus still holds them. The shared + generator manifest gains the `rules-names` entry (C# only for now). +- **sdk: the static agent files, built once for every port (ADR-0033 Amendment 1).** The + assembler now also runs at build time, once per stack a port's own command serves: each server + language alone and Java with Kotlin, each with no client, React, React with TanStack or + Angular. The result is committed at `agent-context-shipped/` (a manifest plus each distinct file + once, by content hash), for each port's package to embed and its `agent-docs` command to copy, + so a non-TypeScript project gets its agent files with no Node. `agent-context-shipped/README.md` + is the contract; `buildShippedAgentContext()` and `materializeShippedStack()` are exported, and + `shipped.test.ts` fails when the tree is stale or a stack differs from what `meta agent-docs` + writes. The ports' own commands land in their own rows; until then they still redirect. +- **sdk, cli: Rust is an agent-context server language.** `--server rust` (alias `rs`) is + accepted, and a `Cargo.toml` at the project root is detected as Rust. A Rust project's + always-on file gives the `cargo meta gen` loop and the `cargo meta verify` step, and a `rust` + case joins `fixtures/agent-context-conformance`. Libraries list Rust among their ports, checked + against the copy the Rust crate embeds. +- **codegen-ts: the rules names layer (ADR-0067 layer 0).** A new generator, `rules-names` + (`rulesNamesFile()`, ejectable), writes one `rules.names.ts` per metadata package that declares + a lifecycle or an operation: each lifecycle's states, initial and terminal states and + transitions, the commands derived from unclaimed transitions, the declared operations, every + permission the package asks about and the business errors its commands declare, as `as const` + values with literal-union types. The derivations move into `@metaobjectsdev/metadata` + (`derivedCommandsOf`, `operationPermission`, `commandPermission`, `claimedTransitions`, ...), and + `meta verify`'s rules gate now calls the same functions, so a constant and a verify message + cannot disagree. The loaded root carries the `rules` settings (`rulesSettings`). C# ships its own + `rules-names`; the other ports add theirs with their rules-layer work. No existing generator's output + moves (`fixtures/codegen-noop/rules`). +- **codegen-ts: the contract types layer (ADR-0067 layer 1).** A new generator, `contract-types` + (`contractTypes()`, ejectable), writes the shapes a caller and a service exchange with no + persistence mapping: `.contract.ts` (the read schema and type, the create and update + schemas, the typed create and patch), `.contract.ts` (the read shape), the value + modules they reach, `/operations.contract.ts` (each declared operation's input, output + and errors) and `errors.contract.ts` (the wire codes, their statuses and the error bodies). Each + module imports `zod` only. The field schemas are the entity generator's own renderers, and an + entity's contract read type is held equal to the entity file's on every dialect. C# writes the create and + update records with its own `contract-types`. No existing generator's output moves. +- **runtime-ts: the guarded update (ADR-0066 §6 step 5), and the shared scenario that holds every + store driver to it.** `ObjectManager.guardedUpdate(entity, id, { field, from, to, condition? })` + makes a lifecycle transition's write in one statement — `UPDATE … SET = :to WHERE + = :id AND IN (:from) [AND ]`, TPH-scoped — and answers the row, or `null` + when the guard matched nothing. The `@condition` (attr.expression's CHECK subset) compiles to + the driver contract, which gains three `WhereClause` kinds: `compare` (two operands, each a + column, a literal or a `coalesce`), `nullTest` over any operand, and `not`. A driver an adopter + wrote must handle them; the bundled Kysely, Drizzle and in-memory drivers do, the in-memory one + with SQL's three-valued logic. Guard symbols must be members of the state enum, and each symbol + and condition literal is stored in its column's form (an int-backed enum as its integer). The + persistence corpus gains `op: guardedUpdate` and `queries/guarded-update.yaml`; TypeScript runs + it on Postgres and MySQL, and C#, Java, Kotlin and Python defer it by name until each builds its + own. +- **openapi: the document describes `?search`, `filter[or]` and `filter[and]`.** A list whose row + has a text field the search matches takes a `search` parameter naming those fields, and a list + with any filter takes the two combinators as `deepObject` parameters whose description gives the + grammar and the nesting cap. Item `GET`, `PATCH`, `PUT` and `DELETE` now list the `400 invalid_id` answer the routes + already gave. A project that wires `openApiFile()` sees `openapi.json` change on the next + `meta gen`; the contract corpus goldens move with it. A new contract case, `list-query`, documents + the list-query model, and the list-query lane now holds every exchange to it as the other + generated lanes do; the check no longer exempts `search` and the combinators. +- **codegen-ts: the filter and sort allowlists are available as data.** + `filterAllowlistRules(entity)` and `sortAllowlistRules(entity)` return the rules that + `FilterAllowlist` / `SortAllowlist` are printed from. The generated files are + byte-identical. +- **Rust (ADR-0065 Amendment 3).** A project now chooses its generators in `metaobjects.config.json` +(`{ "generators": [...] }`, written by `cargo meta init`) and no longer needs to eject to drop one; +`cargo meta gen --list` shows each as configured or not. `cargo meta eject` no longer writes the +path of the machine the tool was built on into `codegen/Cargo.toml`: the owned crate names the exact +crates.io release by default, and `--engine ` names a checkout or a git +revision. The three crates lose `publish = false`, carry their packaging metadata, and the `rust` lane +runs `cargo publish --dry-run` over all four crates. Nothing is published. The new `metaobjects-render` +crate carries the Rust prompt render, the reply parser and the output-format fragment. `cargo meta eject --force` leaves a +copy that already matches the shipped generator untouched. `cargo meta verify` now runs the business-rules +gate (ADR-0066) too: the same five findings, severities and message text as the other ports, under the +four `rules.*` and `verify.lifecycle.unreachable` settings, held to `fixtures/rules-check-conformance/`. - **Java and Kotlin: `mvn metaobjects:init`.** The Maven plugin now has the scaffold goal the other ports have. It writes `.metaobjects/config.json` (the new-project settings every port's init writes) and an empty, loadable `metaobjects/meta.app.json`, each only when missing, and prints the @@ -1883,41 +1898,351 @@ Each item below is described in full under Security, Added, Changed or Fixed; th says pre-1.0. The `[Unreleased]` entries moved into this section, and its header says `unreleased` until the publish dates it. -- **ADR-0015 Amendment 1: EF Core Migrations is a supported second C# path.** `meta migrate` stays - the reference engine; the EF context is held to it by the shared CHECK corpus and the identity - start rule. -- **ADR-0044 Amendment 1 and ADR-0056 Amendment 2: a value object is never renamed.** The - package-qualified collision name is gone in every port; one claim registry per run refuses a real - clash with `ERR_NAME_COLLISION`. -- **Index names and list-hook names, corrected.** The authoring reference's index examples are - table-scoped (`userByEmail`, not `byEmail`) and say an index name is schema-wide, so a repeated - one fails `meta migrate` with `ERR_DUPLICATE_SQL_NAME`. The generated list hook is - `use`, or `useList` when the plural equals the name; the reporting page had it - backwards, and the codegen and runtime-UI skills named only one form. +- **ADR-0015 Amendment 1: EF Core Migrations is a supported second C# path.** `meta migrate` stays + the reference engine; the EF context is held to it by the shared CHECK corpus and the identity + start rule. +- **The rulings of 2026-11-25 are written down.** ADR-0015 Amendment 2: each language's native + migration tool is first-class, the Node engine is the reference helper, and the expected schema is the + contract (ADR-0033 and ADR-0065 are amended to match, and the Rust CLI's `--help` and `init` text and + the README, port pages and shipped skills say the same). The loader rule, "the loader refuses what is + invalid for the model; a limit of one generator is that generator's error", is in `GOVERNANCE.md`, + ADR-0037, the contributor rules and the agent instruction file, with the ledger of the four known + refusals. Generated-output change, so regenerate to pick it up: the always-on `.metaobjects/AGENTS.md`, + `agent/ui.md` and the authoring, audit and codegen skills now say "regenerated output" where they said + "disposable artifact", state the cost test for a one-off, and no longer imply an adopter runs the + conformance corpora. +- **ADR-0044 Amendment 1 and ADR-0056 Amendment 2: a value object is never renamed.** The + package-qualified collision name is gone in every port; one claim registry per run refuses a real + clash with `ERR_NAME_COLLISION`. +- **Index names and list-hook names, corrected.** The authoring reference's index examples are + table-scoped (`userByEmail`, not `byEmail`) and say an index name is schema-wide, so a repeated + one fails `meta migrate` with `ERR_DUPLICATE_SQL_NAME`. The generated list hook is + `use`, or `useList` when the plural equals the name; the reporting page had it + backwards, and the codegen and runtime-UI skills named only one form. + +- **Separate-repo model sharing (FR-023 Phase 2) close-out.** The feature page's Phase 2 section is now + the shipped per-port matrix (consume, check, publish, runtime load, transports), the deferred list + names what is still not built, and the verify, codegen, authoring, audit and capability-sheet skills + teach the Java, Kotlin and C# publish paths, the `deps` checks and the `maven` and `nuget` transports. +- **The `metaobjects-audit` skill checks that a project uses MetaObjects as documented, not only + that it installed it.** Axis F now asks whether the verify gate blocks: it looks for swallowed + exit codes, runs the project's own verify and records the error count (recommending a ratchet + for a tolerated count), lists every deploy path that skips it, and scores the gate BLOCKING, + RUNS BUT DOES NOT BLOCK or ABSENT; a project with no CI answers NO whatever untracked hooks it + has. Axis F2 reports `consumed / emitted` per generator kind and raises one + `generated-and-bypassed` finding where a hand-built page stands beside an unused generated one. + The prompt reference counts payload fields linked to entity fields (`extends: Entity.field`) + against unlinked copies. The requirements reference adds three currency checks: ledger + staleness from git history, `--require-implementers`, and live claims whose generated + implementer nothing uses. The unmodified-owned-copy check now covers Java, Kotlin, C# and + Python (the Java and Kotlin references no longer say those ports cannot eject), reported as one + line total. Phase 1b adds a shape-coverage census of every boundary shape. The scorecard gains a + "used as described" line, a re-run marks each earlier finding fixed, open or deferred against + the previous `.metaobjects/adoption-audit.json`, and the report documents the JSON's top-level + fields. + +### Changed + +- **The agent pages sort in code-unit order.** `agent/requirements.md` (its node index and + statements) and `agent/schema.md` (its tables and views) sorted names with `localeCompare`, + whose collation differs between machines and could not be matched exactly by another port. + They now sort by code unit, the order the docs-page corpus pins in every port, and Python's + pages drop the collation emulation they carried to match. A model whose names differ only in + case or punctuation may see those rows reorder once. Python's `agent/schema.md` now also + carries the `meta migrate` wording only for a project that set `migrate.dialect`, as the + TypeScript page does. Generated-output change — regenerate to pick it up; three-way merge + preserves hand edits. +- **The seven agent skills are rewritten for current models.** Each `SKILL.md` that `meta init` + installs now opens with an Essentials block, the rules that must survive when a long session + is compacted, gives the reason for each rule it keeps, and drops step lists the model does not + need. The descriptions of `metaobjects-audit`, `metaobjects-runtime-ui` and + `metaobjects-verify` now open with the use case. A blind A/B on 23 fixed tasks scored the + rewrite level with or ahead of the old text on every task + (`docs/superpowers/specs/2026-11-22-agent-skills-fable5-refactor-evaluation.md`); the harness is + `agent-context/evals/skill-ab/`. Run `meta agent-docs` to take the new text in an existing + project. Two reference files no longer say `apiPrefix` reaches the client's fetch URLs: the + client takes its prefix from `baseUrl` on the fetcher provider. `@metaobjectsdev/sdk` no longer + ships `agent-context/evals/`, the skills' test harness, in its npm package. +- **Local CI starts a lane only when the machine has the memory for it.** `scripts/ci-local.sh` + holds a waiting lane until `MemAvailable` covers `MO_CI_LANE_MIN_FREE_MB` (default 8192) for + it and for each lane started in the last 30 seconds. The first lane always starts, and `0` + turns the check off. On a busy machine the parallel lanes had driven memory down to + earlyoom's limit, and its SIGTERMs read as a crashed C# test host, SIGTERMed bun workers and + a killed `rustc`, not as a memory problem. The SQLite and D1 report api-contract file now + generates and boots one server per suite and reseeds in one batch, so it runs in about 46 + seconds instead of about 10 minutes, which no longer outlasts a 10-minute command cap. +- **C#: a list with no `limit` answers 50 rows (breaking).** A generated entity, TPH or projection + list route in a project that sets no `api.pagination` returned every matching row when the + request carried no `limit`; it now answers the first 50 (`ApiSettings.DefaultPageLimit`), as every + port does. An explicit `limit` is still served as asked (no maximum without the setting), and a + project that sets `api.pagination` is unchanged. Without the setting a `limit` or `offset` that is + not a non-negative integer is now `400 pagination.invalid_value` instead of being ignored, and + `limit=0` is a page of zero rows. The `dotnet meta verify --codegen` advisory `unbounded-list-pages` + is retired. Generated-output change — regenerate to pick it up; three-way merge preserves hand + edits. Check any client that reads a whole list without a `limit`: + [docs/features/migrations/default-list-page-of-fifty.md](docs/features/migrations/default-list-page-of-fifty.md). +- **`meta migrate` is the reference migration helper, one option, in the docs and the agent + files.** Each port page now leads with its native migration path (EF Core Migrations, Flyway or + Liquibase, Exposed, Alembic, sqlx), handed the schema `meta schema` prints. The always-on + `.metaobjects/AGENTS.md` carries the `meta migrate` steps, the `verify --db` step and the + `.metaobjects/migrations/` commit line only when the project chose a migrate dialect + (`migrate.dialect` in `.metaobjects/config.json`, which `meta init --dialect` writes); `meta init` + prints its migrate step on the same condition. The generated `agent/schema.md` says to change the + schema with `meta migrate` on the same condition, and otherwise with the project's own migration + tool. The shared page data gains `hasMigrate`, and the shipped agent tree (manifest schema `2`) + ships every stack with and without the steps, the second with a `-migrate` id suffix. +- **ADR-0066 §6 states that input validation precedes the permission point.** The policy is handed + the validated input, so an operation's `@inputRef` input is checked first; a caller the policy + would refuse can see a 400 with validation detail before the 403. An app that must answer + neither refuses that caller in its actor resolver or transport. +- **The install-size budget rises to 51.7 MB, by ruling.** Installing `@metaobjectsdev/cli` now + measures 51.5 MB against a 51.0 MB budget. The growth since #622 (the service generator and the + 1.3.0 codegen and runtime work) was measured late because hosted CI does not run `ts-slow`. + Declaration maps stay, so go-to-definition still reaches the shipped source. + `scripts/check-install-size.mjs` now accepts a raise only when the newest `history` entry in + `scripts/install-size-budget.json` records it with its reason and ruling. It also reads + `origin/main` when a checkout has no local `main`; before this, such a checkout skipped the + never-rises rule entirely. +- **runtime-ts: a list with no `limit` answers 50 rows (breaking).** A generated entity or + projection list in a project that sets no `api.pagination` returned every matching row when the + request carried no `limit`; it now answers the first 50, the default of every port. An explicit + `limit` is still served as asked (no maximum without the setting), and a project that sets + `api.pagination` is unchanged. The OpenAPI document states the default, the `meta verify` + advisory `unbounded-list-pages` is retired, and the shared `list-query/default-page-of-fifty` + scenario pins it over a 60-row seed. Check any client that reads a whole list without a `limit`: + [docs/features/migrations/default-list-page-of-fifty.md](docs/features/migrations/default-list-page-of-fifty.md). +- **react: `` moves to `@metaobjectsdev/react/image-upload`, and `react-easy-crop` + becomes an optional peer (breaking).** `ImageUpload` and `cropToBlob` leave the package root + for the new subpath, and the generated form imports them from there, so a project with no + `view.image` field no longer installs the crop library at all. A project with one adds + `react-easy-crop` (`>=6.2.3 <7.0.0`) to its dependencies. The adapter provider stays on the + root. Regenerate, and move any hand-written import: + [docs/features/migrations/react-image-upload-subpath.md](docs/features/migrations/react-image-upload-subpath.md). +- **The empty `@metaobjectsdev/forge` package is removed.** It was private, exported nothing and + had no importer. The forge vocabulary (`decision`, `principle`, `convention`, `glossary`, + `failure` and the `@forge*` attributes) is unchanged: `@metaobjectsdev/sdk` ships it as + `forgeTypesProvider`, and `FORGE-METADATA.md` now says so. The "The TypeScript forge provider" + section of `docs/features/extending-with-providers.md` is removed; that doc no longer names it. +- **Python: the entity model generator writes through the code writer (ADR-0063).** The model + modules (`.py` with `Create` and `Patch`), the shared `enums.py` and the + `_duration_wire.py` banner are built on a `PyWriter`, and `ruff` no longer runs over them, so the + bytes no longer depend on whether `ruff` is installed. Over 1,561 model modules generated from the + repository's fixtures, 1,146 are byte-identical, and the other 415 match once both versions are + put through the same `ruff` import sort and format. What moves: the standard-library and + third-party imports share one section (no blank line between `import datetime` and + `from pydantic import ...`, the writer's import order); a `Field(...)` too long for its line puts + one keyword per line; and a `field.duration` annotation too long for its line breaks inside + `Annotated[...]`. `PyWriter.gap()` asked for before the first body line now gives the two blank + lines PEP 8 sets after the imports and before a top-level class (a new `py-gap-after-imports` + writer-conformance case). For subclasses of `EntityModelGenerator` (not a stability contract, + ADR-0063 item 7): `_emit_field_lines`, `_emit_create_lines` and `_emit_patch_lines` return writer + pieces without indentation (`"name: int | None = None"`) instead of indented strings, + `_emit_cross_field_rules` returns a step that writes the method onto the writer (or `None`) instead + of lines, a new `_write_model` writes one class, and `render_entity_model` returns the finished + module rather than text for `ruff` to tidy. +- **C#: an unchanged file is never rewritten.** `dotnet meta gen` already left identical output alone + when the project keeps a hash manifest. It now does the same on the path with no manifest (output + written outside the project, or a program that runs the generators with no state directory), which + reports the file `unchanged` instead of `written`. `dotnet meta eject --force` compares each copy + (the generator, its emitters and the helper runtime) before writing it and reports one that already + matches the reference as `[unchanged]`. The gen fingerprint is rewritten only when it changes. +- **C#: the routes, expression-indexes, report-export, requirement-tests, shared-model and api-docs + generators are built from overridable pieces (ADR-0063 item 7).** The routes generator works out + what a file serves once (`PlanStandardRoutes`, `PlanTphRoutes`) and writes it from one + `protected virtual` method per piece: the file header, the list, item, create, update and delete + routes, the M:N traversals, the TPH polymorphic list and item routes, the sort dispatch and the + helper members. Its `Append*` helpers are renamed `Write*` and are `protected virtual`; its other + helpers and records are `protected`. The other generators follow the same rule, and `ApiDocsGenerator` + is no longer sealed. A subclass overrides the piece it wants and keeps the rest. Output is + byte-identical. These methods are not a stability contract. +- **Java and Kotlin: template and documentation output is recorded in the hash manifest.** The + `template` and `mustache` generators, the api, HTML, JSON and PlantUML documentation pages and the + `META-INF/services` registration wrote through a byte compare only, so a hand edit to one of them + was overwritten without the refusal every other generated file gets. They now go through + `GeneratedFileWriter.writeUnmarked`: each file is recorded under `.metaobjects/.gen-state/.hashes/`, + unchanged bytes are not rewritten, and a hand edit is refused by name under `handEdits: keep`. An + existing file at one of these paths that the manifest has no record of is taken as generated + output on the first run (it can carry no `GENERATED` marker), so upgrading refuses nothing. The + orphan sweep and `metaobjects:verify` now see these files too: one a template stops emitting is + deleted when untouched, as other generated files are. The documentation generators also no longer + create an empty file before writing, so `metaobjects:verify`'s in-memory render leaves nothing on + disk. +- **Java and Kotlin: a gate that every generator writes through `GeneratedFileWriter`.** + `GeneratorWritePathTest` runs every registered Java and Kotlin generator over the shared fitness + corpus and fails when a file is left on disk that the writer did not write, or when a second run + changes a file's bytes or modification time, so a new generator cannot skip the hash manifest or + the unchanged-bytes check. +- **C#: the codegen project sets every `GenConfig` option.** `dotnet meta init` now writes a + `Generators.Configure` method beside the generator list, and `codegen/Program.cs` passes it to + `CodegenCli.Run`. It receives the config a run builds from its flags and `.metaobjects/config.json` + and returns the one the generators see. That makes the options no flag or config key sets + reachable on the normal path: `ContextTypeName`, `PropertyNaming`, `ProvidedEnumNamespace`, + `PackageNamespaces`, `TypeOverrides`, `Convention`, `UnmappedStrategy` and the rest. `gen` and + `verify --codegen` both apply it. An existing codegen project keeps working unchanged; to use it, + add the method and pass `Generators.Configure` as the third argument in `Program.cs`. +- **C#: an unknown top-level key in `.metaobjects/config.json` warns.** It was ignored without a word, + so a misspelt key (`scopes` for `scope`) did nothing. It is still ignored, and nothing fails, + because a newer MetaObjects may have written it, but each one is now named once on standard error + with the known keys, in the words TypeScript uses. A key inside a block C# owns (`csharp`, + `naming`, `wire` and the rest) is refused as before. +- **The REST standard's list handling is part of the cross-port contract.** `?search`, + `filter[or]` / `filter[and]`, the nesting cap, the bare-field and leading-`%` refusals, the + filter-value format check, and the `invalid_json`, `invalid_id`, `pagination.invalid_value` and + `constraint_violation` responses were TypeScript-only extensions. `docs/features/api-contract.md` + now states them as contract, with TypeScript's wire names unchanged. Two corpora hold the ports + to it: + - a new shared corpus, `fixtures/list-query-conformance/`: 95 parse cases, each a query string + in and either a filter tree in neutral values or the exact 400 body out, run with no server + and no database; + - a 20-scenario `list-query/` sub-corpus of `api-contract-conformance/`, over a 60-row seed, in + the generated lane. + + TypeScript passes both. The other ports take them on in their 1.3.0 REST-standard work. The + decision is [ADR-0068](spec/decisions/ADR-0068-list-query-cross-port-contract.md). A + scenario can now send a body that is not JSON with `rawBody`. +- **Java: the Spring controller generator writes through the code writer (ADR-0063).** + `SpringControllerGenerator` writes through `SpringJavaWriter`, a `JavaWriter` that adds the two + layouts Spring source uses and a block does not: a continuation line (two indents deeper) and an + indented `case` body. Every member of the generated controller comes from its own protected + `write*` method, so an owned copy changes one handler by overriding one method; the `append*` + helpers that took a `StringBuilder` are gone. The shared validator members and the decimal and + duration import lists in `SpringGeneratorSupport` are written through the writer too + (`writeCrossFieldValidationMembers`; `decimalAnnotationImports` and `durationAnnotationImports` + now return qualified names). A generated controller changes in two layout details only, checked + on 1,512 controllers from every fixture model: its imports are sorted, and the blank line after + `public class ... {` is gone. -- **Separate-repo model sharing (FR-023 Phase 2) close-out.** The feature page's Phase 2 section is now - the shipped per-port matrix (consume, check, publish, runtime load, transports), the deferred list - names what is still not built, and the verify, codegen, authoring, audit and capability-sheet skills - teach the Java, Kotlin and C# publish paths, the `deps` checks and the `maven` and `nuget` transports. -- **The `metaobjects-audit` skill checks that a project uses MetaObjects as documented, not only - that it installed it.** Axis F now asks whether the verify gate blocks: it looks for swallowed - exit codes, runs the project's own verify and records the error count (recommending a ratchet - for a tolerated count), lists every deploy path that skips it, and scores the gate BLOCKING, - RUNS BUT DOES NOT BLOCK or ABSENT; a project with no CI answers NO whatever untracked hooks it - has. Axis F2 reports `consumed / emitted` per generator kind and raises one - `generated-and-bypassed` finding where a hand-built page stands beside an unused generated one. - The prompt reference counts payload fields linked to entity fields (`extends: Entity.field`) - against unlinked copies. The requirements reference adds three currency checks: ledger - staleness from git history, `--require-implementers`, and live claims whose generated - implementer nothing uses. The unmodified-owned-copy check now covers Java, Kotlin, C# and - Python (the Java and Kotlin references no longer say those ports cannot eject), reported as one - line total. Phase 1b adds a shape-coverage census of every boundary shape. The scorecard gains a - "used as described" line, a re-run marks each earlier finding fixed, open or deferred against - the previous `.metaobjects/adoption-audit.json`, and the report documents the JSON's top-level - fields. + The DTO, value-object and shared-enum generators follow (`SpringDtoGenerator`, + `SpringValueObjectGenerator`, `Fr019SharedEnum`). A record, patch class, stamping helper and + enum declaration each come from a protected method, and the string-returning helpers they used + are replaced by writer ones: `SpringTypeMapper.enumDeclaration` by `writeEnumDeclaration`, + `SpringRecordBuilder.members` by `writeMembers` (with `applies` to ask first), and an owned DTO + generator customizes every file it writes by overriding `newWriter`. Their output changes in + layout only, checked on every fixture model in two wire and API configurations: sorted imports + with no blank between groups, no blank line after `public final class ...Patch {` or a doubled + one in a patch with no settable fields, no trailing indent on the blank lines of a nested enum, + and no leading blank line in a file with no package. +- **runtime-ts: one list-query parse for every mount.** `parseListQuery` (exported from + `@metaobjectsdev/runtime-ts`; it does not depend on Drizzle) reads a list request into a + port-neutral `ListQuery`, and each mount compiles that for its own query library. The Drizzle + and Hono mounts and the `ObjectManager` Fastify mount all use it. The `ObjectManager` mount + (`@metaobjectsdev/runtime-ts/fastify`) takes two new options: + - `filterAllowlist`: it then serves `filter[...]`, `filter[or]` / `filter[and]` and `?search` + and refuses what the Drizzle mount refuses, with the same bodies; + - `pagination`: the `api.pagination` page size. -### Changed + The names, repository and report-export generators follow (`SpringNamesGenerator`, + `SpringRepositoryGenerator`, `SpringReportExportGenerator`), each finder, constant block and + writer section from its own protected method; the one layout change in their output is that + the blank line after the class or interface opener is gone. So does the output-parser generator + (`SpringOutputParserGenerator`), whose `StringBuilder` seams (`emitMapperMethods`, `emitMapper`, + `appendMapperHelpers`) now take the writer, and whose parsers gain a blank line after the + leading `// GENERATED` comment besides sorted imports. The filter-allowlist, response-format and + render-helper generators follow: the allowlist output is unchanged, and the other two gain the + same blank after the leading comment, sorted imports and no blank after the class opener. + `SpringNaming.packageHeader` is removed; the writer's `packageName` replaces it. The LLM-trace + helper and the `requirement-tests` generator follow with the same layout changes, and the + witness-key collision error now lists its colliding pairs on one line, separated by `; `. + In `codegen-base`, the entity extractor (`ExtractorCodeGenerator`, whose `write*` seams now take + a `JavaWriter`, and whose `writeHeader` no longer takes the extractor name or writes the class + opener) and the generated `ObjectClassBindingProvider` move to the writer too, with sorted imports + and no blank after the class opener; the older object code writers take their indentation unit + from `WriterOptions` (`JAVA`, and the new two-space `DIRECT`) instead of a typed string. Every + Java generator now writes through the code writer, so the layout ratchet's `unconverted` list + is empty. `CodeWriter`, `JavaWriter`, `WriterOptions` and `SpringJavaWriter` join the Java + engine surface (`eject.engineSurface.java.engine`), so an ejected generator imports them from + the package rather than copying them. + With no sort, the `ObjectManager` mount now orders by the primary key. The `ObjectManager` + `Filter` gains `$or` and a case-insensitive `$ilike`, and the class gains `keyFields()` and + `fieldNames()`. +- **Reporting and requirements are vocabulary packs, out of core.** The reporting vocabulary + (`object.report`, `dimension.*`, `measure.*` including `measure.derived` and its `@expr`, + `segment.filter`, the entity's dimension, measure and segment children and `@segment` on + `origin.aggregate` and `origin.first`) is now registered by its own provider, + `metaobjects-reporting`. The requirements vocabulary (`requirement.functional`, + `requirement.architectural` and the root's `requirement.*` child) is registered by + `metaobjects-requirements`. Both are in the default bundle of every port, so a model that loads + today loads and generates the same. An embedder can leave either out, and a model that then uses + its types gets a loader error naming the unknown type or subtype (new fixtures + `error-packs-left-out-*-used`). The `verify` requirements gate reads the nodes the pack + registered: with the pack left out, a model with no requirements gets a silent ledger. The core + vocabulary pin loses these types and attributes, and the registry manifest changes in one row: + the root's `requirement` child rule now states `min: 0, max: null`, as `api` did when the rules + pack moved out. A subtype a pack declares with `extendsBase` may now fold a base another provider + registered (`object.report` folds `object.base`); those folded attributes stay owned by the base's + provider. GOVERNANCE.md now says an attribute promoted from a pack into core keeps its name and + meaning. +- **A template that names a variable the payload lacks fails to render, in every render path.** + Mustache and Jinja raise `render verify failed: ERR_VAR_NOT_ON_PAYLOAD ()` for a missing + variable or dotted path, where they used to render it empty. A variable that is present and null + still renders empty. The Rust `metaobjects-render` crate raises it too, so all six renderers + agree. Render fixtures may now carry `expected-error.txt` in place of `expected.txt`. +- **Business rules: two operations or transitions whose permission names come out equal are + refused (rule P3).** A permission name is the declared `@permission`, or else the derived + `.`, compared exactly as the policy receives it, so `p::Order.open` and + `p.Order.open` are two names. When two permission points resolve to + the same name and at least one of the two names is derived, the loader reports + `ERR_TRANSITION_NAME_COLLISION` on the later one. Two equal declared names stay legal: that is a + shared permission. New fixtures `error-rules-permission-name-op-{dotted,declared}` and + `rules-permission-name-package-separator-distinct`. Java now accepts dotted operation names + (`Order.open`), as TypeScript, C# and Python already did. +- **C#: a `@sequenceStart` whose migrations project lacks the design-time services line is a generation + error.** When `dotnet meta gen` can see the context's `ModelSnapshot.cs` in another project and that + project does not carry `[assembly: DesignTimeServicesReference]`, the next `dotnet ef migrations add` + would scaffold `RESTART WITH n` and hand out ids live rows hold. The run now fails with + `ERR_DESIGN_TIME_REFERENCE_MISSING`, naming the project and the line to add, instead of warning. A + run that cannot tell (no snapshot on disk yet) and a project that declares no `@sequenceStart` still + get the warning. +- **C#: the filter allowlist, names, callable, output-prompt, output-parser and extractor generators + write through a code writer (ADR-0063).** `MetaObjects.Codegen.Writer.CsWriter` carries the layout + (indent, braces, `using` lines, blank lines), and each of those generators is a class built from + overridable per-piece methods. The output is unchanged except in one place: a parser generated + for a reply declared `@responseFormat: xml` no longer has a blank line right after its opening + `{` (the writer drops a blank line after an opener, as it does in every port). A layout check + with an allowlist that only shrinks keeps new hand-typed layout out of the generator source. + The shared writer-conformance corpus gains six C# cases. +- **C#: the last six generators write through the code writer (ADR-0063).** The routes generator, the + reverse-finder emitter, the expression-indexes, report-export and requirement-tests generators and the + render-helper generator no longer type line breaks or indentation, so the layout check's list of + unconverted generators is empty. Output is byte-identical on the 737 model fixtures in four layouts, + with these exceptions the writer owns: the shared `ReportExportWriter.g.cs` now ends with a newline + like every other generated file; a `// ` comment line for an empty statement is written as `//`; and + an empty requirement-tests witness interface has its braces on two lines. The routes generator's + `AppendOffsetLimit` and `AppendSaveChanges` helpers lose their `indent` argument, and its private + helpers take a `CsWriter`. The requirement-tests collision message indents its list by four spaces. +- **C#: the DbContext generator writes through the code writer (ADR-0063).** `DbContextGenerator` + (the context, its `OnModelCreating` and `ConfigureModelNN` chunks, the enum, map and duration helpers + and the design-time services file) builds each file on a `CsWriter`. Output is byte-identical for the + 737 model fixtures in all four layouts. **An owned or subclassed generator needs a small edit.** The + hooks `EmitUsings`, `EmitDbSetDeclarations` and `EmitOnModelCreatingBody` take a `CsWriter` in place of the + `StringBuilder`, and `EmitUsings` opens the class body with `w.Open("{")`. The hooks that return + text now document their lines as unindented; a line that still carries an indent is accepted, since the + writer removes the common margin. A `ContextUsings` line is a `using ...;` directive, printed once in the + order given. The layout check's allowlist loses the DbContext generator's entry. +- **C#: the entity generator writes through the code writer (ADR-0063).** `EntityGenerator` (mapped + entities, TPH subtypes, abstract shapes, value objects, shared enums and the decimal, duration and + net-validation helper files) builds each file on a `CsWriter`. Output is unchanged for the 737 model + fixtures in all four layouts except three layout details the writer owns: a class with no members + has no blank line between its braces, a blank line before a closing `}` is dropped, and a `///` + doc line has no trailing space. **An owned or subclassed generator needs a small edit.** The hooks + `EmitClassHeader`, `EmitClassAttributes`, `EmitClassDeclarationLine`, `EmitPropertyAttributes`, + `EmitFileUsings` and `EmitClassBodyTrailer` take a `CsWriter` in place of the `StringBuilder`, and write + lines with `w.Line(...)` or `w.Using(...)`, with no typed indentation. The base class still adds + `IValidatableObject` to the declaration line an override wrote. The property emitters are renamed + `WriteScalarProperty`, `WriteEnumProperty`, `WriteObjectNavProperty`, `WriteMapProperty` and the + `WriteTphSubtype*Property` pair, and the validator-attribute writers `Write*ValidatorAttributes`. + `ValueObjectMemberAttributes` returns lines with no indent (it used to return four spaces of it). + `XmlDocBuilder.WriteTo(writer, node)` is the writer form of `AppendTo`. The public statics + `EntityGenerator.M2mNavProperty` and `ExtractDelegateEmitter.DelegatingMembers`, which returned a + string, are now `WriteM2mNavProperty(CsWriter, ...)` and `WriteDelegatingMembers(CsWriter, ...)`, + returning void. `NamesGenerator.Member` and `MemberGroups` are now protected. A flat-layout shared-enum + file that holds two or more namespaces no longer ends with an extra blank line. The layout check no + longer lists `EntityGenerator.cs` as unconverted. +- **`migrate.foreignKeyTargets: "warn"` turns the refusal of a foreign key onto a non-unique target into + a report.** For a database whose unique index on the target is hand-made and not declared in the + metadata. The default, `"refuse"`, is the 1.3.0 behavior; the refusal's hint now names the setting. See + [Migrations and drift](docs/features/migrations-and-drift.md). - **Business rules and view expressions are packs, not core vocabulary.** The 1.3.0 vocabulary that never shipped in a release moves out of the one provider a project cannot leave out (`metaobjects-core-types`) into two providers of its own, in every port that carries it @@ -2514,6 +2839,109 @@ Each item below is described in full under Security, Added, Changed or Fixed; th ### Fixed +- **codegen-ts-angular: the generated form binds its controls.** Each control in + `.form.component.ts` read `[formControlName]=""email""`, a binding whose quoted + expression was cut short by the attribute's own quotes, so Angular bound no control. It now + writes `formControlName="email"`. The form also imports `Validators` only when a control uses + it, and the `__ensureValidatorsImport__` line that kept the import alive is gone. The TanStack + and Angular templates now write through the code writer (ADR-0063). Their output is otherwise + the same code, with imports merged per module and sorted. +- **codegen-ts: an entity named after a reserved word gets a queries module that parses.** An + entity called `Case` (or `Default`, `Class`, …) wrote `const [case] = await db.select()…` in + its `.queries.ts`, which is a syntax error; the row variable now takes the `Row` suffix + (`caseRow`) that a collection-name clash already took. +- **The model explorer builds on a project with its own top-level vocabulary.** Two top-level + nodes of different types sharing a package and a name (an entity `Lead` and a page `Lead`) + made `buildExplorer` throw `two nodes share the id`. The object now keeps the plain + `::` id and each other node adds its type, `acme::crm::Lead[page.list]`, as a + nested sibling already did; a model with no such collision gets the same ids as before. A + requirement whose id took a qualifier still takes its ledger row. +- **`meta gen` and `cargo meta gen`: the skip key now covers a linked generator package.** In + TypeScript, the ADR-0064 skip key ignored every `@metaobjectsdev/*` package the config imported, + on the assumption that the CLI aliases it onto its own engine copy. Only the packages the CLI + actually aliases are left out now. Any other `@metaobjectsdev/*` package, such as an independent + pack, is hashed like any third-party generator package: a linked or source checkout by the content + of its files, an installed one by its version. In Rust, a crate the owned `codegen/` crate depends + on by `path`, in a build table or a `[patch]`, is now an input too, followed through that crate's + own path dependencies and the workspace it inherits from; the `metaobjects` and + `metaobjects-codegen` engine crates are still covered by the engine's own source hash. Both ports + bump their fingerprint format, so the first `gen` after upgrading renders once. Before this + change, editing such a package's generator code while the model, the config and the lockfile + stayed the same left the key unchanged, and `gen` skipped over stale output. +- **The template check reads `@responseRef`.** `verify`'s template gate now reports + `ERR_RESPONSE_UNRESOLVED` (error) for a reply type with no readable field, and + `ERR_RESPONSE_TAG_UNDECLARED` (warning) for an xml prompt's `@requiredTags` tag that names + neither the reply type nor a field in it. TypeScript, Java (and so Kotlin), C#, Python and + Rust, pinned by `fixtures/response-verify-conformance/`. +- **The deprecated-reference finding ends its sentence before naming the replacement.** It read `…Team: the league no longer tracks teams Replaced by acme::app::Club.`; it now reads `…tracks teams. Replaced by acme::app::Club.` A reason that already ends in `.`, `!` or `?` is left as written. +- **codegen-ts: a `runGen` with no project no longer leaves its gen-state in the scratch root.** + The state of such a run is kept for that process's later runs only, and is removed when the + process exits normally (a process killed by a signal still leaves it). Before this fix, each such process left `meta-gen-state-` behind + permanently. The test harnesses that generate with no project had left hundreds of those + directories, about 3 GB, in a RAM-backed `$DEV_SCRATCH`. +- **runtime-ts: the generated service keeps its rollback guarantee on a sync SQLite driver.** On + bun:sqlite and better-sqlite3, Drizzle's `transaction()` commits when its callback returns, so a + service write that awaited inside it committed at its first `await`: a hook's or a body's refusal + answered 409 over a row that stayed. The service now drives those drivers' transaction itself + (`BEGIN IMMEDIATE`, `COMMIT`, `ROLLBACK`, one at a time per handle, a savepoint inside a caller's + transaction), and a read outside a transaction waits for the one in flight. The generated `Db` + type on SQLite accepts a sync driver again, as the flat queries module does. New + `withWriteTransaction(db, fn)` runs several operations atomically on any driver; on a sync + driver, pass its `tx` to each one inside it. +- **codegen-ts: a trace helper whose response value object has a required field compiles.** It + cast the extracted record straight to the value object's interface, which `strict` TypeScript + refuses; it now casts through `unknown`, after checking that no required field was lost. +- **Java: a standalone `{{! comment }}` line leaves no blank line.** mustache.java kept the line break + after a standalone comment tag, so a Java render had one extra blank line where TypeScript, C# and + Python had none. `Renderer` now strips standalone comment lines before mustache.java parses them. A + template with such a line renders differently in Java, so a prompt body with one changes bytes (and + its prompt-cache prefix) on upgrade. The `render-standalone-*` fixtures pin the whitespace rules. +- **Python: `@union` and `@grain` projections are checked at load.** A union member whose fields + differ in name, subtype, array-ness, `@column` or enum shape, a member that is the projection + itself or declares its own `@union`, `@unionAll` without `@union`, a `@grain` that does not name a + base-entity `field.object` jsonb array with `@objectRef`, an aggregate in a `@grain` view, and a + malformed `@grainOrdinal` are now `ERR_BAD_ATTR_VALUE`, as in TypeScript and C#. Python passes the + `error-projection-union-shape` and `error-projection-grain-not-object-array` fixtures. +- **Java and Kotlin: `mvn metaobjects:eject -Dforce=true` no longer rewrites an identical copy.** An + owned generator, template, support or runtime file, or the `codegen/pom.xml`, that already holds + exactly the reference content is left alone and reported as identical, with or without `force`. + The codegen fingerprint, `metaobjects:fmt` and `metaobjects:init` also compare before they write. +- **Fixed: the filter nesting cap could not be reached.** `qs`'s default depth of 5 kept the sixth + bracket pair as part of the key, so `filter[or][0][or][0][or][0][a][eq]=1` read as a field named + `[0][a][eq]` and answered `invalid_filter_field` instead of `filter.nesting_too_deep`. Every + TypeScript mount now parses with `parseListQueryString`, whose depth is sized to the cap. As part + of the same fix, a combinator branch that names no field (`filter[or][0]=x`) is now + `400 invalid_filter_value` with `field: "or"`; before, it was an unknown field named `0`. +- **Fixed: on SQLite, `like` through the `ObjectManager` was case-insensitive.** The Kysely and + Drizzle drivers sent SQLite's native LIKE, which folds ASCII case, against ADR-0049. They now + lower `like` to GLOB on SQLite, as the generated routes already did, and to a binary comparison + on MySQL. +- **Fixed: `?search` on an entity with an int-backed enum answered 500 on Postgres.** The search + included every filterable text field, and an int-backed (`@intValueMap`) enum is an integer + column, so Postgres refused the ILIKE. Search now covers only fields whose operator band + includes `like`. +- **Python: a primitive array persists on SQLite and MySQL.** The `ObjectManagerDb`'s SQLite and + MySQL dialects bound no list, so an `isArray` string, number, date, uuid or enum field could not be + written there. The column the TypeScript-owned schema gives it (`TEXT` on SQLite, `JSON` on MySQL) + now holds a JSON array, an int-backed enum's as its integers (`[5,0]`), and each element reads back + through the scalar decode. `roundtrip-int-enum-array` runs on both engines instead of being deferred. + A `field.date`, `field.time` or `field.timestamp` array was refused on write on every engine, + Postgres included (the list was parsed as one value); it is now parsed element by element. +- **Python: an unrestricted `routes` is no longer refused for objects it writes no router for.** + `metaobjects gen` refused a config that limits `filter-allowlist` (or `entity`) to some packages + while `routes` is left unlimited, whenever another package held an abstract or sourceless object, + saying `routes` covered it. `routes` writes nothing for those objects, so only the objects it + routes count now. A routed object's model still imports the abstract base it `extends`, the value + objects its fields reference and its M:N targets, so limiting `entity` away from one of those is + still refused. So is the concrete subtype of a routed discriminator base, whose `Create` and + `Patch` models the base's router imports. +- **Python: `metaobjects eject --force` no longer rewrites an identical copy.** It compares each file + with the reference before writing, and one that already matches is left alone and reported + `unchanged`. +- **Python: a reverse finder over a flattened value-object member is named by its flat key.** A + reference whose `@fields` names a member such as `address.countryId` emitted a method name with a + dot in it, which is not Python. It is now `find_plans_by_address_country`, as TypeScript names it, + so the generated finder name changes for such a model on upgrade. - **Python: an `origin.computed` `@expr` and a validator `@condition` accept every expression function and the `cast` node.** The Python loader knew only `coalesce`, so a projection that used `lower`, `greatest`, `splitPart`, `concat`, `nullif`, `length` or `{ cast, as }` was refused with diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f899b13a90..219f2a5958 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -56,6 +56,10 @@ means adding/updating a conformance fixture** so every port verifies it — see from a registered provider plus a `registry-conformance` fixture. If a generator can *derive* something from existing metadata, derive it — don't add an attribute. See [`spec/decisions/ADR-0023-strict-metadata-provenance.md`](spec/decisions/ADR-0023-strict-metadata-provenance.md). +- **Apply the loader rule:** the loader refuses what is invalid for the model; a limit of one generator is that generator's error. A new loader refusal needs a model that + is ambiguous or contradictory on its own; a limit of one generator belongs in that generator. + See [GOVERNANCE.md](GOVERNANCE.md#the-loader-rule) for the rule and the ledger of the four known + cases. - **Preserve the cross-language wire format and vocabulary exactly** — see [CLAUDE.md](CLAUDE.md) → *Cross-language porting*. diff --git a/GOVERNANCE.md b/GOVERNANCE.md index 72f5f59627..408376b8ac 100644 --- a/GOVERNANCE.md +++ b/GOVERNANCE.md @@ -130,6 +130,26 @@ the rulings this rests on, changing the kinds, the one-way dependency or the nam model-format and compatibility change, and so needs a core maintainer. Building a pack inside those rules does not. +### The loader rule + +**The loader refuses what is invalid for the model; a limit of one generator is that generator's error.** The loader refuses a model only when the model itself is ambiguous or +contradictory: two declared names that resolve equal, two bindings on one method and path, a +reference to something that does not exist. A clash with a name only a reference generator derives, +or a subtype one generator cannot emit, is that generator's error, raised when it runs. A model +that loads must stay usable by every other generator and by an adopter's own. Relaxing a loader +refusal is never a break. Adding one is a model-format change and needs a core maintainer. +The rule is a step of [ADR-0037](spec/decisions/ADR-0037-metamodel-vocabulary-expansion-decision-framework.md). +The refusals that predate it, and where each goes: + +| Refusal | Where it lives | Status | +|---|---|---| +| A transition or operation named like a derived CRUD verb (`ERR_TRANSITION_NAME_COLLISION`) | Every port's loader (rules validation), pinned by the `error-rules-*` conformance fixtures | Unreleased in 1.3.0. Moves into the service generator's own error (the TypeScript `service`, `service-routes` and `service-routes-hono` generators exist in this release); the move touches five loaders and those fixtures. | +| `@errors` codes that collide with a reserved code | Every port's loader (rules validation), same fixtures | Unreleased in 1.3.0. Moves with the one above. | +| `ERR_FILTERABLE_UNSUPPORTED_SUBTYPE` | Loader validation passes | Released. Stays; moves to the REST generator when that code is next touched. Relaxing a refusal is never a break. | +| `ERR_SORTABLE_UNSUPPORTED_SUBTYPE` | Loader validation passes | Released. Same as the filter refusal. | + +Any other refusal that predates the rule stays as it is until someone touches it, and joins this table then. + ### Releases The core maintainers decide when a release happens, what version it carries, and what goes in diff --git a/README.md b/README.md index db9a1ca21f..afa1a484cf 100644 --- a/README.md +++ b/README.md @@ -55,14 +55,15 @@ gated by `meta verify --codegen`, which is what keeps output from drifting. See [write your own generator](docs/recipes/write-your-own-generator.md). Java, Kotlin, C# and Python start the same way from their own package: see -[`docs/ports/`](docs/ports/). **Their schema migrations and database checks still run in the -Node `meta` tool** (`npx meta migrate`, `npx meta verify --db`), so those teams need Node where -migrations are written or applied. Where the ports behave differently (list defaults, error +[`docs/ports/`](docs/ports/). **Their schema migrations run in the language's own tool** +(Flyway, Liquibase, Alembic, EF Core Migrations), handed the schema `meta schema` prints; the Node +`meta migrate` is the reference helper, one option. Only an adopter who takes the helper, or +checks a live database with `meta verify --db`, needs Node. Where the ports behave differently (list defaults, error bodies, field names, data access) is listed in [What differs by language](docs/features/language-differences.md). -The metamodel is the **durable spine**; generated code is the **disposable -artifact**. Substrate is local-first: typed metadata lives in your repo as YAML or +The metamodel is the **durable spine**; generated code is **regenerated +output**. The reference generators help a team get started and are never the required way. What they generate is real code: run it, extend it, or replace the generator. Substrate is local-first: typed metadata lives in your repo as YAML or JSON you own. The entity/model tier of the output is dependency-free, and the optional client, prompt-render, and runtime tiers are ordinary Apache-2.0 packages you could vendor or fork. If the package ecosystem disappears tomorrow, you keep working code. @@ -222,7 +223,7 @@ MetaObjects has two layers, and only the first is a promise | | Core — guaranteed | Helpers — yours | |---|---|---| -| **What** | The contracts and the conformance kits: the metamodel, loader, canonical format and registry; the store-neutral contracts (the expected schema, and the guarded update, which a persistence-conformance scenario holds every store driver to, ADR-0066 §6); the drift gates (`meta verify`); prompt render and the reply parser | Store-specific code (SQL writers, introspectors, drivers such as the `ObjectManager` drivers and the `meta migrate` writer, mappings) and every generator that writes code into your repo — the ones you write for the outputs you need, and the routes, controllers, ORM wiring, DTOs, forms, grids and hooks MetaObjects ships | +| **What** | The contracts, and the conformance corpora this repository runs every port against: the metamodel, loader, canonical format and registry; the store-neutral contracts (the expected schema, and the guarded update, which a persistence-conformance scenario holds every store driver to, ADR-0066 §6); the drift gates (`meta verify`); prompt render and the reply parser | Store-specific code (SQL writers, introspectors, drivers such as the `ObjectManager` drivers and the `meta migrate` writer, mappings) and every generator that writes code into your repo — the ones you write for the outputs you need, and the routes, controllers, ORM wiring, DTOs, forms, grids and hooks MetaObjects ships | | **Promise** | Conformance-gated, the same behaviour in every port that ships it, covered by the [compatibility policy](docs/compatibility-policy.md) | Supported helpers that compile and pass their reference fixtures, with the same capabilities in every port unless a ruling says otherwise. The code they generate is real code: run it as shipped, extend it through hooks, or copy it with `meta eject` and own it | | **A defect is** | A MetaObjects bug, fixed in a release | A bug in the reference, fixed there; your copy is yours | @@ -352,9 +353,10 @@ metaobjects/ | C# | `dotnet tool install --global MetaObjects.Cli` → [`docs/ports/csharp.md`](docs/ports/csharp.md) | | Python | `pip install metaobjects` → [`docs/ports/python.md`](docs/ports/python.md) | -Every language also needs the Node `meta` CLI for the schema: `npm i -D @metaobjectsdev/cli`, -then `npx meta init --config-only` in a Maven-, .NET- or pip-rooted project, and -`npx meta migrate` / `npx meta verify --db` from there. The per-language differences are in +A team that takes the reference migration helper or the live-database check needs the Node +`meta` CLI for it: `npm i -D @metaobjectsdev/cli`, then `npx meta init --config-only` in a +Maven-, .NET- or pip-rooted project, and `npx meta migrate` / `npx meta verify --db` from +there. Teams on their own migration tool need no Node. The per-language differences are in [What differs by language](docs/features/language-differences.md). ## Cross-language conformance diff --git a/agent-context-shipped/files/16283aaffb2211da.md b/agent-context-shipped/files/003d471c39227bb7.md similarity index 96% rename from agent-context-shipped/files/16283aaffb2211da.md rename to agent-context-shipped/files/003d471c39227bb7.md index f3344a642c..864378d161 100644 --- a/agent-context-shipped/files/16283aaffb2211da.md +++ b/agent-context-shipped/files/003d471c39227bb7.md @@ -53,8 +53,8 @@ run the Node `meta deps check` for those). A project that publishes a model wire `shared-model` generator; `verify --codegen` drift-gates its output. Kotlin generators run through the **same Maven plugin goal** as Java generators — -both are SPI-discovered by the `metaobjects-maven-plugin`. Schema migration + live-DB -drift run through the **Node `meta` CLI** regardless of server language — see the +both are SPI-discovered by the `metaobjects-maven-plugin`. Schema migration is your own tool or the Node `meta migrate` +reference helper; live-DB drift is the Node `meta verify --db` whichever tool built the schema — see the migration reference. The active generator list is declared in `pom.xml` under the plugin `` @@ -169,5 +169,5 @@ cross-port versioning — **do not flag it** (only intra-port skew matters). richer list surface (`?search=`, `filter[or][N]` / `filter[and][N]` combinators, leading-wildcard gating; ADR-0068) passes in TypeScript and C#, and is pending in Kotlin until the Kotlin port's 1.3.0 REST-standard work lands — do NOT flag its absence in Kotlin until then. -- **No JVM migrate goal.** Schema migration is Node-`meta`-owned for every port - (ADR-0015). The Maven plugin has no migrate goal; `meta migrate` is correct. +- **No JVM migrate goal.** Schema migration is your own tool or the Node `meta migrate` + reference helper (ADR-0015 Amendment 2). The Maven plugin has no migrate goal; `meta migrate` is correct. diff --git a/agent-context-shipped/files/557ddbd9e39fedee.md b/agent-context-shipped/files/0121296a2cb80b43.md similarity index 99% rename from agent-context-shipped/files/557ddbd9e39fedee.md rename to agent-context-shipped/files/0121296a2cb80b43.md index 74d91dc47c..1a30c84b6c 100644 --- a/agent-context-shipped/files/557ddbd9e39fedee.md +++ b/agent-context-shipped/files/0121296a2cb80b43.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/44aa33bca4481d4f.md b/agent-context-shipped/files/10fd5004cdff1b02.md similarity index 99% rename from agent-context-shipped/files/44aa33bca4481d4f.md rename to agent-context-shipped/files/10fd5004cdff1b02.md index 8d967894cf..7a153cc807 100644 --- a/agent-context-shipped/files/44aa33bca4481d4f.md +++ b/agent-context-shipped/files/10fd5004cdff1b02.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/7da735f95a83e999.md b/agent-context-shipped/files/12851cf06a512e01.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/7da735f95a83e999.md rename to agent-context-shipped/files/12851cf06a512e01.md index a3d7821cab..1d0e8c9445 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/7da735f95a83e999.md +++ b/agent-context-shipped/files/12851cf06a512e01.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/a68921b058ab1f45.md b/agent-context-shipped/files/1813baf4e1ff00dc.md similarity index 99% rename from agent-context-shipped/files/a68921b058ab1f45.md rename to agent-context-shipped/files/1813baf4e1ff00dc.md index 1bc6bc1398..086412a5ce 100644 --- a/agent-context-shipped/files/a68921b058ab1f45.md +++ b/agent-context-shipped/files/1813baf4e1ff00dc.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/982392d0add1d55d.md b/agent-context-shipped/files/1d61842e76db07d7.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/982392d0add1d55d.md rename to agent-context-shipped/files/1d61842e76db07d7.md index d217b35ded..861bb20368 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/982392d0add1d55d.md +++ b/agent-context-shipped/files/1d61842e76db07d7.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/376be0fb35457e76.md b/agent-context-shipped/files/2a850663b29e895c.md similarity index 99% rename from agent-context-shipped/files/376be0fb35457e76.md rename to agent-context-shipped/files/2a850663b29e895c.md index 0676e7596d..c3b4972bbb 100644 --- a/agent-context-shipped/files/376be0fb35457e76.md +++ b/agent-context-shipped/files/2a850663b29e895c.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/20c9a37c3bdaad24.md b/agent-context-shipped/files/2b4a4bfa31529de3.md similarity index 99% rename from agent-context-shipped/files/20c9a37c3bdaad24.md rename to agent-context-shipped/files/2b4a4bfa31529de3.md index 79bbbf8193..b8cefeb5a2 100644 --- a/agent-context-shipped/files/20c9a37c3bdaad24.md +++ b/agent-context-shipped/files/2b4a4bfa31529de3.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/95e08a485e88c515.md b/agent-context-shipped/files/3351fb1999f7cddc.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/95e08a485e88c515.md rename to agent-context-shipped/files/3351fb1999f7cddc.md index 27903df9e9..99f8e727e0 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/95e08a485e88c515.md +++ b/agent-context-shipped/files/3351fb1999f7cddc.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/1ff8fe71a4ec5b60.md b/agent-context-shipped/files/3432eab50de7a0b4.md similarity index 99% rename from agent-context-shipped/files/1ff8fe71a4ec5b60.md rename to agent-context-shipped/files/3432eab50de7a0b4.md index 3a27812195..69ea3be843 100644 --- a/agent-context-shipped/files/1ff8fe71a4ec5b60.md +++ b/agent-context-shipped/files/3432eab50de7a0b4.md @@ -125,7 +125,7 @@ The full hunt for each axis of Phase 1b (Partial / Deep path). Each axis runs in (Node `meta` only) for DB drift. Flag a gate that is WIRED BUT INCOMPLETE for the artifacts present, and recommend the specific missing coverage. - [ ] **F2. Over-generation — unnecessary generated files (codegen WASTE).** - Generated code is disposable, but that is NOT license to generate what nothing + Generated code is regenerated output, but that is NOT license to generate what nothing consumes. Every generated file is a merge/review/maintenance surface and inflates the leverage ratio falsely. Hunt OVER-generation (the inverse of A/B's under-generation): diff --git a/agent-context-shipped/files/ea613a5701fa6856.md b/agent-context-shipped/files/3708591f7234348e.md similarity index 95% rename from agent-context-shipped/files/ea613a5701fa6856.md rename to agent-context-shipped/files/3708591f7234348e.md index 8a296b7928..086255b208 100644 --- a/agent-context-shipped/files/ea613a5701fa6856.md +++ b/agent-context-shipped/files/3708591f7234348e.md @@ -48,8 +48,8 @@ dependency against `.metaobjects/deps.lock.json` and fails with `ERR_DEPENDENCY_ run the Node `meta deps check` for those). A project that publishes a model wires the `shared-model` generator; `verify --codegen` drift-gates its output. -Schema migration + live-DB drift run through the **Node `meta` CLI** regardless of -server language — see the migration reference. `mvn metaobjects:verify -Dmeta.verify.mode=db` +Schema migration is your own tool or the Node `meta migrate` reference helper; live-DB drift is the Node `meta verify --db` +whichever tool built the schema — see the migration reference. `mvn metaobjects:verify -Dmeta.verify.mode=db` is rejected (exit 2). The generator list and the `` are both declared in `pom.xml` under the @@ -165,5 +165,5 @@ versioning — **do not flag it** (only intra-port skew matters). emits `Repository.java` as a stub `interface`; the consumer hand-writes the implementation against OMDB (or any persistence layer). Hand-written repository implementations that match the generated interface exactly are expected. -- **No Java migrate goal.** Schema migration is Node-`meta`-owned for every port - (ADR-0015). The Maven plugin has no migrate goal; `meta migrate` is correct. +- **No Java migrate goal.** Schema migration is your own tool or the Node `meta migrate` + reference helper (ADR-0015 Amendment 2). The Maven plugin has no migrate goal; `meta migrate` is correct. diff --git a/server/python/src/metaobjects/agent_context/shipped/files/664bedbda610df2d.md b/agent-context-shipped/files/3d1bb461b13fe925.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/664bedbda610df2d.md rename to agent-context-shipped/files/3d1bb461b13fe925.md index 8dd282df79..0eb226208c 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/664bedbda610df2d.md +++ b/agent-context-shipped/files/3d1bb461b13fe925.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/6d95359b28f5e97f.md b/agent-context-shipped/files/4bf396aa4831d3b0.md similarity index 99% rename from agent-context-shipped/files/6d95359b28f5e97f.md rename to agent-context-shipped/files/4bf396aa4831d3b0.md index abef60c641..f0e4c48037 100644 --- a/agent-context-shipped/files/6d95359b28f5e97f.md +++ b/agent-context-shipped/files/4bf396aa4831d3b0.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/7e11a784ff35b41e.md b/agent-context-shipped/files/5b145f489f23b1c7.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/7e11a784ff35b41e.md rename to agent-context-shipped/files/5b145f489f23b1c7.md index 73c6b1e879..bd68e7535d 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/7e11a784ff35b41e.md +++ b/agent-context-shipped/files/5b145f489f23b1c7.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/56f1dbfb90d775e9.md b/agent-context-shipped/files/64726b55218b2d12.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/56f1dbfb90d775e9.md rename to agent-context-shipped/files/64726b55218b2d12.md index a2764c2657..2fcdf0cc08 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/56f1dbfb90d775e9.md +++ b/agent-context-shipped/files/64726b55218b2d12.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/594ad24674edaa43.md b/agent-context-shipped/files/68aea133c93dc3c6.md similarity index 99% rename from agent-context-shipped/files/594ad24674edaa43.md rename to agent-context-shipped/files/68aea133c93dc3c6.md index 62edfa65b8..749da5d121 100644 --- a/agent-context-shipped/files/594ad24674edaa43.md +++ b/agent-context-shipped/files/68aea133c93dc3c6.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/6133b301bb57ad31.md b/agent-context-shipped/files/69c1ae480ae7dd7c.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/6133b301bb57ad31.md rename to agent-context-shipped/files/69c1ae480ae7dd7c.md index e3c654d7a8..22266d26e1 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/6133b301bb57ad31.md +++ b/agent-context-shipped/files/69c1ae480ae7dd7c.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/d9481a95a71e264b.md b/agent-context-shipped/files/6c632f2dcebb53ea.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/d9481a95a71e264b.md rename to agent-context-shipped/files/6c632f2dcebb53ea.md index 30323bd2ba..411af6cf0b 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/d9481a95a71e264b.md +++ b/agent-context-shipped/files/6c632f2dcebb53ea.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/fbff06c2d406d3a2.md b/agent-context-shipped/files/6eaaf67c049daead.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/fbff06c2d406d3a2.md rename to agent-context-shipped/files/6eaaf67c049daead.md index dc4a860a8f..92f49d5fa4 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/fbff06c2d406d3a2.md +++ b/agent-context-shipped/files/6eaaf67c049daead.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/b17e87ac7a811af4.md b/agent-context-shipped/files/77b583899dabdd55.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/b17e87ac7a811af4.md rename to agent-context-shipped/files/77b583899dabdd55.md index 96fb7c733b..c88540376f 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/b17e87ac7a811af4.md +++ b/agent-context-shipped/files/77b583899dabdd55.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/322f06c12f7ee27f.md b/agent-context-shipped/files/7cb243bcfd1823db.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/322f06c12f7ee27f.md rename to agent-context-shipped/files/7cb243bcfd1823db.md index c0fd16587a..762bb44265 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/322f06c12f7ee27f.md +++ b/agent-context-shipped/files/7cb243bcfd1823db.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/52c98783542efd36.md b/agent-context-shipped/files/7d185435e40d7e2d.md similarity index 99% rename from agent-context-shipped/files/52c98783542efd36.md rename to agent-context-shipped/files/7d185435e40d7e2d.md index e7ada6a8f0..8760b720b6 100644 --- a/agent-context-shipped/files/52c98783542efd36.md +++ b/agent-context-shipped/files/7d185435e40d7e2d.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/b2039ab0e4f7a4c8.md b/agent-context-shipped/files/7d6c30e9d03b88b9.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/b2039ab0e4f7a4c8.md rename to agent-context-shipped/files/7d6c30e9d03b88b9.md index 807da5af5d..74c3edc882 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/b2039ab0e4f7a4c8.md +++ b/agent-context-shipped/files/7d6c30e9d03b88b9.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/1776bb6dbc87af6c.md b/agent-context-shipped/files/7da357a168d3819a.md similarity index 99% rename from agent-context-shipped/files/1776bb6dbc87af6c.md rename to agent-context-shipped/files/7da357a168d3819a.md index 84db9fe745..63b6c909bc 100644 --- a/agent-context-shipped/files/1776bb6dbc87af6c.md +++ b/agent-context-shipped/files/7da357a168d3819a.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/6d86eb5997450a34.md b/agent-context-shipped/files/80645315e02097b7.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/6d86eb5997450a34.md rename to agent-context-shipped/files/80645315e02097b7.md index 49fb76b47b..668346431d 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/6d86eb5997450a34.md +++ b/agent-context-shipped/files/80645315e02097b7.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/fda1a58ac1585828.md b/agent-context-shipped/files/841b63fab8f3ace4.md similarity index 74% rename from agent-context-shipped/files/fda1a58ac1585828.md rename to agent-context-shipped/files/841b63fab8f3ace4.md index 7937be392c..bd51b49102 100644 --- a/agent-context-shipped/files/fda1a58ac1585828.md +++ b/agent-context-shipped/files/841b63fab8f3ace4.md @@ -1,14 +1,14 @@ # Why model-first wins -The case behind the operating principle in `SKILL.md`: why declaring the model beats hand-writing a layer, even when the hand-written version is cheaper this once. +The case behind the operating principle in `SKILL.md`: why declaring the model usually beats hand-writing a layer, even when the hand-written version is cheaper this once. The cost test in `SKILL.md` still decides a one-off. ## Contents - Second source of truth - The consistency tax - One change, every layer -**Why model-first wins even when hand-writing is cheaper this once — and it often -is, this once:** +**Why model-first usually wins, even when hand-writing is cheaper this once — and it often +is, this once (the cost test in `SKILL.md` still decides a true one-off):** - **Hand-writing a layer the metadata could own creates a second source of truth for one fact.** A field's type, validation, column, route, and form then change in N places and must stay consistent forever — not drift *risk*, but two sources of diff --git a/agent-context-shipped/files/9d8b243f6f1b2dfa.md b/agent-context-shipped/files/842f73c0d880bcce.md similarity index 95% rename from agent-context-shipped/files/9d8b243f6f1b2dfa.md rename to agent-context-shipped/files/842f73c0d880bcce.md index 3dd57407f1..1ef45c6d86 100644 --- a/agent-context-shipped/files/9d8b243f6f1b2dfa.md +++ b/agent-context-shipped/files/842f73c0d880bcce.md @@ -12,7 +12,7 @@ reasons. Read it when a rule there does not settle the case in front of you. ## Principles - **Adopting onto existing code? Metadata FOLLOWS the code.** On a migration (existing working code / live DB), author metadata + tune codegen to *reproduce* what the code already is — native types (`field.uuid` when the code uses `UUID`, not `field.string`; and the type a JSON column's WRITER declares — `list[str]`, a dataclass, `dict[str, X]` — not an open jsonb bag), names, nullability — so regen changes as little existing code as possible. The only existing code that should change is the hand-written layer codegen replaces; ask when a modeling choice is ambiguous. (Greenfield: model-first, below.) -- Pattern-derivable from metadata = codegen, never hand-write — FKs, CRUD, validators, finders, and the database schema and migrations. The schema is a disposable, generated artifact: change the metadata and regenerate. Don't hand-write divergent SQL; where a stack owns its own migration files, GENERATE them — `meta migrate --migration-format flyway` emits the paired `V__`/`U__` files a Flyway runner expects, and leaves applying them to Flyway. The one exception is a schema this project deliberately owns outside MetaObjects (hand-written migrations by rule, or another team's database): when the root `AGENTS.md` or `CLAUDE.md` says so, follow it, and keep `meta verify --db` catching drift. +- Pattern-derivable from metadata = codegen, never hand-write — FKs, CRUD, validators, finders, and the database schema and migrations. The schema is generated output: change the metadata and regenerate. Don't hand-write divergent SQL; where a stack owns its own migration files, GENERATE them — `meta migrate --migration-format flyway` emits the paired `V__`/`U__` files a Flyway runner expects, and leaves applying them to Flyway. The one exception is a schema this project deliberately owns outside MetaObjects (hand-written migrations by rule, or another team's database): when the root `AGENTS.md` or `CLAUDE.md` says so, follow it, and keep `meta verify --db` catching drift. - **Once this project declares any `template.prompt`, every LLM prompt is one** — the text in the template, the data in a payload value object, rendered by the render engine. A structured reply is read through a response model (`@responseRef` and its generated extractor), never a regex or string search. This covers code that does not look like MetaObjects: a format string, text block, template literal or string builder sent to an LLM, and it covers every module, including test harnesses and scripts. Changing a prompt that is still hand-built means migrating it first (snapshot its current output and keep the rendered text byte-identical), not adding a line to it; the `metaobjects-prompts` skill has the steps. - The **live database** is a derived artifact too — never hand-apply a schema change to a running DB (ad-hoc `psql`/console `ALTER`/`CREATE`/`DROP`), not even to preview a column or unblock a boot. Drive every schema change from the metadata, never ad-hoc: with the reference migration helper that is `meta migrate` (metadata → DDL, ADR-0015); with a native tool (EF Core, Exposed, Alembic, sqlx) it is a migration written from the schema `meta schema` prints; on a **Flyway**-owned JVM stack that is `meta migrate --migration-format flyway`, which emits the migration and deliberately refuses `--apply` because Flyway owns applying it. Hand-authoring a migration to match the generated schema is the LAST resort — for a runner MetaObjects has no writer for — never the default for Flyway. A hand-applied ad-hoc change drifts the live DB from the metadata + migration history and collides at the next migrate/boot ("column already exists") — a state no migration can reproduce. Run `meta verify --db ` after any DB-touching work to catch that drift early — the URL is required, and the bare form exits 2. - **If this project declares `requirement.*` nodes, a commit that adds, changes or removes behaviour updates them in the same commit** (the claim, its `@status` and `@implementedBy`), or says in the commit message why not. `meta verify` checks that the links resolve, not that the ledger is current. diff --git a/server/python/src/metaobjects/agent_context/shipped/files/56dca5a75ec2b78a.md b/agent-context-shipped/files/8692936865b8ca78.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/56dca5a75ec2b78a.md rename to agent-context-shipped/files/8692936865b8ca78.md index 222cb920d1..57a6927b6c 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/56dca5a75ec2b78a.md +++ b/agent-context-shipped/files/8692936865b8ca78.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/6985ce4c6711d227.md b/agent-context-shipped/files/87b4d71a9905489d.md similarity index 97% rename from server/python/src/metaobjects/agent_context/shipped/files/6985ce4c6711d227.md rename to agent-context-shipped/files/87b4d71a9905489d.md index af0fcf1b1a..211102dfdf 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/6985ce4c6711d227.md +++ b/agent-context-shipped/files/87b4d71a9905489d.md @@ -13,7 +13,9 @@ emits code in each language from it, and the drift gates check everything agains - **Declare it; do not hand-write it.** Persistence, data access, validation, APIs and UI scaffolding are derived from metadata. When you reach for a hand-written query, route, validator, relationship or aggregate, that is usually metadata nobody has declared yet: - look for the construct first (`meta types `). + look for the construct first (`meta types `). Declare it when the cost test favours + it: smaller declared than hand-written, more than one instance, or drift protection a + hand-write cannot give. A one-off with none of these can stay hand-written. - **Adoption reverses the direction.** When working code or a populated schema already exists, it is the specification and the metadata reproduces it: its names, types and nullability. Read `references/adopting-existing-code.md` before modeling anything. @@ -77,18 +79,21 @@ When you are about to hand-write something data-shaped, find the model for it: search by behavior; there are subtypes, origins, identities and attributes you may not know exist. `--detail` shows one construct's valid `@attrs`; `--format json` gives every match with each attr's `allowedValues`, so you read the accepted values, not guess them. -3. **Declare it, generate, and consume the generated query, type or route.** Do not - reimplement it alongside. +3. **Declare it, generate, and consume the generated query, type or route.** Once declared, + do not reimplement it alongside. 4. **If the model is right and the generated output is wrong, change your generator.** Naming, file layout, imports, framework and signatures are generator concerns. The generators are in your repo and yours to edit; a rule against changing MetaObjects itself does not reach them (`metaobjects-codegen`, "When generated output does not fit"). 5. **Hand-write only what no construct can express**, wired to the generated types: business algorithms, external integrations, bespoke interactions. CRUD, validation, finders, - relationships and derived or aggregate data are not in that group. + relationships and derived or aggregate data are not in that group, unless the cost test + below says a one-off can stay hand-written. -If the metadata could describe it, declaring it is the right call even when a one-off -hand-write would be faster today (`references/model-first-rationale.md`). +If the metadata could describe it, declare it when the cost test favours it: the shape +is smaller declared than hand-written, it will have more than one instance, or declaring it +buys drift protection a hand-write cannot. A one-off with none of these can stay hand-written +(`references/model-first-rationale.md`). ## Adopting onto an existing codebase: metadata follows the code diff --git a/agent-context-shipped/files/da8d67adc0b4f142.md b/agent-context-shipped/files/8d415448458487c1.md similarity index 99% rename from agent-context-shipped/files/da8d67adc0b4f142.md rename to agent-context-shipped/files/8d415448458487c1.md index 12ad995ded..84f0aaf817 100644 --- a/agent-context-shipped/files/da8d67adc0b4f142.md +++ b/agent-context-shipped/files/8d415448458487c1.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/40667661620aa7a7.md b/agent-context-shipped/files/8f920c881b85118b.md similarity index 99% rename from agent-context-shipped/files/40667661620aa7a7.md rename to agent-context-shipped/files/8f920c881b85118b.md index 828643fb7d..f1d6737c86 100644 --- a/agent-context-shipped/files/40667661620aa7a7.md +++ b/agent-context-shipped/files/8f920c881b85118b.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/e517e92152719256.md b/agent-context-shipped/files/92f68d0335098302.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/e517e92152719256.md rename to agent-context-shipped/files/92f68d0335098302.md index b9125d95b0..3be1fa083e 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/e517e92152719256.md +++ b/agent-context-shipped/files/92f68d0335098302.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/8980bf959f40a87b.md b/agent-context-shipped/files/9787437a82bb7e32.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/8980bf959f40a87b.md rename to agent-context-shipped/files/9787437a82bb7e32.md index e3f60cbc7c..8beb06b5bb 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/8980bf959f40a87b.md +++ b/agent-context-shipped/files/9787437a82bb7e32.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/6499cad1c678b210.md b/agent-context-shipped/files/9827ffbab8ae5c2d.md similarity index 99% rename from agent-context-shipped/files/6499cad1c678b210.md rename to agent-context-shipped/files/9827ffbab8ae5c2d.md index 34a65ba4b3..ade8e3c87a 100644 --- a/agent-context-shipped/files/6499cad1c678b210.md +++ b/agent-context-shipped/files/9827ffbab8ae5c2d.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/5631eb3d3a5d2994.md b/agent-context-shipped/files/9b387a8983e116d2.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/5631eb3d3a5d2994.md rename to agent-context-shipped/files/9b387a8983e116d2.md index b7f43fc9b9..0cd82e373d 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/5631eb3d3a5d2994.md +++ b/agent-context-shipped/files/9b387a8983e116d2.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/44817cc439e9d6e7.md b/agent-context-shipped/files/9de55e412aee8057.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/44817cc439e9d6e7.md rename to agent-context-shipped/files/9de55e412aee8057.md index 92145695e1..1ce7c6fe47 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/44817cc439e9d6e7.md +++ b/agent-context-shipped/files/9de55e412aee8057.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/afa650ead85b0ecd.md b/agent-context-shipped/files/9e4438fd935ebc25.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/afa650ead85b0ecd.md rename to agent-context-shipped/files/9e4438fd935ebc25.md index 75745fdda1..fad93b86d0 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/afa650ead85b0ecd.md +++ b/agent-context-shipped/files/9e4438fd935ebc25.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/2156dfce0f68c87a.md b/agent-context-shipped/files/a3cd9779195de55f.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/2156dfce0f68c87a.md rename to agent-context-shipped/files/a3cd9779195de55f.md index 73f2e2b3a1..af3a11584f 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/2156dfce0f68c87a.md +++ b/agent-context-shipped/files/a3cd9779195de55f.md @@ -2,8 +2,8 @@ The C# port targets .NET consumers (EF Core + ASP.NET). Codegen runs through the **`dotnet meta` .NET tool** — there is no Maven plugin and the Node `meta` binary -is **schema-migrations only** on the C# side (ADR-0015): `meta migrate` / -`meta verify --db` are Node-`meta`-owned; everything below is `dotnet meta`. +is the reference **schema-migrations helper** on the C# side (ADR-0015; EF Core Migrations is equally first-class): `meta migrate` / +`meta verify --db` run in the Node `meta` tool; everything below is `dotnet meta`. ## Contents - Install diff --git a/server/python/src/metaobjects/agent_context/shipped/files/5194a576ede00130.md b/agent-context-shipped/files/a3d1bbcd5fc2710a.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/5194a576ede00130.md rename to agent-context-shipped/files/a3d1bbcd5fc2710a.md index 31c65676aa..f414c26b3c 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/5194a576ede00130.md +++ b/agent-context-shipped/files/a3d1bbcd5fc2710a.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/9b35deff36220a85.md b/agent-context-shipped/files/a78ffa7309cd29b2.md similarity index 99% rename from agent-context-shipped/files/9b35deff36220a85.md rename to agent-context-shipped/files/a78ffa7309cd29b2.md index 883c609df4..55a47cec6a 100644 --- a/agent-context-shipped/files/9b35deff36220a85.md +++ b/agent-context-shipped/files/a78ffa7309cd29b2.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/1944176d5ab05889.md b/agent-context-shipped/files/a8d92da9d56dc95d.md similarity index 96% rename from server/python/src/metaobjects/agent_context/shipped/files/1944176d5ab05889.md rename to agent-context-shipped/files/a8d92da9d56dc95d.md index e65deaeade..54983f55a2 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/1944176d5ab05889.md +++ b/agent-context-shipped/files/a8d92da9d56dc95d.md @@ -53,8 +53,7 @@ With no `metaobjects.config.yaml`, `gen` exits 2 and generates nothing. A target `generators` takes stable generator names: `entity`, `routes`, `filter-allowlist`, `names`, `output-parser`, `extractor`, `output-prompt`, `render-helper`, `trace-helper`, `template`. (There is no `payload` generator since ADR-0056: a template's payload and -response types are the value objects' own `entity` models.) Schema migration + live-DB drift run through the **Node `meta` CLI** -regardless of server language — see the migration reference. +response types are the value objects' own `entity` models.) Schema migration is your own tool or the Node `meta migrate` reference helper; live-DB drift is the Node `meta verify --db` whichever tool built the schema — see the migration reference. --- @@ -167,5 +166,5 @@ another) matters. - **Partial relationship + flattened-object codegen.** Relationship navigation, non-`table` source kinds, and `field.object @storage: flattened` codegen are partially implemented in the Python port. Do NOT flag these gaps as adopter defects. -- **No Python migrate subcommand.** Schema migration is Node-`meta`-owned for every - port (ADR-0015). `metaobjects` has no migrate subcommand; `meta migrate` is correct. +- **No Python migrate subcommand.** Schema migration is your own tool or the Node `meta migrate` + reference helper (ADR-0015 Amendment 2). `metaobjects` has no migrate subcommand; `meta migrate` is correct. diff --git a/agent-context-shipped/files/9965e221bf197a06.md b/agent-context-shipped/files/a978da9641eb06d6.md similarity index 95% rename from agent-context-shipped/files/9965e221bf197a06.md rename to agent-context-shipped/files/a978da9641eb06d6.md index cc2cf9a295..beee7e9340 100644 --- a/agent-context-shipped/files/9965e221bf197a06.md +++ b/agent-context-shipped/files/a978da9641eb06d6.md @@ -52,8 +52,7 @@ hashes each `path` dependency against the lock and fails with `ERR_DEPENDENCY_UP run the Node `meta deps check` for those). A project that publishes a model wires the `SharedModelGenerator` in `codegen/Generators.cs`; `verify --codegen` drift-gates its output. -Schema migration + live-DB drift run through the **Node `meta` CLI** regardless of -server language — see the migration reference. `dotnet meta verify --db` is +Schema migration is your own tool or the Node `meta migrate` reference helper; live-DB drift is the Node `meta verify --db` whichever tool built the schema — see the migration reference. `dotnet meta verify --db` is rejected (exit 2). --- @@ -153,8 +152,8 @@ version across these packages is an intra-port skew finding. (the generated `AppDbContext` + generated entity classes) **is** the runtime persistence layer. Hand-written service classes over the generated `AppDbContext` are the expected pattern, not a defect. -- **No C# migrate command.** Schema migration is Node-`meta`-owned for every port - (ADR-0015). `dotnet meta` has no migrate subcommand; `meta migrate` is correct. +- **No C# migrate command.** Schema migration is your own tool or the Node `meta migrate` + reference helper (ADR-0015 Amendment 2). `dotnet meta` has no migrate subcommand; `meta migrate` is correct. - **Core filter-operator codegen ships in C# — do NOT treat it as deferred.** The `routes` generator (`Routes.cs`, Minimal API) generates the `?filter[field][op]=value` grammar (all 9 operators `eq/ne/gt/gte/lt/lte/in/like/isNull`) via the runtime `ListQueryParser` + diff --git a/server/python/src/metaobjects/agent_context/shipped/files/2cbf94ee8ae341e8.md b/agent-context-shipped/files/ad0876e3f0749dd4.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/2cbf94ee8ae341e8.md rename to agent-context-shipped/files/ad0876e3f0749dd4.md index ca6639bdd7..0936a38788 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/2cbf94ee8ae341e8.md +++ b/agent-context-shipped/files/ad0876e3f0749dd4.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/27947af106e08dd0.md b/agent-context-shipped/files/b4af1faa1ef0d00f.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/27947af106e08dd0.md rename to agent-context-shipped/files/b4af1faa1ef0d00f.md index 664856a89d..e66f2c06f6 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/27947af106e08dd0.md +++ b/agent-context-shipped/files/b4af1faa1ef0d00f.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/63c0868d9960f9ad.md b/agent-context-shipped/files/b6d58488c3486eae.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/63c0868d9960f9ad.md rename to agent-context-shipped/files/b6d58488c3486eae.md index ee2f542c03..431f4aeb77 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/63c0868d9960f9ad.md +++ b/agent-context-shipped/files/b6d58488c3486eae.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/7f4fb5dc57bfc358.md b/agent-context-shipped/files/b766591d53ab5c06.md similarity index 99% rename from agent-context-shipped/files/7f4fb5dc57bfc358.md rename to agent-context-shipped/files/b766591d53ab5c06.md index bc7576775e..8a3bf1f6e0 100644 --- a/agent-context-shipped/files/7f4fb5dc57bfc358.md +++ b/agent-context-shipped/files/b766591d53ab5c06.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/78a05e83a46a25d7.md b/agent-context-shipped/files/bffabb32b1e62ea4.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/78a05e83a46a25d7.md rename to agent-context-shipped/files/bffabb32b1e62ea4.md index 9038bd400b..fedb3986c4 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/78a05e83a46a25d7.md +++ b/agent-context-shipped/files/bffabb32b1e62ea4.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/fb1103eab45181dd.md b/agent-context-shipped/files/c015433005e43a29.md similarity index 99% rename from agent-context-shipped/files/fb1103eab45181dd.md rename to agent-context-shipped/files/c015433005e43a29.md index 983a53089f..55c74f93c2 100644 --- a/agent-context-shipped/files/fb1103eab45181dd.md +++ b/agent-context-shipped/files/c015433005e43a29.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/8a67f1213ec217b0.md b/agent-context-shipped/files/c34795834cd0a156.md similarity index 99% rename from agent-context-shipped/files/8a67f1213ec217b0.md rename to agent-context-shipped/files/c34795834cd0a156.md index 5b07f6cd0e..c7bc2e3559 100644 --- a/agent-context-shipped/files/8a67f1213ec217b0.md +++ b/agent-context-shipped/files/c34795834cd0a156.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/079fbd25b6bddacd.md b/agent-context-shipped/files/c4cea8aaaf65fd1c.md similarity index 99% rename from agent-context-shipped/files/079fbd25b6bddacd.md rename to agent-context-shipped/files/c4cea8aaaf65fd1c.md index e265738d1b..de5ad3d549 100644 --- a/agent-context-shipped/files/079fbd25b6bddacd.md +++ b/agent-context-shipped/files/c4cea8aaaf65fd1c.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/ae7394f8975536b1.md b/agent-context-shipped/files/c51749f6baf00a9b.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/ae7394f8975536b1.md rename to agent-context-shipped/files/c51749f6baf00a9b.md index 0e7db502ca..bb2aff48f9 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/ae7394f8975536b1.md +++ b/agent-context-shipped/files/c51749f6baf00a9b.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/78d54ddb0c509d88.md b/agent-context-shipped/files/cce65bd52d789e7f.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/78d54ddb0c509d88.md rename to agent-context-shipped/files/cce65bd52d789e7f.md index c4c8fcfa47..96d73b6524 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/78d54ddb0c509d88.md +++ b/agent-context-shipped/files/cce65bd52d789e7f.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/a51d8d775e3900f5.md b/agent-context-shipped/files/cf820e73bf82c1dc.md similarity index 99% rename from agent-context-shipped/files/a51d8d775e3900f5.md rename to agent-context-shipped/files/cf820e73bf82c1dc.md index fc6214d521..1522c0a904 100644 --- a/agent-context-shipped/files/a51d8d775e3900f5.md +++ b/agent-context-shipped/files/cf820e73bf82c1dc.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/3aab99fac366bd1e.md b/agent-context-shipped/files/d0ba0e01fd2b3f7b.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/3aab99fac366bd1e.md rename to agent-context-shipped/files/d0ba0e01fd2b3f7b.md index a75ec27893..f9cb943aea 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/3aab99fac366bd1e.md +++ b/agent-context-shipped/files/d0ba0e01fd2b3f7b.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/470a6537a84cd7b3.md b/agent-context-shipped/files/d3781278f0864159.md similarity index 99% rename from agent-context-shipped/files/470a6537a84cd7b3.md rename to agent-context-shipped/files/d3781278f0864159.md index 41cefb8b1d..f9bd4ee112 100644 --- a/agent-context-shipped/files/470a6537a84cd7b3.md +++ b/agent-context-shipped/files/d3781278f0864159.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/2d51bc7073c498d9.md b/agent-context-shipped/files/d46dd9dbffacbab6.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/2d51bc7073c498d9.md rename to agent-context-shipped/files/d46dd9dbffacbab6.md index da3afb6d5a..5a07be2f50 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/2d51bc7073c498d9.md +++ b/agent-context-shipped/files/d46dd9dbffacbab6.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/a5c0b0ed44075972.md b/agent-context-shipped/files/d6d7f822563ee216.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/a5c0b0ed44075972.md rename to agent-context-shipped/files/d6d7f822563ee216.md index 17c72742ae..ecf1563877 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/a5c0b0ed44075972.md +++ b/agent-context-shipped/files/d6d7f822563ee216.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/f3485c4f33ce85d2.md b/agent-context-shipped/files/db90c9240f5bf92a.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/f3485c4f33ce85d2.md rename to agent-context-shipped/files/db90c9240f5bf92a.md index b36c4781df..aeea6c4f88 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/f3485c4f33ce85d2.md +++ b/agent-context-shipped/files/db90c9240f5bf92a.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/4953f12b5531ba6f.md b/agent-context-shipped/files/dbc673d7e2efb728.md similarity index 99% rename from agent-context-shipped/files/4953f12b5531ba6f.md rename to agent-context-shipped/files/dbc673d7e2efb728.md index 5e192f135d..685a34dcb4 100644 --- a/agent-context-shipped/files/4953f12b5531ba6f.md +++ b/agent-context-shipped/files/dbc673d7e2efb728.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/476ae271cedec061.md b/agent-context-shipped/files/ddbd9ec7df5b0edb.md similarity index 99% rename from agent-context-shipped/files/476ae271cedec061.md rename to agent-context-shipped/files/ddbd9ec7df5b0edb.md index eedfa1f544..b227064d41 100644 --- a/agent-context-shipped/files/476ae271cedec061.md +++ b/agent-context-shipped/files/ddbd9ec7df5b0edb.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/94db3eea9e65d1a8.md b/agent-context-shipped/files/e14e81035a4516a6.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/94db3eea9e65d1a8.md rename to agent-context-shipped/files/e14e81035a4516a6.md index b0c9d28bb3..0d68ee2ffe 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/94db3eea9e65d1a8.md +++ b/agent-context-shipped/files/e14e81035a4516a6.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/4bad6e820c600d09.md b/agent-context-shipped/files/ea2afb9dca07470e.md similarity index 99% rename from agent-context-shipped/files/4bad6e820c600d09.md rename to agent-context-shipped/files/ea2afb9dca07470e.md index 9803e89532..ce0464f021 100644 --- a/agent-context-shipped/files/4bad6e820c600d09.md +++ b/agent-context-shipped/files/ea2afb9dca07470e.md @@ -2,7 +2,7 @@ The Python port targets FastAPI consumers. Codegen runs through the **`metaobjects` console-script** (`pip install metaobjects`). As on every port, schema migrations -are **Node-`meta`-owned** (ADR-0015): `meta migrate` / `meta verify --db` run +run in your own tool or the Node reference helper (ADR-0015 Amendment 2): `meta migrate` / `meta verify --db` run through the Node `meta` tool — the Python CLI has **no `migrate` subcommand** and `metaobjects verify --db` is rejected. Everything below is `metaobjects`. diff --git a/agent-context-shipped/files/500e5cf9c2b871f6.md b/agent-context-shipped/files/ea6a3a84c8377d9f.md similarity index 99% rename from agent-context-shipped/files/500e5cf9c2b871f6.md rename to agent-context-shipped/files/ea6a3a84c8377d9f.md index f4906ee186..83fe8a8aa3 100644 --- a/agent-context-shipped/files/500e5cf9c2b871f6.md +++ b/agent-context-shipped/files/ea6a3a84c8377d9f.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/565220c5cad4972a.md b/agent-context-shipped/files/eb9a53fcc569deb6.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/565220c5cad4972a.md rename to agent-context-shipped/files/eb9a53fcc569deb6.md index 0bd90d379c..a2cdafaae0 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/565220c5cad4972a.md +++ b/agent-context-shipped/files/eb9a53fcc569deb6.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/c802bd86c2395ff6.md b/agent-context-shipped/files/eff7b51e1cbb1a0e.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/c802bd86c2395ff6.md rename to agent-context-shipped/files/eff7b51e1cbb1a0e.md index e22110899a..2675577e25 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/c802bd86c2395ff6.md +++ b/agent-context-shipped/files/eff7b51e1cbb1a0e.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/9aedadfa136f00c9.md b/agent-context-shipped/files/f0d3aa0b6ca8c7b5.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/9aedadfa136f00c9.md rename to agent-context-shipped/files/f0d3aa0b6ca8c7b5.md index fa1a632e1c..84788926ac 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/9aedadfa136f00c9.md +++ b/agent-context-shipped/files/f0d3aa0b6ca8c7b5.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/manifest.json b/agent-context-shipped/manifest.json index ea5d316611..f3b8fcbf38 100644 --- a/agent-context-shipped/manifest.json +++ b/agent-context-shipped/manifest.json @@ -38,7 +38,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/typescript.md", @@ -50,7 +50,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -90,7 +90,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -146,7 +146,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -218,7 +218,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "2cbf94ee8ae341e8.md" + "file": "ad0876e3f0749dd4.md" } ] }, @@ -256,7 +256,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/typescript.md", @@ -268,7 +268,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -308,7 +308,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -364,7 +364,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -436,7 +436,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "e517e92152719256.md" + "file": "92f68d0335098302.md" } ] }, @@ -476,7 +476,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/typescript.md", @@ -488,7 +488,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -528,7 +528,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -584,7 +584,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -660,7 +660,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "1776bb6dbc87af6c.md" + "file": "7da357a168d3819a.md" } ] }, @@ -700,7 +700,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/typescript.md", @@ -712,7 +712,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -752,7 +752,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -808,7 +808,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -884,7 +884,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "476ae271cedec061.md" + "file": "ddbd9ec7df5b0edb.md" } ] }, @@ -925,7 +925,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/typescript.md", @@ -937,7 +937,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -977,7 +977,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -1033,7 +1033,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -1113,7 +1113,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "8a67f1213ec217b0.md" + "file": "c34795834cd0a156.md" } ] }, @@ -1154,7 +1154,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/typescript.md", @@ -1166,7 +1166,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -1206,7 +1206,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -1262,7 +1262,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -1342,7 +1342,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "8980bf959f40a87b.md" + "file": "9787437a82bb7e32.md" } ] }, @@ -1382,7 +1382,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/typescript.md", @@ -1394,7 +1394,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -1434,7 +1434,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -1490,7 +1490,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -1562,7 +1562,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "6d86eb5997450a34.md" + "file": "80645315e02097b7.md" } ] }, @@ -1602,7 +1602,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/typescript.md", @@ -1614,7 +1614,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -1654,7 +1654,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -1710,7 +1710,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -1782,7 +1782,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "78a05e83a46a25d7.md" + "file": "bffabb32b1e62ea4.md" } ] }, @@ -1812,7 +1812,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/java.md", - "file": "ea613a5701fa6856.md" + "file": "3708591f7234348e.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -1824,7 +1824,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -1832,7 +1832,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -1876,7 +1876,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -1932,7 +1932,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -1976,7 +1976,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "7e11a784ff35b41e.md" + "file": "5b145f489f23b1c7.md" } ] }, @@ -2006,7 +2006,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/java.md", - "file": "ea613a5701fa6856.md" + "file": "3708591f7234348e.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -2018,7 +2018,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -2026,7 +2026,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -2070,7 +2070,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -2126,7 +2126,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -2170,7 +2170,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "fb1103eab45181dd.md" + "file": "c015433005e43a29.md" } ] }, @@ -2202,7 +2202,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/java.md", - "file": "ea613a5701fa6856.md" + "file": "3708591f7234348e.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -2214,7 +2214,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -2222,7 +2222,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -2266,7 +2266,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -2322,7 +2322,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -2370,7 +2370,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "5194a576ede00130.md" + "file": "a3d1bbcd5fc2710a.md" } ] }, @@ -2402,7 +2402,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/java.md", - "file": "ea613a5701fa6856.md" + "file": "3708591f7234348e.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -2414,7 +2414,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -2422,7 +2422,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -2466,7 +2466,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -2522,7 +2522,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -2570,7 +2570,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "6133b301bb57ad31.md" + "file": "69c1ae480ae7dd7c.md" } ] }, @@ -2603,7 +2603,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/java.md", - "file": "ea613a5701fa6856.md" + "file": "3708591f7234348e.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -2615,7 +2615,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -2623,7 +2623,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -2667,7 +2667,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -2723,7 +2723,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -2775,7 +2775,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "7f4fb5dc57bfc358.md" + "file": "b766591d53ab5c06.md" } ] }, @@ -2808,7 +2808,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/java.md", - "file": "ea613a5701fa6856.md" + "file": "3708591f7234348e.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -2820,7 +2820,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -2828,7 +2828,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -2872,7 +2872,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -2928,7 +2928,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -2980,7 +2980,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "d9481a95a71e264b.md" + "file": "6c632f2dcebb53ea.md" } ] }, @@ -3012,7 +3012,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/java.md", - "file": "ea613a5701fa6856.md" + "file": "3708591f7234348e.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -3024,7 +3024,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -3032,7 +3032,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -3076,7 +3076,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -3132,7 +3132,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -3176,7 +3176,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "b17e87ac7a811af4.md" + "file": "77b583899dabdd55.md" } ] }, @@ -3208,7 +3208,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/java.md", - "file": "ea613a5701fa6856.md" + "file": "3708591f7234348e.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -3220,7 +3220,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -3228,7 +3228,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -3272,7 +3272,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -3328,7 +3328,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -3372,7 +3372,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "52c98783542efd36.md" + "file": "7d185435e40d7e2d.md" } ] }, @@ -3402,7 +3402,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/kotlin.md", - "file": "16283aaffb2211da.md" + "file": "003d471c39227bb7.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -3414,7 +3414,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -3422,7 +3422,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -3466,7 +3466,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -3522,7 +3522,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -3566,7 +3566,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "470a6537a84cd7b3.md" + "file": "d3781278f0864159.md" } ] }, @@ -3596,7 +3596,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/kotlin.md", - "file": "16283aaffb2211da.md" + "file": "003d471c39227bb7.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -3608,7 +3608,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -3616,7 +3616,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -3660,7 +3660,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -3716,7 +3716,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -3760,7 +3760,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "a51d8d775e3900f5.md" + "file": "cf820e73bf82c1dc.md" } ] }, @@ -3792,7 +3792,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/kotlin.md", - "file": "16283aaffb2211da.md" + "file": "003d471c39227bb7.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -3804,7 +3804,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -3812,7 +3812,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -3856,7 +3856,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -3912,7 +3912,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -3960,7 +3960,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "56dca5a75ec2b78a.md" + "file": "8692936865b8ca78.md" } ] }, @@ -3992,7 +3992,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/kotlin.md", - "file": "16283aaffb2211da.md" + "file": "003d471c39227bb7.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -4004,7 +4004,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -4012,7 +4012,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -4056,7 +4056,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -4112,7 +4112,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -4160,7 +4160,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "78d54ddb0c509d88.md" + "file": "cce65bd52d789e7f.md" } ] }, @@ -4193,7 +4193,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/kotlin.md", - "file": "16283aaffb2211da.md" + "file": "003d471c39227bb7.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -4205,7 +4205,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -4213,7 +4213,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -4257,7 +4257,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -4313,7 +4313,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -4365,7 +4365,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "63c0868d9960f9ad.md" + "file": "b6d58488c3486eae.md" } ] }, @@ -4398,7 +4398,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/kotlin.md", - "file": "16283aaffb2211da.md" + "file": "003d471c39227bb7.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -4410,7 +4410,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -4418,7 +4418,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -4462,7 +4462,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -4518,7 +4518,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -4570,7 +4570,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "6499cad1c678b210.md" + "file": "9827ffbab8ae5c2d.md" } ] }, @@ -4602,7 +4602,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/kotlin.md", - "file": "16283aaffb2211da.md" + "file": "003d471c39227bb7.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -4614,7 +4614,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -4622,7 +4622,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -4666,7 +4666,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -4722,7 +4722,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -4766,7 +4766,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "da8d67adc0b4f142.md" + "file": "8d415448458487c1.md" } ] }, @@ -4798,7 +4798,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/kotlin.md", - "file": "16283aaffb2211da.md" + "file": "003d471c39227bb7.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -4810,7 +4810,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -4818,7 +4818,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -4862,7 +4862,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -4918,7 +4918,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -4962,7 +4962,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "a68921b058ab1f45.md" + "file": "1813baf4e1ff00dc.md" } ] }, @@ -4988,7 +4988,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/csharp.md", - "file": "9965e221bf197a06.md" + "file": "a978da9641eb06d6.md" }, { "path": ".claude/skills/metaobjects-audit/references/drift-signatures.md", @@ -5004,7 +5004,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -5012,7 +5012,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -5056,7 +5056,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -5096,7 +5096,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/csharp.md", - "file": "2156dfce0f68c87a.md" + "file": "a3cd9779195de55f.md" }, { "path": ".claude/skills/metaobjects-codegen/references/dependencies-and-shared-models.md", @@ -5112,7 +5112,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -5156,7 +5156,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "6d95359b28f5e97f.md" + "file": "4bf396aa4831d3b0.md" } ] }, @@ -5182,7 +5182,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/csharp.md", - "file": "9965e221bf197a06.md" + "file": "a978da9641eb06d6.md" }, { "path": ".claude/skills/metaobjects-audit/references/drift-signatures.md", @@ -5198,7 +5198,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -5206,7 +5206,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -5250,7 +5250,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -5290,7 +5290,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/csharp.md", - "file": "2156dfce0f68c87a.md" + "file": "a3cd9779195de55f.md" }, { "path": ".claude/skills/metaobjects-codegen/references/dependencies-and-shared-models.md", @@ -5306,7 +5306,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -5350,7 +5350,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "594ad24674edaa43.md" + "file": "68aea133c93dc3c6.md" } ] }, @@ -5378,7 +5378,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/csharp.md", - "file": "9965e221bf197a06.md" + "file": "a978da9641eb06d6.md" }, { "path": ".claude/skills/metaobjects-audit/references/drift-signatures.md", @@ -5394,7 +5394,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -5402,7 +5402,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -5446,7 +5446,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -5486,7 +5486,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/csharp.md", - "file": "2156dfce0f68c87a.md" + "file": "a3cd9779195de55f.md" }, { "path": ".claude/skills/metaobjects-codegen/references/dependencies-and-shared-models.md", @@ -5502,7 +5502,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -5550,7 +5550,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "565220c5cad4972a.md" + "file": "eb9a53fcc569deb6.md" } ] }, @@ -5578,7 +5578,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/csharp.md", - "file": "9965e221bf197a06.md" + "file": "a978da9641eb06d6.md" }, { "path": ".claude/skills/metaobjects-audit/references/drift-signatures.md", @@ -5594,7 +5594,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -5602,7 +5602,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -5646,7 +5646,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -5686,7 +5686,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/csharp.md", - "file": "2156dfce0f68c87a.md" + "file": "a3cd9779195de55f.md" }, { "path": ".claude/skills/metaobjects-codegen/references/dependencies-and-shared-models.md", @@ -5702,7 +5702,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -5750,7 +5750,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "7da735f95a83e999.md" + "file": "12851cf06a512e01.md" } ] }, @@ -5779,7 +5779,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/csharp.md", - "file": "9965e221bf197a06.md" + "file": "a978da9641eb06d6.md" }, { "path": ".claude/skills/metaobjects-audit/references/drift-signatures.md", @@ -5795,7 +5795,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -5803,7 +5803,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -5847,7 +5847,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -5887,7 +5887,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/csharp.md", - "file": "2156dfce0f68c87a.md" + "file": "a3cd9779195de55f.md" }, { "path": ".claude/skills/metaobjects-codegen/references/dependencies-and-shared-models.md", @@ -5903,7 +5903,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -5955,7 +5955,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "94db3eea9e65d1a8.md" + "file": "e14e81035a4516a6.md" } ] }, @@ -5984,7 +5984,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/csharp.md", - "file": "9965e221bf197a06.md" + "file": "a978da9641eb06d6.md" }, { "path": ".claude/skills/metaobjects-audit/references/drift-signatures.md", @@ -6000,7 +6000,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -6008,7 +6008,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -6052,7 +6052,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -6092,7 +6092,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/csharp.md", - "file": "2156dfce0f68c87a.md" + "file": "a3cd9779195de55f.md" }, { "path": ".claude/skills/metaobjects-codegen/references/dependencies-and-shared-models.md", @@ -6108,7 +6108,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -6160,7 +6160,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "56f1dbfb90d775e9.md" + "file": "64726b55218b2d12.md" } ] }, @@ -6188,7 +6188,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/csharp.md", - "file": "9965e221bf197a06.md" + "file": "a978da9641eb06d6.md" }, { "path": ".claude/skills/metaobjects-audit/references/drift-signatures.md", @@ -6204,7 +6204,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -6212,7 +6212,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -6256,7 +6256,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -6296,7 +6296,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/csharp.md", - "file": "2156dfce0f68c87a.md" + "file": "a3cd9779195de55f.md" }, { "path": ".claude/skills/metaobjects-codegen/references/dependencies-and-shared-models.md", @@ -6312,7 +6312,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -6356,7 +6356,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "fbff06c2d406d3a2.md" + "file": "6eaaf67c049daead.md" } ] }, @@ -6384,7 +6384,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/csharp.md", - "file": "9965e221bf197a06.md" + "file": "a978da9641eb06d6.md" }, { "path": ".claude/skills/metaobjects-audit/references/drift-signatures.md", @@ -6400,7 +6400,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -6408,7 +6408,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -6452,7 +6452,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -6492,7 +6492,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/csharp.md", - "file": "2156dfce0f68c87a.md" + "file": "a3cd9779195de55f.md" }, { "path": ".claude/skills/metaobjects-codegen/references/dependencies-and-shared-models.md", @@ -6508,7 +6508,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -6552,7 +6552,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "a5c0b0ed44075972.md" + "file": "d6d7f822563ee216.md" } ] }, @@ -6586,7 +6586,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/python.md", - "file": "1944176d5ab05889.md" + "file": "a8d92da9d56dc95d.md" }, { "path": ".claude/skills/metaobjects-audit/references/requirements.md", @@ -6594,7 +6594,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -6602,7 +6602,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -6642,7 +6642,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/python-providers.md", @@ -6698,11 +6698,11 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/python.md", - "file": "4bad6e820c600d09.md" + "file": "ea2afb9dca07470e.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -6746,7 +6746,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "322f06c12f7ee27f.md" + "file": "7cb243bcfd1823db.md" } ] }, @@ -6780,7 +6780,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/python.md", - "file": "1944176d5ab05889.md" + "file": "a8d92da9d56dc95d.md" }, { "path": ".claude/skills/metaobjects-audit/references/requirements.md", @@ -6788,7 +6788,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -6796,7 +6796,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -6836,7 +6836,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/python-providers.md", @@ -6892,11 +6892,11 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/python.md", - "file": "4bad6e820c600d09.md" + "file": "ea2afb9dca07470e.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -6940,7 +6940,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "664bedbda610df2d.md" + "file": "3d1bb461b13fe925.md" } ] }, @@ -6976,7 +6976,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/python.md", - "file": "1944176d5ab05889.md" + "file": "a8d92da9d56dc95d.md" }, { "path": ".claude/skills/metaobjects-audit/references/requirements.md", @@ -6984,7 +6984,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -6992,7 +6992,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -7032,7 +7032,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/python-providers.md", @@ -7088,11 +7088,11 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/python.md", - "file": "4bad6e820c600d09.md" + "file": "ea2afb9dca07470e.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -7140,7 +7140,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "f3485c4f33ce85d2.md" + "file": "db90c9240f5bf92a.md" } ] }, @@ -7176,7 +7176,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/python.md", - "file": "1944176d5ab05889.md" + "file": "a8d92da9d56dc95d.md" }, { "path": ".claude/skills/metaobjects-audit/references/requirements.md", @@ -7184,7 +7184,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -7192,7 +7192,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -7232,7 +7232,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/python-providers.md", @@ -7288,11 +7288,11 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/python.md", - "file": "4bad6e820c600d09.md" + "file": "ea2afb9dca07470e.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -7340,7 +7340,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "44817cc439e9d6e7.md" + "file": "9de55e412aee8057.md" } ] }, @@ -7377,7 +7377,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/python.md", - "file": "1944176d5ab05889.md" + "file": "a8d92da9d56dc95d.md" }, { "path": ".claude/skills/metaobjects-audit/references/requirements.md", @@ -7385,7 +7385,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -7393,7 +7393,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -7433,7 +7433,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/python-providers.md", @@ -7489,11 +7489,11 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/python.md", - "file": "4bad6e820c600d09.md" + "file": "ea2afb9dca07470e.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -7545,7 +7545,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "c802bd86c2395ff6.md" + "file": "eff7b51e1cbb1a0e.md" } ] }, @@ -7582,7 +7582,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/python.md", - "file": "1944176d5ab05889.md" + "file": "a8d92da9d56dc95d.md" }, { "path": ".claude/skills/metaobjects-audit/references/requirements.md", @@ -7590,7 +7590,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -7598,7 +7598,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -7638,7 +7638,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/python-providers.md", @@ -7694,11 +7694,11 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/python.md", - "file": "4bad6e820c600d09.md" + "file": "ea2afb9dca07470e.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -7750,7 +7750,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "b2039ab0e4f7a4c8.md" + "file": "7d6c30e9d03b88b9.md" } ] }, @@ -7786,7 +7786,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/python.md", - "file": "1944176d5ab05889.md" + "file": "a8d92da9d56dc95d.md" }, { "path": ".claude/skills/metaobjects-audit/references/requirements.md", @@ -7794,7 +7794,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -7802,7 +7802,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -7842,7 +7842,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/python-providers.md", @@ -7898,11 +7898,11 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/python.md", - "file": "4bad6e820c600d09.md" + "file": "ea2afb9dca07470e.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -7946,7 +7946,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "9aedadfa136f00c9.md" + "file": "f0d3aa0b6ca8c7b5.md" } ] }, @@ -7982,7 +7982,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/python.md", - "file": "1944176d5ab05889.md" + "file": "a8d92da9d56dc95d.md" }, { "path": ".claude/skills/metaobjects-audit/references/requirements.md", @@ -7990,7 +7990,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -7998,7 +7998,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -8038,7 +8038,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/python-providers.md", @@ -8094,11 +8094,11 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/python.md", - "file": "4bad6e820c600d09.md" + "file": "ea2afb9dca07470e.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -8142,7 +8142,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "95e08a485e88c515.md" + "file": "3351fb1999f7cddc.md" } ] }, @@ -8180,7 +8180,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -8188,7 +8188,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -8228,7 +8228,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -8280,7 +8280,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -8316,7 +8316,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "557ddbd9e39fedee.md" + "file": "0121296a2cb80b43.md" } ] }, @@ -8354,7 +8354,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -8362,7 +8362,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -8402,7 +8402,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -8454,7 +8454,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -8490,7 +8490,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "9b35deff36220a85.md" + "file": "a78ffa7309cd29b2.md" } ] }, @@ -8530,7 +8530,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -8538,7 +8538,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -8578,7 +8578,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -8630,7 +8630,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -8670,7 +8670,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "3aab99fac366bd1e.md" + "file": "d0ba0e01fd2b3f7b.md" } ] }, @@ -8710,7 +8710,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -8718,7 +8718,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -8758,7 +8758,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -8810,7 +8810,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -8850,7 +8850,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "44aa33bca4481d4f.md" + "file": "10fd5004cdff1b02.md" } ] }, @@ -8891,7 +8891,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -8899,7 +8899,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -8939,7 +8939,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -8991,7 +8991,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -9035,7 +9035,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "4953f12b5531ba6f.md" + "file": "dbc673d7e2efb728.md" } ] }, @@ -9076,7 +9076,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -9084,7 +9084,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -9124,7 +9124,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -9176,7 +9176,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -9220,7 +9220,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "afa650ead85b0ecd.md" + "file": "9e4438fd935ebc25.md" } ] }, @@ -9260,7 +9260,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -9268,7 +9268,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -9308,7 +9308,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -9360,7 +9360,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -9396,7 +9396,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "2d51bc7073c498d9.md" + "file": "d46dd9dbffacbab6.md" } ] }, @@ -9436,7 +9436,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -9444,7 +9444,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -9484,7 +9484,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -9536,7 +9536,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -9572,7 +9572,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "079fbd25b6bddacd.md" + "file": "c4cea8aaaf65fd1c.md" } ] }, @@ -9603,11 +9603,11 @@ }, { "path": ".claude/skills/metaobjects-audit/references/java.md", - "file": "ea613a5701fa6856.md" + "file": "3708591f7234348e.md" }, { "path": ".claude/skills/metaobjects-audit/references/kotlin.md", - "file": "16283aaffb2211da.md" + "file": "003d471c39227bb7.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -9619,7 +9619,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -9627,7 +9627,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -9675,7 +9675,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -9735,7 +9735,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -9787,7 +9787,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "500e5cf9c2b871f6.md" + "file": "ea6a3a84c8377d9f.md" } ] }, @@ -9818,11 +9818,11 @@ }, { "path": ".claude/skills/metaobjects-audit/references/java.md", - "file": "ea613a5701fa6856.md" + "file": "3708591f7234348e.md" }, { "path": ".claude/skills/metaobjects-audit/references/kotlin.md", - "file": "16283aaffb2211da.md" + "file": "003d471c39227bb7.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -9834,7 +9834,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -9842,7 +9842,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -9890,7 +9890,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -9950,7 +9950,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -10002,7 +10002,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "27947af106e08dd0.md" + "file": "b4af1faa1ef0d00f.md" } ] }, @@ -10035,11 +10035,11 @@ }, { "path": ".claude/skills/metaobjects-audit/references/java.md", - "file": "ea613a5701fa6856.md" + "file": "3708591f7234348e.md" }, { "path": ".claude/skills/metaobjects-audit/references/kotlin.md", - "file": "16283aaffb2211da.md" + "file": "003d471c39227bb7.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -10051,7 +10051,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -10059,7 +10059,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -10107,7 +10107,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -10167,7 +10167,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -10223,7 +10223,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "376be0fb35457e76.md" + "file": "2a850663b29e895c.md" } ] }, @@ -10256,11 +10256,11 @@ }, { "path": ".claude/skills/metaobjects-audit/references/java.md", - "file": "ea613a5701fa6856.md" + "file": "3708591f7234348e.md" }, { "path": ".claude/skills/metaobjects-audit/references/kotlin.md", - "file": "16283aaffb2211da.md" + "file": "003d471c39227bb7.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -10272,7 +10272,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -10280,7 +10280,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -10328,7 +10328,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -10388,7 +10388,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -10444,7 +10444,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "40667661620aa7a7.md" + "file": "8f920c881b85118b.md" } ] }, @@ -10478,11 +10478,11 @@ }, { "path": ".claude/skills/metaobjects-audit/references/java.md", - "file": "ea613a5701fa6856.md" + "file": "3708591f7234348e.md" }, { "path": ".claude/skills/metaobjects-audit/references/kotlin.md", - "file": "16283aaffb2211da.md" + "file": "003d471c39227bb7.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -10494,7 +10494,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -10502,7 +10502,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -10550,7 +10550,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -10610,7 +10610,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -10670,7 +10670,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "ae7394f8975536b1.md" + "file": "c51749f6baf00a9b.md" } ] }, @@ -10704,11 +10704,11 @@ }, { "path": ".claude/skills/metaobjects-audit/references/java.md", - "file": "ea613a5701fa6856.md" + "file": "3708591f7234348e.md" }, { "path": ".claude/skills/metaobjects-audit/references/kotlin.md", - "file": "16283aaffb2211da.md" + "file": "003d471c39227bb7.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -10720,7 +10720,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -10728,7 +10728,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -10776,7 +10776,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -10836,7 +10836,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -10896,7 +10896,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "982392d0add1d55d.md" + "file": "1d61842e76db07d7.md" } ] }, @@ -10929,11 +10929,11 @@ }, { "path": ".claude/skills/metaobjects-audit/references/java.md", - "file": "ea613a5701fa6856.md" + "file": "3708591f7234348e.md" }, { "path": ".claude/skills/metaobjects-audit/references/kotlin.md", - "file": "16283aaffb2211da.md" + "file": "003d471c39227bb7.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -10945,7 +10945,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -10953,7 +10953,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -11001,7 +11001,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -11061,7 +11061,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -11113,7 +11113,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "5631eb3d3a5d2994.md" + "file": "9b387a8983e116d2.md" } ] }, @@ -11146,11 +11146,11 @@ }, { "path": ".claude/skills/metaobjects-audit/references/java.md", - "file": "ea613a5701fa6856.md" + "file": "3708591f7234348e.md" }, { "path": ".claude/skills/metaobjects-audit/references/kotlin.md", - "file": "16283aaffb2211da.md" + "file": "003d471c39227bb7.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -11162,7 +11162,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -11170,7 +11170,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -11218,7 +11218,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -11278,7 +11278,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -11330,7 +11330,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "20c9a37c3bdaad24.md" + "file": "2b4a4bfa31529de3.md" } ] } diff --git a/agent-context/skills/metaobjects-audit/references/csharp.md b/agent-context/skills/metaobjects-audit/references/csharp.md index cc2cf9a295..beee7e9340 100644 --- a/agent-context/skills/metaobjects-audit/references/csharp.md +++ b/agent-context/skills/metaobjects-audit/references/csharp.md @@ -52,8 +52,7 @@ hashes each `path` dependency against the lock and fails with `ERR_DEPENDENCY_UP run the Node `meta deps check` for those). A project that publishes a model wires the `SharedModelGenerator` in `codegen/Generators.cs`; `verify --codegen` drift-gates its output. -Schema migration + live-DB drift run through the **Node `meta` CLI** regardless of -server language — see the migration reference. `dotnet meta verify --db` is +Schema migration is your own tool or the Node `meta migrate` reference helper; live-DB drift is the Node `meta verify --db` whichever tool built the schema — see the migration reference. `dotnet meta verify --db` is rejected (exit 2). --- @@ -153,8 +152,8 @@ version across these packages is an intra-port skew finding. (the generated `AppDbContext` + generated entity classes) **is** the runtime persistence layer. Hand-written service classes over the generated `AppDbContext` are the expected pattern, not a defect. -- **No C# migrate command.** Schema migration is Node-`meta`-owned for every port - (ADR-0015). `dotnet meta` has no migrate subcommand; `meta migrate` is correct. +- **No C# migrate command.** Schema migration is your own tool or the Node `meta migrate` + reference helper (ADR-0015 Amendment 2). `dotnet meta` has no migrate subcommand; `meta migrate` is correct. - **Core filter-operator codegen ships in C# — do NOT treat it as deferred.** The `routes` generator (`Routes.cs`, Minimal API) generates the `?filter[field][op]=value` grammar (all 9 operators `eq/ne/gt/gte/lt/lte/in/like/isNull`) via the runtime `ListQueryParser` + diff --git a/agent-context/skills/metaobjects-audit/references/java.md b/agent-context/skills/metaobjects-audit/references/java.md index 8a296b7928..086255b208 100644 --- a/agent-context/skills/metaobjects-audit/references/java.md +++ b/agent-context/skills/metaobjects-audit/references/java.md @@ -48,8 +48,8 @@ dependency against `.metaobjects/deps.lock.json` and fails with `ERR_DEPENDENCY_ run the Node `meta deps check` for those). A project that publishes a model wires the `shared-model` generator; `verify --codegen` drift-gates its output. -Schema migration + live-DB drift run through the **Node `meta` CLI** regardless of -server language — see the migration reference. `mvn metaobjects:verify -Dmeta.verify.mode=db` +Schema migration is your own tool or the Node `meta migrate` reference helper; live-DB drift is the Node `meta verify --db` +whichever tool built the schema — see the migration reference. `mvn metaobjects:verify -Dmeta.verify.mode=db` is rejected (exit 2). The generator list and the `` are both declared in `pom.xml` under the @@ -165,5 +165,5 @@ versioning — **do not flag it** (only intra-port skew matters). emits `Repository.java` as a stub `interface`; the consumer hand-writes the implementation against OMDB (or any persistence layer). Hand-written repository implementations that match the generated interface exactly are expected. -- **No Java migrate goal.** Schema migration is Node-`meta`-owned for every port - (ADR-0015). The Maven plugin has no migrate goal; `meta migrate` is correct. +- **No Java migrate goal.** Schema migration is your own tool or the Node `meta migrate` + reference helper (ADR-0015 Amendment 2). The Maven plugin has no migrate goal; `meta migrate` is correct. diff --git a/agent-context/skills/metaobjects-audit/references/kotlin.md b/agent-context/skills/metaobjects-audit/references/kotlin.md index f3344a642c..864378d161 100644 --- a/agent-context/skills/metaobjects-audit/references/kotlin.md +++ b/agent-context/skills/metaobjects-audit/references/kotlin.md @@ -53,8 +53,8 @@ run the Node `meta deps check` for those). A project that publishes a model wire `shared-model` generator; `verify --codegen` drift-gates its output. Kotlin generators run through the **same Maven plugin goal** as Java generators — -both are SPI-discovered by the `metaobjects-maven-plugin`. Schema migration + live-DB -drift run through the **Node `meta` CLI** regardless of server language — see the +both are SPI-discovered by the `metaobjects-maven-plugin`. Schema migration is your own tool or the Node `meta migrate` +reference helper; live-DB drift is the Node `meta verify --db` whichever tool built the schema — see the migration reference. The active generator list is declared in `pom.xml` under the plugin `` @@ -169,5 +169,5 @@ cross-port versioning — **do not flag it** (only intra-port skew matters). richer list surface (`?search=`, `filter[or][N]` / `filter[and][N]` combinators, leading-wildcard gating; ADR-0068) passes in TypeScript and C#, and is pending in Kotlin until the Kotlin port's 1.3.0 REST-standard work lands — do NOT flag its absence in Kotlin until then. -- **No JVM migrate goal.** Schema migration is Node-`meta`-owned for every port - (ADR-0015). The Maven plugin has no migrate goal; `meta migrate` is correct. +- **No JVM migrate goal.** Schema migration is your own tool or the Node `meta migrate` + reference helper (ADR-0015 Amendment 2). The Maven plugin has no migrate goal; `meta migrate` is correct. diff --git a/agent-context/skills/metaobjects-audit/references/python.md b/agent-context/skills/metaobjects-audit/references/python.md index e65deaeade..54983f55a2 100644 --- a/agent-context/skills/metaobjects-audit/references/python.md +++ b/agent-context/skills/metaobjects-audit/references/python.md @@ -53,8 +53,7 @@ With no `metaobjects.config.yaml`, `gen` exits 2 and generates nothing. A target `generators` takes stable generator names: `entity`, `routes`, `filter-allowlist`, `names`, `output-parser`, `extractor`, `output-prompt`, `render-helper`, `trace-helper`, `template`. (There is no `payload` generator since ADR-0056: a template's payload and -response types are the value objects' own `entity` models.) Schema migration + live-DB drift run through the **Node `meta` CLI** -regardless of server language — see the migration reference. +response types are the value objects' own `entity` models.) Schema migration is your own tool or the Node `meta migrate` reference helper; live-DB drift is the Node `meta verify --db` whichever tool built the schema — see the migration reference. --- @@ -167,5 +166,5 @@ another) matters. - **Partial relationship + flattened-object codegen.** Relationship navigation, non-`table` source kinds, and `field.object @storage: flattened` codegen are partially implemented in the Python port. Do NOT flag these gaps as adopter defects. -- **No Python migrate subcommand.** Schema migration is Node-`meta`-owned for every - port (ADR-0015). `metaobjects` has no migrate subcommand; `meta migrate` is correct. +- **No Python migrate subcommand.** Schema migration is your own tool or the Node `meta migrate` + reference helper (ADR-0015 Amendment 2). `metaobjects` has no migrate subcommand; `meta migrate` is correct. diff --git a/agent-context/skills/metaobjects-audit/references/surface-review-axes.md b/agent-context/skills/metaobjects-audit/references/surface-review-axes.md index 3a27812195..69ea3be843 100644 --- a/agent-context/skills/metaobjects-audit/references/surface-review-axes.md +++ b/agent-context/skills/metaobjects-audit/references/surface-review-axes.md @@ -125,7 +125,7 @@ The full hunt for each axis of Phase 1b (Partial / Deep path). Each axis runs in (Node `meta` only) for DB drift. Flag a gate that is WIRED BUT INCOMPLETE for the artifacts present, and recommend the specific missing coverage. - [ ] **F2. Over-generation — unnecessary generated files (codegen WASTE).** - Generated code is disposable, but that is NOT license to generate what nothing + Generated code is regenerated output, but that is NOT license to generate what nothing consumes. Every generated file is a merge/review/maintenance surface and inflates the leverage ratio falsely. Hunt OVER-generation (the inverse of A/B's under-generation): diff --git a/agent-context/skills/metaobjects-authoring/SKILL.md b/agent-context/skills/metaobjects-authoring/SKILL.md index af0fcf1b1a..211102dfdf 100644 --- a/agent-context/skills/metaobjects-authoring/SKILL.md +++ b/agent-context/skills/metaobjects-authoring/SKILL.md @@ -13,7 +13,9 @@ emits code in each language from it, and the drift gates check everything agains - **Declare it; do not hand-write it.** Persistence, data access, validation, APIs and UI scaffolding are derived from metadata. When you reach for a hand-written query, route, validator, relationship or aggregate, that is usually metadata nobody has declared yet: - look for the construct first (`meta types `). + look for the construct first (`meta types `). Declare it when the cost test favours + it: smaller declared than hand-written, more than one instance, or drift protection a + hand-write cannot give. A one-off with none of these can stay hand-written. - **Adoption reverses the direction.** When working code or a populated schema already exists, it is the specification and the metadata reproduces it: its names, types and nullability. Read `references/adopting-existing-code.md` before modeling anything. @@ -77,18 +79,21 @@ When you are about to hand-write something data-shaped, find the model for it: search by behavior; there are subtypes, origins, identities and attributes you may not know exist. `--detail` shows one construct's valid `@attrs`; `--format json` gives every match with each attr's `allowedValues`, so you read the accepted values, not guess them. -3. **Declare it, generate, and consume the generated query, type or route.** Do not - reimplement it alongside. +3. **Declare it, generate, and consume the generated query, type or route.** Once declared, + do not reimplement it alongside. 4. **If the model is right and the generated output is wrong, change your generator.** Naming, file layout, imports, framework and signatures are generator concerns. The generators are in your repo and yours to edit; a rule against changing MetaObjects itself does not reach them (`metaobjects-codegen`, "When generated output does not fit"). 5. **Hand-write only what no construct can express**, wired to the generated types: business algorithms, external integrations, bespoke interactions. CRUD, validation, finders, - relationships and derived or aggregate data are not in that group. + relationships and derived or aggregate data are not in that group, unless the cost test + below says a one-off can stay hand-written. -If the metadata could describe it, declaring it is the right call even when a one-off -hand-write would be faster today (`references/model-first-rationale.md`). +If the metadata could describe it, declare it when the cost test favours it: the shape +is smaller declared than hand-written, it will have more than one instance, or declaring it +buys drift protection a hand-write cannot. A one-off with none of these can stay hand-written +(`references/model-first-rationale.md`). ## Adopting onto an existing codebase: metadata follows the code diff --git a/agent-context/skills/metaobjects-authoring/references/model-first-rationale.md b/agent-context/skills/metaobjects-authoring/references/model-first-rationale.md index 7937be392c..bd51b49102 100644 --- a/agent-context/skills/metaobjects-authoring/references/model-first-rationale.md +++ b/agent-context/skills/metaobjects-authoring/references/model-first-rationale.md @@ -1,14 +1,14 @@ # Why model-first wins -The case behind the operating principle in `SKILL.md`: why declaring the model beats hand-writing a layer, even when the hand-written version is cheaper this once. +The case behind the operating principle in `SKILL.md`: why declaring the model usually beats hand-writing a layer, even when the hand-written version is cheaper this once. The cost test in `SKILL.md` still decides a one-off. ## Contents - Second source of truth - The consistency tax - One change, every layer -**Why model-first wins even when hand-writing is cheaper this once — and it often -is, this once:** +**Why model-first usually wins, even when hand-writing is cheaper this once — and it often +is, this once (the cost test in `SKILL.md` still decides a true one-off):** - **Hand-writing a layer the metadata could own creates a second source of truth for one fact.** A field's type, validation, column, route, and form then change in N places and must stay consistent forever — not drift *risk*, but two sources of diff --git a/agent-context/skills/metaobjects-codegen/references/csharp.md b/agent-context/skills/metaobjects-codegen/references/csharp.md index 73f2e2b3a1..af3a11584f 100644 --- a/agent-context/skills/metaobjects-codegen/references/csharp.md +++ b/agent-context/skills/metaobjects-codegen/references/csharp.md @@ -2,8 +2,8 @@ The C# port targets .NET consumers (EF Core + ASP.NET). Codegen runs through the **`dotnet meta` .NET tool** — there is no Maven plugin and the Node `meta` binary -is **schema-migrations only** on the C# side (ADR-0015): `meta migrate` / -`meta verify --db` are Node-`meta`-owned; everything below is `dotnet meta`. +is the reference **schema-migrations helper** on the C# side (ADR-0015; EF Core Migrations is equally first-class): `meta migrate` / +`meta verify --db` run in the Node `meta` tool; everything below is `dotnet meta`. ## Contents - Install diff --git a/agent-context/skills/metaobjects-codegen/references/principles.md b/agent-context/skills/metaobjects-codegen/references/principles.md index 3dd57407f1..1ef45c6d86 100644 --- a/agent-context/skills/metaobjects-codegen/references/principles.md +++ b/agent-context/skills/metaobjects-codegen/references/principles.md @@ -12,7 +12,7 @@ reasons. Read it when a rule there does not settle the case in front of you. ## Principles - **Adopting onto existing code? Metadata FOLLOWS the code.** On a migration (existing working code / live DB), author metadata + tune codegen to *reproduce* what the code already is — native types (`field.uuid` when the code uses `UUID`, not `field.string`; and the type a JSON column's WRITER declares — `list[str]`, a dataclass, `dict[str, X]` — not an open jsonb bag), names, nullability — so regen changes as little existing code as possible. The only existing code that should change is the hand-written layer codegen replaces; ask when a modeling choice is ambiguous. (Greenfield: model-first, below.) -- Pattern-derivable from metadata = codegen, never hand-write — FKs, CRUD, validators, finders, and the database schema and migrations. The schema is a disposable, generated artifact: change the metadata and regenerate. Don't hand-write divergent SQL; where a stack owns its own migration files, GENERATE them — `meta migrate --migration-format flyway` emits the paired `V__`/`U__` files a Flyway runner expects, and leaves applying them to Flyway. The one exception is a schema this project deliberately owns outside MetaObjects (hand-written migrations by rule, or another team's database): when the root `AGENTS.md` or `CLAUDE.md` says so, follow it, and keep `meta verify --db` catching drift. +- Pattern-derivable from metadata = codegen, never hand-write — FKs, CRUD, validators, finders, and the database schema and migrations. The schema is generated output: change the metadata and regenerate. Don't hand-write divergent SQL; where a stack owns its own migration files, GENERATE them — `meta migrate --migration-format flyway` emits the paired `V__`/`U__` files a Flyway runner expects, and leaves applying them to Flyway. The one exception is a schema this project deliberately owns outside MetaObjects (hand-written migrations by rule, or another team's database): when the root `AGENTS.md` or `CLAUDE.md` says so, follow it, and keep `meta verify --db` catching drift. - **Once this project declares any `template.prompt`, every LLM prompt is one** — the text in the template, the data in a payload value object, rendered by the render engine. A structured reply is read through a response model (`@responseRef` and its generated extractor), never a regex or string search. This covers code that does not look like MetaObjects: a format string, text block, template literal or string builder sent to an LLM, and it covers every module, including test harnesses and scripts. Changing a prompt that is still hand-built means migrating it first (snapshot its current output and keep the rendered text byte-identical), not adding a line to it; the `metaobjects-prompts` skill has the steps. - The **live database** is a derived artifact too — never hand-apply a schema change to a running DB (ad-hoc `psql`/console `ALTER`/`CREATE`/`DROP`), not even to preview a column or unblock a boot. Drive every schema change from the metadata, never ad-hoc: with the reference migration helper that is `meta migrate` (metadata → DDL, ADR-0015); with a native tool (EF Core, Exposed, Alembic, sqlx) it is a migration written from the schema `meta schema` prints; on a **Flyway**-owned JVM stack that is `meta migrate --migration-format flyway`, which emits the migration and deliberately refuses `--apply` because Flyway owns applying it. Hand-authoring a migration to match the generated schema is the LAST resort — for a runner MetaObjects has no writer for — never the default for Flyway. A hand-applied ad-hoc change drifts the live DB from the metadata + migration history and collides at the next migrate/boot ("column already exists") — a state no migration can reproduce. Run `meta verify --db ` after any DB-touching work to catch that drift early — the URL is required, and the bare form exits 2. - **If this project declares `requirement.*` nodes, a commit that adds, changes or removes behaviour updates them in the same commit** (the claim, its `@status` and `@implementedBy`), or says in the commit message why not. `meta verify` checks that the links resolve, not that the ledger is current. diff --git a/agent-context/skills/metaobjects-codegen/references/python.md b/agent-context/skills/metaobjects-codegen/references/python.md index 9803e89532..ce0464f021 100644 --- a/agent-context/skills/metaobjects-codegen/references/python.md +++ b/agent-context/skills/metaobjects-codegen/references/python.md @@ -2,7 +2,7 @@ The Python port targets FastAPI consumers. Codegen runs through the **`metaobjects` console-script** (`pip install metaobjects`). As on every port, schema migrations -are **Node-`meta`-owned** (ADR-0015): `meta migrate` / `meta verify --db` run +run in your own tool or the Node reference helper (ADR-0015 Amendment 2): `meta migrate` / `meta verify --db` run through the Node `meta` tool — the Python CLI has **no `migrate` subcommand** and `metaobjects verify --db` is rejected. Everything below is `metaobjects`. diff --git a/agent-context/skills/metaobjects-fit-assessment/SKILL.md b/agent-context/skills/metaobjects-fit-assessment/SKILL.md index ef0a74778c..44722c90fd 100644 --- a/agent-context/skills/metaobjects-fit-assessment/SKILL.md +++ b/agent-context/skills/metaobjects-fit-assessment/SKILL.md @@ -52,7 +52,7 @@ It is not a two-minute check. Say so if anyone promised you one. You are an AI assistant running a **pre-adoption fit assessment** for MetaObjects (https://github.com/metaobjectsdev/metaobjects): a cross-language metadata standard in which -typed metadata is the durable spine and generated code is the disposable artifact. It is +typed metadata is the durable spine and generated code is regenerated output. It is assessed here on four pillars (codegen, runtime metadata, drift detection, prompt construction) across five ports (TypeScript, C#, Java, Kotlin, Python). You are sitting in a project that has **not** adopted it. @@ -79,9 +79,11 @@ adopt, where, and whether any of it is worth the tooling**. Adoption is a spectr - **Small, finished, single-app projects** → **NOT WORTH IT**. Say so plainly. (Whether a small app is *finished* is not in the code: see M8.) - A **single large app** on an ORM no reference generator targets sits between these: it has no - inter-app seam for a contract spine to protect, and FULL means rewriting its data layer. It is - usually NOT WORTH IT unless it has a real boundary (a public API with typed clients in another - language or repository, an LLM prompt surface, a schema shared with another team) — then that + inter-app seam for a contract spine to protect. It still fits: eject the persistence + generator and retarget it to that ORM (`meta eject`, or the port's own eject command), and + the cost is one generator, not a rewrite of the app's data layer. Say so, with an honest + effort tag. Where the app has a real boundary (a public API with typed clients in another + language or repository, an LLM prompt surface, a schema shared with another team), that boundary is the PARTIAL or CONTRACT-SPINE candidate, and you name it. --- @@ -117,7 +119,7 @@ Confidence: high | medium | low (and what would change it) Why, in three facts: , , Seams where it would pay off: (or "none found" — which is itself the finding for a single app) -Where it would not pay off: +Where it would not pay off: What you would not get: Next step: <"stop here" | "run the full assessment on " | the first-week wedge> ``` @@ -344,7 +346,7 @@ missing one is incomplete). Each row rules out *scopes*, not MetaObjects wholesa | Backend language outside TS/Java/Kotlin/C#/Python | no published codegen or runtime for that side; a seam to a supported-language consumer can still take a contract, generated for that side only. **Rust is the exception:** a full 1.3.0 port whose `cargo meta gen` runs the `entity`, `client` and `commands` generators, with its crates ready to publish but not yet on crates.io (`docs/ports/rust.md`), so say it works from a checkout until the first release | | No relational store (MongoDB, Cassandra, Neo4j, a remote API) | schema pillar N/A; model the stored records as sourceless entities (`identity.primary`, no `source.*`) — types, create/PATCH schemas, filter allowlists, `verify` and prompts IN; data access is a generator the adopter owns (`docs/recipes/document-graph-and-wide-column-stores.md`) | | DB not Postgres/SQLite/D1 (MySQL, ClickHouse, SQL Server, …) | `meta migrate` / `verify --db` OUT for that database — say so; types and data access unaffected. MySQL is a supported codegen + runtime dialect (`dialect: "mysql"`; `docs/recipes/mysql.md`) | -| ORM no reference generator targets (TypeORM, Sequelize, SQLAlchemy ORM, Django ORM, Hibernate-only entities on the Java lane; Prisma on TypeScript IS targeted: `orm: "prisma"` generates `schema.prisma`, so FULL keeps Prisma) | FULL means replacing the data layer — price it as such; CONTRACT SPINE and PARTIAL leave it untouched | +| ORM no reference generator targets (TypeORM, Sequelize, SQLAlchemy ORM, Django ORM, Hibernate-only entities on the Java lane; Prisma on TypeScript IS targeted: `orm: "prisma"` generates `schema.prisma`, so FULL keeps Prisma) | FULL means ejecting the persistence generator and retargeting it to that ORM — price one owned generator, not a data-layer rewrite; CONTRACT SPINE and PARTIAL leave it untouched | | No seam (single app, no second consumer of any shape) | CONTRACT SPINE has nothing to protect | | Seams already gated (OpenAPI generation + check, shared-types package, schema registry) | that seam is not an opportunity; do not count it | | Few entities today (< ~5) | **not a flat verdict — the M8 trap.** Done at this size → NOT WORTH IT; expected to grow → FULL (adopt early); unanswered → both branches | diff --git a/agent-context/templates/always-on.md.mustache b/agent-context/templates/always-on.md.mustache index b9665e4be4..21b8b54b32 100644 --- a/agent-context/templates/always-on.md.mustache +++ b/agent-context/templates/always-on.md.mustache @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/changelog.d/agent-pages-code-unit-order.md b/changelog.d/agent-pages-code-unit-order.md deleted file mode 100644 index 54836ac16f..0000000000 --- a/changelog.d/agent-pages-code-unit-order.md +++ /dev/null @@ -1,9 +0,0 @@ -- **The agent pages sort in code-unit order.** `agent/requirements.md` (its node index and - statements) and `agent/schema.md` (its tables and views) sorted names with `localeCompare`, - whose collation differs between machines and could not be matched exactly by another port. - They now sort by code unit, the order the docs-page corpus pins in every port, and Python's - pages drop the collation emulation they carried to match. A model whose names differ only in - case or punctuation may see those rows reorder once. Python's `agent/schema.md` now also - carries the `meta migrate` wording only for a project that set `migrate.dialect`, as the - TypeScript page does. Generated-output change — regenerate to pick it up; three-way merge - preserves hand edits. diff --git a/changelog.d/agent-skills-rewritten.md b/changelog.d/agent-skills-rewritten.md deleted file mode 100644 index 2dc48d44d2..0000000000 --- a/changelog.d/agent-skills-rewritten.md +++ /dev/null @@ -1,11 +0,0 @@ -- **The seven agent skills are rewritten for current models.** Each `SKILL.md` that `meta init` - installs now opens with an Essentials block, the rules that must survive when a long session - is compacted, gives the reason for each rule it keeps, and drops step lists the model does not - need. The descriptions of `metaobjects-audit`, `metaobjects-runtime-ui` and - `metaobjects-verify` now open with the use case. A blind A/B on 23 fixed tasks scored the - rewrite level with or ahead of the old text on every task - (`docs/superpowers/specs/2026-11-22-agent-skills-fable5-refactor-evaluation.md`); the harness is - `agent-context/evals/skill-ab/`. Run `meta agent-docs` to take the new text in an existing - project. Two reference files no longer say `apiPrefix` reaches the client's fetch URLs: the - client takes its prefix from `baseUrl` on the fetcher provider. `@metaobjectsdev/sdk` no longer - ships `agent-context/evals/`, the skills' test harness, in its npm package. diff --git a/changelog.d/ci-local-lane-memory-admission.md b/changelog.d/ci-local-lane-memory-admission.md deleted file mode 100644 index 967699dac5..0000000000 --- a/changelog.d/ci-local-lane-memory-admission.md +++ /dev/null @@ -1,8 +0,0 @@ -- **Local CI starts a lane only when the machine has the memory for it.** `scripts/ci-local.sh` - holds a waiting lane until `MemAvailable` covers `MO_CI_LANE_MIN_FREE_MB` (default 8192) for - it and for each lane started in the last 30 seconds. The first lane always starts, and `0` - turns the check off. On a busy machine the parallel lanes had driven memory down to - earlyoom's limit, and its SIGTERMs read as a crashed C# test host, SIGTERMed bun workers and - a killed `rustc`, not as a memory problem. The SQLite and D1 report api-contract file now - generates and boots one server per suite and reseeds in one batch, so it runs in about 46 - seconds instead of about 10 minutes, which no longer outlasts a 10-minute command cap. diff --git a/changelog.d/cli-init-with-services.md b/changelog.d/cli-init-with-services.md deleted file mode 100644 index d7fbaaff06..0000000000 --- a/changelog.d/cli-init-with-services.md +++ /dev/null @@ -1,8 +0,0 @@ -- **cli: `meta init --with-services` and the `unenforced-lifecycle` advisory (ADR-0067 §6, §8).** - `init` still writes an empty generator list; `--with-services` writes the recommended service list - instead (`entityFile()`, `rulesNamesFile()`, `contractTypes()`, `serviceFile()`, - `serviceRoutesFile()`, with `serviceFile({ interactiveTransactions: false })` on `--d1`) and names - the packages their output needs. `meta gen --list` names the same list under the catalog. - `meta verify` now advises, without changing the exit code, when a concrete entity with a source - declares a lifecycle and no listed service generator covers it: the flat routes do not enforce - it. diff --git a/changelog.d/codegen-ts-angular-form-binding.md b/changelog.d/codegen-ts-angular-form-binding.md deleted file mode 100644 index f5449b0038..0000000000 --- a/changelog.d/codegen-ts-angular-form-binding.md +++ /dev/null @@ -1,7 +0,0 @@ -- **codegen-ts-angular: the generated form binds its controls.** Each control in - `.form.component.ts` read `[formControlName]=""email""`, a binding whose quoted - expression was cut short by the attribute's own quotes, so Angular bound no control. It now - writes `formControlName="email"`. The form also imports `Validators` only when a control uses - it, and the `__ensureValidatorsImport__` line that kept the import alive is gone. The TanStack - and Angular templates now write through the code writer (ADR-0063). Their output is otherwise - the same code, with imports merged per module and sorted. diff --git a/changelog.d/codegen-ts-generator-provides.md b/changelog.d/codegen-ts-generator-provides.md deleted file mode 100644 index 4aa469d965..0000000000 --- a/changelog.d/codegen-ts-generator-provides.md +++ /dev/null @@ -1,8 +0,0 @@ -- **codegen-ts: a generator declares what it provides in one place.** `provides` on a `Generator` - (`entityModule`, `queries`, `names`, `reportExport`, `routes` with its framework, `expose` and - `filter`, `uiTier`, `modelDocs`, `apiDocs`) replaces the nine single-purpose markers - (`emitsEntityModule`, `emitsQueries`, `emitsNames`, `emitsReportExport`, `emitsHonoRoutes`, - `mountsRoutes`, `emitsUiTier`, `emitsModelDocs`, `emitsApiDocs`). The runner, the docs - generators and the gates read it through one function, `providesOf`, so a generator of your own - under any name is seen as the stock one is. The old markers are deprecated and still read, so an - owned copy that sets them keeps working; a re-ejected copy declares `provides`. diff --git a/changelog.d/codegen-ts-reserved-word-queries.md b/changelog.d/codegen-ts-reserved-word-queries.md deleted file mode 100644 index 3d66c9c9fd..0000000000 --- a/changelog.d/codegen-ts-reserved-word-queries.md +++ /dev/null @@ -1,4 +0,0 @@ -- **codegen-ts: an entity named after a reserved word gets a queries module that parses.** An - entity called `Case` (or `Default`, `Class`, …) wrote `const [case] = await db.select()…` in - its `.queries.ts`, which is a syntax error; the row variable now takes the `Row` suffix - (`caseRow`) that a collection-name clash already took. diff --git a/changelog.d/csharp-aspnetcore-helper-package.md b/changelog.d/csharp-aspnetcore-helper-package.md deleted file mode 100644 index 8e6fbeb2aa..0000000000 --- a/changelog.d/csharp-aspnetcore-helper-package.md +++ /dev/null @@ -1,27 +0,0 @@ -- **C#: the route helpers are their own package, `MetaObjects.AspNetCore`, and `MetaObjects.Codegen` - and the `dotnet meta` tool no longer carry EF Core.** `FilterParser`, `FilterParseResult`, - `FilterPredicate`, `EfCoreFilterDispatch`, `ValueObjectValidator`, `ConstraintErrors`, - `ValidationIssues`, `UnknownFieldCheck`, `Iso8601TimestampConverter`, `DecimalWire`, - `DurationWire`, `DecimalRangeEndpointFilter`, `ReportExportHttp` and `SerializerKeys` moved from - `MetaObjects.Codegen` (namespace `MetaObjects.Codegen.Runtime`) to the new `MetaObjects.AspNetCore` - package (namespace `MetaObjects.AspNetCore`), which depends on ASP.NET Core and EF Core and on no - MetaObjects package. `MetaObjects.Codegen` drops its EF Core and ASP.NET Core references: the tool - installs about 42% smaller (14 DLLs to 6), and the first restore of a `codegen/` project no longer - pulls EF Core's 11 packages. `ExtractObject` and `M2MResolver` stay in `MetaObjects.Codegen` under - `MetaObjects.Codegen.Runtime`. The packaged routes generator now writes `using MetaObjects.AspNetCore;`, - so the next `dotnet meta gen` moves that line in every generated routes file. `dotnet meta gen` and - `dotnet meta verify` warn when a generated file imports `MetaObjects.AspNetCore` and the project - that compiles it (the one `.csproj` in its directory or above, a project it references, or a - `Directory.Build.props`/`.targets` above them) does not reference the package, and when generated - output still imports the helpers from `MetaObjects.Codegen.Runtime`. Both warnings are advisory. - `dotnet meta eject routes` still copies the helpers into `codegen/runtime/` as `Codegen.Runtime`. - Generated-output change — regenerate to pick it up; three-way merge preserves hand edits. - - Upgrading: add `` to the - app that compiles the generated routes, run `dotnet meta gen`, and change any hand-written - `using MetaObjects.Codegen.Runtime;` that names one of the helpers (a host registering - `Iso8601TimestampConverter`, say) to `using MetaObjects.AspNetCore;`. A routes generator you - ejected before the helpers were handed over writes `using MetaObjects.Codegen.Runtime;`: set its - `HelperRuntimeNamespace` constant to `"MetaObjects.AspNetCore"`, or re-eject with - `dotnet meta eject routes --force`. An app that only uses the ejected helpers in `codegen/runtime/` - needs nothing. diff --git a/changelog.d/csharp-default-list-page-of-fifty.md b/changelog.d/csharp-default-list-page-of-fifty.md deleted file mode 100644 index 2ca9eb2ca6..0000000000 --- a/changelog.d/csharp-default-list-page-of-fifty.md +++ /dev/null @@ -1,10 +0,0 @@ -- **C#: a list with no `limit` answers 50 rows (breaking).** A generated entity, TPH or projection - list route in a project that sets no `api.pagination` returned every matching row when the - request carried no `limit`; it now answers the first 50 (`ApiSettings.DefaultPageLimit`), as every - port does. An explicit `limit` is still served as asked (no maximum without the setting), and a - project that sets `api.pagination` is unchanged. Without the setting a `limit` or `offset` that is - not a non-negative integer is now `400 pagination.invalid_value` instead of being ignored, and - `limit=0` is a page of zero rows. The `dotnet meta verify --codegen` advisory `unbounded-list-pages` - is retired. Generated-output change — regenerate to pick it up; three-way merge preserves hand - edits. Check any client that reads a whole list without a `limit`: - [docs/features/migrations/default-list-page-of-fifty.md](docs/features/migrations/default-list-page-of-fifty.md). diff --git a/changelog.d/csharp-rest-standard-list-routes.md b/changelog.d/csharp-rest-standard-list-routes.md deleted file mode 100644 index e2b920447f..0000000000 --- a/changelog.d/csharp-rest-standard-list-routes.md +++ /dev/null @@ -1,26 +0,0 @@ -- **C#: the generated list routes speak the REST standard.** Every entity, projection, report and - single-table-hierarchy list route now reads its query through `ListQueryParser`: `?search=` - (case-insensitive, over the filterable text fields), `filter[or][i]` / `filter[and][i]` groups - five levels deep, and the named refusals `filter.bare_field` (a `?name=` outside `filter[...]`, - which used to answer every row), `filter.leading_wildcard_disallowed`, `filter.nesting_too_deep` - and `invalid_filter_value` for a value of the wrong format. A refusal's body carries the shared - details (`field`, `expected`, `allowed`), so an `invalid_sort` lists the sortable fields. A body - that is not JSON is now `400 {"error": "invalid_json"}` (it was the `validation` body), and a - path id the key cannot hold is `400 {"error": "invalid_id"}` on every item route (it was an - empty 400 from ASP.NET Core's binding). The sortable set is unchanged. The routes read the new - `RouteErrors` helper in `MetaObjects.AspNetCore`, and `dotnet meta eject routes` copies it with - the others. The filter allowlist now carries the parser's rule table (`Rules`, `Sort`, - `FieldNames`), typed with the helpers, so `routes` and `filter-allowlist` are ejected together: - naming either owns both, and `eject --undo` gives both back. The C# generated lane now runs the whole `list-query/` sub-corpus, closing the C# - routes' `KNOWN_GAPS.md` G2. Generated-output change — regenerate to pick it up; three-way merge - preserves hand edits. - - Upgrading: a project that owns `routes` and not `filter-allowlist` runs - `dotnet meta eject filter-allowlist` (or `eject routes --force`), so both read the owned helpers. - A client that sent a bare `?field=value` and read every row back now gets a 400; - send `filter[field][eq]=value`. A client that matched the `validation` body of a malformed JSON - request should match `invalid_json`. - The flat-filter path (`FilterParser`, `FilterPredicate`, `FilterParseResult`, - `EfCoreFilterDispatch.ApplyFilter` and `Validate(FilterParseResult)`) is now `[Obsolete]` and will be - removed in 2.0; a hand-written endpoint moves to `ListQueryParser.Parse`, `EfCoreFilterDispatch.Apply` - and `Validate(ListQuery)`. diff --git a/changelog.d/docs-pages-site-shared-rows.md b/changelog.d/docs-pages-site-shared-rows.md deleted file mode 100644 index b5ca2094b8..0000000000 --- a/changelog.d/docs-pages-site-shared-rows.md +++ /dev/null @@ -1,6 +0,0 @@ -- **The docs pages and the docs site share one row shape.** `fixtures/docs-page-conformance/` - now also pins, under `expected/rows/`, the rows each page is built from: the requirement - ledger rows and the model-only schema rows. The schema rows are a subset of `meta schema - --as json`, and the requirement rows are what the explorer graph already holds, so the site - reuses them instead of pinning a second shape. codegen-ts exports `schemaRows()` and - `schemaInputFromRows()`. No page changes a byte. diff --git a/changelog.d/explorer-every-top-level-node.md b/changelog.d/explorer-every-top-level-node.md deleted file mode 100644 index 5442381505..0000000000 --- a/changelog.d/explorer-every-top-level-node.md +++ /dev/null @@ -1,6 +0,0 @@ -- **Every top-level node gets an explorer page.** The site wrote pages only for objects and - templates, so a requirement claiming a node of another type, such as an application's - `capability.module`, failed the site's own link check. Every other top-level type now gets a - generic page (`explorer-node.html.mustache`, which `meta eject docs-site` copies): its - attributes, linked where they name a node, its members, the requirements claiming it, what - references it and what was generated from it. Package pages and search list these nodes too. diff --git a/changelog.d/explorer-own-top-level-vocabulary.md b/changelog.d/explorer-own-top-level-vocabulary.md deleted file mode 100644 index d8db2d58a7..0000000000 --- a/changelog.d/explorer-own-top-level-vocabulary.md +++ /dev/null @@ -1,6 +0,0 @@ -- **The model explorer builds on a project with its own top-level vocabulary.** Two top-level - nodes of different types sharing a package and a name (an entity `Lead` and a page `Lead`) - made `buildExplorer` throw `two nodes share the id`. The object now keeps the plain - `::` id and each other node adds its type, `acme::crm::Lead[page.list]`, as a - nested sibling already did; a model with no such collision gets the same ids as before. A - requirement whose id took a qualifier still takes its ledger row. diff --git a/changelog.d/gen-skip-key-linked-generator-packages.md b/changelog.d/gen-skip-key-linked-generator-packages.md deleted file mode 100644 index ef2ec6899a..0000000000 --- a/changelog.d/gen-skip-key-linked-generator-packages.md +++ /dev/null @@ -1,12 +0,0 @@ -- **`meta gen` and `cargo meta gen`: the skip key now covers a linked generator package.** In - TypeScript, the ADR-0064 skip key ignored every `@metaobjectsdev/*` package the config imported, - on the assumption that the CLI aliases it onto its own engine copy. Only the packages the CLI - actually aliases are left out now. Any other `@metaobjectsdev/*` package, such as an independent - pack, is hashed like any third-party generator package: a linked or source checkout by the content - of its files, an installed one by its version. In Rust, a crate the owned `codegen/` crate depends - on by `path`, in a build table or a `[patch]`, is now an input too, followed through that crate's - own path dependencies and the workspace it inherits from; the `metaobjects` and - `metaobjects-codegen` engine crates are still covered by the engine's own source hash. Both ports - bump their fingerprint format, so the first `gen` after upgrading renders once. Before this - change, editing such a package's generator code while the model, the config and the lockfile - stayed the same left the key unchanged, and `gen` skipped over stale output. diff --git a/changelog.d/generator-authoring-surface.md b/changelog.d/generator-authoring-surface.md deleted file mode 100644 index 6d76a6e92d..0000000000 --- a/changelog.d/generator-authoring-surface.md +++ /dev/null @@ -1,11 +0,0 @@ -- **The generator-authoring surface is named and promised.** Each port names the modules you write - your own generator against, in four roles: the generator interface, the model walk, the code - writer and the naming helpers. They are listed in a new `surface` block of - `fixtures/generator-registry-conformance/registry.json`. That surface is versioned with the port's - codegen package under the compatibility policy; the rest of the engine is internal. A generator - will declare what it provides in one place instead of flags named after packaged generators, and - reference templates that `meta eject` copies stay your own code, never surface. Decision record: - ADR-0034 Amendment 12, ADR-0035 Amendment 7, ADR-0065 Amendment 5. TypeScript pins the - surface's exported names in `codegen-ts/test/authoring-surface.snapshot.json`, and the engine - entry (`@metaobjectsdev/codegen-ts/engine`) now also exports `objectRefTarget`. The other ports' - snapshot tests follow. diff --git a/changelog.d/independent-packs-skeleton.md b/changelog.d/independent-packs-skeleton.md deleted file mode 100644 index 76530133c2..0000000000 --- a/changelog.d/independent-packs-skeleton.md +++ /dev/null @@ -1,13 +0,0 @@ -- **Independent packs: the `packs/` directory, its gates and its lane (ADR-0069).** A capability - that is not core vocabulary can now be built in `packs//` with its own version, changelog - and port list, outside the default bundle and outside `metamodelVersion`. The packs that - exist are listed in `packs/README.md`, and nothing published changes. `scripts/check-pack-boundary.ts` fails a change that makes core - depend on a pack, puts a pack in the bundle, or lets core's release tooling see `packs/`. - `scripts/check-pack-manifests.ts` holds each `pack.json` to its ports' native manifests. - `scripts/pack-vocabulary.ts` pins the rows a pack adds and fails one that changes the bundle's, - and `scripts/pack-conformance.ts` runs a pack's load fixtures through the new corpus-root entry - point `runCorpus` in `@metaobjectsdev/conformance`. A new `packs` lane in `ci-local.sh` blocks - for a pack's own change and reports, without failing, a pack that a core change breaks. The - root `build` and `typecheck` scripts now name core's workspace directories instead of - `--filter '*'`. The provider contract is now named as covered by core's package version - (`docs/compatibility-policy.md`). diff --git a/changelog.d/metadata-apply-provider-definition-export.md b/changelog.d/metadata-apply-provider-definition-export.md deleted file mode 100644 index ab6506ae0a..0000000000 --- a/changelog.d/metadata-apply-provider-definition-export.md +++ /dev/null @@ -1,10 +0,0 @@ -- **metadata: a provider outside core can register vocabulary from a definition file.** - `applyProviderDefinition` and its types (`ProviderDefinition`, `TypeDef`, `ChildDef`, - `ExtendDef`, `FactoryMap`, `ValidatorMap`) are exported from `@metaobjectsdev/metadata`, with - the validation hook's types (`NodeValidator`, `ValidationContext`, `SymbolTable`, - `LoaderCode`). `applyProviderDefinition` takes an optional fourth argument, a - `"."` → validator map, so a type registered from data can carry a check the data - cannot express. `referrerPackageFor` (ADR-0059 R3: the package a reference attribute resolves - in) is exported too, so a provider's own reference check resolves as the loader's does. The - bundled packs already registered this way; the independent packs under `packs/` (ADR-0069) now - can too. No vocabulary or `metamodelVersion` change. diff --git a/changelog.d/metadata-reference-sources.md b/changelog.d/metadata-reference-sources.md deleted file mode 100644 index 17be64ca5f..0000000000 --- a/changelog.d/metadata-reference-sources.md +++ /dev/null @@ -1,9 +0,0 @@ -- **Reference sources: name a prompt's reply type that another run generates.** A `sources` - entry may carry `"reference": true` (Maven: ``). Its files load into - the same tree, so a prompt's `@responseRef` (and any other reference) resolves against them, - and no generator emits a type for a node declared only there. The prompt keeps its parser, - output-format fragment and extractor, naming the reply type the other run generates. Before - this, a reply type owned by another generator run could not be named at all (the load - refused the unresolved `@responseRef`), and merging its files into the prompt's tree generated - every reply type a second time. A `template.*` declared only in a reference source is refused - (`ERR_REFERENCE_SOURCE_TEMPLATE`). Every port, pinned by `fixtures/reference-source-conformance/`. diff --git a/changelog.d/migrate-reference-helper-wording.md b/changelog.d/migrate-reference-helper-wording.md deleted file mode 100644 index 39a3f3571d..0000000000 --- a/changelog.d/migrate-reference-helper-wording.md +++ /dev/null @@ -1,10 +0,0 @@ -- **`meta migrate` is the reference migration helper, one option, in the docs and the agent - files.** Each port page now leads with its native migration path (EF Core Migrations, Flyway or - Liquibase, Exposed, Alembic, sqlx), handed the schema `meta schema` prints. The always-on - `.metaobjects/AGENTS.md` carries the `meta migrate` steps, the `verify --db` step and the - `.metaobjects/migrations/` commit line only when the project chose a migrate dialect - (`migrate.dialect` in `.metaobjects/config.json`, which `meta init --dialect` writes); `meta init` - prints its migrate step on the same condition. The generated `agent/schema.md` says to change the - schema with `meta migrate` on the same condition, and otherwise with the project's own migration - tool. The shared page data gains `hasMigrate`, and the shipped agent tree (manifest schema `2`) - ships every stack with and without the steps, the second with a `-migrate` id suffix. diff --git a/changelog.d/python-agent-docs-no-node.md b/changelog.d/python-agent-docs-no-node.md deleted file mode 100644 index 9cc8d655e2..0000000000 --- a/changelog.d/python-agent-docs-no-node.md +++ /dev/null @@ -1,10 +0,0 @@ -- **Python: `metaobjects agent-docs` writes the shipped agent files itself, with no Node.** It used to - print a redirect to `npx meta agent-docs --server python` and exit 1. It now copies - `.metaobjects/AGENTS.md` and the `metaobjects-*` skills for the stack (`--server`, `--client`, - default `python`; `--out`; `--no-wire-root`) out of a copy of `agent-context-shipped/` that the - wheel carries, pins the guide links to the release tag (a prerelease keeps `main`), and matches - `npx meta agent-docs` byte for byte for the same stack, including the `-migrate` stack it picks - when `.metaobjects/config.json` sets `migrate.dialect`. A re-run writes nothing for an unchanged - file, parks fresh text at `.new` beside a hand-edited one, and rewrites the sidecar manifest - only when it changed. `--skills-dir` and `--no-skills` remain Node-CLI flags. The `gates` lane - fails when the copy drifts (`scripts/sync-python-agent-context.sh` refreshes it). diff --git a/changelog.d/python-requirements-agent-docs-generators.md b/changelog.d/python-requirements-agent-docs-generators.md deleted file mode 100644 index 003fcaa4c0..0000000000 --- a/changelog.d/python-requirements-agent-docs-generators.md +++ /dev/null @@ -1,9 +0,0 @@ -- **Python: the `requirements` and `agent-docs` generators.** `metaobjects gen` can now write - `requirements.md`, `requirements.toon`, `agent/requirements.md` and the model-only - `agent/schema.md` (`agent/ui.md` stays TypeScript-only). They render the shared Mustache - templates from the pinned data model, held to `fixtures/docs-page-conformance/`; the templates - are bundled in the package (`scripts/sync-doc-templates.sh` copies them, the doc-template drift - gate checks the copy) and a same-named template under the project's templates directory - overrides a page. Both are ejectable. The Python Mustache engine now treats a string-valued - section as the context (`{{#statement}}{{{.}}}{{/statement}}`), as the spec and the TypeScript - engine do. diff --git a/changelog.d/rust-crates-release-path.md b/changelog.d/rust-crates-release-path.md deleted file mode 100644 index 53efc40f99..0000000000 --- a/changelog.d/rust-crates-release-path.md +++ /dev/null @@ -1,6 +0,0 @@ -- **The Rust crates join the release path (ADR-0065 Amendment 3).** The workspace version moves to - the shared line (1.3.0), and `scripts/release.mjs` publishes the four crates to crates.io after - npm, behind the same confirm, in dependency order, when a file they ship changed since the last - `rust-v*` tag (or they never shipped, or `expected-registry.json` moved); `--crates=publish|skip` - overrides. Its preflight checks the crates.io token and that the version is free before anything - is bumped. `docs/RELEASING.md` names crates.io as the fifth registry. Nothing is published. diff --git a/changelog.d/rust-generators-own-layout.md b/changelog.d/rust-generators-own-layout.md deleted file mode 100644 index 8839acdd96..0000000000 --- a/changelog.d/rust-generators-own-layout.md +++ /dev/null @@ -1,16 +0,0 @@ -- **Rust generators own their layout, take options and expose their parts (ADR-0063).** A - layout ratchet (`tests/layout_ratchet.rs`) parses every generator source with `syn` and fails - on a hand-typed line break or indentation run; its allowlist can only shrink, and it starts - empty but for six files whose strings are not generated code. Eight `rust` writer-conformance - cases pin the dialect (`use_list`, `doc`, `prose`, `doc_break`, `assign`), each a rustfmt fixed - point under the generated crates' `rustfmt.toml`. An entry in `metaobjects.config.json`'s - `generators` may now be `{"name": ..., "options": {...}}`: `Generator::configure` receives the - options, and the shipped generators take none and refuse any key with - `ERR_UNKNOWN_GENERATOR_OPTION`, also on a run `--generators` narrows. Each shipped generator - has a `*Parts` trait — eleven in all once the layer generators landed (`EntityParts`, - `ClientParts`, `CommandsParts`, `RenderHelperParts`, `OutputParserParts`, `OutputPromptParts`, - `RulesNamesParts`, `ContractTypesParts`, `RepositoryParts`, `ServiceParts`, - `ServiceRoutesParts`) — with one default method per output piece, so an owned - generator overrides one piece and keeps the rest. Generated output is byte-identical but for - one fix: `assign` now moves an array right-hand side to the next line when that is where - rustfmt puts it under those settings. diff --git a/changelog.d/rust-many-to-many-traversal.md b/changelog.d/rust-many-to-many-traversal.md deleted file mode 100644 index d8a31f1b31..0000000000 --- a/changelog.d/rust-many-to-many-traversal.md +++ /dev/null @@ -1,7 +0,0 @@ -- **Rust port: many-to-many relationships are traversed (FR-018).** A many-to-many relationship - of a keyed entity gets `_of` in its store module, the related rows read through the - junction in one statement (hetero, directed self-join and `@symmetric` self-join, which keeps a - row relating a record to itself). The junction's keys come from the same derivation the loader's - pairing rule runs, now a public function of the core crate (`derive_m2m_fields`). The persistence - runner runs all 56 scenarios on Postgres, `guarded-update` among them (`meta_store::transition` - takes a transition's `@condition` and ANDs it into the same statement), and its ledger is empty. diff --git a/changelog.d/rust-prompt-tier.md b/changelog.d/rust-prompt-tier.md deleted file mode 100644 index 25783083a8..0000000000 --- a/changelog.d/rust-prompt-tier.md +++ /dev/null @@ -1,9 +0,0 @@ -- **Rust port's prompt tier: `render-helper`, `output-parser` and `output-prompt`.** Three - generators put the `metaobjects-render` crate (render, the strict JSON parse and the tolerant - `extract`, the output-format fragment) behind typed functions, held to the render, - template-output and extract corpora. They write a crate each beside the model crate: - `_prompts` (a typed render function per prompt), `_parsers` (`parse_` - for a JSON reply, `extract_` for any, and the extract schema) and `_formats` - (the fragment and its descriptor), for every prompt with a `@responseRef` (ADR-0052). `eject` - copies all three, and `gen` checks each body against its payload before it writes a render function. - The generated crates depend on `metaobjects-render` at this release's major and minor. diff --git a/changelog.d/rust-reports-projections-read.md b/changelog.d/rust-reports-projections-read.md deleted file mode 100644 index a1579f30ae..0000000000 --- a/changelog.d/rust-reports-projections-read.md +++ /dev/null @@ -1,10 +0,0 @@ -- **Rust port: reports and projections are read (FR-044, ADR-0028).** The core crate derives a - report's fields (`metaobjects::report_shape`, FR-044 Table B and C) byte for byte with - `report-shapes.json`. A served read (a concrete projection or report whose read source is a view) - gets a read-only struct in its model crate and a read-only module in its store crate: `list`, - `count`, and `get` for a projection with a key. A view's numbers are read through a cast to their - field's type, since the view's SQL picks the column type. The persistence runner now runs the 24 - report and 3 projection scenarios, and its ledger holds only the three many-to-many ones. A - view-backed projection that an operation returns is now the model crate's type, not a copy in - the contract crate. Clients and commands for read models wait for a Rust transport that serves - them. diff --git a/changelog.d/rust-repository-generator.md b/changelog.d/rust-repository-generator.md deleted file mode 100644 index b4dede897a..0000000000 --- a/changelog.d/rust-repository-generator.md +++ /dev/null @@ -1,12 +0,0 @@ -- **Rust port's data access: the `repository` generator (ADR-0067 layer 3).** It writes a - `_store` crate per package with a stored entity, on sqlx, for Postgres and SQLite: per - entity the table mapping and typed `list` (the nine filter operators, sort, paging), `count`, - `get`, `create`, `update` and `delete`, and per lifecycle the guarded update - `transition_(id, from, to)`, one conditional `UPDATE` that answers `false` when another - writer moved the row first (ADR-0066 §6). The shared `meta_store` crate holds the statements and - the decode of each column into the model's own types. A single-table subtype writes its - discriminator and reads only its own rows. A Rust runner for the shared persistence corpus runs - it on a throwaway Postgres: every list, get, count, create, update, delete, roundtrip and - single-table scenario passes; the many-to-many, projection and report scenarios are on its - shrink-only ledger, because projections, reports, many-to-many traversal and flattened storage - are not stored yet. diff --git a/changelog.d/rust-rules-names-contract-types.md b/changelog.d/rust-rules-names-contract-types.md deleted file mode 100644 index 708e9802c8..0000000000 --- a/changelog.d/rust-rules-names-contract-types.md +++ /dev/null @@ -1,14 +0,0 @@ -- **Rust port's rules layers 0 and 1: `rules-names` and `contract-types` (ADR-0067).** Two - generators read the business-rules vocabulary, and each writes nothing for a model without it. - `rules-names` writes a `_rules` crate for a package with a lifecycle or a declared - operation: per entity, each lifecycle's state type (the model's own enum), its states, initial - and terminal states and its transitions, and the commands derived from unclaimed transitions; - then the package's operations (kind, permission, claimed transitions, business errors), every - permission asked about (declared or derived per ADR-0066) and every business error, each as a - closed enum, plus the five codes the enforcing shell answers with. `contract-types` writes a - `_contract` crate for a package with a declared operation: each operation's input and - output types, its business-error enum and its error body (a fixed wire code or one of its own), - the read shape of a projection it returns, and a shared `meta_contract` crate with the wire - error codes, their statuses and the validation and constraint-violation bodies. An entity's - read, create and patch shapes stay in the model crate, which carries no persistence mapping. - Both are listed in the shared generator registry (Rust only for now) and `eject` copies them. diff --git a/changelog.d/rust-service-generator.md b/changelog.d/rust-service-generator.md deleted file mode 100644 index eaf072bcf1..0000000000 --- a/changelog.d/rust-service-generator.md +++ /dev/null @@ -1,19 +0,0 @@ -- **Rust port: the `service` generator (ADR-0067 layer 4, ADR-0066 §6).** It writes a - `_service` crate per package with a stored entity: `Service`, generic over the - database pool (Postgres or SQLite) and the actor type, with each derived list (page size 50 unless - `api.pagination` says otherwise, `withCount` for the total), get, many-to-many traversal, create, - update and delete, a command per transition that derives one, and a shell per declared command - and query. Every write runs in one sqlx transaction, or inside a caller's through its `_in` twin, - and runs ADR-0066's checks in order: the row (404), the permission point (403 `forbidden`), the - state (409 `invalid_transition`), the hand-written body, the guarded update (409 - `invalid_transition` or `transition_condition_failed`) and the event hook. The generic update - answers a changed lifecycle field 409 `state_managed`, a create starts in the initial state, and - `@autoSet` timestamps are stamped by the service (ADR-0045 Amendment 1). What an app writes are - traits: `Policy`, `Bodies` (a command answers the move to make or none, and - `BodyError::Business` a declared error), `Hooks` (one `before` and one `after`, told of - the write by the `Before` and `After` enums) and `Events`, the last two with - defaults. The shared `meta_service` crate holds the error codes and statuses. A probe runs the - rules corpus's scenarios through the service on SQLite, with the settings variants checked in - the generated text; the HTTP transport, and the shared API tests over it, come next. The walks - the layer generators share moved into a new engine module, `metaobjects_codegen::layers`, so an - ejected `service` or `repository` calls the same walk the shipped one does. diff --git a/changelog.d/rust-service-routes-transport.md b/changelog.d/rust-service-routes-transport.md deleted file mode 100644 index 66170649a7..0000000000 --- a/changelog.d/rust-service-routes-transport.md +++ /dev/null @@ -1,17 +0,0 @@ -- **Rust port: the service is served over HTTP (`service-routes`, ADR-0067 layer 5, ADR-0065 - Amendment 7).** A new opt-in generator writes a `_http` crate per package and the shared - `meta_http` crate: `router(service, actor)` returns an axum `Router` over the generated service, - with the derived CRUD, traversal, transition-command and declared-operation routes, the - REST-standard list query (filters with `or`/`and` groups, search, `sort=:asc|desc`, a - default page of 50, `withCount`) and the named 400s. `ActorSource` (or `ActorFn` over the - headers) is the app's authentication, handed to the service untouched. It runs only when - `metaobjects.config.json` lists it: `cargo meta init --transport` adds it, a plain `init` and a - project with no list leave it out, and `gen --list` marks it `[opt-in]`. A credential field (one - with a password view) is never returned. An entity with a read-only view beside its table is - written to the table and read back through the view, so its derived fields are in every answer - (the store's `Table` gains `read`). A field with no `@sortable` is now sortable when it is - filterable, as in TypeScript, so a generated client's sort allowlist can grow: regenerate. - The api-contract corpus runs over HTTP in Rust's generated lane (`core`, `write-through`, - `secret-fields`, `list-query`, `rules` and its settings variants, 77 scenarios; the rest - ledgered), the list-query corpus runs all 95 cases, and `examples/rust-service/` is a whole - tasks service built this way, checked by the `rust` lane. diff --git a/changelog.d/rust-verify-templates.md b/changelog.d/rust-verify-templates.md deleted file mode 100644 index 43907816bb..0000000000 --- a/changelog.d/rust-verify-templates.md +++ /dev/null @@ -1,10 +0,0 @@ -- **Rust: `cargo meta verify --templates`, the template drift gate.** It checks every `template.*` - body (and its partials) against the payload value object it renders over - (`ERR_VAR_NOT_ON_PAYLOAD`, `ERR_PARTIAL_UNRESOLVED`, `ERR_OUTPUT_TAG_MISSING`, - `ERR_REQUIRED_SLOT_UNUSED`, `ERR_TEMPLATE_SYNTAX`) and each prompt's reply, reading - `@payloadRef`, `@textRef`, `@requiredTags` and `@responseRef` through `extends`. Bodies live - under `prompts/` (`--prompts ` to move it), and a bare `verify` runs the gate beside the - codegen and rules gates. The `metaobjects-render` crate gains `verify`, held to - `fixtures/verify-conformance/` (all 45 cases). A Jinja body is refused - (`ERR_TEMPLATE_ENGINE_UNSUPPORTED`): the Rust renderer runs Mustache only. The old refusal - of `--templates` is gone. diff --git a/changelog.d/semantic-modelling-guide.md b/changelog.d/semantic-modelling-guide.md deleted file mode 100644 index 6c9722f4a6..0000000000 --- a/changelog.d/semantic-modelling-guide.md +++ /dev/null @@ -1,11 +0,0 @@ -- **docs, agent skills: how to model vocabulary of your own semantically.** A new page, - `docs/features/semantic-modelling.md`, states the rules a custom type, subtype or attribute is - held to: the type says what a thing is and what it relates to, the subtype says which kind - (it adds attributes and constraints, never a relationship), and products, versions, steps and - environment values belong to the generators and their layered configuration. It gives the - ordered test for where one fact goes, worked before and after examples, and the wrong turns - an AI assistant makes. The `metaobjects-authoring` skill carries the same guidance as - `references/semantic-modelling.md` and opens it whenever custom vocabulary is added or - changed; the always-on file's vocabulary rule gains one sentence. Run `meta agent-docs` to - take the new text in an existing project. `agent-context/evals/skill-triggers/` gains twelve - cases for that skill. diff --git a/changelog.d/verify-templates-reads-response-ref.md b/changelog.d/verify-templates-reads-response-ref.md deleted file mode 100644 index 4aee32092f..0000000000 --- a/changelog.d/verify-templates-reads-response-ref.md +++ /dev/null @@ -1,5 +0,0 @@ -- **The template check reads `@responseRef`.** `verify`'s template gate now reports - `ERR_RESPONSE_UNRESOLVED` (error) for a reply type with no readable field, and - `ERR_RESPONSE_TAG_UNDECLARED` (warning) for an xml prompt's `@requiredTags` tag that names - neither the reply type nor a field in it. TypeScript, Java (and so Kotlin), C#, Python and - Rust, pinned by `fixtures/response-verify-conformance/`. diff --git a/docs/1.0-readiness.md b/docs/1.0-readiness.md index c5b15a7ad6..93e16d790f 100644 --- a/docs/1.0-readiness.md +++ b/docs/1.0-readiness.md @@ -24,7 +24,7 @@ compatibility surface it commits to are in **Thesis:** scaffold-and-own (ADR-0034) shrank the surface 1.0 must keep stable to the **metamodel spine + CLI + wire format + the scaffold-and-own contract** — the -generated code is owned/disposable, so its internals are no longer a public API. The +generated code is owned/regenerated, so its internals are no longer a public API. The `metaobjects-audit` skill is the maturity signal that the surface has set. 1.0 is gated less by features than by **dropping the breaking-change rate** so we can promise "no breaking until 2.0." diff --git a/docs/CONFORMANCE.md b/docs/CONFORMANCE.md index 56147b4144..eff49c2fa5 100644 --- a/docs/CONFORMANCE.md +++ b/docs/CONFORMANCE.md @@ -96,7 +96,7 @@ treats listed fixtures as passing, but a future port-level reconciliation pass w Since [ADR-0034 Amendments 3 and 11](../spec/decisions/ADR-0034-codegen-scaffold-and-own.md#amendment-11-2026-11-19--the-core-is-contracts-and-conformance-kits-and-generated-code-is-real-code), the corpora above do two different jobs. Only the first is a promise to adopters: the core is -the contracts and the conformance kits that hold every port to them. +the contracts and the conformance corpora this repository runs against every port. An adopter reads them; they are not a tool an adopter runs. - **Core — the contract.** `conformance/`, `yaml-conformance/`, `registry-conformance/`, `validation-conformance/`, `provider-composition-conformance/`, diff --git a/docs/compatibility-policy.md b/docs/compatibility-policy.md index 32102548e8..53e1c9f4c7 100644 --- a/docs/compatibility-policy.md +++ b/docs/compatibility-policy.md @@ -84,7 +84,7 @@ work*. A release can move one without the other, and most releases move neither. module the eject contract allows, but only the authoring surface above is promised; the other modules may change in any release. - **Generator internals and the reference templates themselves.** Generated code is - yours and disposable — its internals are not a public API. See + yours and regenerated — its internals are not a public API. See [own-your-codegen](features/own-your-codegen.md). - **Runtime-library helper internals.** Idiomatic per port; best-effort, not promised. - **Anything explicitly marked experimental or reserved** and not yet in the registry diff --git a/docs/features/cli.md b/docs/features/cli.md index 8b68744d9a..01c5574189 100644 --- a/docs/features/cli.md +++ b/docs/features/cli.md @@ -29,7 +29,7 @@ command surface splits in two: | **Agent-context scaffold** (`agent-docs`) | **Node `meta`** | `npx meta agent-docs --server ` | **any backend** — single assembler (ADR-0033); the Python CLI writes the same files itself (`metaobjects agent-docs`, no Node); the C# and Java/Kotlin CLIs still redirect here | | **Expected schema** (`schema`) | **Node `meta`** | `meta schema [--dialect ] [--as ddl\|json]` | **any backend** — read-only: prints the schema the metadata expects as DDL or as the neutral document ([schema-snapshot-format.md](schema-snapshot-format.md)); reads no database; writes nothing unless `--out` names a file | | **Schema migrate** | **Node `meta`** | `meta migrate` | **any backend** — the reference migration helper, one option beside each language's own tool (ADR-0015) | -| **Schema drift** (`verify --db`) | **Node `meta`** | `meta verify --db` | **any backend** — live-DB drift, Node-only | +| **Schema drift** (`verify --db`) | **Node `meta`** | `meta verify --db` | **any backend** — live-DB drift, run by the Node CLI whichever tool built the schema (ADR-0015 Amendment 2) | | **Codegen drift** (`verify --codegen`) | **Node `meta`** | `meta verify --codegen` | TS reference (ADR-0021 D2) — regen-to-temp + diff committed output | | **Template/prompt drift** (`verify --templates`) | **Node `meta`** | `meta verify --templates` | TS reference (ADR-0021 D2) — `{{field}}`↔payload; part of the bare-`verify` default | | **Vocabulary upgrade** (`upgrade`) | **Node `meta`** | `meta upgrade [--to ] [--apply]` | **any backend** — rewrites RETIRED metadata vocabulary (`@violation` → `@counterexample`, `@readOnly` → `@mutability`, dropping `@verifiedBy`) and resolves ATTRIBUTE CONTRADICTIONS (`@fields` beside `@expr` on an index key). Node-only because it edits the metadata documents themselves, which every port shares; a non-TS project runs `npx meta upgrade` against its own `metaobjects/`. **Canonical JSON and YAML alike.** Previews by default. Retirements needing a human decision are refused and the run exits non-zero, so CI cannot record a partial migration as finished | @@ -244,8 +244,7 @@ other's committed files as stale) and `-Dmeta.verify.mode=templates` (each `temp field tree via the render `Verify` engine, resolving refs through a filesystem provider rooted at `-Dmeta.verify.templateRoot`), and `-Dmeta.verify.mode=deps` (opt-in, never in the unset default set: the dependency drift check of `verify --deps`, resolving `path` dependencies only; see the Java port page). The one goal covers BOTH Java (`codegen-spring`) and Kotlin (`codegen-kotlin`) since they share it. `mode=db` is **cleanly rejected** ("schema verify is the -migrate engine, ADR-0015"); an unknown mode fails listing the valid ones. (Schema `--db` remains -Node-only by the ADR-0015 design — see below.) The **Rust `cargo meta`** port runs the codegen +migrate engine, ADR-0015"); an unknown mode fails listing the valid ones. (The live-database check `--db` stays in the Node CLI by the ADR-0015 design, and runs against a schema built by any tool — see below.) The **Rust `cargo meta`** port runs the codegen and template gates: bare `cargo meta verify` renders the generated crates in memory and diffs them (a local run may answer from the stored skip key; `--full`, or a set `CI`, always renders), checks every `template.*` body under `prompts/` (or `--prompts `) against its payload value @@ -922,7 +921,7 @@ for assistants that read that) are assembled by **one** tool: the Node `meta agent-docs` command. Per [ADR-0033](../../spec/decisions/ADR-0033-single-agent-context-assembler.md) the per-port native assemblers (Python/Java/C#) and their byte-identity conformance gates were removed — that content is effectively one static artifact, and every port -already needs the Node `meta` CLI or its binary for schema ops (ADR-0015). +needs no more than the Node `meta` CLI or its binary, and only for the reference migration helper or `verify --db` (ADR-0015 Amendment 2). ```bash npx meta agent-docs --server # csharp | java | kotlin | python | rust | node diff --git a/docs/features/codegen-concepts.md b/docs/features/codegen-concepts.md index b21be285aa..ecbaf197f7 100644 --- a/docs/features/codegen-concepts.md +++ b/docs/features/codegen-concepts.md @@ -1,6 +1,6 @@ # Codegen concepts -The durable design ideas behind MetaObjects codegen. Generators are disposable; +The durable design ideas behind MetaObjects codegen. Generated code is regenerated output; the metamodel is the spine. The generators MetaObjects ships are reference helpers you copy and own, not guarantees — see [Own your codegen](own-your-codegen.md). This guide is the *why* — the tradeoffs and techniques you reach for when "it works" needs to become "it works at scale, and the next @@ -98,7 +98,7 @@ did render. ## 5. Preserving hand edits — one shipped strategy, and two you would build -Generated code is disposable, but people *do* edit it. **MetaObjects ships exactly one +Generated code is regenerated, but people *do* edit it. **MetaObjects ships exactly one of the three strategies below. The other two are patterns you can build with your own generators — no shipped generator on any port emits a base/extension or a partial pair, and no write path is write-if-absent.** Treat 2 and 3 as design options for @@ -150,7 +150,7 @@ base/extension split pleasant if you author one: **gitignore it**. It's regenerated on every build, never reviewed, never committed. This cleanly separates *owned + edited* (committed, stable, in review) from -*regenerated + disposable* (gitignored, invisible). You get full regeneration of the +*regenerated* (gitignored, invisible). You get full regeneration of the mechanical half with zero merge noise, and a small hand-owned half that's the only thing in git and the only thing anyone reads. diff --git a/docs/features/downstream-metadata-decisions.md b/docs/features/downstream-metadata-decisions.md index 40ac2590d2..24f0c29a3f 100644 --- a/docs/features/downstream-metadata-decisions.md +++ b/docs/features/downstream-metadata-decisions.md @@ -11,7 +11,7 @@ ordered test, see [ADR-0037](../../spec/decisions/ADR-0037-metamodel-vocabulary-expansion-decision-framework.md). This guide is the decision *around* those. -> **Why decide with a procedure, not a guess?** Generated code is disposable — the +> **Why decide with a procedure, not a guess?** Generated code is regenerated output — the > metamodel is the durable spine. A field you mis-shape today is a field you migrate > across every port later. Vocabulary is close to forever; spend a few minutes on it. diff --git a/docs/features/migrations-and-drift.md b/docs/features/migrations-and-drift.md index 1c461a627a..7c4b418653 100644 --- a/docs/features/migrations-and-drift.md +++ b/docs/features/migrations-and-drift.md @@ -13,8 +13,8 @@ There are **7 drift sources**, and the toolchain has a guard for each. |---|---|---| | **Code-vs-DB** | Codegen — the generated SQL DDL is emitted from the same metadata as the entity / table code. | Build time | | **Code-vs-API-doc** | Cross-port codegen from the same metadata. | Build time | -| **DB-vs-metadata** | `meta verify --db` (TS CLI) — introspects the live DB and fails if it has drifted from metadata. Includes modeled projection **view bodies** (a changed `CREATE VIEW` is drift, reported with what differs: the first differing excerpt of the text on SQLite/D1, the deparsed body on Postgres's scratch-database path, a fingerprint mismatch otherwise). A view `meta migrate` drops and recreates only because the migration alters a table it reads, with its definition unchanged, is not drift and is not reported; a hand-authored *unmodeled* view is unmanaged and never flagged. A schema concern owned by the Node toolchain regardless of server language; on the JVM ports the runtime auto-create/validator path was removed (ADR-0015) and the `metaobjects:verify` Maven goal is not available. Cloudflare D1 has no client wire protocol, so it can't go through `--db`'s Kysely-driver introspection — use `meta verify --dialect d1 [--d1 ] [--remote]` instead (the same wrangler-shelled-out path `meta migrate --dialect d1` uses); `--remote` is required to check the *deployed* database, not the local `wrangler dev` shadow copy. Pointing `--db file:` at wrangler's local D1 state directory (`.wrangler/state/**/d1/**`) still runs, but only verifies that local copy — `verify` warns when it detects this. | CI on every PR | -| **Migration-vs-metadata** | The Node `meta migrate` emits migrations FROM metadata diffs — they cannot drift from metadata by construction. Schema migrations for **every** port are owned by this Node toolchain (`@metaobjectsdev/cli migrate`, ADR-0015); the C# and Python migrate surfaces were removed. | Build time | +| **DB-vs-metadata** | `meta verify --db` (TS CLI) — introspects the live DB and fails if it has drifted from metadata. Includes modeled projection **view bodies** (a changed `CREATE VIEW` is drift, reported with what differs: the first differing excerpt of the text on SQLite/D1, the deparsed body on Postgres's scratch-database path, a fingerprint mismatch otherwise). A view `meta migrate` drops and recreates only because the migration alters a table it reads, with its definition unchanged, is not drift and is not reported; a hand-authored *unmodeled* view is unmanaged and never flagged. Run by the Node CLI whichever tool built the schema (ADR-0015 Amendment 2); on the JVM ports the runtime auto-create/validator path was removed (ADR-0015) and the `metaobjects:verify` Maven goal is not available. Cloudflare D1 has no client wire protocol, so it can't go through `--db`'s Kysely-driver introspection — use `meta verify --dialect d1 [--d1 ] [--remote]` instead (the same wrangler-shelled-out path `meta migrate --dialect d1` uses); `--remote` is required to check the *deployed* database, not the local `wrangler dev` shadow copy. Pointing `--db file:` at wrangler's local D1 state directory (`.wrangler/state/**/d1/**`) still runs, but only verifies that local copy — `verify` warns when it detects this. | CI on every PR | +| **Migration-vs-metadata** | The Node `meta migrate` emits migrations FROM metadata diffs — they cannot drift from metadata by construction. The Node `meta migrate` is the reference migration helper for every port (`@metaobjectsdev/cli migrate`, ADR-0015); each language's own tool is equally first-class (ADR-0015 Amendment 2). The C# and Python migrate surfaces were removed. | Build time | | **Generated-edited** | A committed hash manifest refuses an edited generated file by name in every port; only TypeScript also three-way merges, on the machine that generated it. The rule is in [own-your-codegen.md](own-your-codegen.md#hand-edits-and-the-hash-manifest-every-port). `verify --codegen` names each edited file in every port. In TypeScript it fails on one when `.metaobjects/config.json` sets `"verify": { "handEdits": "fail" }` (what `meta init` writes) and reports it as a notice otherwise; the C#, Java, Kotlin and Python gates compare bytes, so an edit always fails there ([cli.md](cli.md)). | Build time (CI) | | **Prompt-vs-payload** | FR-004 `Renderer.verify` parses `{{...}}` references in templates and checks each one exists on the payload VO. | Build time + runtime | | **Generated-vs-runtime** | Kotlin / Java `MetadataStartupValidator` (from Spring `ApplicationReadyEvent`) re-loads metadata at startup and asserts the generated table objects match. | App startup | @@ -790,7 +790,7 @@ needs a `prompts/` (else `templates/`) directory, or `--templates `, and e | Python | `metaobjects verify` | Codegen: `metaobjects.config.yaml`. Templates: `metaobjects.config.yaml` or `--prompts `. | `metaobjects verify --codegen`, `metaobjects verify --templates` | | Rust | `cargo meta verify` | Codegen: `.metaobjects/config.json` and the project's generator list (`metaobjects.config.json`; every generator runs when it is absent). Templates: a `prompts/` (else `--prompts `) directory under the project root. | `cargo meta verify --codegen`, `cargo meta verify --templates` | -Schema drift is a separate, opt-in check and Node-only (ADR-0015): `meta verify --db ` +Schema drift is a separate, opt-in check run by the Node CLI, whichever migration tool built the database (ADR-0015 Amendment 2): `meta verify --db ` introspects the live database and reports database-versus-metadata drift. The other five ports reject `--db` (C#, Python, Rust and the Maven goal exit 2 or fail with a pointer to the TypeScript CLI); the live-DB-schema `metaobjects:verify` goal was removed along with the diff --git a/docs/features/own-your-codegen.md b/docs/features/own-your-codegen.md index c52353a263..e0eb252c9e 100644 --- a/docs/features/own-your-codegen.md +++ b/docs/features/own-your-codegen.md @@ -1,12 +1,12 @@ # Own your codegen -MetaObjects treats generated code as a **disposable artifact** and the metamodel as -the **durable spine**. You own the generated code in your repo — it runs without any +MetaObjects treats generated code as **regenerated output** and the metamodel as +the **durable spine**. The reference generators help a team get started and are never the required way. What they generate is real code: run it, extend it, or replace the generator. You own the generated code in your repo — it runs without any MetaObjects runtime dependency, and if `@metaobjectsdev/*` (or the Maven/PyPI/NuGet packages) disappeared, you keep working code. **Generators are supported helpers, not core guarantees** ([ADR-0034 Amendments 3 and 11](../../spec/decisions/ADR-0034-codegen-scaffold-and-own.md#amendment-11-2026-11-19--the-core-is-contracts-and-conformance-kits-and-generated-code-is-real-code)). -What MetaObjects guarantees is the core: the contracts and the conformance kits — the metamodel +What MetaObjects guarantees is the core: the contracts, and the conformance corpora this repository runs every port against (they are not a kit you run in your project) — the metamodel and loader, the store-neutral contracts, `meta verify`, prompt render and the reply parser. Store-specific code and every generator that writes application code into your repo are helpers: they compile and pass their reference fixtures, and what they generate is real code. diff --git a/docs/features/source-kinds.md b/docs/features/source-kinds.md index 99ffde3331..f715c936b8 100644 --- a/docs/features/source-kinds.md +++ b/docs/features/source-kinds.md @@ -147,8 +147,8 @@ model). **The view's SQL is generated — never hand-write it.** The `CREATE VIEW` body is derived from the projection's `origin.*` children (passthrough columns, aggregates, -collections) and emitted by the Node `meta migrate` (schema migrations are Node-owned -for every port — ADR-0015). Hand-authoring the view SQL for a shape the origins can +collections) and emitted by the Node `meta migrate` (the Node migrate engine is the +reference helper for every port, a native tool equally good — ADR-0015 Amendment 2). Hand-authoring the view SQL for a shape the origins can express is a second source of truth that drifts silently — and because an unmodeled DB view is *unmanaged*, `meta verify --db` can't even see it. Reach for a hand-written view **only** when a construct origins can't express (recursive CTE, window function, diff --git a/docs/llms/llms-full.txt b/docs/llms/llms-full.txt index 8f3d27d693..0d726fee8c 100644 --- a/docs/llms/llms-full.txt +++ b/docs/llms/llms-full.txt @@ -57,7 +57,7 @@ The pillars are views on the same metadata, not separate products, and each carr Reference generators you own, ejectable in every port. They emit per-language code from a single metadata model. -**What is guaranteed, and what is yours** (ADR-0034 Amendments 3 and 11). The core is the contracts and the conformance kits, and it is the promise: the metamodel, loader, canonical format and registry; the store-neutral contracts (the expected schema, and the guarded update once its persistence-conformance scenario lands, ADR-0066 §6); the drift gates (`meta verify`); prompt render and the reply parser. Store-specific code (SQL writers, introspectors, drivers such as the `ObjectManager` drivers and the `meta migrate` writer, mappings) and every generator that writes application code into the repo are supported helpers: they compile and pass their reference fixtures, every port gets the same capabilities unless a ruling says otherwise, and the code they generate is real code. Run it as shipped, extend it through hooks, or copy it with `meta eject` and own it. A defect in the core is a MetaObjects bug; a defect in a helper is fixed in the reference, and an adopter's ejected copy is theirs. The test is mechanical: what the tool guarantees as a contract is core; what it writes into your repo or a store is a helper. +**What is guaranteed, and what is yours** (ADR-0034 Amendments 3 and 11). The core is the contracts and the conformance corpora this repository runs every port against, and it is the promise: the metamodel, loader, canonical format and registry; the store-neutral contracts (the expected schema, and the guarded update once its persistence-conformance scenario lands, ADR-0066 §6); the drift gates (`meta verify`); prompt render and the reply parser. Store-specific code (SQL writers, introspectors, drivers such as the `ObjectManager` drivers and the `meta migrate` writer, mappings) and every generator that writes application code into the repo are supported helpers: they compile and pass their reference fixtures, every port gets the same capabilities unless a ruling says otherwise, and the code they generate is real code. Run it as shipped, extend it through hooks, or copy it with `meta eject` and own it. A defect in the core is a MetaObjects bug; a defect in a helper is fixed in the reference, and an adopter's ejected copy is theirs. The test is mechanical: what the tool guarantees as a contract is core; what it writes into your repo or a store is a helper. - TypeScript: Drizzle + Zod + Fastify integration (and React / TanStack on the client side). **Keep your ORM:** a target with `runtime: false` makes the `entity` generator write Zod schemas and inferred types only, with no Drizzle and no `runtime-ts` import. **Prisma:** `orm: "prisma"` also generates `schema.prisma` from the model (Postgres, MySQL, SQLite) with `prismaSchemaFile()`, and `verify --codegen` and `verify --db` fail when Prisma and the model drift (`docs/recipes/prisma.md`) - Java: Spring REST + DTO + repository interfaces (the persistence impl is consumer-supplied) via `codegen-spring`. **Keep your ORM:** `SpringDtoGenerator` and `SpringValueObjectGenerator` write records (jakarta validation) and your JPA entity stays hand-written. Baseline Java 21, Spring Boot 3.x (Boot 2 is not supported) diff --git a/docs/llms/llms.txt b/docs/llms/llms.txt index 3cd72913c6..f2986d42d8 100644 --- a/docs/llms/llms.txt +++ b/docs/llms/llms.txt @@ -12,7 +12,7 @@ It protects what the model declares. Your hand-written logic is still yours. **Write your own generators; expect to.** Documentation is a generator too (`docsFile()`, `apiDocsFile()`; `meta init --with-docs` wires them). The reference generators cover the common cases, but a team should plan to write the ones its application needs: a typed client, a service layer in your house style. A generator you own is what keeps the output from drifting, because it is regenerated on every model change and `verify --codegen` fails the build when committed output is stale. Hand-writing something the model fully describes is the thing to avoid. In TypeScript, `meta generator new ` writes a working one and wires it. See [Write your own generator](https://github.com/metaobjectsdev/metaobjects/blob/main/docs/recipes/write-your-own-generator.md) for every port, and [a typed client for the reference routes](https://github.com/metaobjectsdev/metaobjects/blob/main/docs/recipes/typed-client-for-the-reference-routes.md) for a worked example. -**What is guaranteed, and what is yours** (ADR-0034 Amendments 3 and 11). The core is the contracts and the conformance kits, and it is the promise: the metamodel, loader, canonical format and registry; the store-neutral contracts (the expected schema, and the guarded update once its persistence-conformance scenario lands, ADR-0066 §6); the drift gates (`meta verify`); and prompt render and the reply parser. All of it is conformance-gated and the same in every port that ships it. Store-specific code (SQL writers, introspectors, drivers such as the `ObjectManager` drivers and the `meta migrate` writer, mappings) and every generator that writes application code into the repo (routes, controllers, ORM wiring, DTOs, forms, grids, hooks) are supported helpers: they compile and pass their reference fixtures, every port gets the same capabilities unless a ruling says otherwise, and the code they generate is real code. Run it as shipped, extend it through hooks, or copy it with `meta eject` and own it. A defect in the core is a MetaObjects bug; a defect in a helper is fixed in the reference, and an adopter's ejected copy is theirs. Every port can eject: `meta eject` (TypeScript), `metaobjects eject` (Python), `mvn metaobjects:eject` (Java/Kotlin), `dotnet meta eject` (C#). If an ejected copy never changed from the shipped reference, `meta eject --undo` removes it, and `meta gen` says when it finds one. Python, Java/Kotlin and C# have the same switch (`metaobjects eject --undo`, `mvn metaobjects:eject -Dundo=true`, `dotnet meta eject --undo`). There is no `meta doctor`; `meta eject --list` is the report. +**What is guaranteed, and what is yours** (ADR-0034 Amendments 3 and 11). The core is the contracts and the conformance corpora this repository runs every port against, and it is the promise: the metamodel, loader, canonical format and registry; the store-neutral contracts (the expected schema, and the guarded update once its persistence-conformance scenario lands, ADR-0066 §6); the drift gates (`meta verify`); and prompt render and the reply parser. All of it is conformance-gated and the same in every port that ships it. Store-specific code (SQL writers, introspectors, drivers such as the `ObjectManager` drivers and the `meta migrate` writer, mappings) and every generator that writes application code into the repo (routes, controllers, ORM wiring, DTOs, forms, grids, hooks) are supported helpers: they compile and pass their reference fixtures, every port gets the same capabilities unless a ruling says otherwise, and the code they generate is real code. Run it as shipped, extend it through hooks, or copy it with `meta eject` and own it. A defect in the core is a MetaObjects bug; a defect in a helper is fixed in the reference, and an adopter's ejected copy is theirs. Every port can eject: `meta eject` (TypeScript), `metaobjects eject` (Python), `mvn metaobjects:eject` (Java/Kotlin), `dotnet meta eject` (C#). If an ejected copy never changed from the shipped reference, `meta eject --undo` removes it, and `meta gen` says when it finds one. Python, Java/Kotlin and C# have the same switch (`metaobjects eject --undo`, `mvn metaobjects:eject -Dundo=true`, `dotnet meta eject --undo`). There is no `meta doctor`; `meta eject --list` is the report. The model is the part you keep, and the generated code can be thrown away and regenerated. Your typed metadata lives in your repo as YAML or JSON you own. The generated code carries **no proprietary runtime**: the entity and model tier has no dependencies, and the optional client, prompt-render and runtime tiers are ordinary Apache-2.0 packages you could vendor or fork. If `@metaobjectsdev/*` (npm) or `com.metaobjects:*` (Maven) disappears tomorrow, you keep working code in every language. diff --git a/docs/ports/csharp.md b/docs/ports/csharp.md index 8bf97b7703..cce71caf63 100644 --- a/docs/ports/csharp.md +++ b/docs/ports/csharp.md @@ -1282,7 +1282,7 @@ generated code), and no `migrate` surface (EF Core Migrations, or the Node `meta | Output parser codegen (FR-006) | Yes (`OutputParserGenerator` — `Parse`/`TryParse` BCL pattern) | | Payload-VO codegen | Yes — the payload IS the value object's own POCO from `EntityGenerator` (ADR-0056); no separate payload generator | | Declarative template-codegen | Yes — a `TemplateSpecGenerator` entry in `codegen/Generators.cs` (scope perEntity/perPackage/perModel + outputPattern; the cross-port JSON contract shared with Python) | -| Migrations | Owned by the Node `meta` CLI (ADR-0015) — no C# migrate surface | +| Migrations | EF Core Migrations is the native path; the Node `meta migrate` is the reference helper, one option (ADR-0015 Amendments 1 and 2) — no C# migrate surface | | Drift verify | `dotnet meta verify` (template drift, FR-004; `--codegen` regenerates the list in `codegen/Generators.cs` and diffs it) | | API reference docs | Yes — the `ApiDocsGenerator` entry in `codegen/Generators.cs` (`OutDir`, `ApiSubDir`, `ProjectName`, `ModelBaseUrl`); `dotnet meta docs` was removed in 1.1.0 ([migration](../features/migrations/docs-are-generators.md#c)) | | Requirement gate + requirement tests | Yes (`dotnet meta verify`, on every run; `requirement-tests` emits xUnit and is ejectable) | diff --git a/docs/ports/java.md b/docs/ports/java.md index fb39830747..4e16e40415 100644 --- a/docs/ports/java.md +++ b/docs/ports/java.md @@ -24,7 +24,7 @@ writes Flyway-named files). The Java diff-and-converge migration engine and its runtime auto-create path — OMDB is pure data-access (CRUD/query/codec/transactions). Prompt / template drift is still checked via the `metaobjects-render` `Verify` API. -> **Schema migrations and database checks run in the Node `meta` tool.** The Maven plugin generates and verifies code, but writing and applying migrations (`npx meta migrate`, `npx meta migrate apply-pending`) and checking a live database against the model (`npx meta verify --db`) need Node: `npm i -D @metaobjectsdev/cli`, then `npx meta init --config-only` to point it at your metadata. Node is needed where migrations are written or applied, not in your running service. What else behaves differently in this port is listed in [What differs by language](../features/language-differences.md). +> **The reference migration helper and the database check run in the Node `meta` tool.** The Maven plugin generates and verifies code. If you take the reference helper for migrations (`npx meta migrate`, `npx meta migrate apply-pending`) rather than your own tool, or check a live database against the model (`npx meta verify --db`), you need Node: `npm i -D @metaobjectsdev/cli`, then `npx meta init --config-only` to point it at your metadata. Node is needed where migrations are written or applied, not in your running service. What else behaves differently in this port is listed in [What differs by language](../features/language-differences.md). **Start a project.** `mvn metaobjects:init` writes `.metaobjects/config.json` (a page size of 50 on every generated list route, `api.unknownFields: reject`, `verify.handEdits: fail`, @@ -336,10 +336,11 @@ regenerating and the build exits 1 with `generated code is stale` and a `[conten per file; `mvn metaobjects:generate` (or `mvn compile`) and it is green again. The same goal also runs the requirement gate. Add it to your CI after `mvn compile`. -Schema migrations are not a Java-port concern — author them with the TypeScript -toolchain (`@metaobjectsdev/cli migrate`), then apply the resulting DDL to the -database OMDB connects to. OMDB itself is pure data-access; the former runtime -auto-create path was removed per ADR-0015. +Schema migrations are not an OMDB concern — write them in your own tool (Flyway, +Liquibase) handed the schema `meta schema` prints, or with the Node reference helper +(`@metaobjectsdev/cli migrate`), then apply the resulting DDL to the database OMDB +connects to (ADR-0015 Amendment 2). OMDB itself is pure data-access; the former +runtime auto-create path was removed per ADR-0015. ## Use @@ -1068,7 +1069,7 @@ array is not covered: a native array column is mapped only for `field.string`, ` | Templates + render (FR-004) | Yes (`metaobjects-render`; Mustache only — a Jinja body is refused with `ERR_TEMPLATE_ENGINE_UNSUPPORTED`, ADR-0061) | | Payload-VO codegen | Yes — the payload IS the value object's own `record`, from `SpringValueObjectGenerator` (ADR-0056); no separate payload generator | | Output parser codegen (FR-006) | Yes — `SpringOutputParserGenerator` (in `metaobjects-codegen-spring`) — see usage below | -| Migrations | TS-only (`@metaobjectsdev/cli migrate`) — the Java migration engine and the OMDB runtime auto-create path were both removed (ADR-0015); apply the TS-produced DDL to the database | +| Migrations | Your own tool (Flyway, Liquibase) handed `meta schema`, or the Node reference helper (`@metaobjectsdev/cli migrate`) — the Java migration engine and the OMDB runtime auto-create path were both removed (ADR-0015, Amendment 2) | | Drift verify | `Verify.check` / `Verify.checkOutputPrompt` (prompts). Live-DB schema-drift verification is part of the TS migration toolchain | | Requirement gate + requirement tests | Yes (`mvn metaobjects:verify`, on every run; `JUnitRequirementTestsGenerator` emits JUnit Jupiter and is ejectable) | | Business-rules gate (ADR-0066, experimental) | Yes (`mvn metaobjects:verify`, on every run; see [business rules](../features/business-rules.md)) | @@ -1134,7 +1135,7 @@ Per-corpus pass counts move every release — see [`docs/CONFORMANCE.md`](../CONFORMANCE.md) for the current, authoritative per-port numbers (metamodel, YAML, render, verify, persistence, API contract). Java is green across all six active corpora today (Java doesn't -run the persistence corpus's migration scenarios — those are TS-only, +run the persistence corpus's migration scenarios — those exercise the Node reference helper only, ADR-0015). ## See also diff --git a/docs/ports/kotlin.md b/docs/ports/kotlin.md index a3b2ca9e54..ae92849e61 100644 --- a/docs/ports/kotlin.md +++ b/docs/ports/kotlin.md @@ -20,7 +20,7 @@ Two modules: - **`metaobjects-metadata-ktx`** — thin Kotlin facade over the Java loader + render engine for idiomatic Kotlin runtime use. -> **Schema migrations and database checks run in the Node `meta` tool.** The Maven plugin generates and verifies code, but writing and applying migrations (`npx meta migrate`, `npx meta migrate apply-pending`) and checking a live database against the model (`npx meta verify --db`) need Node: `npm i -D @metaobjectsdev/cli`, then `npx meta init --config-only` to point it at your metadata. Node is needed where migrations are written or applied, not in your running service. What else behaves differently in this port is listed in [What differs by language](../features/language-differences.md). +> **The reference migration helper and the database check run in the Node `meta` tool.** The Maven plugin generates and verifies code. If you take the reference helper for migrations (`npx meta migrate`, `npx meta migrate apply-pending`) rather than your own tool, or check a live database against the model (`npx meta verify --db`), you need Node: `npm i -D @metaobjectsdev/cli`, then `npx meta init --config-only` to point it at your metadata. Node is needed where migrations are written or applied, not in your running service. What else behaves differently in this port is listed in [What differs by language](../features/language-differences.md). ## Regeneration and hand edits @@ -984,7 +984,7 @@ Persist it through your own column until the generator emits one. | Templates + render (FR-004) | Yes (wraps the Java engine; Mustache only — a Jinja body is refused with `ERR_TEMPLATE_ENGINE_UNSUPPORTED`, ADR-0061) | | Output parser codegen (FR-006) | Yes (`KotlinOutputParserGenerator` — Jackson + `Result` dual API) | | Payload-VO codegen | Yes — the payload IS the value object's own data class, from `KotlinEntityGenerator` (ADR-0056); no separate payload generator | -| Migrations | Via the TS toolchain (`@metaobjectsdev/cli migrate`) | +| Migrations | Your own tool (Exposed migrations, Flyway) handed `meta schema`, or the Node reference helper (`@metaobjectsdev/cli migrate`) | | Drift verify | Template-drift: `Renderer.verify` (build-time); generated-table drift: `MetadataStartupValidator` (startup) | | Requirement gate + requirement tests | Yes (`mvn metaobjects:verify`, the Java goal; `KotlinRequirementTestsGenerator` emits JUnit Jupiter and is ejectable) | | Business-rules gate (ADR-0066, experimental) | Yes (`mvn metaobjects:verify`, the Java goal; see [business rules](../features/business-rules.md)) | diff --git a/docs/ports/python.md b/docs/ports/python.md index d067bf4d78..8456983740 100644 --- a/docs/ports/python.md +++ b/docs/ports/python.md @@ -1083,7 +1083,7 @@ definitions, and import lines are stable. | Payload-VO codegen | Yes — the `entity` generator's model for each value object IS the payload type (ADR-0056); no separate payload generator | | Output parser codegen (FR-006) | Yes (`output_parser_generator` — Pydantic throw-only; imports the `@responseRef` value object's model) | | Declarative template-codegen | Yes — a target's `templateSpec` in `metaobjects.config.yaml` (scope perEntity/perPackage/perModel + outputPattern; the cross-port JSON contract shared with C#) | -| Migrations | TS-only by design (ADR-0015) — no Python `migrate` command; consume the canonical `schema.postgres.sql` | +| Migrations | Your own tool (Alembic, say) handed `meta schema`, or the Node reference helper (ADR-0015, Amendment 2) — no Python `migrate` command; the canonical `schema.postgres.sql` is the expected schema | | Drift verify | Yes — template / payload drift (`metaobjects verify`); `verify --codegen` regenerates the config's list and diffs each target's `outDir` | | API reference docs | Yes — `api-docs` in a target's `generators`, options in the top-level `apiDocs` block (`apiSubDir`, `projectName`, `modelBaseUrl`); `metaobjects docs` was removed in 1.1.0 ([migration](../features/migrations/docs-are-generators.md#python)) | | Requirements and agent pages | Yes — `requirements` (`requirements.md`, `requirements.toon`) and `agent-docs` (`agent/requirements.md` and the model-only `agent/schema.md`: no SQL types, defaults, indexes or checks; `agent/ui.md` is TypeScript-only) in a target's `generators`, rendered from the shared templates bundled in the package; a same-named file under the project's templates directory overrides a page; both ejectable | diff --git a/docs/ports/typescript.md b/docs/ports/typescript.md index ed910f3490..296fc59fb9 100644 --- a/docs/ports/typescript.md +++ b/docs/ports/typescript.md @@ -5,7 +5,7 @@ The reference implementation. Published to npm at `1.2.0` as 14 runtimes: the generated code and the CLI run on stock Node (via `tsx` or after a `tsc` build), and Bun is simply the fastest dev workflow in this repo. -> The Node `meta` CLI is also the schema tool for the other four ports, so a Java, C# or Python team runs `npx meta migrate` and `npx meta verify --db` too. Where the TypeScript output behaves differently from theirs (list defaults, error bodies, filter extensions) is listed in [What differs by language](../features/language-differences.md). +> The Node `meta` CLI also carries the reference migration helper and the live-database check for the other ports, so a Java, Kotlin, C#, Python or Rust team that takes them runs `npx meta migrate` and `npx meta verify --db` too; a native migration tool is equally good. Where the TypeScript output behaves differently from theirs (list defaults, error bodies, filter extensions) is listed in [What differs by language](../features/language-differences.md). ## Regeneration and hand edits diff --git a/fixtures/agent-context-conformance/csharp/expected/.claude/skills/metaobjects-audit/references/csharp.md b/fixtures/agent-context-conformance/csharp/expected/.claude/skills/metaobjects-audit/references/csharp.md index cc2cf9a295..beee7e9340 100644 --- a/fixtures/agent-context-conformance/csharp/expected/.claude/skills/metaobjects-audit/references/csharp.md +++ b/fixtures/agent-context-conformance/csharp/expected/.claude/skills/metaobjects-audit/references/csharp.md @@ -52,8 +52,7 @@ hashes each `path` dependency against the lock and fails with `ERR_DEPENDENCY_UP run the Node `meta deps check` for those). A project that publishes a model wires the `SharedModelGenerator` in `codegen/Generators.cs`; `verify --codegen` drift-gates its output. -Schema migration + live-DB drift run through the **Node `meta` CLI** regardless of -server language — see the migration reference. `dotnet meta verify --db` is +Schema migration is your own tool or the Node `meta migrate` reference helper; live-DB drift is the Node `meta verify --db` whichever tool built the schema — see the migration reference. `dotnet meta verify --db` is rejected (exit 2). --- @@ -153,8 +152,8 @@ version across these packages is an intra-port skew finding. (the generated `AppDbContext` + generated entity classes) **is** the runtime persistence layer. Hand-written service classes over the generated `AppDbContext` are the expected pattern, not a defect. -- **No C# migrate command.** Schema migration is Node-`meta`-owned for every port - (ADR-0015). `dotnet meta` has no migrate subcommand; `meta migrate` is correct. +- **No C# migrate command.** Schema migration is your own tool or the Node `meta migrate` + reference helper (ADR-0015 Amendment 2). `dotnet meta` has no migrate subcommand; `meta migrate` is correct. - **Core filter-operator codegen ships in C# — do NOT treat it as deferred.** The `routes` generator (`Routes.cs`, Minimal API) generates the `?filter[field][op]=value` grammar (all 9 operators `eq/ne/gt/gte/lt/lte/in/like/isNull`) via the runtime `ListQueryParser` + diff --git a/fixtures/agent-context-conformance/csharp/expected/.claude/skills/metaobjects-audit/references/surface-review-axes.md b/fixtures/agent-context-conformance/csharp/expected/.claude/skills/metaobjects-audit/references/surface-review-axes.md index 3a27812195..69ea3be843 100644 --- a/fixtures/agent-context-conformance/csharp/expected/.claude/skills/metaobjects-audit/references/surface-review-axes.md +++ b/fixtures/agent-context-conformance/csharp/expected/.claude/skills/metaobjects-audit/references/surface-review-axes.md @@ -125,7 +125,7 @@ The full hunt for each axis of Phase 1b (Partial / Deep path). Each axis runs in (Node `meta` only) for DB drift. Flag a gate that is WIRED BUT INCOMPLETE for the artifacts present, and recommend the specific missing coverage. - [ ] **F2. Over-generation — unnecessary generated files (codegen WASTE).** - Generated code is disposable, but that is NOT license to generate what nothing + Generated code is regenerated output, but that is NOT license to generate what nothing consumes. Every generated file is a merge/review/maintenance surface and inflates the leverage ratio falsely. Hunt OVER-generation (the inverse of A/B's under-generation): diff --git a/fixtures/agent-context-conformance/csharp/expected/.claude/skills/metaobjects-authoring/SKILL.md b/fixtures/agent-context-conformance/csharp/expected/.claude/skills/metaobjects-authoring/SKILL.md index af0fcf1b1a..211102dfdf 100644 --- a/fixtures/agent-context-conformance/csharp/expected/.claude/skills/metaobjects-authoring/SKILL.md +++ b/fixtures/agent-context-conformance/csharp/expected/.claude/skills/metaobjects-authoring/SKILL.md @@ -13,7 +13,9 @@ emits code in each language from it, and the drift gates check everything agains - **Declare it; do not hand-write it.** Persistence, data access, validation, APIs and UI scaffolding are derived from metadata. When you reach for a hand-written query, route, validator, relationship or aggregate, that is usually metadata nobody has declared yet: - look for the construct first (`meta types `). + look for the construct first (`meta types `). Declare it when the cost test favours + it: smaller declared than hand-written, more than one instance, or drift protection a + hand-write cannot give. A one-off with none of these can stay hand-written. - **Adoption reverses the direction.** When working code or a populated schema already exists, it is the specification and the metadata reproduces it: its names, types and nullability. Read `references/adopting-existing-code.md` before modeling anything. @@ -77,18 +79,21 @@ When you are about to hand-write something data-shaped, find the model for it: search by behavior; there are subtypes, origins, identities and attributes you may not know exist. `--detail` shows one construct's valid `@attrs`; `--format json` gives every match with each attr's `allowedValues`, so you read the accepted values, not guess them. -3. **Declare it, generate, and consume the generated query, type or route.** Do not - reimplement it alongside. +3. **Declare it, generate, and consume the generated query, type or route.** Once declared, + do not reimplement it alongside. 4. **If the model is right and the generated output is wrong, change your generator.** Naming, file layout, imports, framework and signatures are generator concerns. The generators are in your repo and yours to edit; a rule against changing MetaObjects itself does not reach them (`metaobjects-codegen`, "When generated output does not fit"). 5. **Hand-write only what no construct can express**, wired to the generated types: business algorithms, external integrations, bespoke interactions. CRUD, validation, finders, - relationships and derived or aggregate data are not in that group. + relationships and derived or aggregate data are not in that group, unless the cost test + below says a one-off can stay hand-written. -If the metadata could describe it, declaring it is the right call even when a one-off -hand-write would be faster today (`references/model-first-rationale.md`). +If the metadata could describe it, declare it when the cost test favours it: the shape +is smaller declared than hand-written, it will have more than one instance, or declaring it +buys drift protection a hand-write cannot. A one-off with none of these can stay hand-written +(`references/model-first-rationale.md`). ## Adopting onto an existing codebase: metadata follows the code diff --git a/fixtures/agent-context-conformance/csharp/expected/.claude/skills/metaobjects-authoring/references/model-first-rationale.md b/fixtures/agent-context-conformance/csharp/expected/.claude/skills/metaobjects-authoring/references/model-first-rationale.md index 7937be392c..bd51b49102 100644 --- a/fixtures/agent-context-conformance/csharp/expected/.claude/skills/metaobjects-authoring/references/model-first-rationale.md +++ b/fixtures/agent-context-conformance/csharp/expected/.claude/skills/metaobjects-authoring/references/model-first-rationale.md @@ -1,14 +1,14 @@ # Why model-first wins -The case behind the operating principle in `SKILL.md`: why declaring the model beats hand-writing a layer, even when the hand-written version is cheaper this once. +The case behind the operating principle in `SKILL.md`: why declaring the model usually beats hand-writing a layer, even when the hand-written version is cheaper this once. The cost test in `SKILL.md` still decides a one-off. ## Contents - Second source of truth - The consistency tax - One change, every layer -**Why model-first wins even when hand-writing is cheaper this once — and it often -is, this once:** +**Why model-first usually wins, even when hand-writing is cheaper this once — and it often +is, this once (the cost test in `SKILL.md` still decides a true one-off):** - **Hand-writing a layer the metadata could own creates a second source of truth for one fact.** A field's type, validation, column, route, and form then change in N places and must stay consistent forever — not drift *risk*, but two sources of diff --git a/fixtures/agent-context-conformance/csharp/expected/.claude/skills/metaobjects-codegen/references/csharp.md b/fixtures/agent-context-conformance/csharp/expected/.claude/skills/metaobjects-codegen/references/csharp.md index 73f2e2b3a1..af3a11584f 100644 --- a/fixtures/agent-context-conformance/csharp/expected/.claude/skills/metaobjects-codegen/references/csharp.md +++ b/fixtures/agent-context-conformance/csharp/expected/.claude/skills/metaobjects-codegen/references/csharp.md @@ -2,8 +2,8 @@ The C# port targets .NET consumers (EF Core + ASP.NET). Codegen runs through the **`dotnet meta` .NET tool** — there is no Maven plugin and the Node `meta` binary -is **schema-migrations only** on the C# side (ADR-0015): `meta migrate` / -`meta verify --db` are Node-`meta`-owned; everything below is `dotnet meta`. +is the reference **schema-migrations helper** on the C# side (ADR-0015; EF Core Migrations is equally first-class): `meta migrate` / +`meta verify --db` run in the Node `meta` tool; everything below is `dotnet meta`. ## Contents - Install diff --git a/fixtures/agent-context-conformance/csharp/expected/.claude/skills/metaobjects-codegen/references/principles.md b/fixtures/agent-context-conformance/csharp/expected/.claude/skills/metaobjects-codegen/references/principles.md index 3dd57407f1..1ef45c6d86 100644 --- a/fixtures/agent-context-conformance/csharp/expected/.claude/skills/metaobjects-codegen/references/principles.md +++ b/fixtures/agent-context-conformance/csharp/expected/.claude/skills/metaobjects-codegen/references/principles.md @@ -12,7 +12,7 @@ reasons. Read it when a rule there does not settle the case in front of you. ## Principles - **Adopting onto existing code? Metadata FOLLOWS the code.** On a migration (existing working code / live DB), author metadata + tune codegen to *reproduce* what the code already is — native types (`field.uuid` when the code uses `UUID`, not `field.string`; and the type a JSON column's WRITER declares — `list[str]`, a dataclass, `dict[str, X]` — not an open jsonb bag), names, nullability — so regen changes as little existing code as possible. The only existing code that should change is the hand-written layer codegen replaces; ask when a modeling choice is ambiguous. (Greenfield: model-first, below.) -- Pattern-derivable from metadata = codegen, never hand-write — FKs, CRUD, validators, finders, and the database schema and migrations. The schema is a disposable, generated artifact: change the metadata and regenerate. Don't hand-write divergent SQL; where a stack owns its own migration files, GENERATE them — `meta migrate --migration-format flyway` emits the paired `V__`/`U__` files a Flyway runner expects, and leaves applying them to Flyway. The one exception is a schema this project deliberately owns outside MetaObjects (hand-written migrations by rule, or another team's database): when the root `AGENTS.md` or `CLAUDE.md` says so, follow it, and keep `meta verify --db` catching drift. +- Pattern-derivable from metadata = codegen, never hand-write — FKs, CRUD, validators, finders, and the database schema and migrations. The schema is generated output: change the metadata and regenerate. Don't hand-write divergent SQL; where a stack owns its own migration files, GENERATE them — `meta migrate --migration-format flyway` emits the paired `V__`/`U__` files a Flyway runner expects, and leaves applying them to Flyway. The one exception is a schema this project deliberately owns outside MetaObjects (hand-written migrations by rule, or another team's database): when the root `AGENTS.md` or `CLAUDE.md` says so, follow it, and keep `meta verify --db` catching drift. - **Once this project declares any `template.prompt`, every LLM prompt is one** — the text in the template, the data in a payload value object, rendered by the render engine. A structured reply is read through a response model (`@responseRef` and its generated extractor), never a regex or string search. This covers code that does not look like MetaObjects: a format string, text block, template literal or string builder sent to an LLM, and it covers every module, including test harnesses and scripts. Changing a prompt that is still hand-built means migrating it first (snapshot its current output and keep the rendered text byte-identical), not adding a line to it; the `metaobjects-prompts` skill has the steps. - The **live database** is a derived artifact too — never hand-apply a schema change to a running DB (ad-hoc `psql`/console `ALTER`/`CREATE`/`DROP`), not even to preview a column or unblock a boot. Drive every schema change from the metadata, never ad-hoc: with the reference migration helper that is `meta migrate` (metadata → DDL, ADR-0015); with a native tool (EF Core, Exposed, Alembic, sqlx) it is a migration written from the schema `meta schema` prints; on a **Flyway**-owned JVM stack that is `meta migrate --migration-format flyway`, which emits the migration and deliberately refuses `--apply` because Flyway owns applying it. Hand-authoring a migration to match the generated schema is the LAST resort — for a runner MetaObjects has no writer for — never the default for Flyway. A hand-applied ad-hoc change drifts the live DB from the metadata + migration history and collides at the next migrate/boot ("column already exists") — a state no migration can reproduce. Run `meta verify --db ` after any DB-touching work to catch that drift early — the URL is required, and the bare form exits 2. - **If this project declares `requirement.*` nodes, a commit that adds, changes or removes behaviour updates them in the same commit** (the claim, its `@status` and `@implementedBy`), or says in the commit message why not. `meta verify` checks that the links resolve, not that the ledger is current. diff --git a/fixtures/agent-context-conformance/csharp/expected/.metaobjects/AGENTS.md b/fixtures/agent-context-conformance/csharp/expected/.metaobjects/AGENTS.md index abef60c641..f0e4c48037 100644 --- a/fixtures/agent-context-conformance/csharp/expected/.metaobjects/AGENTS.md +++ b/fixtures/agent-context-conformance/csharp/expected/.metaobjects/AGENTS.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/fixtures/agent-context-conformance/java-kotlin-react-tanstack/expected/.claude/skills/metaobjects-audit/references/java.md b/fixtures/agent-context-conformance/java-kotlin-react-tanstack/expected/.claude/skills/metaobjects-audit/references/java.md index 8a296b7928..086255b208 100644 --- a/fixtures/agent-context-conformance/java-kotlin-react-tanstack/expected/.claude/skills/metaobjects-audit/references/java.md +++ b/fixtures/agent-context-conformance/java-kotlin-react-tanstack/expected/.claude/skills/metaobjects-audit/references/java.md @@ -48,8 +48,8 @@ dependency against `.metaobjects/deps.lock.json` and fails with `ERR_DEPENDENCY_ run the Node `meta deps check` for those). A project that publishes a model wires the `shared-model` generator; `verify --codegen` drift-gates its output. -Schema migration + live-DB drift run through the **Node `meta` CLI** regardless of -server language — see the migration reference. `mvn metaobjects:verify -Dmeta.verify.mode=db` +Schema migration is your own tool or the Node `meta migrate` reference helper; live-DB drift is the Node `meta verify --db` +whichever tool built the schema — see the migration reference. `mvn metaobjects:verify -Dmeta.verify.mode=db` is rejected (exit 2). The generator list and the `` are both declared in `pom.xml` under the @@ -165,5 +165,5 @@ versioning — **do not flag it** (only intra-port skew matters). emits `Repository.java` as a stub `interface`; the consumer hand-writes the implementation against OMDB (or any persistence layer). Hand-written repository implementations that match the generated interface exactly are expected. -- **No Java migrate goal.** Schema migration is Node-`meta`-owned for every port - (ADR-0015). The Maven plugin has no migrate goal; `meta migrate` is correct. +- **No Java migrate goal.** Schema migration is your own tool or the Node `meta migrate` + reference helper (ADR-0015 Amendment 2). The Maven plugin has no migrate goal; `meta migrate` is correct. diff --git a/fixtures/agent-context-conformance/java-kotlin-react-tanstack/expected/.claude/skills/metaobjects-audit/references/kotlin.md b/fixtures/agent-context-conformance/java-kotlin-react-tanstack/expected/.claude/skills/metaobjects-audit/references/kotlin.md index f3344a642c..864378d161 100644 --- a/fixtures/agent-context-conformance/java-kotlin-react-tanstack/expected/.claude/skills/metaobjects-audit/references/kotlin.md +++ b/fixtures/agent-context-conformance/java-kotlin-react-tanstack/expected/.claude/skills/metaobjects-audit/references/kotlin.md @@ -53,8 +53,8 @@ run the Node `meta deps check` for those). A project that publishes a model wire `shared-model` generator; `verify --codegen` drift-gates its output. Kotlin generators run through the **same Maven plugin goal** as Java generators — -both are SPI-discovered by the `metaobjects-maven-plugin`. Schema migration + live-DB -drift run through the **Node `meta` CLI** regardless of server language — see the +both are SPI-discovered by the `metaobjects-maven-plugin`. Schema migration is your own tool or the Node `meta migrate` +reference helper; live-DB drift is the Node `meta verify --db` whichever tool built the schema — see the migration reference. The active generator list is declared in `pom.xml` under the plugin `` @@ -169,5 +169,5 @@ cross-port versioning — **do not flag it** (only intra-port skew matters). richer list surface (`?search=`, `filter[or][N]` / `filter[and][N]` combinators, leading-wildcard gating; ADR-0068) passes in TypeScript and C#, and is pending in Kotlin until the Kotlin port's 1.3.0 REST-standard work lands — do NOT flag its absence in Kotlin until then. -- **No JVM migrate goal.** Schema migration is Node-`meta`-owned for every port - (ADR-0015). The Maven plugin has no migrate goal; `meta migrate` is correct. +- **No JVM migrate goal.** Schema migration is your own tool or the Node `meta migrate` + reference helper (ADR-0015 Amendment 2). The Maven plugin has no migrate goal; `meta migrate` is correct. diff --git a/fixtures/agent-context-conformance/java-kotlin-react-tanstack/expected/.claude/skills/metaobjects-audit/references/surface-review-axes.md b/fixtures/agent-context-conformance/java-kotlin-react-tanstack/expected/.claude/skills/metaobjects-audit/references/surface-review-axes.md index 3a27812195..69ea3be843 100644 --- a/fixtures/agent-context-conformance/java-kotlin-react-tanstack/expected/.claude/skills/metaobjects-audit/references/surface-review-axes.md +++ b/fixtures/agent-context-conformance/java-kotlin-react-tanstack/expected/.claude/skills/metaobjects-audit/references/surface-review-axes.md @@ -125,7 +125,7 @@ The full hunt for each axis of Phase 1b (Partial / Deep path). Each axis runs in (Node `meta` only) for DB drift. Flag a gate that is WIRED BUT INCOMPLETE for the artifacts present, and recommend the specific missing coverage. - [ ] **F2. Over-generation — unnecessary generated files (codegen WASTE).** - Generated code is disposable, but that is NOT license to generate what nothing + Generated code is regenerated output, but that is NOT license to generate what nothing consumes. Every generated file is a merge/review/maintenance surface and inflates the leverage ratio falsely. Hunt OVER-generation (the inverse of A/B's under-generation): diff --git a/fixtures/agent-context-conformance/java-kotlin-react-tanstack/expected/.claude/skills/metaobjects-authoring/SKILL.md b/fixtures/agent-context-conformance/java-kotlin-react-tanstack/expected/.claude/skills/metaobjects-authoring/SKILL.md index af0fcf1b1a..211102dfdf 100644 --- a/fixtures/agent-context-conformance/java-kotlin-react-tanstack/expected/.claude/skills/metaobjects-authoring/SKILL.md +++ b/fixtures/agent-context-conformance/java-kotlin-react-tanstack/expected/.claude/skills/metaobjects-authoring/SKILL.md @@ -13,7 +13,9 @@ emits code in each language from it, and the drift gates check everything agains - **Declare it; do not hand-write it.** Persistence, data access, validation, APIs and UI scaffolding are derived from metadata. When you reach for a hand-written query, route, validator, relationship or aggregate, that is usually metadata nobody has declared yet: - look for the construct first (`meta types `). + look for the construct first (`meta types `). Declare it when the cost test favours + it: smaller declared than hand-written, more than one instance, or drift protection a + hand-write cannot give. A one-off with none of these can stay hand-written. - **Adoption reverses the direction.** When working code or a populated schema already exists, it is the specification and the metadata reproduces it: its names, types and nullability. Read `references/adopting-existing-code.md` before modeling anything. @@ -77,18 +79,21 @@ When you are about to hand-write something data-shaped, find the model for it: search by behavior; there are subtypes, origins, identities and attributes you may not know exist. `--detail` shows one construct's valid `@attrs`; `--format json` gives every match with each attr's `allowedValues`, so you read the accepted values, not guess them. -3. **Declare it, generate, and consume the generated query, type or route.** Do not - reimplement it alongside. +3. **Declare it, generate, and consume the generated query, type or route.** Once declared, + do not reimplement it alongside. 4. **If the model is right and the generated output is wrong, change your generator.** Naming, file layout, imports, framework and signatures are generator concerns. The generators are in your repo and yours to edit; a rule against changing MetaObjects itself does not reach them (`metaobjects-codegen`, "When generated output does not fit"). 5. **Hand-write only what no construct can express**, wired to the generated types: business algorithms, external integrations, bespoke interactions. CRUD, validation, finders, - relationships and derived or aggregate data are not in that group. + relationships and derived or aggregate data are not in that group, unless the cost test + below says a one-off can stay hand-written. -If the metadata could describe it, declaring it is the right call even when a one-off -hand-write would be faster today (`references/model-first-rationale.md`). +If the metadata could describe it, declare it when the cost test favours it: the shape +is smaller declared than hand-written, it will have more than one instance, or declaring it +buys drift protection a hand-write cannot. A one-off with none of these can stay hand-written +(`references/model-first-rationale.md`). ## Adopting onto an existing codebase: metadata follows the code diff --git a/fixtures/agent-context-conformance/java-kotlin-react-tanstack/expected/.claude/skills/metaobjects-authoring/references/model-first-rationale.md b/fixtures/agent-context-conformance/java-kotlin-react-tanstack/expected/.claude/skills/metaobjects-authoring/references/model-first-rationale.md index 7937be392c..bd51b49102 100644 --- a/fixtures/agent-context-conformance/java-kotlin-react-tanstack/expected/.claude/skills/metaobjects-authoring/references/model-first-rationale.md +++ b/fixtures/agent-context-conformance/java-kotlin-react-tanstack/expected/.claude/skills/metaobjects-authoring/references/model-first-rationale.md @@ -1,14 +1,14 @@ # Why model-first wins -The case behind the operating principle in `SKILL.md`: why declaring the model beats hand-writing a layer, even when the hand-written version is cheaper this once. +The case behind the operating principle in `SKILL.md`: why declaring the model usually beats hand-writing a layer, even when the hand-written version is cheaper this once. The cost test in `SKILL.md` still decides a one-off. ## Contents - Second source of truth - The consistency tax - One change, every layer -**Why model-first wins even when hand-writing is cheaper this once — and it often -is, this once:** +**Why model-first usually wins, even when hand-writing is cheaper this once — and it often +is, this once (the cost test in `SKILL.md` still decides a true one-off):** - **Hand-writing a layer the metadata could own creates a second source of truth for one fact.** A field's type, validation, column, route, and form then change in N places and must stay consistent forever — not drift *risk*, but two sources of diff --git a/fixtures/agent-context-conformance/java-kotlin-react-tanstack/expected/.claude/skills/metaobjects-codegen/references/principles.md b/fixtures/agent-context-conformance/java-kotlin-react-tanstack/expected/.claude/skills/metaobjects-codegen/references/principles.md index 3dd57407f1..1ef45c6d86 100644 --- a/fixtures/agent-context-conformance/java-kotlin-react-tanstack/expected/.claude/skills/metaobjects-codegen/references/principles.md +++ b/fixtures/agent-context-conformance/java-kotlin-react-tanstack/expected/.claude/skills/metaobjects-codegen/references/principles.md @@ -12,7 +12,7 @@ reasons. Read it when a rule there does not settle the case in front of you. ## Principles - **Adopting onto existing code? Metadata FOLLOWS the code.** On a migration (existing working code / live DB), author metadata + tune codegen to *reproduce* what the code already is — native types (`field.uuid` when the code uses `UUID`, not `field.string`; and the type a JSON column's WRITER declares — `list[str]`, a dataclass, `dict[str, X]` — not an open jsonb bag), names, nullability — so regen changes as little existing code as possible. The only existing code that should change is the hand-written layer codegen replaces; ask when a modeling choice is ambiguous. (Greenfield: model-first, below.) -- Pattern-derivable from metadata = codegen, never hand-write — FKs, CRUD, validators, finders, and the database schema and migrations. The schema is a disposable, generated artifact: change the metadata and regenerate. Don't hand-write divergent SQL; where a stack owns its own migration files, GENERATE them — `meta migrate --migration-format flyway` emits the paired `V__`/`U__` files a Flyway runner expects, and leaves applying them to Flyway. The one exception is a schema this project deliberately owns outside MetaObjects (hand-written migrations by rule, or another team's database): when the root `AGENTS.md` or `CLAUDE.md` says so, follow it, and keep `meta verify --db` catching drift. +- Pattern-derivable from metadata = codegen, never hand-write — FKs, CRUD, validators, finders, and the database schema and migrations. The schema is generated output: change the metadata and regenerate. Don't hand-write divergent SQL; where a stack owns its own migration files, GENERATE them — `meta migrate --migration-format flyway` emits the paired `V__`/`U__` files a Flyway runner expects, and leaves applying them to Flyway. The one exception is a schema this project deliberately owns outside MetaObjects (hand-written migrations by rule, or another team's database): when the root `AGENTS.md` or `CLAUDE.md` says so, follow it, and keep `meta verify --db` catching drift. - **Once this project declares any `template.prompt`, every LLM prompt is one** — the text in the template, the data in a payload value object, rendered by the render engine. A structured reply is read through a response model (`@responseRef` and its generated extractor), never a regex or string search. This covers code that does not look like MetaObjects: a format string, text block, template literal or string builder sent to an LLM, and it covers every module, including test harnesses and scripts. Changing a prompt that is still hand-built means migrating it first (snapshot its current output and keep the rendered text byte-identical), not adding a line to it; the `metaobjects-prompts` skill has the steps. - The **live database** is a derived artifact too — never hand-apply a schema change to a running DB (ad-hoc `psql`/console `ALTER`/`CREATE`/`DROP`), not even to preview a column or unblock a boot. Drive every schema change from the metadata, never ad-hoc: with the reference migration helper that is `meta migrate` (metadata → DDL, ADR-0015); with a native tool (EF Core, Exposed, Alembic, sqlx) it is a migration written from the schema `meta schema` prints; on a **Flyway**-owned JVM stack that is `meta migrate --migration-format flyway`, which emits the migration and deliberately refuses `--apply` because Flyway owns applying it. Hand-authoring a migration to match the generated schema is the LAST resort — for a runner MetaObjects has no writer for — never the default for Flyway. A hand-applied ad-hoc change drifts the live DB from the metadata + migration history and collides at the next migrate/boot ("column already exists") — a state no migration can reproduce. Run `meta verify --db ` after any DB-touching work to catch that drift early — the URL is required, and the bare form exits 2. - **If this project declares `requirement.*` nodes, a commit that adds, changes or removes behaviour updates them in the same commit** (the claim, its `@status` and `@implementedBy`), or says in the commit message why not. `meta verify` checks that the links resolve, not that the ledger is current. diff --git a/fixtures/agent-context-conformance/java-kotlin-react-tanstack/expected/.metaobjects/AGENTS.md b/fixtures/agent-context-conformance/java-kotlin-react-tanstack/expected/.metaobjects/AGENTS.md index 0e7db502ca..bb2aff48f9 100644 --- a/fixtures/agent-context-conformance/java-kotlin-react-tanstack/expected/.metaobjects/AGENTS.md +++ b/fixtures/agent-context-conformance/java-kotlin-react-tanstack/expected/.metaobjects/AGENTS.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/fixtures/agent-context-conformance/java-react/expected/.claude/skills/metaobjects-audit/references/java.md b/fixtures/agent-context-conformance/java-react/expected/.claude/skills/metaobjects-audit/references/java.md index 8a296b7928..086255b208 100644 --- a/fixtures/agent-context-conformance/java-react/expected/.claude/skills/metaobjects-audit/references/java.md +++ b/fixtures/agent-context-conformance/java-react/expected/.claude/skills/metaobjects-audit/references/java.md @@ -48,8 +48,8 @@ dependency against `.metaobjects/deps.lock.json` and fails with `ERR_DEPENDENCY_ run the Node `meta deps check` for those). A project that publishes a model wires the `shared-model` generator; `verify --codegen` drift-gates its output. -Schema migration + live-DB drift run through the **Node `meta` CLI** regardless of -server language — see the migration reference. `mvn metaobjects:verify -Dmeta.verify.mode=db` +Schema migration is your own tool or the Node `meta migrate` reference helper; live-DB drift is the Node `meta verify --db` +whichever tool built the schema — see the migration reference. `mvn metaobjects:verify -Dmeta.verify.mode=db` is rejected (exit 2). The generator list and the `` are both declared in `pom.xml` under the @@ -165,5 +165,5 @@ versioning — **do not flag it** (only intra-port skew matters). emits `Repository.java` as a stub `interface`; the consumer hand-writes the implementation against OMDB (or any persistence layer). Hand-written repository implementations that match the generated interface exactly are expected. -- **No Java migrate goal.** Schema migration is Node-`meta`-owned for every port - (ADR-0015). The Maven plugin has no migrate goal; `meta migrate` is correct. +- **No Java migrate goal.** Schema migration is your own tool or the Node `meta migrate` + reference helper (ADR-0015 Amendment 2). The Maven plugin has no migrate goal; `meta migrate` is correct. diff --git a/fixtures/agent-context-conformance/java-react/expected/.claude/skills/metaobjects-audit/references/surface-review-axes.md b/fixtures/agent-context-conformance/java-react/expected/.claude/skills/metaobjects-audit/references/surface-review-axes.md index 3a27812195..69ea3be843 100644 --- a/fixtures/agent-context-conformance/java-react/expected/.claude/skills/metaobjects-audit/references/surface-review-axes.md +++ b/fixtures/agent-context-conformance/java-react/expected/.claude/skills/metaobjects-audit/references/surface-review-axes.md @@ -125,7 +125,7 @@ The full hunt for each axis of Phase 1b (Partial / Deep path). Each axis runs in (Node `meta` only) for DB drift. Flag a gate that is WIRED BUT INCOMPLETE for the artifacts present, and recommend the specific missing coverage. - [ ] **F2. Over-generation — unnecessary generated files (codegen WASTE).** - Generated code is disposable, but that is NOT license to generate what nothing + Generated code is regenerated output, but that is NOT license to generate what nothing consumes. Every generated file is a merge/review/maintenance surface and inflates the leverage ratio falsely. Hunt OVER-generation (the inverse of A/B's under-generation): diff --git a/fixtures/agent-context-conformance/java-react/expected/.claude/skills/metaobjects-authoring/SKILL.md b/fixtures/agent-context-conformance/java-react/expected/.claude/skills/metaobjects-authoring/SKILL.md index af0fcf1b1a..211102dfdf 100644 --- a/fixtures/agent-context-conformance/java-react/expected/.claude/skills/metaobjects-authoring/SKILL.md +++ b/fixtures/agent-context-conformance/java-react/expected/.claude/skills/metaobjects-authoring/SKILL.md @@ -13,7 +13,9 @@ emits code in each language from it, and the drift gates check everything agains - **Declare it; do not hand-write it.** Persistence, data access, validation, APIs and UI scaffolding are derived from metadata. When you reach for a hand-written query, route, validator, relationship or aggregate, that is usually metadata nobody has declared yet: - look for the construct first (`meta types `). + look for the construct first (`meta types `). Declare it when the cost test favours + it: smaller declared than hand-written, more than one instance, or drift protection a + hand-write cannot give. A one-off with none of these can stay hand-written. - **Adoption reverses the direction.** When working code or a populated schema already exists, it is the specification and the metadata reproduces it: its names, types and nullability. Read `references/adopting-existing-code.md` before modeling anything. @@ -77,18 +79,21 @@ When you are about to hand-write something data-shaped, find the model for it: search by behavior; there are subtypes, origins, identities and attributes you may not know exist. `--detail` shows one construct's valid `@attrs`; `--format json` gives every match with each attr's `allowedValues`, so you read the accepted values, not guess them. -3. **Declare it, generate, and consume the generated query, type or route.** Do not - reimplement it alongside. +3. **Declare it, generate, and consume the generated query, type or route.** Once declared, + do not reimplement it alongside. 4. **If the model is right and the generated output is wrong, change your generator.** Naming, file layout, imports, framework and signatures are generator concerns. The generators are in your repo and yours to edit; a rule against changing MetaObjects itself does not reach them (`metaobjects-codegen`, "When generated output does not fit"). 5. **Hand-write only what no construct can express**, wired to the generated types: business algorithms, external integrations, bespoke interactions. CRUD, validation, finders, - relationships and derived or aggregate data are not in that group. + relationships and derived or aggregate data are not in that group, unless the cost test + below says a one-off can stay hand-written. -If the metadata could describe it, declaring it is the right call even when a one-off -hand-write would be faster today (`references/model-first-rationale.md`). +If the metadata could describe it, declare it when the cost test favours it: the shape +is smaller declared than hand-written, it will have more than one instance, or declaring it +buys drift protection a hand-write cannot. A one-off with none of these can stay hand-written +(`references/model-first-rationale.md`). ## Adopting onto an existing codebase: metadata follows the code diff --git a/fixtures/agent-context-conformance/java-react/expected/.claude/skills/metaobjects-authoring/references/model-first-rationale.md b/fixtures/agent-context-conformance/java-react/expected/.claude/skills/metaobjects-authoring/references/model-first-rationale.md index 7937be392c..bd51b49102 100644 --- a/fixtures/agent-context-conformance/java-react/expected/.claude/skills/metaobjects-authoring/references/model-first-rationale.md +++ b/fixtures/agent-context-conformance/java-react/expected/.claude/skills/metaobjects-authoring/references/model-first-rationale.md @@ -1,14 +1,14 @@ # Why model-first wins -The case behind the operating principle in `SKILL.md`: why declaring the model beats hand-writing a layer, even when the hand-written version is cheaper this once. +The case behind the operating principle in `SKILL.md`: why declaring the model usually beats hand-writing a layer, even when the hand-written version is cheaper this once. The cost test in `SKILL.md` still decides a one-off. ## Contents - Second source of truth - The consistency tax - One change, every layer -**Why model-first wins even when hand-writing is cheaper this once — and it often -is, this once:** +**Why model-first usually wins, even when hand-writing is cheaper this once — and it often +is, this once (the cost test in `SKILL.md` still decides a true one-off):** - **Hand-writing a layer the metadata could own creates a second source of truth for one fact.** A field's type, validation, column, route, and form then change in N places and must stay consistent forever — not drift *risk*, but two sources of diff --git a/fixtures/agent-context-conformance/java-react/expected/.claude/skills/metaobjects-codegen/references/principles.md b/fixtures/agent-context-conformance/java-react/expected/.claude/skills/metaobjects-codegen/references/principles.md index 3dd57407f1..1ef45c6d86 100644 --- a/fixtures/agent-context-conformance/java-react/expected/.claude/skills/metaobjects-codegen/references/principles.md +++ b/fixtures/agent-context-conformance/java-react/expected/.claude/skills/metaobjects-codegen/references/principles.md @@ -12,7 +12,7 @@ reasons. Read it when a rule there does not settle the case in front of you. ## Principles - **Adopting onto existing code? Metadata FOLLOWS the code.** On a migration (existing working code / live DB), author metadata + tune codegen to *reproduce* what the code already is — native types (`field.uuid` when the code uses `UUID`, not `field.string`; and the type a JSON column's WRITER declares — `list[str]`, a dataclass, `dict[str, X]` — not an open jsonb bag), names, nullability — so regen changes as little existing code as possible. The only existing code that should change is the hand-written layer codegen replaces; ask when a modeling choice is ambiguous. (Greenfield: model-first, below.) -- Pattern-derivable from metadata = codegen, never hand-write — FKs, CRUD, validators, finders, and the database schema and migrations. The schema is a disposable, generated artifact: change the metadata and regenerate. Don't hand-write divergent SQL; where a stack owns its own migration files, GENERATE them — `meta migrate --migration-format flyway` emits the paired `V__`/`U__` files a Flyway runner expects, and leaves applying them to Flyway. The one exception is a schema this project deliberately owns outside MetaObjects (hand-written migrations by rule, or another team's database): when the root `AGENTS.md` or `CLAUDE.md` says so, follow it, and keep `meta verify --db` catching drift. +- Pattern-derivable from metadata = codegen, never hand-write — FKs, CRUD, validators, finders, and the database schema and migrations. The schema is generated output: change the metadata and regenerate. Don't hand-write divergent SQL; where a stack owns its own migration files, GENERATE them — `meta migrate --migration-format flyway` emits the paired `V__`/`U__` files a Flyway runner expects, and leaves applying them to Flyway. The one exception is a schema this project deliberately owns outside MetaObjects (hand-written migrations by rule, or another team's database): when the root `AGENTS.md` or `CLAUDE.md` says so, follow it, and keep `meta verify --db` catching drift. - **Once this project declares any `template.prompt`, every LLM prompt is one** — the text in the template, the data in a payload value object, rendered by the render engine. A structured reply is read through a response model (`@responseRef` and its generated extractor), never a regex or string search. This covers code that does not look like MetaObjects: a format string, text block, template literal or string builder sent to an LLM, and it covers every module, including test harnesses and scripts. Changing a prompt that is still hand-built means migrating it first (snapshot its current output and keep the rendered text byte-identical), not adding a line to it; the `metaobjects-prompts` skill has the steps. - The **live database** is a derived artifact too — never hand-apply a schema change to a running DB (ad-hoc `psql`/console `ALTER`/`CREATE`/`DROP`), not even to preview a column or unblock a boot. Drive every schema change from the metadata, never ad-hoc: with the reference migration helper that is `meta migrate` (metadata → DDL, ADR-0015); with a native tool (EF Core, Exposed, Alembic, sqlx) it is a migration written from the schema `meta schema` prints; on a **Flyway**-owned JVM stack that is `meta migrate --migration-format flyway`, which emits the migration and deliberately refuses `--apply` because Flyway owns applying it. Hand-authoring a migration to match the generated schema is the LAST resort — for a runner MetaObjects has no writer for — never the default for Flyway. A hand-applied ad-hoc change drifts the live DB from the metadata + migration history and collides at the next migrate/boot ("column already exists") — a state no migration can reproduce. Run `meta verify --db ` after any DB-touching work to catch that drift early — the URL is required, and the bare form exits 2. - **If this project declares `requirement.*` nodes, a commit that adds, changes or removes behaviour updates them in the same commit** (the claim, its `@status` and `@implementedBy`), or says in the commit message why not. `meta verify` checks that the links resolve, not that the ledger is current. diff --git a/fixtures/agent-context-conformance/java-react/expected/.metaobjects/AGENTS.md b/fixtures/agent-context-conformance/java-react/expected/.metaobjects/AGENTS.md index e3c654d7a8..22266d26e1 100644 --- a/fixtures/agent-context-conformance/java-react/expected/.metaobjects/AGENTS.md +++ b/fixtures/agent-context-conformance/java-react/expected/.metaobjects/AGENTS.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/fixtures/agent-context-conformance/python/expected/.claude/skills/metaobjects-audit/references/python.md b/fixtures/agent-context-conformance/python/expected/.claude/skills/metaobjects-audit/references/python.md index e65deaeade..54983f55a2 100644 --- a/fixtures/agent-context-conformance/python/expected/.claude/skills/metaobjects-audit/references/python.md +++ b/fixtures/agent-context-conformance/python/expected/.claude/skills/metaobjects-audit/references/python.md @@ -53,8 +53,7 @@ With no `metaobjects.config.yaml`, `gen` exits 2 and generates nothing. A target `generators` takes stable generator names: `entity`, `routes`, `filter-allowlist`, `names`, `output-parser`, `extractor`, `output-prompt`, `render-helper`, `trace-helper`, `template`. (There is no `payload` generator since ADR-0056: a template's payload and -response types are the value objects' own `entity` models.) Schema migration + live-DB drift run through the **Node `meta` CLI** -regardless of server language — see the migration reference. +response types are the value objects' own `entity` models.) Schema migration is your own tool or the Node `meta migrate` reference helper; live-DB drift is the Node `meta verify --db` whichever tool built the schema — see the migration reference. --- @@ -167,5 +166,5 @@ another) matters. - **Partial relationship + flattened-object codegen.** Relationship navigation, non-`table` source kinds, and `field.object @storage: flattened` codegen are partially implemented in the Python port. Do NOT flag these gaps as adopter defects. -- **No Python migrate subcommand.** Schema migration is Node-`meta`-owned for every - port (ADR-0015). `metaobjects` has no migrate subcommand; `meta migrate` is correct. +- **No Python migrate subcommand.** Schema migration is your own tool or the Node `meta migrate` + reference helper (ADR-0015 Amendment 2). `metaobjects` has no migrate subcommand; `meta migrate` is correct. diff --git a/fixtures/agent-context-conformance/python/expected/.claude/skills/metaobjects-audit/references/surface-review-axes.md b/fixtures/agent-context-conformance/python/expected/.claude/skills/metaobjects-audit/references/surface-review-axes.md index 3a27812195..69ea3be843 100644 --- a/fixtures/agent-context-conformance/python/expected/.claude/skills/metaobjects-audit/references/surface-review-axes.md +++ b/fixtures/agent-context-conformance/python/expected/.claude/skills/metaobjects-audit/references/surface-review-axes.md @@ -125,7 +125,7 @@ The full hunt for each axis of Phase 1b (Partial / Deep path). Each axis runs in (Node `meta` only) for DB drift. Flag a gate that is WIRED BUT INCOMPLETE for the artifacts present, and recommend the specific missing coverage. - [ ] **F2. Over-generation — unnecessary generated files (codegen WASTE).** - Generated code is disposable, but that is NOT license to generate what nothing + Generated code is regenerated output, but that is NOT license to generate what nothing consumes. Every generated file is a merge/review/maintenance surface and inflates the leverage ratio falsely. Hunt OVER-generation (the inverse of A/B's under-generation): diff --git a/fixtures/agent-context-conformance/python/expected/.claude/skills/metaobjects-authoring/SKILL.md b/fixtures/agent-context-conformance/python/expected/.claude/skills/metaobjects-authoring/SKILL.md index af0fcf1b1a..211102dfdf 100644 --- a/fixtures/agent-context-conformance/python/expected/.claude/skills/metaobjects-authoring/SKILL.md +++ b/fixtures/agent-context-conformance/python/expected/.claude/skills/metaobjects-authoring/SKILL.md @@ -13,7 +13,9 @@ emits code in each language from it, and the drift gates check everything agains - **Declare it; do not hand-write it.** Persistence, data access, validation, APIs and UI scaffolding are derived from metadata. When you reach for a hand-written query, route, validator, relationship or aggregate, that is usually metadata nobody has declared yet: - look for the construct first (`meta types `). + look for the construct first (`meta types `). Declare it when the cost test favours + it: smaller declared than hand-written, more than one instance, or drift protection a + hand-write cannot give. A one-off with none of these can stay hand-written. - **Adoption reverses the direction.** When working code or a populated schema already exists, it is the specification and the metadata reproduces it: its names, types and nullability. Read `references/adopting-existing-code.md` before modeling anything. @@ -77,18 +79,21 @@ When you are about to hand-write something data-shaped, find the model for it: search by behavior; there are subtypes, origins, identities and attributes you may not know exist. `--detail` shows one construct's valid `@attrs`; `--format json` gives every match with each attr's `allowedValues`, so you read the accepted values, not guess them. -3. **Declare it, generate, and consume the generated query, type or route.** Do not - reimplement it alongside. +3. **Declare it, generate, and consume the generated query, type or route.** Once declared, + do not reimplement it alongside. 4. **If the model is right and the generated output is wrong, change your generator.** Naming, file layout, imports, framework and signatures are generator concerns. The generators are in your repo and yours to edit; a rule against changing MetaObjects itself does not reach them (`metaobjects-codegen`, "When generated output does not fit"). 5. **Hand-write only what no construct can express**, wired to the generated types: business algorithms, external integrations, bespoke interactions. CRUD, validation, finders, - relationships and derived or aggregate data are not in that group. + relationships and derived or aggregate data are not in that group, unless the cost test + below says a one-off can stay hand-written. -If the metadata could describe it, declaring it is the right call even when a one-off -hand-write would be faster today (`references/model-first-rationale.md`). +If the metadata could describe it, declare it when the cost test favours it: the shape +is smaller declared than hand-written, it will have more than one instance, or declaring it +buys drift protection a hand-write cannot. A one-off with none of these can stay hand-written +(`references/model-first-rationale.md`). ## Adopting onto an existing codebase: metadata follows the code diff --git a/fixtures/agent-context-conformance/python/expected/.claude/skills/metaobjects-authoring/references/model-first-rationale.md b/fixtures/agent-context-conformance/python/expected/.claude/skills/metaobjects-authoring/references/model-first-rationale.md index 7937be392c..bd51b49102 100644 --- a/fixtures/agent-context-conformance/python/expected/.claude/skills/metaobjects-authoring/references/model-first-rationale.md +++ b/fixtures/agent-context-conformance/python/expected/.claude/skills/metaobjects-authoring/references/model-first-rationale.md @@ -1,14 +1,14 @@ # Why model-first wins -The case behind the operating principle in `SKILL.md`: why declaring the model beats hand-writing a layer, even when the hand-written version is cheaper this once. +The case behind the operating principle in `SKILL.md`: why declaring the model usually beats hand-writing a layer, even when the hand-written version is cheaper this once. The cost test in `SKILL.md` still decides a one-off. ## Contents - Second source of truth - The consistency tax - One change, every layer -**Why model-first wins even when hand-writing is cheaper this once — and it often -is, this once:** +**Why model-first usually wins, even when hand-writing is cheaper this once — and it often +is, this once (the cost test in `SKILL.md` still decides a true one-off):** - **Hand-writing a layer the metadata could own creates a second source of truth for one fact.** A field's type, validation, column, route, and form then change in N places and must stay consistent forever — not drift *risk*, but two sources of diff --git a/fixtures/agent-context-conformance/python/expected/.claude/skills/metaobjects-codegen/references/principles.md b/fixtures/agent-context-conformance/python/expected/.claude/skills/metaobjects-codegen/references/principles.md index 3dd57407f1..1ef45c6d86 100644 --- a/fixtures/agent-context-conformance/python/expected/.claude/skills/metaobjects-codegen/references/principles.md +++ b/fixtures/agent-context-conformance/python/expected/.claude/skills/metaobjects-codegen/references/principles.md @@ -12,7 +12,7 @@ reasons. Read it when a rule there does not settle the case in front of you. ## Principles - **Adopting onto existing code? Metadata FOLLOWS the code.** On a migration (existing working code / live DB), author metadata + tune codegen to *reproduce* what the code already is — native types (`field.uuid` when the code uses `UUID`, not `field.string`; and the type a JSON column's WRITER declares — `list[str]`, a dataclass, `dict[str, X]` — not an open jsonb bag), names, nullability — so regen changes as little existing code as possible. The only existing code that should change is the hand-written layer codegen replaces; ask when a modeling choice is ambiguous. (Greenfield: model-first, below.) -- Pattern-derivable from metadata = codegen, never hand-write — FKs, CRUD, validators, finders, and the database schema and migrations. The schema is a disposable, generated artifact: change the metadata and regenerate. Don't hand-write divergent SQL; where a stack owns its own migration files, GENERATE them — `meta migrate --migration-format flyway` emits the paired `V__`/`U__` files a Flyway runner expects, and leaves applying them to Flyway. The one exception is a schema this project deliberately owns outside MetaObjects (hand-written migrations by rule, or another team's database): when the root `AGENTS.md` or `CLAUDE.md` says so, follow it, and keep `meta verify --db` catching drift. +- Pattern-derivable from metadata = codegen, never hand-write — FKs, CRUD, validators, finders, and the database schema and migrations. The schema is generated output: change the metadata and regenerate. Don't hand-write divergent SQL; where a stack owns its own migration files, GENERATE them — `meta migrate --migration-format flyway` emits the paired `V__`/`U__` files a Flyway runner expects, and leaves applying them to Flyway. The one exception is a schema this project deliberately owns outside MetaObjects (hand-written migrations by rule, or another team's database): when the root `AGENTS.md` or `CLAUDE.md` says so, follow it, and keep `meta verify --db` catching drift. - **Once this project declares any `template.prompt`, every LLM prompt is one** — the text in the template, the data in a payload value object, rendered by the render engine. A structured reply is read through a response model (`@responseRef` and its generated extractor), never a regex or string search. This covers code that does not look like MetaObjects: a format string, text block, template literal or string builder sent to an LLM, and it covers every module, including test harnesses and scripts. Changing a prompt that is still hand-built means migrating it first (snapshot its current output and keep the rendered text byte-identical), not adding a line to it; the `metaobjects-prompts` skill has the steps. - The **live database** is a derived artifact too — never hand-apply a schema change to a running DB (ad-hoc `psql`/console `ALTER`/`CREATE`/`DROP`), not even to preview a column or unblock a boot. Drive every schema change from the metadata, never ad-hoc: with the reference migration helper that is `meta migrate` (metadata → DDL, ADR-0015); with a native tool (EF Core, Exposed, Alembic, sqlx) it is a migration written from the schema `meta schema` prints; on a **Flyway**-owned JVM stack that is `meta migrate --migration-format flyway`, which emits the migration and deliberately refuses `--apply` because Flyway owns applying it. Hand-authoring a migration to match the generated schema is the LAST resort — for a runner MetaObjects has no writer for — never the default for Flyway. A hand-applied ad-hoc change drifts the live DB from the metadata + migration history and collides at the next migrate/boot ("column already exists") — a state no migration can reproduce. Run `meta verify --db ` after any DB-touching work to catch that drift early — the URL is required, and the bare form exits 2. - **If this project declares `requirement.*` nodes, a commit that adds, changes or removes behaviour updates them in the same commit** (the claim, its `@status` and `@implementedBy`), or says in the commit message why not. `meta verify` checks that the links resolve, not that the ledger is current. diff --git a/fixtures/agent-context-conformance/python/expected/.claude/skills/metaobjects-codegen/references/python.md b/fixtures/agent-context-conformance/python/expected/.claude/skills/metaobjects-codegen/references/python.md index 9803e89532..ce0464f021 100644 --- a/fixtures/agent-context-conformance/python/expected/.claude/skills/metaobjects-codegen/references/python.md +++ b/fixtures/agent-context-conformance/python/expected/.claude/skills/metaobjects-codegen/references/python.md @@ -2,7 +2,7 @@ The Python port targets FastAPI consumers. Codegen runs through the **`metaobjects` console-script** (`pip install metaobjects`). As on every port, schema migrations -are **Node-`meta`-owned** (ADR-0015): `meta migrate` / `meta verify --db` run +run in your own tool or the Node reference helper (ADR-0015 Amendment 2): `meta migrate` / `meta verify --db` run through the Node `meta` tool — the Python CLI has **no `migrate` subcommand** and `metaobjects verify --db` is rejected. Everything below is `metaobjects`. diff --git a/fixtures/agent-context-conformance/python/expected/.metaobjects/AGENTS.md b/fixtures/agent-context-conformance/python/expected/.metaobjects/AGENTS.md index c0fd16587a..762bb44265 100644 --- a/fixtures/agent-context-conformance/python/expected/.metaobjects/AGENTS.md +++ b/fixtures/agent-context-conformance/python/expected/.metaobjects/AGENTS.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/fixtures/agent-context-conformance/rust/expected/.claude/skills/metaobjects-audit/references/surface-review-axes.md b/fixtures/agent-context-conformance/rust/expected/.claude/skills/metaobjects-audit/references/surface-review-axes.md index 3a27812195..69ea3be843 100644 --- a/fixtures/agent-context-conformance/rust/expected/.claude/skills/metaobjects-audit/references/surface-review-axes.md +++ b/fixtures/agent-context-conformance/rust/expected/.claude/skills/metaobjects-audit/references/surface-review-axes.md @@ -125,7 +125,7 @@ The full hunt for each axis of Phase 1b (Partial / Deep path). Each axis runs in (Node `meta` only) for DB drift. Flag a gate that is WIRED BUT INCOMPLETE for the artifacts present, and recommend the specific missing coverage. - [ ] **F2. Over-generation — unnecessary generated files (codegen WASTE).** - Generated code is disposable, but that is NOT license to generate what nothing + Generated code is regenerated output, but that is NOT license to generate what nothing consumes. Every generated file is a merge/review/maintenance surface and inflates the leverage ratio falsely. Hunt OVER-generation (the inverse of A/B's under-generation): diff --git a/fixtures/agent-context-conformance/rust/expected/.claude/skills/metaobjects-authoring/SKILL.md b/fixtures/agent-context-conformance/rust/expected/.claude/skills/metaobjects-authoring/SKILL.md index af0fcf1b1a..211102dfdf 100644 --- a/fixtures/agent-context-conformance/rust/expected/.claude/skills/metaobjects-authoring/SKILL.md +++ b/fixtures/agent-context-conformance/rust/expected/.claude/skills/metaobjects-authoring/SKILL.md @@ -13,7 +13,9 @@ emits code in each language from it, and the drift gates check everything agains - **Declare it; do not hand-write it.** Persistence, data access, validation, APIs and UI scaffolding are derived from metadata. When you reach for a hand-written query, route, validator, relationship or aggregate, that is usually metadata nobody has declared yet: - look for the construct first (`meta types `). + look for the construct first (`meta types `). Declare it when the cost test favours + it: smaller declared than hand-written, more than one instance, or drift protection a + hand-write cannot give. A one-off with none of these can stay hand-written. - **Adoption reverses the direction.** When working code or a populated schema already exists, it is the specification and the metadata reproduces it: its names, types and nullability. Read `references/adopting-existing-code.md` before modeling anything. @@ -77,18 +79,21 @@ When you are about to hand-write something data-shaped, find the model for it: search by behavior; there are subtypes, origins, identities and attributes you may not know exist. `--detail` shows one construct's valid `@attrs`; `--format json` gives every match with each attr's `allowedValues`, so you read the accepted values, not guess them. -3. **Declare it, generate, and consume the generated query, type or route.** Do not - reimplement it alongside. +3. **Declare it, generate, and consume the generated query, type or route.** Once declared, + do not reimplement it alongside. 4. **If the model is right and the generated output is wrong, change your generator.** Naming, file layout, imports, framework and signatures are generator concerns. The generators are in your repo and yours to edit; a rule against changing MetaObjects itself does not reach them (`metaobjects-codegen`, "When generated output does not fit"). 5. **Hand-write only what no construct can express**, wired to the generated types: business algorithms, external integrations, bespoke interactions. CRUD, validation, finders, - relationships and derived or aggregate data are not in that group. + relationships and derived or aggregate data are not in that group, unless the cost test + below says a one-off can stay hand-written. -If the metadata could describe it, declaring it is the right call even when a one-off -hand-write would be faster today (`references/model-first-rationale.md`). +If the metadata could describe it, declare it when the cost test favours it: the shape +is smaller declared than hand-written, it will have more than one instance, or declaring it +buys drift protection a hand-write cannot. A one-off with none of these can stay hand-written +(`references/model-first-rationale.md`). ## Adopting onto an existing codebase: metadata follows the code diff --git a/fixtures/agent-context-conformance/rust/expected/.claude/skills/metaobjects-authoring/references/model-first-rationale.md b/fixtures/agent-context-conformance/rust/expected/.claude/skills/metaobjects-authoring/references/model-first-rationale.md index 7937be392c..bd51b49102 100644 --- a/fixtures/agent-context-conformance/rust/expected/.claude/skills/metaobjects-authoring/references/model-first-rationale.md +++ b/fixtures/agent-context-conformance/rust/expected/.claude/skills/metaobjects-authoring/references/model-first-rationale.md @@ -1,14 +1,14 @@ # Why model-first wins -The case behind the operating principle in `SKILL.md`: why declaring the model beats hand-writing a layer, even when the hand-written version is cheaper this once. +The case behind the operating principle in `SKILL.md`: why declaring the model usually beats hand-writing a layer, even when the hand-written version is cheaper this once. The cost test in `SKILL.md` still decides a one-off. ## Contents - Second source of truth - The consistency tax - One change, every layer -**Why model-first wins even when hand-writing is cheaper this once — and it often -is, this once:** +**Why model-first usually wins, even when hand-writing is cheaper this once — and it often +is, this once (the cost test in `SKILL.md` still decides a true one-off):** - **Hand-writing a layer the metadata could own creates a second source of truth for one fact.** A field's type, validation, column, route, and form then change in N places and must stay consistent forever — not drift *risk*, but two sources of diff --git a/fixtures/agent-context-conformance/rust/expected/.claude/skills/metaobjects-codegen/references/principles.md b/fixtures/agent-context-conformance/rust/expected/.claude/skills/metaobjects-codegen/references/principles.md index 3dd57407f1..1ef45c6d86 100644 --- a/fixtures/agent-context-conformance/rust/expected/.claude/skills/metaobjects-codegen/references/principles.md +++ b/fixtures/agent-context-conformance/rust/expected/.claude/skills/metaobjects-codegen/references/principles.md @@ -12,7 +12,7 @@ reasons. Read it when a rule there does not settle the case in front of you. ## Principles - **Adopting onto existing code? Metadata FOLLOWS the code.** On a migration (existing working code / live DB), author metadata + tune codegen to *reproduce* what the code already is — native types (`field.uuid` when the code uses `UUID`, not `field.string`; and the type a JSON column's WRITER declares — `list[str]`, a dataclass, `dict[str, X]` — not an open jsonb bag), names, nullability — so regen changes as little existing code as possible. The only existing code that should change is the hand-written layer codegen replaces; ask when a modeling choice is ambiguous. (Greenfield: model-first, below.) -- Pattern-derivable from metadata = codegen, never hand-write — FKs, CRUD, validators, finders, and the database schema and migrations. The schema is a disposable, generated artifact: change the metadata and regenerate. Don't hand-write divergent SQL; where a stack owns its own migration files, GENERATE them — `meta migrate --migration-format flyway` emits the paired `V__`/`U__` files a Flyway runner expects, and leaves applying them to Flyway. The one exception is a schema this project deliberately owns outside MetaObjects (hand-written migrations by rule, or another team's database): when the root `AGENTS.md` or `CLAUDE.md` says so, follow it, and keep `meta verify --db` catching drift. +- Pattern-derivable from metadata = codegen, never hand-write — FKs, CRUD, validators, finders, and the database schema and migrations. The schema is generated output: change the metadata and regenerate. Don't hand-write divergent SQL; where a stack owns its own migration files, GENERATE them — `meta migrate --migration-format flyway` emits the paired `V__`/`U__` files a Flyway runner expects, and leaves applying them to Flyway. The one exception is a schema this project deliberately owns outside MetaObjects (hand-written migrations by rule, or another team's database): when the root `AGENTS.md` or `CLAUDE.md` says so, follow it, and keep `meta verify --db` catching drift. - **Once this project declares any `template.prompt`, every LLM prompt is one** — the text in the template, the data in a payload value object, rendered by the render engine. A structured reply is read through a response model (`@responseRef` and its generated extractor), never a regex or string search. This covers code that does not look like MetaObjects: a format string, text block, template literal or string builder sent to an LLM, and it covers every module, including test harnesses and scripts. Changing a prompt that is still hand-built means migrating it first (snapshot its current output and keep the rendered text byte-identical), not adding a line to it; the `metaobjects-prompts` skill has the steps. - The **live database** is a derived artifact too — never hand-apply a schema change to a running DB (ad-hoc `psql`/console `ALTER`/`CREATE`/`DROP`), not even to preview a column or unblock a boot. Drive every schema change from the metadata, never ad-hoc: with the reference migration helper that is `meta migrate` (metadata → DDL, ADR-0015); with a native tool (EF Core, Exposed, Alembic, sqlx) it is a migration written from the schema `meta schema` prints; on a **Flyway**-owned JVM stack that is `meta migrate --migration-format flyway`, which emits the migration and deliberately refuses `--apply` because Flyway owns applying it. Hand-authoring a migration to match the generated schema is the LAST resort — for a runner MetaObjects has no writer for — never the default for Flyway. A hand-applied ad-hoc change drifts the live DB from the metadata + migration history and collides at the next migrate/boot ("column already exists") — a state no migration can reproduce. Run `meta verify --db ` after any DB-touching work to catch that drift early — the URL is required, and the bare form exits 2. - **If this project declares `requirement.*` nodes, a commit that adds, changes or removes behaviour updates them in the same commit** (the claim, its `@status` and `@implementedBy`), or says in the commit message why not. `meta verify` checks that the links resolve, not that the ledger is current. diff --git a/fixtures/agent-context-conformance/rust/expected/.metaobjects/AGENTS.md b/fixtures/agent-context-conformance/rust/expected/.metaobjects/AGENTS.md index 74d91dc47c..1a30c84b6c 100644 --- a/fixtures/agent-context-conformance/rust/expected/.metaobjects/AGENTS.md +++ b/fixtures/agent-context-conformance/rust/expected/.metaobjects/AGENTS.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/fixtures/agent-context-conformance/ts-react-tanstack/expected/.claude/skills/metaobjects-audit/references/surface-review-axes.md b/fixtures/agent-context-conformance/ts-react-tanstack/expected/.claude/skills/metaobjects-audit/references/surface-review-axes.md index 3a27812195..69ea3be843 100644 --- a/fixtures/agent-context-conformance/ts-react-tanstack/expected/.claude/skills/metaobjects-audit/references/surface-review-axes.md +++ b/fixtures/agent-context-conformance/ts-react-tanstack/expected/.claude/skills/metaobjects-audit/references/surface-review-axes.md @@ -125,7 +125,7 @@ The full hunt for each axis of Phase 1b (Partial / Deep path). Each axis runs in (Node `meta` only) for DB drift. Flag a gate that is WIRED BUT INCOMPLETE for the artifacts present, and recommend the specific missing coverage. - [ ] **F2. Over-generation — unnecessary generated files (codegen WASTE).** - Generated code is disposable, but that is NOT license to generate what nothing + Generated code is regenerated output, but that is NOT license to generate what nothing consumes. Every generated file is a merge/review/maintenance surface and inflates the leverage ratio falsely. Hunt OVER-generation (the inverse of A/B's under-generation): diff --git a/fixtures/agent-context-conformance/ts-react-tanstack/expected/.claude/skills/metaobjects-authoring/SKILL.md b/fixtures/agent-context-conformance/ts-react-tanstack/expected/.claude/skills/metaobjects-authoring/SKILL.md index af0fcf1b1a..211102dfdf 100644 --- a/fixtures/agent-context-conformance/ts-react-tanstack/expected/.claude/skills/metaobjects-authoring/SKILL.md +++ b/fixtures/agent-context-conformance/ts-react-tanstack/expected/.claude/skills/metaobjects-authoring/SKILL.md @@ -13,7 +13,9 @@ emits code in each language from it, and the drift gates check everything agains - **Declare it; do not hand-write it.** Persistence, data access, validation, APIs and UI scaffolding are derived from metadata. When you reach for a hand-written query, route, validator, relationship or aggregate, that is usually metadata nobody has declared yet: - look for the construct first (`meta types `). + look for the construct first (`meta types `). Declare it when the cost test favours + it: smaller declared than hand-written, more than one instance, or drift protection a + hand-write cannot give. A one-off with none of these can stay hand-written. - **Adoption reverses the direction.** When working code or a populated schema already exists, it is the specification and the metadata reproduces it: its names, types and nullability. Read `references/adopting-existing-code.md` before modeling anything. @@ -77,18 +79,21 @@ When you are about to hand-write something data-shaped, find the model for it: search by behavior; there are subtypes, origins, identities and attributes you may not know exist. `--detail` shows one construct's valid `@attrs`; `--format json` gives every match with each attr's `allowedValues`, so you read the accepted values, not guess them. -3. **Declare it, generate, and consume the generated query, type or route.** Do not - reimplement it alongside. +3. **Declare it, generate, and consume the generated query, type or route.** Once declared, + do not reimplement it alongside. 4. **If the model is right and the generated output is wrong, change your generator.** Naming, file layout, imports, framework and signatures are generator concerns. The generators are in your repo and yours to edit; a rule against changing MetaObjects itself does not reach them (`metaobjects-codegen`, "When generated output does not fit"). 5. **Hand-write only what no construct can express**, wired to the generated types: business algorithms, external integrations, bespoke interactions. CRUD, validation, finders, - relationships and derived or aggregate data are not in that group. + relationships and derived or aggregate data are not in that group, unless the cost test + below says a one-off can stay hand-written. -If the metadata could describe it, declaring it is the right call even when a one-off -hand-write would be faster today (`references/model-first-rationale.md`). +If the metadata could describe it, declare it when the cost test favours it: the shape +is smaller declared than hand-written, it will have more than one instance, or declaring it +buys drift protection a hand-write cannot. A one-off with none of these can stay hand-written +(`references/model-first-rationale.md`). ## Adopting onto an existing codebase: metadata follows the code diff --git a/fixtures/agent-context-conformance/ts-react-tanstack/expected/.claude/skills/metaobjects-authoring/references/model-first-rationale.md b/fixtures/agent-context-conformance/ts-react-tanstack/expected/.claude/skills/metaobjects-authoring/references/model-first-rationale.md index 7937be392c..bd51b49102 100644 --- a/fixtures/agent-context-conformance/ts-react-tanstack/expected/.claude/skills/metaobjects-authoring/references/model-first-rationale.md +++ b/fixtures/agent-context-conformance/ts-react-tanstack/expected/.claude/skills/metaobjects-authoring/references/model-first-rationale.md @@ -1,14 +1,14 @@ # Why model-first wins -The case behind the operating principle in `SKILL.md`: why declaring the model beats hand-writing a layer, even when the hand-written version is cheaper this once. +The case behind the operating principle in `SKILL.md`: why declaring the model usually beats hand-writing a layer, even when the hand-written version is cheaper this once. The cost test in `SKILL.md` still decides a one-off. ## Contents - Second source of truth - The consistency tax - One change, every layer -**Why model-first wins even when hand-writing is cheaper this once — and it often -is, this once:** +**Why model-first usually wins, even when hand-writing is cheaper this once — and it often +is, this once (the cost test in `SKILL.md` still decides a true one-off):** - **Hand-writing a layer the metadata could own creates a second source of truth for one fact.** A field's type, validation, column, route, and form then change in N places and must stay consistent forever — not drift *risk*, but two sources of diff --git a/fixtures/agent-context-conformance/ts-react-tanstack/expected/.claude/skills/metaobjects-codegen/references/principles.md b/fixtures/agent-context-conformance/ts-react-tanstack/expected/.claude/skills/metaobjects-codegen/references/principles.md index 3dd57407f1..1ef45c6d86 100644 --- a/fixtures/agent-context-conformance/ts-react-tanstack/expected/.claude/skills/metaobjects-codegen/references/principles.md +++ b/fixtures/agent-context-conformance/ts-react-tanstack/expected/.claude/skills/metaobjects-codegen/references/principles.md @@ -12,7 +12,7 @@ reasons. Read it when a rule there does not settle the case in front of you. ## Principles - **Adopting onto existing code? Metadata FOLLOWS the code.** On a migration (existing working code / live DB), author metadata + tune codegen to *reproduce* what the code already is — native types (`field.uuid` when the code uses `UUID`, not `field.string`; and the type a JSON column's WRITER declares — `list[str]`, a dataclass, `dict[str, X]` — not an open jsonb bag), names, nullability — so regen changes as little existing code as possible. The only existing code that should change is the hand-written layer codegen replaces; ask when a modeling choice is ambiguous. (Greenfield: model-first, below.) -- Pattern-derivable from metadata = codegen, never hand-write — FKs, CRUD, validators, finders, and the database schema and migrations. The schema is a disposable, generated artifact: change the metadata and regenerate. Don't hand-write divergent SQL; where a stack owns its own migration files, GENERATE them — `meta migrate --migration-format flyway` emits the paired `V__`/`U__` files a Flyway runner expects, and leaves applying them to Flyway. The one exception is a schema this project deliberately owns outside MetaObjects (hand-written migrations by rule, or another team's database): when the root `AGENTS.md` or `CLAUDE.md` says so, follow it, and keep `meta verify --db` catching drift. +- Pattern-derivable from metadata = codegen, never hand-write — FKs, CRUD, validators, finders, and the database schema and migrations. The schema is generated output: change the metadata and regenerate. Don't hand-write divergent SQL; where a stack owns its own migration files, GENERATE them — `meta migrate --migration-format flyway` emits the paired `V__`/`U__` files a Flyway runner expects, and leaves applying them to Flyway. The one exception is a schema this project deliberately owns outside MetaObjects (hand-written migrations by rule, or another team's database): when the root `AGENTS.md` or `CLAUDE.md` says so, follow it, and keep `meta verify --db` catching drift. - **Once this project declares any `template.prompt`, every LLM prompt is one** — the text in the template, the data in a payload value object, rendered by the render engine. A structured reply is read through a response model (`@responseRef` and its generated extractor), never a regex or string search. This covers code that does not look like MetaObjects: a format string, text block, template literal or string builder sent to an LLM, and it covers every module, including test harnesses and scripts. Changing a prompt that is still hand-built means migrating it first (snapshot its current output and keep the rendered text byte-identical), not adding a line to it; the `metaobjects-prompts` skill has the steps. - The **live database** is a derived artifact too — never hand-apply a schema change to a running DB (ad-hoc `psql`/console `ALTER`/`CREATE`/`DROP`), not even to preview a column or unblock a boot. Drive every schema change from the metadata, never ad-hoc: with the reference migration helper that is `meta migrate` (metadata → DDL, ADR-0015); with a native tool (EF Core, Exposed, Alembic, sqlx) it is a migration written from the schema `meta schema` prints; on a **Flyway**-owned JVM stack that is `meta migrate --migration-format flyway`, which emits the migration and deliberately refuses `--apply` because Flyway owns applying it. Hand-authoring a migration to match the generated schema is the LAST resort — for a runner MetaObjects has no writer for — never the default for Flyway. A hand-applied ad-hoc change drifts the live DB from the metadata + migration history and collides at the next migrate/boot ("column already exists") — a state no migration can reproduce. Run `meta verify --db ` after any DB-touching work to catch that drift early — the URL is required, and the bare form exits 2. - **If this project declares `requirement.*` nodes, a commit that adds, changes or removes behaviour updates them in the same commit** (the claim, its `@status` and `@implementedBy`), or says in the commit message why not. `meta verify` checks that the links resolve, not that the ledger is current. diff --git a/fixtures/agent-context-conformance/ts-react-tanstack/expected/.metaobjects/AGENTS.md b/fixtures/agent-context-conformance/ts-react-tanstack/expected/.metaobjects/AGENTS.md index e3f60cbc7c..8beb06b5bb 100644 --- a/fixtures/agent-context-conformance/ts-react-tanstack/expected/.metaobjects/AGENTS.md +++ b/fixtures/agent-context-conformance/ts-react-tanstack/expected/.metaobjects/AGENTS.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/csharp/MetaObjects.Cli/MetaObjects.Cli.csproj b/server/csharp/MetaObjects.Cli/MetaObjects.Cli.csproj index 54f464e1e3..0a367f7f06 100644 --- a/server/csharp/MetaObjects.Cli/MetaObjects.Cli.csproj +++ b/server/csharp/MetaObjects.Cli/MetaObjects.Cli.csproj @@ -14,7 +14,7 @@ dotnet-meta MetaObjects.Cli MetaObjects CLI (dotnet meta) - The MetaObjects .NET command-line tool, installed as `dotnet meta`. Runs C# code generation (`gen`), codegen-drift verification (`verify`), and agent-context docs (`agent-docs`) from typed metadata. Schema migrations are owned by the Node `meta` CLI (ADR-0015). + The MetaObjects .NET command-line tool, installed as `dotnet meta`. Runs C# code generation (`gen`), codegen-drift verification (`verify`), and agent-context docs (`agent-docs`) from typed metadata. Schema migrations run in EF Core Migrations or the Node `meta` reference helper (ADR-0015). metaobjects;dotnet-tool;codegen;cli;metadata diff --git a/server/csharp/MetaObjects.Cli/Program.cs b/server/csharp/MetaObjects.Cli/Program.cs index 77a619daea..83c49575cd 100644 --- a/server/csharp/MetaObjects.Cli/Program.cs +++ b/server/csharp/MetaObjects.Cli/Program.cs @@ -3,7 +3,7 @@ // codegen) and `verify` (the FR-004 build-time prompt drift gate). It is NOT a bare // `meta` executable — that name belongs to the canonical Node `meta` CLI. // -// Schema migrations are owned by the TypeScript `meta` CLI (ADR-0015): the C# CLI +// Schema migrations run in EF Core Migrations or the Node `meta` reference helper (ADR-0015): the C# CLI // keeps codegen + verify only. There is no `migrate` / `--from-db` surface here. using MetaObjects.Cli; diff --git a/server/java/README.md b/server/java/README.md index 61de92e24c..0ff76c2649 100644 --- a/server/java/README.md +++ b/server/java/README.md @@ -13,7 +13,7 @@ guarantee. The generators are reference helpers: copy one into your build with `mvn metaobjects:eject` and own it ([Own your codegen → Java and Kotlin](../../docs/features/own-your-codegen.md#java-and-kotlin-mvn-metaobjectseject)). - **Codegen** *(reference generators)* — Spring REST + DTO + repository-interface emit (you supply the impl) (`codegen-spring`) and a Kotlin emit pipeline on KotlinPoet (`codegen-kotlin`), both ejectable; PlantUML diagrams (`codegen-plantuml`), ejectable; and the deprecated Mustache template engine (`codegen-mustache`), which is not ejectable and will not be. Output is hand-edit-preserving via three-way merge. -- **Runtime metadata** — OMDB persistence layer over modernized JDBC with Spring-`@Transactional` integration. FR-003 fully shipped: binding registry, typed jsonb codec, source/origin metamodel, atomic mapping cache + JDBC codec registry + `inTransaction` template (Plan 4). Schema migrations are owned by the TypeScript toolchain (`@metaobjectsdev/cli migrate`); the `metaobjects:migrate` Maven goal was removed. Per the schema-authority consolidation the dev/test runtime auto-create path and `MetaClassDBValidatorService` were also removed — OMDB is now pure data-access (CRUD/query/codec/transactions only). +- **Runtime metadata** — OMDB persistence layer over modernized JDBC with Spring-`@Transactional` integration. FR-003 fully shipped: binding registry, typed jsonb codec, source/origin metamodel, atomic mapping cache + JDBC codec registry + `inTransaction` template (Plan 4). Schema migrations run in your own tool or the reference migration helper (`meta migrate`, `meta verify --db`), one option; a native tool is equally good; the `metaobjects:migrate` Maven goal was removed. Per the schema-authority consolidation the dev/test runtime auto-create path and `MetaClassDBValidatorService` were also removed — OMDB is now pure data-access (CRUD/query/codec/transactions only). - **Drift detection** — Template-drift: `Renderer.verify` checks `{{...}}` references against the payload VO at build time. The live-DB-schema mode of `metaobjects:verify` was removed; the goal now covers codegen drift (`mode=codegen`, the default) and template/prompt drift (`mode=templates`). - **Prompt construction** — `metaobjects-render` (Mustache + payload-VO + verify), FR-006 `template.output` parser-on-receipt codegen, render output byte-identical with the other four ports against the shared render-conformance corpus. @@ -71,7 +71,7 @@ Spring REST stack (repository interface is consumer-implemented): ``` -Maven plugin for `metaobjects:generate` / `metaobjects:verify` / `metaobjects:editor` (schema migrations and live-DB schema-drift verification are managed by the TypeScript toolchain — `@metaobjectsdev/cli migrate`; prompt/template drift is checked via the `metaobjects-render` `Verify` API): +Maven plugin for `metaobjects:generate` / `metaobjects:verify` / `metaobjects:editor` (schema migrations and live-DB schema-drift verification are the reference migration helper's (`@metaobjectsdev/cli migrate`, `meta verify --db`), one option, and a native tool is equally good; prompt/template drift is checked via the `metaobjects-render` `Verify` API): ```xml diff --git a/server/java/codegen-kotlin/README.md b/server/java/codegen-kotlin/README.md index 9b3e3d8bf3..03ca596ee2 100644 --- a/server/java/codegen-kotlin/README.md +++ b/server/java/codegen-kotlin/README.md @@ -174,15 +174,16 @@ No hand-written Exposed wiring needed. | Code-vs-DB | Codegen (`KotlinEntityGenerator` + `KotlinExposedTableGenerator`) | Build time | | Generated-code-vs-metadata (codegen drift) | `meta:verify` goal (regenerate-to-temp + compare) | Build time / CI | | Code-vs-API-doc | Cross-port codegen from same metadata | Build time | -| DB-vs-metadata, Migration-vs-metadata | TypeScript toolchain (`@metaobjectsdev/cli migrate`) — schema migrations and live-DB schema-drift verification are TS-only | Build time / CI | +| DB-vs-metadata, Migration-vs-metadata | The reference migration helper (`@metaobjectsdev/cli migrate`, `meta verify --db`), one option; a native migration tool is equally good | Build time / CI | | Generated-edited | Hash manifest: an edited file is refused by name; `mvn metaobjects:verify` reports it | Build time | | Prompt-vs-payload | `KotlinRenderHelperGenerator`'s build-time drift gate + Java `Renderer.verify` | Build time + runtime | | Generated-vs-runtime | `MetadataStartupValidator.validate(loader)` from Spring `ApplicationReadyEvent` | App startup | ## Schema migrations -Schema migrations (and live-DB schema-drift verification) are owned by the -TypeScript toolchain (`@metaobjectsdev/cli migrate`). The JVM-side Maven plugin's +Schema migrations (and live-DB schema-drift verification) run in your own tool or the +reference migration helper (`@metaobjectsdev/cli migrate`, `meta verify --db`), one option; +a native tool is equally good. The JVM-side Maven plugin's `meta:migrate` and the old live-DB-drift `meta:verify` goals were removed along with the Java diff-and-converge engine. The Maven plugin ships `meta:gen` / `meta:editor` plus a `meta:verify` goal that is **codegen drift only** (regenerate-to-temp + diff --git a/server/python/README.md b/server/python/README.md index e000ee32d3..e99b5f49b9 100644 --- a/server/python/README.md +++ b/server/python/README.md @@ -3,7 +3,7 @@ The Python port of the [MetaObjects](https://metaobjects.dev) cross-language metadata standard: declare your typed entity model once, then generate idiomatic, drift-checked code across TypeScript, Java, C#, Python, and Kotlin. The metamodel is the durable spine; -generated code is the disposable artifact. +generated code is regenerated output. The reference generators help a team get started and are never the required way. What they generate is real code: run it, extend it, or replace the generator. Behavior is verified byte-for-byte against the same shared conformance corpora as every other language port. diff --git a/server/python/src/metaobjects/agent_context/shipped/files/16283aaffb2211da.md b/server/python/src/metaobjects/agent_context/shipped/files/003d471c39227bb7.md similarity index 96% rename from server/python/src/metaobjects/agent_context/shipped/files/16283aaffb2211da.md rename to server/python/src/metaobjects/agent_context/shipped/files/003d471c39227bb7.md index f3344a642c..864378d161 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/16283aaffb2211da.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/003d471c39227bb7.md @@ -53,8 +53,8 @@ run the Node `meta deps check` for those). A project that publishes a model wire `shared-model` generator; `verify --codegen` drift-gates its output. Kotlin generators run through the **same Maven plugin goal** as Java generators — -both are SPI-discovered by the `metaobjects-maven-plugin`. Schema migration + live-DB -drift run through the **Node `meta` CLI** regardless of server language — see the +both are SPI-discovered by the `metaobjects-maven-plugin`. Schema migration is your own tool or the Node `meta migrate` +reference helper; live-DB drift is the Node `meta verify --db` whichever tool built the schema — see the migration reference. The active generator list is declared in `pom.xml` under the plugin `` @@ -169,5 +169,5 @@ cross-port versioning — **do not flag it** (only intra-port skew matters). richer list surface (`?search=`, `filter[or][N]` / `filter[and][N]` combinators, leading-wildcard gating; ADR-0068) passes in TypeScript and C#, and is pending in Kotlin until the Kotlin port's 1.3.0 REST-standard work lands — do NOT flag its absence in Kotlin until then. -- **No JVM migrate goal.** Schema migration is Node-`meta`-owned for every port - (ADR-0015). The Maven plugin has no migrate goal; `meta migrate` is correct. +- **No JVM migrate goal.** Schema migration is your own tool or the Node `meta migrate` + reference helper (ADR-0015 Amendment 2). The Maven plugin has no migrate goal; `meta migrate` is correct. diff --git a/server/python/src/metaobjects/agent_context/shipped/files/557ddbd9e39fedee.md b/server/python/src/metaobjects/agent_context/shipped/files/0121296a2cb80b43.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/557ddbd9e39fedee.md rename to server/python/src/metaobjects/agent_context/shipped/files/0121296a2cb80b43.md index 74d91dc47c..1a30c84b6c 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/557ddbd9e39fedee.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/0121296a2cb80b43.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/44aa33bca4481d4f.md b/server/python/src/metaobjects/agent_context/shipped/files/10fd5004cdff1b02.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/44aa33bca4481d4f.md rename to server/python/src/metaobjects/agent_context/shipped/files/10fd5004cdff1b02.md index 8d967894cf..7a153cc807 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/44aa33bca4481d4f.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/10fd5004cdff1b02.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/7da735f95a83e999.md b/server/python/src/metaobjects/agent_context/shipped/files/12851cf06a512e01.md similarity index 99% rename from agent-context-shipped/files/7da735f95a83e999.md rename to server/python/src/metaobjects/agent_context/shipped/files/12851cf06a512e01.md index a3d7821cab..1d0e8c9445 100644 --- a/agent-context-shipped/files/7da735f95a83e999.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/12851cf06a512e01.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/a68921b058ab1f45.md b/server/python/src/metaobjects/agent_context/shipped/files/1813baf4e1ff00dc.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/a68921b058ab1f45.md rename to server/python/src/metaobjects/agent_context/shipped/files/1813baf4e1ff00dc.md index 1bc6bc1398..086412a5ce 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/a68921b058ab1f45.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/1813baf4e1ff00dc.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/982392d0add1d55d.md b/server/python/src/metaobjects/agent_context/shipped/files/1d61842e76db07d7.md similarity index 99% rename from agent-context-shipped/files/982392d0add1d55d.md rename to server/python/src/metaobjects/agent_context/shipped/files/1d61842e76db07d7.md index d217b35ded..861bb20368 100644 --- a/agent-context-shipped/files/982392d0add1d55d.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/1d61842e76db07d7.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/376be0fb35457e76.md b/server/python/src/metaobjects/agent_context/shipped/files/2a850663b29e895c.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/376be0fb35457e76.md rename to server/python/src/metaobjects/agent_context/shipped/files/2a850663b29e895c.md index 0676e7596d..c3b4972bbb 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/376be0fb35457e76.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/2a850663b29e895c.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/20c9a37c3bdaad24.md b/server/python/src/metaobjects/agent_context/shipped/files/2b4a4bfa31529de3.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/20c9a37c3bdaad24.md rename to server/python/src/metaobjects/agent_context/shipped/files/2b4a4bfa31529de3.md index 79bbbf8193..b8cefeb5a2 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/20c9a37c3bdaad24.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/2b4a4bfa31529de3.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/95e08a485e88c515.md b/server/python/src/metaobjects/agent_context/shipped/files/3351fb1999f7cddc.md similarity index 99% rename from agent-context-shipped/files/95e08a485e88c515.md rename to server/python/src/metaobjects/agent_context/shipped/files/3351fb1999f7cddc.md index 27903df9e9..99f8e727e0 100644 --- a/agent-context-shipped/files/95e08a485e88c515.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/3351fb1999f7cddc.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/1ff8fe71a4ec5b60.md b/server/python/src/metaobjects/agent_context/shipped/files/3432eab50de7a0b4.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/1ff8fe71a4ec5b60.md rename to server/python/src/metaobjects/agent_context/shipped/files/3432eab50de7a0b4.md index 3a27812195..69ea3be843 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/1ff8fe71a4ec5b60.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/3432eab50de7a0b4.md @@ -125,7 +125,7 @@ The full hunt for each axis of Phase 1b (Partial / Deep path). Each axis runs in (Node `meta` only) for DB drift. Flag a gate that is WIRED BUT INCOMPLETE for the artifacts present, and recommend the specific missing coverage. - [ ] **F2. Over-generation — unnecessary generated files (codegen WASTE).** - Generated code is disposable, but that is NOT license to generate what nothing + Generated code is regenerated output, but that is NOT license to generate what nothing consumes. Every generated file is a merge/review/maintenance surface and inflates the leverage ratio falsely. Hunt OVER-generation (the inverse of A/B's under-generation): diff --git a/server/python/src/metaobjects/agent_context/shipped/files/ea613a5701fa6856.md b/server/python/src/metaobjects/agent_context/shipped/files/3708591f7234348e.md similarity index 95% rename from server/python/src/metaobjects/agent_context/shipped/files/ea613a5701fa6856.md rename to server/python/src/metaobjects/agent_context/shipped/files/3708591f7234348e.md index 8a296b7928..086255b208 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/ea613a5701fa6856.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/3708591f7234348e.md @@ -48,8 +48,8 @@ dependency against `.metaobjects/deps.lock.json` and fails with `ERR_DEPENDENCY_ run the Node `meta deps check` for those). A project that publishes a model wires the `shared-model` generator; `verify --codegen` drift-gates its output. -Schema migration + live-DB drift run through the **Node `meta` CLI** regardless of -server language — see the migration reference. `mvn metaobjects:verify -Dmeta.verify.mode=db` +Schema migration is your own tool or the Node `meta migrate` reference helper; live-DB drift is the Node `meta verify --db` +whichever tool built the schema — see the migration reference. `mvn metaobjects:verify -Dmeta.verify.mode=db` is rejected (exit 2). The generator list and the `` are both declared in `pom.xml` under the @@ -165,5 +165,5 @@ versioning — **do not flag it** (only intra-port skew matters). emits `Repository.java` as a stub `interface`; the consumer hand-writes the implementation against OMDB (or any persistence layer). Hand-written repository implementations that match the generated interface exactly are expected. -- **No Java migrate goal.** Schema migration is Node-`meta`-owned for every port - (ADR-0015). The Maven plugin has no migrate goal; `meta migrate` is correct. +- **No Java migrate goal.** Schema migration is your own tool or the Node `meta migrate` + reference helper (ADR-0015 Amendment 2). The Maven plugin has no migrate goal; `meta migrate` is correct. diff --git a/agent-context-shipped/files/664bedbda610df2d.md b/server/python/src/metaobjects/agent_context/shipped/files/3d1bb461b13fe925.md similarity index 99% rename from agent-context-shipped/files/664bedbda610df2d.md rename to server/python/src/metaobjects/agent_context/shipped/files/3d1bb461b13fe925.md index 8dd282df79..0eb226208c 100644 --- a/agent-context-shipped/files/664bedbda610df2d.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/3d1bb461b13fe925.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/6d95359b28f5e97f.md b/server/python/src/metaobjects/agent_context/shipped/files/4bf396aa4831d3b0.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/6d95359b28f5e97f.md rename to server/python/src/metaobjects/agent_context/shipped/files/4bf396aa4831d3b0.md index abef60c641..f0e4c48037 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/6d95359b28f5e97f.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/4bf396aa4831d3b0.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/7e11a784ff35b41e.md b/server/python/src/metaobjects/agent_context/shipped/files/5b145f489f23b1c7.md similarity index 99% rename from agent-context-shipped/files/7e11a784ff35b41e.md rename to server/python/src/metaobjects/agent_context/shipped/files/5b145f489f23b1c7.md index 73c6b1e879..bd68e7535d 100644 --- a/agent-context-shipped/files/7e11a784ff35b41e.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/5b145f489f23b1c7.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/56f1dbfb90d775e9.md b/server/python/src/metaobjects/agent_context/shipped/files/64726b55218b2d12.md similarity index 99% rename from agent-context-shipped/files/56f1dbfb90d775e9.md rename to server/python/src/metaobjects/agent_context/shipped/files/64726b55218b2d12.md index a2764c2657..2fcdf0cc08 100644 --- a/agent-context-shipped/files/56f1dbfb90d775e9.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/64726b55218b2d12.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/594ad24674edaa43.md b/server/python/src/metaobjects/agent_context/shipped/files/68aea133c93dc3c6.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/594ad24674edaa43.md rename to server/python/src/metaobjects/agent_context/shipped/files/68aea133c93dc3c6.md index 62edfa65b8..749da5d121 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/594ad24674edaa43.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/68aea133c93dc3c6.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/6133b301bb57ad31.md b/server/python/src/metaobjects/agent_context/shipped/files/69c1ae480ae7dd7c.md similarity index 99% rename from agent-context-shipped/files/6133b301bb57ad31.md rename to server/python/src/metaobjects/agent_context/shipped/files/69c1ae480ae7dd7c.md index e3c654d7a8..22266d26e1 100644 --- a/agent-context-shipped/files/6133b301bb57ad31.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/69c1ae480ae7dd7c.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/d9481a95a71e264b.md b/server/python/src/metaobjects/agent_context/shipped/files/6c632f2dcebb53ea.md similarity index 99% rename from agent-context-shipped/files/d9481a95a71e264b.md rename to server/python/src/metaobjects/agent_context/shipped/files/6c632f2dcebb53ea.md index 30323bd2ba..411af6cf0b 100644 --- a/agent-context-shipped/files/d9481a95a71e264b.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/6c632f2dcebb53ea.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/fbff06c2d406d3a2.md b/server/python/src/metaobjects/agent_context/shipped/files/6eaaf67c049daead.md similarity index 99% rename from agent-context-shipped/files/fbff06c2d406d3a2.md rename to server/python/src/metaobjects/agent_context/shipped/files/6eaaf67c049daead.md index dc4a860a8f..92f49d5fa4 100644 --- a/agent-context-shipped/files/fbff06c2d406d3a2.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/6eaaf67c049daead.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/b17e87ac7a811af4.md b/server/python/src/metaobjects/agent_context/shipped/files/77b583899dabdd55.md similarity index 99% rename from agent-context-shipped/files/b17e87ac7a811af4.md rename to server/python/src/metaobjects/agent_context/shipped/files/77b583899dabdd55.md index 96fb7c733b..c88540376f 100644 --- a/agent-context-shipped/files/b17e87ac7a811af4.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/77b583899dabdd55.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/322f06c12f7ee27f.md b/server/python/src/metaobjects/agent_context/shipped/files/7cb243bcfd1823db.md similarity index 99% rename from agent-context-shipped/files/322f06c12f7ee27f.md rename to server/python/src/metaobjects/agent_context/shipped/files/7cb243bcfd1823db.md index c0fd16587a..762bb44265 100644 --- a/agent-context-shipped/files/322f06c12f7ee27f.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/7cb243bcfd1823db.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/52c98783542efd36.md b/server/python/src/metaobjects/agent_context/shipped/files/7d185435e40d7e2d.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/52c98783542efd36.md rename to server/python/src/metaobjects/agent_context/shipped/files/7d185435e40d7e2d.md index e7ada6a8f0..8760b720b6 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/52c98783542efd36.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/7d185435e40d7e2d.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/b2039ab0e4f7a4c8.md b/server/python/src/metaobjects/agent_context/shipped/files/7d6c30e9d03b88b9.md similarity index 99% rename from agent-context-shipped/files/b2039ab0e4f7a4c8.md rename to server/python/src/metaobjects/agent_context/shipped/files/7d6c30e9d03b88b9.md index 807da5af5d..74c3edc882 100644 --- a/agent-context-shipped/files/b2039ab0e4f7a4c8.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/7d6c30e9d03b88b9.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/1776bb6dbc87af6c.md b/server/python/src/metaobjects/agent_context/shipped/files/7da357a168d3819a.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/1776bb6dbc87af6c.md rename to server/python/src/metaobjects/agent_context/shipped/files/7da357a168d3819a.md index 84db9fe745..63b6c909bc 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/1776bb6dbc87af6c.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/7da357a168d3819a.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/6d86eb5997450a34.md b/server/python/src/metaobjects/agent_context/shipped/files/80645315e02097b7.md similarity index 99% rename from agent-context-shipped/files/6d86eb5997450a34.md rename to server/python/src/metaobjects/agent_context/shipped/files/80645315e02097b7.md index 49fb76b47b..668346431d 100644 --- a/agent-context-shipped/files/6d86eb5997450a34.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/80645315e02097b7.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/fda1a58ac1585828.md b/server/python/src/metaobjects/agent_context/shipped/files/841b63fab8f3ace4.md similarity index 74% rename from server/python/src/metaobjects/agent_context/shipped/files/fda1a58ac1585828.md rename to server/python/src/metaobjects/agent_context/shipped/files/841b63fab8f3ace4.md index 7937be392c..bd51b49102 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/fda1a58ac1585828.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/841b63fab8f3ace4.md @@ -1,14 +1,14 @@ # Why model-first wins -The case behind the operating principle in `SKILL.md`: why declaring the model beats hand-writing a layer, even when the hand-written version is cheaper this once. +The case behind the operating principle in `SKILL.md`: why declaring the model usually beats hand-writing a layer, even when the hand-written version is cheaper this once. The cost test in `SKILL.md` still decides a one-off. ## Contents - Second source of truth - The consistency tax - One change, every layer -**Why model-first wins even when hand-writing is cheaper this once — and it often -is, this once:** +**Why model-first usually wins, even when hand-writing is cheaper this once — and it often +is, this once (the cost test in `SKILL.md` still decides a true one-off):** - **Hand-writing a layer the metadata could own creates a second source of truth for one fact.** A field's type, validation, column, route, and form then change in N places and must stay consistent forever — not drift *risk*, but two sources of diff --git a/server/python/src/metaobjects/agent_context/shipped/files/9d8b243f6f1b2dfa.md b/server/python/src/metaobjects/agent_context/shipped/files/842f73c0d880bcce.md similarity index 95% rename from server/python/src/metaobjects/agent_context/shipped/files/9d8b243f6f1b2dfa.md rename to server/python/src/metaobjects/agent_context/shipped/files/842f73c0d880bcce.md index 3dd57407f1..1ef45c6d86 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/9d8b243f6f1b2dfa.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/842f73c0d880bcce.md @@ -12,7 +12,7 @@ reasons. Read it when a rule there does not settle the case in front of you. ## Principles - **Adopting onto existing code? Metadata FOLLOWS the code.** On a migration (existing working code / live DB), author metadata + tune codegen to *reproduce* what the code already is — native types (`field.uuid` when the code uses `UUID`, not `field.string`; and the type a JSON column's WRITER declares — `list[str]`, a dataclass, `dict[str, X]` — not an open jsonb bag), names, nullability — so regen changes as little existing code as possible. The only existing code that should change is the hand-written layer codegen replaces; ask when a modeling choice is ambiguous. (Greenfield: model-first, below.) -- Pattern-derivable from metadata = codegen, never hand-write — FKs, CRUD, validators, finders, and the database schema and migrations. The schema is a disposable, generated artifact: change the metadata and regenerate. Don't hand-write divergent SQL; where a stack owns its own migration files, GENERATE them — `meta migrate --migration-format flyway` emits the paired `V__`/`U__` files a Flyway runner expects, and leaves applying them to Flyway. The one exception is a schema this project deliberately owns outside MetaObjects (hand-written migrations by rule, or another team's database): when the root `AGENTS.md` or `CLAUDE.md` says so, follow it, and keep `meta verify --db` catching drift. +- Pattern-derivable from metadata = codegen, never hand-write — FKs, CRUD, validators, finders, and the database schema and migrations. The schema is generated output: change the metadata and regenerate. Don't hand-write divergent SQL; where a stack owns its own migration files, GENERATE them — `meta migrate --migration-format flyway` emits the paired `V__`/`U__` files a Flyway runner expects, and leaves applying them to Flyway. The one exception is a schema this project deliberately owns outside MetaObjects (hand-written migrations by rule, or another team's database): when the root `AGENTS.md` or `CLAUDE.md` says so, follow it, and keep `meta verify --db` catching drift. - **Once this project declares any `template.prompt`, every LLM prompt is one** — the text in the template, the data in a payload value object, rendered by the render engine. A structured reply is read through a response model (`@responseRef` and its generated extractor), never a regex or string search. This covers code that does not look like MetaObjects: a format string, text block, template literal or string builder sent to an LLM, and it covers every module, including test harnesses and scripts. Changing a prompt that is still hand-built means migrating it first (snapshot its current output and keep the rendered text byte-identical), not adding a line to it; the `metaobjects-prompts` skill has the steps. - The **live database** is a derived artifact too — never hand-apply a schema change to a running DB (ad-hoc `psql`/console `ALTER`/`CREATE`/`DROP`), not even to preview a column or unblock a boot. Drive every schema change from the metadata, never ad-hoc: with the reference migration helper that is `meta migrate` (metadata → DDL, ADR-0015); with a native tool (EF Core, Exposed, Alembic, sqlx) it is a migration written from the schema `meta schema` prints; on a **Flyway**-owned JVM stack that is `meta migrate --migration-format flyway`, which emits the migration and deliberately refuses `--apply` because Flyway owns applying it. Hand-authoring a migration to match the generated schema is the LAST resort — for a runner MetaObjects has no writer for — never the default for Flyway. A hand-applied ad-hoc change drifts the live DB from the metadata + migration history and collides at the next migrate/boot ("column already exists") — a state no migration can reproduce. Run `meta verify --db ` after any DB-touching work to catch that drift early — the URL is required, and the bare form exits 2. - **If this project declares `requirement.*` nodes, a commit that adds, changes or removes behaviour updates them in the same commit** (the claim, its `@status` and `@implementedBy`), or says in the commit message why not. `meta verify` checks that the links resolve, not that the ledger is current. diff --git a/agent-context-shipped/files/56dca5a75ec2b78a.md b/server/python/src/metaobjects/agent_context/shipped/files/8692936865b8ca78.md similarity index 99% rename from agent-context-shipped/files/56dca5a75ec2b78a.md rename to server/python/src/metaobjects/agent_context/shipped/files/8692936865b8ca78.md index 222cb920d1..57a6927b6c 100644 --- a/agent-context-shipped/files/56dca5a75ec2b78a.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/8692936865b8ca78.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/6985ce4c6711d227.md b/server/python/src/metaobjects/agent_context/shipped/files/87b4d71a9905489d.md similarity index 97% rename from agent-context-shipped/files/6985ce4c6711d227.md rename to server/python/src/metaobjects/agent_context/shipped/files/87b4d71a9905489d.md index af0fcf1b1a..211102dfdf 100644 --- a/agent-context-shipped/files/6985ce4c6711d227.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/87b4d71a9905489d.md @@ -13,7 +13,9 @@ emits code in each language from it, and the drift gates check everything agains - **Declare it; do not hand-write it.** Persistence, data access, validation, APIs and UI scaffolding are derived from metadata. When you reach for a hand-written query, route, validator, relationship or aggregate, that is usually metadata nobody has declared yet: - look for the construct first (`meta types `). + look for the construct first (`meta types `). Declare it when the cost test favours + it: smaller declared than hand-written, more than one instance, or drift protection a + hand-write cannot give. A one-off with none of these can stay hand-written. - **Adoption reverses the direction.** When working code or a populated schema already exists, it is the specification and the metadata reproduces it: its names, types and nullability. Read `references/adopting-existing-code.md` before modeling anything. @@ -77,18 +79,21 @@ When you are about to hand-write something data-shaped, find the model for it: search by behavior; there are subtypes, origins, identities and attributes you may not know exist. `--detail` shows one construct's valid `@attrs`; `--format json` gives every match with each attr's `allowedValues`, so you read the accepted values, not guess them. -3. **Declare it, generate, and consume the generated query, type or route.** Do not - reimplement it alongside. +3. **Declare it, generate, and consume the generated query, type or route.** Once declared, + do not reimplement it alongside. 4. **If the model is right and the generated output is wrong, change your generator.** Naming, file layout, imports, framework and signatures are generator concerns. The generators are in your repo and yours to edit; a rule against changing MetaObjects itself does not reach them (`metaobjects-codegen`, "When generated output does not fit"). 5. **Hand-write only what no construct can express**, wired to the generated types: business algorithms, external integrations, bespoke interactions. CRUD, validation, finders, - relationships and derived or aggregate data are not in that group. + relationships and derived or aggregate data are not in that group, unless the cost test + below says a one-off can stay hand-written. -If the metadata could describe it, declaring it is the right call even when a one-off -hand-write would be faster today (`references/model-first-rationale.md`). +If the metadata could describe it, declare it when the cost test favours it: the shape +is smaller declared than hand-written, it will have more than one instance, or declaring it +buys drift protection a hand-write cannot. A one-off with none of these can stay hand-written +(`references/model-first-rationale.md`). ## Adopting onto an existing codebase: metadata follows the code diff --git a/server/python/src/metaobjects/agent_context/shipped/files/da8d67adc0b4f142.md b/server/python/src/metaobjects/agent_context/shipped/files/8d415448458487c1.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/da8d67adc0b4f142.md rename to server/python/src/metaobjects/agent_context/shipped/files/8d415448458487c1.md index 12ad995ded..84f0aaf817 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/da8d67adc0b4f142.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/8d415448458487c1.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/40667661620aa7a7.md b/server/python/src/metaobjects/agent_context/shipped/files/8f920c881b85118b.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/40667661620aa7a7.md rename to server/python/src/metaobjects/agent_context/shipped/files/8f920c881b85118b.md index 828643fb7d..f1d6737c86 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/40667661620aa7a7.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/8f920c881b85118b.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/e517e92152719256.md b/server/python/src/metaobjects/agent_context/shipped/files/92f68d0335098302.md similarity index 99% rename from agent-context-shipped/files/e517e92152719256.md rename to server/python/src/metaobjects/agent_context/shipped/files/92f68d0335098302.md index b9125d95b0..3be1fa083e 100644 --- a/agent-context-shipped/files/e517e92152719256.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/92f68d0335098302.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/8980bf959f40a87b.md b/server/python/src/metaobjects/agent_context/shipped/files/9787437a82bb7e32.md similarity index 99% rename from agent-context-shipped/files/8980bf959f40a87b.md rename to server/python/src/metaobjects/agent_context/shipped/files/9787437a82bb7e32.md index e3f60cbc7c..8beb06b5bb 100644 --- a/agent-context-shipped/files/8980bf959f40a87b.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/9787437a82bb7e32.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/6499cad1c678b210.md b/server/python/src/metaobjects/agent_context/shipped/files/9827ffbab8ae5c2d.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/6499cad1c678b210.md rename to server/python/src/metaobjects/agent_context/shipped/files/9827ffbab8ae5c2d.md index 34a65ba4b3..ade8e3c87a 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/6499cad1c678b210.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/9827ffbab8ae5c2d.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/5631eb3d3a5d2994.md b/server/python/src/metaobjects/agent_context/shipped/files/9b387a8983e116d2.md similarity index 99% rename from agent-context-shipped/files/5631eb3d3a5d2994.md rename to server/python/src/metaobjects/agent_context/shipped/files/9b387a8983e116d2.md index b7f43fc9b9..0cd82e373d 100644 --- a/agent-context-shipped/files/5631eb3d3a5d2994.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/9b387a8983e116d2.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/44817cc439e9d6e7.md b/server/python/src/metaobjects/agent_context/shipped/files/9de55e412aee8057.md similarity index 99% rename from agent-context-shipped/files/44817cc439e9d6e7.md rename to server/python/src/metaobjects/agent_context/shipped/files/9de55e412aee8057.md index 92145695e1..1ce7c6fe47 100644 --- a/agent-context-shipped/files/44817cc439e9d6e7.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/9de55e412aee8057.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/afa650ead85b0ecd.md b/server/python/src/metaobjects/agent_context/shipped/files/9e4438fd935ebc25.md similarity index 99% rename from agent-context-shipped/files/afa650ead85b0ecd.md rename to server/python/src/metaobjects/agent_context/shipped/files/9e4438fd935ebc25.md index 75745fdda1..fad93b86d0 100644 --- a/agent-context-shipped/files/afa650ead85b0ecd.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/9e4438fd935ebc25.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/2156dfce0f68c87a.md b/server/python/src/metaobjects/agent_context/shipped/files/a3cd9779195de55f.md similarity index 99% rename from agent-context-shipped/files/2156dfce0f68c87a.md rename to server/python/src/metaobjects/agent_context/shipped/files/a3cd9779195de55f.md index 73f2e2b3a1..af3a11584f 100644 --- a/agent-context-shipped/files/2156dfce0f68c87a.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/a3cd9779195de55f.md @@ -2,8 +2,8 @@ The C# port targets .NET consumers (EF Core + ASP.NET). Codegen runs through the **`dotnet meta` .NET tool** — there is no Maven plugin and the Node `meta` binary -is **schema-migrations only** on the C# side (ADR-0015): `meta migrate` / -`meta verify --db` are Node-`meta`-owned; everything below is `dotnet meta`. +is the reference **schema-migrations helper** on the C# side (ADR-0015; EF Core Migrations is equally first-class): `meta migrate` / +`meta verify --db` run in the Node `meta` tool; everything below is `dotnet meta`. ## Contents - Install diff --git a/agent-context-shipped/files/5194a576ede00130.md b/server/python/src/metaobjects/agent_context/shipped/files/a3d1bbcd5fc2710a.md similarity index 99% rename from agent-context-shipped/files/5194a576ede00130.md rename to server/python/src/metaobjects/agent_context/shipped/files/a3d1bbcd5fc2710a.md index 31c65676aa..f414c26b3c 100644 --- a/agent-context-shipped/files/5194a576ede00130.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/a3d1bbcd5fc2710a.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/9b35deff36220a85.md b/server/python/src/metaobjects/agent_context/shipped/files/a78ffa7309cd29b2.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/9b35deff36220a85.md rename to server/python/src/metaobjects/agent_context/shipped/files/a78ffa7309cd29b2.md index 883c609df4..55a47cec6a 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/9b35deff36220a85.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/a78ffa7309cd29b2.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/1944176d5ab05889.md b/server/python/src/metaobjects/agent_context/shipped/files/a8d92da9d56dc95d.md similarity index 96% rename from agent-context-shipped/files/1944176d5ab05889.md rename to server/python/src/metaobjects/agent_context/shipped/files/a8d92da9d56dc95d.md index e65deaeade..54983f55a2 100644 --- a/agent-context-shipped/files/1944176d5ab05889.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/a8d92da9d56dc95d.md @@ -53,8 +53,7 @@ With no `metaobjects.config.yaml`, `gen` exits 2 and generates nothing. A target `generators` takes stable generator names: `entity`, `routes`, `filter-allowlist`, `names`, `output-parser`, `extractor`, `output-prompt`, `render-helper`, `trace-helper`, `template`. (There is no `payload` generator since ADR-0056: a template's payload and -response types are the value objects' own `entity` models.) Schema migration + live-DB drift run through the **Node `meta` CLI** -regardless of server language — see the migration reference. +response types are the value objects' own `entity` models.) Schema migration is your own tool or the Node `meta migrate` reference helper; live-DB drift is the Node `meta verify --db` whichever tool built the schema — see the migration reference. --- @@ -167,5 +166,5 @@ another) matters. - **Partial relationship + flattened-object codegen.** Relationship navigation, non-`table` source kinds, and `field.object @storage: flattened` codegen are partially implemented in the Python port. Do NOT flag these gaps as adopter defects. -- **No Python migrate subcommand.** Schema migration is Node-`meta`-owned for every - port (ADR-0015). `metaobjects` has no migrate subcommand; `meta migrate` is correct. +- **No Python migrate subcommand.** Schema migration is your own tool or the Node `meta migrate` + reference helper (ADR-0015 Amendment 2). `metaobjects` has no migrate subcommand; `meta migrate` is correct. diff --git a/server/python/src/metaobjects/agent_context/shipped/files/9965e221bf197a06.md b/server/python/src/metaobjects/agent_context/shipped/files/a978da9641eb06d6.md similarity index 95% rename from server/python/src/metaobjects/agent_context/shipped/files/9965e221bf197a06.md rename to server/python/src/metaobjects/agent_context/shipped/files/a978da9641eb06d6.md index cc2cf9a295..beee7e9340 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/9965e221bf197a06.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/a978da9641eb06d6.md @@ -52,8 +52,7 @@ hashes each `path` dependency against the lock and fails with `ERR_DEPENDENCY_UP run the Node `meta deps check` for those). A project that publishes a model wires the `SharedModelGenerator` in `codegen/Generators.cs`; `verify --codegen` drift-gates its output. -Schema migration + live-DB drift run through the **Node `meta` CLI** regardless of -server language — see the migration reference. `dotnet meta verify --db` is +Schema migration is your own tool or the Node `meta migrate` reference helper; live-DB drift is the Node `meta verify --db` whichever tool built the schema — see the migration reference. `dotnet meta verify --db` is rejected (exit 2). --- @@ -153,8 +152,8 @@ version across these packages is an intra-port skew finding. (the generated `AppDbContext` + generated entity classes) **is** the runtime persistence layer. Hand-written service classes over the generated `AppDbContext` are the expected pattern, not a defect. -- **No C# migrate command.** Schema migration is Node-`meta`-owned for every port - (ADR-0015). `dotnet meta` has no migrate subcommand; `meta migrate` is correct. +- **No C# migrate command.** Schema migration is your own tool or the Node `meta migrate` + reference helper (ADR-0015 Amendment 2). `dotnet meta` has no migrate subcommand; `meta migrate` is correct. - **Core filter-operator codegen ships in C# — do NOT treat it as deferred.** The `routes` generator (`Routes.cs`, Minimal API) generates the `?filter[field][op]=value` grammar (all 9 operators `eq/ne/gt/gte/lt/lte/in/like/isNull`) via the runtime `ListQueryParser` + diff --git a/agent-context-shipped/files/2cbf94ee8ae341e8.md b/server/python/src/metaobjects/agent_context/shipped/files/ad0876e3f0749dd4.md similarity index 99% rename from agent-context-shipped/files/2cbf94ee8ae341e8.md rename to server/python/src/metaobjects/agent_context/shipped/files/ad0876e3f0749dd4.md index ca6639bdd7..0936a38788 100644 --- a/agent-context-shipped/files/2cbf94ee8ae341e8.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/ad0876e3f0749dd4.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/27947af106e08dd0.md b/server/python/src/metaobjects/agent_context/shipped/files/b4af1faa1ef0d00f.md similarity index 99% rename from agent-context-shipped/files/27947af106e08dd0.md rename to server/python/src/metaobjects/agent_context/shipped/files/b4af1faa1ef0d00f.md index 664856a89d..e66f2c06f6 100644 --- a/agent-context-shipped/files/27947af106e08dd0.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/b4af1faa1ef0d00f.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/63c0868d9960f9ad.md b/server/python/src/metaobjects/agent_context/shipped/files/b6d58488c3486eae.md similarity index 99% rename from agent-context-shipped/files/63c0868d9960f9ad.md rename to server/python/src/metaobjects/agent_context/shipped/files/b6d58488c3486eae.md index ee2f542c03..431f4aeb77 100644 --- a/agent-context-shipped/files/63c0868d9960f9ad.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/b6d58488c3486eae.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/7f4fb5dc57bfc358.md b/server/python/src/metaobjects/agent_context/shipped/files/b766591d53ab5c06.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/7f4fb5dc57bfc358.md rename to server/python/src/metaobjects/agent_context/shipped/files/b766591d53ab5c06.md index bc7576775e..8a3bf1f6e0 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/7f4fb5dc57bfc358.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/b766591d53ab5c06.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/78a05e83a46a25d7.md b/server/python/src/metaobjects/agent_context/shipped/files/bffabb32b1e62ea4.md similarity index 99% rename from agent-context-shipped/files/78a05e83a46a25d7.md rename to server/python/src/metaobjects/agent_context/shipped/files/bffabb32b1e62ea4.md index 9038bd400b..fedb3986c4 100644 --- a/agent-context-shipped/files/78a05e83a46a25d7.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/bffabb32b1e62ea4.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/fb1103eab45181dd.md b/server/python/src/metaobjects/agent_context/shipped/files/c015433005e43a29.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/fb1103eab45181dd.md rename to server/python/src/metaobjects/agent_context/shipped/files/c015433005e43a29.md index 983a53089f..55c74f93c2 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/fb1103eab45181dd.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/c015433005e43a29.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/8a67f1213ec217b0.md b/server/python/src/metaobjects/agent_context/shipped/files/c34795834cd0a156.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/8a67f1213ec217b0.md rename to server/python/src/metaobjects/agent_context/shipped/files/c34795834cd0a156.md index 5b07f6cd0e..c7bc2e3559 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/8a67f1213ec217b0.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/c34795834cd0a156.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/079fbd25b6bddacd.md b/server/python/src/metaobjects/agent_context/shipped/files/c4cea8aaaf65fd1c.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/079fbd25b6bddacd.md rename to server/python/src/metaobjects/agent_context/shipped/files/c4cea8aaaf65fd1c.md index e265738d1b..de5ad3d549 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/079fbd25b6bddacd.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/c4cea8aaaf65fd1c.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/ae7394f8975536b1.md b/server/python/src/metaobjects/agent_context/shipped/files/c51749f6baf00a9b.md similarity index 99% rename from agent-context-shipped/files/ae7394f8975536b1.md rename to server/python/src/metaobjects/agent_context/shipped/files/c51749f6baf00a9b.md index 0e7db502ca..bb2aff48f9 100644 --- a/agent-context-shipped/files/ae7394f8975536b1.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/c51749f6baf00a9b.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/78d54ddb0c509d88.md b/server/python/src/metaobjects/agent_context/shipped/files/cce65bd52d789e7f.md similarity index 99% rename from agent-context-shipped/files/78d54ddb0c509d88.md rename to server/python/src/metaobjects/agent_context/shipped/files/cce65bd52d789e7f.md index c4c8fcfa47..96d73b6524 100644 --- a/agent-context-shipped/files/78d54ddb0c509d88.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/cce65bd52d789e7f.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/a51d8d775e3900f5.md b/server/python/src/metaobjects/agent_context/shipped/files/cf820e73bf82c1dc.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/a51d8d775e3900f5.md rename to server/python/src/metaobjects/agent_context/shipped/files/cf820e73bf82c1dc.md index fc6214d521..1522c0a904 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/a51d8d775e3900f5.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/cf820e73bf82c1dc.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/3aab99fac366bd1e.md b/server/python/src/metaobjects/agent_context/shipped/files/d0ba0e01fd2b3f7b.md similarity index 99% rename from agent-context-shipped/files/3aab99fac366bd1e.md rename to server/python/src/metaobjects/agent_context/shipped/files/d0ba0e01fd2b3f7b.md index a75ec27893..f9cb943aea 100644 --- a/agent-context-shipped/files/3aab99fac366bd1e.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/d0ba0e01fd2b3f7b.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/470a6537a84cd7b3.md b/server/python/src/metaobjects/agent_context/shipped/files/d3781278f0864159.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/470a6537a84cd7b3.md rename to server/python/src/metaobjects/agent_context/shipped/files/d3781278f0864159.md index 41cefb8b1d..f9bd4ee112 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/470a6537a84cd7b3.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/d3781278f0864159.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/2d51bc7073c498d9.md b/server/python/src/metaobjects/agent_context/shipped/files/d46dd9dbffacbab6.md similarity index 99% rename from agent-context-shipped/files/2d51bc7073c498d9.md rename to server/python/src/metaobjects/agent_context/shipped/files/d46dd9dbffacbab6.md index da3afb6d5a..5a07be2f50 100644 --- a/agent-context-shipped/files/2d51bc7073c498d9.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/d46dd9dbffacbab6.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/a5c0b0ed44075972.md b/server/python/src/metaobjects/agent_context/shipped/files/d6d7f822563ee216.md similarity index 99% rename from agent-context-shipped/files/a5c0b0ed44075972.md rename to server/python/src/metaobjects/agent_context/shipped/files/d6d7f822563ee216.md index 17c72742ae..ecf1563877 100644 --- a/agent-context-shipped/files/a5c0b0ed44075972.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/d6d7f822563ee216.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/f3485c4f33ce85d2.md b/server/python/src/metaobjects/agent_context/shipped/files/db90c9240f5bf92a.md similarity index 99% rename from agent-context-shipped/files/f3485c4f33ce85d2.md rename to server/python/src/metaobjects/agent_context/shipped/files/db90c9240f5bf92a.md index b36c4781df..aeea6c4f88 100644 --- a/agent-context-shipped/files/f3485c4f33ce85d2.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/db90c9240f5bf92a.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/4953f12b5531ba6f.md b/server/python/src/metaobjects/agent_context/shipped/files/dbc673d7e2efb728.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/4953f12b5531ba6f.md rename to server/python/src/metaobjects/agent_context/shipped/files/dbc673d7e2efb728.md index 5e192f135d..685a34dcb4 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/4953f12b5531ba6f.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/dbc673d7e2efb728.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/476ae271cedec061.md b/server/python/src/metaobjects/agent_context/shipped/files/ddbd9ec7df5b0edb.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/476ae271cedec061.md rename to server/python/src/metaobjects/agent_context/shipped/files/ddbd9ec7df5b0edb.md index eedfa1f544..b227064d41 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/476ae271cedec061.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/ddbd9ec7df5b0edb.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/94db3eea9e65d1a8.md b/server/python/src/metaobjects/agent_context/shipped/files/e14e81035a4516a6.md similarity index 99% rename from agent-context-shipped/files/94db3eea9e65d1a8.md rename to server/python/src/metaobjects/agent_context/shipped/files/e14e81035a4516a6.md index b0c9d28bb3..0d68ee2ffe 100644 --- a/agent-context-shipped/files/94db3eea9e65d1a8.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/e14e81035a4516a6.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/files/4bad6e820c600d09.md b/server/python/src/metaobjects/agent_context/shipped/files/ea2afb9dca07470e.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/4bad6e820c600d09.md rename to server/python/src/metaobjects/agent_context/shipped/files/ea2afb9dca07470e.md index 9803e89532..ce0464f021 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/4bad6e820c600d09.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/ea2afb9dca07470e.md @@ -2,7 +2,7 @@ The Python port targets FastAPI consumers. Codegen runs through the **`metaobjects` console-script** (`pip install metaobjects`). As on every port, schema migrations -are **Node-`meta`-owned** (ADR-0015): `meta migrate` / `meta verify --db` run +run in your own tool or the Node reference helper (ADR-0015 Amendment 2): `meta migrate` / `meta verify --db` run through the Node `meta` tool — the Python CLI has **no `migrate` subcommand** and `metaobjects verify --db` is rejected. Everything below is `metaobjects`. diff --git a/server/python/src/metaobjects/agent_context/shipped/files/500e5cf9c2b871f6.md b/server/python/src/metaobjects/agent_context/shipped/files/ea6a3a84c8377d9f.md similarity index 99% rename from server/python/src/metaobjects/agent_context/shipped/files/500e5cf9c2b871f6.md rename to server/python/src/metaobjects/agent_context/shipped/files/ea6a3a84c8377d9f.md index f4906ee186..83fe8a8aa3 100644 --- a/server/python/src/metaobjects/agent_context/shipped/files/500e5cf9c2b871f6.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/ea6a3a84c8377d9f.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/565220c5cad4972a.md b/server/python/src/metaobjects/agent_context/shipped/files/eb9a53fcc569deb6.md similarity index 99% rename from agent-context-shipped/files/565220c5cad4972a.md rename to server/python/src/metaobjects/agent_context/shipped/files/eb9a53fcc569deb6.md index 0bd90d379c..a2cdafaae0 100644 --- a/agent-context-shipped/files/565220c5cad4972a.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/eb9a53fcc569deb6.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/c802bd86c2395ff6.md b/server/python/src/metaobjects/agent_context/shipped/files/eff7b51e1cbb1a0e.md similarity index 99% rename from agent-context-shipped/files/c802bd86c2395ff6.md rename to server/python/src/metaobjects/agent_context/shipped/files/eff7b51e1cbb1a0e.md index e22110899a..2675577e25 100644 --- a/agent-context-shipped/files/c802bd86c2395ff6.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/eff7b51e1cbb1a0e.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/agent-context-shipped/files/9aedadfa136f00c9.md b/server/python/src/metaobjects/agent_context/shipped/files/f0d3aa0b6ca8c7b5.md similarity index 99% rename from agent-context-shipped/files/9aedadfa136f00c9.md rename to server/python/src/metaobjects/agent_context/shipped/files/f0d3aa0b6ca8c7b5.md index fa1a632e1c..84788926ac 100644 --- a/agent-context-shipped/files/9aedadfa136f00c9.md +++ b/server/python/src/metaobjects/agent_context/shipped/files/f0d3aa0b6ca8c7b5.md @@ -6,7 +6,7 @@ > root `AGENTS.md` or `CLAUDE.md`, not here: this file is regenerated. The metadata (`metaobjects/` unless `.metaobjects/config.json` says otherwise) is the source of -truth. Code, schema and migrations are generated from it and are disposable. +truth. Code, schema and migrations are generated from it and are regenerated output. ## Start here: the whole loop, in order diff --git a/server/python/src/metaobjects/agent_context/shipped/manifest.json b/server/python/src/metaobjects/agent_context/shipped/manifest.json index ea5d316611..f3b8fcbf38 100644 --- a/server/python/src/metaobjects/agent_context/shipped/manifest.json +++ b/server/python/src/metaobjects/agent_context/shipped/manifest.json @@ -38,7 +38,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/typescript.md", @@ -50,7 +50,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -90,7 +90,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -146,7 +146,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -218,7 +218,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "2cbf94ee8ae341e8.md" + "file": "ad0876e3f0749dd4.md" } ] }, @@ -256,7 +256,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/typescript.md", @@ -268,7 +268,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -308,7 +308,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -364,7 +364,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -436,7 +436,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "e517e92152719256.md" + "file": "92f68d0335098302.md" } ] }, @@ -476,7 +476,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/typescript.md", @@ -488,7 +488,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -528,7 +528,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -584,7 +584,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -660,7 +660,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "1776bb6dbc87af6c.md" + "file": "7da357a168d3819a.md" } ] }, @@ -700,7 +700,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/typescript.md", @@ -712,7 +712,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -752,7 +752,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -808,7 +808,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -884,7 +884,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "476ae271cedec061.md" + "file": "ddbd9ec7df5b0edb.md" } ] }, @@ -925,7 +925,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/typescript.md", @@ -937,7 +937,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -977,7 +977,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -1033,7 +1033,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -1113,7 +1113,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "8a67f1213ec217b0.md" + "file": "c34795834cd0a156.md" } ] }, @@ -1154,7 +1154,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/typescript.md", @@ -1166,7 +1166,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -1206,7 +1206,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -1262,7 +1262,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -1342,7 +1342,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "8980bf959f40a87b.md" + "file": "9787437a82bb7e32.md" } ] }, @@ -1382,7 +1382,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/typescript.md", @@ -1394,7 +1394,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -1434,7 +1434,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -1490,7 +1490,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -1562,7 +1562,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "6d86eb5997450a34.md" + "file": "80645315e02097b7.md" } ] }, @@ -1602,7 +1602,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/typescript.md", @@ -1614,7 +1614,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -1654,7 +1654,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -1710,7 +1710,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -1782,7 +1782,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "78a05e83a46a25d7.md" + "file": "bffabb32b1e62ea4.md" } ] }, @@ -1812,7 +1812,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/java.md", - "file": "ea613a5701fa6856.md" + "file": "3708591f7234348e.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -1824,7 +1824,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -1832,7 +1832,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -1876,7 +1876,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -1932,7 +1932,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -1976,7 +1976,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "7e11a784ff35b41e.md" + "file": "5b145f489f23b1c7.md" } ] }, @@ -2006,7 +2006,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/java.md", - "file": "ea613a5701fa6856.md" + "file": "3708591f7234348e.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -2018,7 +2018,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -2026,7 +2026,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -2070,7 +2070,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -2126,7 +2126,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -2170,7 +2170,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "fb1103eab45181dd.md" + "file": "c015433005e43a29.md" } ] }, @@ -2202,7 +2202,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/java.md", - "file": "ea613a5701fa6856.md" + "file": "3708591f7234348e.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -2214,7 +2214,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -2222,7 +2222,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -2266,7 +2266,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -2322,7 +2322,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -2370,7 +2370,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "5194a576ede00130.md" + "file": "a3d1bbcd5fc2710a.md" } ] }, @@ -2402,7 +2402,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/java.md", - "file": "ea613a5701fa6856.md" + "file": "3708591f7234348e.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -2414,7 +2414,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -2422,7 +2422,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -2466,7 +2466,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -2522,7 +2522,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -2570,7 +2570,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "6133b301bb57ad31.md" + "file": "69c1ae480ae7dd7c.md" } ] }, @@ -2603,7 +2603,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/java.md", - "file": "ea613a5701fa6856.md" + "file": "3708591f7234348e.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -2615,7 +2615,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -2623,7 +2623,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -2667,7 +2667,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -2723,7 +2723,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -2775,7 +2775,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "7f4fb5dc57bfc358.md" + "file": "b766591d53ab5c06.md" } ] }, @@ -2808,7 +2808,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/java.md", - "file": "ea613a5701fa6856.md" + "file": "3708591f7234348e.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -2820,7 +2820,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -2828,7 +2828,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -2872,7 +2872,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -2928,7 +2928,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -2980,7 +2980,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "d9481a95a71e264b.md" + "file": "6c632f2dcebb53ea.md" } ] }, @@ -3012,7 +3012,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/java.md", - "file": "ea613a5701fa6856.md" + "file": "3708591f7234348e.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -3024,7 +3024,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -3032,7 +3032,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -3076,7 +3076,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -3132,7 +3132,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -3176,7 +3176,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "b17e87ac7a811af4.md" + "file": "77b583899dabdd55.md" } ] }, @@ -3208,7 +3208,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/java.md", - "file": "ea613a5701fa6856.md" + "file": "3708591f7234348e.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -3220,7 +3220,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -3228,7 +3228,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -3272,7 +3272,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -3328,7 +3328,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -3372,7 +3372,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "52c98783542efd36.md" + "file": "7d185435e40d7e2d.md" } ] }, @@ -3402,7 +3402,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/kotlin.md", - "file": "16283aaffb2211da.md" + "file": "003d471c39227bb7.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -3414,7 +3414,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -3422,7 +3422,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -3466,7 +3466,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -3522,7 +3522,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -3566,7 +3566,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "470a6537a84cd7b3.md" + "file": "d3781278f0864159.md" } ] }, @@ -3596,7 +3596,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/kotlin.md", - "file": "16283aaffb2211da.md" + "file": "003d471c39227bb7.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -3608,7 +3608,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -3616,7 +3616,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -3660,7 +3660,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -3716,7 +3716,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -3760,7 +3760,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "a51d8d775e3900f5.md" + "file": "cf820e73bf82c1dc.md" } ] }, @@ -3792,7 +3792,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/kotlin.md", - "file": "16283aaffb2211da.md" + "file": "003d471c39227bb7.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -3804,7 +3804,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -3812,7 +3812,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -3856,7 +3856,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -3912,7 +3912,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -3960,7 +3960,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "56dca5a75ec2b78a.md" + "file": "8692936865b8ca78.md" } ] }, @@ -3992,7 +3992,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/kotlin.md", - "file": "16283aaffb2211da.md" + "file": "003d471c39227bb7.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -4004,7 +4004,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -4012,7 +4012,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -4056,7 +4056,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -4112,7 +4112,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -4160,7 +4160,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "78d54ddb0c509d88.md" + "file": "cce65bd52d789e7f.md" } ] }, @@ -4193,7 +4193,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/kotlin.md", - "file": "16283aaffb2211da.md" + "file": "003d471c39227bb7.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -4205,7 +4205,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -4213,7 +4213,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -4257,7 +4257,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -4313,7 +4313,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -4365,7 +4365,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "63c0868d9960f9ad.md" + "file": "b6d58488c3486eae.md" } ] }, @@ -4398,7 +4398,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/kotlin.md", - "file": "16283aaffb2211da.md" + "file": "003d471c39227bb7.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -4410,7 +4410,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -4418,7 +4418,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -4462,7 +4462,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -4518,7 +4518,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -4570,7 +4570,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "6499cad1c678b210.md" + "file": "9827ffbab8ae5c2d.md" } ] }, @@ -4602,7 +4602,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/kotlin.md", - "file": "16283aaffb2211da.md" + "file": "003d471c39227bb7.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -4614,7 +4614,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -4622,7 +4622,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -4666,7 +4666,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -4722,7 +4722,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -4766,7 +4766,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "da8d67adc0b4f142.md" + "file": "8d415448458487c1.md" } ] }, @@ -4798,7 +4798,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/kotlin.md", - "file": "16283aaffb2211da.md" + "file": "003d471c39227bb7.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -4810,7 +4810,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -4818,7 +4818,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -4862,7 +4862,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -4918,7 +4918,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -4962,7 +4962,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "a68921b058ab1f45.md" + "file": "1813baf4e1ff00dc.md" } ] }, @@ -4988,7 +4988,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/csharp.md", - "file": "9965e221bf197a06.md" + "file": "a978da9641eb06d6.md" }, { "path": ".claude/skills/metaobjects-audit/references/drift-signatures.md", @@ -5004,7 +5004,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -5012,7 +5012,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -5056,7 +5056,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -5096,7 +5096,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/csharp.md", - "file": "2156dfce0f68c87a.md" + "file": "a3cd9779195de55f.md" }, { "path": ".claude/skills/metaobjects-codegen/references/dependencies-and-shared-models.md", @@ -5112,7 +5112,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -5156,7 +5156,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "6d95359b28f5e97f.md" + "file": "4bf396aa4831d3b0.md" } ] }, @@ -5182,7 +5182,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/csharp.md", - "file": "9965e221bf197a06.md" + "file": "a978da9641eb06d6.md" }, { "path": ".claude/skills/metaobjects-audit/references/drift-signatures.md", @@ -5198,7 +5198,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -5206,7 +5206,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -5250,7 +5250,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -5290,7 +5290,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/csharp.md", - "file": "2156dfce0f68c87a.md" + "file": "a3cd9779195de55f.md" }, { "path": ".claude/skills/metaobjects-codegen/references/dependencies-and-shared-models.md", @@ -5306,7 +5306,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -5350,7 +5350,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "594ad24674edaa43.md" + "file": "68aea133c93dc3c6.md" } ] }, @@ -5378,7 +5378,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/csharp.md", - "file": "9965e221bf197a06.md" + "file": "a978da9641eb06d6.md" }, { "path": ".claude/skills/metaobjects-audit/references/drift-signatures.md", @@ -5394,7 +5394,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -5402,7 +5402,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -5446,7 +5446,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -5486,7 +5486,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/csharp.md", - "file": "2156dfce0f68c87a.md" + "file": "a3cd9779195de55f.md" }, { "path": ".claude/skills/metaobjects-codegen/references/dependencies-and-shared-models.md", @@ -5502,7 +5502,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -5550,7 +5550,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "565220c5cad4972a.md" + "file": "eb9a53fcc569deb6.md" } ] }, @@ -5578,7 +5578,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/csharp.md", - "file": "9965e221bf197a06.md" + "file": "a978da9641eb06d6.md" }, { "path": ".claude/skills/metaobjects-audit/references/drift-signatures.md", @@ -5594,7 +5594,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -5602,7 +5602,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -5646,7 +5646,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -5686,7 +5686,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/csharp.md", - "file": "2156dfce0f68c87a.md" + "file": "a3cd9779195de55f.md" }, { "path": ".claude/skills/metaobjects-codegen/references/dependencies-and-shared-models.md", @@ -5702,7 +5702,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -5750,7 +5750,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "7da735f95a83e999.md" + "file": "12851cf06a512e01.md" } ] }, @@ -5779,7 +5779,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/csharp.md", - "file": "9965e221bf197a06.md" + "file": "a978da9641eb06d6.md" }, { "path": ".claude/skills/metaobjects-audit/references/drift-signatures.md", @@ -5795,7 +5795,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -5803,7 +5803,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -5847,7 +5847,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -5887,7 +5887,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/csharp.md", - "file": "2156dfce0f68c87a.md" + "file": "a3cd9779195de55f.md" }, { "path": ".claude/skills/metaobjects-codegen/references/dependencies-and-shared-models.md", @@ -5903,7 +5903,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -5955,7 +5955,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "94db3eea9e65d1a8.md" + "file": "e14e81035a4516a6.md" } ] }, @@ -5984,7 +5984,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/csharp.md", - "file": "9965e221bf197a06.md" + "file": "a978da9641eb06d6.md" }, { "path": ".claude/skills/metaobjects-audit/references/drift-signatures.md", @@ -6000,7 +6000,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -6008,7 +6008,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -6052,7 +6052,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -6092,7 +6092,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/csharp.md", - "file": "2156dfce0f68c87a.md" + "file": "a3cd9779195de55f.md" }, { "path": ".claude/skills/metaobjects-codegen/references/dependencies-and-shared-models.md", @@ -6108,7 +6108,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -6160,7 +6160,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "56f1dbfb90d775e9.md" + "file": "64726b55218b2d12.md" } ] }, @@ -6188,7 +6188,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/csharp.md", - "file": "9965e221bf197a06.md" + "file": "a978da9641eb06d6.md" }, { "path": ".claude/skills/metaobjects-audit/references/drift-signatures.md", @@ -6204,7 +6204,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -6212,7 +6212,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -6256,7 +6256,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -6296,7 +6296,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/csharp.md", - "file": "2156dfce0f68c87a.md" + "file": "a3cd9779195de55f.md" }, { "path": ".claude/skills/metaobjects-codegen/references/dependencies-and-shared-models.md", @@ -6312,7 +6312,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -6356,7 +6356,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "fbff06c2d406d3a2.md" + "file": "6eaaf67c049daead.md" } ] }, @@ -6384,7 +6384,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/csharp.md", - "file": "9965e221bf197a06.md" + "file": "a978da9641eb06d6.md" }, { "path": ".claude/skills/metaobjects-audit/references/drift-signatures.md", @@ -6400,7 +6400,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -6408,7 +6408,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -6452,7 +6452,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -6492,7 +6492,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/csharp.md", - "file": "2156dfce0f68c87a.md" + "file": "a3cd9779195de55f.md" }, { "path": ".claude/skills/metaobjects-codegen/references/dependencies-and-shared-models.md", @@ -6508,7 +6508,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -6552,7 +6552,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "a5c0b0ed44075972.md" + "file": "d6d7f822563ee216.md" } ] }, @@ -6586,7 +6586,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/python.md", - "file": "1944176d5ab05889.md" + "file": "a8d92da9d56dc95d.md" }, { "path": ".claude/skills/metaobjects-audit/references/requirements.md", @@ -6594,7 +6594,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -6602,7 +6602,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -6642,7 +6642,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/python-providers.md", @@ -6698,11 +6698,11 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/python.md", - "file": "4bad6e820c600d09.md" + "file": "ea2afb9dca07470e.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -6746,7 +6746,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "322f06c12f7ee27f.md" + "file": "7cb243bcfd1823db.md" } ] }, @@ -6780,7 +6780,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/python.md", - "file": "1944176d5ab05889.md" + "file": "a8d92da9d56dc95d.md" }, { "path": ".claude/skills/metaobjects-audit/references/requirements.md", @@ -6788,7 +6788,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -6796,7 +6796,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -6836,7 +6836,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/python-providers.md", @@ -6892,11 +6892,11 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/python.md", - "file": "4bad6e820c600d09.md" + "file": "ea2afb9dca07470e.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -6940,7 +6940,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "664bedbda610df2d.md" + "file": "3d1bb461b13fe925.md" } ] }, @@ -6976,7 +6976,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/python.md", - "file": "1944176d5ab05889.md" + "file": "a8d92da9d56dc95d.md" }, { "path": ".claude/skills/metaobjects-audit/references/requirements.md", @@ -6984,7 +6984,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -6992,7 +6992,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -7032,7 +7032,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/python-providers.md", @@ -7088,11 +7088,11 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/python.md", - "file": "4bad6e820c600d09.md" + "file": "ea2afb9dca07470e.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -7140,7 +7140,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "f3485c4f33ce85d2.md" + "file": "db90c9240f5bf92a.md" } ] }, @@ -7176,7 +7176,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/python.md", - "file": "1944176d5ab05889.md" + "file": "a8d92da9d56dc95d.md" }, { "path": ".claude/skills/metaobjects-audit/references/requirements.md", @@ -7184,7 +7184,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -7192,7 +7192,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -7232,7 +7232,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/python-providers.md", @@ -7288,11 +7288,11 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/python.md", - "file": "4bad6e820c600d09.md" + "file": "ea2afb9dca07470e.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -7340,7 +7340,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "44817cc439e9d6e7.md" + "file": "9de55e412aee8057.md" } ] }, @@ -7377,7 +7377,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/python.md", - "file": "1944176d5ab05889.md" + "file": "a8d92da9d56dc95d.md" }, { "path": ".claude/skills/metaobjects-audit/references/requirements.md", @@ -7385,7 +7385,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -7393,7 +7393,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -7433,7 +7433,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/python-providers.md", @@ -7489,11 +7489,11 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/python.md", - "file": "4bad6e820c600d09.md" + "file": "ea2afb9dca07470e.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -7545,7 +7545,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "c802bd86c2395ff6.md" + "file": "eff7b51e1cbb1a0e.md" } ] }, @@ -7582,7 +7582,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/python.md", - "file": "1944176d5ab05889.md" + "file": "a8d92da9d56dc95d.md" }, { "path": ".claude/skills/metaobjects-audit/references/requirements.md", @@ -7590,7 +7590,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -7598,7 +7598,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -7638,7 +7638,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/python-providers.md", @@ -7694,11 +7694,11 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/python.md", - "file": "4bad6e820c600d09.md" + "file": "ea2afb9dca07470e.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -7750,7 +7750,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "b2039ab0e4f7a4c8.md" + "file": "7d6c30e9d03b88b9.md" } ] }, @@ -7786,7 +7786,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/python.md", - "file": "1944176d5ab05889.md" + "file": "a8d92da9d56dc95d.md" }, { "path": ".claude/skills/metaobjects-audit/references/requirements.md", @@ -7794,7 +7794,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -7802,7 +7802,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -7842,7 +7842,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/python-providers.md", @@ -7898,11 +7898,11 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/python.md", - "file": "4bad6e820c600d09.md" + "file": "ea2afb9dca07470e.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -7946,7 +7946,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "9aedadfa136f00c9.md" + "file": "f0d3aa0b6ca8c7b5.md" } ] }, @@ -7982,7 +7982,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/python.md", - "file": "1944176d5ab05889.md" + "file": "a8d92da9d56dc95d.md" }, { "path": ".claude/skills/metaobjects-audit/references/requirements.md", @@ -7990,7 +7990,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -7998,7 +7998,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -8038,7 +8038,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/python-providers.md", @@ -8094,11 +8094,11 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/python.md", - "file": "4bad6e820c600d09.md" + "file": "ea2afb9dca07470e.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -8142,7 +8142,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "95e08a485e88c515.md" + "file": "3351fb1999f7cddc.md" } ] }, @@ -8180,7 +8180,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -8188,7 +8188,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -8228,7 +8228,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -8280,7 +8280,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -8316,7 +8316,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "557ddbd9e39fedee.md" + "file": "0121296a2cb80b43.md" } ] }, @@ -8354,7 +8354,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -8362,7 +8362,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -8402,7 +8402,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -8454,7 +8454,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -8490,7 +8490,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "9b35deff36220a85.md" + "file": "a78ffa7309cd29b2.md" } ] }, @@ -8530,7 +8530,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -8538,7 +8538,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -8578,7 +8578,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -8630,7 +8630,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -8670,7 +8670,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "3aab99fac366bd1e.md" + "file": "d0ba0e01fd2b3f7b.md" } ] }, @@ -8710,7 +8710,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -8718,7 +8718,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -8758,7 +8758,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -8810,7 +8810,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -8850,7 +8850,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "44aa33bca4481d4f.md" + "file": "10fd5004cdff1b02.md" } ] }, @@ -8891,7 +8891,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -8899,7 +8899,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -8939,7 +8939,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -8991,7 +8991,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -9035,7 +9035,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "4953f12b5531ba6f.md" + "file": "dbc673d7e2efb728.md" } ] }, @@ -9076,7 +9076,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -9084,7 +9084,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -9124,7 +9124,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -9176,7 +9176,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -9220,7 +9220,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "afa650ead85b0ecd.md" + "file": "9e4438fd935ebc25.md" } ] }, @@ -9260,7 +9260,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -9268,7 +9268,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -9308,7 +9308,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -9360,7 +9360,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -9396,7 +9396,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "2d51bc7073c498d9.md" + "file": "d46dd9dbffacbab6.md" } ] }, @@ -9436,7 +9436,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -9444,7 +9444,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -9484,7 +9484,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -9536,7 +9536,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -9572,7 +9572,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "079fbd25b6bddacd.md" + "file": "c4cea8aaaf65fd1c.md" } ] }, @@ -9603,11 +9603,11 @@ }, { "path": ".claude/skills/metaobjects-audit/references/java.md", - "file": "ea613a5701fa6856.md" + "file": "3708591f7234348e.md" }, { "path": ".claude/skills/metaobjects-audit/references/kotlin.md", - "file": "16283aaffb2211da.md" + "file": "003d471c39227bb7.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -9619,7 +9619,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -9627,7 +9627,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -9675,7 +9675,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -9735,7 +9735,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -9787,7 +9787,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "500e5cf9c2b871f6.md" + "file": "ea6a3a84c8377d9f.md" } ] }, @@ -9818,11 +9818,11 @@ }, { "path": ".claude/skills/metaobjects-audit/references/java.md", - "file": "ea613a5701fa6856.md" + "file": "3708591f7234348e.md" }, { "path": ".claude/skills/metaobjects-audit/references/kotlin.md", - "file": "16283aaffb2211da.md" + "file": "003d471c39227bb7.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -9834,7 +9834,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -9842,7 +9842,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -9890,7 +9890,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -9950,7 +9950,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -10002,7 +10002,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "27947af106e08dd0.md" + "file": "b4af1faa1ef0d00f.md" } ] }, @@ -10035,11 +10035,11 @@ }, { "path": ".claude/skills/metaobjects-audit/references/java.md", - "file": "ea613a5701fa6856.md" + "file": "3708591f7234348e.md" }, { "path": ".claude/skills/metaobjects-audit/references/kotlin.md", - "file": "16283aaffb2211da.md" + "file": "003d471c39227bb7.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -10051,7 +10051,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -10059,7 +10059,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -10107,7 +10107,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -10167,7 +10167,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -10223,7 +10223,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "376be0fb35457e76.md" + "file": "2a850663b29e895c.md" } ] }, @@ -10256,11 +10256,11 @@ }, { "path": ".claude/skills/metaobjects-audit/references/java.md", - "file": "ea613a5701fa6856.md" + "file": "3708591f7234348e.md" }, { "path": ".claude/skills/metaobjects-audit/references/kotlin.md", - "file": "16283aaffb2211da.md" + "file": "003d471c39227bb7.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -10272,7 +10272,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -10280,7 +10280,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -10328,7 +10328,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -10388,7 +10388,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -10444,7 +10444,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "40667661620aa7a7.md" + "file": "8f920c881b85118b.md" } ] }, @@ -10478,11 +10478,11 @@ }, { "path": ".claude/skills/metaobjects-audit/references/java.md", - "file": "ea613a5701fa6856.md" + "file": "3708591f7234348e.md" }, { "path": ".claude/skills/metaobjects-audit/references/kotlin.md", - "file": "16283aaffb2211da.md" + "file": "003d471c39227bb7.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -10494,7 +10494,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -10502,7 +10502,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -10550,7 +10550,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -10610,7 +10610,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -10670,7 +10670,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "ae7394f8975536b1.md" + "file": "c51749f6baf00a9b.md" } ] }, @@ -10704,11 +10704,11 @@ }, { "path": ".claude/skills/metaobjects-audit/references/java.md", - "file": "ea613a5701fa6856.md" + "file": "3708591f7234348e.md" }, { "path": ".claude/skills/metaobjects-audit/references/kotlin.md", - "file": "16283aaffb2211da.md" + "file": "003d471c39227bb7.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -10720,7 +10720,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -10728,7 +10728,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -10776,7 +10776,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -10836,7 +10836,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -10896,7 +10896,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "982392d0add1d55d.md" + "file": "1d61842e76db07d7.md" } ] }, @@ -10929,11 +10929,11 @@ }, { "path": ".claude/skills/metaobjects-audit/references/java.md", - "file": "ea613a5701fa6856.md" + "file": "3708591f7234348e.md" }, { "path": ".claude/skills/metaobjects-audit/references/kotlin.md", - "file": "16283aaffb2211da.md" + "file": "003d471c39227bb7.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -10945,7 +10945,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -10953,7 +10953,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -11001,7 +11001,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -11061,7 +11061,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -11113,7 +11113,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "5631eb3d3a5d2994.md" + "file": "9b387a8983e116d2.md" } ] }, @@ -11146,11 +11146,11 @@ }, { "path": ".claude/skills/metaobjects-audit/references/java.md", - "file": "ea613a5701fa6856.md" + "file": "3708591f7234348e.md" }, { "path": ".claude/skills/metaobjects-audit/references/kotlin.md", - "file": "16283aaffb2211da.md" + "file": "003d471c39227bb7.md" }, { "path": ".claude/skills/metaobjects-audit/references/prompt-anti-patterns.md", @@ -11162,7 +11162,7 @@ }, { "path": ".claude/skills/metaobjects-audit/references/surface-review-axes.md", - "file": "1ff8fe71a4ec5b60.md" + "file": "3432eab50de7a0b4.md" }, { "path": ".claude/skills/metaobjects-audit/references/vocabulary-hygiene.md", @@ -11170,7 +11170,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/SKILL.md", - "file": "6985ce4c6711d227.md" + "file": "87b4d71a9905489d.md" }, { "path": ".claude/skills/metaobjects-authoring/references/abstracts-and-overlay.md", @@ -11218,7 +11218,7 @@ }, { "path": ".claude/skills/metaobjects-authoring/references/model-first-rationale.md", - "file": "fda1a58ac1585828.md" + "file": "841b63fab8f3ace4.md" }, { "path": ".claude/skills/metaobjects-authoring/references/read-views-and-projections.md", @@ -11278,7 +11278,7 @@ }, { "path": ".claude/skills/metaobjects-codegen/references/principles.md", - "file": "9d8b243f6f1b2dfa.md" + "file": "842f73c0d880bcce.md" }, { "path": ".claude/skills/metaobjects-codegen/references/template-or-code.md", @@ -11330,7 +11330,7 @@ }, { "path": ".metaobjects/AGENTS.md", - "file": "20c9a37c3bdaad24.md" + "file": "2b4a4bfa31529de3.md" } ] } diff --git a/server/python/src/metaobjects/cli.py b/server/python/src/metaobjects/cli.py index 394df51ca4..2b4fbaf273 100644 --- a/server/python/src/metaobjects/cli.py +++ b/server/python/src/metaobjects/cli.py @@ -48,8 +48,8 @@ note that the explicit subverbs exist. Named ``metaobjects``, NOT ``meta``: ``meta`` is the Node schema CLI. This CLI -intentionally has NO ``migrate`` subcommand — schema is owned by the Node -toolchain (ADR-0015). The ``--codegen`` mode shares the exact same generation +intentionally has NO ``migrate`` subcommand — schema migrations run in your own tool or the Node +reference helper (ADR-0015 Amendment 2). The ``--codegen`` mode shares the exact same generation code path as ``gen`` (verify = gen-to-temp + diff), so drift can never be a generator-wiring divergence between the two commands. """ @@ -3080,11 +3080,12 @@ def _verify_body(tmpl: MetaData) -> tuple[int, int]: def _verify_db(_args: argparse.Namespace) -> int: """``verify --db`` — REJECTED in the Python port (ADR-0021 D2). - Schema drift is owned by the migrate engine (ADR-0015), not this codegen CLI. + Schema drift is checked by the Node reference helper (ADR-0015), not this codegen CLI. """ print( "error: verify --db is not supported in the Python port; schema verify " - "is the migrate engine (the Node `meta` CLI, ADR-0015).", + "is the reference migration helper's (`meta verify --db`, with `meta migrate`; " + "a native tool is equally good, ADR-0015 Amendment 2).", file=sys.stderr, ) return 2 @@ -3566,8 +3567,9 @@ def _build_parser() -> argparse.ArgumentParser: prog="metaobjects", description=( "MetaObjects Python codegen CLI. Generate idiomatic Python from " - "metadata and verify it has not drifted. Schema migrations are " - "owned by the Node `meta` CLI (ADR-0015) — there is no `migrate` " + "metadata and verify it has not drifted. The reference " + "migration helper is the Node `meta` CLI (`meta migrate`, one option; a " + "native tool is equally good, ADR-0015) — there is no `migrate` " "subcommand here." ), epilog="--version, -v, -V print the version and exit", diff --git a/server/rust/metaobjects-cli/README.md b/server/rust/metaobjects-cli/README.md index 595f1924a9..a69106b049 100644 --- a/server/rust/metaobjects-cli/README.md +++ b/server/rust/metaobjects-cli/README.md @@ -13,8 +13,8 @@ cargo meta eject # copy a generator into the project to own it The package is `metaobjects-cli` because the crates.io name `cargo-meta` belongs to another crate; the binary it installs is `cargo-meta`, so the command is still `cargo meta`. -`metaobjects.config.json` lists the generators a project runs. Schema migrations are the Node -`meta` command's, for every server language. +`metaobjects.config.json` lists the generators a project runs. The reference migration +helper is the Node `meta` command (`meta migrate`); a native migration tool is equally good. - Documentation: - Source and the Rust port's page: (`docs/ports/rust.md`) diff --git a/server/rust/metaobjects-cli/src/lib.rs b/server/rust/metaobjects-cli/src/lib.rs index d6df1dc838..4e2570de5e 100644 --- a/server/rust/metaobjects-cli/src/lib.rs +++ b/server/rust/metaobjects-cli/src/lib.rs @@ -100,8 +100,9 @@ opt-in transport (service-routes), which `init --transport` lists. ENTITY names limit `gen` to the crates that contain them plus the crates those depend on. Such a run never skips, never stores the skip key and never removes a file. -Schema migrations and database checks are not part of this tool: they are the Node `meta` -command's (`meta migrate`, `meta verify --db`) for every server language. +Schema migrations and database checks are not part of this tool. The reference migration +helper is the Node `meta` command (`meta migrate`, `meta verify --db`); a native migration +tool is equally good. EXIT STATUS: 0 success; 1 the run failed; 2 usage error. "; @@ -581,7 +582,7 @@ fn cmd_verify( } if s.has("--db") { return Err(Usage(format!( - "`{TOOL} verify --db` does not exist: checking a schema against a live database is the Node `meta` command's for every server language (`meta verify --db`, ADR-0015)." + "`{TOOL} verify --db` does not exist: checking a schema against a live database is the reference migration helper's (`meta migrate`, `meta verify --db`), one option; a native tool is equally good (ADR-0015 Amendment 2)." ))); } if s.has("--deps") { @@ -775,7 +776,7 @@ fn cmd_init( "next: declare your objects in metaobjects/ (JSON or YAML), then run `{TOOL} gen`.\n\ Choose the generators `gen` runs by editing {GENERATOR_LIST_FILE}.\n\ Commit .metaobjects/.gen-state/.hashes/ with the generated crates.\n\ - Schema migrations are the Node `meta` command's (`meta migrate`), for every server language." + The reference migration helper is the Node `meta` command (`meta migrate`); a native migration tool is equally good." ); Ok(0) } diff --git a/server/typescript/packages/codegen-ts/src/generators/agent-ui-page.ts b/server/typescript/packages/codegen-ts/src/generators/agent-ui-page.ts index ac8228d4cb..8d4946ec58 100644 --- a/server/typescript/packages/codegen-ts/src/generators/agent-ui-page.ts +++ b/server/typescript/packages/codegen-ts/src/generators/agent-ui-page.ts @@ -2,8 +2,8 @@ // // The gap this closes is narrow and real: the neutral model entity page renders NO // `view.*` or `layout.*` metadata at all, so an agent asked to change a form had nowhere -// to learn what the form already is and would read the generated TSX — the disposable -// artifact — as if it were the source. +// to learn what the form already is and would read the generated TSX — the +// regenerated output — as if it were the source. // // EVERY FIELD ROW COMES FROM `buildEntityUiDescriptor`, the same derivation // `renderEntityConstants` emits as the `` const in `.meta.ts`, which is @@ -226,7 +226,7 @@ export function renderAgentUiPage(root: MetaRoot, apiPrefix = ""): string { out.push(""); out.push( "What the generated forms and grids already are. Read it before changing a form, a " + - "grid or a filter — the generated `.tsx` is the disposable artifact, this is what " + + "grid or a filter — the generated `.tsx` is regenerated output, this is what " + "produced it.", ); out.push(""); diff --git a/spec/decisions/ADR-0015-single-shared-migrate-engine.md b/spec/decisions/ADR-0015-single-shared-migrate-engine.md index 2d89aa6e2e..7edc577912 100644 --- a/spec/decisions/ADR-0015-single-shared-migrate-engine.md +++ b/spec/decisions/ADR-0015-single-shared-migrate-engine.md @@ -86,7 +86,9 @@ migrations, not SQL): - **Explicitly out of scope:** EF Core Migrations, FluentMigrator (C#-coded), Alembic, Django (Python-coded) — emitting those means generating per-language migration *code* and they are ORM-coupled (EF↔EF Core, Alembic↔SQLAlchemy), which MetaObjects users need not adopt. - **EF Core Migrations is no longer out of scope; see Amendment 1.** + **EF Core Migrations is no longer out of scope; see Amendment 1. Alembic, and any other + native tool, is first-class as the adopter's own path (the helper does not emit its code); see + Amendment 2.** - MetaObjects does **not** reimplement an external runner's history / checksums / ordering — that is the runner's job (or the homegrown apply's journal for the zero-dep path). @@ -263,10 +265,35 @@ operation's SQL. The case in point is an identity start: Npgsql writes `RESTART ones `meta migrate` emits. A CHECK one path has and the other lacks is a defect on that path. - `meta verify --db` still reads any live database, whichever path built it. It is the drift gate for both. -- Python, Java and Kotlin are unaffected: ADR-0015's single engine stays their only schema path. +- Python, Java and Kotlin are unaffected: ADR-0015's single engine stays their only schema path. *(Superseded by Amendment 2: their native tools are equally first-class.)* - Removing the C# migrate engine (Decision 7) stands. The EF path is EF's own engine, not a MetaObjects one. +## Amendment 2 (2026-11-25): each language's native migration tool is first-class; the Node engine is the reference helper + +**Context.** Decision 5 and the Realization status record the engine as Node-only, and a good deal +of prose since then reads "Node owns the schema". That was an accurate description of where the +code lives. It was then read as a requirement, and an adopter on Alembic, Flyway, Liquibase, EF Core +Migrations or Diesel was told, in effect, to install a second toolchain to have a schema. Amendment 1 +already withdrew that for C#. + +**Decision.** Each language's native migration tool is a first-class way to own the schema: EF Core +Migrations, Alembic, Flyway or Liquibase, Diesel or sqlx, Drizzle Kit, or the project's own. The Node +engine (`meta migrate`, `meta verify --db`) is the **reference migration helper**: one option, the one +that is gated by the persistence-conformance migration scenarios, and never the required way. The +contract an adopter can lean on is the **expected schema**: what the metadata says the database +must look like, which `meta verify --db` checks a live database against on Postgres, SQLite and D1. A native tool on MySQL has the neutral schema document (`meta schema`) but no `--db` gate, because `meta verify --db` and `meta schema` do not cover MySQL. +The engine's code stays in TypeScript (Decision 5), and no port grows a diff engine of its own +(Decision 7 stands). + +**Consequences.** +- Docs say "the reference migration helper, one option", and each port page leads with that port's + native path. +- The migrate commands, the `Schema` section of the agent docs and the `meta init` migrate step appear + only for a project that chose a migrate dialect. +- Where an ADR or page says the schema is "Node-only" or "TypeScript-owned", it describes where the + reference helper runs, not a limit on the adopter. ADR-0033 and ADR-0065 are amended to say so. + ## Conformance note Migrate behavior is gated by the **persistence-conformance** corpus. Post-consolidation, the diff --git a/spec/decisions/ADR-0033-single-agent-context-assembler.md b/spec/decisions/ADR-0033-single-agent-context-assembler.md index c437ec5777..bab8edb90d 100644 --- a/spec/decisions/ADR-0033-single-agent-context-assembler.md +++ b/spec/decisions/ADR-0033-single-agent-context-assembler.md @@ -21,11 +21,14 @@ Two earlier decisions jointly removed the justification for that duplication: `{{codegenCommand}}`) in the two always-on files. Each assembler was therefore doing "copy a static tree + interpolate two strings." -2. **ADR-0015 (2026-05-30).** Schema migrations are Node-only on every port (npm - primary; an optional pre-compiled binary serves Node-free shops). Every adopter - already needs the `meta` CLI or its binary. The "scaffold without Node" goal that - justified native assemblers was already traded away for migrations — two days before - the agent-context design was written — and was never reconciled. +2. **ADR-0015 (2026-05-30).** The reference migration helper (`meta migrate`) runs on + Node (npm primary; an optional pre-compiled binary serves Node-free shops), and each language's + native migration tool is equally first-class (Amendment 2 of ADR-0015). An adopter who runs the + helper needs the `meta` CLI or its binary. *(Amendment 2 of ADR-0015 makes that premise + narrower than this ADR first read it: a Node-free adopter is legitimate. The decision here + no longer rests on it; it stands on Amendment 1, the shipped tree.)* The "scaffold without + Node" goal that justified native assemblers was traded away for the helper path — two days + before the agent-context design was written — and was never reconciled. Net consequence: four codebases and four byte-exact test suites maintaining what is effectively one static artifact. Every agent-context content change required fixes and @@ -62,9 +65,11 @@ per-port byte-identity gates are removed. ## Reconciliation with ADR-0015 -ADR-0015 established that every adopter already needs Node (or the binary) for schema -migrations. A separate native scaffolder per port therefore bought nothing: the toolchain -dependency already existed. This ADR applies the same reasoning to agent-context +ADR-0015 established that an adopter who takes the reference helper needs Node (or the +binary) for schema migrations; ADR-0015 Amendment 2 makes a native migration tool equally +first-class, so this holds for helper adopters only, and the decision rests on ADR-0033 +Amendment 1 (the shipped tree). A separate native scaffolder per port therefore bought +little: the toolchain dependency already existed for them. This ADR applies the same reasoning to agent-context scaffolding — one CLI, one place to maintain. ## What was deleted @@ -102,8 +107,8 @@ CI, the same command is available via the pre-compiled `meta` binary (see ADR-00 is eliminated. - **Discoverability preserved.** Each non-Node CLI's `agent-docs` command prints the correct redirect rather than silently failing or omitting the command from help output. -- **No new toolchain requirement.** Every adopter already needs Node (or the binary) for - migrations per ADR-0015. This ADR adds no new dependency. +- **No new toolchain requirement.** A helper adopter already needs Node (or the binary) + for migrations per ADR-0015 (a native-tool adopter needs none: Amendment 2). This ADR adds no new dependency. - **Staleness detection unaffected.** The live staleness-read path (used by gen/verify nudge) is retained in every port. diff --git a/spec/decisions/ADR-0037-metamodel-vocabulary-expansion-decision-framework.md b/spec/decisions/ADR-0037-metamodel-vocabulary-expansion-decision-framework.md index dd14bc18d8..f9c3f12d96 100644 --- a/spec/decisions/ADR-0037-metamodel-vocabulary-expansion-decision-framework.md +++ b/spec/decisions/ADR-0037-metamodel-vocabulary-expansion-decision-framework.md @@ -39,6 +39,15 @@ If X can be computed from the existing subtype + attributes (`isArray`, `@maxLen - **Validation constraint** that narrows the value without changing its type/structure → a validation/format attr. `@stringFormat` (email/hostname), `@maxLength`. The thing being validated stays a plain ``; there is no behavior to own (or it would be 2a). - **Configuration value** (sizing, locale, precision) → a typed attr. `@precision`/`@scale`, `@currency`/`@locale`. Open/format-validated configs (ISO 4217, BCP 47) carry no `allowedValues`. +### 3. Who refuses a bad use of it? The loader rule (added 2026-11-25) + +Once X exists, decide where an invalid use of it is refused. **The loader refuses what is invalid for the model; a limit of one generator is that generator's error.** +Ask: is the model itself ambiguous or contradictory, whichever generator reads it? Then the loader +refuses it, with a fixture in every port. Does only one generator fail on it (a name its routes +derive, a subtype its filter cannot express)? Then that generator reports it when it runs, and the +model still loads for everyone else. The ledger of the refusals that predate this step is in +[GOVERNANCE.md](../../GOVERNANCE.md#the-loader-rule). + ## The format-vs-subtype rule (a worked instance of step 2 — because we got it wrong, twice) The set of "string formats" the JSON-world lumps together (uuid, url, email, hostname, ipv4, ipv6) **does not survive the behavioral test — it splits.** Run each through 2a ("own native type or behavior?"): diff --git a/spec/decisions/ADR-0057-requirement-checks-and-tests-in-every-port.md b/spec/decisions/ADR-0057-requirement-checks-and-tests-in-every-port.md index 90411c8d31..772f15a369 100644 --- a/spec/decisions/ADR-0057-requirement-checks-and-tests-in-every-port.md +++ b/spec/decisions/ADR-0057-requirement-checks-and-tests-in-every-port.md @@ -148,7 +148,8 @@ them is open. committed expectations. That cost is the price of clause 3 and is accepted. - **The analogy with ADR-0015 no longer applies to requirements.** ADR-0015 itself is unchanged: schema migrations stay owned by the TypeScript toolchain, for the reason that ADR - gives. + gives. (Superseded in part by ADR-0015 Amendment 2: each language's native migration tool is + first-class; the Node engine is the reference helper.) - **The seven authoring-lint advisories stay TypeScript-only in this slice**, by the owner's ruling. They never fail a build. Porting them is a follow-up slice. Until then the split is narrower, not gone: the gate is in every port, its advisory lint is in one. diff --git a/spec/decisions/ADR-0065-rust-is-the-sixth-port.md b/spec/decisions/ADR-0065-rust-is-the-sixth-port.md index 7f61d20db5..28e9896315 100644 --- a/spec/decisions/ADR-0065-rust-is-the-sixth-port.md +++ b/spec/decisions/ADR-0065-rust-is-the-sixth-port.md @@ -60,8 +60,9 @@ five". off, an unlisted failure fails the lane. 6. **Deliberate differences from the other five.** - - **No `migrate`.** Schema migrations are TypeScript-owned (ADR-0015), as in Java, C# and - Python. The Rust CLI is codegen, `verify` and `fmt`. + - **No `migrate`.** The reference migration helper is the Node `meta` tool (ADR-0015 + Amendment 2), as for Java, C# and Python; a Rust project can equally use Diesel, sqlx or its + own tool. The Rust CLI is codegen, `verify` and `fmt`. - **Jinja is refused.** Template bodies render with the Mustache engine every port shares; a Jinja body is refused with `ERR_TEMPLATE_ENGINE_UNSUPPORTED`, as in Java, Kotlin and C# (ADR-0061). @@ -154,8 +155,9 @@ so they are not re-derived. This corrects Decision 6, which listed `fmt`: the command today is `init`, `gen`, `verify --codegen` and `eject`. `fmt` and the template gate come with the phases that need them. *(The template gate has arrived — Amendment 6; there is still no `fmt`.)* - **No `migrate` and no `verify --db`, permanently** (ADR-0015): `init` and `--help` both say that - the schema is the Node `meta` tool's. + **No `migrate` and no `verify --db`, permanently** (ADR-0015 Amendment 2): `init` and `--help` both + say that the reference migration helper is the Node `meta` tool, and that a native tool is equally + good. 5. **An owned generator is a crate the project builds.** Rust is compiled, so a generator cannot be loaded from its source at run time. `cargo meta eject ` writes `codegen/Cargo.toml` and `codegen/main.rs` (once, then the project's) and `codegen/generators/.rs`; while that diff --git a/spec/roadmap.md b/spec/roadmap.md index e3a1a96f7b..55a4192591 100644 --- a/spec/roadmap.md +++ b/spec/roadmap.md @@ -78,7 +78,7 @@ Candidate directions, not actively tracked — pulled up into Planned only when ### Theme — metadata as the substrate for LLM-*authored* software -A forward-looking cluster: today the LLM is a *consumer* of metaobjects (it reads the model, proposes metadata, writes against generated code). The next inflection is the LLM as **author of the model** — it emits typed metadata (the durable spine), `verify` gates it *before* it runs, codegen produces disposable per-language code, and escape hatches cover what metadata can't express. This sits in the seam between "the LLM writes the code" (maximally expressive, opaque, ungovernable output) and "the LLM writes config/flows" (safe but locked to a fixed node/component vocabulary). The same typed-payload + declarative-template + `verify` mechanism already describes the data model **and** prompts — extending it to the **UI** makes the model the single spine an LLM authors across all three render targets. These build on shipped primitives + the planned FRs noted; none are scheduled yet. +A forward-looking cluster: today the LLM is a *consumer* of metaobjects (it reads the model, proposes metadata, writes against generated code). The next inflection is the LLM as **author of the model** — it emits typed metadata (the durable spine), `verify` gates it *before* it runs, codegen produces regenerated per-language output, and escape hatches cover what metadata can't express. This sits in the seam between "the LLM writes the code" (maximally expressive, opaque, ungovernable output) and "the LLM writes config/flows" (safe but locked to a fixed node/component vocabulary). The same typed-payload + declarative-template + `verify` mechanism already describes the data model **and** prompts — extending it to the **UI** makes the model the single spine an LLM authors across all three render targets. These build on shipped primitives + the planned FRs noted; none are scheduled yet. - **Declared LLM-operation** — a metadata node binding a complete I/O unit (input payload VO + prompt template + output VO + parse strategy) as one codegen'd, runtime-resolvable, `verify`-able unit. The pieces exist separately today (payload, template, render, output parser); this composes them. Completes the prompt pillar; relates to the MCP-exposure item above. - **Bindable view/layout fields + UI action model** — a binding attr (literal / data-pointer path / function-call) on `view.*`/`layout.*` nodes, with pointer-resolution validated in `verify` exactly as a `{{slot}}` is validated against a prompt payload; plus a typed UI **action/event** output VO — the UI's response contract, peer to a prompt's output VO. Makes metadata-driven UI symmetric with metadata-driven prompts. Builds on FR-026/FR-029.