Commit Graph

41 Commits

Author SHA1 Message Date
phamnazage-jpg
53edcd86ac docs: update EXECUTION_BOARD + VNEXT_COMPLETION_CHECKLIST for vNext.1 closure
Some checks failed
CI / Build & Test (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / Docker Build (push) Has been cancelled
CI / Release (push) Has been cancelled
- EXECUTION_BOARD: record vNext.1 release gate completion, remote43 binary swap, fresh 3-layer acceptance status
- VNEXT_COMPLETION_CHECKLIST: upgrade to 'conditionally complete (vNext.1)', update all checklists
- add vnext_fresh_acceptance.py: standalone fresh 3-layer acceptance probe script
2026-06-05 11:39:46 +08:00
phamnazage-jpg
492f33a129 feat(vnext): complete vNext.1 release gate — default chain admission, idempotent init, user key skeleton
Some checks failed
CI / Build & Test (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / Docker Build (push) Has been cancelled
CI / Release (push) Has been cancelled
- DEFAULT_CHAIN_ADMISSION.md: reviewed and approved, real artifact refs added
- DEFAULT_DATA_IDEMPOTENT_RELEASE_GATE.md: reviewed and approved
- scripts/setup_default_data.sh: idempotent init with --dry-run/--apply/artifact
- scripts/test/test_default_data.sh: 4 test cases all pass
- scripts/acceptance/verify_user_key_self_service.sh: Phase 0 skeleton
- .gitignore: add generated artifact directories
2026-06-05 11:07:50 +08:00
phamnazage-jpg
77b7f7f660 feat: harden runtime import and frontend verification workflows
Some checks failed
CI / Build & Test (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / Docker Build (push) Has been cancelled
CI / Release (push) Has been cancelled
2026-06-04 20:02:36 +08:00
phamnazage-jpg
2b5607285f docs(test): add 2026-06-04 testing pitfalls to checklist + fix key confusion in acceptance script
Some checks failed
CI / Build & Test (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / Docker Build (push) Has been cancelled
CI / Release (push) Has been cancelled
Key changes:

1. scripts/acceptance/import_remote43_provider.sh:690/695
   - Fixed  ->  for gateway direct probe
   - Added REDLINE comments explaining why sub_key is correct

2. docs/REAL_HOST_ACCEPTANCE_CHECKLIST.md: §9
   - 4 new pitfalls from 2026-06-04 real testing:
     - Gateway probe key confusion ( vs )
     - Hermes session key redaction (must get raw key from PG)
     - Account upstream key update method (PUT with type+key, not credentials)
     - Hermes redaction destroys shell variables in .sh files

3. docs/SOURCE_OF_TRUTH.md: evidence interpretation
   - Added rule #5: session env keys are redacted, must use PG raw values
2026-06-04 13:45:29 +08:00
phamnazage-jpg
35447be934 feat(deploy): add CRM-only online deployment to remote43
Some checks failed
CI / Build & Test (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / Docker Build (push) Has been cancelled
CI / Release (push) Has been cancelled
- scripts/deploy/deploy_crm_only.sh: 单进程部署 sub2api-cn-relay-manager
  CRM 控制面到 remote43,不依赖 sub2api host / PG / Redis 容器。
  复用 scripts/deploy/remote43_patched_stack_lib.sh 的 env 渲染
  (render_remote43_crm_env),render_crm_only_bootstrap 用 $\{VAR\} 占位符 +
  sed 注入避开 set -u + unquoted-heredoc 边缘问题。
  部署前先 kill 老进程 (再 scp 二进制) 避免 ELF overwrite 失败。

- docs/DEPLOYMENT.md: 加 '在线部署节点' 段,记录 stack / 端口 / 入口 / 验证。
- docs/EXECUTION_BOARD.md: 顶部加 'Latest Online Stack' 段。
- artifacts/online-deploy-20260602/: 本次真实部署的证据
  - 01-local-build.txt: 本地 server 二进制 md5 + git head
  - 02-remote-inspect.txt: 远端 process / port / db tables
  - 03-crm-api-checks.txt: /healthz /api/packs /api/hosts /metrics 真实响应
  - 04-portal-public.txt: sub.tksea.top 公共入口
  - 05-quality-gates.txt: gofmt / vet / test -race / integration
  - manifest.json: 结构化汇总

验证(2026-06-02 21:32-21:43):
- /healthz: HTTP 200 'ok'
- /api/packs (Bearer): HTTP 200 '{"packs":[]}'
- /api/hosts (Bearer): HTTP 200 '{"hosts":[]}'
- /api/packs (no auth): HTTP 401
- /metrics (Prometheus): HTTP 200,含 active_hosts/active_providers/
  db_connections_active + Go runtime
- sub.tksea.top/portal/: HTTP 200
- sub.tksea.top/portal-admin-api/healthz: HTTP 200 'ok'(反代到 CRM)
- go test -race ./internal/... ./tests/integration/...: PASS
- gofmt / go vet: 干净
2026-06-02 21:46:39 +08:00
phamnazage-jpg
5fbac6ef0b test(frontend): add provider admin acceptance coverage
Add a dedicated acceptance script for providers.html, cover it in the local real-host script regression suite, and document the current frontend review baseline, closure audit, providers action matrix, and remediation task board.

This keeps the frontend acceptance boundary explicit: providers.html now has a repeatable verification entry point for its page-level actions, while non-UI provider operations remain documented as backend-only capabilities.
2026-06-01 09:58:20 +08:00
phamnazage-jpg
61a5a36c58 feat(testing): add unified quality gates and coverage baseline 2026-05-30 15:28:32 +08:00
phamnazage-jpg
ef33762db5 feat(portal): add logical group packaging config 2026-05-30 10:54:32 +08:00
phamnazage-jpg
3bfd4cfc1c feat(portal): add logical group guidance config 2026-05-30 10:38:59 +08:00
phamnazage-jpg
037e141cc4 feat(portal): add logical group usage guidance 2026-05-30 10:26:53 +08:00
phamnazage-jpg
542c6823a5 feat(portal): add logical group entitlement view 2026-05-30 10:13:31 +08:00
phamnazage-jpg
ac1d8e27cc feat(portal): switch user catalog to logical groups 2026-05-30 08:26:28 +08:00
phamnazage-jpg
649eb13f30 feat(accounts): add explicit route binding workflow 2026-05-29 19:07:01 +08:00
phamnazage-jpg
c982c595b8 feat(accounts): add provider account admin view 2026-05-29 15:50:28 +08:00
phamnazage-jpg
5689286fec fix(acceptance): align route model list parsing 2026-05-29 13:57:28 +08:00
phamnazage-jpg
4b69e05d67 fix(acceptance): align route matrix response parsing 2026-05-29 13:53:55 +08:00
phamnazage-jpg
949134005e feat(routing): add route acceptance matrix scripts 2026-05-29 13:50:16 +08:00
phamnazage-jpg
2896e62071 feat(routing): add route health admin view 2026-05-29 13:37:43 +08:00
phamnazage-jpg
2e9b4ab988 feat(portal): add logical group admin page 2026-05-29 13:06:19 +08:00
phamnazage-jpg
4a38e95d95 fix(acceptance): separate request pack path 2026-05-29 12:36:16 +08:00
phamnazage-jpg
e549549b4d fix(route-lab): record host channel reuse limits 2026-05-28 14:25:04 +08:00
phamnazage-jpg
2c2f0ec48e feat(acceptance): support crm session login 2026-05-28 14:13:07 +08:00
phamnazage-jpg
6b03eb8fb9 feat(admin): harden provider draft model conflicts 2026-05-28 12:18:10 +08:00
phamnazage-jpg
de33ff3492 feat(admin): add session-based portal login 2026-05-28 11:01:29 +08:00
phamnazage-jpg
03c4b5236f chore(remote43): standardize stable crm repo root 2026-05-28 10:13:13 +08:00
phamnazage-jpg
3a00f1b859 feat(admin): publish provider drafts into pack repo 2026-05-28 07:30:02 +08:00
phamnazage-jpg
8d7aa925df feat(admin): persist provider drafts in crm 2026-05-27 21:49:12 +08:00
phamnazage-jpg
ebd86a4256 feat(batch): add live reuse admin verification flow 2026-05-27 20:23:42 +08:00
phamnazage-jpg
02580cda0b feat: organize scripts and add portal validation assets 2026-05-27 09:39:05 +08:00
phamnazage-jpg
c1172d7714 fix: harden deepseek official remote43 import closure 2026-05-27 07:56:24 +08:00
phamnazage-jpg
83a05b4889 feat: add kimi a7m overlay workflow and remote43 validation 2026-05-26 07:50:43 +08:00
phamnazage-jpg
497e5d91b4 Add safe artifact migration and status fixes 2026-05-25 10:48:04 +08:00
phamnazage-jpg
728ed9a064 Harden remote43 acceptance script 2026-05-23 15:03:59 +08:00
phamnazage-jpg
3ba3244ea6 fix fresh-host acceptance and document real-host debugging learnings 2026-05-21 21:19:19 +08:00
phamnazage-jpg
7c6e18f94d test(host): harden gateway and acceptance validation 2026-05-21 15:45:55 +08:00
phamnazage-jpg
543f46562f fix(provision): replace duplicate accounts before closure probe 2026-05-21 14:19:41 +08:00
phamnazage-jpg
49d00e7f05 test(scripts): harden remote43 managed-probe validation 2026-05-21 09:18:17 +08:00
phamnazage-jpg
ca1d448cc0 fix(provision): reconcile channel pricing and hosted access 2026-05-20 22:09:40 +08:00
phamnazage-jpg
18e1b085eb fix(provision): harden batch scoping and remote43 import validation 2026-05-19 20:21:21 +08:00
phamnazage-jpg
0ecce50a48 feat(scripts): automate real-host access prep closure 2026-05-19 13:58:03 +08:00
phamnazage-jpg
85d495dd16 feat(control-plane): harden host-scoped reconcile and acceptance evidence
- add batch-scoped reconcile_runs persistence and queries
- route batch detail and reconcile writes through batch_id/host_id
- refresh production boards with host-scope acceptance artifacts
- include latest real-host acceptance evidence for self_service and subscription
2026-05-18 22:22:22 +08:00