Skip to content

Harden CLI information architecture, protocol semantics, and maintainer workflows#10

Draft
e-south wants to merge 16 commits into
mainfrom
hardening/cli-ia-contracts
Draft

Harden CLI information architecture, protocol semantics, and maintainer workflows#10
e-south wants to merge 16 commits into
mainfrom
hardening/cli-ia-contracts

Conversation

@e-south
Copy link
Copy Markdown
Owner

@e-south e-south commented Apr 20, 2026

Summary

  • harden the CLI preflight and execution surfaces so inspect, validate, explain, dry-run, and records flows stay explicit and less drift-prone
  • add reader-owned SFXI plot surfaces for setpoint scatter and the triptych sequence review bundle while keeping dnadesign behind public optional APIs
  • add a neutral dual-reporter triptych notebook/template surface so assay visualization can be reused without coupling it to SFXI-specific semantics
  • refresh maintainer docs/specs and keep the repo format/doc/test gates green

What changed

  • added plot/sfxi_setpoint_scatter and plot/sfxi_triptych_sequence, with protocol exposure through logic/sfxi_screen
  • split the triptych implementation into reader domain assembly, a narrow dnadesign/BaseRender/USR adapter, and artifact publication helpers
  • added atomic bundle staging for poster/PDF/index/manifest/movie/frame outputs and canonical records support
  • added dry-run dependency preflight so missing/incompatible dnadesign APIs fail before execution with actionable messages
  • added dual_reporter_triptych notebook assets and refactored sfxi_eda to use the shared notebook primitive
  • isolated the formatter cleanup for tools/audit_repo_skills.py after the repo format gate exposed it

Validation

  • uv run pytest -q src/reader/tests/domains/logic/sfxi/test_setpoint_scatter.py src/reader/tests/plugins/plot/test_sfxi_setpoint_scatter.py src/reader/tests/plugins/plot/test_sfxi_triptych_sequence.py src/reader/tests/notebooks/test_dual_reporter_triptych.py src/reader/tests/notebooks/test_templates.py src/reader/tests/workbench/test_assets.py src/reader/tests/cli/test_plot_export.py src/reader/tests/cli/test_ux.py (125 passed)
  • uv run ruff check .
  • uv run ruff format . --check
  • uv run python tools/check_docs.py
  • git diff --check
  • uv run pytest -q (386 passed, 24 deselected)

Audit notes

  • implementation imports only public dnadesign surfaces; the only dnadesign.*.src.* matches are docs/spec text forbidding private imports
  • SFXI persisted columns keep the canonical objective names logic_fidelity and effect_scaled, without compatibility alias columns
  • ignored experiment preview outputs were left untracked; the commit set contains source, tests, and docs only

e-south added 6 commits April 19, 2026 22:28
Introduce a machine-readable Data Operations Plan overlay so agents can classify data classes and readiness gates without parsing prose.
Document the repo-local Data Operations Plan overlay and add a dedicated skill so DOP classification, metadata gates, and route integrity stay discoverable and mechanically checked.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant