@tiinex/core 0.23.0 → 0.24.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiinex/core",
3
- "version": "0.23.0",
3
+ "version": "0.24.0",
4
4
  "description": "Shared host-neutral Tiinex implementation core for artifacts, schemas, validation, lineage, grounding, Handoffs, provenance and deterministic workflows.",
5
5
  "type": "module",
6
6
  "sideEffects": true,
@@ -173,12 +173,12 @@
173
173
  "type": "git",
174
174
  "url": "git+https://github.com/Tiinex/core.git"
175
175
  },
176
- "gitHead": "0115723fd777d088edda56f7d9d1bef898b359ff",
176
+ "gitHead": "c9a902017994156ce1c45f9ea78612875a072a1b",
177
177
  "tiinexRelease": {
178
178
  "policy": "tiinex.master-npm-release.v1",
179
- "sourceCommit": "0115723fd777d088edda56f7d9d1bef898b359ff",
180
- "sourceTree": "066320bc97b3d3d16caac487ae56a34c039bb1e2",
179
+ "sourceCommit": "c9a902017994156ce1c45f9ea78612875a072a1b",
180
+ "sourceTree": "55c92c3bb3f604746613e64bd9adbe14f3fad3a1",
181
181
  "repository": "Tiinex/core",
182
- "previousVersion": "0.22.0"
182
+ "previousVersion": "0.23.0"
183
183
  }
184
184
  }
@@ -147,16 +147,19 @@ export function allocateRootArtifactPath({ targetId = '', targetLabel = '', titl
147
147
  if (explicitPath) return { path: uniqueTransitionPath(explicitPath, occupied), policy: pathPolicyForExplicit(explicitPath) };
148
148
  const labelSlug = slugify(title || targetLabel || labelFromSchemaId(targetId) || 'artifact');
149
149
  const targetSlug = slugify(targetLabel || labelFromSchemaId(targetId) || 'artifact');
150
- const basePath = `.topics/${labelSlug}--${targetSlug}.trace.md`;
150
+ const rootPrefix = nextDirectoryRootLineagePrefix('.topics', occupied);
151
+ const basePath = `.topics/${rootPrefix}-${labelSlug}.trace.md`;
151
152
  return {
152
153
  path: uniqueTransitionPath(basePath, occupied),
153
154
  policy: {
154
155
  schema: 'tiinex.transition.path-policy.v1',
155
156
  kind: 'standalone-root',
156
157
  parentDirectory: '.topics',
158
+ rootLineagePrefix: rootPrefix,
157
159
  labelSlug,
158
160
  targetSlug,
159
- extension: '.trace.md'
161
+ extension: '.trace.md',
162
+ allocationAuthority: 'directory-local-lineage-namespace'
160
163
  }
161
164
  };
162
165
  }