Skip to content
This repository was archived by the owner on Jul 24, 2026. It is now read-only.

Stabilize semantic-manifest content types and fallback observability - #93

Merged
ksteffe merged 2 commits into
mainfrom
cursor/manifest-stabilization-959b
Jul 23, 2026
Merged

ksteffe merged 2 commits into
mainfrom
cursor/manifest-stabilization-959b

Conversation

@ksteffe

@ksteffe ksteffe commented Jul 23, 2026

Copy link
Copy Markdown
Owner

Summary

Focused stabilization of how the site consumes semantic-manifest.json:

  1. Content-type propagation — one centralized adapter; poetry/fiction/handbook/nonfiction (and literary form) flow consistently through catalog, filters, and search.
  2. Fallback safety — remote-first loading with explicit provenance, staleness detection, sync/validate tooling, and cross-feature public-corpus integrity checks.

Does not modify ksteffe/after-certainty. Syncs the bundled fallback from the public latest release (schema 2.2).

Key changes

  • Sync data/semantic-manifest.json (Boundary Conditions → fiction, Observer Patterns → poetry, poetry shelf, literaryForm).
  • Add lib/graph/content-type.ts — no silent default to Nonfiction; unknown types stay unknown.
  • Rewrite loader in lib/graph/manifest.ts for ManifestSource + remote-first selection.
  • Add npm run sync:semantic-manifest, validate:fallback, validate:public-corpus.
  • Add public corpus registry + cross-feature invariants (lib/corpus/).
  • Docs: docs/semantic-manifest.md; CI runs the new validators.

Verification

  • npm test — 490 passed
  • npm run validate:fallback / validate:public-corpus — pass
  • npm run build (offline) — pass
  • e2e/books-catalog.spec.ts — pass (poetry filter + fiction shelf with Boundary Conditions)

Notes

  • Companion editions listed on curated shelves are warnings (runtime still excludes non-canonical members).
  • Overview concept-membership mismatches vs book graph links are warnings (orientation overlays).
  • Legacy books-manifest.json remains absent at runtime; stubs retained.
Open in Web Open in Cursor 

Sync the bundled fallback to schema 2.2 (fiction/poetry corrections),
centralize public content-type normalization with literaryForm support,
make remote/fallback provenance observable with staleness checks, and add
public-corpus integrity plus sync/validate npm scripts.
@vercel

vercel Bot commented Jul 23, 2026 •

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
after-certainty-site Ready Ready Preview, Comment Jul 23, 2026 2:58am

Reuse registry catalog/search artifacts, replace per-book related-trail
scans with a single trail-stop pass, and raise the integrity test
timeout so slower CI runners do not flake at the default 5s limit.
@ksteffe
ksteffe marked this pull request as ready for review July 23, 2026 03:20
@ksteffe
ksteffe merged commit 969b1d4 into main Jul 23, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview — 7ee4eebd Deployed Jul 23, 2026 by vercel[bot]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants