Commit Graph

46 Commits

Author SHA1 Message Date
4d8d2fb6cf feat(deploy): add VPS compose deployment workflow
Co-authored-by: claw <stanislavkalishin+claw@gmail.com>
2026-03-30 15:51:33 +02:00
94c1f48794 docs: add VPS compose deployment plan
Co-authored-by: claw <stanislavkalishin+claw@gmail.com>
2026-03-30 15:51:32 +02:00
ee8c53d89b feat(infra): add aws lambda pulumi deployment target 2026-03-23 13:56:15 +04:00
f38ee499ae feat(bot): unified topic processor replacing router+interpreter stack
Replace 3-layer architecture (gpt-5-nano router + gpt-4o-mini interpreter) with
single unified topic processor (gpt-4o-mini) for simplified message handling.

New components:
- HouseholdContextCache: TTL-based caching (5 min) for household config data
- TopicProcessor: Unified classification + parsing with structured JSON output

Key changes:
- Renamed ASSISTANT_ROUTER_MODEL → TOPIC_PROCESSOR_MODEL
- Added TOPIC_PROCESSOR_TIMEOUT_MS (default 10s)
- Refactored save() → saveWithInterpretation() for pre-parsed interpretations
- Removed deprecated createOpenAiTopicMessageRouter and ~300 lines legacy code
- Fixed typing indicator to only start when needed (purchase routes)
- Fixed amount formatting: convert minor units to major for rawText

Routes: silent, chat_reply, purchase, purchase_clarification, payment,
payment_clarification, topic_helper, dismiss_workflow

All 212 bot tests pass. Typecheck, lint, format, build clean.
2026-03-14 13:33:57 +04:00
8374d18189 feat(bot): add shared topic router 2026-03-12 17:12:26 +04:00
6fb4f2a395 docs: replace coderabbit workflow with codex review 2026-03-11 13:19:10 +04:00
54895c0bd2 refactor(db): replace legacy fixture seed 2026-03-10 18:50:50 +04:00
be4d388e2f refactor(config): remove single-household deploy legacy 2026-03-10 18:50:44 +04:00
1b490fa4a5 fix(deploy): harden runtime config and migrations 2026-03-10 17:10:23 +04:00
1988521931 feat(payments): track household payment confirmations 2026-03-10 17:00:45 +04:00
fb85219409 feat(finance): add settlement currency and cycle fx rates 2026-03-10 16:46:59 +04:00
d55bf42c7b feat(miniapp): clarify balance breakdown 2026-03-10 02:54:12 +04:00
6a04b9d7f5 feat(finance): support weighted rent split 2026-03-10 02:47:58 +04:00
9c4fe5cb52 feat(bot): add reminders topic binding command 2026-03-10 02:01:56 +04:00
4797e4f200 docs(spec): add mini app admin billing controls spec 2026-03-10 01:23:55 +04:00
16f9981fee feat(bot): add multi-household reminder delivery 2026-03-09 16:50:57 +04:00
29f6d788e7 refactor(time): migrate runtime time handling to Temporal 2026-03-09 07:18:09 +04:00
de86706f4f chore(infra): codify telegram command sync access 2026-03-09 05:29:30 +04:00
e63d81cda2 feat(bot): add multi-household setup flow 2026-03-09 03:40:20 +04:00
89d9d751e4 docs(terraform): align secret id examples 2026-03-09 03:03:59 +04:00
7e4cb2ec80 docs(runbooks): align env setup notes 2026-03-09 01:05:40 +04:00
c8b17136be fix(review): harden miniapp auth and finance flows 2026-03-09 00:30:31 +04:00
7ffd81bda9 feat(bot): add anonymous feedback flow 2026-03-08 22:50:55 +04:00
c6a9ade586 feat(ops): add first deployment runbook tooling 2026-03-08 22:44:36 +04:00
c5c356f2b2 feat(miniapp): add finance dashboard view 2026-03-08 22:40:49 +04:00
f8478b717b feat(miniapp): add telegram-authenticated shell 2026-03-08 22:30:59 +04:00
fd0680c8ef feat(infra): add reminder scheduler jobs 2026-03-08 22:23:19 +04:00
1b08da4591 Merge remote-tracking branch 'origin/main' into codex/whe-31-adapters
# Conflicts:
#	tsconfig.json
2026-03-08 22:17:26 +04:00
6c0dbfc48e feat(bot): add secure reminder job runtime 2026-03-08 22:15:01 +04:00
f6d1f34acf feat(architecture): add finance repository adapters 2026-03-08 22:14:09 +04:00
3152858aac feat(test): add local billing smoke test 2026-03-08 20:14:36 +04:00
082d0f7dcc fix(infra): align bot runtime config with terraform 2026-03-08 20:10:28 +04:00
3675079a4c fix(review): address CodeRabbit review feedback
- Guard prepare script for Docker builds without .git
- Add pre-push hook for heavier quality gates (typecheck/test/build)
- Pin drizzle-orm version in scripts/package.json
- Add E2E_SMOKE_ALLOW_WRITE opt-in guard via e2eEnv abstraction
- Create @household/config env-e2e.ts using same t3-env + zod pattern
- Make e2e teardown robust with optional chaining + allSettled
- Fix markdown code block language identifier (MD040)
- Fix CI integration docs to reflect actual workflow
2026-03-05 21:13:38 +04:00
efc221f95e docs(test): add e2e runbook and use .bun-version in CI/CD 2026-03-05 20:48:09 +04:00
Stas
4ecafcfe23 feat(infra): add docker image build and deploy pipeline (#13) 2026-03-05 04:01:08 +03:00
ebb6ce4ce6 feat(WHE-23): add hybrid purchase parser with persisted parse metadata 2026-03-05 04:43:57 +04:00
67e9e2dee2 feat(WHE-22): ingest configured topic messages with idempotent persistence 2026-03-05 04:32:58 +04:00
f8c3e4ccf5 feat(WHE-21): scaffold grammy webhook bot server 2026-03-05 04:17:04 +04:00
b3ae1a51e4 feat(WHE-29): add v1 accounting schema migration and seed fixtures 2026-03-05 04:13:00 +04:00
40c2313f1f feat(WHE-20): implement deterministic monthly settlement engine 2026-03-05 04:04:07 +04:00
9d4f5d02a1 Merge remote-tracking branch 'origin/main' into codex/whe-28-terraform
# Conflicts:
#	docs/runbooks/dev-setup.md
2026-03-05 03:47:06 +04:00
d393c08263 feat(WHE-28): add terraform baseline for cloud run and scheduler 2026-03-05 03:36:54 +04:00
8086044938 feat(WHE-27): add drizzle db package and typed env config 2026-03-05 03:05:02 +04:00
Stas
6047e1c5be CI/CD: parallel quality jobs and Cloud Run deploy workflow (#3)
* ci: parallelize CI and add Cloud Run CD workflow

* ci: harden matrix task handling and CD secret checks
2026-03-05 01:13:57 +03:00
Stas
4a26ac81d6 Codex/whe 15 bootstrap workspace (#1)
* feat(WHE-15): bootstrap bun workspace with app and package scaffolds

* chore(WHE-17): switch workspace typecheck to tsgo

* chore(WHE-16): configure oxlint and oxfmt no-semicolon style

* chore: address CodeRabbit review feedback

* chore: apply coderabbit fixes and add review script

* docs: add ADR decision metadata
2026-03-05 00:56:24 +03:00
768400214e docs: add roadmap, ADRs, and initial HOUSEBOT specs 2026-03-05 00:47:18 +04:00