Skip to content

docs: say that compose/ is a published interface, and what on-push diffs from - #184

Merged
goldyfruit merged 1 commit into
devfrom
docs/readme-contract-and-publish
Sep 11, 2026
Merged

goldyfruit merged 1 commit into
devfrom
docs/readme-contract-and-publish

Conversation

@goldyfruit

@goldyfruit goldyfruit commented Sep 11, 2026 •

Copy link
Copy Markdown
Collaborator

Three corrections to the READMEs on dev, found while checking whether the documentation kept up with the cross-repository contract work.

compose/ is consumed by another project and nothing said so. The OVOS installer clones this repository at a release tag and runs these compose files, which makes the compose file names, the container names it execs into, the environment variables the compose reads and the images it pulls a published interface. contract.yml declares all four so the dependency cannot drift unnoticed — but a contributor editing compose/ had no way to learn any of that from the README, or that scripts/contract.py --write has to be rerun afterwards.

The automation table described the wrong diff base. It said on-push.yml builds what changed on a commit to dev. It builds what changed since the last commit the workflow actually published — not the same base whenever a run was cancelled, which is exactly when the difference matters, because that work would otherwise be skipped for good rather than retried (#181, #182).

Both platform READMEs pointed at a heading that does not exist. README.md#how-to-use-these-images has had no such heading for years; the section a reader wants is #run-images. Every remaining relative anchor into README.md was checked and resolves.

scripts/contract.py passes on this branch: contract.yml matches compose/ (10 files, 49 services, 29 variables).

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Clarified that Compose files are a published interface used by the OVOS installer and validated in continuous integration.
    • Updated automation documentation to explain how changed build contexts determine published targets.
    • Corrected macOS and Windows documentation links to point to the current image-running instructions.

…ffs from

Nothing in the README said that the compose files are consumed by another
project. The OVOS installer clones this repository at a release tag and runs
them, which makes the compose file names, the container names it execs into,
the environment variables the compose reads and the images it pulls an
interface somebody else depends on - and contract.yml declares all four so the
dependency cannot drift unnoticed. A contributor editing compose/ had no way to
learn that from here, or that scripts/contract.py has to be rerun afterwards.

The automation table said on-push.yml builds what changed on a commit to dev.
It builds what changed since the last commit the workflow actually published,
which is not the same base whenever a run was cancelled - and cancelled runs are
exactly when the difference matters, because the work would otherwise be skipped
for good rather than retried.

Both platform READMEs linked to README.md#how-to-use-these-images, a heading
README.md does not have and has not had for years. The section a reader wants
is Run images.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: e23f911a-7eca-439d-a3c0-7f4ba5688dc1

📥 Commits

Reviewing files that changed from the base of the PR and between 7967c79 and 98ee3e4.

📒 Files selected for processing (3)
  • README.md
  • README_MACOS.md
  • README_WINDOWS.md

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The changes document the compose files as a published installer interface, clarify the push workflow description, and update macOS and Windows links to the renamed README section.

Changes

Documentation contract

Layer / File(s) Summary
Compose contract and automation documentation
README.md
Documents the compose interface, its declaration in contract.yml, the scripts/contract.py --write command, CI validation, and the push workflow’s published commit comparison.
Platform documentation links
README_MACOS.md, README_WINDOWS.md
Updates links to the README.md#run-images section.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Merge Risk: ⚪ Minimal · up to 98ee3

This documentation-only change is ready to merge with no identified correctness or availability risk.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately identifies the main documentation changes: the published compose/ interface and the on-push comparison behavior. It is concise and related to the changeset, although the final…
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/readme-contract-and-publish

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@goldyfruit
goldyfruit merged commit aca26d1 into dev Sep 11, 2026
4 checks passed
@goldyfruit
goldyfruit deleted the docs/readme-contract-and-publish branch September 11, 2026 18:45
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.

1 participant