feat: enforce import provenance exposure policy (#2)
Merge BAT-017 / REQ-021 implementation after delivery-runner implementation, independent QC, and passing GitHub Actions CI.
This commit is contained in:
+17
-2
@@ -1,11 +1,20 @@
|
||||
# BAT-017 Verification Evidence
|
||||
|
||||
- Status: not-started
|
||||
- Status: ready-for-qc
|
||||
- Created At (KST): 2026-07-08 11:33 KST
|
||||
|
||||
## Verification Commands
|
||||
|
||||
Pending.
|
||||
- `. .venv/bin/activate && python -m ruff check jarca_ledger_mcp/application/imports_service.py jarca_ledger_mcp/adapters/mcp/server.py tests/test_import_provenance_policy.py`
|
||||
- result: pass (`All checks passed!`)
|
||||
- `. .venv/bin/activate && python -m pytest -q tests/test_import_provenance_policy.py`
|
||||
- result: pass (`11 passed`)
|
||||
- `. .venv/bin/activate && python -m ruff check .`
|
||||
- result: pass (`All checks passed!`)
|
||||
- `. .venv/bin/activate && python -m pytest -q`
|
||||
- result: pass (`59 passed, 4 skipped`)
|
||||
- StagePilot doctor
|
||||
- result: blocked in current workspace/runtime because no discoverable `stagepilot-doctor` entrypoint or package was present; needs QC classification as pre-existing environment/tooling debt vs. closure blocker.
|
||||
|
||||
## Expected Gates
|
||||
|
||||
@@ -16,3 +25,9 @@ Pending.
|
||||
- fixture/log sensitive-field scan
|
||||
- affected dashboard smoke, if applicable
|
||||
- StagePilot doctor with pre-existing debt separated from BAT-017 findings
|
||||
|
||||
## Batch-specific verification notes
|
||||
- Full pytest includes the affected import/privacy regression suite and leaves 4 skips in place without introducing new failures.
|
||||
- Import batch debug-gated exposure now requires explicit `debug_provenance_gate=True`; the regression suite covers both deny-without-gate and allow-with-gate behavior.
|
||||
- BAT-017 touched MCP import batch exposure behavior but did not modify dashboard code paths directly; no additional dashboard-only code change was required in this slice.
|
||||
- QC still needs to independently inspect the changed surfaces, validate the documentation updates, and classify the missing StagePilot doctor entrypoint.
|
||||
|
||||
Reference in New Issue
Block a user