Post WP-0002/0003 hygiene: update docs and archive finished workplans
Refresh README and SCOPE to reflect stale/fuzzy/DOM capabilities. Move EANCH-WP-0001 through EANCH-WP-0003 to workplans/archived/260709-*.
This commit is contained in:
parent
a1af0c6a45
commit
113358c13c
5 changed files with 30 additions and 33 deletions
39
README.md
39
README.md
|
|
@ -21,9 +21,10 @@ The anchor slice has been extracted from the umbrella and now lives here.
|
|||
`@anchor` alias is retired. Shared-contract changes still happen in the umbrella
|
||||
(`citation-evidence/wiki/`), not here.
|
||||
|
||||
Remaining anchor work beyond this MVP slice (stale/orphan semantics, fuzzy
|
||||
re-anchoring, HTML/Markdown selectors, promoting the PDF spike to a production
|
||||
adapter) is tracked as follow-on work — see `workplans/`.
|
||||
EANCH-WP-0002 and EANCH-WP-0003 delivered stale/orphan/fuzzy resolution,
|
||||
`PdfViewerAdapter`, and HTML/Markdown selectors plus `evidence-anchor/dom`.
|
||||
Remaining work (FragmentSelector, umbrella viewer wiring) is tracked in
|
||||
`workplans/`.
|
||||
|
||||
## Install model
|
||||
|
||||
|
|
@ -44,20 +45,19 @@ src/
|
|||
HighlightRenderOptions, DocumentViewerAdapter
|
||||
css.d.ts ambient decl for side-effect .css imports
|
||||
selectors/ pure core — no viewer/UI deps
|
||||
index.ts createSelectors, resolveSelectors, DEFAULT_CONTEXT_CHARS
|
||||
create.ts selector creation from a captured selection
|
||||
resolve.ts resolution + the exact-match confidence ladder
|
||||
create.test.ts
|
||||
resolve.test.ts
|
||||
pdf/ adapter boundary — the only place viewer libs live
|
||||
index.ts createSelectors, resolveSelectors, fuzzy, orphan helpers
|
||||
create.ts selector creation (PDF + DOM branches)
|
||||
resolve.ts resolution ladder + stale/fuzzy recovery
|
||||
fuzzy.ts / orphan.ts / dom-path.ts
|
||||
*.test.ts
|
||||
pdf/ PDF adapter boundary
|
||||
index.ts subpath entry `evidence-anchor/pdf`
|
||||
pdf-selector-math.ts pure page + normalized-rect math (capture↔selectors)
|
||||
pdf-selector-math.test.ts
|
||||
pdf-viewer-adapter-spike.tsx concrete PDF adapter (PdfSpikeViewer)
|
||||
scroll-job.ts retryable scroll-to-highlight helper
|
||||
scroll-job.test.ts
|
||||
highlight-styles.css highlight rendering styles
|
||||
debug-textlayer.css optional text-layer debugging styles
|
||||
pdf-viewer-adapter-spike.tsx PdfViewerAdapter (+ PdfSpikeViewer alias)
|
||||
pdf-selector-math.ts / scroll-job.ts / *.css
|
||||
dom/ HTML/Markdown adapter boundary
|
||||
index.ts subpath entry `evidence-anchor/dom`
|
||||
html-viewer-adapter.tsx HtmlViewerAdapter
|
||||
dom-path.ts Range ↔ DomNodePath serialization
|
||||
```
|
||||
|
||||
Boundary rules for the layout (enforced by `eslint.config.js`):
|
||||
|
|
@ -70,10 +70,9 @@ Boundary rules for the layout (enforced by `eslint.config.js`):
|
|||
creation/resolution, the adapter types/contract, and the PDF adapter — so
|
||||
consumers resolve every anchor symbol (and their test `vi.mock(...)` calls)
|
||||
from a single specifier, matching the umbrella's prior `@anchor/index`;
|
||||
- a focused, viewer-free entry is also published at **`evidence-anchor/pdf`**
|
||||
for consumers that want the PDF surface explicitly. The concrete adapter is
|
||||
still the explicitly-named `PdfSpikeViewer` spike; promoting it to a
|
||||
production `PDFViewerAdapter` is registered follow-on work (T06).
|
||||
- focused subpath entries: **`evidence-anchor/pdf`** (PDF adapter) and
|
||||
**`evidence-anchor/dom`** (HTML/Markdown adapter). The root barrel re-exports
|
||||
both for consumers that want a single import path.
|
||||
|
||||
## Public API (target surface)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue