design-15: line_uuid, per-line users, chain recognition, Sub-Store integration - #2
Merged
Merged
Conversation
…on, Sub-Store integration Decision record for the 2026-07-17 operator review: - D1 control-plane line_uuid with persisted line_hash_id mapping - D2 sidecar metadata contract v2 (+ reserved in-config key for a future fork); stock sing-box strict parsing verified against upstream source - D3 dual-track per-line user write path, adopted-first, unique user name rule - D4 Sub-Store stays a separate companion: preview, persisted endpoint, auto-sync - D5 plugin merge explicitly rejected Includes docs/contracts/lattice-singbox-metadata-v2.schema.json with valid/invalid fixtures (validated with Draft 2020-12).
This was referenced Jul 17, 2026
This was referenced Jul 21, 2026
Closed
lr00rl
marked this pull request as ready for review
July 22, 2026 12:44
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.
Summary
Design-15 decision record + sidecar metadata contract v2 for the vpn-core deep-optimization program (operator review 2026-07-17).
line_uuidper line, persistedline_hash_id ↔ line_uuidmapping/etc/sing-box/lattice-metadata.jsonschema v2 (+ reserved in-config_latticekey for a future fork); stock sing-box strict parsing re-verified against upstream source (v1.11.15 / v1.13.14 / v1.14.0-alpha all reject unknown fields)sb user add/delfirst, managed render second), unique per-usernameruleContract artifacts
docs/contracts/lattice-singbox-metadata-v2.schema.json(JSON Schema 2020-12)Verification
Refs: design-09, design-12, design-14, ADR-001.