# Design interview protocol Question source: design-options.json. Read-only CLI: design.py interview [--section ...], then design.py check. Saved answers: docs/project/design.json, schema version 1, choices map, confirmed map of choice id to exact option value, details map (see design.example.json). These are Foundry data fields, not invented native Claude frontmatter. 1. Inspect actual goal, code and prior decisions first. Extract explicit prompt preferences with a source note; do not demand a second answer. Ask only unresolved relevant choices in batches of at most three. A whole fixed questionnaire must not run for every small task. 2. Use a native question tool when available, otherwise numbered chat choices. Show a recommended option with a reason and trade-off. Large menus may be narrowed using known constraints without hiding custom choices; do not invent a native tool argument schema. Include the user's ability to ask for a recommendation or delegate selection. 3. Unanswered questions remain pending. A preselected UI option, silence or timeout is not consent. A recommendation is not confirmation. Explicit delegation can authorize choosing; record it accurately in details.notes. Never record fictitious user clicks or approvals. 4. Model separate axes: deployment; module organization (layered/clean/vertical-slice); domain modeling (including DDD); CRUD/CQRS; communication; distributed workflow coordination. Layering and DDD can coexist. CQRS does not force microservices, separate databases or event sourcing. Events do not automatically require a saga. Saga orchestration/choreography needs real participants, failure and compensation requirements. 5. The backend/API, database and entity-source selections are actual implementation constraints. Schema mode requires a local sanitized artifact, inspection and mapping evidence; no live database/credential use or SQL execution is implied. Inspect and pin the artifact digest as details.schema_sha256; missing/changed pins block dependent generation. A pin identifies content but does not prove semantic review. Missing schema blocks dependent generation. Dummy entities are explicitly fictional and never substituted for a chosen real schema. 6. Validation choices include request+domain, request-only, domain-only or no generated application validation. Preserve the chosen scope and report omissions; never silently disable authentication, authorization, parsing safety or existing integrity constraints. Deferred tests mean NOT_IMPLEMENTED, not successful verification. 7. Save choices and explicit value-bound confirmations, retain recommendations as pending, resolve structural contradictions, inspect design.py check output and update consequential ADRs. Do not delete accepted decisions just to make checks pass. CLI checks are structural and cannot certify suitability, schema compatibility or application correctness. 8. Resume from saved answers after interruption. Re-ask only invalidated choices; retain prior accepted decisions/history through Git/ADRs. Existing 0.3 projects can continue without an interview for unrelated changes. New kickoff/backend scaffolding requires the relevant choices before dependent generation. Confirmations must match current values; changed options need new confirmation. No persistence still allows request/domain models; model_source=none explicitly skips model generation. Custom detail acknowledgments are stored as confirmed_details mapping detail id to its exact text (custom backend/structure, participants, projection plan or schema path). Missing detail acknowledgments stay pending; changed text cannot reuse an old acknowledgment. These are still self-reported records, not proof of actual conversation events. Ask delivery_strategy (vertical/horizontal/hybrid) independently of module_architecture. Older recorded designs require this new explicit answer; never fabricate confirmation.