Skip to content

Propose captured-source handoff and explicit bookmark producer - #42

Merged
szmyty merged 1 commit into
mainfrom
feature/35-captured-source-handoff
Nov 9, 2026
Merged

szmyty merged 1 commit into
mainfrom
feature/35-captured-source-handoff

Conversation

@szmyty

@szmyty szmyty commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Refs #35; dependency checkpoint for egohygiene/mindgarden#11/#13/#48.

Add a proposed versioned CapturedSourceBundle wire contract, generated JSON Schema and deterministic bounded ZIP builder over explicitly supplied captured bytes. Exact member hashes/sizes, raw vs normalized roles, logical identities, evidence locators, producer commit, capture time, partial state and prior-package lineage are explicit. Delta, remote fetching and knowledge review are declared unavailable. No acquisition/model/routing behavior enters the generic contract.

An explicit Chrome-bookmark plugin exporter consumes an existing verified capture, preserves every original, and creates stable unit projections using caller-supplied logical profile identities. Capture time and machine profile labels stay outside stable unit content. Native vs snapshot-local identity is explicit. No default capture/CLI behavior, original capture or real browser profile changes.

Verification: 11 new synthetic cases pass with acquisition sockets blocked; full suite 622 passed in 4.82s with loopback enabled for two existing endpoint tests. Initial sandbox-restricted full run was 620 pass/2 socket failures, not product failures. Repository-wide Ruff and changed-file format/diff checks pass. No manual workflow, real content, credentials or model calls.

This is one bounded producer-contract draft, not full #35 completion or accepted cross-repository adoption. Incremental snapshots/deltas/cursors/reset handling and real consumer acceptance remain open. Mindgarden will consume an exact proposed source/schema pin through its existing extension boundary, without importing Mindcap code. See docs/source-bundle-handoff.md.

@szmyty
szmyty marked this pull request as ready for review November 9, 2026 03:37
@szmyty
szmyty merged commit 02d30d6 into main Nov 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant