Repository navigation
feat(schema): typed scope entries (schema 1.1) - #4
Merged
Merged
Conversation
added 2 commits
October 10, 2026 05:59
…; local-only --prev continues the sequence The single 30s Client.Timeout failed the ~18 MB bounty-targets files. Keep header/connect/TLS timeouts, replace the whole-request timeout with a context deadline that dataset adapters raise to 5 min, and fail a body that stalls for 20s. build --local-only now accepts --prev <local bundle> (unsigned, snapshot-only, still local_only) so local sequences increase; signed and local bundles are refused as each other's prev.
…prefix, environment, instructions, requires) Schema 1.1, additive and optional. Parsed from the bounty-targets-data platform files where present (asset_type mapped per platform, instructions, URL path); absent fields stay empty. Platform instruction text moves from notes to instructions.
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.
Stacked on #3 (its commit is included until #3 merges). Adds optional per-target fields asset_type (normalised enum from each platform's own asset types), ports, protocol, path_prefix, environment, instructions, requires. Parsed from the platform files where present; never guessed. JSON Schema, Go types, validation/normalisation, schema-match test, fixtures and README updated. Behaviour change: platform instruction text is now in instructions, no longer duplicated in notes. Readers validating with additionalProperties false need the 1.1 schema (the OpenCTEM importer must accept the new fields before this is released).