@githolon/dsl 0.103.14 → 0.103.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dart/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.64.15
2
+
3
+ - `DomainClientModelAdoptionRequired.accept` gains an optional `dispositions` parameter, threaded through to the bridge's `nomosFrameworkAdoptGeneratedModel` — a tenant can now acknowledge a genuine field/aggregate removal (`{"retired": [sid, ...]}`) from a generated client's `model.adopt()` decision instead of only via a raw adapter script.
4
+
1
5
  ## 0.64.14
2
6
 
3
7
  - Resolve framework-private first-device offers through the application law's concrete home route, and
package/dart/pubspec.yaml CHANGED
@@ -7,7 +7,7 @@ repository: https://github.com/Captain-App/nomos2
7
7
  description: >-
8
8
  Nomos 2 Dart client — generated domain values, intent payloads and application
9
9
  lifecycle types over the typed Nomos kernel protocol and USDA custody model.
10
- version: 0.64.14
10
+ version: 0.64.15
11
11
 
12
12
  environment:
13
13
  sdk: ^3.5.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@githolon/dsl",
3
- "version": "0.103.14",
3
+ "version": "0.103.16",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "description": "Nomos 2 domain-authoring DSL: aggregates + directives in TS, executed and encoded to the Rust kernel's wire shapes.",
@@ -1700,9 +1700,17 @@ export function generateDartBridgeClient(
1700
1700
  ` if (stage == 'acceptance') {`,
1701
1701
  ` return NomosModelAdoption.needsDecision(`,
1702
1702
  ` summary: 'This model would change prior business outcomes. Review the differences and record why that is intended.',`,
1703
- ` review: review, accept: (reason) => _adoptGeneratedModel(reason));`,
1703
+ ` review: review, accept: (reason, {dispositions}) => _adoptGeneratedModel(reason, dispositions));`,
1704
1704
  ` }`,
1705
1705
  ` final evolve = (report?['evolve'] as Map?)?.cast<String, Object?>();`,
1706
+ ` // A field/aggregate the candidate genuinely removed is a #58 disposition decision, not a`,
1707
+ ` // dead end: retry with the SAME accept/dispositions seam once the source history is proven`,
1708
+ ` // sound (sourceVerified + complete) so the tenant's own policy can supply dispositions.retired.`,
1709
+ ` if (stage == 'preflight' && report != null && report['sourceVerified'] == true && report['complete'] == true && evolve?['ok'] != true) {`,
1710
+ ` return NomosModelAdoption.needsDecision(`,
1711
+ ` summary: 'This model cannot yet interpret every existing value without a declared disposition. Review the differences and record why that is intended.',`,
1712
+ ` review: review, accept: (reason, {dispositions}) => _adoptGeneratedModel(reason, dispositions));`,
1713
+ ` }`,
1706
1714
  ` final rawError = raw['error']?.toString().trim();`,
1707
1715
  ` final summary = rawError != null && rawError.isNotEmpty`,
1708
1716
  ` ? rawError`,
@@ -1653,7 +1653,7 @@ const NOMOS_TYPES_DEP = "^0.8.4";
1653
1653
  // DomainNotInstalledForSession, engine.follow, pendingConflicts lanes) — the generated client
1654
1654
  // REQUIRES this surface. 0.48.1 fixes NomosSession.watchPendingConflicts delegation.
1655
1655
  const NOMOS_CLIENT_DEP = "^0.64.14";
1656
- const NOMOS_FLUTTER_DEP = "^0.63.18";
1656
+ const NOMOS_FLUTTER_DEP = "^0.63.20";
1657
1657
  // DRIFT TRIPWIRE: pubspec_pins.test.ts asserts these equal the CURRENT versions in dsl/dart/pubspec.yaml
1658
1658
  // and dsl/dart_types/pubspec.yaml — a Dart release without this bump fails the suite, so tenants never
1659
1659
  // land back in dependency_overrides (the exact co2 report this closes, third occurrence).