Skip to content

Restore JAML seed bundles and URL-backed seed queue navigation - #6

Draft
OptimusPi wants to merge 2 commits into
masterfrom
cursor/restore-seed-list-navigation-3c65
Draft

OptimusPi wants to merge 2 commits into
masterfrom
cursor/restore-seed-list-navigation-3c65

Conversation

@OptimusPi

@OptimusPi OptimusPi commented Oct 7, 2026 •

Copy link
Copy Markdown
Owner

Summary

Brings back end-to-end seed list stepping and adds the owner’s JAML workflow: paste or upload a full JAML file (filter + seeds: list) in JAML view and it applies deck/stake, loads the navigable queue, and scores those seeds with motely-wasm in the existing search worker.

Blueprint does not import jaml-lang. Search errors come from Motely. jaml-ui 4.6.0 still lists that package, so package.json overrides the install to empty-npm-package (the fake grammar is not on disk). Moving to jaml-ui 8 drops the name entirely; that line also wants motely-wasm 28.

What broke

  • Jan–Feb 2026 (3cf753fc, 23f080ec): JAML view had in-component multi-seed lists with arrow-key stepping tied to Blueprint analysis.
  • Regression (e5bdf593, 2026-04-25, “update motely jaml”): That UI was removed when JamlView was rebuilt on jaml-ui; only single-seed / sidebar flows remained.
  • Sep 2026 (c14b746) added sidebar SeedQueue + hotkeys but not JAML document ingest, URL sharing for lists, or worker-side parsing for large seeds: blocks.

Verified with: git show e5bdf593 --stat and git log -1 e5bdf593.

Changes

  • parseJamlDocument (src/modules/jamlDocumentParse.ts): splits filter from seeds: (list or inline), maps JAML Ghost / White → Blueprint deck/stake.
  • Search worker (parseDocument message): parses large documents off the main thread (46,210 seeds in ~588 KB fixture under 5s in Vitest).
  • JamlView: upload .jaml, debounced paste detect, auto queue + motely search on seedList scope; editor keeps filter + a short queue note (not 46k lines).
  • Seed queue: URL seeds + seedIndex (lists ≤1800 chars in URL; larger lists stay in localStorage), bootstrap on load, index sync when seed changes; header controls visible in JAML when a queue is loaded.
  • parseSeedList: accepts whole JAML documents (sidebar + WebMCP).

Verification (commands run)

  • npx vitest run ___tests___/jamlDocument.spec.ts ___tests___/jamlDefault.spec.ts — 5 passed.
  • npm run build — succeeded on the seed-queue commit (before this dependency change).
  • node --input-type=module -e "import { parseJaml } from 'jaml-ui'" — jaml-ui still loads after the override.

Manual UI

Seed queue (5 seeds, Ghost / White): header 1/5 → next → 2/5.

Seed queue 1 of 5
Seed queue 2 of 5

JAML upload panel + small bundle upload (uploadTest, 2 seeds):

JAML upload panel
JAML document upload result

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

cursoragent and others added 2 commits October 7, 2026 08:15
JAML view accepts a full filter plus seeds: list via paste or upload.
The worker parses large documents off the main thread, applies deck and
stake to Blueprint, loads the navigable seed queue, and runs motely-wasm
against the listed seeds. Shareable URLs carry seed lists up to a safe
length with seedIndex for stepping.

Co-authored-by: Nathanial P. Howard <admin@optimuspi.com>
Blueprint no longer imports or validates with jaml-lang. Motely reports
filter errors when a search starts. jaml-ui 4.6 still names that package,
so the install overrides it to an empty module.

Co-authored-by: Nathanial P. Howard <admin@optimuspi.com>

This branch has not been deployed

No deployments
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.

2 participants