Skip to content

feat(console): server detail World tab with tuple-fenced adoption (OSS-382) - #540

Merged
athNdev merged 2 commits into
mainfrom
codex/prod-world-tab
Nov 18, 2026
Merged

athNdev merged 2 commits into
mainfrom
codex/prod-world-tab

Conversation

@athNdev

@athNdev athNdev commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Summary

Adds a World tab to every server detail page using the existing CarbonTabs / ServerTabPanel chrome and the typed World Library workflows.

  • Shows the active level, library binding, revision, node/generation, consistency, relevant configuration and an honest management state (LIBRARY BOUND, UNMANAGED WORLD, UNBOUND LEVEL, NO WORLD DETECTED, denied, error). Unmanaged and unbound states never invent a level name.
  • Deep-links to World View (opaque w1. key via encodeWorldKey) and the World Library through resolve(). Packaged /worlds availability is owned by OSS-381.
  • Pick/swap adopts a library revision only through CheckCompatibility → BindWorld → ResolveWorldOperation. It reuses worlds/read + worlds/update (server-scoped) and world_view/read, the same verdict/unknown-finding gates as the library detail route, explicit CarbonConfirm, and the existing stop/quiesce, private-clone, journal rollback and never-overwrite guarantees. No free-form command path or direct level-data write is added.
  • Compatibility is approved for an exact tuple (server, revision, target version, level). Selecting another revision/level or navigating to another server invalidates the report; a delayed response is discarded on arrival; confirmation re-requires the same tuple.
  • Binding outcomes keep their real labels (SUCCESS, QUEUED, RUNNING, SKIPPED, CANCELLED, FAILED, OUTCOME UNKNOWN, ROLLED BACK). Uncertainty exposes Recover/Roll back with no automatic retry.

Verification

  • bun install --frozen-lockfile; bun run check (0 errors/warnings); bun run test (379 pass); bun run lint (clean).
  • Packed SvelteKit production build via vite build + @sveltejs/adapter-static (clean).
  • buf lint (pinned 1.50.0) and bun scripts/proto-generate.mjs --check: Generated Go and TypeScript outputs match. — zero drift.
  • Real Chromium 131 fixture QA (scripts/manual-review/e2e/server-world-tab-check.mjs): 14 checks including bound/denied/unbound/unmanaged, deep links, delayed revision-A discarded after switch to B, B-only confirmation, blocked verdict, unknown-finding gate, queued/skipped/failed/unknown outcomes, rollback, client-side navigation invalidation, no overflow at 1440/390/360, keyboard selection/arrow navigation.
  • go run ./cmd/knowledge-lint -root . -fix then without -fix: OK: 65 concept(s), indexes current, queries: 38/38 pass.

Evidence

C:/Users/Daybreak8458/Documents/Codex/2026-11-12/carbonpanel-main-audit/opencode-evidence/oss-382/ — 19 screenshots (01-bound-desktop-1440.png … 15-navigation-invalidates-1440.png).

Dependencies

OSS-381 packaged /worlds route fix is now on main; this change does not edit its files.

Do not merge until independent review and required CI are green.

Show active level, binding/revision, config and honest unmanaged/unbound states. Adopt library worlds through journaled compatibility/bind/resolve gates with explicit confirmation and honest outcomes. Compatibility approval is bound to the exact checked tuple and invalidated on selection or navigation.

OSS-382
@athNdev
athNdev merged commit 3a36d7e into main Nov 18, 2026
17 checks passed
@athNdev
athNdev deleted the codex/prod-world-tab branch November 18, 2026 10:56
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