Skip to content

feat: improve state migration and delivery visibility - #48

Merged
davidahmann merged 1 commit into
mainfrom
codex/usability-state-safety
Sep 15, 2026
Merged

davidahmann merged 1 commit into
mainfrom
codex/usability-state-safety

Conversation

@davidahmann

Copy link
Copy Markdown
Owner

Summary

Improves Mill's everyday delivery path and local state safety without changing its authority model.

  • Makes start, status, and redacted stats easier to discover; documents the CLI/schema public interface, a glossary, delivery-access guidance, and archives the historical greenfield plan.
  • Replaces implicit SQLite state updates with an atomic numbered migration ledger. Supported v1/v2 records migrate to v3; future, incomplete, conflicting, and tampered migration state fails closed.
  • Adds aggregate state statistics with no task, prompt, path, credential, raw output, event-payload, or delivery-receipt exposure.
  • Adds a deliberately narrow worker-adapter registry while retaining codex-cli as the only supported adapter.
  • Makes local validation scripts and test fixtures honor MILL_GIT_PATH, so a non-system Git installation can run the full suite without changing production runtime environment.

Validation

  • npm run format:check
  • npm run lint
  • npm run typecheck
  • npm run docs:check
  • npm run check:workflows
  • npm run schemas:check
  • 356 tests pass with coverage thresholds: 89.05% lines, 88.48% statements, 95.24% functions, 82.00% branches.
  • npm run test:package
  • node dist/cli.js --json --cwd . audit

The exact-candidate audit passed all product, code, UX, accessibility, security, dependency, architecture, operations, and release checks.

Signed-off-by: David Ahmann <46606159+davidahmann@users.noreply.github.com>
@davidahmann
davidahmann merged commit 99c9870 into main Sep 15, 2026
5 checks passed
@davidahmann
davidahmann deleted the codex/usability-state-safety branch September 15, 2026 20:01
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