Files
jarca-ledger-mcp/docs/batches/bat-017_20260708_import-provenance-sensitive-data-policy/verification.md
T
genichin d9182f28f2 feat: enforce import provenance exposure policy (#2)
Merge BAT-017 / REQ-021 implementation after delivery-runner implementation, independent QC, and passing GitHub Actions CI.
2026-07-09 18:44:19 +09:00

1.8 KiB

BAT-017 Verification Evidence

  • Status: ready-for-qc
  • Created At (KST): 2026-07-08 11:33 KST

Verification Commands

  • . .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

  • python -m ruff check .
  • python -m pytest -q
  • source-specific import provenance tests
  • MCP privacy/default exposure tests
  • 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.