Story: Commission: book_status
Table of Contents
This page documents a story in Sprint 22. It captures the goal, current status, acceptance criteria, and the tasks that compose it.
Goal
Commission book_status across all access layers: verify the Qt UI end-to-end post-NATS
migration, implement shell commands (list, add, remove — not yet implemented), implement
CLI commands (list, add, remove — not yet implemented), fix any regressions found, and add
the entity chapter to the user manual. File backlog captures for Wt and HTTP support.
Status
| Field | Value |
|---|---|
| State | DONE |
| Parent sprint | Sprint 22 |
| Now | Nothing. |
| Waiting on | Nothing. |
| Next | None. |
| Last touched | 2026-07-10 |
Acceptance
- Qt list window (MDI): loads and displays records correctly.
- Qt detail window: edit and save round-trips without error.
- Qt history window: shows change history for the entity.
- Qt delete command: removes the record; history is preserved.
- Qt eventing: a change made in one connected session appears in a second session without manual refresh.
- Shell list command: implemented and working (new implementation).
- Shell add command: implemented and working (new implementation).
- Shell remove command: implemented and working (new implementation).
- CLI list command: implemented and working (new implementation).
- CLI add command: implemented and working (new implementation).
- CLI remove command: implemented and working (new implementation).
- Manual: entity chapter documents all Qt windows, shell, and CLI commands.
- Backlog captures filed for Wt and HTTP support.
- All regressions found are fixed inline or filed as captures.
- Site builds cleanly.
Tasks
| Task | State | Start | End | Description |
|---|---|---|---|---|
| Verify book_status SQL against the evaluation checklist | DONE | 2026-06-25 | 2026-06-25 | Thorough DDL verification against refdata_book_statuses_create.sql: every checklist criterion, plus three known security definer and bootstrap deficiencies to fix inline. |
| Verify book_status Qt UI end-to-end post-NATS | DONE | 2026-07-10 | List window, detail dialog, history dialog, delete, and eventing against live services post-NATS migration. | |
| Implement book_status shell and CLI commands | ABANDONED | 2026-07-10 | Superseded by the top-level shell/CLI commands commissioning stories (product backlog inbox), same as every other entity. | |
| Write book_status documentation | DONE | 2026-07-10 | Covered by the Books manual chapter (book_status is documented alongside book, not as a standalone chapter — it has no standalone Qt entity distinct from Book's own Status field usage in the reader's sense). Wt/HTTP captures superseded (see the dedicated task). | |
| Sync C++ codegen for book_status | DONE | 2026-06-25 | 2026-06-25 | Create the ores.codegen.entity org model for book_status; run all-cpp codegen; reconcile diffs against existing C++ files until zero-diff. |
| Appraise book_status across all layers and produce evaluation checklist | DONE | 2026-06-26 | 2026-06-26 | Score book_status across all layers using the domain entity evaluation checklist; record findings per layer. |
| Sync SQL codegen output for book_status | DONE | 2026-06-26 | 2026-06-26 | Run the sql codegen profile for book_status and verify the generated DDL and DML match the appraise checklist findings. |
| Sync C++ core codegen output for book_status | ABANDONED | 2026-07-10 | Duplicate of "Sync C++ codegen for book_status" (DONE) from an earlier, more granular task breakdown; superseded. | |
| Sync messaging codegen output for book_status | ABANDONED | 2026-07-10 | Duplicate of "Sync C++ codegen for book_status" (DONE); superseded. | |
| Sync Qt codegen output for book_status | DONE | 2026-07-10 | BookStatusMdiWindow, BookStatusDetailDialog, BookStatusController, ClientBookStatusModel, and BookStatusHistoryDialog all exist and are wired (projects/ores.qt/refdata/). | |
| File Wt and HTTP gap captures for book_status | ABANDONED | 2026-07-10 | Superseded by the two top-level Wt/HTTP commissioning-story captures covering every entity. |