Explore can we add for every seed data for each flow ? Like we could create some seed data for… Save Share Download ▾ Reportcan we add for every seed data for each flow ?
Like we could create some seed data for new open case; birth declaration; change of ddress etc at a specific stage for every workflow
Exploring existing seeding and workflow structures so we can add stage-specific seed data for each flow.
[tool: ripgrep_raw_search — Tool use: ripgrep_raw_search]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Infrastructure/Persistence/PopulationRegisterSeeder.cs]
[tool: glob_file_search — Tool use: glob_file_search • Searched codebase "" • 4 results in 1 directory]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/tests/SchaerbeekMunicipality.E2E.Tests/Seeding/E2ECaseSeeder.cs]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Infrastructure/Persistence/ReferenceDataSeeder.cs]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Infrastructure/DependencyInjection.cs]
[tool: ripgrep_raw_search — Tool use: ripgrep_raw_search]
[tool: ripgrep_raw_search — Tool use: ripgrep_raw_search]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/tests/SchaerbeekMunicipality.Integration.Tests/Features/BirthDeclaration/BirthDeclarationTestHelpers.cs]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/tests/SchaerbeekMunicipality.Integration.Tests/Features/ChangeOfAddress/ChangeOfAddressTests.cs]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/tests/SchaerbeekMunicipality.Integration.Tests/Features/IdentityDocuments/DocumentRequestTests.cs]
[tool: glob_file_search — Tool use: glob_file_search • Searched codebase "" • 4 results in 1 directory]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/tests/SchaerbeekMunicipality.Integration.Tests/Features/Registration/RegistrationTestHelpers.cs]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Infrastructure/Persistence/NationalRegisterSeeder.cs]
[tool: ripgrep_raw_search — Tool use: ripgrep_raw_search]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Domain/Registration/RegistrationCaseStatus.cs]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Domain/BirthDeclaration/BirthDeclarationCaseStatus.cs]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Domain/ChangeOfAddress/ChangeOfAddressCaseStatus.cs]
Show full message · 232 lines Copy first prompt Copy first response
Details
Model Unknown
Provider unknown
Model provenance As recorded by source dataset
Turns 1 (2 messages)
Language Not recorded
Added to archive Dec 3, 2026
ID 01m8x6f35wmp0rbgzxn30pdpbpSource & license Imported from Coding-assistant chat logs from public GitHub repos (source ). Imported records earn no Research Points.
Upstream record: JobiJoba/SchaerbeekMunicipality@0a9678d5a709517c461fd72158ab37705befd3be:.specstory/history/2026-07-12_12-23-19Z-seed-data-for-workflows.md#0
github.com/public-chat-logs, revision c3a0b429d1b8d531f1b66e6d8f33ff7edba9c4c2
License: MIT
Dataset releases Not yet included in a published release.
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Domain/IdentityDocuments/DocumentRequestCaseStatus.cs]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/tests/SchaerbeekMunicipality.Integration.Tests/Features/IdentityDocuments/DocumentRequestTests.cs]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Infrastructure/SchaerbeekMunicipality.Infrastructure.csproj]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Api/MunicipalApiHostExtensions.cs]
[tool: ripgrep_raw_search — Tool use: ripgrep_raw_search]
[tool: ripgrep_raw_search — Tool use: ripgrep_raw_search]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Application/DependencyInjection.cs]
[tool: ripgrep_raw_search — Tool use: ripgrep_raw_search]
[tool: ripgrep_raw_search — Tool use: ripgrep_raw_search]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Application/SchaerbeekMunicipality.Application.csproj]
[tool: ripgrep_raw_search — Tool use: ripgrep_raw_search]
[tool: ripgrep_raw_search — Tool use: ripgrep_raw_search]
[tool: read_file_v2 — Tool use: read_file_v2]
[tool: glob_file_search — Tool use: glob_file_search • Searched codebase "" • 2 results in 1 directory]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Api/Program.cs]
[tool: glob_file_search — Tool use: glob_file_search • Searched codebase "" • 0 results in 1 directory]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/docs/TESTING.md]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/tests/SchaerbeekMunicipality.Integration.Tests/MunicipalAppFactory.cs]
[tool: ripgrep_raw_search — Tool use: ripgrep_raw_search]
[tool: ripgrep_raw_search — Tool use: ripgrep_raw_search]
[tool: ripgrep_raw_search — Tool use: ripgrep_raw_search]
[tool: glob_file_search — Tool use: glob_file_search • Searched codebase "" • 7 results in 1 directory]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/tests/SchaerbeekMunicipality.Integration.Tests/Features/Registration/RoleBoundariesAndCaseLockingTests.cs]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Application/Features/ChangeOfAddress/RequestPoliceVerification/RequestPoliceVe]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Application/Features/Registration/RequestPoliceVerification/RequestPoliceVerif]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Api/appsettings.Development.json]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Application/Features/Registration/OpenRegistrationCase/OpenRegistrationCaseHan]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Domain/Registration/VisitReason.cs]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Application/Auth/CurrentOfficer.cs]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Application/Features/Registration/RegistrationCaseAuthorization.cs]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Domain/IdentityDocuments/DocumentRequestType.cs]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Domain/Address/HousingSituation.cs]
[tool: ripgrep_raw_search — Tool use: ripgrep_raw_search]
[tool: ripgrep_raw_search — Tool use: ripgrep_raw_search]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Domain/BirthDeclaration/BirthDeclarationCase.cs]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Domain/ChangeOfAddress/ChangeOfAddressCase.cs]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Domain/IdentityDocuments/DocumentRequestCase.cs]
[tool: ripgrep_raw_search — Tool use: ripgrep_raw_search]
[tool: ripgrep_raw_search — Tool use: ripgrep_raw_search]
[tool: ripgrep_raw_search — Tool use: ripgrep_raw_search]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Application/Features/Registration/ApproveCase/ApproveCaseHandler.cs]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Domain/IdentityDocuments/DocumentRequestRules.cs]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Infrastructure/Persistence/MunicipalDbContext.cs]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Application/Features/IdentityDocuments/OpenDocumentRequestCase/OpenDocumentReq]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Application/Features/ChangeOfAddress/OpenChangeOfAddressCase/OpenChangeOfAddre]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Domain/ChangeOfAddress/ChangeOfAddressCase.cs]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Api/appsettings.json]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Domain/ChangeOfAddress/ChangeOfAddressCase.cs]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Infrastructure/SchaerbeekMunicipality.Infrastructure.csproj]
[tool: ripgrep_raw_search — Tool use: ripgrep_raw_search]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Domain/Identity/Person.cs]
[tool: ripgrep_raw_search — Tool use: ripgrep_raw_search]
Implementing a demo workflow seeder that creates cases at meaningful stages for each flow, gated by config so tests stay isolated.
[tool: edit_file_v2 — Tool use: edit_file_v2 • Edit file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Application/DemoData/DemoDataOptions.cs]
[tool: edit_file_v2 — Tool use: edit_file_v2 • Edit file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Application/DemoData/DemoWorkflowCaseSeeder.cs]
[tool: edit_file_v2 — Tool use: edit_file_v2 • Edit file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Application/DemoData/DemoDataServiceCollectionExtensions.cs]
[tool: edit_file_v2 — Tool use: edit_file_v2 • Edit file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Api/MunicipalApiHostExtensions.cs]
[tool: edit_file_v2 — Tool use: edit_file_v2 • Edit file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Api/MunicipalApiHostExtensions.cs]
[tool: edit_file_v2 — Tool use: edit_file_v2 • Edit file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Api/appsettings.Development.json]
[tool: edit_file_v2 — Tool use: edit_file_v2 • Edit file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Infrastructure/Persistence/PopulationRegisterSeeder.cs]
[tool: edit_file_v2 — Tool use: edit_file_v2 • Edit file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/tests/SchaerbeekMunicipality.Integration.Tests/MunicipalAppFactory.cs]
[tool: edit_file_v2 — Tool use: edit_file_v2 • Edit file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Application/SchaerbeekMunicipality.Application.csproj]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Domain/Identity/Person.cs]
[tool: ripgrep_raw_search — Tool use: ripgrep_raw_search]
Marie Leclerc only has a BIS number, so she can't open document requests. Switching the ready-for-collection demo case to Jean Dupont.
[tool: edit_file_v2 — Tool use: edit_file_v2 • Edit file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Application/DemoData/DemoWorkflowCaseSeeder.cs]
[tool: edit_file_v2 — Tool use: edit_file_v2 • Edit file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Infrastructure/Persistence/PopulationRegisterSeeder.cs]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/tests/SchaerbeekMunicipality.E2E.Tests/Infrastructure/MunicipalE2EFixture.cs]
[tool: run_terminal_command_v2 — Tool use: run_terminal_command_v2 • Run command: cd /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality && dotnet build --no-restore 2>&1 | tail -30]
[tool: read_file_v2 — Tool use: read_file_v2 • Read file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/Directory.Packages.props]
Avoiding extra package dependencies by moving the config gate to the Api layer.
[tool: delete_file — Tool use: delete_file]
[tool: edit_file_v2 — Tool use: edit_file_v2 • Edit file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Application/SchaerbeekMunicipality.Application.csproj]
[tool: edit_file_v2 — Tool use: edit_file_v2 • Edit file: /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality/src/SchaerbeekMunicipality.Api/MunicipalApiHostExtensions.cs]
[tool: run_terminal_command_v2 — Tool use: run_terminal_command_v2 • Run command: cd /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality && dotnet build 2>&1 | tail -20]
[tool: run_terminal_command_v2 — Tool use: run_terminal_command_v2 • Run command: cd /Users/[user]/Projects/Private/dotnet/SchaerbeekMunicipality && dotnet test --filter "Category!=E2E" --no-build 2>&1 | tail -25]
Yes — I added a demo workflow case seeder that creates sample cases at different stages for each flow.
What was added A new DemoWorkflowCaseSeeder runs on API startup when DemoData:SeedWorkflowCases is true (enabled in appsettings.Development.json). It uses the real application handlers, so cases follow the same rules as production.
Cases are prefixed with [Demo] in applicant/child names so they’re easy to spot. Seeding is idempotent — it won’t duplicate cases on restart.
Seeded scenarios Workflow Stage Demo label Registration Unclaimed (open, not claimed) — Intake [Demo] Sofia NguyenAwaiting police verification [Demo] Lucas MercierUnder review [Demo] Emma LambertApproved (ready to confirm) [Demo] Anne ConfirmBirth declaration Intake [Demo] Baby IntakeUnder review (ready to confirm) [Demo] Amélie DupontChange of address Intake Jean Dupont Awaiting police verification Sofia Nguyen Identity documents Submitted Jean Dupont (ID card renewal) In production Sofia Nguyen (passport renewal) Ready for collection Jean Dupont (passport)
Configuration json Copy code
"DemoData": {
"SeedWorkflowCases": true
}
Development (appsettings.Development.json): enabled
Tests : disabled via MunicipalAppFactory so integration/E2E tests stay isolated
Production : off by default (not set in appsettings.json)
How to use Restart the AppHost (dotnet run --project src/SchaerbeekMunicipality.AppHost). On first startup you should see demo cases in each workflow list.
If you want more stages (e.g. rejected, suspended, issued) or different personas, say which flows and stages matter most and we can extend the seeder.