vanilla_respondage/.gitignore
Tammo ter Hark 0a725f516c chore(repo): publish generic variant tooling, keep client data private
Public-repo audit (owner request): the tracked set is now exactly the
runtime files plus the generic variant tooling needed to build variants:
.gitignore no longer ignores variants/ as a whole, only the confidential
parts (*.json client definitions, leak-patterns.txt, tests/); build.php
and export_public.sh are tracked. export_public.sh tar-excludes those
confidential parts, so the public zip contains runtime files +
variants/build.php + variants/export_public.sh and nothing else.
Verified: leak grep on HEAD clean (no client names), export zip listing
matches, leak-check green with sibling-derived patterns, all referenced
assets HTTP 200 (core files like scripts/theme.js resolve via the parent
vanilla theme through <extends>, no 404s).

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-24 22:47:23 +01:00

58 lines
2.4 KiB
Text

# ---------------------------------------------------------------------------
# Public-repo policy (Forgejo): this repository contains ONLY the files needed
# to run the theme (config.xml, views/, options/, css/, scripts/, files/,
# README.md, LICENSE). Everything listed below is developer-local tooling or
# internal notes and is deliberately NOT tracked, so it never reaches Forgejo.
# ---------------------------------------------------------------------------
# variants/ — only the confidential parts stay local: the client definitions
# (*.json), the leak patterns (client names/colors) and the dev tests. The
# generic tooling (build.php, export_public.sh — verified to contain no client
# data) IS tracked, so variants can be built from the public repo alone. The
# canonical client definitions live in the private variants repository
# (vanilla_respondage_variants); point variants/build.php at that folder via
# its 2nd CLI argument or RESPONDAGE_VARIANTS_DIR.
/variants/*.json
/variants/leak-patterns.txt
/variants/tests/
# sass/ sources are developer-only: they are compiled locally to css/plain.css
# (which IS committed). LimeSurvey serves the committed css and never compiles
# sass itself. The .sass files were purged from history with git filter-repo.
/sass/
# Source maps are artifacts of the local sass compile — not needed at runtime
# (LimeSurvey serves css/ as-is).
/css/*.map
# Export zips, if an output dir inside the theme is ever used.
/dist/
# Session prompt log (prompts used + results). Internal working notes — never
# commit, never publish.
prompts.md
# Feature-request drafts for LimeSurvey core (English, well-substantiated) are
# internal too: never commit them to the public repo.
FEATURE_REQUEST*.md
# Bug-report drafts for LimeSurvey core (English, with repro + stack trace) are
# internal too: never commit them to the public repo.
BUG_REPORT*.md
# Working agreements for the agent (AGENTS.md) are internal too: never commit.
AGENTS.md
# Local agent config for this repo (tool permissions) — never commit, never publish.
/.vibe/
# Local dev tooling (jsdom DOM tests for options/options.js): package files and
# node_modules live in the theme dir so tests run from here, but they are
# developer-local only — never commit, never publish.
/node_modules/
/package.json
/package-lock.json
# Runtime cache the app writes into the theme dir during local renders (twig
# cache) — never commit, never publish.
/tmp/