Skip to content

Commit 0926f2a

Browse files
committed
[fix.infra.rho.D8+] make the lint gate compare repository source across hosts
Excluding the untracked local Python environment keeps the inherited-debt ceiling identical on developer machines and clean runners while the new product shell remains strictly lint-clean.
1 parent ea76cd7 commit 0926f2a

4 files changed

Lines changed: 30 additions & 27 deletions

File tree

‎.github/workflows/node.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v4
14-
- uses: actions/setup-node@v4
13+
- uses: actions/checkout@v5
14+
- uses: actions/setup-node@v5
1515
with:
1616
node-version: 22
1717
- run: npm ci

‎docs/architecture/dirac-digital-twin.html‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎docs/architecture/dirac-digital-twin.json‎

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"schema": "https://dirac.local/schemas/software-architecture-twin/v2",
33
"title": "Dirac Architecture Optimization Twin",
4-
"generated_at": "2026-08-12T18:32:52.071011+00:00",
5-
"source_base_commit": "ba7cd9ac82eedb4fdb9a48019865e0a07227f434",
6-
"source_fingerprint_sha256": "7e63cfff7a4143ca7ba6a3b06472d4068c384c22797718bd3425906859756780",
4+
"generated_at": "2026-08-12T18:36:45.440867+00:00",
5+
"source_base_commit": "ea76cd79de7ef258491fbac806db243a0218b80f",
6+
"source_fingerprint_sha256": "933ff4c6f391dba6aab6b8f62d67e3bde5f9370cc30bedebda3d3420b1f89d26",
77
"scope": {
88
"included": [
99
"all first-party Python, JavaScript, and Shell functions in backend, SDK, tooling, gates, and operations",
@@ -53,9 +53,9 @@
5353
"typescript_diagnostics": []
5454
},
5555
"runtime_snapshot": {
56-
"captured_at": "2026-08-12T18:32:51.876060+00:00",
56+
"captured_at": "2026-08-12T18:36:45.284758+00:00",
5757
"source": "best-effort live probes",
58-
"git_commit": "ba7cd9ac82eedb4fdb9a48019865e0a07227f434",
58+
"git_commit": "ea76cd79de7ef258491fbac806db243a0218b80f",
5959
"systemd": [
6060
"Id=dirac-fields.service",
6161
"ActiveState=active",
@@ -4421,7 +4421,7 @@
44214421
"path": ".github/workflows/node.yml",
44224422
"extension": ".yml",
44234423
"bytes": 672,
4424-
"sha256": "53d5b150b4b71b9021e7086c02c6174b7a878a4b69df8a3f150cec4dcb3c7460",
4424+
"sha256": "3085327c922beff40e3522bdf11dd90df3cc6d75ddfb4a2e6af6339387ff7ed2",
44254425
"generated": false,
44264426
"id": "file:.github/workflows/node.yml",
44274427
"type": "source-file",
@@ -6433,8 +6433,8 @@
64336433
"layer": "tooling",
64346434
"path": "scripts/check_lint_ratchet.mjs",
64356435
"extension": ".mjs",
6436-
"bytes": 3022,
6437-
"sha256": "3536cfdf6e8a86aee1e6f3e050adc78d21c1240a2e7cef4b5ee124d1a44ac3f3",
6436+
"bytes": 3252,
6437+
"sha256": "867690f7be9532cd5cce207cadfa6742f6a671aaf9b86b3b946ae39f94768ba7",
64386438
"generated": false,
64396439
"id": "file:scripts/check_lint_ratchet.mjs",
64406440
"type": "source-file",
@@ -27600,11 +27600,11 @@
2760027600
"exported": false,
2760127601
"path": "scripts/check_lint_ratchet.mjs",
2760227602
"layer": "tooling",
27603-
"line": 45,
27603+
"line": 48,
2760427604
"column": 61,
27605-
"end_line": 45,
27605+
"end_line": 48,
2760627606
"end_column": 94,
27607-
"id": "function:ts:scripts/check_lint_ratchet.mjs:45:61:<anonymous>",
27607+
"id": "function:ts:scripts/check_lint_ratchet.mjs:48:61:<anonymous>",
2760827608
"type": "function",
2760927609
"name": "<anonymous>"
2761027610
},
@@ -53561,7 +53561,7 @@
5356153561
"layer": "tooling",
5356253562
"line": 11,
5356353563
"column": 1,
53564-
"end_line": 76,
53564+
"end_line": 79,
5356553565
"end_column": 1,
5356653566
"id": "module:ts:scripts/check_lint_ratchet.mjs",
5356753567
"type": "module",
@@ -55143,9 +55143,9 @@
5514355143
"type": "service",
5514455144
"name": "dirac-fields.service :8901",
5514555145
"runtime_evidence": {
55146-
"captured_at": "2026-08-12T18:32:51.876060+00:00",
55146+
"captured_at": "2026-08-12T18:36:45.284758+00:00",
5514755147
"source": "best-effort live probes",
55148-
"git_commit": "ba7cd9ac82eedb4fdb9a48019865e0a07227f434",
55148+
"git_commit": "ea76cd79de7ef258491fbac806db243a0218b80f",
5514955149
"systemd": [
5515055150
"Id=dirac-fields.service",
5515155151
"ActiveState=active",
@@ -55391,9 +55391,9 @@
5539155391
"type": "service",
5539255392
"name": "dirac-digital-twin.service",
5539355393
"runtime_evidence": {
55394-
"captured_at": "2026-08-12T18:32:51.876060+00:00",
55394+
"captured_at": "2026-08-12T18:36:45.284758+00:00",
5539555395
"source": "best-effort live probes",
55396-
"git_commit": "ba7cd9ac82eedb4fdb9a48019865e0a07227f434",
55396+
"git_commit": "ea76cd79de7ef258491fbac806db243a0218b80f",
5539755397
"systemd": [
5539855398
"Id=dirac-fields.service",
5539955399
"ActiveState=active",
@@ -55639,9 +55639,9 @@
5563955639
"type": "service",
5564055640
"name": "dirac-web.service :1360",
5564155641
"runtime_evidence": {
55642-
"captured_at": "2026-08-12T18:32:51.876060+00:00",
55642+
"captured_at": "2026-08-12T18:36:45.284758+00:00",
5564355643
"source": "best-effort live probes",
55644-
"git_commit": "ba7cd9ac82eedb4fdb9a48019865e0a07227f434",
55644+
"git_commit": "ea76cd79de7ef258491fbac806db243a0218b80f",
5564555645
"systemd": [
5564655646
"Id=dirac-fields.service",
5564755647
"ActiveState=active",
@@ -55899,9 +55899,9 @@
5589955899
"type": "store",
5590055900
"name": "PostgreSQL · dirac",
5590155901
"runtime_evidence": {
55902-
"captured_at": "2026-08-12T18:32:51.876060+00:00",
55902+
"captured_at": "2026-08-12T18:36:45.284758+00:00",
5590355903
"source": "best-effort live probes",
55904-
"git_commit": "ba7cd9ac82eedb4fdb9a48019865e0a07227f434",
55904+
"git_commit": "ea76cd79de7ef258491fbac806db243a0218b80f",
5590555905
"systemd": [
5590655906
"Id=dirac-fields.service",
5590755907
"ActiveState=active",
@@ -56153,9 +56153,9 @@
5615356153
"type": "store",
5615456154
"name": "Architecture Twin JSON + HTML",
5615556155
"runtime_evidence": {
56156-
"captured_at": "2026-08-12T18:32:51.876060+00:00",
56156+
"captured_at": "2026-08-12T18:36:45.284758+00:00",
5615756157
"source": "best-effort live probes",
56158-
"git_commit": "ba7cd9ac82eedb4fdb9a48019865e0a07227f434",
56158+
"git_commit": "ea76cd79de7ef258491fbac806db243a0218b80f",
5615956159
"systemd": [
5616056160
"Id=dirac-fields.service",
5616156161
"ActiveState=active",
@@ -78040,7 +78040,7 @@
7804078040
},
7804178041
{
7804278042
"source": "module:ts:scripts/check_lint_ratchet.mjs",
78043-
"target": "function:ts:scripts/check_lint_ratchet.mjs:45:61:<anonymous>",
78043+
"target": "function:ts:scripts/check_lint_ratchet.mjs:48:61:<anonymous>",
7804478044
"relation": "contains"
7804578045
},
7804678046
{

‎scripts/check_lint_ratchet.mjs‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const BASELINE = {
1717
app: { errors: 8, warnings: 406 },
1818
dirac: { errors: 187, warnings: 0 },
1919
chemistry: { errors: 92, warnings: 0 },
20-
inherited: { errors: 723, warnings: 218 },
20+
inherited: { errors: 547, warnings: 193 },
2121
};
2222

2323
const protectedFiles = new Set([
@@ -39,6 +39,9 @@ const protectedViolations = [];
3939

4040
for (const result of results) {
4141
const file = path.relative(ROOT, result.filePath).replaceAll(path.sep, '/');
42+
// The developer workstation has a local Python environment that GitHub does not.
43+
// Its vendored browser JavaScript is neither repository source nor stable across hosts.
44+
if (file.startsWith('backend/env/')) continue;
4245
const group = counts[groupFor(file)];
4346
group.errors += result.errorCount;
4447
group.warnings += result.warningCount;

0 commit comments

Comments
 (0)