Commit graph

9 commits

Author SHA1 Message Date
6dd7f7ead7 Merge origin/zai-dev — integrate operator's tracked .env/.env.ove (3286721)
The operator hand-pushed .env and .env.ove tracked while this task ran,
both with DATABASE_URL="file:./db/custom.db" — the relative form that
Prisma resolves against prisma/schema.prisma's directory, i.e. to
<repo>/prisma/db/custom.db, breaking the CLI (db push would silently
create a fresh empty database there) and the runtime (cannot open);
verified empirically. The merge keeps .env tracked per the operator's
explicit action (gitignore: !.env) and corrects DATABASE_URL in both
files to the portable file:../db/custom.db. The committed .env is held
byte-identical to .env.ove so dev.sh's self-heal copy never leaves a
dirty tree.
2026-11-06 08:02:42 +00:00
621bbc662c v7.15.3 — self-healing sandbox boot: tracked .env.ove + db seed + secrets/
Operator-authorized for the strictly private self-hosted Forgejo repo:
the env template (.env.ove), a baseline database snapshot
(db/custom.db.seed) and secrets/ now ride with the repo so sandbox
reprovisions can never wipe them. dev.sh self-heals at the very top
(before bun install): .env is restored from .env.ove whenever it lacks
OVE_DIRECTORY_API_KEY, and db/custom.db from the seed whenever it is
missing — verified end-to-end against a faithful reset simulation
(both [SELF-HEAL] restores fire, 106-preset library serves, directory
proxy authenticated, browser clean).

One evidence-driven deviation from the requested values: DATABASE_URL
is file:../db/custom.db, not file:./db/custom.db — Prisma resolves
relative SQLite paths against prisma/schema.prisma's directory, so the
./ form provably breaks both the CLI (would create a fresh empty db at
prisma/db/custom.db on every boot) and the runtime (cannot open); the
../ form is the portable equivalent and is documented in .env.ove's
header. secrets/ ships with a README documenting the house-cookie file
slots (the actual cookie exports are re-added by the operator).
2026-11-06 08:00:46 +00:00
b08411f49b chore(git): ignore *.db* per workflow policy, untrack db/custom.db
The SQLite database is runtime state (presets, settings, sessions)
written constantly by the live app -- it is regenerated per machine via
prisma db push and seeded from embedded presets on first boot, so it
does not belong in version control. The file remains on disk untouched.

Also adds *.sqlite / *.sqlite3 alongside the requested *.db* pattern.
2026-11-06 06:24:04 +00:00
c1caefd543 Merge origin/main — union .gitignore: keep sandbox/tool-results/secrets exclusions, adopt remote's dist/ and !.env.example 2026-11-06 05:16:59 +00:00
zcreations_zai
35d725a5f0 chore: untrack z.ai tool artifacts and local secrets before GitLab sync 2026-11-06 04:22:38 +00:00
90b6c6ea2e Initial commit of openvisengine 2026-11-05 22:18:10 -06:00
Z User
e8cab6a2be a039b0db-81ec-4ef2-82bd-9e2ad958af8c 2026-10-22 03:29:51 +00:00
Z User
28aebdf552 72185aef-7931-4dd9-a377-318054098118 2026-10-21 14:13:58 +00:00
Z User
d77000472f Initial commit 2026-10-21 12:58:51 +00:00