Skip to content
This repository was archived by the owner on Nov 15, 2026. It is now read-only.

feat: sign in to ModioHub and simulate Workspace Thing Models (POLL-02b) - #35

Merged
gavinying merged 3 commits into
v2from
poll-02b-login
Nov 12, 2026
Merged

gavinying merged 3 commits into
v2from
poll-02b-login

Conversation

@gavinying

Copy link
Copy Markdown
Collaborator

POLL-02b: sign in to ModioHub and simulate Workspace Thing Models. Version 2.0.0a9, pinned to the released modpoll-wot 0.5.0a1; it also ships the SIM-06 fixes merged since 2.0.0a8.

  • modsim login / logout: browser authorization (RFC 8628); the 7-day tool session is kept in the credentials file shared with modpoll.
  • --config modiohub:<id>@<version>: reads a custom Thing Model with the login (a shared one without); the token only goes to the server it was issued for; the download is checked against the server's SHA-256. Deployment manifests keep refusing it, so a hosted deployment never carries a login.

Verified: pytest (138 passed, 5 skipped; 10 new), mypy, deptry, uv lock; end to end with a local ModioHub site and a real browser confirmation (modsim login, simulate a private model, modpoll reads and uploads with the shared login).

🤖 Generated with Claude Code

gavinying and others added 3 commits November 12, 2026 20:02
modsim login runs the browser authorization flow and keeps the tool session in the
credentials file shared with modpoll; logout forgets it. --config modiohub:<id>@<version>
reads a custom Thing Model with the login (a shared one without), checked against the
SHA-256 the server states. Deployment manifests keep refusing it so a hosted deployment
never carries a login. Needs modpoll-wot 0.5.0a1, which is not released yet.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
….0a1

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@gavinying
gavinying merged commit 020be9f into v2 Nov 12, 2026
19 of 22 checks passed
@gavinying
gavinying deleted the poll-02b-login branch November 12, 2026 12:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant