Skip to content

Commit 14350ce

Browse files
committed
no-mistakes(document): Docs for 1.1.2 agent-context and C# scoping updated; Python seam corrected
1 parent 9dc5918 commit 14350ce

12 files changed

Lines changed: 12 additions & 12 deletions

File tree

‎agent-context/skills/metaobjects-codegen/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ without typechecking, so a wrong accessor runs silently.
125125
- **Which objects.** The runner hands you every object — entities, value objects,
126126
projections and abstract bases. Filter: abstract bases only contribute fields to what
127127
`extends` them. To scope a generator that ships with the tool to some objects, use the
128-
port's own idiom (a TypeScript `filter`, a C# `Include`, a Python `filter()` method; the
128+
port's own idiom (a TypeScript `filter`, a C# `Include`, a Python `filter=` argument; the
129129
table in `references/owning-generators.md`), never emit everything and delete files by name.
130130
- **Resolving accessors, always (ADR-0039).** `fields()`, `attr()`, `isRequired`,
131131
`resolvedIsArray()` see what a field or object inherits through `extends`; the `own*()`

‎agent-context/skills/metaobjects-codegen/references/owning-generators.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ adopt the surface you decided against.
5151
|---|---|
5252
| **TypeScript** | the generator's `filter: (obj) => boolean` |
5353
| **C#** | `new EntityGenerator { Include = o => ... }` on the entry in `codegen/Generators.cs` (also on `db-context`, `routes`, `filter-allowlist`, `names`, `callable`); for any other generator, wrap it and hand it a narrowed `GenContext` (`ctx.Narrow(...)`), or eject and edit. `references/csharp.md`, "Scoping a generator to some objects". Never emit everything and delete files by name afterwards |
54-
| **Python** | the owned generator's `filter(self, obj)` method |
54+
| **Python** | the `filter=` argument on the generator factory (a callable of the object), e.g. `trace_helper_generator(filter=...)` |
5555
| **Java / Kotlin** | the entry's `<args>` in the pom where the generator offers one; otherwise `mvn metaobjects:eject` the generator and edit its object selection |
5656

5757
Every port gets a reference generator's source the same way — its `eject` command — and

‎fixtures/agent-context-conformance/java-kotlin-react-tanstack/expected/.claude/skills/metaobjects-codegen/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ without typechecking, so a wrong accessor runs silently.
125125
- **Which objects.** The runner hands you every object — entities, value objects,
126126
projections and abstract bases. Filter: abstract bases only contribute fields to what
127127
`extends` them. To scope a generator that ships with the tool to some objects, use the
128-
port's own idiom (a TypeScript `filter`, a C# `Include`, a Python `filter()` method; the
128+
port's own idiom (a TypeScript `filter`, a C# `Include`, a Python `filter=` argument; the
129129
table in `references/owning-generators.md`), never emit everything and delete files by name.
130130
- **Resolving accessors, always (ADR-0039).** `fields()`, `attr()`, `isRequired`,
131131
`resolvedIsArray()` see what a field or object inherits through `extends`; the `own*()`

‎fixtures/agent-context-conformance/java-kotlin-react-tanstack/expected/.claude/skills/metaobjects-codegen/references/owning-generators.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ adopt the surface you decided against.
5151
|---|---|
5252
| **TypeScript** | the generator's `filter: (obj) => boolean` |
5353
| **C#** | `new EntityGenerator { Include = o => ... }` on the entry in `codegen/Generators.cs` (also on `db-context`, `routes`, `filter-allowlist`, `names`, `callable`); for any other generator, wrap it and hand it a narrowed `GenContext` (`ctx.Narrow(...)`), or eject and edit. `references/csharp.md`, "Scoping a generator to some objects". Never emit everything and delete files by name afterwards |
54-
| **Python** | the owned generator's `filter(self, obj)` method |
54+
| **Python** | the `filter=` argument on the generator factory (a callable of the object), e.g. `trace_helper_generator(filter=...)` |
5555
| **Java / Kotlin** | the entry's `<args>` in the pom where the generator offers one; otherwise `mvn metaobjects:eject` the generator and edit its object selection |
5656

5757
Every port gets a reference generator's source the same way — its `eject` command — and

‎fixtures/agent-context-conformance/java-react/expected/.claude/skills/metaobjects-codegen/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ without typechecking, so a wrong accessor runs silently.
125125
- **Which objects.** The runner hands you every object — entities, value objects,
126126
projections and abstract bases. Filter: abstract bases only contribute fields to what
127127
`extends` them. To scope a generator that ships with the tool to some objects, use the
128-
port's own idiom (a TypeScript `filter`, a C# `Include`, a Python `filter()` method; the
128+
port's own idiom (a TypeScript `filter`, a C# `Include`, a Python `filter=` argument; the
129129
table in `references/owning-generators.md`), never emit everything and delete files by name.
130130
- **Resolving accessors, always (ADR-0039).** `fields()`, `attr()`, `isRequired`,
131131
`resolvedIsArray()` see what a field or object inherits through `extends`; the `own*()`

‎fixtures/agent-context-conformance/java-react/expected/.claude/skills/metaobjects-codegen/references/owning-generators.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ adopt the surface you decided against.
5151
|---|---|
5252
| **TypeScript** | the generator's `filter: (obj) => boolean` |
5353
| **C#** | `new EntityGenerator { Include = o => ... }` on the entry in `codegen/Generators.cs` (also on `db-context`, `routes`, `filter-allowlist`, `names`, `callable`); for any other generator, wrap it and hand it a narrowed `GenContext` (`ctx.Narrow(...)`), or eject and edit. `references/csharp.md`, "Scoping a generator to some objects". Never emit everything and delete files by name afterwards |
54-
| **Python** | the owned generator's `filter(self, obj)` method |
54+
| **Python** | the `filter=` argument on the generator factory (a callable of the object), e.g. `trace_helper_generator(filter=...)` |
5555
| **Java / Kotlin** | the entry's `<args>` in the pom where the generator offers one; otherwise `mvn metaobjects:eject` the generator and edit its object selection |
5656

5757
Every port gets a reference generator's source the same way — its `eject` command — and

‎fixtures/agent-context-conformance/python/expected/.claude/skills/metaobjects-codegen/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ without typechecking, so a wrong accessor runs silently.
125125
- **Which objects.** The runner hands you every object — entities, value objects,
126126
projections and abstract bases. Filter: abstract bases only contribute fields to what
127127
`extends` them. To scope a generator that ships with the tool to some objects, use the
128-
port's own idiom (a TypeScript `filter`, a C# `Include`, a Python `filter()` method; the
128+
port's own idiom (a TypeScript `filter`, a C# `Include`, a Python `filter=` argument; the
129129
table in `references/owning-generators.md`), never emit everything and delete files by name.
130130
- **Resolving accessors, always (ADR-0039).** `fields()`, `attr()`, `isRequired`,
131131
`resolvedIsArray()` see what a field or object inherits through `extends`; the `own*()`

‎fixtures/agent-context-conformance/python/expected/.claude/skills/metaobjects-codegen/references/owning-generators.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ adopt the surface you decided against.
5151
|---|---|
5252
| **TypeScript** | the generator's `filter: (obj) => boolean` |
5353
| **C#** | `new EntityGenerator { Include = o => ... }` on the entry in `codegen/Generators.cs` (also on `db-context`, `routes`, `filter-allowlist`, `names`, `callable`); for any other generator, wrap it and hand it a narrowed `GenContext` (`ctx.Narrow(...)`), or eject and edit. `references/csharp.md`, "Scoping a generator to some objects". Never emit everything and delete files by name afterwards |
54-
| **Python** | the owned generator's `filter(self, obj)` method |
54+
| **Python** | the `filter=` argument on the generator factory (a callable of the object), e.g. `trace_helper_generator(filter=...)` |
5555
| **Java / Kotlin** | the entry's `<args>` in the pom where the generator offers one; otherwise `mvn metaobjects:eject` the generator and edit its object selection |
5656

5757
Every port gets a reference generator's source the same way — its `eject` command — and

‎fixtures/agent-context-conformance/ts-react-tanstack/expected/.claude/skills/metaobjects-codegen/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ without typechecking, so a wrong accessor runs silently.
125125
- **Which objects.** The runner hands you every object — entities, value objects,
126126
projections and abstract bases. Filter: abstract bases only contribute fields to what
127127
`extends` them. To scope a generator that ships with the tool to some objects, use the
128-
port's own idiom (a TypeScript `filter`, a C# `Include`, a Python `filter()` method; the
128+
port's own idiom (a TypeScript `filter`, a C# `Include`, a Python `filter=` argument; the
129129
table in `references/owning-generators.md`), never emit everything and delete files by name.
130130
- **Resolving accessors, always (ADR-0039).** `fields()`, `attr()`, `isRequired`,
131131
`resolvedIsArray()` see what a field or object inherits through `extends`; the `own*()`

‎fixtures/agent-context-conformance/ts-react-tanstack/expected/.claude/skills/metaobjects-codegen/references/owning-generators.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ adopt the surface you decided against.
5151
|---|---|
5252
| **TypeScript** | the generator's `filter: (obj) => boolean` |
5353
| **C#** | `new EntityGenerator { Include = o => ... }` on the entry in `codegen/Generators.cs` (also on `db-context`, `routes`, `filter-allowlist`, `names`, `callable`); for any other generator, wrap it and hand it a narrowed `GenContext` (`ctx.Narrow(...)`), or eject and edit. `references/csharp.md`, "Scoping a generator to some objects". Never emit everything and delete files by name afterwards |
54-
| **Python** | the owned generator's `filter(self, obj)` method |
54+
| **Python** | the `filter=` argument on the generator factory (a callable of the object), e.g. `trace_helper_generator(filter=...)` |
5555
| **Java / Kotlin** | the entry's `<args>` in the pom where the generator offers one; otherwise `mvn metaobjects:eject` the generator and edit its object selection |
5656

5757
Every port gets a reference generator's source the same way — its `eject` command — and

0 commit comments

Comments
 (0)