Skip to content

fix(ops): harden local runtime production defaults#31

Closed
Davidobot wants to merge 1 commit into
mainfrom
codex/production-hardening-followups
Closed

fix(ops): harden local runtime production defaults#31
Davidobot wants to merge 1 commit into
mainfrom
codex/production-hardening-followups

Conversation

@Davidobot

Copy link
Copy Markdown
Contributor

Summary

  • Updates AGENTS/CONTRIBUTING plus CI and release wheel smoke checks for the new base runtime: ONNX Runtime / transformers / sentence-transformers / PyYAML are required install metadata, while import lodedb must keep embedding runtimes lazy.
  • Makes private-network lodedb serve an explicit trusted-LAN support mode without allowing public or all-interface binds, and updates the WAL-default docs/help/comments to match the runtime default.
  • Moves engine progress diagnostics from stdout print() calls to the lodedb.engine logger and removes the benchmark stdout-redirect workaround, keeping CLI JSON and MCP stdio clean by default.
  • Hardens ONNX artifact materialization with a per-model cache lock, manifest + sha256 cache validation, atomic file publication, and a bounded Optimum export subprocess timeout.
  • Fixes KnowledgeGraph.add_nodes / add_edges bulk replacement so removing label/fact/embedding also clears the stale derived semantic index docs.

Testing

  • uv run ruff check .
  • uv run pytest -q — 410 passed, 35 skipped
  • uv lock --check
  • git diff --check

@Davidobot Davidobot closed this Jun 25, 2026
@Davidobot Davidobot deleted the codex/production-hardening-followups branch June 25, 2026 05:28
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