Repository navigation
docs(operate): the Docker Compose trial's page moves to the docs - #910
Conversation
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]>
ingpaolodettori-dev
left a comment
There was a problem hiding this comment.
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, theSH_MODEL_CATALOG_HOSTSrow, 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) andscripts/check-docs-publish.sh(78 published files) pass locally at4123b54. Thedocsjob,Build the rossoctl.dev Moca sectionandlintare 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: fileon themoca-credentialsvolume,SH_GITHUB_CLIENT_IDrequired (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:425still recordsdeploy/compose/README.mdas "keep in place;get-started/backend-compose.mdentry".
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).
| > **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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Fixed in a7b3852: "the P6 (process-manager) runtime" on first use, and "The P4 microVM tier stays bare-metal/systemd-only" at the limits.
|
|
||
| # Docker Compose (trial) | ||
|
|
||
| > **Preview, trial only.** This path is a trial by design and will not be promoted to Stable. For production see |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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]>
|
On the series-level point: done in a7b3852, so the next four paths don't recreate the README.
From a clean clone: |
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 intodocs/operate/and leaves the README as a short pointer.docs/operate/harness/compose.md(new) is the operator half ofdeploy/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.mdkeeps 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.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.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).Assisted-By: Claude Code