@aikdna/kdna-studio-core 1.5.5 → 1.5.7

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/README.md CHANGED
@@ -37,7 +37,7 @@ conforming KDNA runtime assets.
37
37
 
38
38
  | Library | Language | Role |
39
39
  |---------|----------|------|
40
- | `@aikdna/kdna-cli` | JS/npm | **Operate** KDNA — install, verify, load, compare, publish |
40
+ | `@aikdna/kdna-cli` | JS/npm | **Operate** KDNA — inspect, validate, plan-load, pack/unpack, load |
41
41
  | **`@aikdna/kdna-studio-core`** | JS/npm | **Authoring kernel** — project model, cards, review/provenance, compiler, runtime export |
42
42
  | `@aikdna/kdna-studio-cli` | JS/npm | **Create via CLI** — `kdna-studio` create, review, export |
43
43
  | `@aikdna/kdna-core` | JS/npm | **Use** KDNA — load, validate, format |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aikdna/kdna-studio-core",
3
- "version": "1.5.5",
3
+ "version": "1.5.7",
4
4
  "description": "Official KDNA Studio Core SDK for authoring, reviewing, compiling, and exporting .kdna judgment assets through the KDNA toolchain.",
5
5
  "type": "commonjs",
6
6
  "main": "src/index.js",
@@ -24,7 +24,8 @@
24
24
  "validate"
25
25
  ],
26
26
  "dependencies": {
27
- "@aikdna/kdna-core": "^0.12.0",
27
+ "@aikdna/kdna-cli": "^0.26.9",
28
+ "@aikdna/kdna-core": "^0.12.2",
28
29
  "cbor-x": "^1.6.4"
29
30
  },
30
31
  "engines": {
@@ -34,8 +35,5 @@
34
35
  "lint": "find src tests -name '*.js' -print0 | xargs -0 -n1 node --check",
35
36
  "test": "node --test tests/*.test.js",
36
37
  "test:all": "npm run lint && npm test"
37
- },
38
- "devDependencies": {
39
- "@aikdna/kdna-cli": "^0.26.4"
40
38
  }
41
39
  }
@@ -295,7 +295,8 @@ function compileManifest(project, files, identity = null) {
295
295
  domain_id: assetIdentity.domain_id,
296
296
  content_digest: assetIdentity.content_digest,
297
297
  studio_project_digest: `sha256:${projectDigest}`,
298
- human_lock_required: true,
298
+ human_lock_required: false,
299
+ human_lock_policy: 'optional_provenance',
299
300
  human_lock_count: lockedCards.length,
300
301
  ai_assisted: (project.cards || []).some(c => c.history?.some(h => h.by === 'ai')),
301
302
  human_confirmed: lockedCards.length > 0,
@@ -345,7 +346,8 @@ function buildReports(project, files, identity, provenance, stats) {
345
346
  const humanLockReport = {
346
347
  schema_version: 'human-lock-report-v1',
347
348
  build_id: identity.build_id,
348
- human_lock_required: true,
349
+ human_lock_required: false,
350
+ human_lock_policy: 'optional_provenance',
349
351
  human_lock_count: lockedCards.length,
350
352
  judgment_card_count: judgmentCards.length,
351
353
  unlocked_judgment_card_count: judgmentCards.filter(c => !c.locked).length,
@@ -376,7 +378,7 @@ function buildReports(project, files, identity, provenance, stats) {
376
378
  },
377
379
  validated: {
378
380
  passed: false,
379
- required: 'automated scoring, raw outputs, and registry validation',
381
+ required: 'reproducible scoring, raw outputs, and published eval evidence',
380
382
  },
381
383
  },
382
384
  };
@@ -176,8 +176,10 @@ function buildManifest(project, compiled, payloadBytes, options = {}) {
176
176
  },
177
177
  source_build_id: compiled.identity?.build_id || sourceManifest.build_id || null,
178
178
  studio_project_digest: sourceManifest.authoring?.studio_project_digest || null,
179
- human_lock_required: true,
179
+ human_lock_required: false,
180
+ human_lock_policy: 'optional_provenance',
180
181
  human_lock_count: sourceManifest.authoring?.human_lock_count || compiled.stats?.locked_cards || 0,
182
+ human_confirmed: (sourceManifest.authoring?.human_lock_count || compiled.stats?.locked_cards || 0) > 0,
181
183
  },
182
184
  };
183
185