@fortemi/core 2026.7.15 → 2026.9.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.
Files changed (25) hide show
  1. package/README.md +3 -1
  2. package/benchmarks/dataset-materialization/small-corpus.v1.json +12 -0
  3. package/dist/index.d.ts +1379 -130
  4. package/dist/index.js +3180 -425
  5. package/dist/index.js.map +1 -1
  6. package/package.json +10 -1
  7. package/schemas/dataset-execution-capabilities/fixtures/browser-local.json +14 -0
  8. package/schemas/dataset-execution-capabilities/fixtures/invalid-field-lineage-without-evidence.json +10 -0
  9. package/schemas/dataset-execution-capabilities/fixtures/invalid-incremental-without-checkpoint.json +10 -0
  10. package/schemas/dataset-execution-capabilities/fixtures/portable-shard.json +12 -0
  11. package/schemas/dataset-execution-capabilities/fixtures/remote-alpha.json +12 -0
  12. package/schemas/dataset-execution-capabilities/fixtures/static-cache.json +12 -0
  13. package/schemas/dataset-execution-capabilities/v1.schema.json +164 -0
  14. package/schemas/dataset-ingest/v1.schema.json +138 -0
  15. package/schemas/dataset-lineage/fixtures/golden-observed-field.json +20 -0
  16. package/schemas/dataset-lineage/v1.schema.json +126 -0
  17. package/schemas/dataset-materialization/fixtures/browser.json +11 -0
  18. package/schemas/dataset-materialization/fixtures/degraded.json +12 -0
  19. package/schemas/dataset-materialization/fixtures/deterministic.json +11 -0
  20. package/schemas/dataset-materialization/fixtures/external-adapter.json +11 -0
  21. package/schemas/dataset-materialization/fixtures/nondeterministic.json +11 -0
  22. package/schemas/dataset-materialization/fixtures/server.json +11 -0
  23. package/schemas/dataset-materialization/fixtures/supported.json +12 -0
  24. package/schemas/dataset-materialization/fixtures/unsupported.json +11 -0
  25. package/schemas/dataset-materialization/v1.schema.json +169 -0
package/README.md CHANGED
@@ -39,7 +39,8 @@ Most browser note and knowledge apps choose between a thin IndexedDB wrapper, a
39
39
  | Queryable knowledge | SQL-backed repositories for notes, links, tags, collections, SKOS concepts, jobs, and search |
40
40
  | Retrieval quality | Full-text search, pgvector-backed semantic search, hybrid ranking, snippets, facets, and filters |
41
41
  | AI-ready workflows | Optional embeddings, local LLM capability discovery, job provenance, and fallback routing |
42
- | Portable archives | Knowledge Shard tar.gz import/export with set-scoped exports, chunked imports, checksums, BLAKE3-addressed blob sidecars, and profile-scoped conformance |
42
+ | Portable archives | Knowledge Shard tar.gz import/export with set-scoped exports, chunked imports, checksums, BLAKE3-addressed blob sidecars, profile-scoped conformance, and typed loss reports for omitted source identities |
43
+ | Source-addressed ingest | Atomic batch upsert keyed by tenant, archive, namespace, and external id, with replay-safe outcomes for PGlite and RecordStore |
43
44
  | Agent integration | Manifest-backed tools and direct helper functions for bridge adapters and automation |
44
45
  | UI freedom | A headless package you can use from React, another framework, a browser extension, or a custom host |
45
46
 
@@ -352,6 +353,7 @@ bytes.
352
353
  | Capability system | Embeddings, local LLM, GPU detection, local-provider discovery, fallback routing |
353
354
  | Job queue | Server-compatible background workflow for revisions, titles, embeddings, concepts, and links |
354
355
  | Knowledge Shards | Tar.gz import/export with checksums, BLAKE3-addressed blob sidecars, progress callbacks, yielding imports, set-scoped embedding exports, and profile-scoped conformance |
356
+ | Lifecycle controls | Source-addressed import, metadata-scoped search locators, and terminal purge receipts that omit raw external ids and content |
355
357
  | Service-worker helpers | Route registration primitives for standalone browser integration |
356
358
 
357
359
  ## Search and Knowledge Model
@@ -0,0 +1,12 @@
1
+ {
2
+ "contract": "fortemi.dataset-materialization-profile/v1", "schemaVersion": "1.0.0", "evidenceType": "benchmark",
3
+ "benchmarkId": "fortemi-core-small-lexical-2026-09-03",
4
+ "corpus": { "id": "fortemi-materialization-fixture", "revision": "fixture-v1", "digest": "sha256:1010101010101010101010101010101010101010101010101010101010101010", "records": 100, "bytes": 65536 },
5
+ "hardware": { "runtime": "node-22-linux-x64", "cpu": "generic-ci-2-vcpu", "memoryBytes": 4294967296 },
6
+ "implementation": { "id": "fortemi-core-lexical", "version": "2026.8.0", "digest": "sha256:1111111111111111111111111111111111111111111111111111111111111111" },
7
+ "profile": { "id": "fortemi.lexical.default", "version": "1.0.0", "digest": "sha256:1212121212121212121212121212121212121212121212121212121212121212", "configurationDigest": "sha256:1313131313131313131313131313131313131313131313131313131313131313" },
8
+ "correctness": { "passed": true, "suite": "dataset-materialization-profiles.test.ts", "receiptDigest": "sha256:1414141414141414141414141414141414141414141414141414141414141414" },
9
+ "freshness": { "measuredAt": "2026-09-03T00:00:00Z", "sourceRevision": "fixture-v1" },
10
+ "measurements": [{ "name": "full-build", "value": 12.4, "unit": "ms" }, { "name": "throughput", "value": 8064.5, "unit": "records/s" }],
11
+ "claims": { "corpusScoped": true, "universalScaleLimit": false }
12
+ }