fix(report): downgrade registration capture gaps
This commit is contained in:
parent
677f6e5bc1
commit
9f45c8aeb6
@ -2,6 +2,12 @@
|
||||
|
||||
## Unreleased
|
||||
|
||||
## 0.3.7 - 2026-05-03
|
||||
|
||||
### Changed
|
||||
|
||||
- Downgrade `registration-capture-gap` to advisory severity so missing capture evidence no longer reports as a P1 plugin contract risk.
|
||||
|
||||
## 0.3.6 - 2026-05-03
|
||||
|
||||
### Changed
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@openclaw/plugin-inspector",
|
||||
"version": "0.3.6",
|
||||
"version": "0.3.7",
|
||||
"private": false,
|
||||
"description": "Offline compatibility inspector for OpenClaw plugins.",
|
||||
"type": "module",
|
||||
|
||||
@ -175,7 +175,6 @@ export function probePriority(code, fixturePriority) {
|
||||
"before-tool-call-probe",
|
||||
"conversation-access-hook",
|
||||
"missing-compat-record",
|
||||
"registration-capture-gap",
|
||||
"sdk-export-missing",
|
||||
].includes(code)
|
||||
) {
|
||||
|
||||
@ -220,10 +220,10 @@ export const issueMetadataByCode = {
|
||||
title: "providerAuthEnvVars legacy manifest metadata must stay covered",
|
||||
},
|
||||
"registration-capture-gap": {
|
||||
severity: "P1",
|
||||
severity: "P2",
|
||||
owner: "inspector",
|
||||
decision: "inspector-follow-up",
|
||||
title: "runtime registrations need capture before contract judgment",
|
||||
title: "runtime registrations need capture evidence before final contract judgment",
|
||||
},
|
||||
"runtime-tool-capture": {
|
||||
severity: "P2",
|
||||
|
||||
@ -162,7 +162,7 @@ test("ci policy surfaces P0 live issues without blocking default lanes", () => {
|
||||
code: "legacy-before-agent-start",
|
||||
},
|
||||
{
|
||||
severity: "P1",
|
||||
severity: "P2",
|
||||
issueClass: "inspector-gap",
|
||||
fixture: "wecom",
|
||||
code: "registration-capture-gap",
|
||||
@ -260,7 +260,7 @@ test("ci policy writer emits JSON and Markdown artifacts", async () => {
|
||||
function compatibilityReport(overrides = {}) {
|
||||
const issues = overrides.issues ?? [
|
||||
{
|
||||
severity: "P1",
|
||||
severity: "P2",
|
||||
issueClass: "inspector-gap",
|
||||
fixture: "fixture",
|
||||
code: "registration-capture-gap",
|
||||
|
||||
@ -18,17 +18,17 @@ test("ci summary rolls up compatibility, policy, ref diff, and profile findings"
|
||||
suggestionCount: 3,
|
||||
issueCount: 4,
|
||||
p0IssueCount: 1,
|
||||
p1IssueCount: 1,
|
||||
p1IssueCount: 0,
|
||||
liveIssueCount: 1,
|
||||
compatGapCount: 1,
|
||||
},
|
||||
issues: [
|
||||
{
|
||||
severity: "P1",
|
||||
severity: "P2",
|
||||
issueClass: "inspector-gap",
|
||||
fixture: "fixture",
|
||||
code: "registration-capture-gap",
|
||||
title: "runtime registrations need capture",
|
||||
title: "runtime registrations need capture evidence",
|
||||
decision: "inspector-follow-up",
|
||||
},
|
||||
],
|
||||
|
||||
@ -26,7 +26,7 @@ test("contract coverage fails missing evidence and P1 probe gaps", () => {
|
||||
fixture: "fixture",
|
||||
severity: "P1",
|
||||
issueClass: "inspector-gap",
|
||||
code: "registration-capture-gap",
|
||||
code: "conversation-access-hook",
|
||||
evidence: [],
|
||||
},
|
||||
],
|
||||
|
||||
@ -46,8 +46,8 @@ test("contract probes map issue findings to executable backlog rows", () => {
|
||||
assert.deepEqual(
|
||||
probes.map((probe) => [probe.id, probe.priority, probe.target]),
|
||||
[
|
||||
["api.capture.runtime-registrars:wecom", "P1", "inspector-capture-api"],
|
||||
["sdk.import.package-export-cold-import:codex-app-server", "P1", "sdk-alias"],
|
||||
["api.capture.runtime-registrars:wecom", "P2", "inspector-capture-api"],
|
||||
["manifest.schema.top-level-fields:agentchat", "P3", "manifest-loader"],
|
||||
],
|
||||
);
|
||||
@ -55,6 +55,7 @@ test("contract probes map issue findings to executable backlog rows", () => {
|
||||
|
||||
test("contract probe priority escalates critical codes and high-priority fixtures", () => {
|
||||
assert.equal(probePriority("sdk-export-missing", "medium"), "P1");
|
||||
assert.equal(probePriority("registration-capture-gap", "high"), "P2");
|
||||
assert.equal(probePriority("manifest-unknown-fields", "high"), "P2");
|
||||
assert.equal(probePriority("manifest-unknown-fields", "medium"), "P3");
|
||||
});
|
||||
|
||||
@ -113,8 +113,8 @@ test("issue builder applies metadata and class summaries", () => {
|
||||
issues.map((issue) => [issue.fixture, issue.code, issue.severity, issue.issueClass, issue.status]),
|
||||
[
|
||||
["codex-app-server", "sdk-export-missing", "P0", "live-issue", "blocking"],
|
||||
["wecom", "registration-capture-gap", "P1", "inspector-gap", "open"],
|
||||
["agentchat", "manifest-unknown-fields", "P2", "upstream-metadata", "open"],
|
||||
["wecom", "registration-capture-gap", "P2", "inspector-gap", "open"],
|
||||
],
|
||||
);
|
||||
assert.deepEqual(summarizeIssueClasses(issues), {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user