feat: stabilize category rule operations
approve dcy-001 and add REQ/BAT evidence pass selected DB path through Streamlit rule actions expose delete_category_rule MCP tool add category rule deletion regression
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
# BAT-001: Category Rule Ops Safety
|
||||
|
||||
## 0. 문서 상태
|
||||
- BAT ID: BAT-001
|
||||
- Profile: batch-lite
|
||||
- Status: release-candidate
|
||||
- Source Discovery: dcy-001_20260626_streamlit-ux-e2e-categorization-refund-workflows
|
||||
- Included REQ: REQ-001
|
||||
- Created At (KST): 2026-06-26 23:31
|
||||
- Last Updated (KST): 2026-06-26 23:41
|
||||
|
||||
## 1. Scope
|
||||
분류 규칙 lifecycle 중 가장 작고 검증 가능한 운영 액션을 안정화한다.
|
||||
|
||||
### Included
|
||||
- Streamlit 분류 규칙 seed/preview/apply 액션이 선택된 `db_path`를 사용하도록 수정.
|
||||
- MCP tool surface에 `delete_category_rule` additive 등록.
|
||||
- service-level category rule deletion regression test 추가.
|
||||
- py_compile, pytest, MCP tool smoke, Streamlit screenshot/browser smoke 증거 기록.
|
||||
|
||||
### Excluded
|
||||
- 신규 parser 추가.
|
||||
- 파괴적 SQLite migration.
|
||||
- 운영 원본 DB 직접 mutation.
|
||||
- import/rollback 전체 E2E와 취소/환급 연결 workflow 구현.
|
||||
|
||||
## 2. Documents
|
||||
- Planning: [planning.md](planning.md)
|
||||
- Implementation: [implementation.md](implementation.md)
|
||||
- Verification: [verification.md](verification.md)
|
||||
|
||||
## 3. Notes
|
||||
- 단일 REQ, additive MCP tool, UI DB-path bug fix만 포함하므로 `batch-lite`로 진행한다.
|
||||
- 구현 중 구조/런타임 flow 변화가 커지면 design 문서를 추가한다.
|
||||
- 검수관 QC gate 결과 `PASS_WITH_NOTES`; blocker 없음. Browser screenshot은 Chromium snap 부재로 대체 smoke(AppTest) 증거를 사용했다.
|
||||
Reference in New Issue
Block a user