Skip to content

docs(operate): the Docker Compose trial's page moves to the docs - #910

Merged
pdettori merged 2 commits into
rossoctl:mainfrom
pdettori:docs/operate-compose
Nov 19, 2026
Merged

pdettori merged 2 commits into
rossoctl:mainfrom
pdettori:docs/operate-compose

Conversation

@pdettori

Copy link
Copy Markdown
Member

Summary

This is step 5 of the docs migration, first deployment path: the Docker Compose trial. The plan is one PR per path: Compose, single VM, Kubernetes, the microVM tier, and the sandbox service. Each moves a deploy/* README's operator content into docs/operate/ and leaves the README as a short pointer.

  • docs/operate/harness/compose.md (new) is the operator half of deploy/compose/README.md: try it, what runs, configuration, using mocactl, upgrading, what the trial does not claim, and detachable turns. It goes under a new Deploy and operate › Harness sidebar category.
  • deploy/compose/README.md keeps its intro and a pointer to the page. It also keeps what applies to working from a checkout: running local builds (docker-compose.build.yml) and the tests.
  • Links:
    • Links from docs/, and every link to one of the moved sections (#using-mocactl-the-control-plane), now point at the new page. That covers the operate chooser, the dispatch-archetypes concept, set up mocactl, hardening, the configuration reference and the control-plane package README.
    • Links from deploy/ and package READMEs to the README itself stay as they are, since the README still points the way.

No content lost: all 238 non-blank lines of the old README are in one of the two files.

Testing (from a clean clone of the branch)

  • make check-links: 231 files, 0 broken links.
  • scripts/check-docs-publish.sh: 78 published files, no matches.
  • scripts/check-docs-site.sh: 56 pages, no broken links or anchors. The sidebar shows Deploy and operate › Harness › Docker Compose (trial).
  • Prettier 3.10.1 is clean.

Assisted-By: Claude Code

Step 5 of the docs migration, first path: the operator half of
deploy/compose/README.md (try it, what runs, configuration, using
mocactl, upgrading, what the trial does not claim, detachable turns)
becomes docs/operate/harness/compose.md, under a new Deploy and operate
> Harness category. The README keeps its intro, a pointer to the page,
and what applies to a checkout (running local builds, the tests).

Links from the docs, and every link to one of the moved sections, follow
the move; links from deploy/ and package READMEs to the README itself
stay, since it still points the way. Every line of the old README is in
one of the two files.

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
@pdettori
pdettori marked this pull request as ready for review November 19, 2026 03:13
@pdettori
pdettori requested a review from cwiklik as a code owner November 19, 2026 03:13

@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.

Review — docs: the Compose trial's operator content moves to the docs site

Docs-only move of deploy/compose/README.md's operator half into a new docs/operate/harness/compose.md, with the README kept as a pointer plus the checkout/test material.

Verified

  • Nothing lost: all 238 non-blank lines of the old README appear in the new page or the trimmed README. The only 3 that differ are the lines whose link targets changed (deploy/vm/env, the SH_MODEL_CATALOG_HOSTS row, the control-plane README link).
  • No stale anchors: no compose/README.md#… link remains anywhere in the tree, and all six rewritten relative links resolve from their new locations.
  • Checks: make check-links (231 files, 0 broken) and scripts/check-docs-publish.sh (78 published files) pass locally at 4123b54. The docs job, Build the rossoctl.dev Moca section and lint are green on CI, so the page builds and the sidebar accepts the new category.
  • Behaviour claims spot-checked against the code: GET /v1/discovery → SH_PUBLIC_HARNESS_URL: http://127.0.0.1:${SH_PORT} (deploy/compose/docker-compose.yml:174), user: '1000:1000', SH_CREDENTIAL_STORE: file on the moca-credentials volume, SH_GITHUB_CLIENT_ID required (packages/control-plane/src/main.ts:151), and the detach defaults 1800 / 86400 (harness/src/turn-registry.ts:60-61).

One series-level point (not blocking). This is the first PR that puts a deployment path's install/run content under docs/operate/, but two governing docs still describe the old home:

  • docs/CONTRIBUTING-DOCS.md § Where things go says "How to install or run one deployment path → Next to its scripts: deploy/<path>/README.md".
  • docs/REORG-PLAN.md:425 still records deploy/compose/README.md as "keep in place; get-started/backend-compose.md entry".

Since four more paths follow, amend one of them (or add a sentence to this PR's series) so the next contributor does not read the convention and recreate the README.

Author: pdettori (MEMBER — maintainer). Agent/IDE config: none. Commits: 1, signed off. CI: 16 passing, 4 pending (check, deploy-scripts, deploy-scripts-bash32, k8s-kind-e2e).

Comment thread docs/operate/harness/compose.md Outdated
> **Preview, trial only.** This path is a trial by design and will not be promoted to Stable. For production see
> [`deploy/vm/`](../../../deploy/vm/README.md) or [`deploy/k8s/`](../../../deploy/k8s/README.md); labels are explained in [Maturity and lifecycle](../../reference/maturity-and-lifecycle.md).

A five-minute, no-root way to run the P6 runtime on a dev machine: the supervisor (with its worker

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

suggestion: P6 is introduced here without its gloss. CONTRIBUTING-DOCS.md asks pages under docs/ to introduce milestone IDs on first use ("'P6' and 'P4' are milestone IDs (process manager and microVM sandboxes)"); the README's H1 used to carry "(P6 process-manager runtime)", so this is new. Now the first use is bare, and P4 is bare again at line 238. Consider "the P6 (process-manager) runtime" here and "the P4 microVM tier" there.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed in a7b3852: "the P6 (process-manager) runtime" on first use, and "The P4 microVM tier stays bare-metal/systemd-only" at the limits.

Comment thread docs/operate/harness/compose.md Outdated

# Docker Compose (trial)

> **Preview, trial only.** This path is a trial by design and will not be promoted to Stable. For production see

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

nit: the banner states the label correctly, but not in the verbatim Preview form CONTRIBUTING-DOCS.md prescribes for install pages (> **Preview.** … Known limits: <link>), and it does not link the limits. Now that this is a docs install page rather than a README, either use the template or adjust the template in the same change as the Where things go table above — and point "Known limits" at What the trial does not claim below.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed in a7b3852. The banner is now the template verbatim, "> Preview. The Docker Compose trial is implemented but not yet declared Stable; interfaces and limits may change. Known limits: What the trial does not claim.", followed by the trial-by-design sentence and the production pointers. I kept the template as is: an install page in docs/operate/ fits it, so only "Where things go" needed changing (next comment).

…milestone glosses)

- CONTRIBUTING-DOCS.md "Where things go": how to install or run one
  deployment path is now a page in docs/operate/, and its
  deploy/<path>/README.md keeps a pointer and what applies to a checkout,
  so the next path does not recreate the README. REORG-PLAN.md's compose
  row records the move.
- The Compose page's banner uses the Preview template verbatim, its
  Known limits pointing at "What the trial does not claim", then says it
  is a trial by design.
- P6 and P4 are glossed on first use on the page: "the P6
  (process-manager) runtime", "the P4 microVM tier".

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

Copy link
Copy Markdown
Member Author

On the series-level point: done in a7b3852, so the next four paths don't recreate the README.

  • docs/CONTRIBUTING-DOCS.md, "Where things go": "How to install or run one deployment path" now points at a page in docs/operate/ (harness/<path>.md, or under sandbox-service/). The path's deploy/<path>/README.md keeps a pointer and what applies to a checkout (local builds, tests).
  • docs/REORG-PLAN.md: the compose row now reads "moved to docs/operate/harness/compose.md (docs(operate): the Docker Compose trial's page moves to the docs #910); the README keeps a pointer". That's a one-line diff, since the cell isn't the widest in its column.

From a clean clone: make check-links 231 files, 0 broken; publish check 78 files; site build 56 pages, no broken links.

@pdettori
pdettori merged commit 3e7065c into rossoctl:main Nov 19, 2026
18 checks passed
@pdettori
pdettori deleted the docs/operate-compose branch November 19, 2026 03:33
@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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants