Skip to content

feat(worlds): first-class world viewing (OSS-346) - #505

Merged
athNdev merged 13 commits into
mainfrom
codex/world-viewing-epic
Nov 18, 2026
Merged

athNdev merged 13 commits into
mainfrom
codex/world-viewing-epic

Conversation

@athNdev

@athNdev athNdev commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

OSS-346 — First-class world viewing (cumulative epic PR)

One cumulative draft PR for OSS-354..OSS-358. Append-only commits; do not merge
until independent review, full head re-review, CI and release-safety audit pass.

Contract and decision (OSS-354, commit b6b5599)

  • proto/carbonpanel/v1/worldview.proto: generated WorldViewService with
    ListWorldViewTargets, GetWorldViewStatus, GetWorldViewSession,
    ListCapabilities, ListMapOverlays, SetMapOverlay, SetPlayerVisibility.
  • Shared WorldRef (LIBRARY_BINDING | SERVER_LOCAL | STATIC_IMPORT) and
    Observation provenance envelope, compatible with the integrated roadmap.
  • Generated with the pinned Buf plugins from buf.gen.yaml; no generated
    unrelated files changed.
  • ADR 0015 + knowledge concept record D0 (BluePanel = BlueMap assumption), the
    BlueMap default with squaremap/Dynmap/static capability alternatives, the
    authenticated same-origin proxy decision, privacy tiers and evidence limits.

Implemented stories

  • OSS-354 — D0 decision + ADR 0015, generated WorldViewService, world_view RBAC with negative tests.
  • OSS-355 — authenticated same-origin proxy with opaque user-bound keys, node-scoped fail-closed renderer resolution, bounded streaming, redirect refusal, no public port.
  • OSS-356 — /worlds picker and map workspace with honest onboarding/install/render/ready/stale/stopped/error states, keyboard-accessible embed region, URL-backed selection and deep links.
  • OSS-357 — capability-gated view modes, dimensions, overlays, opt-in audited player visibility; unsupported features shown as unsupported.
  • OSS-358 — admin actions only via existing RPCs with confirmation/audit; BlueMap default plus squaremap/Dynmap/static capability profiles and operations runbook in docs/world-viewing.md.

Integration dependencies and deliberate limitations

  • The shell links to /players and /library, owned by the player-management and World Library epics. This cumulative draft is expected to be integrated with those routes; no stub pages are included here.
  • Pan/zoom and coordinate search are renderer-owned: no unverified camera API is simulated. Static snapshots report honest staleness without a tile proxy.
  • ListWorldViewTargets requires an unscoped grant (deliberate anti-enumeration); server-scoped subusers can use deep links and all scoped RPCs. See docs/world-viewing.md §6.
  • No real renderer, container, Minecraft server, browser-rendered map or measured source-to-UI latency is claimed. All proxy/adapter evidence is fixture-level.

Safety

No public renderer port, no cross-origin iframe, no credentials in URLs, no
controller-local fallback, no privilege broadening, no releases. Do not merge
until independent review, full head re-review, CI and release-safety audit pass.

@athNdev
athNdev marked this pull request as ready for review November 18, 2026 01:27
# Conflicts:
#	internal/rbac/mapping.go
#	internal/rbac/rbac.go
#	internal/rbac/resources.go
#	internal/rpc/server.go
#	knowledge/decisions/adrs.md
#	web/carbon-panel/src/lib/api/rpc-client.ts
@athNdev
athNdev merged commit e0136c4 into main Nov 18, 2026
22 checks passed
@athNdev
athNdev deleted the codex/world-viewing-epic branch November 18, 2026 04:58
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