Skip to content

[codex] Persist hub metadata at startup#28

Merged
jillesvangurp merged 2 commits intomainfrom
codex/persist-hub-metadata
Apr 1, 2026
Merged

[codex] Persist hub metadata at startup#28
jillesvangurp merged 2 commits intomainfrom
codex/persist-hub-metadata

Conversation

@jillesvangurp
Copy link
Copy Markdown
Contributor

Summary

  • persist singleton hub metadata in Postgres with startup bootstrap and reset behavior
  • thread the persisted hub_id into internal event provenance and com.omlox.identify
  • add query, migration, test, and documentation coverage for the new startup contract

Why

This gives the hub a stable persisted identity and label across restarts without forcing operators to provide both values on every boot. It also lands the first concrete piece of the broader hub-identity work needed for provenance and later federation features.

Validation

  • just bootstrap
  • just generate
  • just check

Closes #27
Part of #17

@jillesvangurp jillesvangurp marked this pull request as ready for review April 1, 2026 17:42
@jillesvangurp jillesvangurp merged commit acd220f into main Apr 1, 2026
4 checks passed
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.

Persist hub metadata and bootstrap stable hub identity at startup

1 participant