Epic: hAPI v1 build #73

Open
opened 2026-11-27 16:43:18 -05:00 by bobby · 0 comments
Owner

Tracks the build of the hAPI v1 spec (#72). Each ticket is a thin vertical slice; blocking edges are set as native Gitea dependencies. Work the frontier: any open ticket whose blockers are all closed.

Foundation

  • #74 Project skeleton with a live probe
  • #75 hapi db bootstrap creates the database and roles
  • #76 hapi migrate and the shared test harness
  • #77 /readyz and graceful shutdown
  • #78 Problem Details errors, request ids, and JSON logs
  • #79 hapi principal create for Persons and Bots
  • #80 Issue a Token and authenticate with it
  • #81 Revoke your own Token through the API
  • #82 Token expiry and --no-expiry for Bots
  • #83 hapi token list and hapi token revoke
  • #84 Audit events for auth and Token changes

Household data path

  • #85 Household Assets for members
  • #86 List Assets with pagination and owner filter
  • #87 Edit and archive Assets
  • #88 Household grants and Scopes for Bots

Personal data path

  • #89 Personal Measurements for their owner
  • #90 Filter, edit, and delete Measurements
  • #91 Idempotent Measurement creation
  • #92 List Bots
  • #93 Bind a Bot to your Personal data
  • #94 Change and revoke Bindings

Principal lifecycle

  • #95 Deactivate a Principal
  • #96 Ownership transfer; the Owner can't be deactivated
  • #97 Remove a Person's Personal data

Maintenance

  • #98 Asset meters and Readings
  • #99 Edit, delete, and idempotently create Readings
  • #100 Record standalone Services
  • #101 Edit, delete, and idempotently create Services
  • #102 Floating Tasks with computed due state
  • #103 Services fulfil Tasks
  • #104 "What's due" Task list
  • #105 Snooze a Task
  • #106 Edit, archive, and delete Tasks
  • #107 Fixed-calendar Tasks
  • #108 Usage-based Task intervals

Fitness

  • #109 Personal Exercises
  • #110 Seeded Household Exercise catalog
  • #111 Promote an Exercise to the Household
  • #112 Log a strength Workout
  • #113 Cardio entries with pace
  • #114 Idempotent Workout logging
  • #115 List Workouts
  • #116 Replace, patch, and delete Workouts
  • #117 Exercise kinds freeze once used
  • #118 Merge Exercises
  • #119 Exercise history and bests

Finance

  • #120 Financial Accounts
  • #121 Manual Transactions
  • #122 Filter Transactions by account, owner, and month
  • #123 Categories and categorizing Transactions
  • #124 Merge Categories
  • #125 Promote a Category to the Household
  • #126 Ingest Transactions
  • #127 Ingest respects the tracked window
  • #128 Edit limits on imported Transactions; delete dismisses
  • #129 Flag Transactions for date review
  • #130 Learn Payee mappings
  • #131 Ingest applies Payee mappings
  • #132 Budgets and the month summary
  • #133 Refunds offset spending; transfers are excluded
  • #134 Rebalance hint and date-review count
  • #135 Target history
  • #136 Moves between Categories
  • #137 Banked Categories

SimpleFIN Bot

  • #138 SimpleFIN Bot ingests mapped accounts
  • #139 SimpleFIN Bot fails loudly
  • #140 SimpleFIN Bot contract test against real hAPI

Smart home

  • #141 Create and view Jobs
  • #142 Idempotent Job creation
  • #143 Cancel Jobs; expiry is derived
  • #144 Home Assistant leases the next Job
  • #145 Jobs fail after three unanswered leases
  • #146 Report a Job result
  • #147 Filter the Job list
  • #148 Home Assistant reference package

Health and metrics

  • #149 Health endpoint with critical checks
  • #150 Health endpoint with non-critical checks
  • #151 Request, pool, and auth metrics
  • #152 Job and Home Assistant metrics

Notifications and scheduled work

  • #153 Token-expiry Notifications delivered to ntfy
  • #154 Notification delivery retries, then gives up
  • #155 Job sweep
  • #156 Notify on failed or expired Jobs
  • #157 Notify on due and overdue Tasks
  • #158 Notify on Household budget overspend
  • #159 Break-glass database access

Release artifacts

  • #160 Production image with smoke test
  • #161 OpenAPI export with Scopes
  • #162 Encrypted database backup
  • #163 Database restore round trip
  • #164 Off-account backup puller script

Infrastructure (ready-for-human)

  • #165 OpenTofu state backend
  • #166 Talos cluster on Linode
  • #167 Nodes join the management tailnet
  • #168 Cilium and the Linode CCM
  • #169 SOPS and age secrets in git
  • #170 Managed Postgres provisioned and bootstrapped
  • #171 CI runner VM
  • #172 Pull request pipeline
  • #173 Publish the image and commit its digest
  • #174 Flux bootstrap
  • #175 Migrations and the app Deployment
  • #176 DNS and CAA records
  • #177 Certificates over DNS-01
  • #178 Public edge
  • #179 Metrics and dashboards
  • #180 Log collection
  • #181 Alerting
  • #182 Scheduled hAPI work in the cluster
  • #183 SimpleFIN Bot in the cluster
  • #184 Daily backups in the cluster
  • #185 Kubernetes audit logging
  • #186 Audit exports with backups
  • #187 Install the backup puller
  • #188 Default-deny network policies
  • #189 Pod Security and admission policies
  • #190 Renovate and the upgrade runbook
  • #191 Disaster-recovery drill
  • #192 Go-live
Tracks the build of the hAPI v1 spec (#72). Each ticket is a thin vertical slice; blocking edges are set as native Gitea dependencies. Work the frontier: any open ticket whose blockers are all closed. ### Foundation - [ ] #74 Project skeleton with a live probe - [ ] #75 `hapi db bootstrap` creates the database and roles - [ ] #76 `hapi migrate` and the shared test harness - [ ] #77 `/readyz` and graceful shutdown - [ ] #78 Problem Details errors, request ids, and JSON logs - [ ] #79 `hapi principal create` for Persons and Bots - [ ] #80 Issue a Token and authenticate with it - [ ] #81 Revoke your own Token through the API - [ ] #82 Token expiry and `--no-expiry` for Bots - [ ] #83 `hapi token list` and `hapi token revoke` - [ ] #84 Audit events for auth and Token changes ### Household data path - [ ] #85 Household Assets for members - [ ] #86 List Assets with pagination and owner filter - [ ] #87 Edit and archive Assets - [ ] #88 Household grants and Scopes for Bots ### Personal data path - [ ] #89 Personal Measurements for their owner - [ ] #90 Filter, edit, and delete Measurements - [ ] #91 Idempotent Measurement creation - [ ] #92 List Bots - [ ] #93 Bind a Bot to your Personal data - [ ] #94 Change and revoke Bindings ### Principal lifecycle - [ ] #95 Deactivate a Principal - [ ] #96 Ownership transfer; the Owner can't be deactivated - [ ] #97 Remove a Person's Personal data ### Maintenance - [ ] #98 Asset meters and Readings - [ ] #99 Edit, delete, and idempotently create Readings - [ ] #100 Record standalone Services - [ ] #101 Edit, delete, and idempotently create Services - [ ] #102 Floating Tasks with computed due state - [ ] #103 Services fulfil Tasks - [ ] #104 "What's due" Task list - [ ] #105 Snooze a Task - [ ] #106 Edit, archive, and delete Tasks - [ ] #107 Fixed-calendar Tasks - [ ] #108 Usage-based Task intervals ### Fitness - [ ] #109 Personal Exercises - [ ] #110 Seeded Household Exercise catalog - [ ] #111 Promote an Exercise to the Household - [ ] #112 Log a strength Workout - [ ] #113 Cardio entries with pace - [ ] #114 Idempotent Workout logging - [ ] #115 List Workouts - [ ] #116 Replace, patch, and delete Workouts - [ ] #117 Exercise kinds freeze once used - [ ] #118 Merge Exercises - [ ] #119 Exercise history and bests ### Finance - [ ] #120 Financial Accounts - [ ] #121 Manual Transactions - [ ] #122 Filter Transactions by account, owner, and month - [ ] #123 Categories and categorizing Transactions - [ ] #124 Merge Categories - [ ] #125 Promote a Category to the Household - [ ] #126 Ingest Transactions - [ ] #127 Ingest respects the tracked window - [ ] #128 Edit limits on imported Transactions; delete dismisses - [ ] #129 Flag Transactions for date review - [ ] #130 Learn Payee mappings - [ ] #131 Ingest applies Payee mappings - [ ] #132 Budgets and the month summary - [ ] #133 Refunds offset spending; transfers are excluded - [ ] #134 Rebalance hint and date-review count - [ ] #135 Target history - [ ] #136 Moves between Categories - [ ] #137 Banked Categories ### SimpleFIN Bot - [ ] #138 SimpleFIN Bot ingests mapped accounts - [ ] #139 SimpleFIN Bot fails loudly - [ ] #140 SimpleFIN Bot contract test against real hAPI ### Smart home - [ ] #141 Create and view Jobs - [ ] #142 Idempotent Job creation - [ ] #143 Cancel Jobs; expiry is derived - [ ] #144 Home Assistant leases the next Job - [ ] #145 Jobs fail after three unanswered leases - [ ] #146 Report a Job result - [ ] #147 Filter the Job list - [ ] #148 Home Assistant reference package ### Health and metrics - [ ] #149 Health endpoint with critical checks - [ ] #150 Health endpoint with non-critical checks - [ ] #151 Request, pool, and auth metrics - [ ] #152 Job and Home Assistant metrics ### Notifications and scheduled work - [ ] #153 Token-expiry Notifications delivered to ntfy - [ ] #154 Notification delivery retries, then gives up - [ ] #155 Job sweep - [ ] #156 Notify on failed or expired Jobs - [ ] #157 Notify on due and overdue Tasks - [ ] #158 Notify on Household budget overspend - [ ] #159 Break-glass database access ### Release artifacts - [ ] #160 Production image with smoke test - [ ] #161 OpenAPI export with Scopes - [ ] #162 Encrypted database backup - [ ] #163 Database restore round trip - [ ] #164 Off-account backup puller script ### Infrastructure (ready-for-human) - [ ] #165 OpenTofu state backend - [ ] #166 Talos cluster on Linode - [ ] #167 Nodes join the management tailnet - [ ] #168 Cilium and the Linode CCM - [ ] #169 SOPS and age secrets in git - [ ] #170 Managed Postgres provisioned and bootstrapped - [ ] #171 CI runner VM - [ ] #172 Pull request pipeline - [ ] #173 Publish the image and commit its digest - [ ] #174 Flux bootstrap - [ ] #175 Migrations and the app Deployment - [ ] #176 DNS and CAA records - [ ] #177 Certificates over DNS-01 - [ ] #178 Public edge - [ ] #179 Metrics and dashboards - [ ] #180 Log collection - [ ] #181 Alerting - [ ] #182 Scheduled hAPI work in the cluster - [ ] #183 SimpleFIN Bot in the cluster - [ ] #184 Daily backups in the cluster - [ ] #185 Kubernetes audit logging - [ ] #186 Audit exports with backups - [ ] #187 Install the backup puller - [ ] #188 Default-deny network policies - [ ] #189 Pod Security and admission policies - [ ] #190 Renovate and the upgrade runbook - [ ] #191 Disaster-recovery drill - [ ] #192 Go-live
bobby added the ready-for-human label 2026-11-27 16:43:18 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bobby/hapi#73