Skip to content

feat(protocol): return owner-selected source identity - #34

Merged
Teakowa merged 5 commits into
mainfrom
feat/project-target-1-2
Sep 13, 2026
Merged

Teakowa merged 5 commits into
mainfrom
feat/project-target-1-2

Conversation

@e54-bot

@e54-bot e54-bot commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

Return an optional sourceIdentity SHA-256 field from entry-based lpp/compile results so consumers can preserve source identity for provider-owned directory targets. Update the conformance mock, fixtures, and protocol specification.

Refs wrightkit/wright#317

@Teakowa Teakowa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

spec/lpp-v1.md / sourceIdentity: this silently changes already released LPP 1.1/1.2 behavior without a negotiable contract. Fixtures 36/40 now require the field for 1.1 and fixture 41 requires it for 1.2, while the spec calls it OPTIONAL and says the provider MUST return it only “when the client requires” it; there is no request field or advertised capability for that requirement. Section 19 also says clients must not depend on optional fields that were not advertised, but Wright #318 rejects a directory compile when this field is absent. A provider conforming to v1.2.0 can therefore fail the new consumer path. Version/negotiate this addition (for example, a new protocol minor with explicit mandatory/advertised source-identity semantics) and keep the released 1.1/1.2 contracts compatible.

Preserve the released LPP 1.1 and 1.2 compile response shapes while adding an advertised sourceIdentity capability for LPP 1.3 entry-based compilation.

@Teakowa Teakowa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Teakowa
Teakowa merged commit 7456e62 into main Sep 13, 2026
2 checks passed
@Teakowa
Teakowa deleted the feat/project-target-1-2 branch September 13, 2026 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants