Hardened Redline review mode entitlements, postMessage bridge origin validation, fail-closed HMAC webhook signatures, unified layout locking, and comparison-wide decision replaying across virtualized chunks.
Security
- Removed embed-class plan bypass in review mode authorization in favor of comparison owner manifest plan and account tier validation.
- Added strict postMessage source and origin validation to prevent unauthorized windows from mutating review state.
- Defaulted SDK embed origin to the official Redline service origin with strict message origin checking.
- Hardened HMAC-SHA256 signature computation and automated webhook dispatching to fail closed on missing secret or signing errors.
- Validated 64-character hex digest length before timingSafeEqual buffer comparison in the webhook verification receiver.
Improved
- Locked viewer layout in Unified mode while Review Mode is active to prevent split pane desynchronization.
- Preserved canonical artifact change IDs (e.g. mkt-*, h-chg-*) across chunk annotation and manifest generation.
- Added comparison-wide decision tracking and automatic decision replay when virtualized chunks are mounted into slots.
- Filtered out nested change groups during review session initialization to align with top-level action bars.
- Assembled clean resolvedHtml exports without presentation wrappers, unchanged region toggles, or unmounted placeholders.
- Accurately represented partial review completion with remaining unresolved change counts and matching webhook event types.
- repo
- bookcicle/ui
Prunes empty list items and block elements left by rejected insertions or accepted deletions, locks out Split mode during active review, and presents a floating Finish Review prompt when all changes are resolved one-by-one.
Fixed
- Prunes empty list items (li) and parent lists (ul, ol) when an inserted bullet is rejected or deleted bullet is accepted, eliminating dangling bullet markers in rendered documents.
- Prunes effectively empty block containers (p, blockquote, headings) when resolving block-level revisions without leaving unsightly blank lines.
- Strictly disables Split view buttons and blocks layout switching via postMessage during active review to maintain inline action bar alignment and DOM synchronization.
Improved
- Hides bulk Accept All and Reject All options once all changes have been resolved one-by-one, leaving Finish Review as the single actionable choice.
- Displays a floating Finish Review confirmation prompt in the bottom-right corner when all changes are reviewed, ensuring users never miss completing the review.
- Supported redline:resolveChange postMessage bridge event in addition to individual accept/reject change commands.
Validation
- Unit tests in reviewEngine.test.js and redlineAccept.test.js covering empty bullet and container pruning across single bullets, isolated paragraphs, and full list cleanup.
- Playwright E2E coverage in redline-review-callbacks.spec.mjs asserting bullet removal, split view locking, and floating finish completion interaction.
- repo
- bookcicle/ui
Introduced interactive track changes review mode with in-place DOM accept and reject actions, bidirectional postMessage event bridge, drop-in SDK, and HMAC-SHA256 signed webhooks tiered for Creator and Creator Pro plans.
Added
- Creator Plan: Interactive review mode in Redline viewer and embed iframes with top progress toolbar (changes remaining, bulk accept/reject, finish review) and inline Accept/Reject buttons for every tracked change.
- Creator Plan: Standard bidirectional postMessage event protocol (redline:changeResolved, redline:reviewComplete, redline:startReview, redline:acceptChange, redline:rejectChange, redline:acceptAll, redline:rejectAll, redline:requestState).
- Creator Plan: Drop-in Redline Embed SDK (/scripts/v1/redline.js) with clean initialization, lifecycle event handlers, and imperative review controls.
- Creator Pro Plan: Server-side automated document commit callbacks and signed HMAC-SHA256 webhooks (X-Redline-Signature, X-Redline-Event) upon review completion.
- Interactive configurator workbench live callback event console and updated documentation for SDK and Webhooks integration.
Improved
- Updated Redline pricing matrix detailing Creator and Creator Pro interactive review and webhook callback tiers.
- repo
- bookcicle/ui
Configured Showcase 1 on the hosted iframe demo page as a dedicated interactive review demo, added review mode presets and controls to the deeper playground workbench, and added explicit tier notes to the pricing cards.
Added
- Configured Showcase 1 on /iframe-demos as a dedicated interactive Track Changes Review demo with live toolbar toggle, review parameter initialization, and isolation from standard comparison showcases.
- Added global review controls (Start Review, Accept All, Reject All) to the sticky Master Playground bar for simultaneous multi-pane testing.
- Added a 1-click 'Try Review Mode Preset' button to the developer configurator workbench to quickly initialize review mode and inspect callbacks.
- Added explicit review tier notes inside each pricing card clarifying interactive review for Creator and signed HMAC webhooks for Creator Pro.
Improved
- Supported bidirectional redline:exitReview postMessage command to dynamically close review mode inside embedded iframes.
- Updated iframe embed copy snippets to reflect review demo configurations.
- repo
- bookcicle/ui
Document word comparisons keep changed words together, and PDF symbol-font bullets render as standard bullets.
Fixed
- Word and auto modes keep DOCX and PDF word replacements intact instead of refining them into scattered character edits.
- Known OpenSymbol PDF bullets decode to standard Unicode bullets in both native and fallback extraction. Unrelated fonts and private-use characters are preserved.
- Updated comparison replay identities prevent old results from standing in for the corrected behavior.
Validation
- Source reconstruction, HTML/JSON responses, font-scoped symbol decoding and document regression tests pass. Both supplied résumé PDFs retain all 19 bullets per document.
- repo
- bookcicle/redline-document-service
Document word comparisons keep changed words together, and PDF symbol-font bullets render as standard bullets.
Fixed
- Word and auto modes keep DOCX and PDF word replacements intact instead of refining them into scattered character edits.
- Known OpenSymbol PDF bullets decode to standard Unicode bullets in both native and fallback extraction. Unrelated fonts and private-use characters are preserved.
- Updated comparison replay identities prevent old results from standing in for the corrected behavior.
Validation
- Source reconstruction, HTML/JSON responses, font-scoped symbol decoding and document regression tests pass. Both supplied résumé PDFs retain all 19 bullets per document.
- repo
- bookcicle/redline-document-service
Review up to three detected document issues, then unlock full analysis for deeper issue discovery.
Improved
- Eligible previews in the new experiment show up to three prioritized contact, image, layout, or readability findings in a compact card above the report details, with an Unlock Full Analysis action.
- The preview uses existing document checks, with no additional AI calls. Previews without a supported finding keep their existing layout.
- Completed owner reports show supported résumé issues when the optional review is available. Missing issue data leaves the rest of the report usable.
- repo
- bookcicle/ui
- commit
- f8f0da682c3029c892cddc5cb400271644ab9c8e
Review up to three detected document issues, then unlock full analysis for deeper issue discovery.
Improved
- Eligible previews in the new experiment show up to three prioritized contact, image, layout, or readability findings in a compact card above the report details, with an Unlock Full Analysis action.
- The preview uses existing document checks, with no additional AI calls. Previews without a supported finding keep their existing layout.
- Completed owner reports show supported résumé issues when the optional review is available. Missing issue data leaves the rest of the report usable.
- repo
- bookcicle/ui
Career reports show supported issue findings when the asynchronous review is ready.
Improved
- Authenticated owner reports show grounded résumé issue findings and suggestions when available. Missing or invalid issue data leaves every existing report section usable.
- Free previews can show up to three prioritized document checks in a compact experiment card with a path to full analysis.
- repo
- bookcicle/ui
- commit
- f8f0da682c3029c892cddc5cb400271644ab9c8e
Compare DOCX and searchable PDF source documents directly, preserve supported formatting changes, and recover through the HTML engine when needed.
Improved
- DOCX comparisons use source paragraphs, headings, lists, tables, headers, footers and footnotes instead of converted HTML for alignment.
- Bold, italic, underline, strikethrough, superscript, subscript and link changes remain valid inline changes. Word run splitting alone does not produce a change.
- Searchable PDF comparisons retain actual source pages. Explicit Word page breaks are retained without inventing rendered Word page counts.
- Recoverable native comparison or rendering failures retry through the HTML engine; reconstruction checks prevent successful responses with missing content. Invalid, encrypted, oversized and image-only documents remain errors.
Validation
- 135 service tests, 171 shared-engine tests, release-build recovery checks and local browser checks pass.
- Local benchmarks include source parsing, native diff, HTML/JSON response generation, reconstruction checks, sanitization and payload encoding. Native is faster in 13 of 15 cases; the edited 100- and 250-page Word fixtures are about 7% and 17% slower.
- repo
- bookcicle/redline-document-service
Compare DOCX and searchable PDF source documents directly, preserve supported formatting changes, and recover through the HTML engine when needed.
Improved
- DOCX comparisons use source paragraphs, headings, lists, tables, headers, footers and footnotes instead of converted HTML for alignment.
- Bold, italic, underline, strikethrough, superscript, subscript and link changes remain valid inline changes. Word run splitting alone does not produce a change.
- Searchable PDF comparisons retain actual source pages. Explicit Word page breaks are retained without inventing rendered Word page counts.
- Recoverable native comparison or rendering failures retry through the HTML engine; reconstruction checks prevent successful responses with missing content. Invalid, encrypted, oversized and image-only documents remain errors.
Validation
- 135 service tests, 171 shared-engine tests, release-build recovery checks and local browser checks pass.
- Local benchmarks include source parsing, native diff, HTML/JSON response generation, reconstruction checks, sanitization and payload encoding. Native is faster in 13 of 15 cases; the edited 100- and 250-page Word fixtures are about 7% and 17% slower.
- repo
- bookcicle/redline-document-service
Deeper résumé issue reviews can recover from an incomplete AI response before showing findings.
Fixed
- Issue reviews retry an invalid response once before marking findings unavailable. Existing report sections remain usable when no valid review is available.
- The retry preserves source quotations, the selected model, and the review’s time and cost limits.
- Temporary conflicts between parallel report steps retry within a minute. An unavailable optional review leaves the other report content usable.
- repo
- bookcicle/bookcicle-openai
- commit
- d4308eac3cd1ab7d381b24e60ba1eee5b17e37c2
Deeper résumé issue reviews can recover from an incomplete AI response before showing findings.
Fixed
- Issue reviews retry an invalid response once before marking findings unavailable. Existing report sections remain usable when no valid review is available.
- The retry preserves source quotations, the selected model, and the review’s time and cost limits.
- Temporary conflicts between parallel report steps retry within a minute. An unavailable optional review leaves the other report content usable.
- repo
- bookcicle/bookcicle-openai
- commit
- d4308eac3cd1ab7d381b24e60ba1eee5b17e37c2
The paid-campaign report setup now measures results from the October 1 parser production rollout onward.
Improved
- Use the same post-patch reporting window for résumé selections, preview failures, and payments.
- Show the percentage of selected sessions that subsequently encounter a preview failure, counting retries once per session and channel.
- repo
- bookcicle/ui
Switch comparison formats without losing your own text edits, selected files or mode preferences.
Fixed
- HTML, Markdown, plain text and JSON each retain separate original and revised drafts, including intentionally empty inputs.
- PDF and DOCX each retain their own selected files in the playground and direct comparison page. Reset affects the active format only.
- Late document responses cannot populate a different format after switching tabs. Cached comparison results stay associated with their format.
Validation
- Local mocked browser coverage verifies per-format text and file restoration, exact restored upload bytes, active-format resets and delayed response isolation.
- repo
- bookcicle/ui
Switch comparison formats without losing your own text edits, selected files or mode preferences.
Fixed
- HTML, Markdown, plain text and JSON each retain separate original and revised drafts, including intentionally empty inputs.
- PDF and DOCX each retain their own selected files in the playground and direct comparison page. Reset affects the active format only.
- Late document responses cannot populate a different format after switching tabs. Cached comparison results stay associated with their format.
Validation
- Local mocked browser coverage verifies per-format text and file restoration, exact restored upload bytes, active-format resets and delayed response isolation.
- repo
- bookcicle/ui
Excludes the unreleased FuncSpace labs tile from the production Bookcicle homepage while retaining it in development and test environments.
Changed
- Tagged the FuncSpace labs tile on the Bookcicle homepage with brand data attributes and pruned it during production build and surface hydration.
- Preserved FuncSpace labs discovery in development and test environments for active research and review.
Validation
- Unit tests in company_routes.test.mjs asserting production pruning and dev/test retention.
- Playwright E2E coverage in company-marketing.spec.mjs verifying brand tile integrity.
- repo
- bookcicle/ui
Funcspace DEV is registered as a publisher draft with passed package checks and a verified API domain.
Improved
- Bookcicle publisher verification, Funcspace DEV draft registration and domain verification are complete.
- The AWS deployment and nine anonymous live DEV checks passed. OAuth linking, real ChatGPT scenarios and public review remain separate gates.
- repo
- bookcicle/ui
Funcspace uses the established Bookcicle AWS runners for deployment, publication operations and live form checks.
Improved
- Funcspace deployment and smoke workflows use the existing AWS runner pool.
- Funcspace DEV publisher domain is verified; OAuth connection and real ChatGPT acceptance remain in progress.
- repo
- bookcicle/ui
Allow callers to request document comparison without replaying cached results.
API
- Cache-Control: no-store bypasses caller and shared comparison caches for HTML, Markdown, plain text and JSON requests. The response confirms the bypass. Authentication, rate limits and usage metering still apply.
- Native DOCX and PDF comparisons compute fresh results when no idempotency key is supplied.
Validation
- Regression tests preload both comparison caches and verify that a bypassed request computes changes without reading or replacing either cached result.
- repo
- bookcicle/ui