Skip to content

refactor: complete compatibility-preserving frontend v2 - #10

Merged
sviat-barbutsa merged 4 commits into
mainfrom
feat/refactor-v1
Aug 12, 2026
Merged

refactor: complete compatibility-preserving frontend v2#10
sviat-barbutsa merged 4 commits into
mainfrom
feat/refactor-v1

Conversation

@sviat-barbutsa

Copy link
Copy Markdown
Collaborator

Summary

  • complete the compatibility-preserving Frontend V2 refactor across clients, daemon authority, privacy/storage boundaries, desktop state/routing/accessibility, native packaging, CI, and public docs
  • retain the supported operation names, project data model, ZharwingMemoryClient / AimemClient facade, trusted AIMEM environment aliases, and legacy personal-preview CLI behavior
  • retire only the insecure browser-exposed VITE_* bearer-token path
  • regenerate the public documentation website and add deterministic release checks

Validation

  • TypeScript clean build: passed
  • Automated tests: 333 total; 331 passed, 0 failed, 2 intentional Windows symlink skips
  • API compatibility tests: 63/63 passed
  • Daemon admission tests: 29/29 passed
  • Rust native-host tests: 6/6 passed
  • Desktop production build and unchanged bundle budgets: passed
  • Secretless artifact, source-artifact, fixture-reachability, accessibility, and 43-guide documentation checks: passed
  • Tauri compile/package mechanics with an inert CI fixture: passed (not a production-sidecar runtime qualification)

Compatibility and release notes

This is a codebase refactor, not a project-data or operation-API migration. Trusted compatibility adapters remain available. The browser-side bearer-token fallback is intentionally unavailable because embedding a reusable secret in frontend bytes is unsafe.

The website should be deployed only after all PR checks pass and this PR is merged to a clean main.

Rework client, daemon, desktop, privacy, storage, routing, accessibility, native packaging, CI, and public documentation while retaining the supported operation API and project data model. Retire only the insecure browser-exposed bearer-token path and preserve trusted compatibility adapters.
Comment thread scripts/build-public-docs.mjs Fixed
Accept ordinary Windows path aliases without relaxing junction defenses, replace uncontrolled regex parsing with linear scans, and make HTML escaping single-pass so the full Windows and CodeQL gates can run cleanly.
Preserve component-level junction rejection while accepting canonical path aliases, and generate documentation heading IDs with an ASCII-only linear parser.
@sviat-barbutsa
sviat-barbutsa merged commit f07b2bf into main Aug 12, 2026
6 checks passed
@sviat-barbutsa
sviat-barbutsa deleted the feat/refactor-v1 branch August 12, 2026 22:55
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.

2 participants