Add EveFlutter conformance consumer proof
This commit is contained in:
parent
8fee12fc6b
commit
2709061fd8
5 changed files with 103 additions and 2 deletions
|
|
@ -280,6 +280,13 @@ Exit criteria:
|
|||
|
||||
Recently cut:
|
||||
|
||||
- EveFlutter now has a conformance consumer smoke at
|
||||
`scripts/run-eveflutter-conformance-consumer-smoke.ps1`. It runs from
|
||||
`flutter/eve_parity`, consumes the exported conformance pack, and asserts the
|
||||
runtime pack, Sai provider fixture, Flutter runtimes, and `EveFlutter` split
|
||||
target without reading Eve's parity manifest. The split-readiness report now
|
||||
records that as a passed proof instead of leaving it as a permanent pending
|
||||
blocker.
|
||||
- Fensalir now has a recorded runtime-pack
|
||||
`gamecult.eve.surface.v1` adapter fixture at
|
||||
`web/fixtures/fensalir-direct2d-surface.json`. The browser local catalog uses
|
||||
|
|
|
|||
|
|
@ -110,6 +110,16 @@ and `aetheria-world-command-replay` scenario. Generated copies remain under
|
|||
Eve's `artifacts/aetheria-conformance-consumer-smoke` so the provider worktree
|
||||
does not become dirty merely by proving the boundary.
|
||||
|
||||
EveFlutter consumer smoke:
|
||||
|
||||
```powershell
|
||||
powershell -ExecutionPolicy Bypass -File .\scripts\run-eveflutter-conformance-consumer-smoke.ps1
|
||||
```
|
||||
|
||||
That script runs the export consumer from `flutter/eve_parity` and asserts the
|
||||
runtime pack, Sai provider fixture, Flutter runtime targets, and `EveFlutter`
|
||||
split target without reading `tools/parity/parity-manifest.json`.
|
||||
|
||||
Aetheria Unity package consumer smoke:
|
||||
|
||||
```powershell
|
||||
|
|
|
|||
55
scripts/run-eveflutter-conformance-consumer-smoke.ps1
Normal file
55
scripts/run-eveflutter-conformance-consumer-smoke.ps1
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
param(
|
||||
[string] $ExportDirectory = "artifacts\conformance\latest",
|
||||
[string] $FlutterRoot = "flutter\eve_parity",
|
||||
[string] $ConsumerDirectory = "artifacts\eveflutter-conformance-consumer-smoke"
|
||||
)
|
||||
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
||||
$projectRoot = Split-Path -Parent $PSScriptRoot
|
||||
$sourceExport = if ([System.IO.Path]::IsPathRooted($ExportDirectory)) {
|
||||
$ExportDirectory
|
||||
} else {
|
||||
Join-Path $projectRoot $ExportDirectory
|
||||
}
|
||||
$flutterRootPath = if ([System.IO.Path]::IsPathRooted($FlutterRoot)) {
|
||||
$FlutterRoot
|
||||
} else {
|
||||
Join-Path $projectRoot $FlutterRoot
|
||||
}
|
||||
$consumerRoot = if ([System.IO.Path]::IsPathRooted($ConsumerDirectory)) {
|
||||
$ConsumerDirectory
|
||||
} else {
|
||||
Join-Path $projectRoot $ConsumerDirectory
|
||||
}
|
||||
$consumerExport = Join-Path $consumerRoot "export"
|
||||
|
||||
if (-not (Test-Path $sourceExport)) {
|
||||
throw "Conformance export not found: $sourceExport"
|
||||
}
|
||||
if (-not (Test-Path $flutterRootPath)) {
|
||||
throw "EveFlutter consumer root not found: $flutterRootPath"
|
||||
}
|
||||
|
||||
if (Test-Path $consumerExport) {
|
||||
Remove-Item -LiteralPath $consumerExport -Recurse -Force
|
||||
}
|
||||
New-Item -ItemType Directory -Force -Path $consumerRoot | Out-Null
|
||||
Copy-Item -LiteralPath $sourceExport -Destination $consumerExport -Recurse
|
||||
|
||||
$consumerScript = Join-Path $projectRoot "tools\conformance\consume-export.mjs"
|
||||
|
||||
Push-Location $flutterRootPath
|
||||
try {
|
||||
node $consumerScript $consumerExport `
|
||||
--expect-pack runtime `
|
||||
--expect-pack provider `
|
||||
--expect-fixture sai-vn `
|
||||
--expect-provider gamecult.home.vn `
|
||||
--expect-runtime windows-flutter `
|
||||
--expect-runtime linux-flutter `
|
||||
--expect-runtime android-flutter `
|
||||
--expect-split-target EveFlutter
|
||||
} finally {
|
||||
Pop-Location
|
||||
}
|
||||
|
|
@ -440,10 +440,20 @@
|
|||
"capabilities": ["embed.tex"]
|
||||
}
|
||||
],
|
||||
"proofs": [
|
||||
{
|
||||
"description": "Conformance pack can be consumed without depending on Eve's local harness layout.",
|
||||
"status": "passed",
|
||||
"evidencePaths": [
|
||||
"scripts/run-eveflutter-conformance-consumer-smoke.ps1",
|
||||
"tools/conformance/consume-export.mjs",
|
||||
"tools/parity/run-parity.mjs"
|
||||
]
|
||||
}
|
||||
],
|
||||
"pendingProofs": [
|
||||
"Provider picker consumes provider advertisements without Eve source-layout knowledge.",
|
||||
"Flutter build, release, and capture lifecycle can run from EveFlutter.",
|
||||
"Conformance pack can be consumed without depending on Eve's local harness layout."
|
||||
"Flutter build, release, and capture lifecycle can run from EveFlutter."
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1080,6 +1080,7 @@ function evaluateSplitTargets(splitTargets, runtimeResults) {
|
|||
const requiredRuntimeStatuses = target.requiredRuntimeStatuses || ["active"];
|
||||
const requiredFeatures = target.requiredFeatures || [];
|
||||
const requiredPlugins = target.requiredPlugins || [];
|
||||
const proofs = target.proofs || [];
|
||||
const runtimeIds = target.runtimes || [];
|
||||
const blockers = [];
|
||||
const runtimeStatuses = {};
|
||||
|
|
@ -1123,6 +1124,16 @@ function evaluateSplitTargets(splitTargets, runtimeResults) {
|
|||
}
|
||||
}
|
||||
|
||||
for (const proof of proofs) {
|
||||
const missingEvidence = (proof.evidencePaths || []).filter(candidate => !existsSync(path.join(repoRoot, candidate)));
|
||||
if (proof.status !== "passed") {
|
||||
blockers.push(`proof:${proof.description || "unnamed"}:status:${proof.status || "missing"}`);
|
||||
}
|
||||
for (const evidencePath of missingEvidence) {
|
||||
blockers.push(`proof:${proof.description || "unnamed"}:evidence:${evidencePath}:missing`);
|
||||
}
|
||||
}
|
||||
|
||||
for (const proof of target.pendingProofs || []) {
|
||||
blockers.push(`proof:${proof}`);
|
||||
}
|
||||
|
|
@ -1138,6 +1149,7 @@ function evaluateSplitTargets(splitTargets, runtimeResults) {
|
|||
requiredRuntimeStatuses,
|
||||
requiredFeatures,
|
||||
requiredPlugins,
|
||||
proofs,
|
||||
pendingProofs: target.pendingProofs || [],
|
||||
blockers,
|
||||
};
|
||||
|
|
@ -1531,6 +1543,13 @@ function renderMarkdown(report) {
|
|||
lines.push(`| ${target.id} | ${target.status} | ${target.ownerRepo} | ${runtimes} | ${target.blockers.join("<br>")} |`);
|
||||
}
|
||||
|
||||
lines.push("", "## Split Proofs", "", "| Target | Proof | Status | Evidence |", "| --- | --- | --- | --- |");
|
||||
for (const target of report.splitTargets) {
|
||||
for (const proof of target.proofs || []) {
|
||||
lines.push(`| ${target.id} | ${proof.description || ""} | ${proof.status || ""} | ${(proof.evidencePaths || []).join("<br>")} |`);
|
||||
}
|
||||
}
|
||||
|
||||
lines.push("", "## Runtime Notes", "");
|
||||
for (const runtime of report.runtimes) {
|
||||
if (runtime.capture?.note) lines.push(`- ${runtime.title}: ${runtime.capture.note}`);
|
||||
|
|
|
|||
Loading…
Reference in a new issue