Skip to content

backend: complete dev-notes CRUD and health proof slice - #75

Merged
juscghwe merged 6 commits into
milestone/m1from
backend/better-devnotes-db
Aug 1, 2026
Merged

juscghwe merged 6 commits into
milestone/m1from
backend/better-devnotes-db

Conversation

@juscghwe

@juscghwe juscghwe commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Purpose

Complete the M1 dev-notes backend proof slice with configurable storage, CRUD routes, schema validation, health reporting and integration smoke coverage.


Changes

Added:

  • Temporary and persistent dev-notes storage targets.
  • Full CRUD and search API behavior.
  • Dev-notes health integration in detailed and backend-summary endpoints.
  • Schema, health and CRUD smoke tests.
  • Runtime configuration and module documentation.

Changed:

Removed:

  • Superseded dev-notes implementation paths and duplicated storage logic.

Validation

  • Backend health smoke passed.
  • Dev-notes health smoke passed.
  • Schema smoke passed for temp and persistent.
  • CRUD smoke passed for temp and persistent.

Future Work [open]

  • Connect the frontend dev-notes page to the API.
  • Add targeted unit and integration coverage.

@juscghwe
juscghwe marked this pull request as ready for review August 1, 2026 08:13
@juscghwe juscghwe changed the title (DRAFT) backend: update dev-notes schema and backend health validation backend: refactor dev-notes boundaries and integrate rebuilt module Aug 1, 2026
## Purpose

Refactor the existing dev-notes implementation into a contract-driven
module with clear HTTP, validation, service, repository, SQLite and
health boundaries.

---

## Changes

Added:

* Resource contract and operation policies.
* Generic command and field validation.
* Repository port and shared SQLite repository.
* Contract-derived schema, SQL, mapping and health helpers.
* Module-local router, service and architecture documentation.

Changed:

* Replaced the existing dev-notes implementation with the rebuilt
module.
* Unified temporary and persistent storage behind the same repository
contract.
* Mounted the router exported by the dev-notes module.
* Updated backend health integration and schema smoke coverage.
* Updated the module README and dependency documentation.

Removed:

* Legacy facade, validation and duplicated SQLite adapters.
* Separate hard-coded schemas and seed helpers.
* Standalone dev-notes route wrapper.
* Temporary `dev-notes-new` path.

---

## Validation

* [x] Backend health smoke passed.
* [x] Dev-notes health smoke passed.
* [x] Schema smoke passed for `temp` and `persistent`.
* [x] CRUD smoke passed for `temp` and `persistent`.

---

## Future Work [open]

* Add targeted validation and service-level tests.
* Continue frontend dev-notes integration in the parent branch.
@juscghwe juscghwe changed the title backend: refactor dev-notes boundaries and integrate rebuilt module backend: complete dev-notes CRUD and health proof slice Aug 1, 2026
@juscghwe
juscghwe merged commit bb90c3a into milestone/m1 Aug 1, 2026
4 checks passed
@juscghwe
juscghwe deleted the backend/better-devnotes-db branch August 1, 2026 08:27
@github-project-automation github-project-automation Bot moved this from In progress to Done in PillTracker MVP Aug 1, 2026
@juscghwe
juscghwe restored the backend/better-devnotes-db branch August 1, 2026 08:39
@juscghwe
juscghwe deleted the backend/better-devnotes-db branch August 1, 2026 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment