mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-29 03:09:36 +00:00
feat: refine hidden isometric Stage 4 (#570)
Issue: #570 User-Visible: no
This commit is contained in:
@@ -62,10 +62,12 @@ const requireReport = (report, budgets, label, expectedSha = null) => {
|
||||
throw new Error(`${label}: Iso structural build count is missing or changed on HA-only update`);
|
||||
}
|
||||
if (label === 'candidate' && report.profile === 'isometric-stage3-dense-v1') {
|
||||
if (report.stage3Required !== true) throw new Error(`${label}: Stage 3 was not required`);
|
||||
if (!sameJson(report.isoStageRevision, ['3'])
|
||||
|| report.rows.some((row) => row.isoStageRevision !== '3')) {
|
||||
throw new Error(`${label}: Stage 3 revision metadata is incomplete`);
|
||||
// The profile/schema name is intentionally stable for baseline continuity;
|
||||
// the candidate DOM revision tracks the current experimental Stage 4.
|
||||
if (report.stage3Required !== true) throw new Error(`${label}: Stage 4 was not required`);
|
||||
if (!sameJson(report.isoStageRevision, ['4'])
|
||||
|| report.rows.some((row) => row.isoStageRevision !== '4')) {
|
||||
throw new Error(`${label}: Stage 4 revision metadata is incomplete`);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user