Baseline test
19 checks
Version quotedesk-grund-03 · Method reetie-capability-1 · Dry run before freezing
Original prompt
Build QuoteDesk, a responsive web application for small service businesses to manage customers and price quotes. Deliver a working application, not only a visual prototype. Use the architecture, database, authentication and hosting that you recommend and that this platform supports. No particular framework, programming language, cloud provider or internal database schema is required. You may use the platform's integrated backend services. Clearly identify any feature that your available plan cannot provide. USERS AND ORGANIZATIONS The application supports multiple organizations. Every customer and quote belongs to exactly one organization. Signed-in users can access only organizations to which they belong. Authorization must be enforced by the trusted backend or backend service, not just by hiding interface controls. Each organization has two roles: - Owner: manages its customers, creates and edits its draft quotes, changes quote status, and exports its data. - Staff: views its organization's customers and quotes, creates and edits customer records, and creates and edits Draft quotes; staff cannot change a quote from Draft to Sent or Accepted, manage memberships, or export data. Provide a practical, secure way to set up three controlled test users: an Owner and a Staff member in Northstar Service, and an Owner in Harbour Maintenance. Use genuine authenticated identities with secure, non-public credentials. Explain the required account setup or invitation steps. Do not hard-code public administrator passwords or use an account switcher as authentication. Testers will supply controlled email addresses and perform ordinary registration or invitation steps if necessary. Do not send messages to anyone outside those controlled accounts. CUSTOMERS Allow users to create, list, search and edit customers with name and email address. A name is required. Save changes persistently. Each organization must have its own records, including when two organizations use the same customer name. QUOTES Allow users to create, list, open and edit a quote linked to a customer from the same organization. Each quote has a title, line items and a status: Draft, Sent or Accepted. A line item has a description, integer quantity, unit price and a tax rate. Currency is EUR throughout. Quantity must be between 1 and 10,000 inclusive. Unit price is non-negative with at most two decimal places. Tax rates in this synthetic test are 0%, 10% and 25%; this is a calculation exercise, not tax or accounting advice. Calculate each line's net amount as quantity times unit price. Calculate tax separately for each line, rounding to the nearest cent with half-cent ties rounded up. Sum the already-rounded line tax amounts for quote tax. Sum line net amounts for quote net. Quote gross equals quote net plus quote tax. Display net, tax and gross consistently, and enforce these calculations in trusted application logic rather than trusting totals submitted by a browser. For example, 3 items at EUR 19.99 with 25% tax, plus 2 items at EUR 0.10 with 25% tax, must give net EUR 60.17, tax EUR 15.04, and gross EUR 75.21. A line with 1 item at EUR 0.05 and 10% tax has tax EUR 0.01 and gross EUR 0.06. Only Draft quotes can be edited. Owners can move Draft to Sent, and Sent to Accepted. No reverse transition is required. Staff can view statuses but cannot perform these transitions. Reject invalid transitions on the backend, including direct requests that bypass interface controls. PERSISTENCE AND EXPORT Records and status changes must survive refresh, logout and login, and opening another browser session. Browser local storage alone is not sufficient business-data storage. Owners can export their organization's customers and quotes as CSV, including stable record identifiers, customer-to-quote relationships, status, currency, net, tax and gross. Export must not include another organization's data. Source-code export is not a requirement of this application brief; explain separately whether the platform offers it. USABILITY AND DELIVERY The primary workflows must work on a 390-pixel-wide mobile screen and a desktop screen. Forms need visible labels, usable validation messages and keyboard access. Show empty, loading and error states where relevant. A polished, restrained design is welcome, but do not substitute hard-coded demonstration cards for working records. Use only synthetic test information. Do not charge a payment method, send customer messages or connect to live business systems. Do not claim that a security audit or production certification has been completed. When ready, provide the working preview or application URL, account setup instructions, a brief description of actual persistence and authentication, any known unimplemented requirements, and instructions to export data. If deployment is unavailable on the current plan, state that precisely and provide the available runnable result. Use English for all user-facing copy and submitted documentation.
Requirements and expected results
| ID | Requirement | Capability level | Expected result | Evidence |
|---|---|---|---|---|
| A14 | Mobile and keyboard use | 1 | Critical controls are reachable, form fields are understandable, and errors can be corrected. Visual preferences alone do not fail the check. | Observed result, date, and evidence for the tested artifact |
| A18 | Accessible screen states | 1 | Each tested state has visible labels and understandable feedback. | Observed screen states |
| A01 | Create customers in both organizations | 2 | Both records exist and are editable within their respective organizations. | Observed result, date, and evidence for the tested artifact |
| A04 | Validate quantities and prices | 2 | Validation explains the problem and no invalid quote persists. Negative values cannot be hidden and still saved. | Observed result, date, and evidence for the tested artifact |
| A05 | Persistence across browser sessions | 2 | The same customer and quote appear with the same amounts and status. | Observed result, date, and evidence for the tested artifact |
| A15 | Required customer name | 2 | The server rejects empty and whitespace-only names. | Validation response and unchanged customer list |
| A17 | Runnable delivery | 2 | The app runs and its authentication, storage, and exports are documented. No customer messages are sent. | Setup receipt and isolated preview URL |
| A02 | Exact quote totals | 3 | The form, saved quote, and CSV all show net EUR 60.17, tax EUR 15.04, and gross EUR 75.21. | Observed result, date, and evidence for the tested artifact |
| A03 | Round tax at half a cent | 3 | The saved quote shows EUR 0.01 tax and EUR 0.06 gross. | Observed result, date, and evidence for the tested artifact |
| A06 | Authorized staff workflows | 3 | Both workflows succeed and the owner of A sees the same records. | Observed result, date, and evidence for the tested artifact |
| A07 | Staff cannot send a quote | 3 | The backend rejects the change. The owner of A confirms the quote is still Draft. | Observed result, date, and evidence for the tested artifact |
| A08 | Permitted quote state transitions | 3 | Only permitted transitions succeed. The UI and server reject edits to locked quotes. | Observed result, date, and evidence for the tested artifact |
| A09 | Organization isolation on direct access | 3 | The application discloses no data from A and allows no changes. HTTP 403, HTTP 404, or an equivalent safe response is acceptable. | Observed result, date, and evidence for the tested artifact |
| A10 | Organization and role enforcement | 3 | The backend enforces the organization and role boundaries. No unauthorized quote or membership is created. | Observed result, date, and evidence for the tested artifact |
| A11 | Signed-out access | 3 | Private business data stays private. | Observed result, date, and evidence for the tested artifact |
| A12 | Owner-only organization exports | 3 | The export for A only includes data from A with stable relationships and exact amounts. Staff are denied and B's export only includes data from B. | Observed result, date, and evidence for the tested artifact |
| A13 | Server calculation of totals | 3 | The server ignores or rejects incorrect totals. Its stored amounts match the independent calculation. | Observed result, date, and evidence for the tested artifact |
| A16 | Customer search with duplicate names | 3 | Each account finds all matching customers from its own organization. | Search results from both test accounts |
| P01 | Portability | Optional | Report code, data, schema, files, users, secrets, services, and runtime separately. | Export digest and redeployment receipt |
Change and regression tests
30 checks
Version quotedesk-andring-03 · Method reetie-capability-1 · Dry run before freezing
Original prompt
Extend the existing QuoteDesk application. Preserve every existing customer, quote, line item, user membership, role and quote status. Do not rebuild it as an unrelated demo or reset the database. Add work orders. Whenever an Owner changes a quote from Sent to Accepted, create exactly one work order linked to that quote and organization. The work order must include the accepted quote's customer, title, currency, net, tax and gross amounts. These monetary values represent the accepted snapshot and must not change when a customer's details are later edited. Repeated acceptance attempts for the same quote must not create duplicates or change its totals. This must remain true when two authenticated Owner browser sessions submit acceptance almost simultaneously or a network retry repeats the request. You may choose any correct implementation; no specific idempotency key scheme or database technology is required. Each organization has its own unique work-order reference numbers displayed as W-0001, W-0002 and so on. Numbers must not collide within an organization. Gaps are allowed; another organization's work orders must not appear in the list or export. Existing already-Accepted quotes must remain intact; create their missing work orders once using an explicit safe migration or reconciliation step, and explain how you did it. Add a work-order list and detail view for both roles. Owners can update its operational status from Planned to In progress to Completed. Staff can view it but cannot change that status. Enforce permissions and valid transitions on the backend. Add an optional phone-number field to customers without discarding existing records. Treat it as text rather than a numeric value, so a leading plus sign and leading zeroes are preserved. Add work orders to the Owner's data export with stable links to quotes and customers. Keep every original QuoteDesk requirement working, including tenant isolation, money calculations and role permissions. Report exactly what changed, how existing data was preserved, and any remaining limitations. Use English for all user-facing copy and submitted documentation.
Requirements and expected results
| ID | Requirement | Capability level | Expected result | Evidence |
|---|---|---|---|---|
| R-A14 | Mobile and keyboard use | 1 | Critical controls are reachable, form fields are understandable, and errors can be corrected. Visual preferences alone do not fail the check. | Observed result, date, and evidence for the tested artifact |
| R-A18 | Accessible screen states | 1 | Each tested state has visible labels and understandable feedback. | Observed screen states |
| B01 | Existing records after upgrade | 2 | Existing information and relationships remain available. The schema may change. | Observed result, date, and evidence for the tested artifact |
| B08 | Optional phone field persistence | 2 | The text is preserved. Existing customers without a phone number still work. | Observed result, date, and evidence for the tested artifact |
| R-A01 | Create customers in both organizations | 2 | Both records exist and are editable within their respective organizations. | Observed result, date, and evidence for the tested artifact |
| R-A04 | Validate quantities and prices | 2 | Validation explains the problem and no invalid quote persists. Negative values cannot be hidden and still saved. | Observed result, date, and evidence for the tested artifact |
| R-A05 | Persistence across browser sessions | 2 | The same customer and quote appear with the same amounts and status. | Observed result, date, and evidence for the tested artifact |
| R-A15 | Required customer name | 2 | The server rejects empty and whitespace-only names. | Validation response and unchanged customer list |
| R-A17 | Runnable delivery | 2 | The app runs and its authentication, storage, and exports are documented. No customer messages are sent. | Setup receipt and isolated preview URL |
| B02 | Reconcile existing accepted quotes | 3 | The quote has exactly one work order after repeated reconciliation. | Observed result, date, and evidence for the tested artifact |
| B03 | Concurrent acceptance of a single quote | 3 | The quote is Accepted and exactly one linked work order appears in the application, export, and durable records. | Observed result, date, and evidence for the tested artifact |
| B04 | Unique references for different work orders | 3 | There are two distinct work orders with unique references. Gaps in the sequence are permitted. | Observed result, date, and evidence for the tested artifact |
| B05 | Work order isolation | 3 | Lists, links, identifiers, and exports stay isolated by organization. | Observed result, date, and evidence for the tested artifact |
| B06 | Work order state and role enforcement | 3 | The backend denies staff. The owner can follow only Planned to In progress to Completed. | Observed result, date, and evidence for the tested artifact |
| B07 | Accepted amounts after customer edits | 3 | The customer changes take effect and the accepted monetary snapshot stays the same. | Observed result, date, and evidence for the tested artifact |
| B09 | Targeted baseline regression checks | 3 | Amounts, persistence, authorization, and exports still work after the change. | Observed result, date, and evidence for the tested artifact |
| B10 | Work order snapshot | 3 | Accepted amounts stay the same. Relationships stay stable in details and exports. | Quote export before acceptance and work order export |
| B11 | Shared numbering under concurrent acceptance | 3 | Each trial gives two unique numbers and exactly one work order per quote. | Timestamped overlapping requests and durable records |
| R-A02 | Exact quote totals | 3 | The form, saved quote, and CSV all show net EUR 60.17, tax EUR 15.04, and gross EUR 75.21. | Observed result, date, and evidence for the tested artifact |
| R-A03 | Round tax at half a cent | 3 | The saved quote shows EUR 0.01 tax and EUR 0.06 gross. | Observed result, date, and evidence for the tested artifact |
| R-A06 | Authorized staff workflows | 3 | Both workflows succeed and the owner of A sees the same records. | Observed result, date, and evidence for the tested artifact |
| R-A07 | Staff cannot send a quote | 3 | The backend rejects the change. The owner of A confirms the quote is still Draft. | Observed result, date, and evidence for the tested artifact |
| R-A08 | Permitted quote state transitions | 3 | Only permitted transitions succeed. The UI and server reject edits to locked quotes. | Observed result, date, and evidence for the tested artifact |
| R-A09 | Organization isolation on direct access | 3 | The application discloses no data from A and allows no changes. HTTP 403, HTTP 404, or an equivalent safe response is acceptable. | Observed result, date, and evidence for the tested artifact |
| R-A10 | Organization and role enforcement | 3 | The backend enforces the organization and role boundaries. No unauthorized quote or membership is created. | Observed result, date, and evidence for the tested artifact |
| R-A11 | Signed-out access | 3 | Private business data stays private. | Observed result, date, and evidence for the tested artifact |
| R-A12 | Owner-only organization exports | 3 | The export for A only includes data from A with stable relationships and exact amounts. Staff are denied and B's export only includes data from B. | Observed result, date, and evidence for the tested artifact |
| R-A13 | Server calculation of totals | 3 | The server ignores or rejects incorrect totals. Its stored amounts match the independent calculation. | Observed result, date, and evidence for the tested artifact |
| R-A16 | Customer search with duplicate names | 3 | Each account finds all matching customers from its own organization. | Search results from both test accounts |
| R-P01 | Portability | Optional | Report code, data, schema, files, users, secrets, services, and runtime separately. | Export digest and redeployment receipt |