442 Commits
Author SHA1 Message Date
brunoandQwen-Coder 6560bb3419 Fix run-all.sh manifest parsing for Gate: PASSED format
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-25 07:55:01 +08:00
brunoandQwen-Coder 5e7f7b801d Add security features: login lockout, token blacklist, idempotency, Xss filter
Security Enhancements:
- LoginLockoutService: Account lockout after 5 failed attempts (30min)
- TokenBlacklistService: JWT token blacklist for logout/refresh
- Idempotent annotation + interceptor: Prevent duplicate submissions
- StrongPassword validator: Password complexity enforcement
- XssFilter: Cross-site scripting protection

Backend Updates:
- AuthAppService: Lockout integration, token blacklist on logout
- AuthController: Add /logout endpoint
- JwtAuthenticationFilter: Check blacklist
- ErrorCode: Add new error codes (PASSWORD_TOO_WEAK, ACCOUNT_LOCKED)

Frontend (Admin):
- useWebSocket composable: WebSocket support
- Server monitor view: CPU, memory, disk, JVM metrics
- API layer for monitoring

Total: 26 files, +1015 insertions, -13 deletions

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-24 19:29:44 +08:00
bruno a85276858d merge: phase-25 frontend 2026-02-24 18:57:54 +08:00
bruno 14e74a6293 merge: phase-25 backend 2026-02-24 18:57:54 +08:00
bruno 4b8b975746 wip: phase-25 backend 2026-02-24 18:57:54 +08:00
bruno ca26e5ed04 wip: phase-25 frontend 2026-02-24 18:57:32 +08:00
bruno b40dca39f3 merge: phase-24 frontend 2026-02-24 18:54:39 +08:00
bruno 94e740fa04 merge: phase-24 backend 2026-02-24 18:54:39 +08:00
bruno 17deec840d wip: phase-24 frontend 2026-02-24 18:54:39 +08:00
bruno f3661ca9dc wip: phase-24 backend 2026-02-24 18:54:11 +08:00
bruno e50ad5329c feat(phase-22): Profile Login Log and Online Users — auto-verified 2026-02-24 18:49:02 +08:00
bruno dd0256306a merge: phase-21 frontend 2026-02-24 18:37:15 +08:00
bruno 2d7bea5bff merge: phase-21 backend 2026-02-24 18:37:15 +08:00
bruno 50240577f5 wip: phase-21 frontend 2026-02-24 18:37:15 +08:00
bruno a18dec79d4 wip: phase-21 backend 2026-02-24 18:35:56 +08:00
bruno 91be34156a merge: phase-25 backend 2026-02-24 15:52:58 +08:00
bruno 06470f556e wip: phase-25 backend 2026-02-24 15:52:58 +08:00
bruno 092bce599b merge: phase-24 frontend 2026-02-24 15:38:31 +08:00
bruno 6e28e52f17 merge: phase-24 backend 2026-02-24 15:38:31 +08:00
bruno cb3ec7c9e1 wip: phase-24 frontend 2026-02-24 15:38:31 +08:00
bruno ddbb847910 wip: phase-24 backend 2026-02-24 15:37:39 +08:00
bruno db8547100f merge: phase-21 frontend 2026-02-24 15:15:12 +08:00
bruno e4ee5bb3e7 merge: phase-21 backend 2026-02-24 15:15:12 +08:00
bruno 4599821741 wip: phase-21 backend 2026-02-24 15:15:12 +08:00
bruno f8a2b7f217 wip: phase-21 frontend 2026-02-24 15:10:09 +08:00
bruno 49c9d1f52f merge: phase-20 backend 2026-02-24 15:07:51 +08:00
bruno d03c956269 wip: phase-20 backend 2026-02-24 15:07:51 +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 <qwen-coder@alibabacloud.com>
2026-02-24 14:57:48 +08:00
BrunoGaoSZandClaude Sonnet 4.6 466cc32998 fix: correct current phase number from 19 to 13 in CLAUDE.md
Phase 19 is "Final Gate and Docs"; the actual in-progress work is
Phase 13 (Admin CRUD Pages). Wrong phase number caused stop-gate to
check Phase 19 scope and block on missing FULL_MANIFEST.txt / README.md.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-24 05:19:04 +01:00
BrunoGaoSZ b7b451182a commit all 2026-02-24 05:19:04 +01:00
BrunoGaoSZ 92dd92e564 feat(phase-1): Core Module — auto-verified 2026-02-24 05:18:51 +01:00
bruno af2829eac9 fully commits 2026-02-23 22:48:33 +08:00
bruno 99f67e5d84 fully commits 2026-02-23 21:53:30 +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 <qwen-coder@alibabacloud.com>
2026-02-23 21:38:23 +08:00
brunoandQwen-Coder 0d04cf6999 Add Maven module POMs for backend microservices
Modules:
- ljwx-platform-app: Application entry point
- ljwx-platform-core: Base utilities and constants
- ljwx-platform-data: Data access layer
- ljwx-platform-security: Security and authentication
- ljwx-platform-web: Web layer and controllers

Also:
- Minor fix to gate-manifest.sh

Total: 6 files, 193 insertions

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-23 18:35:43 +08:00
brunoandQwen-Coder ee73fb184f Update gate-all.sh allow rule to accept parameters
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-23 15:52:49 +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 <qwen-coder@alibabacloud.com>
2026-02-23 15:18:57 +08:00
brunoandQwen-Coder e83d73fbae Complete automation infrastructure and project scaffolding
New files:
- .claude/agents/backend-builder.md, frontend-builder.md: Agent definitions
- .editorconfig, .env.example, .gitignore, .npmrc, .nvmrc: Project config
- .mvn/wrapper/maven-wrapper.properties: Maven wrapper
- PHASE_MANIFEST.txt: Phase tracking manifest
- docker-compose.yml: PostgreSQL + pgAdmin
- package.json, pnpm-workspace.yaml: Frontend workspace
- pom.xml: Root Maven configuration
- scripts/acceptance/smoke-test.sh: Smoke test script
- scripts/run-all.sh: Full pipeline entry point
- scripts/tools/export-openapi.sh: OpenAPI export utility

Updates:
- .claude/settings.json: Agent teams, hooks, sandbox config
- CLAUDE.md: Current Phase tracking
- All gate scripts: Refined error messages and checks
- All hook scripts: Optimized for performance
- phase-execute.sh: Enhanced phase execution logic
- phase-parallel.sh: Parallel execution support
- preflight-check.sh: Comprehensive manifest validation

Total: 32 files changed, 1238 insertions(+), 656 deletions(-)

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-23 11:55:16 +08:00
brunoandQwen-Coder d955d3a50f Update preflight-check.sh with comprehensive manifest validation
- Section A: File existence (55 files)
- Section B: Files non-empty
- Section C: CLAUDE.md content keywords
- Section D: Constraints single source of truth
- Section E: Phase Brief structure (YAML, fields, scope)
- Section F: settings.json permissions (deny/allow, hooks, sandbox)
- Section G: Agent/Skill definitions
- Section H: Script executability
- Section I: Version consistency
- Section J: Cross-reference consistency
- Section K: Toolchain environment

Total: ~400 checks

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-22 23:58:03 +08:00
brunoandQwen-Coder 966c6acc7e Add Hook scripts for real-time interception
- pre-edit-guard.sh: PreToolUse path-level interception (DAG, locked files, .claude/)
- post-edit-check.sh: PostToolUse disk file rule scanning (10 rules)
- stop-gate.sh: Stop Hook lightweight completion check (<100ms)

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-22 23:53:16 +08:00
brunoandQwen-Coder 4f0c3064cb Add Gate scripts for quality gates
- gate-all.sh: aggregate entry point for all gates
- gate-manifest.sh: Phase manifest and scope file checks
- gate-rules.sh: 12 hard rules full-repo scan
- gate-compile.sh: Maven compile + pnpm type-check
- gate-integration.sh: Testcontainers integration tests
- gate-contract.sh: OpenAPI contract generation and validation
- gate-nfr.sh: 10 non-functional requirements checks
- diff-review.sh: updated for incremental scope + quick checks

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-22 23:50:32 +08:00
brunoandQwen-Coder 4d954e3bc6 Initial commit
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-22 23:16:38 +08:00