skill-family-studio 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/platform-manifest.json +1 -1
- package/.claude/platform-manifest.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/.codebuddy-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/.kimi-plugin/plugin.json +1 -1
- package/.qoder-plugin/plugin.json +1 -1
- package/CHANGELOG.md +1 -1
- package/VERSION +1 -1
- package/package.json +2 -2
- package/plugin.json +1 -1
- package/src/lifecycle-inspector.mjs +89 -26
package/.kimi-plugin/plugin.json
CHANGED
package/CHANGELOG.md
CHANGED
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.1
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "skill-family-studio",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "单端口统一承载 artifact-graph 宽屏制品图谱审阅与 Foundation 运行态监控的本地离线研发控制台。",
|
|
6
6
|
"author": "广州市风荷科技有限公司",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"NOTICE"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"artifact-graph": "1.2.
|
|
42
|
+
"artifact-graph": "1.2.2",
|
|
43
43
|
"skill-family-contracts": "0.39.2",
|
|
44
44
|
"skill-family-harness-node": "0.39.2",
|
|
45
45
|
"skill-family-engineering-kit": "0.39.2",
|
package/plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "skill-family-studio",
|
|
3
3
|
"displayName": "Skill Family Studio",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.1",
|
|
5
5
|
"description": "单端口统一承载 artifact-graph 宽屏制品图谱审阅与 Foundation 运行态监控的本地离线研发控制台。",
|
|
6
6
|
"author": "广州市风荷科技有限公司",
|
|
7
7
|
"repository": "https://github.com/ifoohoo/skill-family-studio"
|
|
@@ -641,14 +641,14 @@ async function probeHubActual(hubRepoReal, registryRepos) {
|
|
|
641
641
|
});
|
|
642
642
|
}
|
|
643
643
|
}
|
|
644
|
-
if (repo.publicName === 'skill-eval') {
|
|
644
|
+
if (repo.publicName === 'skill-eval' || repo.publicName === 'skill-family-eval') {
|
|
645
645
|
const legacyHeimdall = uniqueMatches.find(m => m.providerId === 'heimdall' && m.lifecycleState === 'active');
|
|
646
646
|
if (legacyHeimdall) {
|
|
647
647
|
drifts.push({
|
|
648
648
|
repoId: repo.id,
|
|
649
649
|
publicName: repo.publicName,
|
|
650
650
|
kind: 'legacy_heimdall_active_in_hub',
|
|
651
|
-
detail:
|
|
651
|
+
detail: `${repo.publicName} 在 Hub (${providerSource || marketSource}) 中仍以旧壳名 providerId="heimdall" 处于 active 状态,待重塑切换`,
|
|
652
652
|
});
|
|
653
653
|
}
|
|
654
654
|
}
|
|
@@ -955,8 +955,9 @@ async function evaluateArchitecturalRisks(rawRisks, probedRepos, probedByKey, hu
|
|
|
955
955
|
: 'Hub 台账状态与生命周期三环注册表完全一致,无退役/旧壳残留。';
|
|
956
956
|
probeSource = hubActual.probeSource;
|
|
957
957
|
} else if (risk.probeKind === 'eval_shell_reshape') {
|
|
958
|
-
const evalRepo = lookupProbedRepo(probedByKey, 'skill-eval')
|
|
959
|
-
||
|
|
958
|
+
const evalRepo = lookupProbedRepo(probedByKey, 'skill-family-eval')
|
|
959
|
+
|| lookupProbedRepo(probedByKey, 'skill-eval')
|
|
960
|
+
|| probedRepos.find(r => r.publicName === 'skill-family-eval' || r.publicName === 'skill-eval');
|
|
960
961
|
const ver = evalRepo?.live?.sourceVersion?.version || null;
|
|
961
962
|
const fndAligned = Boolean(evalRepo?.live?.foundation?.alignedWithExpected && evalRepo?.live?.foundation?.foundationTrackActual === '0.39.x');
|
|
962
963
|
const requiredEngineModules = evalRepo ? await Promise.all([
|
|
@@ -964,13 +965,17 @@ async function evaluateArchitecturalRisks(rawRisks, probedRepos, probedByKey, hu
|
|
|
964
965
|
'packages/skill-eval/src/judge-calibration.mjs',
|
|
965
966
|
'packages/skill-eval/src/sfa-hard-gate.mjs',
|
|
966
967
|
'packages/skill-eval/src/scorecard-engine.mjs',
|
|
968
|
+
'packages/skill-eval/src/eval-conclusion.mjs',
|
|
967
969
|
'packages/skill-eval/schemas/scorecard.schema.json',
|
|
968
970
|
].map(rel => checkAnyFileInTargets([evalRepo], [rel]).then(hits => hits.length > 0))) : [];
|
|
969
|
-
const allModulesPresent = requiredEngineModules.length ===
|
|
971
|
+
const allModulesPresent = requiredEngineModules.length === 6 && requiredEngineModules.every(Boolean);
|
|
972
|
+
const hasLegacyHeimdallDir = evalRepo?.live?.realPath
|
|
973
|
+
? await existsDir(join(evalRepo.live.realPath, 'heimdall'))
|
|
974
|
+
: false;
|
|
970
975
|
const receiptReady = Boolean(evalRepo?.live?.locksAndReceipt?.receiptPassed && evalRepo?.live?.locksAndReceipt?.lockPresent);
|
|
971
|
-
detected = !evalRepo?.live?.existsOnDisk || isPlaceholderVersion(ver) || !fndAligned || !allModulesPresent || !receiptReady;
|
|
976
|
+
detected = !evalRepo?.live?.existsOnDisk || isPlaceholderVersion(ver) || !fndAligned || !allModulesPresent || hasLegacyHeimdallDir || !receiptReady;
|
|
972
977
|
liveEvidence = evalRepo?.live?.existsOnDisk
|
|
973
|
-
? `当前版本=${ver || '未声明'},底座=${evalRepo.live.foundation?.foundationTrackActual || 'not-applicable'},核心模块=${allModulesPresent ? '
|
|
978
|
+
? `当前版本=${ver || '未声明'},底座=${evalRepo.live.foundation?.foundationTrackActual || 'not-applicable'},核心模块=${allModulesPresent ? '6/6 就绪' : '缺失'},heimdall残留=${hasLegacyHeimdallDir ? '存在' : '已清理'},锁与收据=${evalRepo.live.locksAndReceipt?.badgeLabel || '未建'}`
|
|
974
979
|
: '本地未检出已重塑的计分卡引擎包';
|
|
975
980
|
probeSource = evalRepo?.live?.existsOnDisk
|
|
976
981
|
? `skill-eval/${evalRepo.live.sourceVersion?.probeSource || 'package.json'} + packages/skill-eval/src/* + sft-runs.json`
|
|
@@ -1209,55 +1214,113 @@ async function evaluateRoadmapMilestones(rawRoadmap, ctx) {
|
|
|
1209
1214
|
liveDetail = `ACP Driver 包:${driverReady ? driverPkgHits[0] : '待建'} · STB Schema:${stbHits[0] || '待建'} · SFA 封存对账实证:${verifiedSampleReady ? '已就绪' : '待核验'}`;
|
|
1210
1215
|
probeSource = 'packages/execution-driver + session-trace-bundle.schema.json + SFA 封存对账结论探针';
|
|
1211
1216
|
} else if (ms.probeCheck === 'blueprint_canvas_and_mocks') {
|
|
1212
|
-
const
|
|
1213
|
-
|
|
1217
|
+
const studioRepo = lookupProbedRepo(probedByKey, 'skill-family-studio')
|
|
1218
|
+
|| probedRepos.find(r => r.publicName === 'skill-family-studio');
|
|
1219
|
+
const sftRepo = lookupProbedRepo(probedByKey, 'skill-family-test')
|
|
1220
|
+
|| probedRepos.find(r => r.publicName === 'skill-family-test');
|
|
1221
|
+
const bpHits = studioRepo ? await checkAnyFileInTargets([studioRepo], [
|
|
1214
1222
|
'packages/skill-family-studio/src/ui/blueprint-canvas.mjs',
|
|
1215
1223
|
'src/ui/blueprint-canvas.mjs',
|
|
1216
|
-
]);
|
|
1217
|
-
const
|
|
1218
|
-
'packages/tool-mock-
|
|
1219
|
-
'src/mock-
|
|
1220
|
-
]);
|
|
1221
|
-
if (bpHits.length > 0 &&
|
|
1224
|
+
]) : [];
|
|
1225
|
+
const replayHits = sftRepo ? await checkAnyFileInTargets([sftRepo], [
|
|
1226
|
+
'packages/skill-family-test/src/tool-mock-replay.mjs',
|
|
1227
|
+
'src/tool-mock-replay.mjs',
|
|
1228
|
+
]) : [];
|
|
1229
|
+
if (bpHits.length > 0 && replayHits.length > 0) {
|
|
1222
1230
|
status = 'passed';
|
|
1223
1231
|
badgeLabel = '✅ 已达成';
|
|
1224
1232
|
badgeTone = 'emerald';
|
|
1225
|
-
} else if (bpHits.length > 0 ||
|
|
1233
|
+
} else if (bpHits.length > 0 || replayHits.length > 0) {
|
|
1226
1234
|
status = 'partial';
|
|
1227
1235
|
badgeLabel = '🔵 部分落盘';
|
|
1228
1236
|
badgeTone = 'indigo';
|
|
1229
1237
|
}
|
|
1230
|
-
liveDetail = `编排蓝图画布:${bpHits[0] || '
|
|
1231
|
-
probeSource = 'blueprint-canvas.mjs +
|
|
1238
|
+
liveDetail = `编排蓝图画布:${bpHits[0] || '待 Wave 4D 按实战摩擦建设'} · sft 工具替身回放:${replayHits[0] || '待 Wave 4D 建设'}`;
|
|
1239
|
+
probeSource = 'skill-family-studio/blueprint-canvas.mjs + skill-family-test/tool-mock-replay.mjs 探针';
|
|
1232
1240
|
} else if (ms.probeCheck === 'skill_eval_scorecard_engine') {
|
|
1233
|
-
const evalRepo = lookupProbedRepo(probedByKey, 'skill-eval')
|
|
1234
|
-
||
|
|
1241
|
+
const evalRepo = lookupProbedRepo(probedByKey, 'skill-family-eval')
|
|
1242
|
+
|| lookupProbedRepo(probedByKey, 'skill-eval')
|
|
1243
|
+
|| probedRepos.find(r => r.publicName === 'skill-family-eval' || r.publicName === 'skill-eval');
|
|
1244
|
+
const rsRepo = lookupProbedRepo(probedByKey, 'release-skill')
|
|
1245
|
+
|| probedRepos.find(r => r.publicName === 'release-skill');
|
|
1246
|
+
const sfaRepo = lookupProbedRepo(probedByKey, 'skill-failure-auditor')
|
|
1247
|
+
|| probedRepos.find(r => r.publicName === 'skill-failure-auditor');
|
|
1235
1248
|
const requiredModules = [
|
|
1236
1249
|
'packages/skill-eval/package.json',
|
|
1237
1250
|
'packages/skill-eval/src/oracle-vault.mjs',
|
|
1238
1251
|
'packages/skill-eval/src/judge-calibration.mjs',
|
|
1239
1252
|
'packages/skill-eval/src/sfa-hard-gate.mjs',
|
|
1240
1253
|
'packages/skill-eval/src/scorecard-engine.mjs',
|
|
1254
|
+
'packages/skill-eval/src/eval-conclusion.mjs',
|
|
1241
1255
|
'packages/skill-eval/schemas/scorecard.schema.json',
|
|
1242
1256
|
];
|
|
1243
1257
|
const moduleChecks = evalRepo ? await Promise.all(
|
|
1244
1258
|
requiredModules.map(rel => checkAnyFileInTargets([evalRepo], [rel]).then(hits => hits[0] || null)),
|
|
1245
1259
|
) : [];
|
|
1246
1260
|
const presentCount = moduleChecks.filter(Boolean).length;
|
|
1261
|
+
let adversarialReady = false;
|
|
1262
|
+
if (evalRepo?.live?.realPath) {
|
|
1263
|
+
const advSrc = await readTextContainedSafe(
|
|
1264
|
+
evalRepo.live.realPath,
|
|
1265
|
+
'packages/skill-eval/src/adversarial-suite.mjs',
|
|
1266
|
+
);
|
|
1267
|
+
adversarialReady = Boolean(
|
|
1268
|
+
advSrc &&
|
|
1269
|
+
advSrc.includes('ADVERSARIAL_SUITE_ID') &&
|
|
1270
|
+
advSrc.includes('evaluateAdversarialRun'),
|
|
1271
|
+
);
|
|
1272
|
+
}
|
|
1273
|
+
let rsEvalProofReady = false;
|
|
1274
|
+
if (rsRepo?.live?.realPath) {
|
|
1275
|
+
const rsProofSrc = await readTextContainedSafe(
|
|
1276
|
+
rsRepo.live.realPath,
|
|
1277
|
+
'packages/release-skill/src/commands/professional-proof.mjs',
|
|
1278
|
+
);
|
|
1279
|
+
rsEvalProofReady = Boolean(
|
|
1280
|
+
rsProofSrc &&
|
|
1281
|
+
/export\s+async\s+function\s+readEvalProfessionalProof\b/.test(rsProofSrc),
|
|
1282
|
+
);
|
|
1283
|
+
}
|
|
1284
|
+
const sfaAligned = sfaRepo?.live?.existsOnDisk
|
|
1285
|
+
? Boolean(sfaRepo.live.foundation?.alignedWithExpected && sfaRepo.live.foundation?.foundationTrackActual === '0.39.x')
|
|
1286
|
+
: true;
|
|
1287
|
+
const hubEvalActive = (hubActual.providers || []).some(
|
|
1288
|
+
p =>
|
|
1289
|
+
p.capabilityId === 'quality-evaluation' &&
|
|
1290
|
+
(p.providerId === 'skill-family-eval' || p.providerId === 'skill-eval') &&
|
|
1291
|
+
p.lifecycleState === 'active' &&
|
|
1292
|
+
p.integrationStatus === 'published-verified',
|
|
1293
|
+
);
|
|
1247
1294
|
const verReady = evalRepo?.live?.existsOnDisk && !isPlaceholderVersion(evalRepo.live.sourceVersion?.version);
|
|
1248
|
-
const fndReady =
|
|
1295
|
+
const fndReady = Boolean(
|
|
1296
|
+
evalRepo?.live?.foundation?.alignedWithExpected &&
|
|
1297
|
+
evalRepo?.live?.foundation?.foundationTrackActual === '0.39.x' &&
|
|
1298
|
+
sfaAligned,
|
|
1299
|
+
);
|
|
1300
|
+
const siteReady = Boolean(evalRepo?.live?.docSite?.isIndependentSite);
|
|
1249
1301
|
const receiptReady = Boolean(evalRepo?.live?.locksAndReceipt?.receiptPassed);
|
|
1250
|
-
if (
|
|
1302
|
+
if (
|
|
1303
|
+
verReady &&
|
|
1304
|
+
fndReady &&
|
|
1305
|
+
presentCount === requiredModules.length &&
|
|
1306
|
+
siteReady &&
|
|
1307
|
+
receiptReady &&
|
|
1308
|
+
rsEvalProofReady &&
|
|
1309
|
+
hubEvalActive &&
|
|
1310
|
+
adversarialReady
|
|
1311
|
+
) {
|
|
1251
1312
|
status = 'passed';
|
|
1252
|
-
badgeLabel = '✅ 已达成';
|
|
1313
|
+
badgeLabel = '✅ 已达成 (含对抗评测与 P7 门禁闭环)';
|
|
1253
1314
|
badgeTone = 'emerald';
|
|
1254
1315
|
} else if (presentCount > 0 || fndReady) {
|
|
1255
1316
|
status = 'partial';
|
|
1256
|
-
badgeLabel =
|
|
1317
|
+
badgeLabel = adversarialReady
|
|
1318
|
+
? '🔵 引擎与对抗包已落盘(待上下游门禁串联)'
|
|
1319
|
+
: '🔵 0.1.0 引擎就绪(待 4B-2 安全对抗套件)';
|
|
1257
1320
|
badgeTone = 'indigo';
|
|
1258
1321
|
}
|
|
1259
|
-
liveDetail = `skill-eval
|
|
1260
|
-
probeSource = 'skill-eval/
|
|
1322
|
+
liveDetail = `skill-family-eval v${evalRepo?.live?.sourceVersion?.version || '0.0.0'},核心模块=${presentCount}/${requiredModules.length},P7门禁=${rsEvalProofReady ? '已接线' : '待接线'},Hub槽位=${hubEvalActive ? 'active' : '待切换'},对抗套件=${adversarialReady ? '已就绪' : '待 4B-2'}`;
|
|
1323
|
+
probeSource = 'skill-eval/src/* + release-skill/professional-proof.mjs + Hub lifecycle-providers.mjs';
|
|
1261
1324
|
} else if (ms.probeCheck === 'studio_server_otel_dengbao') {
|
|
1262
1325
|
const targets = resolveMilestoneTargets(ms.ownerRepos, r => r.ring === 'core' && r.live?.existsOnDisk);
|
|
1263
1326
|
const srvHits = await checkAnyFileInTargets(targets, [
|