惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
美团技术团队
Last Week in AI
Last Week in AI
WordPress大学
WordPress大学
博客园 - 三生石上(FineUI控件)
博客园 - 聂微东
雷峰网
雷峰网
阮一峰的网络日志
阮一峰的网络日志
博客园 - 叶小钗
IT之家
IT之家
Google DeepMind News
Google DeepMind News
D
Docker
J
Java Code Geeks
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 【当耐特】
V
V2EX
Hugging Face - Blog
Hugging Face - Blog
博客园 - Franky
月光博客
月光博客
宝玉的分享
宝玉的分享
酷 壳 – CoolShell
酷 壳 – CoolShell
aimingoo的专栏
aimingoo的专栏
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
Standardize QA coverage IDs on dotted names (#94702) · op...
RomneyDa · 2026-06-19 · via Recent Commits to openclaw:main

File tree

  • .agents/skills/claw-score

Original file line numberDiff line numberDiff line change

@@ -30,6 +30,9 @@ out of this repo. If a score needs private evidence, use the redacted

3030

completeness-instruction paths.

3131

- Feature `coverageIds` are ANDed proof targets, not aliases. A feature may

3232

list multiple IDs when each ID proves part of one capability.

33+

- Coverage IDs use dotted `namespace.behavior` form, with lowercase

34+

alphanumeric/dash segments. Profile, surface, and category IDs may remain

35+

dashed or dotted.

3336

- Keep categories and feature names unique, product-shaped, and broader than raw

3437

coverage IDs. Do not promote generic IDs into standalone feature names.

3538

- Avoid duplicate coverage-ID bundles under different feature names in one

Original file line numberDiff line numberDiff line change

@@ -59,6 +59,9 @@ selected-category counts and missing coverage IDs; the individual evidence

5959

entries remain the source of truth for the tests, coverage roles, and results.

6060

Taxonomy feature coverage IDs are exact proof targets, not aliases. Primary

6161

scenario coverage fulfills matching IDs; secondary coverage stays advisory.

62+

Coverage IDs use dotted `namespace.behavior` form with lowercase

63+

alphanumeric/dash segments; profile, surface, and category IDs may still use

64+

the existing dashed or dotted taxonomy IDs.

6265

Slim evidence omits per-entry `execution` and sets `evidenceMode: "slim"`;

6366

`smoke-ci` defaults to slim, and `--evidence-mode full` restores full entries:

6467
Original file line numberDiff line numberDiff line change

@@ -14,6 +14,7 @@ const TEST_EXECUTABLE_COVERAGE_ID = "channels.dm";

1414

const TEST_BROWSER_CATEGORY_ID = "browser-control-ui-and-webchat.browser-ui";

1515

const TEST_BROWSER_COVERAGE_ID = "ui.control";

1616

const TEST_WEBCHAT_COVERAGE_ID = "ui.webchat";

17+

const DOTTED_COVERAGE_ID_PATTERN = /^[a-z0-9][a-z0-9-]*(?:\.[a-z0-9][a-z0-9-]*)+$/;

1718
1819

function testMaturityTaxonomy(params?: {

1920

categoryId?: string;

@@ -138,6 +139,11 @@ describe("qa coverage report", () => {

138139

expect(inventory.scorecardTaxonomy.evidenceRefCount).toBeGreaterThan(0);

139140

expect(inventory.scorecardTaxonomy.scenarioCoverageIdCount).toBeGreaterThan(0);

140141

expect(inventory.scorecardTaxonomy.unknownCoverageIdCount).toBe(0);

142+

expect(

143+

inventory.scorecardTaxonomy.categories

144+

.flatMap((category) => category.coverageIds)

145+

.every((coverageId) => DOTTED_COVERAGE_ID_PATTERN.test(coverageId)),

146+

).toBe(true);

141147

expect(inventory.scorecardTaxonomy.validationIssues.length).toBeGreaterThan(0);

142148

expect(

143149

inventory.scorecardTaxonomy.validationIssues.some((issue) =>

Original file line numberDiff line numberDiff line change

@@ -198,7 +198,7 @@ describe("evidence gallery", () => {

198198

surface: "web-ui",

199199

},

200200

{

201-

coverageIds: ["cli-entrypoint"],

201+

coverageIds: ["cli.entrypoint"],

202202

runner: {

203203

availability: "local",

204204

command: "pnpm openclaw qa suite --scenario ux-matrix-evidence-dashboard",

@@ -274,7 +274,7 @@ describe("evidence gallery", () => {

274274

title: "UX Matrix: cli / error-state",

275275

source: { path: "scripts/ux-matrix/dashboard.ts" },

276276

},

277-

coverage: [{ id: "status-snapshots", role: "primary" }],

277+

coverage: [{ id: "cli.status-snapshots", role: "primary" }],

278278

execution: {

279279

runner: "ux-matrix-dashboard",

280280

environment: {

@@ -359,7 +359,7 @@ describe("evidence gallery", () => {

359359

{

360360

artifactKinds: [],

361361

artifactPaths: [],

362-

coverageIds: ["cli-entrypoint"],

362+

coverageIds: ["cli.entrypoint"],

363363

runner: {

364364

availability: "local",

365365

command: "pnpm openclaw qa suite --scenario ux-matrix-evidence-dashboard",

Original file line numberDiff line numberDiff line change

@@ -346,7 +346,7 @@ describe("evidence summary", () => {

346346

id: "control-ui.browser-run",

347347

title: "Control UI browser workflow",

348348

sourcePath: "ui/control-ui.e2e.test.ts",

349-

primaryCoverageIds: ["control-ui.browser"],

349+

primaryCoverageIds: ["ui.control"],

350350

docsRefs: ["docs/concepts/qa-e2e-automation.md"],

351351

codeRefs: ["ui/"],

352352

},

@@ -374,7 +374,7 @@ describe("evidence summary", () => {

374374

},

375375

coverage: [

376376

{

377-

id: "control-ui.browser",

377+

id: "ui.control",

378378

role: "primary",

379379

},

380380

],

Original file line numberDiff line numberDiff line change

@@ -25,6 +25,8 @@ function listScenarioMarkdownPaths(dir = "qa/scenarios"): string[] {

2525

}

2626
2727

describe("qa scenario catalog", () => {

28+

const dottedCoverageIdPattern = /^[a-z0-9][a-z0-9-]*(?:\.[a-z0-9][a-z0-9-]*)+$/;

29+
2830

it("keeps repo-backed scenarios YAML-only", () => {

2931

expect(listScenarioMarkdownPaths()).toStrictEqual([]);

3032

});

@@ -74,6 +76,17 @@ describe("qa scenario catalog", () => {

7476

.filter((scenario) => !(scenario.coverage?.primary.length ?? 0))

7577

.map((scenario) => scenario.id),

7678

).toStrictEqual([]);

79+

expect(

80+

pack.scenarios.every(

81+

(scenario) =>

82+

(scenario.coverage?.primary ?? []).every((coverageId) =>

83+

dottedCoverageIdPattern.test(coverageId),

84+

) &&

85+

(scenario.coverage?.secondary ?? []).every((coverageId) =>

86+

dottedCoverageIdPattern.test(coverageId),

87+

),

88+

),

89+

).toBe(true);

7790

expect(readQaScenarioById("memory-recall").coverage?.primary).toContain("memory.recall");

7891

});

7992
Original file line numberDiff line numberDiff line change

@@ -87,8 +87,8 @@ const qaScenarioExecutionSchema = z.union([

8787

const qaCoverageIdSchema = z

8888

.string()

8989

.trim()

90-

.regex(/^[a-z0-9]+(?:[.-][a-z0-9]+)*$/, {

91-

message: "coverage ids must use lowercase dotted or dashed tokens",

90+

.regex(/^[a-z0-9][a-z0-9-]*(?:\.[a-z0-9][a-z0-9-]*)+$/, {

91+

message: "coverage ids must use lowercase dotted tokens",

9292

});

9393
9494

const qaCoverageIdListSchema = z.array(qaCoverageIdSchema).min(1);

Original file line numberDiff line numberDiff line change

@@ -11,7 +11,14 @@ const qaScorecardIdSchema = z

1111

.string()

1212

.trim()

1313

.regex(/^[a-z0-9]+(?:[.-][a-z0-9]+)*$/, {

14-

message: "scorecard and coverage ids must use lowercase dotted or dashed tokens",

14+

message: "scorecard ids must use lowercase dotted or dashed tokens",

15+

});

16+
17+

const qaCoverageIdSchema = z

18+

.string()

19+

.trim()

20+

.regex(/^[a-z0-9][a-z0-9-]*(?:\.[a-z0-9][a-z0-9-]*)+$/, {

21+

message: "coverage ids must use lowercase dotted tokens",

1522

});

1623
1724

function isRepoRootRelativeRef(value: string) {

@@ -31,7 +38,7 @@ const qaScorecardProfileSchema = z.object({

3138
3239

const qaMaturityFeatureSchema = z.object({

3340

name: z.string().trim().min(1),

34-

coverageIds: z.array(qaScorecardIdSchema).default([]),

41+

coverageIds: z.array(qaCoverageIdSchema).default([]),

3542

description: z.string().trim().min(1).optional(),

3643

});

3744
Original file line numberDiff line numberDiff line change

@@ -726,9 +726,9 @@ describe("qa test file scenario runner", () => {

726726

"tools.evidence",

727727

"workspace.artifacts",

728728

"ui.control",

729-

"control-ui",

730-

"cli-entrypoint",

731-

"status-snapshots",

729+

"gateway.control-ui-hosting",

730+

"cli.entrypoint",

731+

"cli.status-snapshots",

732732

]),

733733

);

734734

const artifactKinds = evidence.entries.flatMap(

Original file line numberDiff line numberDiff line change

@@ -213,7 +213,7 @@ describe("QA Lab UI evidence render", () => {

213213

{

214214

artifactKinds: [],

215215

artifactPaths: [],

216-

coverageIds: ["cli-entrypoint"],

216+

coverageIds: ["cli.entrypoint"],

217217

runner: {

218218

availability: "local",

219219

command: "pnpm openclaw qa suite --scenario ux-matrix-evidence-dashboard",

@@ -247,7 +247,7 @@ describe("QA Lab UI evidence render", () => {

247247

expect(html).toContain('data-evidence-entry-id="ux-matrix.web-ui.first-run"');

248248

expect(html).toContain("evidence-matrix-cell-proof-gap");

249249

expect(html).toContain("not executed in this run");

250-

expect(html).toContain("Coverage: cli-entrypoint");

250+

expect(html).toContain("Coverage: cli.entrypoint");

251251

expect(html).toContain("Runner: cli-status");

252252

expect(html).toContain("Open media artifact");

253253

expect(html).toContain("Open video artifact");