Carries eight template commits: the provider sandbox actually running, release
admission to a named environment, the product feature manifest with its runtime
kill switch, architecture and documentation rules that match what is enforced,
the removability fixtures, and the browser, visual and performance evidence.
Product identity is unchanged. `package.json` keeps `tech-log-frontend` and the
catalog keeps the Tech Log naming; the home page was not in the delta. The
visual baselines are this product's own — the template's were excluded from the
transplant and these were regenerated here, where the only difference is the
platform overview's new product-feature section.
What this repository gains operationally: `config/runtime/{local,development,
staging,production}.json` with `FE-GATE-027` refusing an artifact whose runtime
document does not match the environment it is being admitted to, and
`FEATURE_OVERRIDES` for taking an installed feature out of service without a
rebuild.
Verified here: eight gates green, build green, visual 5/5, and 1,858 of 1,859
tests in the suites that do not need a sandbox — the one failure passes in
isolation and is a jsdom lazy-chunk timeout under parallel load. The provider
suites cannot run on this machine at all: `kernel.apparmor_restrict_unprivileged
_userns=1` makes `bwrap --unshare-net` fail, reproducible without any code from
either repository.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
26 lines
1.1 KiB
Bash
26 lines
1.1 KiB
Bash
# Build-time inputs (§6.1). These are compiled into the bundle by Vite, so
|
|
# everything here is public by definition. Never put a secret in this file or in
|
|
# any `.env*` file: a frontend has no confidential storage, and a value that
|
|
# reaches the browser has been published.
|
|
#
|
|
# Runtime configuration — API endpoints, auth mode, telemetry, capability
|
|
# switches — is NOT here. It lives in `config/runtime/<profile>.json` and is
|
|
# materialized into `dist/config.json` at build time, so it can be changed
|
|
# without rebuilding. See docs/architecture/layers.md.
|
|
#
|
|
# Copy to `.env.local` (git-ignored) to override locally.
|
|
|
|
# Identifies the build in release manifests and the runtime document.
|
|
# CI supplies the real value; a developer build falls back to "local-build".
|
|
VITE_BUILD_ID=local-build
|
|
|
|
# Source revision the bundle was produced from.
|
|
VITE_COMMIT_SHA=local
|
|
|
|
# Sub-path the app is served under. Must start and end with "/".
|
|
# Feeds the router, the Service Worker scope and Vite's asset base together.
|
|
VITE_ROUTER_BASE_PATH=/
|
|
|
|
# Where the browser fetches the runtime document from at boot.
|
|
VITE_RUNTIME_CONFIG_URL=/config.json
|