claw-score
claw-score
Use this skill when working on the OpenClaw maturity scorecard in this repo.
This is the openclaw-local version of the maintainer claw-score workflow:
it keeps the taxonomy and scorecard concepts, but excludes discrawl and the old
committed inventory/ report tree.
Authority
This skill owns the operational workflow for:
taxonomy.yamlqa/maturity-scores.yamldocs/concepts/qa-e2e-automation.mdqa/scenarios/index.yaml
Keep person-specific, maintainer-private, Discord archive, and discrawl facts
out of this repo. If a score needs private evidence, use the redacted
qa-evidence.json artifact shape generated by OpenClaw QA workflows.
Source Model
taxonomy.yamlis the hand-edited source of truth for surfaces, levels,
QA profiles, categories, feature coverage IDs, docs refs, LTS overrides, and
completeness-instruction paths.
- Each feature has exactly one
coverageIdsentry. Keep that evidence ID
unique to the feature; broader many-to-many evidence mapping is not part of
the current taxonomy schema.
- Coverage IDs use dotted
namespace.behaviorform, with lowercase
alphanumeric/dash segments. Profile, surface, and category IDs may remain
dashed or dotted.
- Keep categories and feature names unique, product-shaped, and broader than raw
coverage IDs. Do not promote generic IDs into standalone feature names.
- Avoid duplicate coverage-ID bundles under different feature names in one
category.
qa/maturity-scores.yamlis the committed aggregate source for Quality,
Completeness, and LTS review state.
extensions/qa-lab/src/scorecard-taxonomy.tsexports
readValidatedQaMaturityScoreSources; use it to validate score output.
- Generated public docs are
docs/maturity/scorecard.mdand
docs/maturity/taxonomy.md; both come from pnpm maturity:render. Do not
hand-edit generated Markdown to change score results.
qa-evidence.jsonartifacts provide per-run QA scorecard evidence. Release
profile artifacts are the source of truth for Coverage. They can enrich
generated artifact docs, but they are not committed as inventory.
Commands
Run from the openclaw repo root.
Validate taxonomy YAML structure and the maturity score schema after source
edits:
node --import tsx --input-type=module <<'NODE'
import fs from "node:fs";
import YAML from "yaml";
import { readValidatedQaMaturityScoreSources } from "./extensions/qa-lab/src/scorecard-taxonomy.ts";
for (const file of ["taxonomy.yaml", "qa/scenarios/index.yaml"]) {
YAML.parse(fs.readFileSync(file, "utf8"));
}
readValidatedQaMaturityScoreSources();
NODECheck docs when touching docs prose:
pnpm check:docsRun focused QA/profile checks when changing coverage IDs or profile membership:
pnpm openclaw qa coverage --jsonFull Generation Runs
For a direct full scorecard run that publishes the generated-doc pull request,
use floating main resolution by default:
gh workflow run maturity-scorecard.yml \
--repo openclaw/openclaw \
--ref main \
-f ref=main \
-f expected_sha='' \
-f publish_pull_request=true \
-f allow_failures=trueDo not resolve main locally and pass that commit as both ref and
expected_sha for an ordinary manual generation run. OpenClaw's main moves
quickly, so the caller-selected commit can become stale before validation. The
workflow then correctly rejects publication when the pull request base contains
newer maturity inputs, and QA never starts.
With ref=main and a blank expected_sha, the workflow's
floating_default_branch path fetches and freezes the current remote default
branch inside validation before handing an immutable revision to downstream
jobs. Use an explicit SHA only when the requested evidence must remain bound to
that exact revision, such as a release-candidate workflow call or an
artifact-only historical reproduction. If that exact-revision run also requests
publication and main has changed relevant inputs, expect validation to fail and
dispatch again from floating main instead.
Scoring Workflow
When asked to score or refresh a surface:
- Read the surface in
taxonomy.yaml. - Read the surface completeness rubric under
.agents/skills/claw-score/references/completeness/.
- Gather public repo evidence from docs, source, tests, and QA scenario
metadata.
- Prefer existing release profile
qa-evidence.jsonartifacts for executed
proof.
- Update
qa/maturity-scores.yamlonly for Quality, Completeness, and LTS
review state backed by public or redacted artifact evidence.
- Run the schema validation command from this skill.
- Run
pnpm check:docsif docs prose changed, and focused QA coverage checks
if coverage IDs or profile membership changed.
For subjective score changes, make the smallest defensible edit and leave the
evidence path in the PR or task summary. Keep manual prose in current docs and
keep score data in qa/maturity-scores.yaml.
Default Completeness Process
Completeness is scored against the intended operator-visible workflow for each
category, not against test breadth or implementation quality. The completeness
reference files under references/completeness/ define the category scope and
any surface-specific variation from this default process.
By default, Completeness measures how fully OpenClaw exposes the intended
surface capability set to the user, operator, author, or maintainer persona for
that surface. Score whether each category delivers the full expected workflow,
including setup, normal use, status or inspection, recovery, and important
platform, provider, channel, security, or lifecycle variants where they apply.
Treat Surface-Specific Scoring Questions and `Surface-Specif
