You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 77ccdf4
Browse filesBrowse the repository at this point in the historyBrowse files
Bump every @metaobjectsdev package (cli, codegen-ts, render, runtime-ts,
sdk, metadata) from 1.2.0 to 1.3.0 and regenerate with the 1.3.0 CLI,
following the 1.3.0 "Upgrading from 1.2.0" notes:
- Port the owned composition-loaders generator off the removed ts-poet
printer, formatTs and renderFindByIdFn onto TsWriter, writeDbType and
writeFindByIdFn. lineage-mappers drops the removed formatTs.
- Drop the now-unused ts-poet devDependency.
- The hash manifest is now one file per package under
.metaobjects/.gen-state/.hashes/; .gitignore un-ignores that directory
instead of .hashes.json and keeps the new fingerprint file ignored.
- TypeScript generation runs no formatter, so the generated tree changes
layout once; the prompt render helpers now pass the payload field tree
so an unknown template variable raises at render time.
- Refresh the agent context (meta init --docs-only --refresh-docs), which
retires .metaobjects/CLAUDE.md; update the version and manifest path in
CLAUDE.md and README.md.
npm run check (drift gate, verify:db, tsc, 233 tests) and build:web pass.
gated by the api-contract corpus in BOTH lanes. **Flag hand-rolled filter parsing anywhere.**
20
-
Only the *richer* surface is genuinely **TS-only**: free-text `?search=`, the explicit
21
-
`filter[or][N]` / `filter[and][N]` nested boolean combinators (+ their nesting-depth cap), and
22
-
leading-wildcard gating — do NOT flag the absence of those in a non-TS port.
23
+
The *richer* list surface — free-text `?search=`, the explicit `filter[or][N]` /
24
+
`filter[and][N]` nested boolean combinators (+ their nesting-depth cap), and leading-wildcard
25
+
gating (ADR-0068) — passes in TypeScript and C#, and is **pending** in each other port until that port's
26
+
1.3.0 REST-standard work lands. Do NOT flag the absence of those in a port that has not landed
27
+
them yet.
23
28
-**Output-parser codegen** ships in **all five ports** — Java's `SpringOutputParserGenerator`
24
29
*generates* the `<Name>Parser` (the Jackson `readValue` lives inside that generated file). A
25
30
hand-rolled parser in a **non-generated** file where a **responding `template.prompt`**
@@ -29,6 +34,9 @@
29
34
-**C#** has no ObjectManager runtime tier (EF Core is the runtime) — hand services over the generated `DbContext` are expected.
30
35
-**Cut subtypes** — `field.byte` / `field.short` / `field.class` are removed; never recommend them.
31
36
-**TS/web-only** — `view.*` widget subtypes load in every port but are consumed only by TS/web; only `view.base` / `view.currency` are cross-port-gated.
32
-
-**Planned, not shipped** — `api.*` /`operation.*` / `binding.*` (FR-024) and MCP exposure of declared prompts/tools are not yet in the registry; their absence is not an adopter defect.
33
-
-**Cross-port version-NUMBER skew is by design** — TS/C#/Python `0.x` vs Java/Kotlin `7.x` Maven is correct; never flag the *number lines* differing. But that is exactly why you can't eyeball cross-language drift: compare **`metamodelVersion`** (Phase 0 cross-language consistency item), not the package numbers. A `metamodelVersion` MISMATCH across ports *is* a finding; so is a port lagging its ecosystem's latest release. Also flag *intra-port* drift (mixed versions within one port, or a runtime package in `devDependencies`).
37
+
-**CALIBRATION — registered; generated by TypeScript only** — the declared-API surface (`api.operational`, `operation.query`,`operation.command`, `binding.rest`) and lifecycles (`transition.action` under a `field.enum`) are registered since 1.3.0 (ADR-0066), checked at load and by `verify`. TypeScript's service generator emits from them (transition commands, declared command and query shells, permission points); the other ports do not yet. Their absence in a non-TypeScript port is not an adopter defect; do NOT audit for them. MCP exposure of declared prompts/tools is planned and not in the registry.
38
+
-**Cross-port version-NUMBER skew is by design** — TS/C#/Python `0.x` vs Java/Kotlin `7.x` Maven is correct; never flag the *number lines* differing. But that is exactly why you can't eyeball cross-language drift: compare **`metamodelVersion`** (Phase 0 cross-language consistency item), not the package numbers. A `metamodelVersion` MISMATCH across ports *is* a finding; so is a port lagging its ecosystem's latest release. A MATCH does not prove parity: added vocabulary does not move `metamodelVersion`, so ports on one metamodel version can still disagree on which attributes they know. Also flag *intra-port* drift (mixed versions within one port, or a runtime package in `devDependencies`).
34
39
-**Stale upstream prose** — "hand-write the Spring controller" (Java/Kotlin) is out of date; trust `meta gen --list`, not stale prose.
40
+
-**Include-only templates are not duplicates.** A prompt template whose body is only `{{> partial }}` includes is already the shared-partial fix the template-duplication check recommends. Identical stubs are the shape to want, never a byte-identical cluster to report (`references/prompt-anti-patterns.md`, template-text duplication).
41
+
-**An owned generator copy with lines of its own is not thereby customized.** The listing prints `DIFFERS` for a deliberate customization and for a copy stale by version, and counts lines the reference later removed as "of your own". Check the copy's history before calling either (Phase 0, owned-generators check).
42
+
-**An enum-member literal at a position the type checker verifies is not drift.** A value narrowed by the generated union or enum type breaks the build when the member is renamed. Signature 13 scores only a literal in a position nothing checks: a string-typed parameter, raw SQL, a JSON payload, an event name (`references/drift-signatures.md`).
0 commit comments