Skip to content

Add verifiable publication metadata exports and explicit API contracts - #30

Merged
Ciprian-LocalPulse merged 3 commits into
mainfrom
codex/publication-export-manifest
Sep 29, 2026
Merged

Ciprian-LocalPulse merged 3 commits into
mainfrom
codex/publication-export-manifest

Conversation

@Ciprian-LocalPulse

@Ciprian-LocalPulse Ciprian-LocalPulse commented Sep 29, 2026 •

Copy link
Copy Markdown
Owner

Publication searches previously had no export inventory tying returned metadata to stored revisions. This change adds GET /api/v1/publications/export/manifest with bounded title search, stable identifier ordering, origin labels, revisions, stored content hashes, and retrieval timestamps. A SHA-256 fingerprint covers both the manifest and exported items. Counts and rows share one PostgreSQL repeatable-read snapshot per request; separate pages are explicitly not a frozen corpus snapshot.

Also carries forward two tested changes that remained on the previous working branch after PR #29: explicit create_app(database_url=None) configuration for database-independent operation, and the citation-export schema discovery endpoint. Synthetic publication metadata remains labeled and export inclusion does not grant citation eligibility.

Validation: Ruff passed; local pytest reports 64 passed and 6 skipped (PostgreSQL integration requires CI), with two existing dependency deprecation warnings. Structural documentation audit passes for all 80 tracked Markdown documents. New tests independently recompute the fingerprint and cover freshness/content changes, pagination bounds, missing storage, and PostgreSQL revision/pagination behavior. API documentation includes the exact verification algorithm and export limitations.

GitHub Actions validation: all 70 Python tests passed with PostgreSQL configured, including the new persisted export integration test; Ruff passed. Both push and pull-request Python jobs succeeded.

@vercel

vercel Bot commented Sep 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
openlongevity Ready Ready Preview Sep 29, 2026 11:11am UTC

@Ciprian-LocalPulse
Ciprian-LocalPulse merged commit 304b79b into main Sep 29, 2026
12 checks passed

This branch was successfully deployed

1 active deployment
Preview — 642562c1 Deployed Sep 29, 2026 by vercel[bot]
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