[Story] Git-ignore local secrets and environment files #20
No Reviewers
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
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Fabrika/PersonalBlog#20
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.
What changed
Adds a root
.gitignore(new file only — no existing tracked file or content touched):This keeps local environment files and credentials (
.env,.env.local, API tokens) and dependency directories from ever being committed by accident.Criterion → test
.gitignoreat the repo root ignores.env,.env.*, andnode_modulesgit check-ignore -v .env .env.local node_modulesmatches all three against.gitignorelines 4–6git check-ignore .envreports the file as ignored after the changegit check-ignore .env→ prints.env, exit code 0git ls-filescontains no.env*/node_modulespaths; after staging,git statusshows onlyA .gitignore(no deletions)node --test(whatpnpm testruns) → 53 passed, 0 failedRisks
.env.examplewould also be ignored by the.env.*rule — accepted, as the story's acceptance criteria require.env.*to be ignored.