no-mistakes(review): Label fast onboard partial maps

This commit is contained in:
Jeremy McSpadden
2026-07-03 11:31:29 -05:00
committed by Codesmith
parent 6f2c2c2fd6
commit 3e0dbf6cf4
2 changed files with 34 additions and 4 deletions

View File

@@ -278,6 +278,16 @@ describe('/gsd:onboard command contract', () => {
/gsd_run --cwd "\$ONBOARDING_ROOT" query commit "docs: create onboarding summary" --files \.planning\/onboarding\/SUMMARY\.md/,
'workflow must commit the root-relative summary path from onboarding root',
);
assert.match(
content,
/CODEBASE_MAP_SUMMARY_STATUS=\.planning\/codebase\/ \(fast\/partial-but-accepted codebase map\)/,
'workflow summary must label fast accepted maps without implying a complete map',
);
assert.match(
content,
/CODEBASE_MAP_FINAL_STATUS=\(fast\/partial-but-accepted; required fast files present\)/,
'final status must distinguish complete maps from accepted fast maps',
);
assert.match(content, /overwrite|idempotent|do not overwrite/i, 'workflow must protect existing planning');
assert.ok(content.includes('requirements_exists'), 'workflow must parse requirements existence');
assert.match(content, /REQUIREMENTS\.md: \{requirements_exists \? "present" : "missing"\}/, 'workflow must report missing requirements in partial planning');