@codyswann/lisa 4.103.3 → 4.103.5
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/all/copy-overwrite/scripts/lisa-gates.mjs +15 -811
- package/all/copy-overwrite/scripts/lisa-run-gates.mjs +21 -200
- package/all/copy-overwrite/scripts/npm-updater-helper-graph.json +2 -2
- package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
- package/dist/core/lisa-owned-hash-ledger.js +8 -0
- package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +9 -7
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/package.json +4 -4
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-agy/plugin.json +1 -1
- package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-agy/plugin.json +1 -1
- package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-agy/plugin.json +1 -1
- package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
|
@@ -68,7 +68,6 @@ import {
|
|
|
68
68
|
compareCodeUnits,
|
|
69
69
|
configurationProblems,
|
|
70
70
|
declarationsAt,
|
|
71
|
-
digest,
|
|
72
71
|
formatIdentityLine,
|
|
73
72
|
lisaIdentity,
|
|
74
73
|
momentsExecutedBy,
|
|
@@ -1318,13 +1317,6 @@ export function spawnExec(command) {
|
|
|
1318
1317
|
* to have a `gates` array, which is how evidence of one thing becomes evidence
|
|
1319
1318
|
* of another. This token is also what a caller greps for to find out whether
|
|
1320
1319
|
* the runner it resolved is old enough to ignore `--evidence` entirely.
|
|
1321
|
-
*
|
|
1322
|
-
* Shared verbatim with the release verifier in CodySwannGT/lisa#3013. Two
|
|
1323
|
-
* producers — this one at the deploy moments, that one at `pull-request` — and
|
|
1324
|
-
* ONE schema, because two evidence formats for one property is this
|
|
1325
|
-
* repository's recurring defect. The verifier keys on `contract.moment` and
|
|
1326
|
-
* refuses to satisfy a `pre-deploy:*` gate with a `pull-request` envelope
|
|
1327
|
-
* regardless of tree match, so the two producers never compete.
|
|
1328
1320
|
*/
|
|
1329
1321
|
export const EVIDENCE_SCHEMA = "lisa.gate-evidence/v1";
|
|
1330
1322
|
|
|
@@ -1399,13 +1391,10 @@ function gitRev(spec) {
|
|
|
1399
1391
|
}
|
|
1400
1392
|
|
|
1401
1393
|
/**
|
|
1402
|
-
* WHAT this evidence is about
|
|
1394
|
+
* WHAT this evidence is about.
|
|
1403
1395
|
*
|
|
1404
|
-
* `tree` is the identity
|
|
1405
|
-
*
|
|
1406
|
-
* and that is exactly the case where reusing the evidence is sound — a reader
|
|
1407
|
-
* keyed on the commit would rerun everything a rebase touched for no reason,
|
|
1408
|
-
* and one keyed on nothing at all would credit a tree that never shipped.
|
|
1396
|
+
* `tree` is the identity and `commit` is evidentiary: two commits share a tree
|
|
1397
|
+
* after a rebase, and the tree is what the gates actually examined.
|
|
1409
1398
|
* @returns {object} The subject binding.
|
|
1410
1399
|
*/
|
|
1411
1400
|
function evidenceSubject() {
|
|
@@ -1418,179 +1407,20 @@ function evidenceSubject() {
|
|
|
1418
1407
|
}
|
|
1419
1408
|
|
|
1420
1409
|
/**
|
|
1421
|
-
*
|
|
1422
|
-
*
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
return digest(JSON.parse(inputs));
|
|
1429
|
-
} catch {
|
|
1430
|
-
// A caller that stated unreadable inputs established nothing about them.
|
|
1431
|
-
// Null makes a verifier rerun; throwing here would replace the gate's real
|
|
1432
|
-
// verdict with an uncaught exit and prevent the evidence write entirely.
|
|
1433
|
-
return null;
|
|
1434
|
-
}
|
|
1435
|
-
}
|
|
1436
|
-
|
|
1437
|
-
/**
|
|
1438
|
-
* UNDER WHICH CONTRACT it was proved — the half a tree hash cannot carry.
|
|
1439
|
-
*
|
|
1440
|
-
* `workflow_ref` and `workflow_sha` are not redundant with `subject.tree`, and
|
|
1441
|
-
* this is the load-bearing argument for keeping them: consumers call the
|
|
1442
|
-
* reusable workflow at `@main`, so its contents can change with NO change to
|
|
1443
|
-
* the caller's tree. Tree identity alone would let evidence produced by an
|
|
1444
|
-
* older, weaker workflow satisfy a stricter one.
|
|
1445
|
-
*
|
|
1446
|
-
* `inputs_digest` covers the same hole one level down — the same workflow at
|
|
1447
|
-
* the same sha proves different things when handed a different
|
|
1448
|
-
* `working_directory` or `install_dependencies`. The caller states its own
|
|
1449
|
-
* normalised inputs, because only the caller knows them; unstated means null,
|
|
1450
|
-
* which a verifier reads as "not established" rather than "no inputs".
|
|
1451
|
-
* @param {object} options Inputs.
|
|
1452
|
-
* @param {string} options.moment The moment that was run.
|
|
1453
|
-
* @param {object|null} options.gates The gates block that was executed.
|
|
1454
|
-
* @param {string} [options.runner] The task-runner prefix.
|
|
1455
|
-
* @param {Record<string,string>|null} [options.scripts] Project scripts.
|
|
1456
|
-
* @param {object} options.identity Lisa artifact identity captured at run start.
|
|
1457
|
-
* @returns {object} The contract binding.
|
|
1458
|
-
*/
|
|
1459
|
-
function evidenceContract({ moment, gates, runner, scripts = null, identity }) {
|
|
1460
|
-
return {
|
|
1461
|
-
moment,
|
|
1462
|
-
runner: runner ?? null,
|
|
1463
|
-
gates_digest: planDigest({ gates, moment, runner, scripts }),
|
|
1464
|
-
// SPREAD, not three hand-copied fields. The printed header and this
|
|
1465
|
-
// document have to be the same claim: a reader comparing a pasted gate
|
|
1466
|
-
// line against a stored envelope and finding them disagree learns nothing
|
|
1467
|
-
// except that Lisa has two answers. `surface` and `artifacts` ride along,
|
|
1468
|
-
// and they are the half that says WHICH COPY of the enforcement script
|
|
1469
|
-
// produced the verdict — a fact a workflow ref cannot carry, because the
|
|
1470
|
-
// wrapper's identity and the enforcement's identity are independent when
|
|
1471
|
-
// the enforcement is a file living in the consuming repository.
|
|
1472
|
-
...identity,
|
|
1473
|
-
inputs_digest: inputsDigest(),
|
|
1474
|
-
};
|
|
1475
|
-
}
|
|
1476
|
-
|
|
1477
|
-
/**
|
|
1478
|
-
* A caller chain the CALLER derived, or null. Never a literal written here.
|
|
1479
|
-
*
|
|
1480
|
-
* Depth is a property of how a consumer wired its workflows, not of the gates
|
|
1481
|
-
* block: a pull-request path posts one level and a release path posts two, and
|
|
1482
|
-
* a consumer's release job is not even named uniformly across the fleet. The
|
|
1483
|
-
* only truthful derivation is `postedCallerChains` over a completed run's
|
|
1484
|
-
* check-run names, which needs API scope this runner does not have — so a
|
|
1485
|
-
* caller that CAN read them states the answer here, and everything else
|
|
1486
|
-
* records null. A verifier treats a null chain as ineligible and reruns, which
|
|
1487
|
-
* is the safe direction; a guessed literal would not be.
|
|
1488
|
-
* @returns {string[]|null} The chain, shallowest element first.
|
|
1489
|
-
*/
|
|
1490
|
-
function callerChain() {
|
|
1491
|
-
const stated = process.env.LISA_GATE_EVIDENCE_CALLER_CHAIN ?? null;
|
|
1492
|
-
if (!stated) return null;
|
|
1493
|
-
try {
|
|
1494
|
-
const parsed = JSON.parse(stated);
|
|
1495
|
-
return Array.isArray(parsed) && parsed.every(el => typeof el === "string")
|
|
1496
|
-
? parsed
|
|
1497
|
-
: null;
|
|
1498
|
-
} catch {
|
|
1499
|
-
return null;
|
|
1500
|
-
}
|
|
1501
|
-
}
|
|
1502
|
-
|
|
1503
|
-
/**
|
|
1504
|
-
* WHO produced it, so an auditor can go and read the run.
|
|
1505
|
-
*
|
|
1506
|
-
* `reused_gates` is emitted from day one, empty, even though nothing reuses
|
|
1507
|
-
* yet. An absent field and an empty one must not be the same thing to a
|
|
1508
|
-
* reader: adding it later would leave every envelope written before the
|
|
1509
|
-
* addition indistinguishable from one that reused everything. It exists to
|
|
1510
|
-
* close circular reuse — a run that reuses evidence and then emits its own
|
|
1511
|
-
* envelope could otherwise be reused in turn, and the chain of proof bottoms
|
|
1512
|
-
* out on nothing. A verifier refuses any envelope with a non-empty
|
|
1513
|
-
* `reused_gates` as a source. Primary proof only.
|
|
1514
|
-
* @returns {object} The originating run, with nulls off CI.
|
|
1515
|
-
*/
|
|
1516
|
-
function evidenceProducer() {
|
|
1517
|
-
const id = process.env.GITHUB_RUN_ID ?? null;
|
|
1518
|
-
const server = process.env.GITHUB_SERVER_URL ?? null;
|
|
1519
|
-
const repository = process.env.GITHUB_REPOSITORY ?? null;
|
|
1520
|
-
return {
|
|
1521
|
-
run_id: id,
|
|
1522
|
-
run_attempt: process.env.GITHUB_RUN_ATTEMPT ?? null,
|
|
1523
|
-
run_url:
|
|
1524
|
-
id && server && repository
|
|
1525
|
-
? `${server}/${repository}/actions/runs/${id}`
|
|
1526
|
-
: null,
|
|
1527
|
-
workflow: process.env.GITHUB_WORKFLOW ?? null,
|
|
1528
|
-
event: process.env.GITHUB_EVENT_NAME ?? null,
|
|
1529
|
-
actor: process.env.GITHUB_ACTOR ?? null,
|
|
1530
|
-
caller_chain: callerChain(),
|
|
1531
|
-
// This runner never reuses. It executes every gate it records, so the list
|
|
1532
|
-
// is empty by construction rather than by omission.
|
|
1533
|
-
reused_gates: [],
|
|
1534
|
-
};
|
|
1535
|
-
}
|
|
1536
|
-
|
|
1537
|
-
/**
|
|
1538
|
-
* One gate's outcome: `EVIDENCE_FIELDS` verbatim, plus exactly two additions.
|
|
1539
|
-
*
|
|
1540
|
-
* All seven `EVIDENCE_FIELDS` keys are spelled exactly as that module declares
|
|
1541
|
-
* them, so `readEvidence` reads a row with no adapter. The two additions are
|
|
1542
|
-
* the release verifier's requirements and this producer's too:
|
|
1543
|
-
*
|
|
1544
|
-
* - `level` — without a per-row level, a required gate can be "covered" by
|
|
1545
|
-
* evidence that was OPTIONAL when it ran, which is a silent downgrade. Here
|
|
1546
|
-
* it is also the only thing that tells a reader whether a failing gate was
|
|
1547
|
-
* allowed to fail.
|
|
1548
|
-
* - `label` — the registry label, which ties the row to the branch-protection
|
|
1549
|
-
* context `contextsFor` derives, so an audit can name the context and not
|
|
1550
|
-
* only the gate id.
|
|
1551
|
-
*
|
|
1552
|
-
* Nothing else. `task` and `command` deliberately do NOT get their own row
|
|
1553
|
-
* keys: they are inside `contract.gates_digest`, and a second copy on the row
|
|
1554
|
-
* is a second place to drift. The command still appears once, as
|
|
1555
|
-
* `prover.tool`, which is an `EVIDENCE_FIELDS` key.
|
|
1556
|
-
*
|
|
1557
|
-
* `prover.version` is null rather than `"unknown"` when unresolvable. A string
|
|
1558
|
-
* that looks like a version and is a placeholder is worse than an absent
|
|
1559
|
-
* field, because a placeholder defeats the check that reads it.
|
|
1560
|
-
*
|
|
1561
|
-
* NARROWED for #3013, and the narrowing matters. This comment used to say
|
|
1562
|
-
* flatly that the verifier treats a null-version row as uncoverable. Read
|
|
1563
|
-
* literally that makes NOTHING reusable, because the pull-request producer
|
|
1564
|
-
* cannot resolve a version for every hand-written job. The rule is right for
|
|
1565
|
-
* the case it was written about and too broad for the rest, so `reusePlan` in
|
|
1566
|
-
* lisa-gates.mjs applies it by reuse class: for a TIME-SENSITIVE gate the
|
|
1567
|
-
* prover is an external scanner whose version decides what it can find, and a
|
|
1568
|
-
* null version is disqualifying; for a DETERMINISTIC gate the binding that
|
|
1569
|
-
* matters is `subject.tree` + `contract.gates_digest` + `contract.workflow_sha`,
|
|
1570
|
-
* all non-null by construction, and a null `prover.version` weakens nothing.
|
|
1571
|
-
*
|
|
1572
|
-
* `work` is null and stays null until a prover-output parser exists. That is
|
|
1573
|
-
* not a shortcut: `readEvidence` demotes a `pass` with no work count to
|
|
1574
|
-
* `unknown` for any gate whose registry entry names one, so the conservative
|
|
1575
|
-
* value fails SAFE. A fabricated count would fail the other way.
|
|
1410
|
+
* One gate's outcome, as small as a reader needs.
|
|
1411
|
+
*
|
|
1412
|
+
* The envelope used to carry `work`, `measures`, `prover` and freshness fields
|
|
1413
|
+
* for a release-reuse checker that nothing called; every one of them was null
|
|
1414
|
+
* or restated the exit code, so they were removed with the checker
|
|
1415
|
+
* (CodySwannGT/lisa#4794). `status` stays three-valued: only PASSED becomes
|
|
1416
|
+
* `pass`, FAILED becomes `fail`, and everything else is `unknown`.
|
|
1576
1417
|
* @param {GateOutcome} outcome One resolved gate and its verdict.
|
|
1577
|
-
* @
|
|
1578
|
-
* @returns {object} The gate's evidence record.
|
|
1418
|
+
* @returns {{gate: string, status: string, level: string, label: string}} The gate's record.
|
|
1579
1419
|
*/
|
|
1580
|
-
function gateEvidence(outcome
|
|
1420
|
+
function gateEvidence(outcome) {
|
|
1581
1421
|
return {
|
|
1582
1422
|
gate: outcome.id,
|
|
1583
1423
|
status: EVIDENCE_STATUS_FOR[outcome.state] ?? "unknown",
|
|
1584
|
-
work: null,
|
|
1585
|
-
measures: {
|
|
1586
|
-
exit_code: outcome.code ?? null,
|
|
1587
|
-
state: outcome.state,
|
|
1588
|
-
detail: outcome.detail ?? null,
|
|
1589
|
-
diagnosis: outcome.diagnosis ?? null,
|
|
1590
|
-
},
|
|
1591
|
-
prover: { tool: outcome.command ?? null, version: null },
|
|
1592
|
-
observed_at: observedAt,
|
|
1593
|
-
max_age_minutes: null,
|
|
1594
1424
|
level: outcome.level,
|
|
1595
1425
|
label: outcome.label ?? outcome.id,
|
|
1596
1426
|
};
|
|
@@ -1599,15 +1429,10 @@ function gateEvidence(outcome, observedAt) {
|
|
|
1599
1429
|
/**
|
|
1600
1430
|
* The whole document one run of one moment records.
|
|
1601
1431
|
*
|
|
1602
|
-
* `observed_at` is the run's START
|
|
1603
|
-
*
|
|
1604
|
-
*
|
|
1605
|
-
*
|
|
1606
|
-
* `verdict` is this producer's one addition to the shared header, and it is
|
|
1607
|
-
* what makes the zero-gate case legible ON DISK rather than only as an exit
|
|
1608
|
-
* code. An envelope recording nothing and an envelope recording a clean run
|
|
1609
|
-
* must not be byte-similar: `"no-gates"` beside an empty `gates` array says
|
|
1610
|
-
* which one this is, where a bare empty array would read as either.
|
|
1432
|
+
* `observed_at` is the run's START. `verdict` makes the zero-gate case legible
|
|
1433
|
+
* on disk: `"no-gates"` beside an empty `gates` array says which of "ran and
|
|
1434
|
+
* declared nothing" or "recorded nothing" this is. `contract.gates_digest`
|
|
1435
|
+
* names the declared rule set the run was held to.
|
|
1611
1436
|
* @param {object} options Inputs.
|
|
1612
1437
|
* @param {string} options.moment The moment that was run.
|
|
1613
1438
|
* @param {object|null} [options.gates] The gates block that was executed.
|
|
@@ -1616,7 +1441,6 @@ function gateEvidence(outcome, observedAt) {
|
|
|
1616
1441
|
* @param {string} [options.runner] The task-runner prefix.
|
|
1617
1442
|
* @param {Record<string,string>|null} [options.scripts] Project scripts.
|
|
1618
1443
|
* @param {string} options.observedAt When the run began, ISO-8601.
|
|
1619
|
-
* @param {object} [options.identity] Lisa identity captured for this run.
|
|
1620
1444
|
* @returns {object} The evidence envelope.
|
|
1621
1445
|
*/
|
|
1622
1446
|
export function evidenceDocument({
|
|
@@ -1627,19 +1451,17 @@ export function evidenceDocument({
|
|
|
1627
1451
|
runner = undefined,
|
|
1628
1452
|
scripts = null,
|
|
1629
1453
|
observedAt,
|
|
1630
|
-
identity = lisaIdentity(),
|
|
1631
1454
|
}) {
|
|
1632
|
-
const observations = (result?.results ?? []).map(outcome =>
|
|
1633
|
-
gateEvidence(outcome, observedAt)
|
|
1634
|
-
);
|
|
1635
1455
|
return {
|
|
1636
1456
|
schema: EVIDENCE_SCHEMA,
|
|
1637
1457
|
verdict,
|
|
1638
1458
|
subject: evidenceSubject(),
|
|
1639
|
-
contract:
|
|
1640
|
-
|
|
1459
|
+
contract: {
|
|
1460
|
+
moment,
|
|
1461
|
+
gates_digest: planDigest({ gates, moment, runner, scripts }),
|
|
1462
|
+
},
|
|
1641
1463
|
observed_at: observedAt,
|
|
1642
|
-
gates:
|
|
1464
|
+
gates: (result?.results ?? []).map(gateEvidence),
|
|
1643
1465
|
};
|
|
1644
1466
|
}
|
|
1645
1467
|
|
|
@@ -1812,7 +1634,6 @@ export function main(argv = process.argv.slice(2)) {
|
|
|
1812
1634
|
runner: parts.runner,
|
|
1813
1635
|
scripts: parts.scripts ?? null,
|
|
1814
1636
|
verdict,
|
|
1815
|
-
identity,
|
|
1816
1637
|
})
|
|
1817
1638
|
);
|
|
1818
1639
|
if (written) return code;
|
|
@@ -1325,7 +1325,7 @@
|
|
|
1325
1325
|
"children": []
|
|
1326
1326
|
},
|
|
1327
1327
|
"lisa-gates.mjs": {
|
|
1328
|
-
"sha256": "
|
|
1328
|
+
"sha256": "94640dede038608239edea5cffbf0227a86d77b3e4b9b9c6e3762369fa2de259",
|
|
1329
1329
|
"staticImports": [
|
|
1330
1330
|
"lib/invoked-as-script.mjs",
|
|
1331
1331
|
"node:crypto",
|
|
@@ -1394,7 +1394,7 @@
|
|
|
1394
1394
|
]
|
|
1395
1395
|
},
|
|
1396
1396
|
"lisa-run-gates.mjs": {
|
|
1397
|
-
"sha256": "
|
|
1397
|
+
"sha256": "62f3b3b78419a53ca3d9c0ed2e2ce2d8952a54674ab11bfe77cdf02b61115e74",
|
|
1398
1398
|
"staticImports": [
|
|
1399
1399
|
"lib/bounded-spawn.mjs",
|
|
1400
1400
|
"lib/gate-failure-diagnosis.mjs",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lisa-owned-hash-ledger.d.ts","sourceRoot":"","sources":["../../src/core/lisa-owned-hash-ledger.ts"],"names":[],"mappings":"AACA,6EAA6E;AAE7E;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAC3C,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"lisa-owned-hash-ledger.d.ts","sourceRoot":"","sources":["../../src/core/lisa-owned-hash-ledger.ts"],"names":[],"mappings":"AACA,6EAA6E;AAE7E;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAC3C,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CA64EjC,CAAC;AAEH;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,+BAA+B,EAAE,QAAQ,CACpD,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CAgzEjC,CAAC"}
|
|
@@ -1405,6 +1405,7 @@ export const LISA_OWNED_HASH_LEDGER = Object.freeze({
|
|
|
1405
1405
|
"512c573c1c17a2df99f20413da7280d3f0dfb68e4021bd973c206772d66c8903",
|
|
1406
1406
|
"522c9d6724361140ca36fe967378fdfc944da9aa612aad5310237b95f4ca66be",
|
|
1407
1407
|
"55027398aa3dc1c26597d8e0989fc4d0a33bbef3efafb95e06253e986b6616ee",
|
|
1408
|
+
"564bb06e19023521975023d93f299f0abc817bacee1bfa911aca1827f7e6cd8c",
|
|
1408
1409
|
"564f9be8bb355ec3b536ba448c8a1edcb873baad6f477075a54b88de73d67bc8",
|
|
1409
1410
|
"5b6c9f081f22c5aa098ec05d9a3e8df92ccbdf0b9469d361e3426210cdd25b48",
|
|
1410
1411
|
"5d4099e9c6fe5978fba206a069ae6a68d899ef33a57e110ea65e1d4c39328ee1",
|
|
@@ -1435,6 +1436,7 @@ export const LISA_OWNED_HASH_LEDGER = Object.freeze({
|
|
|
1435
1436
|
"9195c267d98f2fa8071fc0bd2d5623a7ab82f82d136bdb23061f89a2c1db6efe",
|
|
1436
1437
|
"927f61bb657fde066fcf80646843e9934ceaacb6dd163c64f38721fe7734e9a3",
|
|
1437
1438
|
"92b3bcbe6051e04c53a6e60fd62e30c1176bbdacdcaf7e11f8e456ff9cd1c5d9",
|
|
1439
|
+
"94640dede038608239edea5cffbf0227a86d77b3e4b9b9c6e3762369fa2de259",
|
|
1438
1440
|
"94a9bd9ebe4ae61e3dd6fa42875bfe6b81f818ae8669e8cac508b8dc2251a7c6",
|
|
1439
1441
|
"95d021d8c199001bc669ffe19cc3a54590cc1cfa1524c3e278c410e47dcc4bdb",
|
|
1440
1442
|
"96077d0bbcf53ccc6b1baadef319cb9fa9979413bcff418ecea5abd136ff3491",
|
|
@@ -1948,6 +1950,7 @@ export const LISA_OWNED_HASH_LEDGER = Object.freeze({
|
|
|
1948
1950
|
"495689f32edb11fe3641575668e7b642f4d6126a2b7eac2e245d0a31d87128b4",
|
|
1949
1951
|
"59f78a0895c4d3c68a0b74ac879abfb3220f1866ee48b9540f70388d77292555",
|
|
1950
1952
|
"5c65c8db73c5465cef810789ef71abe405df4d5d5db64f78923e5050656f13c8",
|
|
1953
|
+
"62f3b3b78419a53ca3d9c0ed2e2ce2d8952a54674ab11bfe77cdf02b61115e74",
|
|
1951
1954
|
"670f7059a0694b5f829252c056eec31f18e926a5137b652cb77f9e29a5a7ab73",
|
|
1952
1955
|
"6e419a489d0605cc0743af207ff4ff3428d8bcdfbabb7207d164593b9644dfa5",
|
|
1953
1956
|
"79055f89eb9c5bf1739867c12dc2d9e30320f86a2a3dd470300ba706c3c9d85e",
|
|
@@ -2303,6 +2306,7 @@ export const LISA_OWNED_HASH_LEDGER = Object.freeze({
|
|
|
2303
2306
|
"60cabe901481efe958d2cedc88a2452cce88aebcc72de969184b48884e631f27",
|
|
2304
2307
|
"617976fa328bde110f953967490e2cacb22fa3c13963b1ccece71b830feb929f",
|
|
2305
2308
|
"625b7bb957c6d807cba630ea1592cb33b811b13d7efef8bbfc447f255bf39384",
|
|
2309
|
+
"62b1fb5b90fdf9f0f6f53270641cf35b60dd47395303635cd1c03cfc3fc7efbf",
|
|
2306
2310
|
"6356484022fc514a64983af62765de0cb0234a3a2747bada9b585a554c545547",
|
|
2307
2311
|
"64723c62b50713cf171f5e1a2727375ce304682e5735332b6e768de112cc2f9c",
|
|
2308
2312
|
"647f264e008ed9df4703ebbedc3aad71991c1c11ce6f77da69794e697448cf97",
|
|
@@ -3819,6 +3823,7 @@ export const LISA_OWNED_HASH_HISTORY_DERIVED = Object.freeze({
|
|
|
3819
3823
|
"4fe7003d048086a366b9bea1711275c2186e095f4bf976279d1ff825fd4eca1d",
|
|
3820
3824
|
"50cb619a56ed4c81c078ef4b680f781a6e0d89a606d3c68acab129f25e9aa893",
|
|
3821
3825
|
"522c9d6724361140ca36fe967378fdfc944da9aa612aad5310237b95f4ca66be",
|
|
3826
|
+
"564bb06e19023521975023d93f299f0abc817bacee1bfa911aca1827f7e6cd8c",
|
|
3822
3827
|
"564f9be8bb355ec3b536ba448c8a1edcb873baad6f477075a54b88de73d67bc8",
|
|
3823
3828
|
"5b6c9f081f22c5aa098ec05d9a3e8df92ccbdf0b9469d361e3426210cdd25b48",
|
|
3824
3829
|
"5d4099e9c6fe5978fba206a069ae6a68d899ef33a57e110ea65e1d4c39328ee1",
|
|
@@ -3841,6 +3846,7 @@ export const LISA_OWNED_HASH_HISTORY_DERIVED = Object.freeze({
|
|
|
3841
3846
|
"9195c267d98f2fa8071fc0bd2d5623a7ab82f82d136bdb23061f89a2c1db6efe",
|
|
3842
3847
|
"927f61bb657fde066fcf80646843e9934ceaacb6dd163c64f38721fe7734e9a3",
|
|
3843
3848
|
"92b3bcbe6051e04c53a6e60fd62e30c1176bbdacdcaf7e11f8e456ff9cd1c5d9",
|
|
3849
|
+
"94640dede038608239edea5cffbf0227a86d77b3e4b9b9c6e3762369fa2de259",
|
|
3844
3850
|
"94a9bd9ebe4ae61e3dd6fa42875bfe6b81f818ae8669e8cac508b8dc2251a7c6",
|
|
3845
3851
|
"95d021d8c199001bc669ffe19cc3a54590cc1cfa1524c3e278c410e47dcc4bdb",
|
|
3846
3852
|
"96077d0bbcf53ccc6b1baadef319cb9fa9979413bcff418ecea5abd136ff3491",
|
|
@@ -4320,6 +4326,7 @@ export const LISA_OWNED_HASH_HISTORY_DERIVED = Object.freeze({
|
|
|
4320
4326
|
"495689f32edb11fe3641575668e7b642f4d6126a2b7eac2e245d0a31d87128b4",
|
|
4321
4327
|
"59f78a0895c4d3c68a0b74ac879abfb3220f1866ee48b9540f70388d77292555",
|
|
4322
4328
|
"5c65c8db73c5465cef810789ef71abe405df4d5d5db64f78923e5050656f13c8",
|
|
4329
|
+
"62f3b3b78419a53ca3d9c0ed2e2ce2d8952a54674ab11bfe77cdf02b61115e74",
|
|
4323
4330
|
"670f7059a0694b5f829252c056eec31f18e926a5137b652cb77f9e29a5a7ab73",
|
|
4324
4331
|
"6e419a489d0605cc0743af207ff4ff3428d8bcdfbabb7207d164593b9644dfa5",
|
|
4325
4332
|
"79055f89eb9c5bf1739867c12dc2d9e30320f86a2a3dd470300ba706c3c9d85e",
|
|
@@ -4668,6 +4675,7 @@ export const LISA_OWNED_HASH_HISTORY_DERIVED = Object.freeze({
|
|
|
4668
4675
|
"60cabe901481efe958d2cedc88a2452cce88aebcc72de969184b48884e631f27",
|
|
4669
4676
|
"617976fa328bde110f953967490e2cacb22fa3c13963b1ccece71b830feb929f",
|
|
4670
4677
|
"625b7bb957c6d807cba630ea1592cb33b811b13d7efef8bbfc447f255bf39384",
|
|
4678
|
+
"62b1fb5b90fdf9f0f6f53270641cf35b60dd47395303635cd1c03cfc3fc7efbf",
|
|
4671
4679
|
"6356484022fc514a64983af62765de0cb0234a3a2747bada9b585a554c545547",
|
|
4672
4680
|
"64723c62b50713cf171f5e1a2727375ce304682e5735332b6e768de112cc2f9c",
|
|
4673
4681
|
"647f264e008ed9df4703ebbedc3aad71991c1c11ce6f77da69794e697448cf97",
|