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
9c4fe5cb52
feat(bot): add reminders topic binding command
2026-03-10 02:01:56 +04:00
16f9981fee
feat(bot): add multi-household reminder delivery
2026-03-09 16:50:57 +04:00
de86706f4f
chore(infra): codify telegram command sync access
2026-03-09 05:29:30 +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
c6a9ade586
feat(ops): add first deployment runbook tooling
2026-03-08 22:44:36 +04:00
fd0680c8ef
feat(infra): add reminder scheduler jobs
2026-03-08 22:23:19 +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
b3ae1a51e4
feat(WHE-29): add v1 accounting schema migration and seed fixtures
2026-03-05 04:13:00 +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