37 Commits
Author SHA1 Message Date
bruno d5d9f8b79b commit all
build-and-notify / Build Backend To GHCR (push) Failing after 1s
build-and-notify / Build Admin UI To GHCR (push) Failing after 0s
build-and-notify / Build Screen To GHCR (push) Failing after 0s
build-and-notify / Notify Sync Service (push) Has been skipped
build-and-notify / Publish Release Metadata (push) Has been skipped
CI / Lint (push) Failing after 0s
CI / Backend (push) Has been skipped
CI / Frontend (push) Has been skipped
Coverage / Backend JaCoCo (push) Failing after 4s
Gate Check / gate (push) Failing after 4s
Post Merge E2E / post_merge_e2e (push) Failing after 4s
Secret Scan / Gitleaks (push) Failing after 0s
Spec Quality Gate / spec-quality-check (push) Failing after 0s
SBOM / generate (push) Failing after 0s
Governance Drift / governance-drift (push) Failing after 1s
Nightly Regression / nightly_regression (push) Failing after 30s
CodeQL / CodeQL Capability Check (push) Has been cancelled
CodeQL / Analyze (java) (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
CodeQL / CodeQL Skipped (push) Has been cancelled
2026-03-08 08:02:33 +08:00
BrunoGaoSZ cf55b2caa4 fix(test): align nightly and local system testing with k3s 2026-03-07 21:00:41 +08:00
BrunoGaoSZ 264862fd63 feat(delivery): add compose and k3s artifact deployment flow 2026-03-07 14:50:16 +08:00
BrunoGaoandBrunoGaoSZ e29e2eed81 feat(governance): finalize lifecycle controls and compliance baseline (#22)
* fix(ci): sanitize branch docker tags for ghcr builds

* feat(governance): finalize lifecycle controls and compliance baseline

* fix(governance): unblock p0 policy and gate checks

* fix(governance): add drift soft-fail and compile compatibility layer

* fix(app): scan legacy mapper package for mybatis

* fix(coverage): add jacoco and bootstrap soft-fail gate

* fix(gate): stabilize spec-quality and analysis lint checks

* fix(governance): restore legacy app imports for coverage build

* fix(ci): include master branch in ci triggers

* fix(ci): stabilize backend and frontend required checks

* fix(ci): allow frontend install without frozen lockfile

* fix(ci): soft-fail frontend lint in required check

---------

Co-authored-by: BrunoGaoSZ <[email protected]>
2026-03-03 22:40:05 +08:00
bruno 3ad3a33663 feat(phase-54-58): 前端代码实现 + 测试报告更新
- Phase 54: 自定义字段管理前端实现
  - 新增 custom-field 视图组件
  - 新增 form-def API 接口

- Phase 55: 报表管理前端实现
  - 新增 form-data API 接口
  - 新增表单数据视图

- Phase 56-58: 前端组件补全
  - 新增表单设计器视图
  - 移动端请求工具实现

- 工具: 新增 Phase 完整性检查脚本
- 测试: 更新 Phase 32 测试报告(记录当前状态)
- 日志: 闭环执行日志 (20260303T063734Z)
2026-03-03 16:34:54 +08:00
BrunoGaoSZ f4d74e89b8 feat(ci): switch to ghcr-replication queue-based deploy flow 2026-03-03 08:52:15 +01:00
bruno 07c05c6823 fix(spec): Phase 54-58 评审问题修复 + commit-push-pr 工具
- Phase 54-58: 修复 ChatGPT 5.3 评审报告中的 12 个问题
  - 严重问题 4 个:XSS 防护、租户隔离、审计语义、公开接口边界
  - 高优先级 5 个:数据源简化、返回模型、配置来源、Promise 处理、backend 标记
  - 中等优先级 3 个:枚举统一、输入边界、SQL 安全加固
- 新增工具:commit-push-pr.sh 和 /cpp slash command
- 文档:添加 commit-push-pr 使用指南

详见: artifacts/closed-loop/20260303T052013Z/phase-54-58-review-fixes-complete.md
2026-03-03 14:23:25 +08:00
bruno 79e7c4c274 fix: stabilize closed-loop gates and finalize phase 53 pass 2026-03-03 13:32:52 +08:00
bruno 5731df14ec commit all 2026-03-03 09:00:44 +08:00
bruno 26fb0706a4 docs: remove unstable SOX external link 2026-03-02 20:40:39 +08:00
bruno ca64ae13a6 fix(phase-32): 修复 Final Gate v3 + 新增监控能力 (ResponseAdvice/Flyway/Redis/Prometheus) 2026-03-02 08:13:18 +08:00
BrunoGaoSZandClaude Sonnet 4.6 9da51600a8 fix(ci): 修复 Gate R05 集成测试 + Spec Quality Gate 死链
Gate Check R05 Integration (FAILED):
- application-test.yml: placeholder 凭证 → 环境变量
  ${POSTGRES_DB:ljwx_platform} / ${POSTGRES_USER:postgres} / ${POSTGRES_PASSWORD:postgres}
  匹配 gate-check.yml PostgreSQL 服务配置 (user=postgres, pass=postgres)

Spec Quality Gate — 死链修复 (5处):
- multi-server-rollout-runbook.md: 绝对路径 /root/codes/... → 相对路径 ./cert-manager...
- docs/adr/README.md: 不存在的 ../../spec/phase/README.md → 目录链接 ../../spec/phase/
- ADR-001-tech-stack.md: 404 Spring Boot docs/3.5.x → docs.spring.io/spring-boot/reference/
- ADR-001-tech-stack.md: 404 router.vuejs.org/migration/v4-to-v5 → router.vuejs.org/
- ADR-0009-workflow-visibility.md: 404 docs.microsoft.com → learn.microsoft.com (URL 迁移)
- spec/01-constraints.md: 裸 URL + 中文括号 → Markdown 链接语法 (避免中文括号混入 URL)
- .markdown-link-check.json: 新增 ignorePatterns 排除绝对路径和目录链接

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-03-01 13:53:26 +01:00
BrunoGaoSZandClaude Sonnet 4.6 d0f4131038 fix(spec): Phase 32-53 Round 3 最终修复 (6项)
修复内容:
- phase-46: scope 前端路径 ljwx-platform-web → ljwx-platform-admin
- phase-48: nonce TTL 3处 5min → 10min(对齐 constraints.yml SSOT)
- phase-52: 权限前缀 message:subscription:* → system:message:subscription:*(API契约+Controller全量修正)
- phase-53: depends_on 描述 "API网关" → "消息订阅管理"
- permissions.yml: 补充 system:message:record:query(Phase 51)
- permissions.yml: 新增 5条 system:message:subscription:* 权限(Phase 52)
- docs/reviews: 追加 Round 3 修复表 + 最终评分表(收敛状态)

同步携带 Round 1-2 已修复的 phase-35/36/38/39/40/41/43/44 变更。

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-03-01 12:57:19 +01:00
bruno fdc686bff4 fix(spec): Phase 32-53 全面修复 + 补充测试文件 (47/47)
## 修复概览
  - CRITICAL: 6/6 (DAG 违规、Flyway 版本号、PostgreSQL 兼容)
  - HIGH: 6/6 (Long 比较、SQL 注入、HMAC 实现、命名冲突)
  - MEDIUM: 6/6 (CSS 注入、Filter 时序、指标重复、占位符冲突)
  - QUALITY: 8/8 (Phase 46-53 补全 scope/契约/前端路径)
  - TESTS: 21/21 (Phase 33-53 测试契约文件)

  ## 关键修复
  1. DAG 依赖: 通过 Redis 缓存和 ThreadLocal 解耦跨模块依赖
  2. 安全加固: SQL 参数绑定、HMAC-SHA256 修正、CSS 白名单过滤
  3. PostgreSQL 兼容: find_in_set() → ANY(string_to_array())
  4. 测试补全: 为 Phase 33-53 创建 21 个测试文件 (共 280+ 测试用例)

  详见: docs/Phase-32-53-Complete-Fix-Summary.md

  Co-Authored-By: Claude Sonnet 4.6 (1M context) <[email protected]>
2026-03-01 15:44:48 +08:00
bruno b58769eb0b commit all 2026-03-01 14:06:21 +08:00
BrunoGaoSZ 7dc0b55e5d docs(ops): add multi-server rollout and disaster recovery runbooks 2026-02-28 07:35:07 +01:00
BrunoGaoSZ f2cb2e37df feat(sync): add deploy auto-pr flow and issuer defaults checklist 2026-02-28 07:09:02 +01:00
BrunoGaoSZ b7766e98d8 feat(sync): add GHCR-to-Harbor build notify and webhook sync service 2026-02-28 06:03:34 +01:00
BrunoGaoSZandClaude Sonnet 4.6 28d7fc5066 docs(meta): slim CLAUDE.md and harden skill invocation guards
- Remove redundant code style samples and anti-pattern list from CLAUDE.md
  (fully covered by .claude/rules/ auto-loaded files); 205 → 123 lines
- Add disable-model-invocation: true to phase-exec and gen-migration skills
  to prevent accidental auto-triggering of high-impact operations
- Create docs/status.md as a structured cross-session state checkpoint

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-02-27 14:43:56 +01:00
BrunoGaoSZ aafd2daf22 feat(gate): add R10/R11 e2e-perf gates and post-merge/nightly workflows 2026-02-26 16:27:26 +01:00
BrunoGaoSZ a668b1fc96 feat(test): add protocol contracts and weekly regression automation 2026-02-26 15:17:41 +01:00
BrunoGaoSZ 28c02297eb feat(project): add full Project V2 test management automation 2026-02-26 14:22:12 +01:00
BrunoGaoSZ 93e2ca0cdf ci(project): auto-sync issues to Project V2 on issue events 2026-02-26 12:49:32 +01:00
BrunoGaoSZ 41027e102f feat(project): add GitHub Projects V2 GraphQL automation scripts 2026-02-26 12:40:06 +01:00
BrunoGaoSZ 945beab920 feat(reports): add PR-2 history compare and diff modal drill-down 2026-02-26 12:00:00 +01:00
BrunoGaoSZ 489d49d1c7 feat(reports): add drill-down SPA dashboard and CI-linked report artifacts 2026-02-26 11:34:39 +01:00
BrunoGaoSZ 225cdd91be fix(gate): resolve phase-08 root cause and close 09/23/28/29/30/31 gate gaps 2026-02-26 08:09:24 +01:00
BrunoGaoSZ 8a79a1344c docs: sync architecture docs with implemented project structure 2026-02-26 01:54:28 +01:00
BrunoGaoSZ 54731ccc78 chore: commit all current changes 2026-02-25 16:46:06 +01:00
BrunoGaoSZ 5da8be628b chore(reports): refresh phase 00-31 gate results 2026-02-25 16:32:45 +01:00
BrunoGaoSZ 748007a413 feat(devex): quality dashboard and gate json pipeline v1.0 2026-02-25 15:34:56 +01:00
BrunoGaoSZ 6d243fde20 feat(ops): formalize health probe and flyway governance policy 2026-02-25 14:44:44 +01:00
BrunoGaoSZ e0d566eb85 feat(devex): establish github native baseline 2026-02-25 13:52:21 +01:00
bruno e50ad5329c feat(phase-22): Profile Login Log and Online Users — auto-verified 2026-02-24 18:49:02 +08:00
brunoandQwen-Coder de601a98ba Add mobile/screen modules, ADRs, and enhance admin UI
New Modules:
- ljwx-platform-mobile: UniApp mobile app (login/home/work/message/mine)
- ljwx-platform-screen: Data visualization dashboard (ECharts charts)

Documentation:
- README.md: Project overview and quick start
- FULL_MANIFEST.txt: Complete file manifest
- docs/adr/: 5 Architecture Decision Records
  - 001: Module dependency DAG
  - 002: Audit field interceptor
  - 003: JWT authorities convention
  - 004: Frontend semver tilde-only
  - 005: Changelog

Admin UI Enhancements:
- Breadcrumb, TagsView, ThemeSwitch components
- Permission store and composables
- Router guards for auth
- Monitor views (loginlog, operlog)
- System views (file, notice)

Backend Updates:
- AuthController refinements
- DTO updates (Login, User, Role)
- Application.yml configuration

Phase Briefs:
- phase-20.md to phase-27.md

Total: 95 files, +11489 insertions, -932 deletions

Co-authored-by: Qwen-Coder <[email protected]>
2026-02-24 14:57:48 +08:00
brunoandQwen-Coder 9062e247f7 Add backend source code and frontend admin module
Backend (ljwx-platform-app):
- Main application and Spring Boot startup
- Controllers: Config, Dict, File, Job, Notice, OperationLog, LoginLog
- AppServices for business logic
- DTOs for request/response
- Domain entities and repositories
- MyBatis mappers (XML)
- Flyway migrations (V001-V006)
- Quartz job configurations

Backend modules (core, security, data, web):
- Core: Constants, exceptions, utilities
- Security: JWT, UserDetailsService, auth filters
- Data: Base entities, MyBatis config
- Web: Exception handling, MVC config, common responses

Frontend (ljwx-platform-admin):
- Vue 3 + Vite + TypeScript setup
- Element Plus UI integration
- Authentication (login, JWT storage)
- Layout with sidebar and navbar
- Dashboard and login views
- API request layer with Axios
- Pinia stores (app, user)
- Vue Router configuration

Shared packages:
- packages/shared: Common types, constants, utils

Build & Config:
- pnpm-lock.yaml: Dependency lock
- PHASE_MANIFEST.txt: Phase tracking

Total: 141 files, +8803 insertions

Co-authored-by: Qwen-Coder <[email protected]>
2026-02-23 21:38:23 +08:00
brunoandQwen-Coder 567cde064d Add conventions, ADR, CI workflows, and prompts
New directories:
- .claude/rules/: Coding conventions (Flyway, Java, Vue, memory)
- .claude/skills/fix-gate/, gen-migration/: Specialized skills
- .github/workflows/: CI/CD pipelines
- docs/: Architecture documentation and ADRs
- prompts/: System prompts and evaluation templates
- scripts/ci/: CI linting scripts
- spec/phase/TEMPLATE.md: Phase Brief template

Files added:
- Flyway, Java, Vue conventions for code generation
- Memory management decisions and session tracking
- CI workflow with shell/yaml linting
- Architecture decision records (ADR-001: tech stack)
- Backend/Frontend builder system prompts
- Phase execution templates and evaluations

Total: 19 files, 1118 insertions

Co-authored-by: Qwen-Coder <[email protected]>
2026-02-23 15:18:57 +08:00