docs: sync vault with codebase state (2026-06-12)
- Update backend, frontend, scanner, deployment, amanat-assist service docs - Update System Overview, Scanner Architecture, Telegram Mini App flow - Update 10 - Services/README.md - Add Tenant data model, Tenant API reference, Tenant Storefront Flow - Add Multi-Shop Branch Project Scan (2026-06-10) - Add tenant.md service doc - Append activity log entry - Reflects archived/search/stats route fix and new E2E test suite Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# amanat-assist — AI Request Assistant
|
||||
|
||||
**Status:** Live at `assist.amn.gg` (v1.1.0)
|
||||
**Status:** Live at `assist.amn.gg` (v1.1.1)
|
||||
**Repo:** `/amanat-assist` (separate repo, no Amanat DB or internal-service access)
|
||||
**Owner:** Amanat Platform
|
||||
**PRD:** [PRD — AI Request Assistant Mini App](../PRD%20-%20AI%20Request%20Assistant%20Mini%20App.md)
|
||||
@@ -252,8 +252,8 @@ steps:
|
||||
2. deploy (docker:27-cli, docker socket volume-mounted — no registry push):
|
||||
- Copy dist/ to /opt/amanat-assist/dist/ (nginx bind-mount)
|
||||
- Sync docker-compose.yml to /opt/amanat-assist/
|
||||
- Rebuild amanat-llm-proxy Docker image in-place (locally, never pushed)
|
||||
- docker compose up -d (recreates llm-proxy container)
|
||||
- Rebuild `amanat-assist-llm-proxy` Docker image in-place (locally, never pushed)
|
||||
- docker compose up -d llm-proxy (recreates llm-proxy container only)
|
||||
3. notify (node:22-alpine):
|
||||
- Runs scripts/ci/tg-notify.cjs on success or failure
|
||||
- Uses TG_TOKEN + TG_USERS secrets
|
||||
@@ -301,3 +301,6 @@ See `src/sections/assist/` in the frontend repo for the implementation.
|
||||
- **categoryId from vision disabled** — vision returns category names, not ObjectIds; name→ID matching is left to the LLM in the follow-up turn
|
||||
- **llm-proxy is zero-dependency** — `llm-proxy/index.mjs` uses only Node.js built-ins (`http`, native `fetch`); no npm packages. Logs rotate at 10 MB.
|
||||
- **No registry push** — CI builds the llm-proxy image directly on the host via a docker socket volume mount; `docker pull` will always fail (intentional — image is local-only)
|
||||
- **Telegram theme override is --primary accent only** — applying full Telegram theme tokens causes invisible text on cream backgrounds; only the primary accent colour is overridden from the Telegram theme
|
||||
- **iframe auth handoff** — when embedded via iframe, auth is delivered via `access_token` + `user_json` URL params; the app decodes the JWT client-side as a fallback when the backend `/api/auth/me` call is not possible
|
||||
- **slotsRef stale-closure guard** — review submit uses a ref (`slotsRef`) instead of state directly to avoid a stale-closure bug that could cause the wrong slot values to be submitted
|
||||
|
||||
Reference in New Issue
Block a user