Skip to content

docs(oci): §GLASSBOWL-OCI — durable third copy uploaded; the single-disk risk is closed - #113

Merged
red1oon merged 2 commits into
masterfrom
docs/glassbowl-oci-backup
Sep 18, 2026
Merged

red1oon merged 2 commits into
masterfrom
docs/glassbowl-oci-backup

Conversation

@red1oon

@red1oon red1oon commented Sep 18, 2026

Copy link
Copy Markdown
Owner

Closes the residual risk from §GH-DEPLOY-DELETES-GLASSBOWL: glassbowl_data.db existed only on one developer's disk and on gh-pages — in no source tree, no bucket, no build script.

Uploaded, per deploy/OCI_UPLOAD.md §RULES

https://objectstorage.ap-kulai-2.oraclecloud.com/n/ax3cp6tzwuy2/b/bim-ootb/o/docs/glassbowl_data.db
  • 94,208 B raw → 17,420 B stored — rule 8: gzip -9, --content-encoding gzip, --content-type application/octet-stream. 5.4× smaller on the wire.
  • Target checked empty first (rule 1) — no docs/ prefix, no glassbowl object existed.
  • Verified the rule-8 way, not assumed: curl -s --compressed <url> | md5sum = 24d51d7d668873ad…, equal to the raw local file's md5; decompressed bytes start SQLite format 3.

Restore one-liner

curl -s --compressed -o docs/glassbowl_data.db \
  https://objectstorage.ap-kulai-2.oraclecloud.com/n/ax3cp6tzwuy2/b/bim-ootb/o/docs/glassbowl_data.db

This also dissolves the "guard aborts from a fresh worktree" mystery recorded earlier — that abort is a missing local asset, not a broken build.

Deliberately NOT done: re-pointing the live pages at OCI

The five consumers (glassbowl.html, glassbowl_gravity.html, crud_overlay.js, report_overlay.js, sw.js) still fetch same-origin from the published site, unchanged, and they work.

It would be viable — CORS was measured, not guessed: the object returns access-control-allow-origin: *, identical to the modeller/*_geo.db objects already streaming cross-origin in production. But it trades a local read for a live dependency on bucket availability and buys the user nothing, since durability is already achieved by the backup copy. It's also a service-worker change with a CACHE_VERSION bump, since sw.js precaches the path — not a URL edit.

URL and CORS answer are recorded for whoever wants it later.

🤖 Generated with Claude Code

red1oon and others added 2 commits September 18, 2026 15:39
…isk risk is closed

Closes the residual risk from §GH-DEPLOY-DELETES-GLASSBOWL: glassbowl_data.db existed
only on one developer's disk and on gh-pages, in no source tree or bucket.

Uploaded per deploy/OCI_UPLOAD.md §RULES to
bim-ootb/o/docs/glassbowl_data.db — 94,208 B raw stored as 17,420 B (rule 8: gzip -9,
--content-encoding gzip, --content-type application/octet-stream). Target checked empty
first per rule 1. Verified the rule-8 way rather than assumed: curl --compressed | md5sum
equals the raw local md5 (24d51d7d668873ad...), and the decompressed bytes start
"SQLite format 3".

Records the restore one-liner, which also dissolves the "guard aborts from a fresh
worktree" mystery — that abort is a missing local asset, not a broken build.

Deliberately did NOT re-point the five live consumers at OCI. They fetch same-origin from
the published site and work. A re-point is viable — CORS was measured, not guessed: the
object returns access-control-allow-origin: *, same as the modeller/*_geo.db objects
already streaming cross-origin in production — but it trades a local read for a live
dependency on bucket availability and buys the user nothing, since durability is already
achieved by the backup copy. It would also be a service-worker change with a
CACHE_VERSION bump, since sw.js precaches the path. URL and CORS answer recorded for
whoever wants it later.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UU4FmnF1izwj4c2tqp6H29
…SBOWL-OCI), correction first

Both branches appended to the end of LFS_QUOTA_AUDIT.md. Resolved the way CLAUDE.md's
concurrent-branch rule says to: keep both hunks, never drop the other session's. Ordered
so #112's correction of the original finding reads before §GLASSBOWL-OCI closes the
residual risk that correction restated.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UU4FmnF1izwj4c2tqp6H29
@red1oon
red1oon merged commit 837fdaa into master Sep 18, 2026
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