Skip to content

feat(context): surface registered device class in gds context - #170

Merged
rldyourmnd merged 2 commits into
mainfrom
feat/context-device-class
Sep 15, 2026
Merged

rldyourmnd merged 2 commits into
mainfrom
feat/context-device-class

Conversation

@rldyourmnd

Copy link
Copy Markdown
Contributor

Summary

  • gds context now binds the device-local locator device_id to exactly one estate/devices/*.yaml under the proven estate root and reports it as context.device (including class.profile / gui / docker_mode / execution_policy).
  • gds-orient reads that object instead of inferring the host. Missing locator omits the field; a device_id with no descriptor is GDS_CONTEXT_DEVICE_DESCRIPTOR_MISSING.
  • Device-class tests now lock the bootstrap contract map, reject linux arm64 desktop-server, and round-trip a rootful desktop-server descriptor.

Test plan

  • go test ./...
  • python3 -m pytest tests/test_bootstrap_device.py
  • gds context --json on a registered desktop-server shows device.class.docker_mode

Made with Cursor

rldyourmnd and others added 2 commits September 15, 2026 15:56
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>
@rldyourmnd
rldyourmnd merged commit 0771492 into main Sep 15, 2026
8 checks passed
@rldyourmnd
rldyourmnd deleted the feat/context-device-class branch September 15, 2026 11: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.

1 participant