@abloh/cli 0.1.3-rc.1 → 0.1.4
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/dist/index.js +13 -3
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -11550,7 +11550,7 @@ function declaresTopLevelKey(document, key) {
|
|
|
11550
11550
|
return new RegExp(String.raw`^${key}\s*:`, "mu").test(document);
|
|
11551
11551
|
}
|
|
11552
11552
|
var WORKFLOW_RELATIVE_PATH = ".github/workflows/abloh-check.yml";
|
|
11553
|
-
var PINNED_ACTION = "Vero-Technology/abloh-action@
|
|
11553
|
+
var PINNED_ACTION = "Vero-Technology/abloh-action@596ef9a2ed0e0570244e6575faee05c285ea0376";
|
|
11554
11554
|
function renderWorkflow(input) {
|
|
11555
11555
|
const build = input.installCommand === null ? [" # Your normal build and dependency steps go here."] : [
|
|
11556
11556
|
` - run: ${input.installCommand}`,
|
|
@@ -13391,6 +13391,9 @@ Options:
|
|
|
13391
13391
|
--lang js|python measurement pipeline (default: auto-detected from the repo)
|
|
13392
13392
|
--tier 0|1|2 data-flow tier override (default: policy tier; 0 = no LLM triage)
|
|
13393
13393
|
--limit <n> cap the number of survivors sent to LLM triage (integer >= 0)
|
|
13394
|
+
--raw raw score only: skip the AI review of survivors.
|
|
13395
|
+
Unlike --tier 0 it changes nothing about data handling
|
|
13396
|
+
--skip-fixes measure and review, but propose no test fixes
|
|
13394
13397
|
--concurrency <n> triage concurrency (integer >= 1; default: 4)
|
|
13395
13398
|
--pre-mutation-timeout-ms <n>
|
|
13396
13399
|
total wall-clock budget for baseline + coverage (default: 1800000)
|
|
@@ -14516,6 +14519,8 @@ Check out the exact commit being measured before running attest. A merge commit
|
|
|
14516
14519
|
);
|
|
14517
14520
|
}
|
|
14518
14521
|
const uncommitted = flags.has("uncommitted");
|
|
14522
|
+
const noTriage = flags.has("raw");
|
|
14523
|
+
const noProposals = flags.has("skip-fixes");
|
|
14519
14524
|
const tree = await workingTreeState(repoDir);
|
|
14520
14525
|
if (uncommitted && tree.hasUntracked) {
|
|
14521
14526
|
throw new Error(
|
|
@@ -15401,7 +15406,10 @@ Replace each link with a tracked regular file, or point it to a tracked regular
|
|
|
15401
15406
|
}
|
|
15402
15407
|
const triageTargets = survivors.filter((m) => !records.has(m.id));
|
|
15403
15408
|
let triageOutcome = null;
|
|
15404
|
-
if (tier !== 0 &&
|
|
15409
|
+
if (noTriage && tier !== 0 && triageTargets.length > 0) {
|
|
15410
|
+
log(`AI review: skipped by --raw \u2014 ${triageTargets.length} survivor(s) left unreviewed, raw score stands alone`);
|
|
15411
|
+
}
|
|
15412
|
+
if (!noTriage && tier !== 0 && detection && triageTargets.length > 0) {
|
|
15405
15413
|
log(`triaging ${triageTargets.length} survivor(s) (concurrency ${concurrency}${limit != null ? `, limit ${limit}` : ""})`);
|
|
15406
15414
|
triageOutcome = await triageSurvivors(triageTargets, {
|
|
15407
15415
|
provider: resolveTaskProvider("triage", policy.classicMutation.models),
|
|
@@ -15430,7 +15438,9 @@ Replace each link with a tracked regular file, or point it to a tracked regular
|
|
|
15430
15438
|
let confirmedEquivalent = 0;
|
|
15431
15439
|
for (const rec of records.values()) if (isConfirmedEquivalent2(rec)) confirmedEquivalent++;
|
|
15432
15440
|
const fixState = classicMutationTier(policy, tier).fixLoop;
|
|
15433
|
-
if (
|
|
15441
|
+
if (noProposals) {
|
|
15442
|
+
fixLoopBlock = { state: "not-run", reason: "skipped by --skip-fixes" };
|
|
15443
|
+
} else if (fixState !== "enabled") {
|
|
15434
15444
|
fixLoopBlock = { state: fixState === "disabled-by-tier" ? "disabled-by-tier" : "disabled" };
|
|
15435
15445
|
} else if (uncommitted) {
|
|
15436
15446
|
fixLoopBlock = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abloh/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Abloh CLI: the `abloh run` command. The package will publish under the @abloh scope.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"semver": "7.8.5",
|
|
28
28
|
"yaml": "^2.5.0",
|
|
29
29
|
"@abloh/sandbox": "0.1.2",
|
|
30
|
-
"@abloh/core": "0.1.2",
|
|
31
30
|
"@abloh/engine-python": "0.1.2",
|
|
31
|
+
"@abloh/engine-stryker": "0.1.3",
|
|
32
32
|
"@abloh/triage": "0.1.2",
|
|
33
|
-
"@abloh/
|
|
33
|
+
"@abloh/core": "0.1.3"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/semver": "7.7.1",
|