Import the remade decks on stable ids and recommend one card per job, so a saved draft still loads after a chip is renamed.

The real-group profiles stay as a test, so a change that moves a pick fails.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
adilalloandCursor committed 2026-11-04 14:22:54 -07:00
1 parent 96ca15d8e3
commit bcbc6f30d9
89 files changed
+36555 -2828

No files matched your search

+6 -1
View File
@@ -20,6 +20,7 @@ import {
replaceMethodSectionsWithMethodSelections,
withoutUnpublishedDecisionConsensus,
} from "./ruleSectionsFromMethodSelections";
import { LAUNCH_SUPERMAJORITY_SHARE } from "./sharedTermsSection";
import { templateCategoryToGroupKey } from "./templateReviewMapping";
export { isDocumentEntry } from "./documentEntryGuards";
@@ -167,7 +168,11 @@ export function buildPublishPayload(
);
}
const document: Record<string, unknown> = { sections, coreValues };
const document: Record<string, unknown> = {
sections,
coreValues,
supermajorityShare: LAUNCH_SUPERMAJORITY_SHARE,
};
if (hasAnyMethodSelection(methodSelections)) {
document.methodSelections = methodSelections;
}