Skip to content

docs(deploy): call the sandbox service by its product name, not an internal deployment's - #885

Merged
pdettori merged 7 commits into
rossoctl:mainfrom
pdettori:docs/sbx-prose
Nov 18, 2026
Merged

pdettori merged 7 commits into
rossoctl:mainfrom
pdettori:docs/sbx-prose

Conversation

@pdettori

Copy link
Copy Markdown
Member

Summary

This PR is a follow-up to #884 and is stacked on it; review only the last commit.

The prose docs outside docs/ called the sandbox service SBX0, which is the name of one internal deployment. The runbook also said the service was "implemented for an internal cohort". The rossoctl.dev pages link to these READMEs on GitHub. Moca is open source for self-hosting, so these pages now say "the sandbox service", or "a sandbox-service deployment / namespace", and drop the internal phase tags (SBX0.2b, SBX0.3).

Files: deploy/sbx/README.md, deploy/sbx/RUNBOOK.md, deploy/sbx/template-onboarding/{README,GUIDE,ONBOARDING,governance/PROCESS}.md, deploy/microvm/P4-ON-P6.md, packages/mocactl/README.md. That's 47 lines changed, all wording; no command, flag, variable or path changes.

Kept on purpose: code and code comments, which may keep SBX0 per the maintainer. The design records (docs/specs, docs/notes, docs/adrs) and their file names also keep it, so links into them still carry sbx0 in the URL, but no page shows it as link text.

Testing

  • make check-links: 216 files, 0 broken links.
  • git grep -iE 'sbx[0-9]|cohort' -- '*.md' ':!docs' finds only spec link targets and one anchor into docs/notes/sandbox-security-review.md.
  • No test asserts the old headings. The one hit, in attach-token.test.ts, is a code comment.
  • Prettier 3.10.1 is clean.

Assisted-By: Claude Code

@pdettori
pdettori marked this pull request as ready for review November 18, 2026 12:37
@pdettori
pdettori requested a review from cwiklik as a code owner November 18, 2026 12:37
@pdettori pdettori added the ready-for-ai-review Request automated AI code review from clawgenti label Nov 18, 2026
@pdettori
pdettori force-pushed the docs/sbx-prose branch 3 times, most recently from 69c0a93 to 72f559e Compare November 18, 2026 16:47
`mocactl sbx --help` printed "usage (the sandbox service, SBX0):". SBX0 is
the name of one internal deployment of the sandbox service, which is
open source for self-hosting, so the line is now "usage (the sandbox
service):". deploy/sbx/smoke.sh accepts both lines, so it still passes
against a mocactl released before this change.

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
…b internal names

The pages that go live at rossoctl.dev/moca (rossoctl/.github#227):

- docs/index.md: what moca is, its two capabilities (the sandbox
  service and the harness), how they relate, which to use, and a path
  per audience.
- docs/get-started/index.md: the "I want to..." chooser and the
  client install.
- docs/sandbox/quickstart.md and docs/harness/quickstart.md: a
  first run of each capability.
- docs/operate/index.md: which deployment delivers which capability.
- README.md: trimmed to a funnel into these pages.
- _category_.json per folder for the site's sidebar.

Moca is open source for self-hosting, so the published pages no longer
name internal deployments (SBX0, SBX1), cohorts or IBM-internal SSO:

- docs/sbx/user-guide.md moves to docs/sandbox/user-guide.md (an
  unlisted stub stays at the old path, which deployed control planes
  print).
- docs/sbx/security-review.md moves to docs/notes/.
- docs/guides/oidc-login-w3id.md becomes the provider-neutral
  docs/guides/oidc-login.md.
- openapi.yaml, the API changelog, the direct-client guide, its
  examples and the configuration reference cite specs by subject, not
  by internal name.

Fixes from the docs audit: `docker compose down` keeps sessions and
credentials (only `down -v` removes them); the sandbox service's signing
key is rotated by removing the one key, as RUNBOOK §6 says, not the
whole Secret; first-run no longer says async fan-out is unavailable on
P6; the two top-level "moved to archive/" stubs are removed.

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
scripts/check-docs-publish.sh (make check-docs-publish, and the CI docs
job) runs the check rossoctl.dev's sync runs: every docs/ file it
publishes (all but specs, notes, plans, archive, demos, ADRs and
REORG-PLAN.md) against SBX[0-9] and docs/.publish-denylist, which now
also matches the lowercase spelling a link target carries. A match
fails here instead of silently taking the site's Moca section down.

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
…ut status

The README's Evidence and Roadmap sections, dropped by the trim, now
live on docs/project/index.md, a draft page on the site that also points
at the ADRs on GitHub. The README and the landing page link to it.

deploy/k8s/README.md §14 now says async fan-out is single-tenant in
v0.10.0: multi-tenant async (grants at dequeue, rossoctl#388) is in progress on
main and targeted for v0.12.0.

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
check-docs-publish.sh tested `grep` with `if`, so a scan that failed
(exit 2, e.g. a malformed pattern in docs/.publish-denylist) read as no
match and passed. It now keeps grep's status: 1 passes, 0 fails with the
matching lines, 2 or more fails as a broken scan. Same fix as the site's
sync step (rossoctl/.github#227 review).

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
…ossary dispatch)

- check-docs-publish.sh: a missing or unreadable docs/.publish-denylist
  now fails the check (exit 2) instead of scanning with SBX[0-9] alone
  and passing; only grep's no-match status on a comment-only file is
  absorbed.
- README: the laptop's *source* files stay untouched until the patch is
  applied, apart from the agent configuration `mocactl sbx up` writes;
  the documentation link is unconditional, with no placeholder.
- The six `<!-- Sources -->` footers are dropped: they cited source
  line numbers that drift, and no other page has them.
- glossary: archetype A runs on P6 again, opt-in behind SH_ASYNC_DRAIN=1
  and single-tenant in v0.10.0, through POST /v1/sessions/{id}/turns;
  only C has no P6 design (rossoctl#536). The leaf entry says the same.

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
…ternal deployment's

The deploy/sbx README, runbook and template-onboarding guides, the P4
page and the mocactl README called the sandbox service "SBX0", the name
of one internal deployment, and the runbook said it was "implemented for
an internal cohort". Moca is open source for self-hosting: these pages
now say "the sandbox service" (or "a sandbox-service deployment"), and
drop the internal phase tags (SBX0.2b, SBX0.3).

Code and code comments keep the SBX0 name, as do the design records
(docs/specs, docs/notes, docs/adrs) and their file names, which links
still point at.

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>

@ingpaolodettori-dev ingpaolodettori-dev left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Author: pdettori (MEMBER — maintainer)
Areas reviewed: the PR's only commit 352453a3 (8 markdown files under deploy/ and packages/mocactl/README.md); #884 merged at 2026-11-18T18:42Z, so the PR now diffs exactly that commit against main
Agent/IDE config (.claude/.vscode): none
Commits: 1 commit (352453a3), DCO signed off
CI status: all 17 checks green at this head, including proto, k8s-kind-e2e, deploy-scripts and deploy-scripts-bash32

Wording-only as claimed (8 files, 47/47):

  • no command, flag, variable or path changed; the table in template-onboarding/README.md only re-pads to its narrower first column;
  • the two renamed headings (# Sandbox service, # Sandbox service operator runbook) have no inbound anchor references; every existing link into these two files uses a section anchor that was not renamed;
  • git grep -niE 'sbx[0-9]|cohort' -- '*.md' ':!docs' leaves only the three spec link targets and the anchor docs/notes/sandbox-security-review.md#7-lease-mode-level-2-sbx03-draft, as the body says; SBX0 remains only in code comments and the design records;
  • the published docs/ tree carries no SBX[0-9], so check-docs-publish.sh stays green;
  • the re-padded tables and headings are Prettier-consistent (lint green).

proto failed at "Build and test remote-worker" earlier in this batch and passed on re-run at this head.

No findings.

Assisted-By: Claude Code

@pdettori
pdettori merged commit 28db50d into rossoctl:main Nov 18, 2026
23 of 24 checks passed
webchang added a commit to webchang/moca that referenced this pull request Nov 19, 2026
Brings 15 upstream merges since 2eb0219, among them the R2 host sampler
in its reviewed form (rossoctl#904), the workspace-reset marker (rossoctl#895), turn
budgets and cancel (rossoctl#856), the egress allow-all option (rossoctl#886), the sbx
installer token (rossoctl#888), and the docs site with the product-name prose
(rossoctl#884, rossoctl#885, rossoctl#899).

One conflict, deploy/sbx/template-onboarding/README.md: upstream's
product-name wording for the deploy/sbx table, keeping the fork's
mint-login.sh row.

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Rong Chang <[email protected]>
@pdettori pdettori added this to the v0.11.0 milestone Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-ai-review Request automated AI code review from clawgenti

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants