chore: fix prettier formatting, regenerate phase9 manifest, add missing config files (.env.example, .node-version, .nvmrc, CI workflow)
CI / test (push) Failing after 28s

This commit is contained in:
root
2026-06-25 20:12:15 -04:00
parent c43620a005
commit b7a640735c
36 changed files with 3402 additions and 1857 deletions
+46 -11
View File
@@ -16,16 +16,51 @@ const required = [
];
const failures = [];
for (const file of required) {
try { await access(path.join(repositoryRoot, file)); }
catch { failures.push(`Missing required Phase 16 artifact: ${file}`); }
try {
await access(path.join(repositoryRoot, file));
} catch {
failures.push(`Missing required Phase 16 artifact: ${file}`);
}
}
const status = await readFile(path.join(repositoryRoot, 'docs/phase16/FINAL_LAUNCH_STATUS_v1.0.md'), 'utf8');
const auth = await readFile(path.join(repositoryRoot, 'docs/phase16/LAUNCH_AUTHORIZATION_RECORD_v1.0.md'), 'utf8');
const flags = await readFile(path.join(repositoryRoot, 'docs/phase16/FEATURE_FLAG_RELEASE_STATE_v1.0.csv'), 'utf8');
const secrets = await readFile(path.join(repositoryRoot, 'docs/phase16/SECRET_PROVISIONING_RECORD_v1.0.csv'), 'utf8');
if (!status.includes('Launch aborted before deployment')) failures.push('Final launch status is missing or inconsistent.');
if (!auth.includes('**Rejected**')) failures.push('Launch authorization is not explicitly rejected.');
if (/\btrue\b/.test(flags.split('\n').slice(1).map((line) => line.split(',')[1]).join('\n'))) failures.push('A Phase 16 production feature flag is enabled.');
if (!secrets.includes('No production credentials exist') && !secrets.includes('No credential supplied')) failures.push('Secret provisioning record does not explicitly preserve missing credentials as blockers.');
const status = await readFile(
path.join(repositoryRoot, 'docs/phase16/FINAL_LAUNCH_STATUS_v1.0.md'),
'utf8',
);
const auth = await readFile(
path.join(repositoryRoot, 'docs/phase16/LAUNCH_AUTHORIZATION_RECORD_v1.0.md'),
'utf8',
);
const flags = await readFile(
path.join(repositoryRoot, 'docs/phase16/FEATURE_FLAG_RELEASE_STATE_v1.0.csv'),
'utf8',
);
const secrets = await readFile(
path.join(repositoryRoot, 'docs/phase16/SECRET_PROVISIONING_RECORD_v1.0.csv'),
'utf8',
);
if (!status.includes('Launch aborted before deployment'))
failures.push('Final launch status is missing or inconsistent.');
if (!auth.includes('**Rejected**'))
failures.push('Launch authorization is not explicitly rejected.');
if (
/\btrue\b/.test(
flags
.split('\n')
.slice(1)
.map((line) => line.split(',')[1])
.join('\n'),
)
)
failures.push('A Phase 16 production feature flag is enabled.');
if (
!secrets.includes('No production credentials exist') &&
!secrets.includes('No credential supplied')
)
failures.push(
'Secret provisioning record does not explicitly preserve missing credentials as blockers.',
);
if (failures.length) fail(failures);
else pass('Phase 16 no-go governance, disabled feature state, blocked approvals, and evidence package are explicit and internally consistent.');
else
pass(
'Phase 16 no-go governance, disabled feature state, blocked approvals, and evidence package are explicit and internally consistent.',
);