Skip to content

refactor: share duplicated helpers and cache token ratios - #5

Merged
harshabala merged 2 commits into
masterfrom
ref/hygiene-2026-10-06
Oct 9, 2026
Merged

harshabala merged 2 commits into
masterfrom
ref/hygiene-2026-10-06

Conversation

@harshabala

@harshabala harshabala commented Oct 6, 2026 •

Copy link
Copy Markdown
Owner

Shared sidecar resolve, token-ratio OnceLock, and path helpers. Offline sidecar JSON-lines, support-dir paths, and GUI scan caps are unchanged. CLI folder scan remains unbounded. CI test green.

Known deviations: CLI scan has no GUI depth/file cap. ClipboardWatchState Clone still copies atomics (see FINDINGS).

Draft; do not merge until reviewed.

harsha balakrishnan added 2 commits October 6, 2026 13:42
Collapse copy-pasted path, settings, sidecar, clipboard, and window-style
helpers. Parse benchmark-ratios.json once. Frontend reuses token-savings
aggregates. Cargo.lock crate version now matches 0.2.11.
@harshabala
harshabala marked this pull request as ready for review October 9, 2026 05:37
@harshabala
harshabala merged commit 2fd4fec into master Oct 9, 2026
1 check passed
@harshabala
harshabala deleted the ref/hygiene-2026-10-06 branch October 11, 2026 09:26
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