Parent: https://github.com/aien-dev/omega-mv/issues/607 Depends on Omega #608 trace schema; coordinate the consent/publishing boundary with Open Humanity and keep all execution/data movement under owner control.
Boundary
Omega owns read-only selection and creation of a candidate sharing bundle on the local training machine. Open Humanity owns human consent, signed publication receipt, transport and community intake. This issue MUST NOT implement uploads, background synchronization or an outbound publisher.
Implement
- Define a deterministic, versioned
omega.trace.contribution.v1offline bundle format (or shared equivalent) containing only selected typed records and aggregate metrics with unit/provenance/type, pinned build/machine contract, selected evidence references, source trace digests, filter specification and content hash. Strip/replace environment-specific path, host identity, operator names and sensitive high-cardinality identifiers. - Default presets: aggregate research summary; selected sanitized execution/optimization spans. Exclude raw prompts, model output, training samples, tool arguments, memory contents, full weights, gradients and secrets from the publishable schema, even if present in a different private local data format.
- Add
trace share-preview/trace share-packageequivalents requiring explicit run selection and field allowlist; show exact proposed output, estimated disclosure surface and classification. Treat missing or unverifiable provenance as an explicit refusal or clearly qualified output. - Keep deterministic local privacy filtering separate from any LLM interpretation, with fail-closed handling of unclassified fields, unknown schemas and metadata that may encode private info. Canonicalize the final bytes for signature by Open Humanity after its own independent validation.
- Package is LOCAL until a second separate Open Humanity approval operation. Merely enabling
traceorshare-packagemust not start a socket or upload.
Acceptance
- Offline golden fixture: exact same source + field selection creates byte-identical package and reproducible digest.
- Canary prompts, credentials, training strings, home paths and model tensor bytes injected into local traces cannot appear in standard shareable fields; binary/metadata fields checked too.
- Unknown field/version, symlink/path escape and truncation refuse publication packaging. Reject source reference to unowned filesystem paths.
- No network syscalls in packaging integration test; sanitized preview matches exact packaged bytes.
- Source trace and private archive remain unmodified; original loss/dropped-event and evidence-qualification disclosures accompany any aggregate.
Do not allow this package to train the Open Humanity volunteer model by default. Publication belongs to separate explicit consent, separate authorization for reuse.