wren
4e706f0d19
chore: drop leaudit_evaluation_points and leaudit_evaluation_point_groups tables
...
No code references these tables — they were from an earlier design
superseded by DSL YAML rule evaluation via leaudit_rule_results.
2026-04-28 12:44:56 +08:00
wren
a4169e237e
fix: OSS URL store object key only, not absolute path
...
- OssClient.UploadBytes/UploadText now return object key (relative path)
- Add OssClient.BuildObjectKey method as canonical key builder
- OssClient.BuildObjectUrl preserved for direct-link scenarios
- OssPathUtils.BuildRuleYamlKey/BuildRuleValidationReportKey accept Region
- DB migration: convert 20 existing absolute URLs to object keys
2026-04-28 12:29:01 +08:00
wren
2d108c8381
feat: M4 seed — upload & publish 20 rule sets, fix config/schema column names
...
- Fix _export_settings for pydantic v2 compatibility (model_fields)
- Fix delete_time→deleted_at, update_time→updated_at in RuleServiceImpl
- Add OssClient.EnsureBucket method
- Replace contract_lease/sale/tech rules.yaml from new-rules
- Seed script: batch upload 20 rule YAMLs to OSS + write DB + publish
- Config: fix OSS import chain
2026-04-28 12:13:46 +08:00
wren
246c0e5ded
feat: complete M1-M3 infrastructure — OSS client, native execution chain, rule lifecycle API, system docs
...
- M1: unified OSS client (upload/download/presign) + path utils + config
- M2: rule service with validate/create/publish/rollback + binding CRUD endpoints
- M3: native AuditCtx runner, file/rule resolvers, storage adapter with full persistence
- docs: SYSTEM_OVERVIEW.md as comprehensive architecture reference
- fix: double finalize — terminal state now written once by finalize_run
2026-04-28 11:49:55 +08:00
wren
be9fc4856b
docs: add fix-double-finalize-and-bindings-api implementation plan
2026-04-28 11:44:31 +08:00
wren
1b4e0ec00a
feat: add rule type binding CRUD endpoints to RuleController
2026-04-28 11:44:21 +08:00
wren
d310ba8bc0
feat: implement binding CRUD in RuleServiceImpl
2026-04-28 11:44:20 +08:00
wren
6d7a342c77
feat: add binding CRUD methods to IRuleService interface
2026-04-28 11:44:20 +08:00
wren
2230ea826e
feat: add RuleBindingVO for rule type bindings response
2026-04-28 11:44:04 +08:00
wren
896a8c1dd9
feat: add RuleBindingCreateDTO and RuleBindingUpdateDTO
2026-04-28 11:44:04 +08:00
wren
0a726ebf21
fix: remove premature result_status/finished_at from save_evaluation_results
...
finalize_run() is the single source of truth for terminal run state.
Previously save_evaluation_results wrote a binary pass/fail status and
finished_at BEFORE rescue outcomes/metrics were saved, then finalize_run
overwrote it. Now scores only are written here; terminal state is set
once by finalize_run after all sub-results are persisted.
2026-04-28 11:43:52 +08:00
wren
72a9b8e393
chore: commit .claude/ project-level config and skills
...
Remove .claude/ from .gitignore — project-level Claude Code
configuration should be shared with the team.
2026-04-27 16:58:19 +08:00
wren
535d97a70c
chore: initial commit — leaudit-platform project skeleton
...
17-table PostgreSQL schema with full Chinese column comments,
FastAPI project structure (admin/common/modules),
DSL rule files, and schema migration scripts.
2026-04-27 16:48:22 +08:00