diff --git a/docs/browser-cnn.md b/docs/browser-cnn.md index a32ebe9d..d135f5e6 100644 --- a/docs/browser-cnn.md +++ b/docs/browser-cnn.md @@ -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. diff --git a/docs/browser-detection-qualification.md b/docs/browser-detection-qualification.md index 9f4ce361..6948eb25 100644 --- a/docs/browser-detection-qualification.md +++ b/docs/browser-detection-qualification.md @@ -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 @@ -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 @@ -124,8 +124,8 @@ by this runner. The corpus and adapter configuration are fixed in the fixture. Each run writes `target/browser-detection//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. @@ -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`. diff --git a/docs/browser-workspace-v1-1.md b/docs/browser-workspace-v1-1.md index e8a007c6..6ecb0443 100644 --- a/docs/browser-workspace-v1-1.md +++ b/docs/browser-workspace-v1-1.md @@ -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. diff --git a/docs/contracts/core-v1.md b/docs/contracts/core-v1.md index 0f2c4e6e..10f067a5 100644 --- a/docs/contracts/core-v1.md +++ b/docs/contracts/core-v1.md @@ -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`, `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 @@ -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 @@ -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 diff --git a/docs/contracts/launch-api-0.5.0-beta.2-beta.3.md b/docs/contracts/launch-api-0.5.0-beta.2-beta.3.md index 13d86a7e..748db911 100644 --- a/docs/contracts/launch-api-0.5.0-beta.2-beta.3.md +++ b/docs/contracts/launch-api-0.5.0-beta.2-beta.3.md @@ -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`, diff --git a/docs/extension-integration-0.5.0-beta.1.md b/docs/extension-integration-0.5.0-beta.1.md index addc9a1c..fd188bad 100644 --- a/docs/extension-integration-0.5.0-beta.1.md +++ b/docs/extension-integration-0.5.0-beta.1.md @@ -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. @@ -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. @@ -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 diff --git a/docs/integrations/fogvault-compatibility.md b/docs/integrations/fogvault-compatibility.md index 3f5fbd09..d20a5e62 100644 --- a/docs/integrations/fogvault-compatibility.md +++ b/docs/integrations/fogvault-compatibility.md @@ -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. @@ -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, diff --git a/docs/integrations/fogvault.md b/docs/integrations/fogvault.md index 1e84cc3b..e3a98b7e 100644 --- a/docs/integrations/fogvault.md +++ b/docs/integrations/fogvault.md @@ -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). @@ -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). diff --git a/docs/proposals/conversation-wire-api.md b/docs/proposals/conversation-wire-api.md index 9bceb91e..4dd60c34 100644 --- a/docs/proposals/conversation-wire-api.md +++ b/docs/proposals/conversation-wire-api.md @@ -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 diff --git a/docs/proposals/workspace-conversation-context.md b/docs/proposals/workspace-conversation-context.md index cba2fb9c..cd8cd9fd 100644 --- a/docs/proposals/workspace-conversation-context.md +++ b/docs/proposals/workspace-conversation-context.md @@ -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. diff --git a/docs/proposals/workspace-streaming-restore.md b/docs/proposals/workspace-streaming-restore.md index f4bdbb7c..39a856d6 100644 --- a/docs/proposals/workspace-streaming-restore.md +++ b/docs/proposals/workspace-streaming-restore.md @@ -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, diff --git a/docs/state-machines.md b/docs/state-machines.md index b626b2b4..1da5ad27 100644 --- a/docs/state-machines.md +++ b/docs/state-machines.md @@ -17,10 +17,10 @@ when changing persistence or cancellation semantics. ## Core workspace and prepared changes -Sources: [`workspace.rs`](../crates/core/src/workspace.rs), -[`operations.rs`](../crates/core/src/workspace/operations.rs), -[`policy.rs`](../crates/core/src/workspace/policy.rs), -[`review.rs`](../crates/core/src/workspace/review.rs). +Sources: [`workspace.rs`](https://github.com/DataFog/datafog-core/blob/main/crates/core/src/workspace.rs), +[`operations.rs`](https://github.com/DataFog/datafog-core/blob/main/crates/core/src/workspace/operations.rs), +[`policy.rs`](https://github.com/DataFog/datafog-core/blob/main/crates/core/src/workspace/policy.rs), +[`review.rs`](https://github.com/DataFog/datafog-core/blob/main/crates/core/src/workspace/review.rs). Workspace state is an optional committed snapshot plus a lifetime flag and a read epoch. A prepared change owns an immutable candidate, its parent head, and @@ -46,7 +46,7 @@ save/activate lifecycle above. ## Conversation send intent -Source: [`conversation.rs`](../crates/core/src/workspace/conversation.rs). +Source: [`conversation.rs`](https://github.com/DataFog/datafog-core/blob/main/crates/core/src/workspace/conversation.rs). | Current state | Event / guard | Next state | Invariant | |---|---|---|---| @@ -65,8 +65,8 @@ converted into a send resolution or transport retry. ## Restore streams -Sources: [`buffered_restore.rs`](../crates/core/src/workspace/buffered_restore.rs), -[`progressive_restore.rs`](../crates/core/src/workspace/progressive_restore.rs), +Sources: [`buffered_restore.rs`](https://github.com/DataFog/datafog-core/blob/main/crates/core/src/workspace/buffered_restore.rs), +[`progressive_restore.rs`](https://github.com/DataFog/datafog-core/blob/main/crates/core/src/workspace/progressive_restore.rs), and SDK adapters under `bindings/*/src/workspace/stream.rs`. Buffered restore has `active`, `finalized/failed`, and `closed` states. It pins @@ -102,8 +102,8 @@ stale head is terminal until reset where the API allows it. ## Model session and admitted request -Source: [`models.rs`](../crates/core/src/models.rs), -[`process.rs`](../crates/core/src/models/process.rs). +Source: [`models.rs`](https://github.com/DataFog/datafog-core/blob/main/crates/core/src/models.rs), +[`process.rs`](https://github.com/DataFog/datafog-core/blob/main/crates/core/src/models/process.rs). The model session's atomic state values are initializing (0), ready (1), failed (2), and closed (3); `closing` is an additional admission fence. `ModelRequest` @@ -123,7 +123,7 @@ session lifecycle, input limit, cancellation, and output bound. ## Browser FogVault owner -Source: [`integrations/fogvault-browser/index.mjs`](../integrations/fogvault-browser/index.mjs). +Source: [`integrations/fogvault-browser/index.mjs`](https://github.com/DataFog/datafog-core/blob/main/integrations/fogvault-browser/index.mjs). The owner combines `open/closed`, `idle/busy`, an epoch fence, a saved receipt, and at most one pending plan wrapper. The plan wrapper is weakly held while the @@ -147,9 +147,9 @@ never by trusting the late reply. ## Native FogVault owner and binding handles -Sources: [`integrations/fogvault-native/src/lib.rs`](../integrations/fogvault-native/src/lib.rs), -[`integrations/fogvault-node/src/lib.rs`](../integrations/fogvault-node/src/lib.rs), -and [`integrations/fogvault-python/src/lib.rs`](../integrations/fogvault-python/src/lib.rs). +Sources: [`integrations/fogvault-native/src/lib.rs`](https://github.com/DataFog/datafog-core/blob/main/integrations/fogvault-native/src/lib.rs), +[`integrations/fogvault-node/src/lib.rs`](https://github.com/DataFog/datafog-core/blob/main/integrations/fogvault-node/src/lib.rs), +and [`integrations/fogvault-python/src/lib.rs`](https://github.com/DataFog/datafog-core/blob/main/integrations/fogvault-python/src/lib.rs). The native `Owner` has the same durable boundary as the browser owner: an open vault/Core pair, pending changes, exact save, activation, lock, and reconciliation. @@ -172,7 +172,7 @@ qualification suites. ## Legacy browser backup import -Source: [`integrations/fogvault-legacy-browser/index.mjs`](../integrations/fogvault-legacy-browser/index.mjs). +Source: [`integrations/fogvault-legacy-browser/index.mjs`](https://github.com/DataFog/datafog-core/blob/main/integrations/fogvault-legacy-browser/index.mjs). This import-only adapter authenticates/decrypts a supported archive into a staged session, then delegates approved installation to the current browser @@ -196,9 +196,9 @@ tested and fail-closed; this audit did not establish a correctness bug. ## Included extension host -Source: [`examples/workspace-extension/src/broker.js`](../examples/workspace-extension/src/broker.js), -[`rpc.js`](../examples/workspace-extension/src/rpc.js), and -[`storage.js`](../examples/workspace-extension/src/storage.js). This is the +Source: [`examples/workspace-extension/src/broker.js`](https://github.com/DataFog/datafog-core/blob/main/examples/workspace-extension/src/broker.js), +[`rpc.js`](https://github.com/DataFog/datafog-core/blob/main/examples/workspace-extension/src/rpc.js), and +[`storage.js`](https://github.com/DataFog/datafog-core/blob/main/examples/workspace-extension/src/storage.js). This is the repository's synthetic integration harness, not the Core library API. The broker encodes locked/unlocked in `session`, one pending Core plan, one diff --git a/docs/verification/workspace-backup-fields.md b/docs/verification/workspace-backup-fields.md index 8d2f88fb..9e145bad 100644 --- a/docs/verification/workspace-backup-fields.md +++ b/docs/verification/workspace-backup-fields.md @@ -14,7 +14,7 @@ imply that its inner snapshot contains every planned beta.3 field. ## Supported inner fields -The authoritative codec is [workspace/codec.rs](../../crates/core/src/workspace/codec.rs). +The authoritative codec is [workspace/codec.rs](https://github.com/DataFog/datafog-core/blob/main/crates/core/src/workspace/codec.rs). V1 has exactly keys 0–6; V2 has exactly keys 0–7; current V3 has exactly keys 0–10 (map11), including the conversation payload at key9. All use canonical order. Unknown, duplicate, missing or noncanonical fields reject rather than being discarded. @@ -45,7 +45,7 @@ duplicate, missing or noncanonical fields reject rather than being discarded. | 10 / count[0–4] | V3 totals: operations, preparedInputs, transformedSpans, confirmedHandoffs, reportedBlockedAttempts. Confirmed handoffs count saved send_confirmed rows, not pending intentions, copying or definite non-delivery. A blocked row counts once regardless of reported issue count. | All five missing/mismatched totals reject; unproven handoff totals reject; recovery increments operations only | | Derived historyCoverage | Not a serialized field: recordedHistoryOnly is true; preUpgradeHistory is not_applicable for a retained create-first history or unknown after legacy upgrade. | Full and legacy-upgraded gold, public views and both-credential encrypted recovery; recovery never invents pre-upgrade rows | -The synthetic [current-field fixture](../../fixtures/workspace/backup-current-fields.json) +The synthetic [current-field fixture](https://github.com/DataFog/datafog-core/blob/main/fixtures/workspace/backup-current-fields.json) contains three committed identities, two type counters, two rules and two exact choices. Its 34 negative vectors remove each supported container/tuple member or violate the reserved-slot contract while leaving the other representative state @@ -79,7 +79,7 @@ a wrong-type merge slot. Each rejection leaves IndexedDB unchanged, clears the preview and grants no approval. Thus these cases test Core state validation after authentication, rather than merely failing a damaged ciphertext tag. -The [operation-field fixture](../../fixtures/workspace/backup-operation-fields.json) +The [operation-field fixture](https://github.com/DataFog/datafog-core/blob/main/fixtures/workspace/backup-operation-fields.json) is generated by the actual public Core API, with source-tree and generator-hash provenance. One V3 history contains nine rows spanning the original eight kinds, including legacy null times, epoch zero and the maximum supported known time; another is a diff --git a/docs/workspace-recall-0.5.0-beta.2.md b/docs/workspace-recall-0.5.0-beta.2.md index d1983a6d..611941f9 100644 --- a/docs/workspace-recall-0.5.0-beta.2.md +++ b/docs/workspace-recall-0.5.0-beta.2.md @@ -147,7 +147,7 @@ matches, maximum no-hit source, and explicit result/index/work exhaustion. The proof report records exact source/tarball/model identities and samples under `examples/workspace-extension/output/playwright//report.json`. -The [retained observation fixture](../fixtures/workspace/recall-browser-benchmark.json) +The [retained observation fixture](https://github.com/DataFog/datafog-core/blob/main/fixtures/workspace/recall-browser-benchmark.json) records three calls per case on Apple M5 Pro / 48 GiB with bundled Chromium 151.0.7922.34 after stable zeroizing index storage was added. Median observations were 3.6 ms for 1,000 values/130,500-byte no-hit input, diff --git a/docs/workspace-v1-plan.md b/docs/workspace-v1-plan.md index 9e8eacfe..eeb6ec4e 100644 --- a/docs/workspace-v1-plan.md +++ b/docs/workspace-v1-plan.md @@ -1,6 +1,6 @@ # Workspace Aliasing V1: Implementation Sequence -Decisions are in [ADR 004](adr/004-workspace-aliasing-v1.md). V1 is free-text +Decisions are in [ADR 004](https://github.com/DataFog/datafog-core/blob/main/docs/adr/004-workspace-aliasing-v1.md). V1 is free-text paste: pseudonymize pasted text, send it to ChatGPT, restore the answer. Work runs in two repositories: `datafog-core` (Core, WASM, detection, harness), driven by Sid, and the Chrome extension, driven by Josh. @@ -187,7 +187,7 @@ Real text goes into a workspace only when all of these hold: [B3 / #142](https://github.com/DataFog/datafog-core/issues/142) fixes new backup exports at Argon2id v1.3, 256 MiB, three passes and one lane, rewrapping the root without the old 64 MiB password wrapper. The KDF decision is recorded in - [ADR 005](adr/005-backup-export-kdf.md); it does not complete the G4 review. + [ADR 005](https://github.com/DataFog/datafog-core/blob/main/docs/adr/005-backup-export-kdf.md); it does not complete the G4 review. Before that, real-data testing uses a throwaway browser profile or a build that saves no mappings. The critical path is the review screen (Core PRs 1–4) and