Skip to content

Fix device enrollment contract for RC host - #257

Merged
AetherAI3 merged 1 commit into
mainfrom
codex/issue107-agent-enroll-contract
Oct 1, 2026
Merged

AetherAI3 merged 1 commit into
mainfrom
codex/issue107-agent-enroll-contract

Conversation

@AetherAI3

Copy link
Copy Markdown
Owner

Fix the Aether Agent device enrollment request and response to match the deployed Cloud /device/v1/enroll contract. The prior CLI sent display_name and client, which Cloud rejects with HTTP 422, and expected device_command_key, which Cloud does not return. This blocked the enrolled identity required by aether rc start and Predator #107.

The CLI now sends client_label and an empty project allowlist, checks the 32-byte command key, and saves the Cloud command_key_hex as its existing local device key. The local display name stays local.

Verification: build passed; device command and RC suite passed (213 tests); authenticated live enrollment succeeded; aether rc start opened a real owner-bound RC session and minted an observer invitation without exposing the token in logs. GitHub Actions remain unavailable due account billing lock, so this uses the approved local suite.

@AetherAI3
AetherAI3 merged commit c59db74 into main Oct 1, 2026
2 of 7 checks passed
@AetherAI3
AetherAI3 deleted the codex/issue107-agent-enroll-contract branch October 1, 2026 22:47
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