Repository navigation
feat(v2.1): unify Go CLI + Python HUD, SHA-256 hosts journal, and IPv6 sinkholing - #1
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Comprehensive
v2.1.0architectural unification, crash-recovery hardening, and dual-stack network/process enforcement across the Go native CLI and Python desktop HUD.Key Engineering Changes
focusflow_core): Synchronized state directory (FOCUSFLOW_HOME/%APPDATA%\FocusFlow),config.json,sessions.json,hosts.focusflow.journal.json, and# --- BEGIN FOCUSFLOW MANAGED BLOCK ---markers across both Go CLI and Python Catppuccin Mocha HUD (with automatic cleanup of legacy markers). Retired unmaintained duplicate Rust prototype and legacy V1 script..baklock-in), writes a write-ahead rollback journal, preserves Windows NTFS DACLs viaReplaceFileWwith sharing-violation retries, and automatically recovers orphanedhostsblocks on startup after crashes/reboots.0.0.0.0and::records (closing IPv6AAAAbypasses), expands DoH sinkhole endpoints, preserves platform CRLF/LF line endings, and rejects malformed/injected hostnames and protected local entries.ctypesCreateToolhelp32SnapshotWin32 supervisor, critical OS/self process denylist (csrss.exe,lsass.exe,svchost.exe,explorer.exe, etc.), Linux/proczero-psfast path + 15-byteTASK_COMM_LEN/proc/<pid>/exeresolution,--elevateCLI flag, and[ELEVATE ADMIN]HUD control.sessions.jsonstreak/completion metrics, monotonic deadline timer (time.monotonic()),PER_MONITOR_AWARE_V2DPI scaling, non-pasteable 16-char Friction Challenge (enforced on window close in strict mode), and newdoctor,recover,export, and--jsonCLI capabilities.darwin-amd64release artifact packaging, addedwindows/arm64builds, enforced zero-emoji minimal systems formatting, and added 97 hermetic tests (20 Go tests + 77 Pythonpytesttests).Verification
go vet ./...&go test -v ./...(20/20 passing across all 5 Go packages)python -m pytest -v(77/77 passing across journal, sanitization, Go/Python interop, Win32 supervisor, and HUD suites)