Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Users create habits, record a completion for an explicit calendar date, undo it and archive without losing history. A server token mapping derives ownership; every habit read/write is account-scoped. A unique habit/date index makes completion repeat-safe, while check-in, undo and archive share a parent row lock so their state checks and writes stay ordered.
ASP.NET Core minimal API, EF Core and Npgsql use verified Cloud TLS, pinned SDK/package versions and NuGet lockfiles. EF migrations run explicitly with a separate schema-owner credential; normal startup does not run DDL. The README shows Cloud creation, role/bootstrap/migration/grants/seed, HTTP usage and cleanup. CI builds and runs account/date contract tests without Cloud secrets.
Validation on 2 October 2026, native Ubuntu VM, .NET SDK 10.0.401 / ASP.NET Core 10.0.12, EF 10.0.12, Npgsql/provider 10.0.3, Postgres 18.6 in ClickHouse Cloud:
Calendar contract is explicit
DateOnly,2000–2100, no timezone/streak behavior. Monthly history is capped 31; habit list newest 100, no pagination. Tokens and shared database role assume trusted application infrastructure, without row-level security or token issuance. Article and private evidence remain outside this PR.