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).
76 lines
1.3 KiB
Text
Executable file
76 lines
1.3 KiB
Text
Executable file
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
|
|
|
# dependencies
|
|
node_modules
|
|
/.pnp
|
|
.pnp.*
|
|
.yarn/*
|
|
!.yarn/patches
|
|
!.yarn/plugins
|
|
!.yarn/releases
|
|
!.yarn/versions
|
|
|
|
# testing
|
|
/coverage
|
|
|
|
# next.js
|
|
/.next/
|
|
/out/
|
|
|
|
# production
|
|
/build
|
|
/dist
|
|
|
|
# misc
|
|
.DS_Store
|
|
*.pem
|
|
|
|
# debug
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
.pnpm-debug.log*
|
|
|
|
# env files (can opt-in for committing if needed)
|
|
.env*
|
|
!.env.example
|
|
# .env.ove — tracked env template (operator-authorized, private Forgejo
|
|
# only); dev.sh restores .env from it after sandbox reprovisions (Task 47)
|
|
!.env.ove
|
|
|
|
# databases -- runtime state, regenerated per machine (prisma db push);
|
|
# the committed baseline snapshot is the self-healing seed (Task 47)
|
|
*.db*
|
|
*.sqlite
|
|
*.sqlite3
|
|
!db/custom.db.seed
|
|
|
|
# vercel
|
|
.vercel
|
|
|
|
|
|
# typescript
|
|
*.tsbuildinfo
|
|
next-env.d.ts
|
|
local-*
|
|
.claude
|
|
.z-ai-config
|
|
|
|
# runtime logs & local scratch (dev server output, platform pid)
|
|
*.log
|
|
dev.log
|
|
dev.out.log
|
|
test
|
|
prompt
|
|
server.log
|
|
.zscripts/dev.pid
|
|
|
|
# Skills directory
|
|
/skills/
|
|
|
|
# z.ai session artifacts (tool output dumps / e2e screenshots) -- not project content
|
|
/tool-results/
|
|
|
|
# secrets/ IS tracked (operator-authorized: strictly private self-hosted
|
|
# Forgejo repo — the house-account cookies ride with the repo so sandbox
|
|
# reprovisions can never wipe them). See secrets/README.md.
|