# Demo 4 — residual: allowed adapter passes; ArchUnit type-graph via SARIF $ spectastic verdict --changed # allowed, inside the path verdict: no governance violations in the changed paths. Scope: repo-local — evaluated 2 decisions from this checkout. A decision not present in this checkout is not evaluated. Wrote demonstrations/4a-verdict-allowed.json $ spectastic verdict --changed --enforcer-output enforcement/archunit-results.sarif VIOLATION 002-downstream-consumers/D-007 [no_sql_write_to_positions_outside_adapter] at docs/priya-pr/PositionReconciliationJob.java:20 docs/priya-pr/PositionReconciliationJob.java → UPDATE\s+positions Every position change must emit PositionChanged so Risk, P&L, and the audit trail stay consistent; a direct write to the position store bypasses the emission and the audit hooks that live in the adapter. VIOLATION 002-downstream-consumers/D-007 [only_the_persistence_adapter_touches_data_access_apis] at src/main/java/xyz/briancorbin/pk/recon/PositionReconciliationJob.java:22 src/main/java/xyz/briancorbin/pk/recon/PositionReconciliationJob.java → only_the_persistence_adapter_touches_data_access_apis Every position change must emit PositionChanged so Risk, P&L, and the audit trail stay consistent; a direct write to the position store bypasses the emission and the audit hooks that live in the adapter. VIOLATION 002-downstream-consumers/D-007 [only_the_persistence_adapter_touches_data_access_apis] at src/main/java/xyz/briancorbin/pk/recon/PositionReconciliationJob.java:21 src/main/java/xyz/briancorbin/pk/recon/PositionReconciliationJob.java → only_the_persistence_adapter_touches_data_access_apis Every position change must emit PositionChanged so Risk, P&L, and the audit trail stay consistent; a direct write to the position store bypasses the emission and the audit hooks that live in the adapter. VIOLATION 002-downstream-consumers/D-007 [only_the_persistence_adapter_touches_data_access_apis] at src/main/java/xyz/briancorbin/pk/recon/PositionReconciliationJob.java:26 src/main/java/xyz/briancorbin/pk/recon/PositionReconciliationJob.java → only_the_persistence_adapter_touches_data_access_apis Every position change must emit PositionChanged so Risk, P&L, and the audit trail stay consistent; a direct write to the position store bypasses the emission and the audit hooks that live in the adapter. VIOLATION 002-downstream-consumers/D-007 [only_the_persistence_adapter_touches_data_access_apis] at src/main/java/xyz/briancorbin/pk/recon/PositionReconciliationJob.java:25 src/main/java/xyz/briancorbin/pk/recon/PositionReconciliationJob.java → only_the_persistence_adapter_touches_data_access_apis Every position change must emit PositionChanged so Risk, P&L, and the audit trail stay consistent; a direct write to the position store bypasses the emission and the audit hooks that live in the adapter. VIOLATION 002-downstream-consumers/D-007 [only_the_persistence_adapter_touches_data_access_apis] at src/main/java/xyz/briancorbin/pk/recon/PositionReconciliationJob.java:23 src/main/java/xyz/briancorbin/pk/recon/PositionReconciliationJob.java → only_the_persistence_adapter_touches_data_access_apis Every position change must emit PositionChanged so Risk, P&L, and the audit trail stay consistent; a direct write to the position store bypasses the emission and the audit hooks that live in the adapter. VIOLATION 002-downstream-consumers/D-007 [only_the_persistence_adapter_touches_data_access_apis] at src/main/java/xyz/briancorbin/pk/recon/PositionReconciliationJob.java:24 src/main/java/xyz/briancorbin/pk/recon/PositionReconciliationJob.java → only_the_persistence_adapter_touches_data_access_apis Every position change must emit PositionChanged so Risk, P&L, and the audit trail stay consistent; a direct write to the position store bypasses the emission and the audit hooks that live in the adapter. Scope: repo-local — evaluated 2 decisions from this checkout. A decision not present in this checkout is not evaluated. Wrote demonstrations/4b-verdict-sarif.json