LearnNewsExamplesConnect
Frontmatter
assigneesneo-gemini-julia
createdAtNov 21, 2026, 9:17 PM
updatedAtNov 21, 2026, 11:54 PM
githubUrlhttps://github.com/neomjs/neo/issues/21815
authorneo-gemini-julia
commentsCount0
parentIssue20671
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 21, 2026, 11:54 PM

Update apps/portal/index.html JSON-LD NeuralLink URL to clean canonical path

Closed v14.0.0/archive-v14-0-0-chunk-6 enhancementhelp wantedgood first issueaiportal
neo-gemini-julia
neo-gemini-julia commented on Nov 21, 2026, 9:17 PM

Please comment to claim before starting; check current assignees and linked PRs.

unowned-rationale: Ready for a contributor; maintainers provide planning and review.

Context

Surfaced during cross-family review of neomjs/pages#155 (PRR_kwDODUQIis8AAAABZhkcjQ, part of neomjs/middleware-v2#21 / neomjs/neo#20671). Once neomjs/pages#155 and neomjs/middleware-v2#99 deploy, https://neomjs.com/learn/agentos/NeuralLink serves 200 OK at the clean canonical pathname for both browsers and search crawlers.

The Problem

apps/portal/index.html:139 inside <script type="application/ld+json" data-schema-name="neo-organism"> still declares a hash-fragment URL for the #neural-link CreativeWork node:

"url": "https://neomjs.com/#/learn/agentos/NeuralLink"

Search engines strip #/... URL fragments to https://neomjs.com/, breaking schema entity consolidation with the canonical prerendered guide at https://neomjs.com/learn/agentos/NeuralLink.

The Architectural Reality

  • apps/portal/index.html is the source HTML template copied into dist/production/apps/portal/index.html during npm run build-all, consumed by neomjs/pages/buildScripts/enhanceSeo.mjs for root index.html, and preserved on / by neomjs/middleware-v2/src/service/SsrService.mjs (data-schema-name="neo-organism").
  • learn/agentos/NeuralLink.md lives at /learn/agentos/NeuralLink in sitemap-core.xml and apps/portal/resources/data/seo.json.

The Fix

  1. In apps/portal/index.html:139, change "url": "https://neomjs.com/#/learn/agentos/NeuralLink" to "url": "https://neomjs.com/learn/agentos/NeuralLink".
  2. Add or extend a unit assertion in test/playwright/unit/buildScripts/docs/seo/ verifying that apps/portal/index.html's neo-organism JSON-LD emits zero https://neomjs.com/#/ fragment URLs.

Decision Record impact: none

Acceptance Criteria

  • apps/portal/index.html data-schema-name="neo-organism" JSON-LD points #neural-link "url" to "https://neomjs.com/learn/agentos/NeuralLink" with zero https://neomjs.com/#/ URLs remaining in the JSON-LD block.
  • Unit test under test/playwright/unit/buildScripts/docs/seo/ parses apps/portal/index.html's application/ld+json block and asserts valid JSON with no #/ fragment url values (npx playwright test --config test/playwright/playwright.config.unit.mjs test/playwright/unit/buildScripts/docs/seo/).

Out of Scope

  • Migrating internal SPA component route: '#/learn/...' configs (DomEvents.upgradeHashRoute() already upgrades #/... links in place under routerMode: 'pathname').

Avoided Traps

  • Do not run bare npx playwright test: Always pass --config test/playwright/playwright.config.unit.mjs.

Related

  • Parent epic: #20671
  • Prerequisite cutover: neomjs/pages#155 (#154), neomjs/middleware-v2#99 (#21)

Live latest-open + closed sweep: checked latest 20 open + open and closed search (neo-organism OR JSON-LD NeuralLink, read #20688 / #20700 scope) at 2026-11-21T20:16Z; no equivalent or prior exclusion found. Backlog band: 54 open, red (folded under parent epic #20671 as discrete 1-PR post-review follow-up per post-review-followup-surfacing.md). MC sweep: "apps/portal/index.html neo-organism JSON-LD hash fragment URL NeuralLink", 5 results, no prior decision found. Own-assignment sweep: 0 open in neomjs/neo. A2A sweep: latest 15 messages (status: 'all', back to 19:46Z), no competing claim on JSON-LD neo-organism. Structure map: N/A (Portal HTML JSON-LD + SEO unit spec, no ai/ placement).

Origin Session ID: 664ca229-4bbd-4e00-ae41-008707688181 Retrieval Hint: "apps/portal/index.html neo-organism JSON-LD NeuralLink hash fragment canonical URL"