feat(context): surface registered device class in gds context - #170
Merged
Merged
Conversation
gds-orient told agents to report profile/gui/docker_mode from the resolved device, but context never loaded the locator's descriptor. Bind estate-registration.json to exactly one estate/devices/*.yaml after the estate root is proven. Co-authored-by: Cursor <cursoragent@cursor.com>
Canonical skill and contract edits moved the source-tree digest; regenerate the lock and gds-ci header so context provenance matches. Co-authored-by: Cursor <cursoragent@cursor.com>
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
gds contextnow binds the device-local locatordevice_idto exactly oneestate/devices/*.yamlunder the proven estate root and reports it ascontext.device(includingclass.profile/gui/docker_mode/execution_policy).gds-orientreads that object instead of inferring the host. Missing locator omits the field; adevice_idwith no descriptor isGDS_CONTEXT_DEVICE_DESCRIPTOR_MISSING.desktop-server, and round-trip a rootful desktop-server descriptor.Test plan
go test ./...python3 -m pytest tests/test_bootstrap_device.pygds context --jsonon a registered desktop-server showsdevice.class.docker_modeMade with Cursor