Revert "Merge pull request 'Complete Housekeeping migration and /ase cutover' (#52) from codex/housekeeping-complete into main"
This reverts commit488b6e57c4, reversing changes made tob506b4499a.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { ownedLegacyPages, recordedLegacyPages } from "./discover-legacy-pages";
|
||||
import { ownedLegacyPages } from "./discover-legacy-pages";
|
||||
import { economyMigrationEntries } from "./economy";
|
||||
import { HOUSEKEEPING_MIGRATION_MATRIX } from "./matrix";
|
||||
import { validateMigrationEntries } from "./validate-matrix";
|
||||
|
||||
const ECONOMY_PREFIXES = [
|
||||
@@ -21,27 +20,23 @@ const ECONOMY_PREFIXES = [
|
||||
|
||||
describe("economyMigrationEntries", () => {
|
||||
it("covers every economy page without legacy-domain targets", () => {
|
||||
const expected = ownedLegacyPages(
|
||||
ECONOMY_PREFIXES,
|
||||
recordedLegacyPages(HOUSEKEEPING_MIGRATION_MATRIX),
|
||||
);
|
||||
const expected = ownedLegacyPages(ECONOMY_PREFIXES);
|
||||
expect(validateMigrationEntries(expected, economyMigrationEntries)).toEqual(
|
||||
[],
|
||||
);
|
||||
expect(
|
||||
economyMigrationEntries.every(
|
||||
(row) =>
|
||||
row.targetPath === null || row.targetPath.startsWith("/ase/economy/"),
|
||||
row.targetPath === null ||
|
||||
row.targetPath.startsWith("/admin/economy/"),
|
||||
),
|
||||
).toBe(true);
|
||||
});
|
||||
|
||||
it("records concrete runtime parity evidence for every verified workflow", () => {
|
||||
it("keeps every audited workflow planned without parity claims", () => {
|
||||
expect(
|
||||
economyMigrationEntries.every(
|
||||
(row) =>
|
||||
row.status === "VERIFIED" &&
|
||||
row.parityEvidence.includes(`runtime-parity:${row.legacyPath}`),
|
||||
(row) => row.status === "PLANNED" && row.parityEvidence.length === 0,
|
||||
),
|
||||
).toBe(true);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user