Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/browser-cnn.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Integration correctness and documented first-party regression policy still apply

The supplied raw weight file is 1,022,900 bytes; config plus layout bring the
bundle total to 1,025,143. Full package size and live memory are larger.
[Provenance and licenses](../crates/core/src/cnn/assets/PROVENANCE.md) identify the
[Provenance and licenses](https://github.com/DataFog/datafog-core/blob/main/crates/core/src/cnn/assets/PROVENANCE.md) identify the
source revision, hashes and explicit supplied-weight redistribution authorization.
Rust consumers can opt into the `embedded-cnn` feature and use
`datafog_core::cnn::CnnDetector`; the browser package includes that feature.
12 changes: 6 additions & 6 deletions docs/browser-detection-qualification.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ claim that the model catches everything. No paid provider or real user PII is us

## Corpus and scoring contract

[`qualification-v1.json`](../fixtures/browser-detection/qualification-v1.json)
[`qualification-v1.json`](https://github.com/DataFog/datafog-core/blob/main/fixtures/browser-detection/qualification-v1.json)
has 64 synthetic pasted-text records: 28 PERSON, 13 full ADDRESS and 11 structured
identifier gold spans, plus hard negatives. It covers Unicode/combining prefixes,
repeated values, names in code, compound/inverted names, international address
Expand Down Expand Up @@ -93,7 +93,7 @@ that custom configuration in Small.

## PR #115 review

[`pr115-review.json`](../fixtures/browser-detection/pr115-review.json) pins the
[`pr115-review.json`](https://github.com/DataFog/datafog-core/blob/main/fixtures/browser-detection/pr115-review.json) pins the
reviewed head/blob/content hash: 85 records, 106 entities, all codepoint offsets
valid at that head. Several STREET_ADDRESS labels include city/postcode/country,
inconsistent with the stated street-line convention. USERNAME-versus-PERSON and
Expand Down Expand Up @@ -124,8 +124,8 @@ by this runner. The corpus and adapter configuration are fixed in the fixture.
Each run writes `target/browser-detection/<timestamp>/receipt.json` (complete
findings, sources, scores and all misses/false positives), plus compact
`summary.json` and `observations.jsonl`. The committed receipt is
[`browser-detection-small-preparation.json`](../baselines/browser-detection-small-preparation.json)
and its paired [per-record observations](../baselines/browser-detection-small-preparation.jsonl).
[`browser-detection-small-preparation.json`](https://github.com/DataFog/datafog-core/blob/main/baselines/browser-detection-small-preparation.json)
and its paired [per-record observations](https://github.com/DataFog/datafog-core/blob/main/baselines/browser-detection-small-preparation.jsonl).
The scorer tests recompute its exact/overlap totals and verify the corpus/scorer
hashes and observation digest. The other hashes describe the recorded historical
package/runtime run; changing a future dependency does not rewrite that history.
Expand Down Expand Up @@ -200,8 +200,8 @@ manual approval or later recall as automatic first-pass detection, lower the bar
or tune solely to these examples. **G2 remains open.**

The current clean source run is `b9348af90d3783346d07109b2cf97f6f7119f3ed`.
Its [current summary](../baselines/browser-detection-small-current.json) and
[paired raw observations](../baselines/browser-detection-small-current.jsonl)
Its [current summary](https://github.com/DataFog/datafog-core/blob/main/baselines/browser-detection-small-current.json) and
[paired raw observations](https://github.com/DataFog/datafog-core/blob/main/baselines/browser-detection-small-current.jsonl)
preserve package/runtime/model identities and the six read-only recall/recovery
phases. The full local receipt is retained under
`target/browser-detection/2026-10-29T09-38-30-141Z/receipt.json`.
Expand Down
2 changes: 1 addition & 1 deletion docs/browser-workspace-v1-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ await owner.lock();

The application supplies the saved routing identifiers, password UI, local
preview and actual approval event. For new vault creation, backup, recovery and
credential changes, see the [SQLite adapter](../integrations/sqlite-browser/README.md).
credential changes, see the [SQLite adapter](https://github.com/DataFog/datafog-core/blob/main/integrations/sqlite-browser/README.md).
The same coordinator accepts a [FogVault Workspace owner](integrations/fogvault.md).
Both adapters keep sending separate from saving; preserve the existing
conversation/send-observation contract for network handoff.
Expand Down
16 changes: 8 additions & 8 deletions docs/contracts/core-v1.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,17 +121,17 @@ public declaration hashes for:

| Package | Public runtime values | Reviewed declarations / installed consumer proof |
| --- | --- | --- |
| `@datafog/core-fogvault-node` | `DataFogVaultError`, `NativeWorkspace`, `PreparedChange`, `RestoreStream` | [types](../../integrations/fogvault-node/index.d.ts), [consumer](../../integrations/fogvault-node/test/consumer.mjs), [TypeScript](../../integrations/fogvault-node/test/types.ts) |
| `@datafog/core-fogvault-browser` | `FogVaultWorkspace`, `WorkspaceVaultError` | [types](../../integrations/fogvault-browser/index.d.ts), [browser consumer](../../integrations/fogvault-browser/test/browser.mjs), [TypeScript](../../integrations/fogvault-browser/test/types.ts) |
| `@datafog/core-fogvault-legacy-browser` | `LegacyBackupImport`, `LegacyImportError` | [types](../../integrations/fogvault-legacy-browser/index.d.ts), [browser consumer](../../integrations/fogvault-legacy-browser/test/browser.mjs), [TypeScript](../../integrations/fogvault-legacy-browser/test/types.ts) |
| `datafog-fogvault` | `FogVaultWorkspaceError`, `WorkspaceHead`, `NativeWorkspace`, `PreparedChange`, `RestoreStream`, `__version__` | [stub](../../integrations/fogvault-python/datafog_fogvault.pyi), [installed tests](../../integrations/fogvault-python/tests/test_installed.py) |
| `@datafog/core-fogvault-node` | `DataFogVaultError`, `NativeWorkspace`, `PreparedChange`, `RestoreStream` | [types](https://github.com/DataFog/datafog-core/blob/main/integrations/fogvault-node/index.d.ts), [consumer](https://github.com/DataFog/datafog-core/blob/main/integrations/fogvault-node/test/consumer.mjs), [TypeScript](https://github.com/DataFog/datafog-core/blob/main/integrations/fogvault-node/test/types.ts) |
| `@datafog/core-fogvault-browser` | `FogVaultWorkspace`, `WorkspaceVaultError` | [types](https://github.com/DataFog/datafog-core/blob/main/integrations/fogvault-browser/index.d.ts), [browser consumer](https://github.com/DataFog/datafog-core/blob/main/integrations/fogvault-browser/test/browser.mjs), [TypeScript](https://github.com/DataFog/datafog-core/blob/main/integrations/fogvault-browser/test/types.ts) |
| `@datafog/core-fogvault-legacy-browser` | `LegacyBackupImport`, `LegacyImportError` | [types](https://github.com/DataFog/datafog-core/blob/main/integrations/fogvault-legacy-browser/index.d.ts), [browser consumer](https://github.com/DataFog/datafog-core/blob/main/integrations/fogvault-legacy-browser/test/browser.mjs), [TypeScript](https://github.com/DataFog/datafog-core/blob/main/integrations/fogvault-legacy-browser/test/types.ts) |
| `datafog-fogvault` | `FogVaultWorkspaceError`, `WorkspaceHead`, `NativeWorkspace`, `PreparedChange`, `RestoreStream`, `__version__` | [stub](https://github.com/DataFog/datafog-core/blob/main/integrations/fogvault-python/datafog_fogvault.pyi), [installed tests](https://github.com/DataFog/datafog-core/blob/main/integrations/fogvault-python/tests/test_installed.py) |

The Python inventory checks explicit PyO3 registrations and public names; normal
Python module metadata is not part of that value list. Its runtime version must
match installed distribution metadata. Browser private helper files and native
transport handles are not root public APIs.

Rust's [native owner source](../../integrations/fogvault-native/src/lib.rs) is the
Rust's [native owner source](https://github.com/DataFog/datafog-core/blob/main/integrations/fogvault-native/src/lib.rs) is the
canonical source API for `Binding`, `Error`, `Result<T>`, `Change`, `Committed`,
`Owner`, `BINDING_BYTES`, and the explicit `core` / `vault` re-exports. Review must
cover all public signatures, borrowed/generic types, DTO fields and error
Expand All @@ -149,7 +149,7 @@ The public DTOs are:
paging; strict and progressive restoration; lock and child invalidation.

The native suite includes ten external consumer tests plus one internal lost-ack
fault test (11 total). [Consumer tests](../../integrations/fogvault-native/tests/native.rs)
fault test (11 total). [Consumer tests](https://github.com/DataFog/datafog-core/blob/main/integrations/fogvault-native/tests/native.rs)
exercise exact bridge vectors, beta.3 interoperability, persistence/reopen,
foreign-owner and saved-head rejection, lifecycle invalidation, recovery,
conversation authority, facade coverage and payload admission. The internal test
Expand All @@ -158,13 +158,13 @@ Both source API tests and installed Node/Python consumers remain required; this
inventory is not a claim of stable Rust binary ABI or exhaustive automated Rust
signature analysis.

Rust's [migration source](../../integrations/fogvault-migration/src/lib.rs) exposes
Rust's [migration source](https://github.com/DataFog/datafog-core/blob/main/integrations/fogvault-migration/src/lib.rs) exposes
`MigrationError`, opaque `RecoveryCandidate`, and `stage_authenticated_bundle`.
The candidate exposes namespace, source/candidate heads, snapshot format and
borrowed candidate bytes. It grants no persistence or handoff authority. The
caller must authenticate/decrypt the source before staging, and the destination
must atomically require an empty record, re-encrypt and reopen durable state.
[Recovery tests](../../integrations/fogvault-migration/tests/recovery.rs) retain
[Recovery tests](https://github.com/DataFog/datafog-core/blob/main/integrations/fogvault-migration/tests/recovery.rs) retain
v1/v2/v3 semantics, full binding checks, malformed-source rejection and exhausted
or reused authority behavior. Changes to either Rust integration's public
signatures, DTOs or method coverage require explicit source-contract review even
Expand Down
2 changes: 1 addition & 1 deletion docs/contracts/launch-api-0.5.0-beta.2-beta.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ false-positive correction may leave the exact existing normalized `(entity type,
value)` visible. Core cannot verify its truth, so a person may intentionally
expose actual PII with this exception. A source/needs-review flag or detector name
never grants it. A narrower or differently typed correction does not waive wider
protected coverage. [ADR 004](../adr/004-workspace-aliasing-v1.md) records this
protected coverage. [ADR 004](https://github.com/DataFog/datafog-core/blob/main/docs/adr/004-workspace-aliasing-v1.md) records this
exception; the prior blanket rejection of `not_sensitive` is superseded.

Merged #166 protects all built-in PII types plus `PERSON`, `FIRST_NAME`,
Expand Down
8 changes: 4 additions & 4 deletions docs/extension-integration-0.5.0-beta.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ and prepare a fresh preview; do not add an unknown-marker passthrough exception.

The SDK owns marker identity and snapshot semantics. The host owns credentials,
encryption, storage, user approval and handoff. The vault/broker/storage/backup
files in [the reference harness](../examples/workspace-extension/README.md) show
files in [the reference harness](https://github.com/DataFog/datafog-core/blob/main/examples/workspace-extension/README.md) show
this flow with real IndexedDB and cryptography. They are reference host code,
not SDK exports; do not copy the test-only fault controls into a shipping extension.

Expand Down Expand Up @@ -179,8 +179,8 @@ explicitly when needed. A model session is not persisted with the encrypted vaul
## Complete public API reference

This inventory covers every public function and session/plan method declared in
[`@datafog/wasm`](../bindings/wasm/index.d.ts) and
[`@datafog/wasm/models`](../bindings/wasm/models/index.d.ts) for `0.5.0-beta.1`.
[`@datafog/wasm`](https://github.com/DataFog/datafog-core/blob/main/bindings/wasm/index.d.ts) and
[`@datafog/wasm/models`](https://github.com/DataFog/datafog-core/blob/main/bindings/wasm/models/index.d.ts) for `0.5.0-beta.1`.
Type names below refer to those declarations. Workspace calls are synchronous;
model operations are asynchronous except `describe()`. Host encryption, storage,
approval, clipboard insertion and backup UI are separate host responsibilities.
Expand Down Expand Up @@ -347,7 +347,7 @@ these codes do not add it, and are not workspace credential-unlock errors.

### Host persistence and worker errors

The reference host's [`HostError`/RPC boundary](../examples/workspace-extension/src/rpc.js)
The reference host's [`HostError`/RPC boundary](https://github.com/DataFog/datafog-core/blob/main/examples/workspace-extension/src/rpc.js)
is separate from SDK `DataFogError`. Errors crossing a worker boundary need safe
code/location serialization; do not rely on an Error prototype surviving RPC.
The reference host also forwards known workspace codes above. Its additional
Expand Down
4 changes: 2 additions & 2 deletions docs/integrations/fogvault-compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ and FogVault [backup/data-transfer contract](https://github.com/DataFog/fogvault

## What the Core-only recovery helper does

[`integrations/fogvault-migration`](../../integrations/fogvault-migration/README.md)
[`integrations/fogvault-migration`](https://github.com/DataFog/datafog-core/blob/main/integrations/fogvault-migration/README.md)
accepts a separately authenticated/decrypted bundle and expected source identity.
It checks the namespace **and both head fields**, prepares an explicit fresh-ID
Core recovery, and reopens the resulting candidate through the public decoder.
Expand Down Expand Up @@ -89,7 +89,7 @@ Sources: FogVault [native manifest](https://github.com/DataFog/fogvault/blob/6c6
[backup manifest](https://github.com/DataFog/fogvault/blob/6c6176a3a9df320447ba42b924b26de7ac4d693a/crates/fogvault-backup/Cargo.toml),
[browser manifest](https://github.com/DataFog/fogvault/blob/6c6176a3a9df320447ba42b924b26de7ac4d693a/packages/browser/package.json),
[dependency scope](https://github.com/DataFog/fogvault/blob/6c6176a3a9df320447ba42b924b26de7ac4d693a/docs/dependency-scope.md),
and Core [release version check](../../scripts/check-release.py).
and Core [release version check](https://github.com/DataFog/datafog-core/blob/main/scripts/check-release.py).

I6 remains open until both exact candidate versions have compatible dependency
graphs, clean install/dry-run and joint-verifier evidence, approved release notes,
Expand Down
14 changes: 7 additions & 7 deletions docs/integrations/fogvault.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ regression remain unchanged. Production-host acceptance remains separate.

## Start here

- Browser: [typed owner, runnable example and installed-package proof](../../integrations/fogvault-browser/README.md).
- Native Node: [installed addon, tenant boundaries and lifecycle](../../integrations/fogvault-node/README.md).
- Native Python: [installed wheel, thread boundaries and lifecycle](../../integrations/fogvault-python/README.md).
- Native Rust: [registered SQLite owner and recovery](../../integrations/fogvault-native/README.md).
- Legacy backups: [authenticated reference-format importer](../../integrations/fogvault-legacy-browser/README.md).
- Migration: [authenticated/decrypted bundle recovery staging](../../integrations/fogvault-migration/README.md).
- Browser: [typed owner, runnable example and installed-package proof](https://github.com/DataFog/datafog-core/blob/main/integrations/fogvault-browser/README.md).
- Native Node: [installed addon, tenant boundaries and lifecycle](https://github.com/DataFog/datafog-core/blob/main/integrations/fogvault-node/README.md).
- Native Python: [installed wheel, thread boundaries and lifecycle](https://github.com/DataFog/datafog-core/blob/main/integrations/fogvault-python/README.md).
- Native Rust: [registered SQLite owner and recovery](https://github.com/DataFog/datafog-core/blob/main/integrations/fogvault-native/README.md).
- Legacy backups: [authenticated reference-format importer](https://github.com/DataFog/datafog-core/blob/main/integrations/fogvault-legacy-browser/README.md).
- Migration: [authenticated/decrypted bundle recovery staging](https://github.com/DataFog/datafog-core/blob/main/integrations/fogvault-migration/README.md).
- Shared [record and save/lifetime contract](fogvault-contract.md).
- [Compatibility, backup differences and open-issue reconciliation](fogvault-compatibility.md).

Expand Down Expand Up @@ -146,4 +146,4 @@ Named evidence is retained as `legacy.json` beside `browser.json`.
This covers the non-shipping reference-host format; it does not establish the
archive provenance or format of Josh's shipping extension. The Core contract review and production extension security review are separate
release decisions. See the
[reader scope and resource limits](../../integrations/fogvault-legacy-browser/README.md).
[reader scope and resource limits](https://github.com/DataFog/datafog-core/blob/main/integrations/fogvault-legacy-browser/README.md).
2 changes: 1 addition & 1 deletion docs/proposals/conversation-wire-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ The earlier [encoder-only receipt](evidence/conversation-wire-growth.json) at
qualify a conversation decoder or final admission; current real Core tests replace
the prototype map-carry experiment. No provider acceptance is inferred.

The [draft adversarial fixtures](../../fixtures/workspace/conversation-contract-draft.json)
The [draft adversarial fixtures](https://github.com/DataFog/datafog-core/blob/main/fixtures/workspace/conversation-contract-draft.json)
describe same-chat partial batches, uncertain sends, wrong context, malformed
relations and scoped-stream stops. They need actual Rust/Python/Node/WASM execution,
reference-host crash/CAS tests, password/recovery backup, nonempty-key9 resource
Expand Down
2 changes: 1 addition & 1 deletion docs/proposals/workspace-conversation-context.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ trusted observation can still leave an intent pending and scoped restore paused.
Read/export and explicit compatibility behavior retain their existing contracts.

The first executable contract data is
[the existing-conversation crash fixture](../../fixtures/workspace/conversation-contract-draft.json).
[the existing-conversation crash fixture](https://github.com/DataFog/datafog-core/blob/main/fixtures/workspace/conversation-contract-draft.json).
It specifies expected future behavior only. Current SDKs do not execute these
commands; implementation must add actual Rust/WASM/Python/Node and MV3 qualification
before claiming acceptance or freezing the API.
Expand Down
2 changes: 1 addition & 1 deletion docs/proposals/workspace-streaming-restore.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ No operation mutates workspace state or creates a plan/alias/record.

## Evidence and remaining work

[The executable Core fixture](../../fixtures/workspace/streaming-contract-v1.json)
[The executable Core fixture](https://github.com/DataFog/datafog-core/blob/main/fixtures/workspace/streaming-contract-v1.json)
exercises actual feed/finalize/reset/cancel/head lifecycles for both encodings,
late invalid markers, bare markers, EOF and oversized prefixes. Every byte and
UTF-16 split of valid responses matches R2 output; original-coordinate errors,
Expand Down
Loading
Loading