From 5f412d4407aba468f82d5812710e7f3ca86bfa62 Mon Sep 17 00:00:00 2001 From: Anand Gawai Date: Sun, 22 Nov 2026 08:24:04 +0530 Subject: [PATCH] docs: describe how OpenAMRobot releases are built and verified Replace three empty templates under reference/openamrobot-release with the release concepts, the build and verify procedure, and the repository files, outputs and limits, checked against openamrobot-release main at a8f60f6. v2.0.0-rc.1 and v2.0.0 are shown as not published; only v0.0.1 is released. Co-Authored-By: Claude Sonnet 5.5 Signed-off-by: Anand Gawai --- CHANGELOG.md | 6 ++ .../reference/openamrobot-release/concepts.md | 69 +++++++------- .../openamrobot-release/reference.md | 72 +++++++------- docs/reference/openamrobot-release/setup.md | 94 ++++++++++++------- 4 files changed, 145 insertions(+), 96 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1792c54..a76dc2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to the OpenAMRobot documentation site are recorded here. The format follows Keep a Changelog; the site has no version numbers, so entries are dated. +## 2026-11-22 + +### Changed + +- `reference/openamrobot-release/` concepts, setup and reference pages: replaced three empty templates with how product releases are built, how to verify and rebuild an archive, and the repository's files, outputs and limits, checked against openamrobot-release `main` at a8f60f6. v2.0.0-rc.1 and v2.0.0 are shown as not published, and only v0.0.1 is released. + ## 2026-11-10 ### Changed diff --git a/docs/reference/openamrobot-release/concepts.md b/docs/reference/openamrobot-release/concepts.md index bc80580..484610d 100644 --- a/docs/reference/openamrobot-release/concepts.md +++ b/docs/reference/openamrobot-release/concepts.md @@ -1,48 +1,53 @@ --- -title: Concepts +title: Release concepts +description: How OpenAMRobot product releases are built from several repositories, what is frozen, and how to read the version table. --- -
Under development

Concepts

Provide the learning-layer reference for concepts and point to its owning repository.

OpenAMRobot logo
+
Experimental

How releases work

One frozen, checksummed archive for a platform that lives in many repositories.

OpenAMRobot logo
-!!! info "Documentation framework" - This page is part of the approved OpenAMRobot knowledge architecture. It is intentionally published before full content is complete so contributors can fill it consistently. Do not treat unfinished guidance as a validated build or deployment instruction. +## For -## What this page should contain +Anyone who needs to reproduce, study or cite a specific state of the OpenAMRobot platform, rather than the moving `main` branches. -- **Audience and outcome:** who uses this page and what verified state they should reach. -- **Prerequisites:** required skills, tools, hardware, software, configuration and safety conditions. -- **Concept or procedure:** concise explanation followed by ordered, reproducible steps where applicable. -- **Verification:** observable output, measurement, test or acceptance criterion. -- **Troubleshooting:** likely failures, evidence to collect and safe recovery actions. -- **Next step:** one clear continuation in the ownership or development path. +**When you finish:** you will know what a product release contains, why component tags are only a convenience, and which versions exist and which are still planned. -## Content template +**Applies to:** the process described in the [`openamrobot-release`](https://github.com/openAMRobot/openamrobot-release) repository README. -| Field | To complete | -| --- | --- | -| For | Name one primary reader: operator, builder, integrator or developer | -| Before you start | List exact prerequisites or state “nothing” | -| When you finish | Describe a measurable outcome | -| Capability status | Stable, beta, experimental, planned, community or partner-supported | -| Applies to | Release, hardware revision and configuration | -| Safety | Hazards, limits, stop conditions and required supervision | -| Verification | What the reader should see, hear, measure or test | +## The idea -### Procedure or explanation +OpenAMRobot is developed across several repositories. A GitHub source archive covers only one repository, and the archive of the release repository contains only the release builder. So the official product-level release is a custom archive, built by `openamrobot-release`, that combines the participating repositories. -1. Establish the starting state. -2. Complete one action or concept per subsection. -3. Record commands, parameters, screenshots or measurements where useful. -4. Verify the result before continuing. +According to the repository README: -### If it did not work +- Each release is a GitHub release in `openamrobot-release`. It carries an immutable source archive of every component repository. +- A `MANIFEST.json` records the exact commit and archive checksum of each component. `checksums.sha256` covers every file. +- A published release is never edited. A correction is a new release. +- `main` in a component repository is never a release. -Document symptoms separately from causes. Include diagnostic evidence and a safe rollback or escalation path. +## Component tags are for navigation -## Owning OpenAMRobot source +Component repositories carry a tag with the release version, on the commit that `MANIFEST.json` records. The tags let you open a component at its release state. If a component tag and the release archive ever disagree, the archive is authoritative. -- [openamrobot-release](https://github.com/openAMRobot/openamrobot-release) – canonical source, versions, implementation and issue history. +The README notes that the `v0.0.1` component tags were added on 6 October 2026, after the release, and that they point to the commits recorded in the `v0.0.1` manifest. -## Contribution note +## Versions -Replace this framework with tested project-specific content through the normal [contribution workflow](https://github.com/openAMRobot/openamrobot-docs/blob/main/CONTRIBUTING.md). Keep exact parameters and contracts synchronized with the owning repository. +| Version | Status | What it is | +| --- | --- | --- | +| `v0.0.1` | **Released** (11 July 2026) | The first public platform release: the existing robot. | +| `v2.0.0-rc.1` | **Not published** | A pre-release candidate for OpenAMRobot 2.0. The README lists it as planned for 20 November 2026. Pre-releases are published as GitHub pre-releases. | +| `v2.0.0` | **Not published** | The planned 2.0 final release, after physical integration, testing and acceptance. The README lists 18 December 2026. | + +Checked on 22 November 2026: the GitHub releases list of `openamrobot-release` shows only `v0.0.1`. Planned dates can move, so the repository README and its releases page are the record, not this table. + +The `v2.0.0-rc.1` candidate builder exists in the repository and builds from exact commit SHAs. Its own documentation says the candidate is dated 2026-10-19 and that final component acceptance is pending. A candidate build is evidence that sources can be reproduced. It is not evidence that the robot works or is safe. + +## What a release does not prove + +- A checksum detects corruption. It is not a signature and it is not approval of the release. +- Bundling source does not validate package builds, firmware, robot operation or physical safety. +- Build-time downloads of upstream dependencies are not locked by the source bundle. + +## Next step + +[Set up and verify a release build](setup.md), or look up the [files and outputs](reference.md). diff --git a/docs/reference/openamrobot-release/reference.md b/docs/reference/openamrobot-release/reference.md index 4da8292..9ab1a39 100644 --- a/docs/reference/openamrobot-release/reference.md +++ b/docs/reference/openamrobot-release/reference.md @@ -1,48 +1,56 @@ --- -title: Reference +title: Release reference +description: The files, build outputs and known limits of the OpenAMRobot release repository. --- -
Under development

Reference

Provide the learning-layer reference for reference and point to its owning repository.

OpenAMRobot logo
+
Experimental

Release reference

What is in the release repository, what a build produces, and what it does not claim.

OpenAMRobot logo
-!!! info "Documentation framework" - This page is part of the approved OpenAMRobot knowledge architecture. It is intentionally published before full content is complete so contributors can fill it consistently. Do not treat unfinished guidance as a validated build or deployment instruction. +## For -## What this page should contain +Readers who need to know where a release fact is recorded. -- **Audience and outcome:** who uses this page and what verified state they should reach. -- **Prerequisites:** required skills, tools, hardware, software, configuration and safety conditions. -- **Concept or procedure:** concise explanation followed by ordered, reproducible steps where applicable. -- **Verification:** observable output, measurement, test or acceptance criterion. -- **Troubleshooting:** likely failures, evidence to collect and safe recovery actions. -- **Next step:** one clear continuation in the ownership or development path. +**Applies to:** [`openamrobot-release`](https://github.com/openAMRobot/openamrobot-release), checked against its `main` at `a8f60f6` on 22 November 2026. The repository, not this page, is authoritative. -## Content template +## Repository files -| Field | To complete | +| File or directory | Purpose | | --- | --- | -| For | Name one primary reader: operator, builder, integrator or developer | -| Before you start | List exact prerequisites or state “nothing” | -| When you finish | Describe a measurable outcome | -| Capability status | Stable, beta, experimental, planned, community or partner-supported | -| Applies to | Release, hardware revision and configuration | -| Safety | Hazards, limits, stop conditions and required supervision | -| Verification | What the reader should see, hear, measure or test | - -### Procedure or explanation +| `README.md` | How releases work, the version table and the included repositories. | +| `RELEASE_PROCESS.md` | The steps to build, validate and publish a release. | +| `RC1_RELEASE.md` | The SHA-pinned rc.1 candidate build procedure. | +| `release-config.json` | The v0.0.1 build configuration. | +| `release-config.rc1.json` | The rc.1 candidate configuration, with pinned SHAs and source checksums. | +| `manifests/` | Release-local snapshots of the component repositories. | +| `release-metadata/` | The release notes, known limitations and scope documents that go into a release. | +| `scripts/build_release.py`, `scripts/validate_release.py` | The builder and the validator. | +| `docs/navigation-install.md` | The navigation install gate. Its test configuration is a navigation-only fixture, not a product release configuration. | +| `STATE.md` | The working state of the builder, for maintainers. | + +## Build outputs + +A v0.0.1 build is described as producing: + +| Output | Meaning | +| --- | --- | +| `OpenAMRobot-vX.Y.Z-source.zip` | The product archive. | +| `OpenAMRobot-vX.Y.Z-source.zip.sha256` | The external checksum of the archive. | +| `OpenAMRobot-vX.Y.Z-inventory.csv` | The inventory of what the archive contains. | +| `build-report.md` | The report of the build. | -1. Establish the starting state. -2. Complete one action or concept per subsection. -3. Record commands, parameters, screenshots or measurements where useful. -4. Verify the result before continuing. +Inside an rc.1 archive, the repository documents the component checkout paths, `release.repos`, `MANIFEST.json` (repository URLs, SHAs and source hashes) and `checksums.sha256` for every other file. -### If it did not work +## Files to read in a release -Document symptoms separately from causes. Include diagnostic evidence and a safe rollback or escalation path. +`RELEASE_NOTES.md` for scope, and `KNOWN_LIMITATIONS.md` for unsupported or incomplete behaviour. Read both before relying on a release. -## Owning OpenAMRobot source +## Limits -- [openamrobot-release](https://github.com/openAMRobot/openamrobot-release) – canonical source, versions, implementation and issue history. +- Checksums detect corruption. They are not a cryptographic signature or proof of approval. +- Source bundling does not validate builds, firmware, robot operation, physical safety or release readiness. +- Upstream build-time downloads are not locked by the source bundle. +- Submodules fail explicitly until they are represented by separate pinned entries. +- A published release is never edited. A correction is a new release. -## Contribution note +## See also -Replace this framework with tested project-specific content through the normal [contribution workflow](https://github.com/openAMRobot/openamrobot-docs/blob/main/CONTRIBUTING.md). Keep exact parameters and contracts synchronized with the owning repository. +[Concepts](concepts.md), [Build and verify](setup.md), and the [repository index](../repositories.md). diff --git a/docs/reference/openamrobot-release/setup.md b/docs/reference/openamrobot-release/setup.md index 5994d77..2fe3d47 100644 --- a/docs/reference/openamrobot-release/setup.md +++ b/docs/reference/openamrobot-release/setup.md @@ -1,48 +1,78 @@ --- -title: Setup +title: Build and verify a release +description: The steps to build and verify an OpenAMRobot release archive from the release repository, and the separate rc.1 candidate build. --- -
Under development

Setup

Provide the learning-layer reference for setup and point to its owning repository.

OpenAMRobot logo
+
Experimental

Build and verify a release

Rebuild an archive from the release repository and check it against its checksum.

OpenAMRobot logo
-!!! info "Documentation framework" - This page is part of the approved OpenAMRobot knowledge architecture. It is intentionally published before full content is complete so contributors can fill it consistently. Do not treat unfinished guidance as a validated build or deployment instruction. +## For -## What this page should contain +Maintainers and reviewers who need to rebuild or independently check a release archive. If you only want to use a release, download the published archive and verify its checksum. -- **Audience and outcome:** who uses this page and what verified state they should reach. -- **Prerequisites:** required skills, tools, hardware, software, configuration and safety conditions. -- **Concept or procedure:** concise explanation followed by ordered, reproducible steps where applicable. -- **Verification:** observable output, measurement, test or acceptance criterion. -- **Troubleshooting:** likely failures, evidence to collect and safe recovery actions. -- **Next step:** one clear continuation in the ownership or development path. +**When you finish:** you will have built an archive, run the validator on it, and checked its external checksum. -## Content template +**Applies to:** the procedures in `RELEASE_PROCESS.md` and `RC1_RELEASE.md` of [`openamrobot-release`](https://github.com/openAMRobot/openamrobot-release). These documents change with the repository, so read the current copy before you run anything. The commands below are summarised from them and have not been run by the documentation team. -| Field | To complete | -| --- | --- | -| For | Name one primary reader: operator, builder, integrator or developer | -| Before you start | List exact prerequisites or state “nothing” | -| When you finish | Describe a measurable outcome | -| Capability status | Stable, beta, experimental, planned, community or partner-supported | -| Applies to | Release, hardware revision and configuration | -| Safety | Hazards, limits, stop conditions and required supervision | -| Verification | What the reader should see, hear, measure or test | +## Before you start -### Procedure or explanation +- Python 3.10 or newer, Git, and network access to the pinned repositories (for the rc.1 candidate). +- A clone of `openamrobot-release`. +- Nothing here touches a robot. -1. Establish the starting state. -2. Complete one action or concept per subsection. -3. Record commands, parameters, screenshots or measurements where useful. -4. Verify the result before continuing. +## Verify a downloaded release -### If it did not work +For a published release, check the archive against its external checksum file: -Document symptoms separately from causes. Include diagnostic evidence and a safe rollback or escalation path. +```sh +sha256sum -c OpenAMRobot-v0.0.1-source.zip.sha256 +``` -## Owning OpenAMRobot source +Replace the file name with the version you downloaded. The archive also holds `MANIFEST.json` and `checksums.sha256`, which list the component commits and the checksums of the files inside. -- [openamrobot-release](https://github.com/openAMRobot/openamrobot-release) – canonical source, versions, implementation and issue history. +## Build the v0.0.1 archive -## Contribution note +`RELEASE_PROCESS.md` describes the steps: -Replace this framework with tested project-specific content through the normal [contribution workflow](https://github.com/openAMRobot/openamrobot-docs/blob/main/CONTRIBUTING.md). Keep exact parameters and contracts synchronized with the owning repository. +1. Put the component ZIP archives in `input/`. The names must match `release-config.json`. +2. Review the metadata in `release-metadata/` and the version in `release-config.json`. +3. Build from the repository root: + + ```sh + python3 scripts/build_release.py --config release-config.json --input-dir input --output-dir dist + ``` + +4. Validate the result, replacing the file name with the current version: + + ```sh + python3 scripts/validate_release.py dist/OpenAMRobot-v0.0.1-source.zip + ``` + +5. Check the external checksum from inside `dist/`, then read `dist/build-report.md`. + +Publishing, which means creating the tag and the GitHub release and uploading the assets, is done by the release owners and is not covered here. + +## Build the rc.1 candidate + +`RC1_RELEASE.md` describes a separate path with its own configuration, `release-config.rc1.json`. Every repository in its snapshot is pinned to a full commit SHA, and the source archives are locked with SHA-256. Install the requirements, run the tests, build twice into separate directories with `--fetch`, validate both outputs, and compare them byte for byte: + +```sh +python -m pip install -r requirements-release.txt +python -m unittest discover -s tests -v +python scripts/build_release.py --config release-config.rc1.json --input-dir input/first --output-dir dist/first --fetch +python scripts/build_release.py --config release-config.rc1.json --input-dir input/second --output-dir dist/second --fetch +python scripts/validate_release.py dist/first/OpenAMRobot-v2.0.0-rc.1-source.zip +python scripts/validate_release.py dist/second/OpenAMRobot-v2.0.0-rc.1-source.zip +cmp dist/first/OpenAMRobot-v2.0.0-rc.1-source.zip dist/second/OpenAMRobot-v2.0.0-rc.1-source.zip +``` + +If a build fails on a checksum, do not update the checksum to make it pass. A changed checksum is a deliberate source-selection change that goes through review. + +This path produces a **candidate**. It is not a release, and the repository says final component acceptance is pending. + +## If it did not work + +Read the error and the repository documents first. Missing cache entries and any checksum mismatch fail the build by design. Report problems in the [release repository issues](https://github.com/openAMRobot/openamrobot-release/issues). + +## Next step + +[Files, outputs and limits](reference.md).