rogee
|
25ef9ae494
|
fix(deploy): reuse shared redis and serve dashboard at root
|
2026-08-23 17:32:02 +08:00 |
|
 Rogeeandrogee
|
f91dc6ca1a
|
test(HH-460): observe restore file order (#108)
Co-authored-by: Rogee <rogee@ipao.vip>
|
2026-08-22 21:35:31 +08:00 |
|
 Rogeeandrogee
|
43253b51c9
|
HH-460: cover migration and backup restore regressions (#104)
* test(HH-460): cover migration and restore regressions
* test(HH-460): verify real restore evidence
---------
Co-authored-by: Rogee <rogee@ipao.vip>
|
2026-08-22 21:20:27 +08:00 |
|
 Rogeeandrogee
|
6444c40531
|
test: preserve quality and websocket evidence (#107)
Co-authored-by: Rogee <rogee@ipao.vip>
|
2026-08-22 21:19:09 +08:00 |
|
 Rogeeandrogee
|
fb83285617
|
HH-445: deploy production observability and runbooks (#96)
* HH-445: deploy production observability and runbooks
* fix(ops): share production database DSN
* fix(HH-445): enforce database TLS gate
* fix(HH-445): preserve production serve command
* fix(prod): require external database dependencies
* fix(prod): unify database host rejection gates
* test(prod): enforce exact database TLS runbook contract
---------
Co-authored-by: Rogee <rogee@ipao.vip>
|
2026-08-22 19:39:57 +08:00 |
|
 Rogeeandrogee
|
61376a57fd
|
HH-446: restore auditable quality gates from current main (#102)
* HH-446: restore auditable quality gates
* test(HH-446): restore help center smoke contract
---------
Co-authored-by: Rogee <rogee@ipao.vip>
|
2026-08-22 15:45:58 +08:00 |
|
 Rogeeandrogee
|
798ea43c2f
|
HH-442: isolate runtime processes and harden shutdown (#90)
* HH-442: isolate runtime processes and harden shutdown
* HH-442: harden worker shutdown races
* HH-442: gate dependency shutdown on active handlers
---------
Co-authored-by: Rogee <rogee@ipao.vip>
|
2026-08-22 02:38:15 +08:00 |
|
 Rogeeandrogee
|
6d6d80dd86
|
HH-441: harden durable storage and recovery (#92)
* HH-441: harden durable storage and recovery
* HH-441: clear recovery review blockers
* HH-441: enforce offsite backup failure domain
---------
Co-authored-by: Rogee <rogee@ipao.vip>
|
2026-08-22 02:16:02 +08:00 |
|
 Rogeeandrogee
|
2b182f9956
|
H-300: wire Captain Skills into Web runtime (#48)
* H-300: wire Captain Skills into Web runtime
* H-300: enforce effective model and conservative skill budget
* H-300: fix CI gosec step
* ci: extend golangci-lint timeout
* fix lint findings across backend
* fix(push): resolve delivery protocol blockers
* test(repository): close SQLite test databases
* test(repository): reuse SQLite schema per package
* H-307: restore backend Go cache in CI
* H-307: prefetch modules before cold lint
* H-307: resolve govulncheck security gate
* H-307: build lint with patched Go toolchain
* H-307: clear remaining security scan findings
---------
Co-authored-by: Rogee <rogee@ipao.vip>
|
2026-08-19 07:08:14 +08:00 |
|
Rogee
|
92f0d51375
|
refactor: 统一 DB/Redis 配置为 DSN 模式 + 移除 Helm/K8s 部署
- DatabaseConfig: Host/Port/User/Password/Name/DBName/SSLMode → 单个 DSN 字段
- RedisConfig: Host/Port/Password/DB/URL → 单个 DSN 字段
- 环境变量: GOCHAT_DATABASE_* (7个) → GOCHAT_DATABASE_DSN, GOCHAT_REDIS_* (5个) → GOCHAT_REDIS_DSN
- validator.go: DSN URL 解析校验 (scheme + host)
- redis.go: redis.ParseURL(cfg.DSN) 直连
- 所有 docker-compose / CI / shell 脚本 / .env 同步更新
- 删除 deploy/helm/ 整个目录 (20个文件)
- CI 删除 helm-validate / deploy-staging / deploy-production 三个 job
- 文档同步更新 (README, 架构设计, PRD, 滚动升级)
|
2026-07-29 20:58:10 +08:00 |
|
rogee
|
c3806b701a
|
feat(parity): align Chatwoot 4.15.1 contracts
|
2026-07-14 12:11:52 +08:00 |
|
rogee
|
df23caf7d9
|
feat(copilot): move provider configuration to settings
|
2026-07-12 22:27:29 +08:00 |
|
rogee
|
f39943629f
|
fix: remove enterprise mode gating
|
2026-07-12 22:19:51 +08:00 |
|
rogee
|
0dabb8cfa5
|
docs: 整理文档目录结构 — 清理过时文档、归集功能子目录、统一命名规范
清理:
- 删除 34 份过时文档(gap reports/QA临时报告/验收报告/阶段性文档)
- 删除 docs/.hermes/skills 第三方 skills 副本(16 文件)
- 删除 skills-lock.json
目录归集:
- 根目录仅保留 README.md 索引
- product/ — 产品与架构设计(PRD + ARCHITECTURE + P2设计文档 + AI/企业路线图)
- tracking/ — Chatwoot parity 开发跟踪
- requirements/ — M01-M12 模块需求
- plans/ — 历史实现计划
- parity/ — 路由 parity 与前端契约
- qa/ — QA 报告与测试计划
- ops/ — 运维部署
命名规范:
- 全小写 kebab-case,禁止全大写文件名
- product/tracking/ops 用 NN- 序号前缀
- requirements 用 MNN- 两位零填充模块号
- plans/qa 用 YYYY-MM-DD- 日期前缀
- requirements M1-M9 零填充为 M01-M09(修复字典序)
同步更新:
- backend/cmd/route_parity/main.go 路径默认值
- backend/scripts/parity_frontend_smoke.sh 报告路径
- 所有 docs 内部交叉引用
- .gitignore 排除编译产物 (backend/gochat, backend/route_parity)
- 新增迁移 000052/000053
- 前端 WS 相关修改
|
2026-07-09 14:53:27 +08:00 |
|
rogee
|
e61b2acf6d
|
Bridge channel dispatcher events to WebSocket EventPublisher for real-time delivery
|
2026-07-08 09:02:44 +08:00 |
|
rogee
|
321c61aaae
|
Vendor Chatwoot Vue 3 frontend into frontend/
Copy the Chatwoot (v4.14.0) frontend runnable subset into frontend/ for
customization:
- app/javascript/ (Vue SPA: dashboard, widget, sdk, portal, superadmin)
- app/views/ (ERB templates for vite-plugin-ruby entrypoint resolution)
- app/helpers/, app/assets/ (Rails view helpers, static assets)
- enterprise/ (Enterprise edition frontend overlay)
- config/vite.json, vite.config.ts, bin/vite (Vite-Rails toolchain)
- package.json, pnpm-lock.yaml, tailwind/postcss/eslint configs
- Gemfile, Gemfile.lock (vite_rails gem for bin/vite binstub)
Excluded Rails backend: controllers, models, services, jobs, mailers,
policies, db, lib, spec, public, node_modules.
Update references to the new frontend location:
- .gitignore: exclude frontend build artifacts (node_modules, tmp, packs),
keep frontend/bin/ and frontend/vendor/ via negation
- backend/scripts/parity_frontend_smoke.sh: CHATWOOT_DIR default
reference/chatwoot -> ../frontend
- backend/scripts/parity_frontend_browser_smoke.mjs: same default update
- AGENTS.md: add frontend section with Rails/Vite coupling notes
- README: architecture tree includes frontend/
|
2026-07-07 14:56:01 +08:00 |
|
rogee
|
aeddedf2a3
|
Reorganize repo: backend/, deploy/, docs/ layout + AGENTS.md
Restructure the monorepo into clear top-level directories:
- backend/: Go module root (cmd, internal, pkg, configs, migrations,
docs/swagger, scripts, tests, go.mod, Makefile, .air.toml)
- deploy/: Docker (Dockerfile, docker-compose*), quickstart, fluentd
- docs/: project documentation + reports/ (moved from repo root)
- AGENTS.md: new AI coding-agent guide at repo root
Update all references to the new layout:
- Dockerfile: COPY backend/go.mod, COPY backend/ (context = repo root)
- docker-compose files: context ../.., dockerfile deploy/docker/Dockerfile,
env_file ../../.env, volume mounts ../../backend:/app
- deploy/quickstart/compose.yaml: dockerfile deploy/docker/Dockerfile
- CI: working-directory: backend for go commands, file deploy/docker/Dockerfile,
coverage path backend/coverage.out, health_check backend/scripts/
- backend/Makefile: docker target uses -f ../deploy/docker/Dockerfile ../
- README: architecture tree, quickstart, config paths updated
Move root stray scripts (rename_models.*, run_m11_tests.sh, verify_build.sh,
gorm_bool_main.go) to backend/scripts/legacy/. All moves via git mv to
preserve history. Build, vet, SQLite tests, and docker compose config verified.
|
2026-07-07 14:44:12 +08:00 |
|