docs: healer passive mode, syncing status in Manage UI, WorkOS sign-in update#12
Open
morfeusys wants to merge 4 commits into
Open
docs: healer passive mode, syncing status in Manage UI, WorkOS sign-in update#12morfeusys wants to merge 4 commits into
morfeusys wants to merge 4 commits into
Conversation
Both /cloud/sharing-apps and /cloud/app-sharing were listed in the sidebar. app-sharing.md is the comprehensive, up-to-date page added when the feature shipped; sharing-apps.md is the earlier stub. Remove the stale entry so users see a single link.
The Tips section pointed to the old /cloud/sharing-apps page. Update it to the canonical /cloud/app-sharing page, consistent with the link already used in the "Sharing with Shmastra Cloud" section of the same file and with the nav cleanup in this PR.
Both scripts were added as part of the GitLab project auto-sync feature (shmastra-cloud #8 / #9) but were missing from the sandbox scripts list in architecture.md. Also note that the same file set is now shipped via three paths (template build, bootstrap-files overlay, update pipeline), not just baked into the template.
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.
What changed and why
Five documentation gaps found by auditing recent commits in
shmastra,shmastra-cloud, andshmastra-widgetagainst the current docs.1.
docs/cloud/day-2/healer-agent.md— passive modeThe old doc said the healer "stops to avoid infinite loops" after 3 failed attempts. That was incorrect: the healer now enters passive mode — it keeps health-polling every 20 s but skips agent invocations, and exits passive mode automatically when health recovers.
Changes:
broken + passive mode → readypathbroken" to reflect that the sandbox may self-recoverSource commit:
5e7274e(Add passive mode to healer after max failed heal attempts) inshmastra-cloud.2.
docs/cloud/manage-ui/sandbox-table.md—syncingstatus + GitLab repo iconTwo things were missing from the sandbox table reference:
syncingstatus (added when GitLab auto-sync was introduced) was absent from both the Columns status list and the Status meanings tableChanges:
syncingto the Status column description and the Status meanings table (with a link to Project persistence)brokendescription to mention passive mode (consistent with healer-agent.md)projectstableSource commit:
94bf5c4(rework PR #9) inshmastra-cloud.3.
docs/cloud/setup/workos.md— magic-code sign-in flowThe setup page described sign-in as "users see a hosted sign-in page" (WorkOS's hosted UI). This was replaced by an internal magic-code form: the user enters their email on Shmastra Cloud's own page, WorkOS delivers a one-time code, and after entering it the user is returned to the page they were trying to reach via the
returnToparameter.Changes:
/callbackredirect URI is used forSource commit:
f6946b7(Add returnTo flow for magic-code sign-in) inshmastra-cloud.4.
docs/cloud/architecture.md— sandbox scripts listThe Key files section listed only
ecosystem.config.cjs,start.sh, andhealer.mtsunderscripts/sandbox/. Two scripts added as part of the GitLab project auto-sync feature were missing:project-watcher.sh— inotifywait-driven git auto-commit/push daemon (runs only when GitLab is configured)sync.sh— force-pull script triggered by the git proxy on external pushesAlso updated the description to note that these files are now shipped via three paths (E2B template build, provision-time overlay via
lib/bootstrap-files.ts, and the update pipeline) rather than only baked into the template.Source commits:
94bf5c4(PR #9) inshmastra-cloud.5.
docs/.vitepress/config.ts— remove duplicate nav entryBoth
/cloud/sharing-appsand/cloud/app-sharingwere listed under "Running Cloud" in the sidebar.app-sharing.mdis the comprehensive, up-to-date page added when app sharing shipped;sharing-apps.mdis the earlier stub. Removed the stalesharing-appsentry so users see a single link.