Repository navigation
docs: give contributors one guide for OpenClaw copy and errors - #205028
Conversation
Co-authored-by: Patrick-Erichsen <[email protected]>
Worked on by: - @Patrick-Erichsen Co-authored-by: Patrick-Erichsen <[email protected]> OpenClaw-Publication: 507ba78a-5047-4804-8fa4-aa01e4ae8c26
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
Co-authored-by: Patrick-Erichsen <[email protected]>
Worked on by: - @Patrick-Erichsen Co-authored-by: Patrick-Erichsen <[email protected]> OpenClaw-Publication: 9ace1c63-73f2-4268-9248-ae0e1aee1355
|
Codex review: needs changes before merge. What this changesThis PR replaces the technical-documentation skill with an OpenClaw writing guide, product glossary, local copy checker, and expanded proof guidance. Example: A contributor checks “Remove the saved sign-in.” with the glossary meaning “account”.
Review scores
ProductKind: Docs · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 2 items remain This PR provides a useful, maintainer-directed writing guide, but its unavailable source-owner requirement and uncited new instruction rules need correction before merge. Reviewed head: Before merge
Findings
Agent review detailsHow this fits togetherRepository contributors and agents consume the writing skill, consult its references and glossary, and optionally pass extracted prose to local lookup and checking scripts. flowchart TD
A[Contributor task] --> B[OpenClaw writing skill]
B --> C[Writing references]
B --> D[Product glossary]
D --> E[Lookup and copy checker]
C --> F[Revised copy or documentation]
E --> F
F --> G[Existing review and proof workflow]
Technical reviewBest possible solution: Keep the consolidated guide, point implementation instructions at existing owners, and cite the incidents supporting its new mandatory rules. Do we have a high-confidence way to reproduce the issue? Source inspection establishes that following the run-failure instructions requires a file absent from both reviewed revisions; no target code was executed. Is this the best way to solve the issue? One writing owner with a shared glossary is appropriate, and the small local scripts avoid repository-wide enforcement; the guide should remain usable against the source tree where it lands. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against bf4c7d3e98a6. Provenance checked
TestingProof path: unit tests only. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceTests +73, Docs +304, Other +100. Total +477 across 30 files. Added test files: 1. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/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. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 24, 2026, 9:29 PM ET / November 25, 2026, 02:29 UTC. |
…uled coverage (#205079) ## Problem `test/scripts/ci-scheduled-coverage.test.ts` fails on `main`. #205028 added `.agents/skills/openclaw-writing/scripts/writing.test.mjs`, a standalone `node:test` self-test of a skill. No scheduled runner or coverage exception lists it, so "keeps live and non-Vitest tests out of the secretless every-file lane" reports it. Every PR whose CI selects that test fails, for example #205022. ## Fix List the writing skill's script self-tests in `SCHEDULED_COVERAGE_EXCEPTIONS`, with the same pattern and reason as the existing `plugin-sdk-impact` skill self-tests. ## Impact CI only. No product behavior changes. ## Evidence `ocx test test/scripts/ci-scheduled-coverage.test.ts`: - on `main` `9215601305`: 1 failed, 2 passed - with this change: 3 passed The same failure reproduced on `main` `ad96c24` (AWS run `run_e9c4578580e1fc461be523d79cbb2865`). Co-authored-by: Ayaan Zaidi <[email protected]>
…uled coverage (openclaw#205079) ## Problem `test/scripts/ci-scheduled-coverage.test.ts` fails on `main`. openclaw#205028 added `.agents/skills/openclaw-writing/scripts/writing.test.mjs`, a standalone `node:test` self-test of a skill. No scheduled runner or coverage exception lists it, so "keeps live and non-Vitest tests out of the secretless every-file lane" reports it. Every PR whose CI selects that test fails, for example openclaw#205022. ## Fix List the writing skill's script self-tests in `SCHEDULED_COVERAGE_EXCEPTIONS`, with the same pattern and reason as the existing `plugin-sdk-impact` skill self-tests. ## Impact CI only. No product behavior changes. ## Evidence `ocx test test/scripts/ci-scheduled-coverage.test.ts`: - on `main` `4b8201379d`: 1 failed, 2 passed - with this change: 3 passed The same failure reproduced on `main` `34773c7` (AWS run `run_e9c4578580e1fc461be523d79cbb2865`). Co-authored-by: Ayaan Zaidi <[email protected]>
What Problem This Solves
Contributors writing OpenClaw messages and docs have no single guide covering both surfaces. The existing documentation skill does not explain how to name a detected failure, choose a useful recovery action, or distinguish a session creator from its assigned owner.
User Impact
Contributors get one writing guide, a searchable product glossary, and a focused checker for extracted prose. This PR does not change production UI or error messages. The example rewrites are labeled as proposals.
Why This Change Was Made
The writing skill replaces the general technical-documentation skill while retaining its useful docs and instruction-file guidance. A single glossary supplies both lookup and meaning-specific checks. The proof guides require captures of changed error, empty, and loading states, including real channel link forms.
The checker flags semicolons, ellipses, and competing terms for an explicitly selected meaning. It does not infer meaning, scan repository source, or add repository-wide CI wiring.
Evidence
All 61 retained historical quotations matched their pinned source locations. Three focused tests passed, including the regression that prevented formatted table headers from being counted as terms. Script lint, changed-file formatting and MDX, full repository MDX (1,454 files), and repository docs formatting (1,442 files) passed on the committed tree.
Local autoreview did not run: its temporary-directory isolation preflight stopped before reviewer launch, and the requester waived that local step. No independent review pass is claimed. Required hosted reviews and protected-branch checks still apply. No live UI or channel capture was run because the change affects contributor guidance and local writing tools, not product copy.
Requested and workshopped by @Patrick-Erichsen.
Work sessions
Linked for team reference; these sessions aren’t public.
Worked on by