Decisions#
Decisions with consequences, why they were taken, and what was rejected, by topic.
The line under each decision says when it was taken, in which issues and pull requests, and whether
it still holds: *Accepted · 2026-09-25 · #14*. A decision that is revised is not edited away. It
becomes *Superseded · <date> · #<n> · by [<the new decision>](<chapter>.md#<anchor>)*, keeps a short
summary of what it said, and the new decision is added as a section of its own. Where no decision
records the change, the issue or pull request that made it stands in: · by #334. A decision
revised only in part stays accepted, with a line under the status saying what changed and where. Accepted and
Superseded are the only two. This is deliberately lighter than formal architecture decision records
(one numbered file per decision): it keeps the chapters, and adds what they lacked, the when and the
what-replaced-it. The dates and numbers of the decisions taken before the line existed come from the
commit that first wrote each one down. CI checks every line and that this index lists every decision
(.github/scripts/check-decisions.py).
Domain, backend and persistence#
- Panache active-record entities
- Liquibase, not Hibernate-managed schema
- The due-date rule applies to filing a task, not to changing one
- The database defines the enums, and the changelogs were squashed to say so
- The schema carries the constraints, and every string has a bound
- Wire identifiers are constants, and a GET's query count is asserted
- Attachments live in S3 and travel straight between it and the browser
- Deleting an account leaves a record outside the database
- A link is a kind of attachment, kept in its row
- Adding a draft again updates the task it became
- A user has at most five open drafts
- A new task's due date may be today anywhere
- A due time is optional, and its zone is too
- An update that leaves out the due time keeps it
- The API contract is the source
- A removed security requirement is no breaking change
- At most 500 tasks per user, and the API throttled at 10 a second
Authentication#
- Backend-for-frontend authentication
- One OIDC tenant, switched per profile
- A main provider per profile, and named tenants beside it
- The email stays the identity, and every provider must verify it
- Provider availability comes from configuration
- Name and picture are session data, not identity
- Gravatar is asked by the backend, and that buys accuracy rather than privacy
- Apps send a bearer ID token, and the audience is checked in code
- A provider may sign its client secret, and post the browser back
- An app trades its ID token once for an app session
- The app no longer knows sessions from before app sessions
- Deleting an Apple account revokes TaskFest at Apple, with Apple's confirmation
- qa signs in with a Google project of its own
Frontend and user interface#
- The board is the front page; the project description is a link
- A checkbox for done, a quiet marker for in progress
- The look follows hilling.it, and the calendar loads on demand
- Colours and faces from hilling.it's new site
- Editing starts from the menu, and waits for the server
- Due dates are relative words, set from defaults
- Undo instead of a confirmation, and what it costs
- A second delete joins the undo offer
- Importance is a dot, and the word is still there
- Sign out and Delete account wait behind Account
- A task id is checked before it is put in a URL
- A storage link is checked before a file goes to it
- An account deletion sends the browser only to Apple's sign-in
- Responses are validated against the schema the backend publishes
- Spacing and type are scales, not values
- Sign-in buttons follow Google's branding rules, and every provider looks alike
- Apple's own sign-in button, in the page's language
- English and German, from a typed catalogue of our own
- Files go straight to storage, with the tab opened on the click
- The mark is a panda with a ticked ear
- A task's saves go one after another, and a stalled save or upload is given up
- A due time is a native time field, and its zone a switch with the browser's list
- One picker for each: TaskFest's on a desktop, the phone's on a phone
- A click on a task's description opens its editor
- The whole task section opens the editor
Testing#
- Quarkus Dev Services, not hand-rolled Testcontainers
- Testing sign-in through the real code flow
- Coverage is measured by
quarkus-jacoco, and gates the build - The end-to-end suite contributes no coverage
- Mutation testing, scoped to the tests that do not boot Quarkus
Build, release and dependencies#
- Jib with a pinned Java 25 base image
- sun_checks with documented relaxations
- Apache License 2.0, as a
LICENSEfile only - A release is a git tag, and the version lives nowhere else
- A release tag is annotated
- SNAPSHOT dependencies fail every build, not just releases
- Renovate merges the small updates and asks about the large ones
- CodeQL scanning, unfiltered by path
- The images are published for amd64 and arm64
- The runner is pinned, so an image migration is a decision
- Pages deploys only from
main - Misconfiguration scanning is static, in CI, with Trivy — not AWS Config
- SonarCloud runs on
mainonly, and a failed quality gate becomes an issue - A SonarCloud false positive is silenced in the code, at its line
- Java stays on its long-term support releases
- The conventions shared with other repositories come from one public repository
Containers and the local stack#
- Compose files under
deployment/docker/ - Compose probes live in scripts, not inline
- The frontend is served by Red Hat's hardened httpd
- The backend runs on our own jre-runtime: Temurin's JRE on UBI micro
- The Go backend's local stack stores files in SeaweedFS
Deployment on AWS#
- Tearing an environment down is a parameter, not a destroy
- Deploy identities are OIDC roles, scoped to deploying and nothing else
- OpenTofu rather than Terraform
- One AWS account, with IAM roles and resource tags
- What it costs is stated rather than glossed
- PostgreSQL on RDS, destroyed with a final snapshot when idle
- The application authenticates to RDS with IAM, not a password
- The database user is created by a one-off ECS task, run by a person
- The frontend is static on S3 behind CloudFront, with
/api/*on the same distribution - GitHub Actions, not CodePipeline
- Two deployment paths rather than expand-and-contract
- The load balancer stays, and is internal
- Custom hostnames under an existing zone
- Fargate tasks in public subnets, with no NAT gateway
- VPC flow logs go to S3, all traffic, for 30 days
- CloudFront's
/api/*origin comes and goes with the environment; the distribution stays - CloudFront reaches the load balancer over HTTPS with the environment's own name
- Encryption in transit is settled by configuration, hop by hop, not measured
- The tasks run on Graviton, chosen per environment
- ECS-native blue/green, which needed AWS provider 6
- The frontend's deep links are a CloudFront Function, and a release needs no invalidation
- Image vulnerabilities come from Amazon Inspector, through ECR's pull-through cache
- qa's test accounts are a Cognito pool, and its client secret is in OpenTofu state
- The monitoring user reads no files and no secrets
- The attachments bucket refuses to be destroyed
- The backend moves to Lambda, Go and DynamoDB, after a spike
- The Go backend runs as four functions, behind a header, watched by seven alarms
- The Go backend is deployed by moving an alias after a check
- The Go backend's logs go to the shared monitoring server through a subscription filter
- prod starts the Go backend with an empty table
- The container architecture is removed from the infrastructure
Mobile app#
- Expo, rather than native apps or a WebView
- Native projects are generated, and builds run on GitHub Actions
- The app imports the website's code; a
shared/package can wait - The app sends Google's ID token as a bearer token
- Sign in with Apple comes later; a hidden address is a separate account
- Push goes through Amazon SNS; reminders are local
- Push goes straight to APNs and FCM
- Readable offline, not editable offline
- Releases follow semantic versioning, measured by the API
- Testers only, one app per environment
- Uploads with the plain tools: cloud signing on iOS, no stored Google key
- No crash reporting, for now
- Sharing into the app with expo-sharing, reading only the raw share
- expo-sharing is patched for a shared page's title
- Store releases wait for Gunnar's approval
- The app's time zones come from the platform and a list generated from Node's
- Android's reminders follow a change of time zone through a receiver of the app's own
- iOS's floating reminders are calendar triggers without a time zone
- A local Expo module drops Hermes' cached time zone
- Android's reminders are on time for whoever allows exact alarms
- Android's release builds stay without R8
- Exact alarms are offered once, after the reminders are on