Repository navigation
Conversation
Retain structured source objects and unknown frontmatter extensions; require exact mapping delimiters and avoid coercing invalid types. Keep legacy raw-source deletion keys unchanged. Add an advisory OKF 0.2 reader for status, freshness, producer verification assertions and selected provenance warnings. Reduce large event families without exceeding function argument limits; descriptors remain inert data. Document usage and the narrower scope before bundle and API integration. Linux focused tests and build pass; separate inherited Hono compiler and dependency issues remain explicitly documented. Signed-off-by: Adam Okoń <414491+adamokon@users.noreply.github.com>
Collaborator
|
Thank you so much for your attention and contribution! We will arrange an internal review for this PR shortly, and all feedback will be shared right here in the discussion. |
This branch has not been deployed
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.
This first native OKF building block preserves structured provenance and unknown frontmatter metadata, and adds an advisory OKF 0.2 metadata reader. The existing builder previously dropped unknown null/prototype-named extension values, accepted non-delimiter suffixes and sequence mappings, and coerced invalid producer types. Legacy string-only deletion keys remain unchanged, so external provenance URLs are never converted into raw-file deletion keys.
Four files only: the existing frontmatter helper, a pure metadata reader, focused tests and English usage/scope documentation. No new dependency, network access, instruction execution, routes, bundle transport, graph-link parser or ingestion/cascade integration. Unknown types/optional metadata remain consumable; producer actor names and returned verification tiers are assertions, not authenticated identities or an independent audit.
Reviewed against official OKF 0.2 specification commit
ad30107c31c06aec8a7d5636e0d1058118604e6f; based on fresh TencentDB upstream37b162963ce6cf73d8ae1807e3f3614ad23511ae.Linux validation with real installed dependencies and synthetic data:
response-envelope.tsTS2322 diagnostic. No whole-project zero-error claim for this feature alone.Limitations: timestamps use finite JavaScript parsing with timezone markers, citation warnings are lexical, builder whitespace/handled optional-null/locked rules remain, and callers must budget input size. This is not a complete importer/exporter, byte-preserving transport, authorization boundary or recovery solution. The current upstream resolved dependency graph has separately tracked advisories; this proposal leaves package metadata unchanged and does not remediate that graph. The complete fork remains separate from this incremental proposal. Independent final review is outstanding; please review this bounded building block before integration proposals.