KB-1CA5

dot-iu-cutter v0.5 — Snapshot MARK Entrypoint Commit Test Result (python3 -m unittest 21/21 PASS immediately before commit; no DB; QG1 satisfied)

3 min read Revision 1
dot-iu-cutterv0.5snapshot-mark-entrypoint-commitci-result21-21-passno-dbqg1dieu442026-05-18

dot-iu-cutter v0.5 — Snapshot MARK Entrypoint Commit · Test Result

Phase: v0_5_snapshot_MARK_entrypoint_commit · Nature: local_unittest_only__no_DB__no_dryrun · Date: 2026-05-18 · doc 2 of 4


1. Command (runner of record)

python3 -m unittest tests.test_dryrun_snapshot_mark -v

Environment: (no DB env vars set) — no PG_DSN / DATABASE_URL / DIRECTUS_URL / PGPASSWORD / PGHOST. No network, no DB. Run immediately before the commit (QG1) on the verified working tree.

2. Result — 21 / 21 PASS

Ran 21 tests in 0.008s
OK
TestGate (5/5 ok):
  region_identity_exact · gate_fails_on_sha_drift · gate_fails_on_length_drift ·
  gate_fails_on_marker_drift · missing_sentinel_fails
TestManifest (9/9 ok, over the REAL byte-faithful pinned region):
  emits_three_levels_dieu_floor · counts_and_range ·
  dieu_44_excluded_controlled_draft_tier2 ·
  dieu_34_draft_and_obsolete_excluded · no_candidate_is_non_enacted ·
  address_format_and_uniqueness · coverage_closes_and_reconstructs ·
  determinism · provenance_binding
TestFailClosedSynthetic (4/4 ok):
  unknown_marker · orphan_row_before_group · nt_out_of_order · synthetic_happy_path
TestNoDbImportIsolation (3/3 ok):
  module_imports_only_stdlib (AST: imports ⊆ stdlib) ·
  cli_refuses_wrong_mode  (--mode cut ⇒ "REFUSED: only --mode mark-manifest-only…" exit 2) ·
  cli_refuses_without_no_db_flags (missing --no-* ⇒ "REFUSED: --no-db-write --no-cut --no-verify…" exit 2)

3. No-DB / no-side-effect proof

structural:    TestNoDbImportIsolation green — AST asserts dryrun.py imports
  only stdlib; CLI refuses any mode other than mark-manifest-only and refuses
  without --no-db-write/--no-cut/--no-verify (exit 2).
environmental: no DB reachable, no DSN env; build_manifest exercised in-memory
  by tests only; cutter_agent.dryrun.main NEVER invoked on the artifact ⇒ this
  is NOT the first Constitution dry-run; no out-dir artifacts emitted.
production_touched: false ; db_write: NONE.

4. Quality gate

QG1 full CI 21/21 PASS immediately before commit : PASS (this run)

doc 2 of 4. Self-advance PROHIBITED.

Back to Knowledge Hub knowledge/dev/laws/dieu44-trien-khai/v0.5-snapshot-mark-entrypoint-commit/dot-iu-cutter-v0.5-snapshot-mark-entrypoint-commit-test-result-2026-05-18.md