Repository navigation
Coupling Part IV: Institutions Under Drift - #88
Merged
Merged
Conversation
Introduce institutional case studies and coordination patterns at civic scale before finance, governance, media, and bureaucracy chapters. Co-authored-by: Cursor <cursoragent@cursor.com>
Trace proxy chains, index abstraction, and stale reporting as consequence distance in capital markets; add Stale Representation to glossary. Co-authored-by: Cursor <cursoragent@cursor.com>
Examine federalism and separation of powers as coupling design; name split-brain governance when narratives block integrated correction. Co-authored-by: Cursor <cursoragent@cursor.com>
Diagnose engagement loops and editorial fragmentation when fast feedback decouples from redesign authority; bridge to bureaucracy. Co-authored-by: Cursor <cursoragent@cursor.com>
Close Part IV case studies with scar-tissue bureaucracy, coordination machinery, and bridge to Coherence Under Scale interlude. Co-authored-by: Cursor <cursoragent@cursor.com>
Document editorial gate results and framing integration before part-approval and PR from coupling-part-4. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Clearer software entry point, concrete coupling examples, and interfaces-vs-entanglement bridge to responsibility and feedback. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
ksteffe
added a commit
that referenced
this pull request
Jul 23, 2026
* Initial commit from Create Next App
* feat: After Certainty marketing site, tests, and CI
- App Router: home, start, books catalog, WoLTY microsite, podcast, patterns
library, collaborators, about; MDX, textures, open-graph image
- APIs: Beehiiv newsletter subscribe; feed.xml redirect to podcast RSS
- RSS ingestion with fallback JSON; Vitest unit/integration tests and
feed.xml smoke test
- Expanded sitemap (books, patterns, WoLTY routes); robots.txt
- GitHub Actions: npm ci, lint, test, build on PR and push to main
- Tooling: ESLint, Prettier, Vitest + Testing Library
Co-authored-by: Cursor <cursoragent@cursor.com>
* feat: load books catalog from releases, enrich book pages, unify footer (#1)
Load the generated books-manifest from GitHub releases (ISR + React cache)
with BOOKS_MANIFEST_URL / BOOKS_MANIFEST_REVALIDATE_SECONDS / BOOKS_MANIFEST_OFFLINE
and JSON fallback. Normalize generator output (epub/docx/pdf, repo URL, slug
aliases, companion metadata, derived featuredSlug). Async catalog accessors,
alias-aware getBookBySlug, WoLTY v1 + public-alias redirect to the microsite,
and catalog-sync that overlays microsite copy for v1/legacy while keeping
manifest download URLs when present.
WoLTY /book and /resources use merged-catalog URLs (primary + companion blocks
on BookLanding). Generic /books/[slug] shows optional EPUB/DOCX/PDF via
BookCatalogDownloadLinks and getBookDownloadLinkItems.
Move microsite footer social icons into SiteFooter (resolveSiteSocialLinks +
optional NEXT_PUBLIC_SOCIAL_* env), remove duplicate WoLTY footer, and allow
raw.githubusercontent.com in next/image. Async sitemap and related call sites.
Tests: manifest parse/fetch, site-config, generated-manifest slug helpers,
catalog-downloads with mocked getBooks, book-download-links, catalog-sync RTL,
SiteFooter and BookCatalogDownloadLinks RTL; Vitest defaults BOOKS_MANIFEST_OFFLINE.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Match book cover frames to 2:3 source aspect ratio
Library cards and featured block used 3:4 containers with object-cover,
which cropped 1024×1536 (2:3) covers at the top and bottom. Use aspect-[2/3]
so covers display in full without changing image assets or display scale.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Add semantic graph Explore experience and polish entity pages. (#3)
Introduces /explore with manifest-backed graph (Zod validation, caching,
typed queries), book/pattern/concept/source index and detail routes, catalog
cover resolution, and prev/next navigation aligned to index ordering. Retires
standalone /patterns in favor of redirects to /explore/patterns, updates nav
and sitemap, and tightens empty-state layout so sparse graph slices do not
leave large dead zones or redundant copy.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Explore semantic observatory and browse route group (#4)
* Add explore semantic observatory and reorganize browse routes.
Introduce a React Flow-based /explore hub that loads the semantic manifest
plus catalog books, supports focus deep links, filters, path tracing, and
insight readouts. Move listing/detail entity routes under a (browse) group
with a shared layout so URLs stay stable. Add graph viz helpers (ego
subgraph, predicates, paths, insights), observatory layout utilities, merged
book metadata, and broad unit test coverage.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Fix ESLint set-state-in-effect when changing observatory selection.
Route selection updates through setSelectedNodeId so panel edge highlights
clear without a synchronous setState in useEffect (react-hooks/set-state-in-effect).
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
* Add mobile and tablet observatory hub with fullscreen graph mode. (#5)
Compact breakpoints get a category hub and view=observatory URL sync, tiered progressive expansion, and clickable node titles; adjacent nav stays horizontal on small screens.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Allowlist social crawlers in robots.txt for Open Graph previews. (#6)
Meta and other link-preview bots need explicit user-agent rules even when a wildcard allow exists.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Strip Range header for social crawlers on OG image route.
Facebook fetches opengraph-image with Range, which can break dynamic images while page metadata still scrapes.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Strip Range for social crawlers on all routes, not only OG image. (#8)
Meta sends Range on the HTML document too; limiting middleware to /opengraph-image left Sharing Debugger with hostname fallbacks and 403s.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Serve static og.png from hero art for reliable Meta link previews. (#9)
Replace dynamic opengraph-image with a 1200×630 crop of the hero backdrop so Facebook fetches a stable static asset.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Improve OG image and title for WhatsApp and preview tools. (#10)
Add headline and CTA overlay on hero art, compress og.png under 600 KB, and use a ~59-character share title for Open Graph and Twitter.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Show semantic manifest media on explore and WoLTY pages. (#11)
Parse book and pattern media from the published semantic manifest, refresh the bundled fallback JSON, and render YouTube embeds, infographics, Medium links, and pattern playlists on /explore routes plus WoLTY book pages.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Add purchase and download actions to explore book detail pages.
Read commerce metadata from the semantic manifest and render featured-style buttons above the intro video, replacing the catalog download fallback link.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Retire /books catalog and WoLTY microsite in favor of explore. (#13)
Remove legacy /books routes, WoLTY port, and orphan patterns library;
add permanent redirects to /explore/books and /explore/patterns, point
sitemap and internal links at explore URLs, and unify entity detail
actions so Focus in observatory is the primary CTA beside purchase links.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Add semantic observatory UX for explore graph focus. (#14)
Introduce zustand-driven layout with relationship interpretation, collapsible side panes, manual focus zoom, spread/prune flows, tiered progressive expansion, and canvas refit on deep links so the graph stays centered when panes open.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Add protected route to revalidate podcast, semantic, and books caches on demand.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Prefer published catalog rows when manifest lists duplicate slugs.
Defense in depth for release JSON that still includes both books and upcoming entries for the same slug.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Dedupe duplicate semantic-manifest book rows on fetch.
Prefer rows with live export URLs so promoted volumes are not overwritten by legacy upcoming duplicates sharing the same book id.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Add Vercel Web Analytics integration
# Vercel Web Analytics Implementation
Successfully installed and configured Vercel Web Analytics for this Next.js project.
## Changes Made
### 1. Installed @vercel/analytics Package
- Added `@vercel/analytics` version 2.0.1 to project dependencies
- Used npm (the project's package manager) to install the package
- Updated package-lock.json to reflect the new dependency
### 2. Updated Root Layout (app/layout.tsx)
- Imported the `Analytics` component from `@vercel/analytics/next`
- Added the `<Analytics />` component at the end of the `<body>` tag
- Followed Next.js App Router best practices as specified in the official Vercel documentation
### Implementation Details
The Analytics component was placed inside the body tag, after the ThemeProvider and SiteShell components. This ensures:
- Analytics tracking is initialized after the main app structure
- The component doesn't interfere with the existing layout structure
- Follows the official Next.js App Router integration pattern
### Files Modified
- `app/layout.tsx` - Added Analytics import and component
- `package.json` - Added @vercel/analytics dependency
- `package-lock.json` - Updated with new dependency tree
### Verification Completed
✅ Linter passed with no errors
✅ All 184 tests passed (44 test files)
✅ Production build completed successfully
✅ TypeScript compilation successful
The implementation follows the latest official Vercel Analytics documentation retrieved from https://vercel.com/docs/analytics/quickstart and is ready for deployment.
Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
* Install Vercel Speed Insights package
Successfully installed and configured Vercel Speed Insights for the Next.js project.
## Changes Made:
### 1. Package Installation
- Installed `@vercel/speed-insights` package using npm
- Updated package.json to include the new dependency
- Updated package-lock.json with the new package and its dependencies
### 2. Configuration
Modified: `app/layout.tsx`
- Added import statement: `import { SpeedInsights } from "@vercel/speed-insights/next";`
- Added `<SpeedInsights />` component to the body section, placed alongside the existing `<Analytics />` component
## Implementation Details:
The implementation follows the official Vercel Speed Insights documentation for Next.js App Router (v13.5+):
- Retrieved latest installation instructions from https://vercel.com/docs/speed-insights/quickstart
- Used the Next.js App Router specific integration pattern
- Placed the SpeedInsights component in the root layout file (app/layout.tsx)
- Component is placed in the body section alongside existing Analytics component
## Verification:
✅ Build completed successfully - no errors
✅ Linter passed - no linting errors introduced
✅ All tests passed (184 tests across 44 test files)
✅ No breaking changes to existing functionality
## Next Steps:
To enable Speed Insights metrics collection:
1. Deploy the application to Vercel using `vercel deploy`
2. Enable Speed Insights in the Vercel dashboard for this project
3. Metrics will start appearing after users visit the deployed site
## Files Modified:
- app/layout.tsx (added SpeedInsights import and component)
- package.json (added @vercel/speed-insights dependency)
- package-lock.json (updated with new dependency tree)
Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
* Add GA4 with cookie consent and CTA event tracking.
Load Google Analytics via @next/third-parties with Consent Mode v2,
a first-party opt-in banner, and typed outbound/content events across
major site CTAs.
Co-authored-by: Cursor <cursoragent@cursor.com>
* chore: re-trigger Vercel preview deploy
Empty commit to retry deployment after transient GitHub ref race.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Fix GA4 Consent Mode: regional defaults and gtag sync.
Deny analytics only in EEA/UK/CH until opt-in; grant elsewhere. Retry
consent updates until gtag loads so returning visitors register as granted.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Collapsible focus panel for compact observatory (#20)
* Add collapsible focus dock for compact observatory.
Keep the mobile/tablet graph full-height by default with a slim summary bar that expands on demand.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Fix lint: drop useMemo for compact focus summary.
Avoid react-hooks/preserve-manual-memoization on object deps from the store.
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
* Add ga-trends Cursor skill for regular GA4 report pulls. (#21)
Documents the standard MCP report pack, property ID, and output template for weekly analytics checks.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Improve observatory navigation for semantic relationships and ontology.
Group structural tensions separately from directional dynamics, add ontology-aware filters and panels, sync the updated semantic manifest with enrichment passthrough, and deep-link browse pages into the observatory.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Use per-book Open Graph images on explore book pages.
Parse openGraphImage from the semantic manifest and fall back to the site default when a book has no share art.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Add owner vs external traffic estimate to ga-trends skill.
Extends weekly GA4 pulls with device OS, mobile model, and source reports plus heuristic you/not-you session estimates in the brief.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Accept null coverImage and openGraphImage in semantic manifest validation.
Release JSON uses null for books without cover art; rejecting the whole manifest dropped newer books and their download links.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Fix missing PDF download for PDF-only poetry books
The live semantic manifest includes observer-patterns with a valid PDF
export, but validation rejected the entire manifest because subtitle was
null. That forced a fallback graph without export blocks, so explore book
pages showed the volume but no download button.
Accept null subtitle/summary in the Zod schema, merge catalog export URLs
into semantic book nodes when manifest rows lack live URLs, refresh the
bundled semantic manifest snapshot, and add regression tests.
Co-authored-by: ksteffe <ksteffe@users.noreply.github.com>
* Add JSON-LD structured data from semantic manifest
Expose schema.org JSON-LD for explore detail pages, homepage, about,
and podcast using semantic manifest and books catalog data. Add shared
builders in lib/seo/json-ld.ts, a JsonLd script component, unit tests,
and extend the sitemap to include concept and source detail URLs.
Co-authored-by: ksteffe <ksteffe@users.noreply.github.com>
* Fix GraphIndex type in JSON-LD URL helpers for production build
Use the real GraphIndex type instead of a narrower GraphSlugIndex stub so
TypeScript accepts buildGraphIndex() results in explore detail pages.
Co-authored-by: ksteffe <ksteffe@users.noreply.github.com>
* Improve JSON-LD for Google rich result eligibility
Split @graph into separate script blocks per entity, add WebPage nodes
that link to BreadcrumbList and main entities, and enrich pattern Article
markup with author, datePublished, and image URL arrays.
Co-authored-by: ksteffe <ksteffe@users.noreply.github.com>
* Add Front Shelf section to Start Here page
- Sync bundled semantic-manifest.json from latest GitHub release
- Add curated Front Shelf book doorway grid with compact cover thumbnails
- Extract BookCoverThumbnail component from home page featured book pattern
- Replace Suggested starting points with Front Shelf section
- Add ItemList JSON-LD structured data for the Start page
Co-authored-by: ksteffe <ksteffe@users.noreply.github.com>
* Add concept longDefinition support from semantic manifest
Parse and retain longDefinition from the semantic graph manifest so concept
detail pages can show extended copy while cards and graph surfaces keep
shortDefinition. Refresh bundled fallback manifest and align metadata and
JSON-LD description fallbacks.
Co-authored-by: ksteffe <ksteffe@users.noreply.github.com>
* Remove short definition from concept detail pages
Only display long definition on concept detail pages as requested.
The short definition is still used in metadata for SEO fallback.
Co-authored-by: ksteffe <ksteffe@users.noreply.github.com>
* Add fallback to shortDefinition for concepts without longDefinition
Some concepts only have shortDefinition without longDefinition.
Updated the display logic to fallback through:
longDefinition → definition → shortDefinition
This ensures all concepts display a single definition.
Co-authored-by: ksteffe <ksteffe@users.noreply.github.com>
* Fix concept index to show portable definitions
- Add getConceptDisplayDefinition() helper that extracts portable core from shortDefinition
- Helper prefers longDefinition > definition > extracted shortDefinition
- Extracts text before em dash for unmigrated concepts
- Update ConceptCard, concept detail page, JSON-LD, and all observatory components
- Ensures concepts index shows concise definitions without historical examples
- Works for both migrated (with longDefinition) and unmigrated concepts
Co-authored-by: ksteffe <ksteffe@users.noreply.github.com>
* Add pattern narrative fields for structured JSON-LD
- Add setup, problem, forces, observation, example fields to Pattern interface
- Update Zod schema to accept optional narrative fields
- Generate structured Article JSON-LD with hasPart sections when narrative fields present
- Maintain backward compatibility for patterns without narrative fields
- Add comprehensive tests for schema validation and JSON-LD generation
Closes #33
Co-authored-by: ksteffe <ksteffe@users.noreply.github.com>
* Integrate semantic manifest relationships and enhancements
- Update bundled semantic-manifest.json with 118 relationships (up from 27)
- Add visual styling for 8 new/unstyled relationship types:
- weakens, hardens, constrains (erosive)
- contrasts, requires, precedes, intensifies, complements (dynamic)
- Classify new dynamic verbs in taxonomy:
- sustaining: add 'enables'
- erosive: add 'weakens', 'hardens', 'constrains', 'distorts'
- Enhance JSON-LD with semantic relationships for concept pages
- Add conceptRelationshipUrls() helper to include relationship
counterparties in isRelatedTo structured data
- Create refresh-manifest skill for syncing bundled manifest
from upstream repository releases
- Add comprehensive test coverage for new predicates and classifications
All tests passing. Build successful.
Co-authored-by: ksteffe <ksteffe@users.noreply.github.com>
* Fix linter errors: replace require() with ES6 imports
- Replace require() with proper ES6 imports in json-ld.ts
- Remove unused SemanticGraph import in relationshipTaxonomy.ts
- All tests passing, linter clean
Co-authored-by: ksteffe <ksteffe@users.noreply.github.com>
* Add pre-commit hooks with husky and lint-staged
- Install husky and lint-staged for pre-commit validation
- Configure lint-staged to:
- Run eslint --fix on JS/TS files
- Run prettier --write on all staged files
- Run vitest related tests on test files
- Ensures code is linted and formatted before commits
- Prevents CI failures from linting/formatting issues
* Add documentation for pre-commit hooks
* feat: add semantic data freshness indicator to footer
- Extend SemanticGraph type with optional manifest metadata fields
- Update Zod schema to parse manifestVersion, generatedAt, etc.
- Display 'Semantic data: <date>' in site footer
- Footer component now async to fetch semantic graph
Provides transparency about data currency for users and crawlers.
* fix: update site-footer tests for async component
- Mock getSemanticGraph to return test data
- Make test functions async and await SiteFooter render
- All tests now passing (232/232)
Fixes test failures caused by making SiteFooter async
to fetch semantic graph metadata.
* feat: add JSON-LD API endpoints for direct access
Add dedicated API routes that return pure JSON-LD without HTML wrapper:
- /api/json-ld/concepts/[slug] - Returns DefinedTerm + metadata
- /api/json-ld/books/[slug] - Returns Book + metadata
- /api/json-ld/patterns/[slug] - Returns Article + metadata
Each endpoint returns an array of JSON-LD entities (WebPage,
BreadcrumbList, primary entity, etc.) with proper Schema.org typing.
Useful for:
- Providing to LLMs that convert HTML to markdown
- Direct structured data inspection
- Search console validation
- API consumers
Cache-Control: 1h with stale-while-revalidate for performance.
* docs: add git workflow rules for mandatory feature branches
- Create .cursor/rules/git-workflow.md with branching conventions
- Enforce cursor/<name>-bb0e branch naming pattern
- Document workflow: branch -> commit -> PR -> merge
- Prevent direct commits to main going forward
This rule file will be automatically loaded by Cursor agents to
ensure all future changes follow proper branch workflow.
* fix(deps): resolve npm audit vulnerabilities and add CI audit gate
- Run npm audit fix for dev transitive deps (undici, vite, @babel/core, js-yaml)
- Patch-bump Next.js ecosystem 16.2.6 → 16.2.10 and React 19.2.4 → 19.2.7
- Add npm override to force postcss >= 8.5.10 (fixes moderate XSS advisory in Next's bundled postcss)
- Bump @xyflow/react, framer-motion, zustand, @tailwindcss/typography within semver
- Add npm audit --audit-level=high step to CI workflow
* Add Playwright smoke tests for navigation and broken links
Introduce browser-based integration tests that run against a production
build in CI. Tests cover primary header navigation, explore sidebar
routing, curated smoke pages across books/concepts/patterns/thinkers,
internal link health on those pages, and a legacy /books redirect.
Uses offline bundled manifests for deterministic CI runs.
Co-authored-by: ksteffe <ksteffe@users.noreply.github.com>
* feat(graph): accept enriched source metadata in manifest parser
Extend Source types and Zod schema with optional v1.5 fields
(sourceKind, creatorSlugs, title, citation, etc.) while keeping
legacy sources and the bundled fallback manifest valid.
Closes #39
* feat(graph): derive thinker groupings from enriched sources
Add deriveThinkersFromSources to aggregate people and institutions
from creatorSlugs metadata. Returns an empty array for legacy
manifests without creatorSlugs.
Closes #40
* feat(graph): add top-level thinkers array and resolveThinkers
Introduce Thinker type, Zod schema, and manifest v2 support.
resolveThinkers prefers explicit manifest thinkers and falls back
to deriveThinkersFromSources when the array is absent or empty.
Closes #41
* feat(explore): add thinker index and detail pages
Introduce /explore/thinkers routes with ThinkerCard, page data
helpers, and Person/Organization JSON-LD. Existing /explore/sources
routes remain unchanged.
Closes #42
* chore(data): refresh semantic manifest from upstream release
- Relationships: 118 → 110
- Sources: 411 with v1.5 creatorSlugs enrichment (357 derived thinkers)
- Source: ksteffe/after-certainty@latest (2026-07-06)
* feat(explore): split book-page thinkers from research sources
Add resolveThinkersForBook to show ThinkerCard and SourceCard grids
when enriched metadata or manifest thinkers exist. Legacy manifests
keep the single Major thinkers sources section.
Closes #43
* fix(graph): prefer enriched bundled manifest when remote ISR is stale
When Next.js fetch cache serves a pre-enrichment release, fall back to
the bundled manifest so thinker detail pages and book-page splits stay
consistent with the thinkers index.
Add Playwright coverage for after-certainty book split and thinker detail.
* feat(explore): surface enriched metadata on source pages
Add source display helpers for title, label, citation body, and
creator thinker links. Legacy sources render unchanged.
Closes #44
* feat(seo): extend JSON-LD for enriched sources and thinkers
Map sourceKind to schema.org types while preserving legacy
Book/Article behavior. Use source display helpers for titles and
citations in source page JSON-LD.
Closes #45
* feat(explore): split thinkers and sources in navigation
Point Thinkers nav to /explore/thinkers and add a Sources link to
/explore/sources across the explore sidebar, observatory links, and
breadcrumbs. Update sources index copy and sitemap accordingly.
* docs(skill): update refresh-manifest for thinkers/sources migration
Document v1.5 enriched sources and v2 thinkers[], manifest sanity
checks, required manifest.test.ts gate, and Zod troubleshooting.
Link upstream migration doc and after-certainty#252.
* Update semantic manifest from upstream release
- manifestVersion: 1 → 2
- Enriched sources: 411 → 411
- Thinkers: 0 → 61
- Relationships: 110 → 110
- Source: ksteffe/after-certainty@latest
* fix(graph): prefer bundled thinkers when remote manifest lacks them
CI built static /explore/thinkers from a remote v1 manifest (derived
~357 slugs) while e2e runtime used the bundled v2 manifest (61
canonical thinkers), causing hundreds of 404s in broken-link tests.
Prefer bundled graph when remote lacks thinkers[] and align CI build
with offline manifest env vars.
* Normalize source type labels for display
Apply formatRelationshipLabelForDisplay in sourceDisplayLabel so
snake_case sourceKind values like institutional_document render with
spaces on the explore sources index and detail pages.
* Add concept-to-thinker navigation and observatory thinker nodes
Derive thinker backlinks on concept detail pages from existing manifest
data (thinkers.concepts, source creator slugs, and works). Index thinkers
as first-class graph nodes so the observatory can focus them and show
synthetic concept-thinker edges in the neighborhood graph.
* Add observatory action on thinker detail pages
* Update semantic manifest from upstream release
- manifestVersion: 2 → 2
- Thinkers: 61 → 339
- Sources: 411 → 408
- generatedAt: 2026-07-06 → 2026-07-07
- Source: ksteffe/after-certainty@latest
* Linkify http(s) URLs in explore detail descriptions (#64)
Detect URLs in plain-text entity copy, strip trailing citation
punctuation from hrefs, and render them as external links on
source/thinker/concept/pattern/book pages and observatory panels.
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
* Add typeahead search and pagination to explore indexes (#65)
* Add typeahead search and pagination to explore index pages
Thinkers, concepts, and sources indexes filter via ?q= and paginate
(?page=, 24 per page) so large catalogs stay scannable, with a
client typeahead that jumps to detail pages.
* Make explore index typeahead dropdown fully opaque
Use solid page background, higher stacking, and opaque option
rows so suggestions no longer blend through the results grid.
* Fix typeahead suggestions covering browse results
Render the suggestion list in document flow with an opaque elevated
surface so it no longer overlays the filtered cards inside explore
atmosphere layers.
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
* Defensive security assessment and remediations (#66)
* Add defensive security assessment report and dynamic tests.
Document inventory, trust boundaries, findings F1–F8, and localhost
results with outbound services mocked. Remediations follow separately.
* Remediate security findings F1–F8 with regression tests.
Add subscribe rate limits and body/email caps, outbound fetch timeouts,
http(s)-only manifest/RSS URL validation, browser security headers,
timing-safe revalidate auth, CI contents:read, and Secure consent cookies.
* Update security assessment dynamic results after remediations.
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
* Remove Beehiiv subscribe route and finish security follow-ups.
Drop /api/subscribe, newsletter env vars, and Beehiiv analytics stubs.
Add revalidate unauth rate limiting, MDX safe hrefs, and SHA-pinned CI actions.
* Fix mobile explore card overflow on detail pages (#68)
Constrain grid cards with min-w-0/overflow-hidden and wrap long
source titles and citation URLs so content stays inside the padded
column instead of clipping at the viewport edge on narrow screens.
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: ksteffe <ksteffe@users.noreply.github.com>
* Add Dependabot and dependency review for keeping deps secure (#69)
* Add Dependabot and PR dependency review for supply-chain hygiene.
Configure weekly npm and GitHub Actions version updates with grouped
minor/patch PRs and cooldown, and gate pull requests on high-severity
vulnerable dependency introductions. Document repo settings needed for
Dependabot alerts and security updates alongside existing npm audit CI.
Co-authored-by: ksteffe <ksteffe@users.noreply.github.com>
* Remove Dependency Review workflow until Dependency graph is enabled.
The action hard-fails with "Dependency review is not supported on this
repository" when Dependency graph is off. We cannot enable that setting
via API, so drop the workflow and document it as an optional follow-up
once the owner turns Dependency graph on. Dependabot + CI npm audit
remain the active update and security gates.
Co-authored-by: ksteffe <ksteffe@users.noreply.github.com>
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: ksteffe <ksteffe@users.noreply.github.com>
* ci(deps): bump the github-actions group with 2 updates
Bumps the github-actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [actions/setup-node](https://github.com/actions/setup-node).
Updates `actions/checkout` from 4.3.1 to 7.0.0
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/34e114876b0b11c390a56381ad16ebd13914f8d5...9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0)
Updates `actions/setup-node` from 4.4.0 to 7.0.0
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/49933ea5288caeca8642d1e84afbd3f7d6820020...820762786026740c76f36085b0efc47a31fe5020)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 7.0.0
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: actions/setup-node
dependency-version: 7.0.0
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
* deps(deps): bump the production-minor-patch group with 2 updates
Bumps the production-minor-patch group with 2 updates: [@types/mdx](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mdx) and [@xyflow/react](https://github.com/xyflow/xyflow/tree/HEAD/packages/react).
Updates `@types/mdx` from 2.0.13 to 2.0.14
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mdx)
Updates `@xyflow/react` from 12.11.1 to 12.11.2
- [Release notes](https://github.com/xyflow/xyflow/releases)
- [Changelog](https://github.com/xyflow/xyflow/blob/main/packages/react/CHANGELOG.md)
- [Commits](https://github.com/xyflow/xyflow/commits/@xyflow/react@12.11.2/packages/react)
---
updated-dependencies:
- dependency-name: "@types/mdx"
dependency-version: 2.0.14
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: production-minor-patch
- dependency-name: "@xyflow/react"
dependency-version: 12.11.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: production-minor-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* deps(deps): bump zod from 3.25.76 to 4.4.3
Bumps [zod](https://github.com/colinhacks/zod) from 3.25.76 to 4.4.3.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Commits](https://github.com/colinhacks/zod/compare/v3.25.76...v4.4.3)
---
updated-dependencies:
- dependency-name: zod
dependency-version: 4.4.3
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* deps(deps-dev): bump @types/node from 20.19.40 to 26.1.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.19.40 to 26.1.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-version: 26.1.1
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* deps(deps-dev): bump lint-staged from 16.4.0 to 17.0.8
Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 16.4.0 to 17.0.8.
- [Release notes](https://github.com/lint-staged/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lint-staged/lint-staged/compare/v16.4.0...v17.0.8)
---
updated-dependencies:
- dependency-name: lint-staged
dependency-version: 17.0.8
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* deps(deps-dev): bump the development-minor-patch group across 1 directory with 7 updates
Bumps the development-minor-patch group with 6 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) | `4.3.0` | `4.3.3` |
| [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `19.2.14` | `19.2.17` |
| [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) | `6.0.1` | `6.0.3` |
| [prettier](https://github.com/prettier/prettier) | `3.8.3` | `3.9.5` |
| [sharp](https://github.com/lovell/sharp) | `0.34.5` | `0.35.3` |
| [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `4.1.5` | `4.1.10` |
Updates `@tailwindcss/postcss` from 4.3.0 to 4.3.3
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.3/packages/@tailwindcss-postcss)
Updates `@types/react` from 19.2.14 to 19.2.17
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)
Updates `@vitejs/plugin-react` from 6.0.1 to 6.0.3
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@6.0.3/packages/plugin-react)
Updates `prettier` from 3.8.3 to 3.9.5
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.8.3...3.9.5)
Updates `sharp` from 0.34.5 to 0.35.3
- [Release notes](https://github.com/lovell/sharp/releases)
- [Commits](https://github.com/lovell/sharp/compare/v0.34.5...v0.35.3)
Updates `tailwindcss` from 4.3.0 to 4.3.3
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.3/packages/tailwindcss)
Updates `vitest` from 4.1.5 to 4.1.10
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.10/packages/vitest)
---
updated-dependencies:
- dependency-name: "@tailwindcss/postcss"
dependency-version: 4.3.3
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: development-minor-patch
- dependency-name: "@types/react"
dependency-version: 19.2.17
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: development-minor-patch
- dependency-name: "@vitejs/plugin-react"
dependency-version: 6.0.3
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: development-minor-patch
- dependency-name: prettier
dependency-version: 3.9.5
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: development-minor-patch
- dependency-name: sharp
dependency-version: 0.35.3
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: development-minor-patch
- dependency-name: tailwindcss
dependency-version: 4.3.3
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: development-minor-patch
- dependency-name: vitest
dependency-version: 4.1.10
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: development-minor-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* deps(deps-dev): bump eslint from 9.39.4 to 10.7.0
Bumps [eslint](https://github.com/eslint/eslint) from 9.39.4 to 10.7.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v9.39.4...v10.7.0)
---
updated-dependencies:
- dependency-name: eslint
dependency-version: 10.7.0
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix(lint): pin React version for ESLint 10 + eslint-plugin-react
ESLint 10 removed context.getFilename(), which eslint-plugin-react
(via eslint-config-next) still uses for React version auto-detection.
Setting settings.react.version bypasses that path so lint can run
until upstream ships compatible plugins (vercel/next.js#89764).
* chore(deps): ignore TypeScript major upgrades in Dependabot
TypeScript 7 is not usable with the current stack: typescript-eslint
only peers typescript <6.1.0 (no TS 7 programmatic API yet), and
next build crashes under TS 7. Ignore semver-major typescript bumps
so Dependabot does not keep opening broken preview PRs.
* Add Global Search plan and Phases A–D (#79)
* Add Global Search technical and product plan
Document a repository-grounded plan for client-side MiniSearch over an
ISR-generated search index, covering content inventory, UX, ranking,
aliases, a11y, performance, analytics, testing, and phased delivery.
Co-authored-by: ksteffe <ksteffe@users.noreply.github.com>
* Implement Global Search Phase A document normalization
Add SearchDocument types, authored alias config, boost helpers, and
buildSearchDocuments from the explore graph, books catalog, and podcast
episodes so status, editions, and aliases are not lost to Zod stripping.
* Implement Global Search Phase B index and MiniSearch
Add minisearch, a cached GET /api/search/index payload, query preparation,
relevance explanations, gzip budget checks, and ranking fixtures over the
bundled explore corpus.
* Implement Global Search Phase C results page
Add /search with shareable URL state, type filters, MiniSearch results,
relevance explanations, loading/error/empty states, consent-safe analytics,
footer and Explore entry points, sitemap coverage, and e2e coverage.
* Implement Global Search Phase D quick search palette
Add header and mobile search entry points, Cmd/Ctrl+K and slash shortcuts,
a focus-managed quick search dialog with recent localStorage queries, and
navigation into the full /search results page.
* Fix mobile menu Search entry discoverability
Open the quick-search palette before closing the drawer to avoid a race,
style Search like other mobile nav rows, show a Search label in the header
on small screens, and cover the menu entry with unit and e2e tests.
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: ksteffe <ksteffe@users.noreply.github.com>
* Improve global search quality for Phase E. (#80)
Grow curated related bridges for thematic queries, add capped enrichment
and query-aware snippets, promote soft ranking fixtures where the corpus
supports them, and document a privacy-safe unresolved-query workflow.
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
* Add typed situations for Global Search Phase F. (#81)
Promote situations through Zod, the explore graph, browse/detail UI, and
search documents; bridge temporary-fix phrasing to the new situation;
document embeddings evaluation and defer chapters/transcripts upstream.
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
* Add Start with a Question discovery feature (#82)
Introduce editorial question paths as a newcomer-oriented entrance alongside
Start Here. Includes a validated questions manifest with 12 corpus-grounded
paths, /questions index and detail routes, homepage and Start Here sections,
Global Search curated-question bridges, analytics events, JSON-LD, sitemap
entries, and E2E coverage.
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
* Add Curated Reading Trails feature (#83)
Implement editorial reading trails as a first-class discovery mode:
- Shared path-stop layer extracted from questions pipeline
- Versioned trails manifest with Zod validation and build-time enrichment
- /trails index and /trails/[slug] detail pages with accessible ordered paths
- Five launch trails across judgment, leadership, meaning, systems, and practice
- Navigation, sitemap, Start Here, analytics, tests, and contributor docs
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
* Add trail search bridges for Global Search integration (#84)
Surface curated reading trails above search results when queries match
authored searchBridges terms, mirroring the questions search bridge pattern.
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
* Expand trail discovery on homepage and entity pages (#85)
* Expand trail discovery on homepage and entity pages
Add homepage featured trails section, related trails on book/concept/pattern
detail pages, and Trails to primary navigation. Fix book stop canonical
resolution when slug collides with a concept.
* Document automatic related trails on entity detail pages
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
* Surface related reading trails on question detail pages (#86)
Match published trails to questions by shared canonical path stops,
excluding trails above the 60% overlap editorial threshold. Adds
QuestionRelatedTrailsSection on question pages with tests and docs.
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
* Add upcoming trails UI on index and preview detail pages (#87)
Introduce a Coming soon section on /trails, Upcoming badges on cards,
and noindex preview detail pages for status:upcoming trails. Adds the
Where Institutions Look sample trail and updates docs and tests.
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
* Wire Observatory pathways, shared path UI, and local progress (#88)
Extract shared PathStopList/PathStopCard for questions and trails with
localStorage resume tracking. Map enriched paths to Observatory Pathway
objects, add pathway deep links and playback dock highlighting, and link
from question/trail detail pages.
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
* Filterable book shelves on semantic-only catalog (#89)
* Update semantic manifest from upstream release (28 → 31 books)
Source: ksteffe/after-certainty@latest (2026-07-20)
* Add filterable book shelves and migrate to semantic-only catalog
- Refresh semantic manifest (31 books) and extend Book schema with status,
authors, exports, slug aliases, and companion edition fields
- Remove books-manifest.json ISR loader, merge layer, and dual-manifest joins
- Add catalog view model, editorial shelves, filters/sort/URL state, validation
- Redesign /explore/books with shelf sections, filter controls, and analytics
- Update search, trails, questions, JSON-LD, and cache revalidation for semantic-only books
- Add unit/component/E2E tests and contributing-books-catalog.md
* Fix books-catalog E2E selectors for CI strict mode
Scope result-count and card link queries to #main so navigation
matches book cards instead of the site lockup, and use a specific
'4 books' assertion instead of ambiguous /book/i text matching.
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
* Canonical status, What’s New, and book overviews (Phases A–H) (#90)
* Add roadmap for canonical status, What's New, and book overviews
Document an implementation-ready plan grounded in the current
semantic-manifest architecture: lightweight work/edition resolution,
public status vocabulary, hybrid change events, and incremental
book overview redesign—without implementing the features yet.
Co-authored-by: ksteffe <ksteffe@users.noreply.github.com>
* Fix CI npm audit failure by overriding nested sharp
Next 16 nests sharp@0.34.5, which fails npm audit --audit-level=high.
Force all sharp installs to the direct ^0.35.3 dependency via overrides.
* Add Phase A publication registry for work and edition metadata
Introduce a site-authored registry covering all semantic books with
stable workIds, explicit canonical flags, and WoLTY companion (not
superseded) rules. Schema and health checks land without changing
catalog resolution yet — that wiring is Phase B.
* Wire Phase B publication registry into canonical resolution
Prefer publication-registry work/edition metadata for catalog,
search edition groups, and health checks. Keep -vN heuristics as
fallback for unregistered books. Label WoLTY v2 as companion (not
superseded) and exclude draft books from the sitemap.
* Add Phase C status and edition labels on catalog and detail
Introduce shared StatusLabel and EditionNotice components backed by
public-status helpers. Catalog cards show one exceptional chip;
book detail pages surface companion, superseded, and upcoming notices
with accessible text links. Align path-stop and search labels to Upcoming.
* Add Phase D What’s New change-event model and curated seed
Introduce authored whats-new.json with Zod schema, health validation,
podcast candidate generation (gated unpublished), and public feed
assembly helpers. Seed major 2026 publications, the How Meaning Moves
podcast episode, and site features—excluding technical-only changes.
* Add Phase E What’s New page, RSS feed, and homepage preview
Ship /whats-new with month-grouped chronology, URL-driven type
filters (canonicalized to /whats-new), RSS at /whats-new/feed.xml,
sitemap entry, footer and Start Here links, and a homepage preview
replacing the thin recent-work episode block.
* Remove unused Container import from What’s New home preview
* Add Phase F book overview content model and validation
Introduce authored overview overlays for Start Here and core books,
with schema, graph cross-checks, and a thin view-model for Phase G.
* Add Phase G redesigned book overview pages for overlay books
Books with authored overlays get orientation-first IA (question, why,
curated ideas, reading order, progressive inventory). Others keep the
legacy layout with shared status/edition notices.
* Fix thinkers e2e for Phase G progressive inventory disclosure
after-certainty uses the redesigned overview, so Major thinkers only
appear after expanding Full related inventory.
* Add Phase H book ↔ What’s New links and consistency polish
Surface related What’s New events on book pages, fire edition notice
impressions, warn trails on superseded editions (not companions), and
demote superseded books further in search boost.
* Use consistent book_page location for What’s New feed analytics
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: ksteffe <ksteffe@users.noreply.github.com>
* Make after-certainty the discovery source of truth (#91)
* Make after-certainty the discovery source of truth
Refresh bundled semantic-manifest (schemaVersion 2.1) and extend the graph
schema to retain works, editions, questions, trails, shelves, changeEvents,
searchAliases, and additive book fields.
Switch site loaders to read discovery data from the manifest; keep
presentation overlays (maxPreview, front-shelf copy, recommended rank,
primaryActionPreference, fictionDoorway, question/trail search bridges,
podcast/site What’s New) in this repo. Remove ported JSON mirrors.
* Remove unused SemanticGraph import in catalog-query test
* Fix client bundle importing next/cache via search aliases
getSearchAliasConfig pulled validateSemanticGraph from lib/graph/manifest,
which imports revalidateTag. Search client components import aliases via
query.ts, so the build failed. Read bundled searchAliases without that
module, and move pure Zod validation to lib/graph/validate.ts for sync
loaders.
* Fix fiction shelf e2e count for corrected content types
Upstream labels only The Relay and Velorum as fiction; the catalog no
longer counts the two formerly mislabeled nonfiction volumes.
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
* Accept poetry contentType so remote semantic manifest validates (#92)
* Accept poetry as a book contentType
Upstream observer-patterns ships contentType "poetry", which the site
schema rejected. That forced the bundled semantic-manifest fallback and
kept How Trust Forms on the legacy detail layout despite a valid remote
overview.
Allow poetry in Zod schema, graph types, and catalog filters/labels.
Co-authored-by: ksteffe <ksteffe@users.noreply.github.com>
* Bump Next.js to 16.2.11 for npm audit CI
CI fails on npm audit --audit-level=high against next@16.2.10.
Upgrade next and eslint-config-next to the patched 16.2.11 release.
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: ksteffe <ksteffe@users.noreply.github.com>
* Stabilize semantic-manifest content types and fallback observability (#93)
* Stabilize semantic-manifest consumption for content types and fallbacks
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.
* Fix CI timeout in public corpus integrity tests
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.
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
* Tighten overview↔book concept and pattern link integrity (#94)
Restore hard errors for overview selections not linked on the book row,
add an intentional exception allowlist for current orientation overlays,
cover empty-book pattern selections, and document how to except or clear
mismatches after upstream backfill.
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
* Enforce canonical-only shelf membership for companions (#95)
Promote non-canonical curated shelf members from soft companion
warnings to hard errors, with an intentional exception allowlist for
known upstream drift (WoLTY v2 on leadership-and-authority). Document
that shelves stay canonical-only even with editions=all.
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
* Retain schema 2.2 chapters and parts for discovery (#96)
Stop stripping parts[]/chapters[] in Zod, expose selectors and
edition indexes, register chapters as unlisted metadata (no search
or sitemap yet), and validate structure in public corpus integrity.
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
* Align site with semantic-manifest schema 2.3 enrichment (#97)
* Align site with semantic-manifest schema 2.3 enrichment
Consume the released schema-2.3 contract: sync the bundled fallback and
intended release pin, extend Zod/types for roles, grounding, and chapter
kinds, unify loader cache identity with a build lock, and present chapter
maps, work-specific concept/pattern roles, and restrained pattern grounding
on book and entity pages without adding a native reader.
* Fix book overview health CI timeout on schema 2.3
Derive overviews from the graph under validation instead of re-parsing the
bundled manifest (and avoid double-running the health check). The extra Zod
pass on the larger 2.3 fallback was exceeding Vitest’s 5s default on CI.
* Avoid re-parsing bundled manifest in overview health tests
Reuse bookOverviewsFromGraph(graph) fixtures so CI does not Zod-parse the
2.9MB schema-2.3 fallback on every overview health case.
* Pass graph publication registry into overview health checks
resolveWorkEdition was defaulting to getPublicationRegistry(), which
Zod-parsed the full bundled manifest for every related-book lookup and
pushed CI past the 5s test timeout on schema 2.3.
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
* Add npm workspaces and thin Turborepo around apps/site.
Wire the imported site as a workspace package, hoist the lockfile to
the repo root, and document dual-toolchain commands. Production still
uses the standalone site repo and remote semantic manifest.
Co-authored-by: ksteffe <ksteffe@users.noreply.github.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
Co-authored-by: ksteffe <ksteffe@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
index.mdlinks for Part IV unitsMade with Cursor