Spaces: the inside of the world, and a sun that is actually where it should be

Ten agents wrote this in parallel against CONTRACT.md, which exists because the
five design agents before them collided on fifteen blocking points — four files
specified twice with incompatible contents, three separate backends for one box,
and `Environment` exported twice meaning different things.

What landed: a Stage owning only the renderer and the loop, with the city and an
office as two scenes over it. They cannot share one — San Francisco is ~94 m per
scene unit with 3.6x vertical exaggeration and an office is 1 unit = 1 m — and
the city is paused rather than disposed on the way in, because rebuilding its
336,864-point heightfield costs about a second on the way back out.

Offices are data. `src/offices/lumbridge-hq.ts` is fifteen rooms and seventy-six
seats, and it is the file a self-hoster copies. Walls are a segment list with
1-D openings, so doors and windows are holes punched in a wall rather than
placed objects, and the pass that splits a wall around its openings hands the
walk-mode collider its segments for free.

The sun is real. `solar.ts` is a NOAA/Meeus implementation with no imports at
all — not even three.js — so time of day keeps working on a laptop in a field.
Verified against known values: 75.45 degrees at the June solstice in SF, 28.79
at December, sunset at 03:15Z. The first screenshot after wiring it was a black
rectangle, which turned out to be correct: it was midnight in San Francisco.

Presence binds to a seat id and never to a coordinate. The pack knows where
`eng-04` is; who is sitting in it is private data behind an API. Same shape as
the marker rule, one level in.

Two corrections to ARCHITECTURE.md are in here. Containment does not discharge
ODbL — publishing OSM-derived coordinates is Public Use of a Derivative Database
wherever the rows live, so the rule is about the geocoder (US Census, public
domain) and not the storage. And a person at a desk is not a Marker; markers are
geographic.

One contract gap surfaced only in a screenshot: two agents read `height` on a
viewpoint differently, so the establishing shot aimed at empty air fourteen
metres above the roof. It now means what the same field means for a city.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Karti Tripathi
2026-08-05 00:11:01 -07:00
parent 36471bbad7
commit d464459838
77 changed files with 14266 additions and 216 deletions
+26
View File
@@ -40,6 +40,18 @@ database and cannot be reconciled with the permissive licence above.
Where real elevation data is used in future, it will come from USGS/SRTM
sources, which are United States government works in the public domain.
Where addresses are geocoded to coordinates and those coordinates are then
served publicly, the geocoder is the US Census Geocoder
(geocoding.geo.census.gov), a United States government work in the public
domain. This is a licence requirement rather than a preference: publishing a
snapshot of OSM-derived coordinates is Public Use of a Derivative Database under
ODbL and carries share-alike obligations no matter where the rows are stored.
Commercial geocoders are not an escape either — Google, Mapbox and HERE all
restrict storing and redistributing the coordinates they return.
Every such row carries a provenance field, and rows whose provenance is not on
the non-ODbL allowlist are refused at publication time.
TRADEMARKS
----------
@@ -53,6 +65,20 @@ Any use is nominative — to identify the organisation referred to — and does
imply affiliation with or endorsement by the trademark holder.
ARTISTIC OUTPUT (src/assets/)
-----------------------------
The material under src/assets/ is source code and is licensed under Apache 2.0
along with the rest of this repository. In addition, the copyright holders of
that material dedicate the artistic output it generates — meshes, geometry and
textures produced by running it — to the public domain under CC0 1.0.
This repository is therefore NOT uniformly Apache-2.0, and that is deliberate:
it means a mesh generated from this library can be used in another project
without carrying a NOTICE obligation into it. See src/assets/LICENSE-ART for the
dedication and CONTRIBUTING.md for the inbound grant that keeps it true.
THIRD-PARTY DEPENDENCIES
------------------------