Skip to content

docs: add Phase-2 frontend cite/export planning docs#34

Merged
dknauss merged 3 commits into
mainfrom
salvage/phase-2-planning-docs
Jun 17, 2026
Merged

docs: add Phase-2 frontend cite/export planning docs#34
dknauss merged 3 commits into
mainfrom
salvage/phase-2-planning-docs

Conversation

@dknauss

@dknauss dknauss commented Jun 17, 2026

Copy link
Copy Markdown
Owner

Salvages the Phase-2 (frontend cite & export affordances) planning documents that were stranded on the stale local branch claude/clever-colden-617e8b (78 commits behind main). All code/test work from that branch was already in main; these planning docs were its only unique content.

Contents

  • 02-RESEARCH.md — research on the viewScript approach, export-utility reuse, progressive enhancement, and XSS escaping for data-csl
  • 02-01-PLAN.md — per-entry export helper (export-single.js) TDD plan
  • 02-02-PLAN.mddata-csl save-markup plan + block.json/webpack wiring
  • 02-03-PLAN.mdview.js frontend hydration plan
  • 02-VALIDATION.md — phase validation strategy
  • Two GSD todos (one done, one pending)

Notable fix

The final commit corrects a copy-paste corruption in 02-02-PLAN.md: the intended < XSS-escape had collapsed to a literal <, including the example .replace(/</g, '<') — a no-op that would have silently defeated the escape if copied into implementation. Restored to <, consistent with 02-RESEARCH.md and src/lib/jsonld.js.

Docs only — no runtime/code changes.

🤖 Generated with Claude Code

dknauss and others added 3 commits June 17, 2026 00:46
Recovered from stale branch claude/clever-colden-617e8b (tip 054df8f,
78 commits behind main). These Phase-2 (frontend cite/export) planning
docs were the only unique content on that branch; all its code/test
work is already in main. Part 1 of 2.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Final part of the Phase-2 planning salvage from claude/clever-colden-617e8b:
the view.js hydration plan, the phase validation strategy, and two GSD
todos (one done, one pending). Part 2 of 2.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The intended \u003c escape had collapsed to a literal < in several
places of 02-02-PLAN.md, including the code example .replace(/</g, '<')
— a no-op that would have defeated the escape if copied into the
implementation. Restore \u003c consistently, matching 02-RESEARCH.md
and src/lib/jsonld.js.
@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.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@codecov

codecov Bot commented Jun 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.47%. Comparing base (0639cd8) to head (94d35d9).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #34   +/-   ##
=======================================
  Coverage   81.47%   81.47%           
=======================================
  Files          40       40           
  Lines        2613     2613           
  Branches      464      464           
=======================================
  Hits         2129     2129           
  Misses        126      126           
  Partials      358      358           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dknauss dknauss merged commit e6f19a1 into main Jun 17, 2026
15 checks passed
@dknauss dknauss deleted the salvage/phase-2-planning-docs branch June 17, 2026 07:05
dknauss added a commit that referenced this pull request Jun 17, 2026
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