Skip to content

docs: add README, logo and 0.1.0 release notes - #11

Merged
steipete merged 2 commits into
mainfrom
docs/v0.1.0-readme
Oct 10, 2026
Merged

steipete merged 2 commits into
mainfrom
docs/v0.1.0-readme

Conversation

@steipete

Copy link
Copy Markdown
Contributor

Summary

Prepares @openclaw/proc-safe for its first release.

  • README: rewritten around what the package answers — capabilities table, the three-outcome contract (value / proven null / ProcSafeError), per-capability examples, native loading, platforms, safety model. Every example was checked against the current src/*.ts signatures.
  • Logo and banner: docs/assets/logo.svg (process tree: pinned root, children, an exited-but-owned grandchild) and docs/assets/readme-banner.jpg in the fs-safe banner idiom. The banner's HTML source sits beside the JPEG so it can be re-rendered.
  • Ownership: MIT, Copyright (c) 2026 OpenClaw Foundation; author OpenClaw Foundation (https://openclaw.org) in the root, private native workspace and all ten platform manifests (matching openclaw/openclaw). Removes the copied fs-safe line about guest filesystem Python source, which does not apply here. Adds homepage and keywords.
  • Changelog: dated 0.1.0 - 2026-10-10 first-release section; pnpm release:notes 0.1.0 renders it. Unreleased stays empty.
  • Lint: the docs text lint skips binary image assets (it treated the JPEG as text).

Proof

  • pnpm check: lint, typecheck, 79 tests passed (11 platform skips), packed entry points and 10 target manifests verified.
  • pnpm release:notes 0.1.0 output reviewed.
  • Independent review of the commit with the relevant source as context: two README accuracy findings (/errors has no isSupported(); systemd connections dispose asynchronously) fixed in the second commit; re-review clean.

Rewrite the README around the capabilities, the three-outcome contract and
platform support, add the proc-safe logo and banner (HTML source kept beside
the rendered JPEG), name the OpenClaw Foundation as copyright holder and
author across the root, native workspace and ten platform manifests, and
finalize the dated 0.1.0 changelog section. The source lint now skips binary
image assets under docs/.
@clawsweeper

clawsweeper Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 10, 2026
@clawsweeper

clawsweeper Bot commented Oct 10, 2026

Copy link
Copy Markdown

Codex review: needs changes before merge.

What this changes

This PR expands the README, adds branding, consolidates first-release notes, and updates package ownership metadata.

Example: A developer looks for the Windows lifetime-binding API in version 0.1.0.

  • Before: The README offers a brief description and a reference link.
  • After: The README shows PinnedProcess.open with access: "lifetime-owner" and bindCurrentProcessLifetimeTo.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Useful, focused release documentation with two low-impact accuracy defects and no identified runtime or security regression.
Proof confidence 🌊 off-meta tidepool Not applicable: This maintainer-directed documentation and metadata change is outside the ordinary runtime-proof gate; the committed banner was visually inspected and examples were checked against their production APIs.
Patch quality 🐚 platinum hermit (4/6) 2 actionable review findings remain.

Product

Kind: Docs · Worth it: Yes · Fix scope: Complete
User problem: New package users need a clear capability map, examples, platform coverage, and an explanation of uncertain process observations.
Reason: The existing README is brief, and the established feature owner is preparing the package's first release.

Merge readiness

⛔ Needs changes before merge - 2 items remain

This PR provides useful first-release documentation that main does not contain; two small documentation corrections remain.

Priority: P3
Reviewed head: 756f8e752ea6ce501db12d7e15f44d06c8be2ff3

Before merge

  • Describe Linux birth times with their documented precision (P3) - The capability table calls birth time "exact", and CHANGELOG.md repeats that claim for Linux. At CLK_TCK=100, boot-relative birth is quantized to 10 ms, while startTimeMicros is a fresh wall-clock estimate with documented uncertainty and can change after a clock correction. Replace the exact-time claim in both files with wording that preserves this distinction; otherwise the release overview promises stronger timing guarantees than the API provides.
  • Dispose the child and process pin in the Windows example (P3) - The example disposes only job. WindowsJobChild separately owns process and output-pipe handles, and PinnedProcess separately owns its retained process handle; neither job.close() nor bindCurrentProcessLifetimeTo(owner) closes these owners. Copying this scoped example therefore leaves those handles open until garbage collection or process exit. Use using declarations for child and owner, as the existing Windows reference does, so scope exit also cleans up on exceptions.

Findings

  • [P3] Describe Linux birth times with their documented precision — README.md:64
  • [P3] Dispose the child and process pin in the Windows example — README.md:143-146
Agent review details

How this fits together

The README and release notes explain the package’s TypeScript capabilities over native process and service-manager observations, while manifests describe the published packages.

flowchart TD
  A[Package reader] --> B[README and reference docs]
  B --> C[TypeScript capability subpaths]
  C --> D[Lazy native binding]
  D --> E[Operating system observations]
  E --> F[Values or typed errors]
Loading

Technical review

Best possible solution:

Land the release documentation with accurate birth-time wording and deterministic disposal in the Windows example.

Do we have a high-confidence way to reproduce the issue?

Source inspection establishes the documentation discrepancies; no target code or artifact-producing checks were run.

Is this the best way to solve the issue?

The expanded capability guide and consolidated release notes are appropriate; focused wording and disposal edits complete the change without altering APIs.

Full review comments:

  • [P3] Describe Linux birth times with their documented precision — README.md:64
    The capability table calls birth time "exact", and CHANGELOG.md repeats that claim for Linux. At CLK_TCK=100, boot-relative birth is quantized to 10 ms, while startTimeMicros is a fresh wall-clock estimate with documented uncertainty and can change after a clock correction. Replace the exact-time claim in both files with wording that preserves this distinction; otherwise the release overview promises stronger timing guarantees than the API provides.
    Confidence: 0.99
  • [P3] Dispose the child and process pin in the Windows example — README.md:143-146
    The example disposes only job. WindowsJobChild separately owns process and output-pipe handles, and PinnedProcess separately owns its retained process handle; neither job.close() nor bindCurrentProcessLifetimeTo(owner) closes these owners. Copying this scoped example therefore leaves those handles open until garbage collection or process exit. Use using declarations for child and owner, as the existing Windows reference does, so scope exit also cleans up on exceptions.
    Confidence: 0.97

Overall correctness: patch is correct
Overall confidence: 0.96

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against daa1d23b9589.

Provenance checked

  • README capability and safety descriptions keeps the original intent (5852b3e: The original capability documentation established lazy loading, typed uncertainty, and process identity; subsequent feature PRs extended those contracts.)
  • Changelog release organization changes intended behavior with a stated reason (5852b3e: Feature entries accumulated under Unreleased; the PR groups them into the dated section required by the first-release workflow.)
  • Copyright and package author metadata changes intended behavior with a stated reason (085ebb9: The initialization license included a guest-filesystem Python attribution; the PR explains that it was copied and does not apply to this package.)
  • Text lint asset handling changes intended behavior with a stated reason (5852b3e: The original lint reads documentation files as UTF-8 text; the PR excludes binary image extensions to accommodate its new JPEG.)

Testing

Proof path: none.

Security

None.

Evidence

Acceptance criteria:

  • Compare the revised identity wording with docs/identity.md and src/identity.ts.
  • Compare the revised Windows example with docs/windows-job.md and src/windows-job.ts.
  • pnpm check
  • git diff --check

What I checked:

  • Verified introduction: The pinned diff introduces the expanded documentation, assets, ownership metadata, and binary-image lint exclusion; main retains the shorter README and Unreleased notes. (README.md:1, 756f8e752ea6)
  • Established identity precision: Current documentation explicitly defines Linux epoch birth as a changing estimate and boot-relative birth as tick-quantized; fix(identity): stabilize Linux epoch start times #9 explains why that distinction matters. (docs/identity.md:12, 294ebd8997bd)
  • Independent Windows resource ownership: WindowsJob, WindowsJobChild, and PinnedProcess have separate owners and disposal methods; lifetime binding does not consume the process pin. (src/windows-job.ts:177, 756f8e752ea6)
  • Release preparation contract: Release prerequisites require a finalized dated changelog section, and the release workflow extracts that section for the protected-tag release. (RELEASE-PREREQS.md:15, 756f8e752ea6)
  • Discussion and direction: The full PR body records first-release preparation and the reasons for ownership and lint changes; both discussion comments are bot status updates. Supplied item facts identify maintainer authorship, and prior merged feature history independently establishes the author's domain ownership. (756f8e752ea6)

Likely related people:

  • Peter Steinberger: Raw commit 294ebd8 adds docs/identity.md:12 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 294ebd8997bd; files: docs/identity.md)

Labels

Label changes:

  • add P3: This is first-release documentation and branding with narrow accuracy and resource-example corrections, rather than a runtime regression.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Label justifications:

  • P3: This is first-release documentation and branding with narrow accuracy and resource-example corrections, rather than a runtime regression.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only; repair and merge need explicit maintainer commands such as @clawsweeper autofix or @clawsweeper automerge.

Reviewed October 10, 2026, 12:31 PM ET / 16:31 UTC.

@steipete
steipete merged commit 2133c59 into main Oct 10, 2026
24 checks passed
@steipete
steipete deleted the docs/v0.1.0-readme branch October 10, 2026 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant