Skip to content

Release v0.2.7: collapse and demote the agent usage block - #298

Merged
neuromechanist merged 5 commits into
mainfrom
staging
Sep 3, 2026
Merged

Release v0.2.7: collapse and demote the agent usage block#298
neuromechanist merged 5 commits into
mainfrom
staging

Conversation

@neuromechanist

Copy link
Copy Markdown
Contributor

Summary

Hotfix release for a v0.2.6 regression on the main dataset page. The How-to-use-the-data block rendered expanded and immediately after the page title, so its ten download and Zarr steps pushed the README and the file tree about two screens down, and agent-facing reference material became the first thing a human read.

It is now a disclosure collapsed by default, retitled "How to use the data (for agentic research)" with a one-line hint naming what is inside, and it renders last in the content column after the README and the file tree. The markdown mirror's heading matches the new title.

Parity is intact: every string stays in the server-rendered payload, which is the only thing crawlers and agents fetch, and a human reaches all of it with one click. Nothing is hidden with display:none or off-screen positioning.

Test plan

  • Verified on a local render of /dataset/on007753: collapsed at 93px, sits at y=4179 of a 6233px page, README back at y=671 under the title at y=191, payload still contains the download commands and the Zarr recipe.
  • Five new placement guards pin the two things that regressed (collapsed, and rendered after the README and file tree); the collapsed guard was mutation-proved by adding open and confirming it fails.
  • lint, typecheck, test (72 files, 1690 pass) and build green on the staging tip this promotes.

nemar-bot and others added 5 commits September 3, 2026 15:19
* fix: collapse and demote the agent usage block

Production regression in v0.2.6. The How-to-use-the-data block rendered expanded and immediately after the page title, so its ten download and Zarr steps pushed the README and the file tree about two screens down and made agent-facing reference material the first thing a human read on the main dataset page.

It is now a <details> collapsed by default, retitled 'How to use the data (for agentic research)' so its audience is obvious, with a one-line hint naming what is inside, and it renders LAST in the content column after the README and the file tree. The markdown mirror's heading matches the new title so the page and the mirror name the material identically.

Parity is intact: every string stays in the server-rendered payload, which is the only thing crawlers and agents fetch, and a human reaches all of it with one click. Nothing is hidden with display:none or off-screen positioning, so this is not the cloaking the OSCAR principles forbid.

Verified on a local render of /dataset/on007753: the block is collapsed at 93px, sits at y=4179 of a 6233px page, the README is back at y=671 under the title at y=191, and the payload still contains the download commands and the Zarr recipe.

Tested: bun run lint, bun run typecheck, bun run test (72 files, 1690 pass, including 5 new placement guards), NEMAR_SKIP_OG_GENERATE=1 bun run build. The collapsed guard was mutation-proved by adding 'open' and confirming it fails.

* test: read sources via Vite raw, not node:fs

astro check type-checks every file in the repo (tsconfig includes **/*) and has no node types, so the placement guards' readFileSync passed under vitest locally but failed typecheck in CI. They now import the two sources with Vite's ?raw and live under test/ with the other route tests. Tested: bun run lint, bun run typecheck (0 errors, 258 files), bun run test (72 files, 1690 pass), build.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying nemar-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0e37515
Status: ✅  Deploy successful!
Preview URL: https://fc08a0f9.nemar-website.pages.dev
Branch Preview URL: https://staging.nemar-website.pages.dev

View logs

@neuromechanist
neuromechanist merged commit 9396a66 into main Sep 3, 2026
10 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.

1 participant