[E00-S04-T05] .env.example contains placeholders only #186
Closed
opened 2026-08-27 00:08:46 +00:00 by kpcto
·
20 comments
Labels
Clear labels
agent/analyst-drafted
agent/analyst-drafted
needs/human-decision
needs/human-decision
needs/security-review
needs/security-review
tier/t0
tier/t1
tier/t2
tier/t3
kind
bug
kind
bug
kind
epic
kind
epic
kind
initiative
EPPP programme initiative
kind
story
kind
story
kind
task
EPPP engineering card/task decomposed from a story
kind
toil
kind
toil
loop
1
loop
1
loop
2
loop
2
loop
3
loop
3
risk
agent-full
risk
agent-full
risk
human-gated
risk
human-gated
risk
human-only
risk
human-only
size
l
size
l
size
m
size
m
size
s
size
s
status
blocked
status
blocked
status
done
Workflow: Done
status
in-progress
status
in-progress
status
proposed
status
proposed
status
ready
status
ready
status
review
status
review
stream
checkout
stream
checkout
stream
onboarding
stream
onboarding
stream
platform
stream
platform
trivial — implementer only, auto-merge
standard — implementer + reviewer + tester
complex — security if triggered, human merge
critical — full chain + security, human merge
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Fabrika/PersonalBlog#186
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Intent
Ensure
.env.examplecontains placeholders only.Acceptance criteria
.env.examplecontains placeholders onlyEPPP_SESSION_SECRETfails closed: its.env.exampleplaceholder is shorterthan the schema's 32-character minimum, so an unedited
cp .env.example .envis rejected at startup rather than booting with a publicly known secret
(security finding F3). The config-package alternative (rejecting the
change-memarker) remains out of scope per E00-S04-T01.test suite are computed at runtime or carry an inline
# gitleaks:allow, sothe fixture never introduces a secrets-scanner hit (security finding F2)
failing assertion echoes a truncated or masked value, never the raw string
(security finding F4)
Explicitly out of scope
Test plan
.env.exampleand confirm only placeholders are presentgitleaks detect --source . --no-git --redactand confirm zero hits onthe branch, including the mutation probes
EPPP_SESSION_SECRETplaceholder is shorter than 32 characters,so an unedited copy fails startup validation
Rollback note
Notes
.gitea/workflows/ci.ymlenv-examplejob) is a pipelinetripwire (review checklist §6.4): any change to
.gitea/workflows/requiresa human maintainer decision/approval on the PR, regardless of author. No code
change is required beyond that sign-off (security finding F1).
Owning stream
platform
Risk quadrant
agent-full
status/readymay only be applied by a human maintainer.I approve the new additive
env-exampleCI job in.gitea/workflows/ci.yml: it is purely additive (no existing job modified), uses the same action majors already in the file (actions/checkout@v4,actions/setup-node@v4), has nosecrets:context and no${{ }}interpolation, and runsnode --test tests/env-example.test.mjsonly. I accept it.