Report Eve runtime split readiness
This commit is contained in:
parent
73005d797b
commit
3cf093ea0c
3 changed files with 145 additions and 3 deletions
|
|
@ -274,10 +274,19 @@ Exit criteria:
|
|||
|
||||
## Active Work Queue
|
||||
|
||||
1. Add split-readiness reports for EveFlutter and EveUnity.
|
||||
1. Add plugin ABI fixtures for Sai, Norn, and TeX describe/validate/project/apply
|
||||
behavior without moving their semantics into Eve core.
|
||||
2. Add Aetheria scenario conformance replay that consumes provider
|
||||
advertisements and reports command receipts without provider internals.
|
||||
3. Add runtime command-transport smokes for Flutter and Unity so split targets
|
||||
can prove command emission through `gamecult.eve.command.v1`.
|
||||
|
||||
Recently cut:
|
||||
|
||||
- Split-readiness reporting now exists for `EveFlutter` and `EveUnity`. The
|
||||
parity report lists member runtime health, required plugin capability claims,
|
||||
pending proofs, and blockers before either repo can graduate out of Eve
|
||||
incubation.
|
||||
- Direct2D is now recorded as an external Fensalir adapter spike, not an active
|
||||
Eve runtime. Activation requires recorded `gamecult.eve.surface.v1` fixture
|
||||
replay, command emission through the advertised boundary, and Direct2D frame
|
||||
|
|
|
|||
|
|
@ -367,6 +367,63 @@
|
|||
]
|
||||
}
|
||||
],
|
||||
"splitTargets": [
|
||||
{
|
||||
"id": "EveFlutter",
|
||||
"ownerRepo": "EveFlutter",
|
||||
"repoRole": "runtime-target",
|
||||
"status": "incubating",
|
||||
"runtimes": ["windows-flutter", "linux-flutter", "android-flutter"],
|
||||
"requiredRuntimeStatuses": ["active"],
|
||||
"requiredFeatures": ["embeddedDocuments"],
|
||||
"requiredPlugins": [
|
||||
{
|
||||
"pluginId": "sai.vn",
|
||||
"capabilities": ["vn.stage", "story.choose", "story.continue", "story.jump"]
|
||||
},
|
||||
{
|
||||
"pluginId": "norn.graph",
|
||||
"capabilities": ["embed.norn"]
|
||||
},
|
||||
{
|
||||
"pluginId": "tex.math",
|
||||
"capabilities": ["embed.tex"]
|
||||
}
|
||||
],
|
||||
"pendingProofs": [
|
||||
"Provider picker consumes provider advertisements without Eve source-layout knowledge.",
|
||||
"Command transport emits gamecult.eve.command.v1 through advertised provider boundaries.",
|
||||
"Flutter build, release, and capture lifecycle can run from EveFlutter.",
|
||||
"Conformance pack can be consumed without depending on Eve's local harness layout."
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "EveUnity",
|
||||
"ownerRepo": "EveUnity",
|
||||
"repoRole": "runtime-target",
|
||||
"status": "incubating",
|
||||
"runtimes": ["unity-uitoolkit"],
|
||||
"requiredRuntimeStatuses": ["active"],
|
||||
"requiredFeatures": ["embeddedDocuments"],
|
||||
"requiredPlugins": [
|
||||
{
|
||||
"pluginId": "sai.vn",
|
||||
"capabilities": ["vn.stage", "story.choose", "story.continue", "story.jump"]
|
||||
},
|
||||
{
|
||||
"pluginId": "norn.graph",
|
||||
"capabilities": ["embed.norn"]
|
||||
}
|
||||
],
|
||||
"pendingProofs": [
|
||||
"UPM package and release lifecycle are runtime-owned.",
|
||||
"Unity test and capture lifecycle are runtime-owned.",
|
||||
"Plugin host behavior declares reusable Sai and Norn capabilities.",
|
||||
"Aetheria consumes provider advertisements and surfaces without Eve internals.",
|
||||
"Conformance pack can be consumed without depending on Eve's local harness layout."
|
||||
]
|
||||
}
|
||||
],
|
||||
"runtimes": [
|
||||
{
|
||||
"id": "web",
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ for (const fixture of manifest.fixtures) {
|
|||
const pluginResults = await Promise.all((manifest.pluginManifests || []).map(plugin => evaluatePlugin(plugin, fixtureResults)));
|
||||
const providerResults = await Promise.all((manifest.providerAdvertisements || []).map(provider => evaluateProvider(provider, fixtureResults)));
|
||||
const runtimeResults = await Promise.all(manifest.runtimes.map(runtime => evaluateRuntime(runtime, fixtureResults)));
|
||||
const splitTargetResults = evaluateSplitTargets(manifest.splitTargets || [], runtimeResults);
|
||||
const report = {
|
||||
schema: "gamecult.eve.parity_report.v1",
|
||||
generatedAt: new Date().toISOString(),
|
||||
|
|
@ -31,10 +32,11 @@ const report = {
|
|||
repoStrategy: manifest.repoStrategy || {},
|
||||
conformancePacks: manifest.conformancePacks || [],
|
||||
responsiveCases: manifest.responsiveCases || [],
|
||||
summary: summarize(fixtureResults, runtimeResults, pluginResults, providerResults),
|
||||
summary: summarize(fixtureResults, runtimeResults, pluginResults, providerResults, splitTargetResults),
|
||||
fixtures: fixtureResults,
|
||||
plugins: pluginResults,
|
||||
providers: providerResults,
|
||||
splitTargets: splitTargetResults,
|
||||
runtimes: runtimeResults,
|
||||
};
|
||||
|
||||
|
|
@ -596,6 +598,71 @@ function collectPluginCapabilityGaps(runtime, fixtureResults) {
|
|||
return gaps;
|
||||
}
|
||||
|
||||
function evaluateSplitTargets(splitTargets, runtimeResults) {
|
||||
const runtimeById = new Map(runtimeResults.map(runtime => [runtime.id, runtime]));
|
||||
return splitTargets.map(target => {
|
||||
const requiredRuntimeStatuses = target.requiredRuntimeStatuses || ["active"];
|
||||
const requiredFeatures = target.requiredFeatures || [];
|
||||
const requiredPlugins = target.requiredPlugins || [];
|
||||
const runtimeIds = target.runtimes || [];
|
||||
const blockers = [];
|
||||
const runtimeStatuses = {};
|
||||
|
||||
for (const runtimeId of runtimeIds) {
|
||||
const runtime = runtimeById.get(runtimeId);
|
||||
if (!runtime) {
|
||||
blockers.push(`runtime:${runtimeId}:missing`);
|
||||
continue;
|
||||
}
|
||||
|
||||
runtimeStatuses[runtimeId] = runtime.status;
|
||||
if (!requiredRuntimeStatuses.includes(runtime.status)) {
|
||||
blockers.push(`runtime:${runtimeId}:status:${runtime.status}`);
|
||||
}
|
||||
|
||||
for (const feature of requiredFeatures) {
|
||||
if (!runtime.supportedFeatures.includes(feature)) {
|
||||
blockers.push(`runtime:${runtimeId}:feature:${feature}`);
|
||||
}
|
||||
}
|
||||
|
||||
const supportedPlugins = new Map(runtime.supportedPlugins.map(plugin => [plugin.pluginId, new Set(plugin.capabilities || [])]));
|
||||
for (const requirement of requiredPlugins) {
|
||||
const capabilities = supportedPlugins.get(requirement.pluginId);
|
||||
if (!capabilities) {
|
||||
blockers.push(`runtime:${runtimeId}:plugin:${requirement.pluginId}`);
|
||||
continue;
|
||||
}
|
||||
|
||||
for (const capability of requirement.capabilities || []) {
|
||||
if (!capabilities.has(capability)) {
|
||||
blockers.push(`runtime:${runtimeId}:plugin:${requirement.pluginId}:${capability}`);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for (const proof of target.pendingProofs || []) {
|
||||
blockers.push(`proof:${proof}`);
|
||||
}
|
||||
|
||||
return {
|
||||
id: target.id,
|
||||
ownerRepo: target.ownerRepo || "",
|
||||
repoRole: target.repoRole || "",
|
||||
status: blockers.length ? "incubating" : "ready-to-split",
|
||||
declaredStatus: target.status || "",
|
||||
runtimes: runtimeIds,
|
||||
runtimeStatuses,
|
||||
requiredRuntimeStatuses,
|
||||
requiredFeatures,
|
||||
requiredPlugins,
|
||||
pendingProofs: target.pendingProofs || [],
|
||||
blockers,
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
function requiredIncubationFields(entry) {
|
||||
if (entry.repoRole === "core") return ["ownerRepo", "repoRole"];
|
||||
return ["ownerRepo", "repoRole", "graduationTrigger"];
|
||||
|
|
@ -699,7 +766,7 @@ function addCheck(checks, id, pass, detail) {
|
|||
checks.push({ id, pass, ...detail });
|
||||
}
|
||||
|
||||
function summarize(fixtures, runtimes, plugins, providers) {
|
||||
function summarize(fixtures, runtimes, plugins, providers, splitTargets) {
|
||||
return {
|
||||
totalFixtures: fixtures.length,
|
||||
passedFixtures: fixtures.filter(fixture => fixture.status === "pass").length,
|
||||
|
|
@ -712,6 +779,8 @@ function summarize(fixtures, runtimes, plugins, providers) {
|
|||
totalRuntimes: runtimes.length,
|
||||
activeRuntimes: runtimes.filter(runtime => runtime.status === "active").length,
|
||||
pendingRuntimes: runtimes.filter(runtime => runtime.status !== "active").length,
|
||||
totalSplitTargets: splitTargets.length,
|
||||
readySplitTargets: splitTargets.filter(target => target.status === "ready-to-split").length,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
@ -727,6 +796,7 @@ function renderMarkdown(report) {
|
|||
`- Plugins: ${report.summary.healthyPlugins}/${report.summary.totalPlugins} declared`,
|
||||
`- Providers: ${report.summary.advertisedProviders}/${report.summary.totalProviders} advertised`,
|
||||
`- Runtimes: ${report.summary.activeRuntimes}/${report.summary.totalRuntimes} active`,
|
||||
`- Split targets: ${report.summary.readySplitTargets}/${report.summary.totalSplitTargets} ready`,
|
||||
"",
|
||||
"## Repo Strategy",
|
||||
"",
|
||||
|
|
@ -824,6 +894,12 @@ function renderMarkdown(report) {
|
|||
lines.push(`| ${runtime.title} | ${runtime.status} | ${runtime.ownerRepo} | ${runtime.capture?.status || "unknown"} | ${runtime.requiredFixtures.join(", ")} | ${runtime.pluginFixtures.join(", ")} | ${runtime.supportedFeatures.join(", ")} | ${runtime.pluginCapabilityGaps.join(", ")} | ${missing} |`);
|
||||
}
|
||||
|
||||
lines.push("", "## Split Readiness", "", "| Target | Status | Owner | Runtimes | Blockers |", "| --- | --- | --- | --- | --- |");
|
||||
for (const target of report.splitTargets) {
|
||||
const runtimes = target.runtimes.map(runtimeId => `${runtimeId}:${target.runtimeStatuses[runtimeId] || "missing"}`).join(", ");
|
||||
lines.push(`| ${target.id} | ${target.status} | ${target.ownerRepo} | ${runtimes} | ${target.blockers.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