Skip to content

Fix first occurrence reconciliation with null revisions - #66

Merged
abewheel merged 1 commit into
mainfrom
codex/fix-occurrence-create-revision
Oct 14, 2026
Merged

abewheel merged 1 commit into
mainfrom
codex/fix-occurrence-create-revision

Conversation

@abewheel

Copy link
Copy Markdown
Contributor

The first reconcile-obligation scaffold contains revision: null because no occurrence exists yet. Applying it failed in the shared mutation parser and then the CLI revision check. Treat null as an absent revision and require an occurrence revision only when updating or superseding an existing record. Domain revision checks continue rejecting missing and stale updates.

Regression coverage consumes the actual CLI scaffold through creation, update, and supersession, including missing and stale revisions. Parser coverage checks null, absent, malformed, and required revisions.

Validation: Node 24.11.1, npm ci, CI=true npm run validate, 17 focused tests, both package dry runs, and git diff --check passed. A fresh local app passed a Playwright check of the shared create API with a null revision, with no page errors or failed requests; the instance was stopped. Two independent combined code and security review passes found no actionable issues.

@abewheel
abewheel merged commit d3e3226 into main Oct 14, 2026
6 checks passed
@abewheel abewheel mentioned this pull request Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant