Record corrected Windows diagnostic replay and final gates
This commit is contained in:
+30
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"entry": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\candidate-oracle-3\\eof\\project.arcadia",
|
||||
"operation": "check",
|
||||
"status": "invalid",
|
||||
"exit_code": 1,
|
||||
"written": false,
|
||||
"diagnostics": [
|
||||
{
|
||||
"severity": "error",
|
||||
"code": "invalid_source",
|
||||
"message": "Expected a field, element declaration, or '}'.",
|
||||
"coordinate_space": "input",
|
||||
"location": {
|
||||
"path": "functions.arcadia",
|
||||
"start": 1164,
|
||||
"end": 1164,
|
||||
"line": 33,
|
||||
"column": 38
|
||||
},
|
||||
"related": [],
|
||||
"object_id": null,
|
||||
"field": null
|
||||
}
|
||||
],
|
||||
"changes": [],
|
||||
"identities_to_stabilize": 0,
|
||||
"migration": null,
|
||||
"notes": []
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
// This raw included draft intentionally has no UUIDs. Discovery must keep it exact.
|
||||
// Unicode and repeated names distinguish source-byte spans from fixed-width columns.
|
||||
sa_function receive_request "Receive request" {
|
||||
description "Receive a request — 救援 é — and keep the complete explanation visible as this sentence wraps across several visual lines when the Text workspace is narrow. The repeated alias receive_request in prose must not move a diagnostic to this text.";
|
||||
}
|
||||
|
||||
sa_function evaluate_request "Evaluate request" {
|
||||
description "Evaluate the request, retain the engineering rationale, and expose each warning without interrupting selection, Find, scrolling or editing.";
|
||||
}
|
||||
|
||||
// Below are ordinary source lines to exercise scrolling independently of markers.
|
||||
// Scroll row 01
|
||||
// Scroll row 02
|
||||
// Scroll row 03
|
||||
// Scroll row 04
|
||||
// Scroll row 05
|
||||
// Scroll row 06
|
||||
// Scroll row 07
|
||||
// Scroll row 08
|
||||
// Scroll row 09
|
||||
// Scroll row 10
|
||||
// Scroll row 11
|
||||
// Scroll row 12
|
||||
// Scroll row 13
|
||||
// Scroll row 14
|
||||
// Scroll row 15
|
||||
// Scroll row 16
|
||||
// Scroll row 17
|
||||
// Scroll row 18
|
||||
// Scroll row 19
|
||||
// Scroll row 20
|
||||
|
||||
sa_function unfinished "Unfinished" {
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
arcadia 7;
|
||||
project diagnostic_model "Text diagnostic evaluation" id "9e8f0012-0000-4000-8000-000000000001" {
|
||||
include "functions.arcadia";
|
||||
}
|
||||
+220
@@ -0,0 +1,220 @@
|
||||
{
|
||||
"started": "2026-09-13T09:06:46.825951+00:00",
|
||||
"passed": true,
|
||||
"scope": "Saved private syntax candidates only; no GUI or unsaved-model acceptance.",
|
||||
"helper": {
|
||||
"bytes": 6157,
|
||||
"sha256": "1276f90d71d429cec55893eb1f180b694c43f2e02e347e64320d489865c81e63"
|
||||
},
|
||||
"priorOracle": {
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\current-oracle-3\\result.json",
|
||||
"sha256": "0824f5478e86e6db0464b3a47461d7677abf958cd5504eabf14c825b02f29382"
|
||||
},
|
||||
"bindings": {
|
||||
"C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\current-oracle.py": {
|
||||
"bytes": 8820,
|
||||
"sha256": "6491786c2d4752ffa7718d99e3eb9e3f068eb78e3b96917bffc37c8ed47a0c1a"
|
||||
},
|
||||
"C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\current-oracle-3\\result.json": {
|
||||
"bytes": 10336,
|
||||
"sha256": "0824f5478e86e6db0464b3a47461d7677abf958cd5504eabf14c825b02f29382"
|
||||
},
|
||||
"C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\windows-build-final-3-binaries\\arcadia.exe": {
|
||||
"bytes": 20233728,
|
||||
"sha256": "684988efd2faeffc3e087e941bce927f53d46ab6630c23cb82bbead46af96c7a"
|
||||
},
|
||||
"C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\runtime\\libunwind.dll": {
|
||||
"bytes": 190976,
|
||||
"sha256": "f45604a12e8bcd839fd86f667c1be1cc7c4f9da2b3c69ff381ac708f0e1ae7d4"
|
||||
},
|
||||
"C:\\ar-text-9e8r6t\\.local\\text-diagnostic-gates\\windows-build-final-3\\result.json": {
|
||||
"bytes": 4241,
|
||||
"sha256": "bba89a5c91682eca8fc1b1f5046c5c3f4853b3132a0dbd662cf1ca923946487d"
|
||||
},
|
||||
"C:\\ar-text-9e8r6t\\.local\\text-diagnostic-gates\\windows-build-final-3\\inputs.json": {
|
||||
"bytes": 101076,
|
||||
"sha256": "129607a08fea6f9eeae0d40982111c7513b243f6bb311bea8fd59026ce388076"
|
||||
},
|
||||
"C:\\ar-text-9e8r6t\\.local\\text-diagnostic-gates\\windows-build-final-3\\inputs.zip": {
|
||||
"bytes": 2446684,
|
||||
"sha256": "03c73f62ac5e8a276684ee4d4964f481e19fcb05c4edba9648167fdd9751da99"
|
||||
},
|
||||
"C:\\ar-text-9e8r6t\\.local\\text-diagnostic-gates\\windows-build-final-3\\stdout.log": {
|
||||
"bytes": 283439,
|
||||
"sha256": "09833bf4749dd0460c41a5fab14762b7e47d20df94c7291560896dfa4f24a9b3"
|
||||
},
|
||||
"C:\\ar-text-9e8r6t\\.local\\text-diagnostic-gates\\windows-build-final-3\\stderr.log": {
|
||||
"bytes": 414,
|
||||
"sha256": "6597a028ad0ca636c66cf5c0125d37c8bd9b329371f2594022a26a8b77064a31"
|
||||
},
|
||||
"C:\\ar-text-9e8r6t\\.local\\text-diagnostic-gates\\desktop-cli-final-3\\result.json": {
|
||||
"bytes": 8141,
|
||||
"sha256": "1a0625733e00e19a9a353af4b7bdab0be5ed59d24c95596adab1b8d39defdebd"
|
||||
},
|
||||
"C:\\ar-text-9e8r6t\\.local\\text-diagnostic-gates\\desktop-cli-final-3\\inputs.json": {
|
||||
"bytes": 101076,
|
||||
"sha256": "129607a08fea6f9eeae0d40982111c7513b243f6bb311bea8fd59026ce388076"
|
||||
},
|
||||
"C:\\ar-text-9e8r6t\\.local\\text-diagnostic-gates\\desktop-cli-final-3\\inputs.zip": {
|
||||
"bytes": 2446684,
|
||||
"sha256": "03c73f62ac5e8a276684ee4d4964f481e19fcb05c4edba9648167fdd9751da99"
|
||||
},
|
||||
"C:\\ar-text-9e8r6t\\.local\\text-diagnostic-gates\\desktop-cli-final-3\\stdout.log": {
|
||||
"bytes": 397790,
|
||||
"sha256": "72ccbdeaa4e46deb77451f424a12fd77b8d9ab9ce8513dfc2cb78fcd4819b8de"
|
||||
},
|
||||
"C:\\ar-text-9e8r6t\\.local\\text-diagnostic-gates\\desktop-cli-final-3\\stderr.log": {
|
||||
"bytes": 1076,
|
||||
"sha256": "877163f37ca97248c135664f2d02b66f30f4d63c0c949ed328ac59d48bce202b"
|
||||
}
|
||||
},
|
||||
"sourceInputs": {
|
||||
"bytes": 101076,
|
||||
"sha256": "129607a08fea6f9eeae0d40982111c7513b243f6bb311bea8fd59026ce388076"
|
||||
},
|
||||
"runs": [
|
||||
{
|
||||
"label": "token",
|
||||
"started": "2026-09-13T09:06:46.847307+00:00",
|
||||
"command": [
|
||||
"C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\windows-build-final-3-binaries\\arcadia.exe",
|
||||
"lint",
|
||||
"C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\candidate-oracle-3\\token\\project.arcadia",
|
||||
"--json"
|
||||
],
|
||||
"inputFiles": {
|
||||
"functions.arcadia": {
|
||||
"bytes": 1128,
|
||||
"sha256": "2158b41fe855a9ea2736b10d1c5cb9e64a38e90737cd2332ea50a767a16db832"
|
||||
},
|
||||
"project.arcadia": {
|
||||
"bytes": 144,
|
||||
"sha256": "533b17d74f37ca0b6ac5c3b9fba70306849120548153e52577e8dce94684805b"
|
||||
}
|
||||
},
|
||||
"suffixHex": "0a7d",
|
||||
"expectedExitCode": 1,
|
||||
"exitCode": 1,
|
||||
"finished": "2026-09-13T09:06:46.916391+00:00",
|
||||
"report": {
|
||||
"format_version": 1,
|
||||
"entry": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\candidate-oracle-3\\token\\project.arcadia",
|
||||
"operation": "check",
|
||||
"status": "invalid",
|
||||
"exit_code": 1,
|
||||
"written": false,
|
||||
"diagnostics": [
|
||||
{
|
||||
"severity": "error",
|
||||
"code": "invalid_source",
|
||||
"message": "Unknown declaration '}'.",
|
||||
"coordinate_space": "input",
|
||||
"location": {
|
||||
"path": "functions.arcadia",
|
||||
"start": 1127,
|
||||
"end": 1128,
|
||||
"line": 33,
|
||||
"column": 1
|
||||
},
|
||||
"related": [],
|
||||
"object_id": null,
|
||||
"field": null
|
||||
}
|
||||
],
|
||||
"changes": [],
|
||||
"identities_to_stabilize": 0,
|
||||
"migration": null,
|
||||
"notes": []
|
||||
},
|
||||
"expectedSpan": [
|
||||
1127,
|
||||
1128
|
||||
],
|
||||
"stdout": {
|
||||
"bytes": 696,
|
||||
"sha256": "71ed97a47c1ebbb28a05069aec1ad04f391b7f422bbf7e3741f01a41efd6cfc6"
|
||||
},
|
||||
"stderr": {
|
||||
"bytes": 0,
|
||||
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "eof",
|
||||
"started": "2026-09-13T09:06:46.922207+00:00",
|
||||
"command": [
|
||||
"C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\windows-build-final-3-binaries\\arcadia.exe",
|
||||
"lint",
|
||||
"C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\candidate-oracle-3\\eof\\project.arcadia",
|
||||
"--json"
|
||||
],
|
||||
"inputFiles": {
|
||||
"functions.arcadia": {
|
||||
"bytes": 1164,
|
||||
"sha256": "857061bf4641ce345135a66e76bf0ff53b6e49f0a89df5e235f4fe1273ef23f5"
|
||||
},
|
||||
"project.arcadia": {
|
||||
"bytes": 144,
|
||||
"sha256": "533b17d74f37ca0b6ac5c3b9fba70306849120548153e52577e8dce94684805b"
|
||||
}
|
||||
},
|
||||
"suffixHex": "0a73615f66756e6374696f6e20756e66696e69736865642022556e66696e697368656422207b",
|
||||
"expectedExitCode": 1,
|
||||
"exitCode": 1,
|
||||
"finished": "2026-09-13T09:06:46.978692+00:00",
|
||||
"report": {
|
||||
"format_version": 1,
|
||||
"entry": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\candidate-oracle-3\\eof\\project.arcadia",
|
||||
"operation": "check",
|
||||
"status": "invalid",
|
||||
"exit_code": 1,
|
||||
"written": false,
|
||||
"diagnostics": [
|
||||
{
|
||||
"severity": "error",
|
||||
"code": "invalid_source",
|
||||
"message": "Expected a field, element declaration, or '}'.",
|
||||
"coordinate_space": "input",
|
||||
"location": {
|
||||
"path": "functions.arcadia",
|
||||
"start": 1164,
|
||||
"end": 1164,
|
||||
"line": 33,
|
||||
"column": 38
|
||||
},
|
||||
"related": [],
|
||||
"object_id": null,
|
||||
"field": null
|
||||
}
|
||||
],
|
||||
"changes": [],
|
||||
"identities_to_stabilize": 0,
|
||||
"migration": null,
|
||||
"notes": []
|
||||
},
|
||||
"expectedSpan": [
|
||||
1164,
|
||||
1164
|
||||
],
|
||||
"stdout": {
|
||||
"bytes": 717,
|
||||
"sha256": "2192684780a8532d859f4b1e735d135a276e73280d417c321dfc9957fade987d"
|
||||
},
|
||||
"stderr": {
|
||||
"bytes": 0,
|
||||
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
||||
}
|
||||
}
|
||||
],
|
||||
"environment": {
|
||||
"SystemRoot": "C:\\Windows",
|
||||
"WINDIR": "C:\\Windows",
|
||||
"SystemDrive": "C:",
|
||||
"PATH": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\windows-build-final-3-binaries;C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\runtime;C:\\Windows\\System32;C:\\Windows",
|
||||
"USERPROFILE": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\candidate-oracle-3\\profile",
|
||||
"TEMP": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\candidate-oracle-3\\tmp",
|
||||
"TMP": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\candidate-oracle-3\\tmp"
|
||||
},
|
||||
"finished": "2026-09-13T09:06:46.981361+00:00",
|
||||
"originalsUnchanged": true
|
||||
}
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"entry": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\candidate-oracle-3\\token\\project.arcadia",
|
||||
"operation": "check",
|
||||
"status": "invalid",
|
||||
"exit_code": 1,
|
||||
"written": false,
|
||||
"diagnostics": [
|
||||
{
|
||||
"severity": "error",
|
||||
"code": "invalid_source",
|
||||
"message": "Unknown declaration '}'.",
|
||||
"coordinate_space": "input",
|
||||
"location": {
|
||||
"path": "functions.arcadia",
|
||||
"start": 1127,
|
||||
"end": 1128,
|
||||
"line": 33,
|
||||
"column": 1
|
||||
},
|
||||
"related": [],
|
||||
"object_id": null,
|
||||
"field": null
|
||||
}
|
||||
],
|
||||
"changes": [],
|
||||
"identities_to_stabilize": 0,
|
||||
"migration": null,
|
||||
"notes": []
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
// This raw included draft intentionally has no UUIDs. Discovery must keep it exact.
|
||||
// Unicode and repeated names distinguish source-byte spans from fixed-width columns.
|
||||
sa_function receive_request "Receive request" {
|
||||
description "Receive a request — 救援 é — and keep the complete explanation visible as this sentence wraps across several visual lines when the Text workspace is narrow. The repeated alias receive_request in prose must not move a diagnostic to this text.";
|
||||
}
|
||||
|
||||
sa_function evaluate_request "Evaluate request" {
|
||||
description "Evaluate the request, retain the engineering rationale, and expose each warning without interrupting selection, Find, scrolling or editing.";
|
||||
}
|
||||
|
||||
// Below are ordinary source lines to exercise scrolling independently of markers.
|
||||
// Scroll row 01
|
||||
// Scroll row 02
|
||||
// Scroll row 03
|
||||
// Scroll row 04
|
||||
// Scroll row 05
|
||||
// Scroll row 06
|
||||
// Scroll row 07
|
||||
// Scroll row 08
|
||||
// Scroll row 09
|
||||
// Scroll row 10
|
||||
// Scroll row 11
|
||||
// Scroll row 12
|
||||
// Scroll row 13
|
||||
// Scroll row 14
|
||||
// Scroll row 15
|
||||
// Scroll row 16
|
||||
// Scroll row 17
|
||||
// Scroll row 18
|
||||
// Scroll row 19
|
||||
// Scroll row 20
|
||||
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
arcadia 7;
|
||||
project diagnostic_model "Text diagnostic evaluation" id "9e8f0012-0000-4000-8000-000000000001" {
|
||||
include "functions.arcadia";
|
||||
}
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
import hashlib
|
||||
import json
|
||||
from pathlib import Path
|
||||
from datetime import datetime, timezone
|
||||
|
||||
base = Path(__file__).resolve().parent
|
||||
trial = base / 'trial-diagnostic-2'
|
||||
def identity(path):
|
||||
data = path.read_bytes()
|
||||
return {'bytes': len(data), 'sha256': hashlib.sha256(data).hexdigest()}
|
||||
|
||||
closure = json.loads((trial / 'closed.json').read_text())
|
||||
assert closure['exitCode'] == 0 and closure['launchReceiptError'] is None
|
||||
assert all(closure[k] for k in ['binaryUnchanged', 'preservedBinaryUnchanged', 'sameFileAfterExit', 'dllUnchanged'])
|
||||
pairs = [('project.arcadia', base / 'fixtures/missing-include/project.arcadia'),
|
||||
('functions.arcadia', base / 'fixtures/functions-to-discover.arcadia')]
|
||||
files = []
|
||||
for name, original in pairs:
|
||||
actual = trial / 'work-fixture' / name
|
||||
assert actual.read_bytes() == original.read_bytes(), name
|
||||
files.append({'file': name, 'actual': identity(actual), 'original': identity(original), 'exactEqual': True})
|
||||
observations = []
|
||||
for path in sorted((trial / 'screenshots').glob('*.json')):
|
||||
item = json.loads(path.read_text())
|
||||
shots = []
|
||||
for shot in item['screenshots']:
|
||||
p = path.parent / shot['file']
|
||||
shots.append({'file': shot['file'], **identity(p)})
|
||||
observations.append({'file': path.name, **identity(path), 'screenshots': shots})
|
||||
assert len(observations) == 49
|
||||
result = {'atUtc': datetime.now(timezone.utc).isoformat(), 'helper': identity(Path(__file__)),
|
||||
'closure': identity(trial / 'closed.json'), 'files': files,
|
||||
'observations': observations, 'noSaveOrApplyDuringTrial': 'Parent action record; not inferred from disk equality',
|
||||
'scope': 'Post-exit exact disk fixtures and evidence membership. No transient model-state equality claim.'}
|
||||
out = trial / 'post-exit-verification.json'
|
||||
with out.open('x', encoding='utf-8') as f:
|
||||
json.dump(result, f, indent=2)
|
||||
f.write('\n')
|
||||
print(json.dumps({'result': identity(out), 'observations':len(observations), 'screenshots':sum(len(x['screenshots']) for x in observations), 'filesExact': True}))
|
||||
+97
@@ -0,0 +1,97 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"entry": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\current-oracle-3\\complete\\project.arcadia",
|
||||
"operation": "check",
|
||||
"status": "checked",
|
||||
"exit_code": 0,
|
||||
"written": false,
|
||||
"diagnostics": [
|
||||
{
|
||||
"severity": "warning",
|
||||
"code": "missing_system",
|
||||
"message": "Identify the SA system of interest.",
|
||||
"coordinate_space": "input",
|
||||
"location": {
|
||||
"path": "project.arcadia",
|
||||
"start": 11,
|
||||
"end": 107,
|
||||
"line": 2,
|
||||
"column": 1
|
||||
},
|
||||
"related": [],
|
||||
"object_id": "9e8f0012-0000-4000-8000-000000000001",
|
||||
"field": "elements"
|
||||
},
|
||||
{
|
||||
"severity": "warning",
|
||||
"code": "unallocated_leaf",
|
||||
"message": "Allocate leaf 'Evaluate request' to a performer.",
|
||||
"coordinate_space": "input",
|
||||
"location": {
|
||||
"path": "functions.arcadia",
|
||||
"start": 491,
|
||||
"end": 701,
|
||||
"line": 7,
|
||||
"column": 1
|
||||
},
|
||||
"related": [],
|
||||
"object_id": null,
|
||||
"field": "allocation"
|
||||
},
|
||||
{
|
||||
"severity": "warning",
|
||||
"code": "unallocated_leaf",
|
||||
"message": "Allocate leaf 'Receive request' to a performer.",
|
||||
"coordinate_space": "input",
|
||||
"location": {
|
||||
"path": "functions.arcadia",
|
||||
"start": 171,
|
||||
"end": 489,
|
||||
"line": 3,
|
||||
"column": 1
|
||||
},
|
||||
"related": [],
|
||||
"object_id": null,
|
||||
"field": "allocation"
|
||||
},
|
||||
{
|
||||
"severity": "warning",
|
||||
"code": "work_without_behavior_context",
|
||||
"message": "Include this leaf activity/function in a process/chain or scenario through a work action or exchange occurrence.",
|
||||
"coordinate_space": "input",
|
||||
"location": {
|
||||
"path": "functions.arcadia",
|
||||
"start": 491,
|
||||
"end": 701,
|
||||
"line": 7,
|
||||
"column": 1
|
||||
},
|
||||
"related": [],
|
||||
"object_id": null,
|
||||
"field": null
|
||||
},
|
||||
{
|
||||
"severity": "warning",
|
||||
"code": "work_without_behavior_context",
|
||||
"message": "Include this leaf activity/function in a process/chain or scenario through a work action or exchange occurrence.",
|
||||
"coordinate_space": "input",
|
||||
"location": {
|
||||
"path": "functions.arcadia",
|
||||
"start": 171,
|
||||
"end": 489,
|
||||
"line": 3,
|
||||
"column": 1
|
||||
},
|
||||
"related": [],
|
||||
"object_id": null,
|
||||
"field": null
|
||||
}
|
||||
],
|
||||
"changes": [],
|
||||
"identities_to_stabilize": 2,
|
||||
"migration": null,
|
||||
"notes": [
|
||||
"Diagnostic object IDs are omitted for declarations without authored IDs; lint's temporary identities are not the candidate's identities.",
|
||||
"Disk writes use the core journal/conflict checks. This is not cross-process atomic visibility or a power-loss durability guarantee; pending saves are never implicitly recovered. A failed write may require explicit journal recovery."
|
||||
]
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
// This raw included draft intentionally has no UUIDs. Discovery must keep it exact.
|
||||
// Unicode and repeated names distinguish source-byte spans from fixed-width columns.
|
||||
sa_function receive_request "Receive request" {
|
||||
description "Receive a request — 救援 é — and keep the complete explanation visible as this sentence wraps across several visual lines when the Text workspace is narrow. The repeated alias receive_request in prose must not move a diagnostic to this text.";
|
||||
}
|
||||
|
||||
sa_function evaluate_request "Evaluate request" {
|
||||
description "Evaluate the request, retain the engineering rationale, and expose each warning without interrupting selection, Find, scrolling or editing.";
|
||||
}
|
||||
|
||||
// Below are ordinary source lines to exercise scrolling independently of markers.
|
||||
// Scroll row 01
|
||||
// Scroll row 02
|
||||
// Scroll row 03
|
||||
// Scroll row 04
|
||||
// Scroll row 05
|
||||
// Scroll row 06
|
||||
// Scroll row 07
|
||||
// Scroll row 08
|
||||
// Scroll row 09
|
||||
// Scroll row 10
|
||||
// Scroll row 11
|
||||
// Scroll row 12
|
||||
// Scroll row 13
|
||||
// Scroll row 14
|
||||
// Scroll row 15
|
||||
// Scroll row 16
|
||||
// Scroll row 17
|
||||
// Scroll row 18
|
||||
// Scroll row 19
|
||||
// Scroll row 20
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
arcadia 7;
|
||||
project diagnostic_model "Text diagnostic evaluation" id "9e8f0012-0000-4000-8000-000000000001" {
|
||||
include "functions.arcadia";
|
||||
}
|
||||
+46
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"entry": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\current-oracle-3\\missing\\project.arcadia",
|
||||
"operation": "check",
|
||||
"status": "invalid",
|
||||
"exit_code": 3,
|
||||
"written": false,
|
||||
"diagnostics": [
|
||||
{
|
||||
"severity": "error",
|
||||
"code": "missing_include",
|
||||
"message": "Cannot load 'functions.arcadia': Source file operation failed at \\\\?\\C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\current-oracle-3\\missing\\functions.arcadia: The system cannot find the file specified. (os error 2)",
|
||||
"coordinate_space": "input",
|
||||
"location": {
|
||||
"path": "project.arcadia",
|
||||
"start": 113,
|
||||
"end": 141,
|
||||
"line": 3,
|
||||
"column": 5
|
||||
},
|
||||
"related": [],
|
||||
"object_id": null,
|
||||
"field": null
|
||||
},
|
||||
{
|
||||
"severity": "error",
|
||||
"code": "missing_include",
|
||||
"message": "Included file 'functions.arcadia' is missing.",
|
||||
"coordinate_space": "input",
|
||||
"location": {
|
||||
"path": "project.arcadia",
|
||||
"start": 113,
|
||||
"end": 141,
|
||||
"line": 3,
|
||||
"column": 5
|
||||
},
|
||||
"related": [],
|
||||
"object_id": null,
|
||||
"field": null
|
||||
}
|
||||
],
|
||||
"changes": [],
|
||||
"identities_to_stabilize": 0,
|
||||
"migration": null,
|
||||
"notes": []
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
arcadia 7;
|
||||
project diagnostic_model "Text diagnostic evaluation" id "9e8f0012-0000-4000-8000-000000000001" {
|
||||
include "functions.arcadia";
|
||||
}
|
||||
+294
@@ -0,0 +1,294 @@
|
||||
{
|
||||
"started": "2026-09-13T09:06:13.986292+00:00",
|
||||
"scope": "Current source-bound Windows CLI lint of saved fixture bytes only; no GUI, unsaved model, Linux or release acceptance.",
|
||||
"helper": {
|
||||
"bytes": 8820,
|
||||
"sha256": "6491786c2d4752ffa7718d99e3eb9e3f068eb78e3b96917bffc37c8ed47a0c1a"
|
||||
},
|
||||
"binaryPath": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\windows-build-final-3-binaries\\arcadia.exe",
|
||||
"binary": {
|
||||
"bytes": 20233728,
|
||||
"sha256": "684988efd2faeffc3e087e941bce927f53d46ab6630c23cb82bbead46af96c7a"
|
||||
},
|
||||
"artifact": {
|
||||
"cargo": {
|
||||
"reason": "compiler-artifact",
|
||||
"package_id": "path+file:///C:/ar-text-9e8r6t/crates/oa-cli#0.2.0",
|
||||
"manifest_path": "C:\\ar-text-9e8r6t\\crates\\oa-cli\\Cargo.toml",
|
||||
"target": {
|
||||
"kind": [
|
||||
"bin"
|
||||
],
|
||||
"crate_types": [
|
||||
"bin"
|
||||
],
|
||||
"name": "arcadia",
|
||||
"src_path": "C:\\ar-text-9e8r6t\\crates\\oa-cli\\src\\main.rs",
|
||||
"edition": "2024",
|
||||
"doc": true,
|
||||
"doctest": false,
|
||||
"test": true
|
||||
},
|
||||
"profile": {
|
||||
"opt_level": "0",
|
||||
"debuginfo": 0,
|
||||
"debug_assertions": true,
|
||||
"overflow_checks": true,
|
||||
"test": false
|
||||
},
|
||||
"features": [],
|
||||
"filenames": [
|
||||
"C:\\Users\\User\\Documents\\Git\\ARCADIA-Studio\\.local\\target-gnullvm\\debug\\arcadia.exe"
|
||||
],
|
||||
"executable": "C:\\Users\\User\\Documents\\Git\\ARCADIA-Studio\\.local\\target-gnullvm\\debug\\arcadia.exe",
|
||||
"fresh": false
|
||||
},
|
||||
"readback": {
|
||||
"bytes": 20233728,
|
||||
"sha256": "684988efd2faeffc3e087e941bce927f53d46ab6630c23cb82bbead46af96c7a"
|
||||
}
|
||||
},
|
||||
"buildResult": {
|
||||
"path": "C:/ar-text-9e8r6t/.local/text-diagnostic-gates/windows-build-final-3/result.json",
|
||||
"sha256": "bba89a5c91682eca8fc1b1f5046c5c3f4853b3132a0dbd662cf1ca923946487d"
|
||||
},
|
||||
"sourceResult": {
|
||||
"path": "C:/ar-text-9e8r6t/.local/text-diagnostic-gates/desktop-cli-final-3/result.json",
|
||||
"sha256": "1a0625733e00e19a9a353af4b7bdab0be5ed59d24c95596adab1b8d39defdebd"
|
||||
},
|
||||
"sourceFiles": 604,
|
||||
"sourceInputs": {
|
||||
"bytes": 101076,
|
||||
"sha256": "129607a08fea6f9eeae0d40982111c7513b243f6bb311bea8fd59026ce388076"
|
||||
},
|
||||
"fixtures": {
|
||||
"functions-to-discover.arcadia": {
|
||||
"bytes": 1126,
|
||||
"sha256": "59e44537ffafcb572853140f1d2a7a8eb0812d1d7f5fc524ce11c54c49808e8c"
|
||||
},
|
||||
"missing-include/project.arcadia": {
|
||||
"bytes": 144,
|
||||
"sha256": "533b17d74f37ca0b6ac5c3b9fba70306849120548153e52577e8dce94684805b"
|
||||
}
|
||||
},
|
||||
"runs": [
|
||||
{
|
||||
"label": "missing",
|
||||
"started": "2026-09-13T09:06:13.996052+00:00",
|
||||
"command": [
|
||||
"C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\windows-build-final-3-binaries\\arcadia.exe",
|
||||
"lint",
|
||||
"C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\current-oracle-3\\missing\\project.arcadia",
|
||||
"--json"
|
||||
],
|
||||
"expectedExitCode": 3,
|
||||
"exitCode": 3,
|
||||
"finished": "2026-09-13T09:06:14.081359+00:00",
|
||||
"stdout": {
|
||||
"bytes": 1278,
|
||||
"sha256": "d082330e6143f1d7b880ee0b2eb228dd116bdf6a21f5e7383c9c48552fbfc2b5"
|
||||
},
|
||||
"stderr": {
|
||||
"bytes": 0,
|
||||
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
||||
},
|
||||
"report": {
|
||||
"format_version": 1,
|
||||
"entry": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\current-oracle-3\\missing\\project.arcadia",
|
||||
"operation": "check",
|
||||
"status": "invalid",
|
||||
"exit_code": 3,
|
||||
"written": false,
|
||||
"diagnostics": [
|
||||
{
|
||||
"severity": "error",
|
||||
"code": "missing_include",
|
||||
"message": "Cannot load 'functions.arcadia': Source file operation failed at \\\\?\\C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\current-oracle-3\\missing\\functions.arcadia: The system cannot find the file specified. (os error 2)",
|
||||
"coordinate_space": "input",
|
||||
"location": {
|
||||
"path": "project.arcadia",
|
||||
"start": 113,
|
||||
"end": 141,
|
||||
"line": 3,
|
||||
"column": 5
|
||||
},
|
||||
"related": [],
|
||||
"object_id": null,
|
||||
"field": null
|
||||
},
|
||||
{
|
||||
"severity": "error",
|
||||
"code": "missing_include",
|
||||
"message": "Included file 'functions.arcadia' is missing.",
|
||||
"coordinate_space": "input",
|
||||
"location": {
|
||||
"path": "project.arcadia",
|
||||
"start": 113,
|
||||
"end": 141,
|
||||
"line": 3,
|
||||
"column": 5
|
||||
},
|
||||
"related": [],
|
||||
"object_id": null,
|
||||
"field": null
|
||||
}
|
||||
],
|
||||
"changes": [],
|
||||
"identities_to_stabilize": 0,
|
||||
"migration": null,
|
||||
"notes": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "complete",
|
||||
"started": "2026-09-13T09:06:14.081359+00:00",
|
||||
"command": [
|
||||
"C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\windows-build-final-3-binaries\\arcadia.exe",
|
||||
"lint",
|
||||
"C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\current-oracle-3\\complete\\project.arcadia",
|
||||
"--json"
|
||||
],
|
||||
"expectedExitCode": 0,
|
||||
"exitCode": 0,
|
||||
"finished": "2026-09-13T09:06:14.159747+00:00",
|
||||
"stdout": {
|
||||
"bytes": 2870,
|
||||
"sha256": "b79f216c0cc6898ccf958f9330d4239c392924aaea79a35ab35b3f4f380ee555"
|
||||
},
|
||||
"stderr": {
|
||||
"bytes": 0,
|
||||
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
||||
},
|
||||
"report": {
|
||||
"format_version": 1,
|
||||
"entry": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\current-oracle-3\\complete\\project.arcadia",
|
||||
"operation": "check",
|
||||
"status": "checked",
|
||||
"exit_code": 0,
|
||||
"written": false,
|
||||
"diagnostics": [
|
||||
{
|
||||
"severity": "warning",
|
||||
"code": "missing_system",
|
||||
"message": "Identify the SA system of interest.",
|
||||
"coordinate_space": "input",
|
||||
"location": {
|
||||
"path": "project.arcadia",
|
||||
"start": 11,
|
||||
"end": 107,
|
||||
"line": 2,
|
||||
"column": 1
|
||||
},
|
||||
"related": [],
|
||||
"object_id": "9e8f0012-0000-4000-8000-000000000001",
|
||||
"field": "elements"
|
||||
},
|
||||
{
|
||||
"severity": "warning",
|
||||
"code": "unallocated_leaf",
|
||||
"message": "Allocate leaf 'Evaluate request' to a performer.",
|
||||
"coordinate_space": "input",
|
||||
"location": {
|
||||
"path": "functions.arcadia",
|
||||
"start": 491,
|
||||
"end": 701,
|
||||
"line": 7,
|
||||
"column": 1
|
||||
},
|
||||
"related": [],
|
||||
"object_id": null,
|
||||
"field": "allocation"
|
||||
},
|
||||
{
|
||||
"severity": "warning",
|
||||
"code": "unallocated_leaf",
|
||||
"message": "Allocate leaf 'Receive request' to a performer.",
|
||||
"coordinate_space": "input",
|
||||
"location": {
|
||||
"path": "functions.arcadia",
|
||||
"start": 171,
|
||||
"end": 489,
|
||||
"line": 3,
|
||||
"column": 1
|
||||
},
|
||||
"related": [],
|
||||
"object_id": null,
|
||||
"field": "allocation"
|
||||
},
|
||||
{
|
||||
"severity": "warning",
|
||||
"code": "work_without_behavior_context",
|
||||
"message": "Include this leaf activity/function in a process/chain or scenario through a work action or exchange occurrence.",
|
||||
"coordinate_space": "input",
|
||||
"location": {
|
||||
"path": "functions.arcadia",
|
||||
"start": 491,
|
||||
"end": 701,
|
||||
"line": 7,
|
||||
"column": 1
|
||||
},
|
||||
"related": [],
|
||||
"object_id": null,
|
||||
"field": null
|
||||
},
|
||||
{
|
||||
"severity": "warning",
|
||||
"code": "work_without_behavior_context",
|
||||
"message": "Include this leaf activity/function in a process/chain or scenario through a work action or exchange occurrence.",
|
||||
"coordinate_space": "input",
|
||||
"location": {
|
||||
"path": "functions.arcadia",
|
||||
"start": 171,
|
||||
"end": 489,
|
||||
"line": 3,
|
||||
"column": 1
|
||||
},
|
||||
"related": [],
|
||||
"object_id": null,
|
||||
"field": null
|
||||
}
|
||||
],
|
||||
"changes": [],
|
||||
"identities_to_stabilize": 2,
|
||||
"migration": null,
|
||||
"notes": [
|
||||
"Diagnostic object IDs are omitted for declarations without authored IDs; lint's temporary identities are not the candidate's identities.",
|
||||
"Disk writes use the core journal/conflict checks. This is not cross-process atomic visibility or a power-loss durability guarantee; pending saves are never implicitly recovered. A failed write may require explicit journal recovery."
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"passed": true,
|
||||
"environment": {
|
||||
"SystemRoot": "C:\\Windows",
|
||||
"WINDIR": "C:\\Windows",
|
||||
"SystemDrive": "C:",
|
||||
"PATH": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\windows-build-final-3-binaries;C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\runtime;C:\\Windows\\System32;C:\\Windows",
|
||||
"USERPROFILE": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\current-oracle-3\\profile",
|
||||
"TEMP": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\current-oracle-3\\tmp",
|
||||
"TMP": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\current-oracle-3\\tmp"
|
||||
},
|
||||
"preparedFixtures": {
|
||||
"missing": {
|
||||
"project.arcadia": {
|
||||
"bytes": 144,
|
||||
"sha256": "533b17d74f37ca0b6ac5c3b9fba70306849120548153e52577e8dce94684805b"
|
||||
}
|
||||
},
|
||||
"complete": {
|
||||
"functions.arcadia": {
|
||||
"bytes": 1126,
|
||||
"sha256": "59e44537ffafcb572853140f1d2a7a8eb0812d1d7f5fc524ce11c54c49808e8c"
|
||||
},
|
||||
"project.arcadia": {
|
||||
"bytes": 144,
|
||||
"sha256": "533b17d74f37ca0b6ac5c3b9fba70306849120548153e52577e8dce94684805b"
|
||||
}
|
||||
}
|
||||
},
|
||||
"finished": "2026-09-13T09:06:14.169320+00:00",
|
||||
"binaryUnchanged": true,
|
||||
"originalFixturesUnchanged": true,
|
||||
"dllUnchanged": true,
|
||||
"evidenceUnchanged": true
|
||||
}
|
||||
+171
@@ -0,0 +1,171 @@
|
||||
{
|
||||
"nativeReady": true,
|
||||
"target": "x86_64-pc-windows-gnullvm",
|
||||
"scope": "Development diagnostic GUI trial only; no integrated package or release acceptance.",
|
||||
"sourceInputs": {
|
||||
"bytes": 101076,
|
||||
"sha256": "129607a08fea6f9eeae0d40982111c7513b243f6bb311bea8fd59026ce388076"
|
||||
},
|
||||
"binary": {
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\windows-build-final-3-binaries\\arcadia-studio.exe",
|
||||
"bytes": 114221056,
|
||||
"sha256": "9cff5a094e3015d95a2c5fdb8b1ceaf03aced6a09670de32a4ec5ff8dcc94900"
|
||||
},
|
||||
"evidence": [
|
||||
{
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\windows-build-final-3-binaries\\preserved.json",
|
||||
"bytes": 1287,
|
||||
"sha256": "a7ab09c710b52f2c305aace932e4bff8339d8b7583d6bc664bd2c2816f9dd281"
|
||||
},
|
||||
{
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\prepare-launch-3.py",
|
||||
"bytes": 4051,
|
||||
"sha256": "7d469a7df729be59a95ac8b99be72034fad9323443107ffc1d2ea2746e1ec650"
|
||||
},
|
||||
{
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\launch.py",
|
||||
"bytes": 4751,
|
||||
"sha256": "94c6438f78304d7f754b967620a4627f3c8fa35eeb4d541cc035ebbc54e8a384"
|
||||
},
|
||||
{
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\native-recorder.js",
|
||||
"bytes": 1857,
|
||||
"sha256": "ce04a2fa7f511c24891af63577a1cf03e9fa620eccd4bed845ebfd2dd83692fd"
|
||||
},
|
||||
{
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-gates\\strict-clippy-5\\result.json",
|
||||
"bytes": 1758,
|
||||
"sha256": "ca9f76a65821a861af2e2aeda204fce9270203265ffbf30497095f0de4a1f77c"
|
||||
},
|
||||
{
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-gates\\strict-clippy-5\\inputs.json",
|
||||
"bytes": 101076,
|
||||
"sha256": "129607a08fea6f9eeae0d40982111c7513b243f6bb311bea8fd59026ce388076"
|
||||
},
|
||||
{
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-gates\\strict-clippy-5\\inputs.zip",
|
||||
"bytes": 2446684,
|
||||
"sha256": "03c73f62ac5e8a276684ee4d4964f481e19fcb05c4edba9648167fdd9751da99"
|
||||
},
|
||||
{
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-gates\\strict-clippy-5\\stdout.log",
|
||||
"bytes": 302540,
|
||||
"sha256": "f4bca3336276a7d460762f892c315374bb0d768674f940cec9f34966c3a25f6b"
|
||||
},
|
||||
{
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-gates\\strict-clippy-5\\stderr.log",
|
||||
"bytes": 427,
|
||||
"sha256": "17f91d63e4ea380573d8ed7f14885904996ca7830b1a30de1b226c63a91c20f6"
|
||||
},
|
||||
{
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-gates\\desktop-cli-final-3\\result.json",
|
||||
"bytes": 8141,
|
||||
"sha256": "1a0625733e00e19a9a353af4b7bdab0be5ed59d24c95596adab1b8d39defdebd"
|
||||
},
|
||||
{
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-gates\\desktop-cli-final-3\\inputs.json",
|
||||
"bytes": 101076,
|
||||
"sha256": "129607a08fea6f9eeae0d40982111c7513b243f6bb311bea8fd59026ce388076"
|
||||
},
|
||||
{
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-gates\\desktop-cli-final-3\\inputs.zip",
|
||||
"bytes": 2446684,
|
||||
"sha256": "03c73f62ac5e8a276684ee4d4964f481e19fcb05c4edba9648167fdd9751da99"
|
||||
},
|
||||
{
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-gates\\desktop-cli-final-3\\stdout.log",
|
||||
"bytes": 397790,
|
||||
"sha256": "72ccbdeaa4e46deb77451f424a12fd77b8d9ab9ce8513dfc2cb78fcd4819b8de"
|
||||
},
|
||||
{
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-gates\\desktop-cli-final-3\\stderr.log",
|
||||
"bytes": 1076,
|
||||
"sha256": "877163f37ca97248c135664f2d02b66f30f4d63c0c949ed328ac59d48bce202b"
|
||||
},
|
||||
{
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-gates\\format-final-3\\result.json",
|
||||
"bytes": 1642,
|
||||
"sha256": "0814f0541246d71556dcb59d5c458e425930008a2a39937640cf51aa92052aff"
|
||||
},
|
||||
{
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-gates\\format-final-3\\inputs.json",
|
||||
"bytes": 101076,
|
||||
"sha256": "129607a08fea6f9eeae0d40982111c7513b243f6bb311bea8fd59026ce388076"
|
||||
},
|
||||
{
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-gates\\format-final-3\\inputs.zip",
|
||||
"bytes": 2446684,
|
||||
"sha256": "03c73f62ac5e8a276684ee4d4964f481e19fcb05c4edba9648167fdd9751da99"
|
||||
},
|
||||
{
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-gates\\format-final-3\\stdout.log",
|
||||
"bytes": 0,
|
||||
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
||||
},
|
||||
{
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-gates\\format-final-3\\stderr.log",
|
||||
"bytes": 0,
|
||||
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
||||
},
|
||||
{
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-gates\\windows-build-final-3\\result.json",
|
||||
"bytes": 4241,
|
||||
"sha256": "bba89a5c91682eca8fc1b1f5046c5c3f4853b3132a0dbd662cf1ca923946487d"
|
||||
},
|
||||
{
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-gates\\windows-build-final-3\\inputs.json",
|
||||
"bytes": 101076,
|
||||
"sha256": "129607a08fea6f9eeae0d40982111c7513b243f6bb311bea8fd59026ce388076"
|
||||
},
|
||||
{
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-gates\\windows-build-final-3\\inputs.zip",
|
||||
"bytes": 2446684,
|
||||
"sha256": "03c73f62ac5e8a276684ee4d4964f481e19fcb05c4edba9648167fdd9751da99"
|
||||
},
|
||||
{
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-gates\\windows-build-final-3\\stdout.log",
|
||||
"bytes": 283439,
|
||||
"sha256": "09833bf4749dd0460c41a5fab14762b7e47d20df94c7291560896dfa4f24a9b3"
|
||||
},
|
||||
{
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-gates\\windows-build-final-3\\stderr.log",
|
||||
"bytes": 414,
|
||||
"sha256": "6597a028ad0ca636c66cf5c0125d37c8bd9b329371f2594022a26a8b77064a31"
|
||||
},
|
||||
{
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\current-oracle-3\\result.json",
|
||||
"bytes": 10336,
|
||||
"sha256": "0824f5478e86e6db0464b3a47461d7677abf958cd5504eabf14c825b02f29382"
|
||||
},
|
||||
{
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\current-oracle-3\\missing.stdout.json",
|
||||
"bytes": 1278,
|
||||
"sha256": "d082330e6143f1d7b880ee0b2eb228dd116bdf6a21f5e7383c9c48552fbfc2b5"
|
||||
},
|
||||
{
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\current-oracle-3\\missing.stderr.log",
|
||||
"bytes": 0,
|
||||
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
||||
},
|
||||
{
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\current-oracle-3\\complete.stdout.json",
|
||||
"bytes": 2870,
|
||||
"sha256": "b79f216c0cc6898ccf958f9330d4239c392924aaea79a35ab35b3f4f380ee555"
|
||||
},
|
||||
{
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\current-oracle-3\\complete.stderr.log",
|
||||
"bytes": 0,
|
||||
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
||||
},
|
||||
{
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\fixtures\\missing-include\\project.arcadia",
|
||||
"bytes": 144,
|
||||
"sha256": "533b17d74f37ca0b6ac5c3b9fba70306849120548153e52577e8dce94684805b"
|
||||
},
|
||||
{
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\fixtures\\functions-to-discover.arcadia",
|
||||
"bytes": 1126,
|
||||
"sha256": "59e44537ffafcb572853140f1d2a7a8eb0812d1d7f5fc524ce11c54c49808e8c"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
"""Bind native launch to closed same-source Windows gates and the current CLI oracle."""
|
||||
from pathlib import Path
|
||||
import hashlib, json
|
||||
|
||||
base = Path(__file__).resolve().parent
|
||||
gates = base.parent / 'text-diagnostic-gates'
|
||||
|
||||
def identity(path):
|
||||
raw = path.read_bytes()
|
||||
return {'path':str(path), 'bytes':len(raw), 'sha256':hashlib.sha256(raw).hexdigest()}
|
||||
|
||||
def read(path):
|
||||
return json.loads(path.read_text(encoding='utf-8'))
|
||||
|
||||
preserved = base / 'windows-build-final-3-binaries/preserved.json'
|
||||
binary_record = read(preserved)
|
||||
evidence = [identity(preserved), identity(Path(__file__)), identity(base / 'launch.py'), identity(base / 'native-recorder.js')]
|
||||
source_inputs = None
|
||||
for label in ['strict-clippy-5','desktop-cli-final-3','format-final-3','windows-build-final-3']:
|
||||
root = gates / label
|
||||
result = read(root / 'result.json')
|
||||
assert result['exitCode'] == 0 and result['inputsUnchanged'] and result['inputCount'] == 604
|
||||
assert result['environment']['RUSTUP_TOOLCHAIN'] == 'stable-x86_64-pc-windows-gnullvm'
|
||||
if source_inputs is None:
|
||||
source_inputs = result['inputs']
|
||||
assert source_inputs == result['inputs']
|
||||
evidence.append(identity(root / 'result.json'))
|
||||
for name, key in [('inputs.json','inputs'),('inputs.zip','archive'),('stdout.log','stdout'),('stderr.log','stderr')]:
|
||||
item = identity(root / name)
|
||||
assert {k:item[k] for k in ['bytes','sha256']} == result[key]
|
||||
evidence.append(item)
|
||||
oracle_path = base / 'current-oracle-3/result.json'
|
||||
oracle = read(oracle_path)
|
||||
assert oracle['passed'] and oracle['sourceInputs'] == source_inputs
|
||||
evidence.append(identity(oracle_path))
|
||||
for name in ['missing.stdout.json','missing.stderr.log','complete.stdout.json','complete.stderr.log']:
|
||||
evidence.append(identity(oracle_path.parent / name))
|
||||
for name in ['fixtures/missing-include/project.arcadia','fixtures/functions-to-discover.arcadia']:
|
||||
evidence.append(identity(base / name))
|
||||
binary = next(b for b in binary_record['binaries'] if b['name'] == 'arcadia-studio')
|
||||
actual = identity(Path(binary['path']))
|
||||
assert all(actual[key] == binary[key] for key in ['bytes','sha256'])
|
||||
build_path = gates / 'windows-build-final-3/result.json'
|
||||
build = read(build_path)
|
||||
assert binary_record['buildResult'] == identity(build_path)
|
||||
assert binary_record['sourceInputs'] == source_inputs
|
||||
assert 'build' in build['command'] and build['finish']
|
||||
if '--target' in build['command']:
|
||||
assert build['command'][build['command'].index('--target') + 1] == 'x86_64-pc-windows-gnullvm'
|
||||
matches = [a for a in build['artifacts'] if a['cargo']['target']['name'] == 'arcadia-studio'
|
||||
and a['cargo']['target']['kind'] == ['bin'] and a['cargo']['profile']['test'] is False
|
||||
and a['cargo']['executable']]
|
||||
assert len(matches) == 1
|
||||
artifact = matches[0]
|
||||
assert artifact['readback'] == {key:actual[key] for key in ['bytes','sha256']}
|
||||
assert Path(binary['source']).resolve() == Path(artifact['cargo']['executable']).resolve()
|
||||
assert Path(artifact['cargo']['manifest_path']).resolve() == (Path(build['cwd']) / 'crates/oa-desktop/Cargo.toml').resolve()
|
||||
assert 'crates/oa-desktop/Cargo.toml' in read(build_path.parent / 'inputs.json')
|
||||
raw_artifacts = []
|
||||
for line in (build_path.parent / 'stdout.log').read_text(encoding='utf-8').splitlines():
|
||||
try:
|
||||
value = json.loads(line)
|
||||
except json.JSONDecodeError:
|
||||
continue
|
||||
if isinstance(value, dict) and value.get('reason') == 'compiler-artifact':
|
||||
raw_artifacts.append(value)
|
||||
assert artifact['cargo'] in raw_artifacts
|
||||
assert oracle['buildResult']['sha256'] == identity(build_path)['sha256']
|
||||
manifest = {'nativeReady':True, 'target':'x86_64-pc-windows-gnullvm', 'scope':'Development diagnostic GUI trial only; no integrated package or release acceptance.', 'sourceInputs':source_inputs, 'binary':actual, 'evidence':evidence}
|
||||
path = base / 'launch-manifest-final-3.json'
|
||||
with path.open('x', encoding='utf-8', newline='\n') as output:
|
||||
json.dump(manifest, output, indent=2)
|
||||
output.write('\n')
|
||||
print(json.dumps(identity(path)))
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"buildResult": {
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-gates\\windows-build-final-3\\result.json",
|
||||
"bytes": 4241,
|
||||
"sha256": "bba89a5c91682eca8fc1b1f5046c5c3f4853b3132a0dbd662cf1ca923946487d"
|
||||
},
|
||||
"sourceInputs": {
|
||||
"bytes": 101076,
|
||||
"sha256": "129607a08fea6f9eeae0d40982111c7513b243f6bb311bea8fd59026ce388076"
|
||||
},
|
||||
"helper": {
|
||||
"bytes": 1814,
|
||||
"sha256": "45965ef15326ebc6cc08d349867f6139bdee2fef6b2e5e879caf6692fbea4198"
|
||||
},
|
||||
"binaries": [
|
||||
{
|
||||
"name": "arcadia-studio",
|
||||
"source": "C:\\Users\\User\\Documents\\Git\\ARCADIA-Studio\\.local\\target-gnullvm\\debug\\arcadia-studio.exe",
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\windows-build-final-3-binaries\\arcadia-studio.exe",
|
||||
"bytes": 114221056,
|
||||
"sha256": "9cff5a094e3015d95a2c5fdb8b1ceaf03aced6a09670de32a4ec5ff8dcc94900"
|
||||
},
|
||||
{
|
||||
"name": "arcadia",
|
||||
"source": "C:\\Users\\User\\Documents\\Git\\ARCADIA-Studio\\.local\\target-gnullvm\\debug\\arcadia.exe",
|
||||
"path": "C:\\ar-text-9e8r6t\\.local\\text-diagnostic-native\\windows-build-final-3-binaries\\arcadia.exe",
|
||||
"bytes": 20233728,
|
||||
"sha256": "684988efd2faeffc3e087e941bce927f53d46ab6630c23cb82bbead46af96c7a"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user