Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@ obj/
# with version.txt (see release-please-config.json's extra-files).
!web/.env.production
appsettings.Development.local.json
# Local API debug config. AGENTS.md: "Dev secrets live in user-secrets, not
# files" — but this file is also where a connection string most easily ends up
# by accident, and it was tracked, so a local edit rode along into every diff.
# Untracked now; appsettings.Development.example.json carries the shared,
# non-secret Serilog defaults that used to live here.
src/Cluckwork.Api/appsettings.Development.json

# OS/editor noise
.DS_Store
Expand Down
1 change: 0 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ dotnet test Cluckwork.sln # 688 tests as of 2026-07; integratio

- `deploy/.env` is gitignored (real values). `deploy/.env.example` holds placeholders only.
- Local API debug config uses `dotnet user-secrets` (keyed by `UserSecretsId` in `Cluckwork.Api.csproj`).
- `src/Cluckwork.Api/appsettings.Development.json` is **gitignored**, not tracked. It was tracked once, and a local connection string edited into it rode along in an unrelated diff — the file is the path of least resistance for exactly the value user-secrets exists to hold. The shared, non-secret Serilog dev defaults live in `appsettings.Development.example.json`; copy it if you want them, and put anything with a credential in user-secrets.
- No hardcoded passwords/keys in source — GitGuardian scans PRs. Generate test credentials at runtime.

## Host-agnostic repo (deployment boundary)
Expand Down
Loading