Skip to content

chore(sync): take marfa v0.0.49 - #720

Merged
aicayzer merged 3 commits into
mainfrom
chore/sync-marfa-v0.0.49
Oct 31, 2026
Merged

aicayzer merged 3 commits into
mainfrom
chore/sync-marfa-v0.0.49

Conversation

@aicayzer

Copy link
Copy Markdown
Contributor

Summary

Syncs the generated files from marfa v0.0.49, and teaches the sync script the catalog keys added since v0.0.45. The script refused v0.0.49 and changed nothing, because builtin_catalog.json now carries keys it did not write.

Changes

  • scripts/sync-from-marfa.sh writes a type's plural as a setting, a field's label in a Label column (shown only where a table has one), the members of a list of entries (items_fields) as field[].member rows, minimum and maximum in the Kind column, a status field's status_values with their groups, and an edge type's acyclic and flat flags when true. It validates each the way it validates existing keys, and accepts a subtype's status field without words. The item field trashed_at joins the State group.
  • .github/scripts/sync-from-marfa.test.sh pins each new key and each new refusal.
  • Generated files updated to v0.0.49 (openapi.json, src/generated/).
  • src/lib/catalog.test.ts reads the Required column by its header, checks status values and entry members.
  • Pages follow the catalog: the Field kinds page lists status, the Type rules page gives the field keys and the Iconify icon ID rule (lucide:star), and the Entity and Task examples use emails and a valid status word.

Testing

  • scripts/sync-from-marfa.sh ran against marfa at tag v0.0.49.
  • .github/scripts/sync-from-marfa.test.sh: 654 passed.
  • pnpm test: 709 passed. pnpm build, pnpm build:status and pnpm types:check pass.

Notes for reviewers

Review depth: normal. The script change is the part to read.

Follow-ups, not done here:

  • The Type rules page does not yet describe plural, field label, items_fields, status_values, minimum and maximum, or the new types/* rules.
  • The Swift SDK page (ItemType.icon, TypeIcon), the Items and types overview and the changelog still describe icons as bare Lucide names.
  • Pages that mention the email, phone or place fields of core.entity, or the authored-by edge type (no longer in the catalog), were not audited.
  • The staleness report between v0.0.45 and v0.0.49 has not been read.

Checklist

  • Generated by the sync script, not edited by hand.
  • No private detail.

@aicayzer
aicayzer merged commit 1263fbe into main Oct 31, 2026
7 checks passed
@aicayzer
aicayzer deleted the chore/sync-marfa-v0.0.49 branch October 31, 2026 13:47
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