Skip to content

feat(code): complete worker initialization wizard - #66

Merged
danii1 merged 2 commits into
mainfrom
feat/worker-init-writes-workspace
Aug 26, 2026
Merged

feat(code): complete worker initialization wizard#66
danii1 merged 2 commits into
mainfrom
feat/worker-init-writes-workspace

Conversation

@danii1

@danii1 danii1 commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • make devintern worker init create and safely configure the workspace for the current repository
  • add login and workspace-scoped relay onboarding, including tracker and GitHub repository registration
  • generate user-level systemd or launchd service definitions for persistent workers
  • start the dashboard by default, support --no-ui, and keep workers alive if dashboard startup fails
  • route workspace state and single-repository events consistently, including tracker relay events without GitHub credentials
  • update worker, workspace, relay, dashboard, and changelog documentation

This completes the wizard/workspace slice of the unattended worker roadmap. Scheduling, quiet hours, dashboard retry controls, GitHub App installation guidance, configuration reload, and the later concurrency/remote execution work remain separate follow-ups.

Behavior

The recommended setup is now:

  1. Run devintern worker init in a repository.
  2. Sign in and connect the relay when prompted.
  3. Install the generated background service.
  4. Confirm the worker through http://localhost:4400.

Existing workspaces are not silently repointed to a different repository. Additional repositories must be imported explicitly.

Validation

  • root format, lint, and typecheck hooks passed
  • full monorepo pre-push test and typecheck pipeline passed
  • @getdevintern/code: 893 tests passed, 0 failed
  • production @getdevintern/code bundle built successfully with dashboard UI
  • git diff --check passed

…login

worker init from a package subdirectory skipped the repo .env, so the
workspace file stayed empty. SSH/mosh sessions now print a copy-session
or tunnel path instead of hanging on a local browser callback.

Co-authored-by: Cursor <cursoragent@cursor.com>
@danii1
danii1 merged commit a1b9acd into main Aug 26, 2026
1 check passed
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