# Bubble maps · FedM8 Trust OS design framework v0.3

**Public UX reference.** FedM8 Web OS Framework v0.1, source revision `6c2fd0f42d15f2a46df74da1c251cd3ee9f33ffb`. The reference experience is [FedM8 Trust OS](https://fedm8.com/trust/os), which requires authorized sign-in. This public document contains design rules, not an interactive copy, board records, screenshots, or a production release claim.

## Start from the FedM8 Brain itself

- Every JBNX brain map (os.jbnx.io/brain, fedm8.com/trust/os, brain.fedm8.com, mem.jbnx.io) uses the same engine and the same look. Vendor `assets/fedm8-bubbles.js` from jbnx/fedm8 unchanged (keep its version and commit header) and port the page from the reference port in jbnx/jbnx.io: `mem/public/brain-bubbles.js` and `brain-bubbles.css`, spec `mem/docs/brain-bubbles.md`. Swap only the data adapter.
- One light canvas: halves split by a dashed line with labels top-left and top-right; a floating details card at the foot with the side scale, round pic, chips and round icon buttons; white pill crumbs and round tools in the header. Buttons are the shared set (https://jbnx.io/design/ux/buttons); bubbles are not buttons. Skins follow https://jbnx.io/design/ux/themes.
- Agents: the `jbnx-brain` skill (`.claude/skills/jbnx-brain/SKILL.md`) carries these rules.

## Organize the map

- Use bubbles as one way to navigate real work. Keep the organization logo in the overview without repeating the main navigation. In the neutral front view, Technical stays left and Business stays right. Manual orbit changes the view, not the classification.
- Present a labeled text list, search, and equivalent actions alongside the visual map. Support keyboard, pointer and touch without requiring an orbit or hover.
- Show existing group, item and note counts, with observation time when available. On selection, show actual summary, metadata and next actions. If a source is missing, restricted or unverified, say so. Never turn absent data into a zero.

## Use depth without inventing importance

- Where present, read the authorized numeric node weight from 0 to 10. Higher weights sit closer in the neutral view; equal weights share a plane. Exclude the current focus and way-back control from ranking.
- Fit visible, valid weights around their midpoint. Use a minimum span of 0.8 and a maximum excursion of 140 world units. Remap only rendered depth; never change stored values. Disclose the actual value in details and the accessible list.
- Zero is valid. Put missing, invalid, and out-of-range weights on the neutral plane and announce “Map weight not set”. Keep the overview logo on the neutral plane.

## Make motion optional and clicks stable

- Manual drag on empty space can orbit the same scene. The pointer may tilt the camera slightly (parallax, as in the FedM8 engine) but must not repel or reorder bubbles.
- A nudge on hover is optional decoration: at most 3 px and 180 ms. Paint and hit-test in the same front-to-back order. Hit the unnudged circle, not the decoration.
- Reduced motion disables hover animation and layout interpolation without removing any available selection or action.

## Open real workspaces

- A primary bubble selection must keep the current map mounted and the same top-level URL. Open details or drill down in place: a side panel on wide screens, a bottom sheet on phones. Fetch only the selected branch or workspace. Do not navigate to another page on the primary click.
- **Reuse the FedM8 parent-centered fan.** Port the existing `layout()` open-branch algorithm from [FedM8 `assets/trust-os.js`](https://github.com/jbnx/fedm8/blob/a29e69657b3f6da399da45455def5dd5d59380de/assets/trust-os.js), source blob `d83eebdce34857837573fe54463b01420705fb0f`, before designing an alternative. Preserve the same parent-centered angles, radius growth and staggered outer ring for dense fans. Document any changes needed to fit the screen or separate targets.
- **Children surround the parent.** Selecting a branch keeps that parent visible and reveals its direct children as a radial fan around it. Each child must visibly connect to their own parent. Repeating the action folds the fan. Branches at every depth use the same interaction. Do not replace the fan with a column, card, side panel, a separate page, or children orbiting a different root. Leaf details and a separately labeled focus control remain separate actions.
- Keep a readable parent, visible spokes and usable child targets on phones and in landscape. Make room for dense branches with local scrolling or paging as needed, not smaller hit targets or overlapping labels. Keep lists and search as equivalent navigation; fetch only the opened branch.
- Back reverses one drill step, Close returns to the map, and focus returns to the control that opened the view. Browser Back also reverses a drill step. Place any independent destination behind a separately labeled link, not on the primary bubble.

- An opened item can launch a full task workspace rather than a cramped tooltip. Notes is the first pattern: scoped chronological history, readable text, composition, pending/saved/error feedback and focus restored on return.
- Add editing, deletion or cross-product sync only once the responsible backend explicitly supports it and its permission and audit behavior are verified.
- Keep presentation, navigation, the feature registry and data adapters separate. An adopting product supplies its own branding, route registry, authentication policy and adapter. Never share user sessions or migrate data just to reuse a visual design.

## Verify before release

1. Trace the owning repository and build. Record the exact version, commit and tested route.
2. Test desktop and mobile including keyboard focus, touch, reduced motion, neutral side placement, manual orbit and overlap selection. Check high, low, equal and zero weight, and missing or invalid values.
3. Verify a real authorized Notes workflow for scope, plain text, no duplicate submit, chronological history, recoverable errors and focus. Label fixture results as UI-only.
4. Verify signed-out and unauthorized viewers cannot read board data; test role loss, session scope, compatibility and no shared cache for private responses. This reference does not establish WCAG or Section 508 conformance.
5. Test a parent-centered fan at the first and at least one deeper layer. Verify children occupy multiple sides around the selected parent, spokes terminate at that parent, adjacent hit targets and labels do not overlap, and a second selection folds the branch. Test the map and its workspace shortcuts for no top-level navigation, plus Back, Close, Escape and focus return on desktop, 320 px, 390 px and 844 px landscape.
6. Retest deployed behavior before claiming release. Record test evidence, remaining gaps, rollback target and any data changes without including protected records or credentials.

## Version history

- **0.3:** One engine and look for every JBNX brain: vendor the FedM8 `fedm8-bubbles.js`, port the OS reference (`brain-bubbles.js`), shared buttons and themes, `jbnx-brain` skill. Pointer parallax allowed as in FedM8.
- **0.2:** Mandates the existing FedM8 radial fan, the selected parent at its center, and branch QA at multiple depths and screen sizes.
- **0.1:** Map, overview, adapter and workspace boundaries; stable pointer motion, removal of duplicate navigation, and larger Notes workspace. A design reference, not a complete operating system.


