Enforce canonical OCF schema property purity#423
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Note Reviews pausedUse the following commands to manage reviews:
Use the checkboxes below for quick actions:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Current head 8d93d39 is green, merge-clean, and validates the canonical CE_STAKEHOLDER_STATUS production roundtrip without legacy normalization. @copilot review |
|
✅ Action performedReview finished.
|
… into codex/canonical-schema-purity
… into codex/canonical-schema-purity # Conflicts: # src/utils/ocfZodSchemas.ts # src/utils/planSecurityAliases.ts # test/batch/CapTableBatch.test.ts # test/integration/production/productionDataRoundtrip.integration.test.ts # test/utils/ocfZodSchemas.test.ts # test/utils/planSecurityAliases.test.ts
… into codex/canonical-schema-purity
|
cursor review |
|
@copilot review |
|
Fresh canonical-boundary audit hardening is pushed at exact head The audit reproduced a special-key bypass: an own enumerable top-level Regressions cover ordinary and null-prototype defineProperty Validation on this exact revision: focused 228 tests; full 83 suites / 4,477 tests; build; typecheck; declarations and exact public-config checks; lint; format; diff check; and manual source+built raw/typed/writer probes. The PR remains draft and unassigned; no parent merge or reviews were requested. |
…nonical-schema-purity # Conflicts: # test/schemaAlignment/canonicalOcfObjectInventory.json # test/schemaAlignment/schemaConformance.test.ts # test/schemaAlignment/schemaConformanceRegistry.ts # test/typeContracts/schemaIngestionAliases.ts # test/types/schemaIngestionAliases.types.ts
|
Propagated corrected PR #421 head Preserved every parent type/schema/trigger guardrail together with this PR’s canonical schema-purity boundaries: AJV validates the original own-key graph before record reconstruction, special keys and unsupported extensions are rejected at exact paths, prototype-pollution inputs cannot disappear during parsing, retired PlanSecurity aliases stay out of the public surface, and deprecated Validation is green locally: 84 suites / 5,182 tests, build, global exact-optional typecheck, declaration and exact public-config tests, lint, Prettier, and diff checks. This PR remains draft and unassigned while downstream propagation and fresh exact-head reviews are pending. |
…nonical-schema-purity # Conflicts: # src/functions/OpenCapTable/planSecurityIssuance/planSecurityIssuanceDataToDaml.ts # test/converters/planSecurityConverters.test.ts
|
Corrected stack propagation is now pushed at Validation on this exact head:
The PR remains draft and unassigned while fresh CI runs on this material revision. No reviewer requests were made during propagation. |
|
@copilot review Please review exact current head |
|
@copilot review Retrying the required exact-head gate for |
Reviewed exact current head |
|
@cursor review Please review exact current head |
|
Cursor’s exact-head comparison finding is addressed at Independent audit and validation are green: targeted 5 suites / 547 tests; final replication suite 133 tests; full |
|
@copilot review Please review exact current head |
Reviewed exact current head |
|
@cursor review Please review exact current head |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 474e321. Configure here.
|
Returned to draft because upstream #417 received a material exact-head corrective revision after full CodeRabbit review. This stacked PR will remain held until the audited #417 head and each intervening parent are propagated normally; fresh CI and Copilot-first reviewer gates are required afterward. |
…nonical-schema-purity # Conflicts: # src/utils/ocfZodSchemas.ts # test/declarations/schemaIngestionAliases.types.ts # test/schemaAlignment/canonicalOcfObjectInventory.json # test/schemaAlignment/schemaConformanceRegistry.ts # test/typeContracts/schemaIngestionAliases.ts # test/types/schemaIngestionAliases.types.ts
Summary
Validation
npm run test:ci— 85 suites / 5,234 tests passednpm run test:declarationsnpm run typechecknpm run buildnpm run lintnpm run format0c2e9b43cdf641db18f379b14b655838475affafStack