Repository navigation
Propose captured-source handoff and explicit bookmark producer - #42
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.