Skip to content

feat: host file protection, stdio bridge, and history integrity (1.7.12 candidate) - #289

Closed
Coding-Dev-Tools wants to merge 4 commits into
mainfrom
feat/file-guard-protection
Closed

Coding-Dev-Tools wants to merge 4 commits into
mainfrom
feat/file-guard-protection

Conversation

@Coding-Dev-Tools

Copy link
Copy Markdown
Owner

Summary

Brings the local feat/file-guard-protection line up to a 1.7.12 launch candidate:

  • Host file-protection engine and Command Code PreToolUse guard hook (fail-closed).
  • Dependency-free stdio MCP bridge so desktop clients share one warmed loopback MCP service.
  • Desktop-memory evaluation plus closure, session-lineage, and temporal-history coverage.
  • Recall/store/sync/dashboard/MCP updates for governed temporal history and deterministic measurements.
  • Local same-origin loopback browser sessions, refreshed documentation and benchmark evidence, and the compact Jev README section.
  • Release prep: version 1.7.12 across package, plugin, and commercial manifests; CHANGELOG entry; refreshed Claude plugin checksums.

Verification

  • ruff check . — all checks passed
  • pyright (repo config, Python 3.9 target) — 0 errors, 0 warnings
  • Focused offline pytest suite (29 files: docs contracts, Jev, Smart MCP, hooks, packaging, closure/lineage, desktop memory, concurrency) — passed, skips limited to optional native/encrypted backends
  • python -m build — sdist + wheel built; twine check PASSED for both
  • Wheel smoke import — reports engraphis 1.7.12

Merge note

The branch is based on 619f4986; main has moved 8 commits ahead (1.7.10/1.7.11 release content), so GitHub reports merge conflicts in overlapping release files. Resolving them is an owner decision: prefer main's 1.7.10/1.7.11 content and re-apply this branch's new surface (bridge, file guard, closure/lineage work, tests, 1.7.12 bump).

Before release

  • scripts/check_release_readiness.py needs the private candidate ledger; final release authority stays outside it.
  • No tag or PyPI publish is performed here; release.yml requires the tag commit on main with tag == pyproject version.

Coding-Dev-Tools and others added 4 commits October 14, 2026 07:33
…nd Code hook

- Implement file_guard.py for host-mediated protection of sensitive files
- Add Command Code PreToolUse hook integration in integrations/commandcode/file_guard_hook.py
- Support --file-guard flag in scripts/install_cc_hook.py with idempotent hook registration
- Add documentation in docs/FILE_PROTECTION.md and update SECURITY.md and README.md
- Add comprehensive unit tests in tests/test_file_guard.py and tests/test_install_cc_hook.py
…work

- Add the dependency-free stdio MCP bridge so desktop clients share one warm engine
- Add desktop-memory evaluation and closure/session-lineage test coverage
- Update recall, store, sync, dashboard, and MCP internals for governed temporal
  history, session lineage, and deterministic measurements
- Refresh documentation, benchmark evidence, and local browser-auth behavior
- Record the 1.7.10 candidate changelog and version markers

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
- Bump package, plugin, and commercial-manifest versions to 1.7.12
- Record the 1.7.12 changelog entry for the stdio bridge, desktop-memory
  evaluation, and history-integrity work
- Refresh Claude plugin asset checksums

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
- Promote the local RAM tester into tools/ram_probe.py with argparse entry
  points, a Windows guard, and a docstring
- Verify constant patterns in bounded windows so checking never doubles the
  resident allocation, and cap walking/random windows explicitly
- Report worker, pass, offset, expected value, and XOR diff on a mismatch

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-30T09:57:24.777183Z
We couldn’t complete this review. Comment @codex review to try again.
d698a16 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@Coding-Dev-Tools

Copy link
Copy Markdown
Owner Author

Closing as stale. This branch was cut before #270 and re-imported a local snapshot in c828bbc, so it conflicts with main across 75 files while reverting newer work (Spec Studio, newer Ledger, release evidence). Its headline file-protection engine already shipped on main via #270, and main's copies are newer and larger.

Its only unique remaining pieces were salvaged into #297: the desktop/MCP concurrency regressions, the Windows RAM integrity probe, and the local pre-flight script (with the Fast/full branch bug fixed). Ageing static//classic_assets/ trees and the graph compatibility shim were deliberately not restored.

If there is intent here that #297 does not capture, reopen with a rebase onto current main so we can review it as a real diff.

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