chore(consistency): register follow-on workplans + retire ralph loop state
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 2s

fix-consistency C-06 wrote state_hub_workstream_id/state_hub_task_id back into
EANCH-WP-0002 and EANCH-WP-0003. Remove the completed ralph loop state file.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
tegwick 2026-07-09 01:37:11 +02:00
parent 449692f322
commit e4582b52fa
3 changed files with 12 additions and 21 deletions

View file

@ -1,21 +0,0 @@
---
active: true
iteration: 2
session_id: b236681f-560d-497b-aa7d-07eab42bba2b
max_iterations: 12
completion_promise: "HEUREKA"
workplan_id: EANCH-WP-0001
workplan_file: workplans/EANCH-WP-0001-intent-placeholder.md
started_at: "2026-07-08T18:31:44Z"
---
Read the workplan at `workplans/EANCH-WP-0001-intent-placeholder.md`.
If every task has `status: done` AND frontmatter `status: done`:
run `rm -f .claude/ralph-loop.local.md` first (deactivates the loop so the stop hook exits cleanly),
then output <promise>HEUREKA</promise>.
Otherwise implement the next `todo` task as described in the workplan.
Set task `in_progress` when starting, `done` when complete.
When all tasks are done set frontmatter `status: done`.

View file

@ -14,6 +14,7 @@ spec_refs:
- SCOPE.md
- ../citation-evidence/wiki/SharedContracts.md
- ../citation-evidence/wiki/ArchitectureOverview.md
state_hub_workstream_id: "2e1ad557-11d9-4e5c-8743-973002482a0c"
---
# EANCH-WP-0002 — Anchor Resolution Hardening
@ -49,6 +50,7 @@ Current extracted behavior (`src/selectors/resolve.ts`):
id: EANCH-WP-0002-T01
status: todo
priority: high
state_hub_task_id: "940b03ba-4b2f-4d1a-b7bc-72813817549d"
```
Return `stale` (not `unresolved`) when a previously-resolvable anchor no longer
@ -64,6 +66,7 @@ id: EANCH-WP-0002-T02
status: todo
priority: medium
depends_on: [T01]
state_hub_task_id: "f75b94cd-bfb8-47f9-bd89-0d605f925290"
```
Give callers a way to identify annotations whose selectors can no longer be
@ -78,6 +81,7 @@ id: EANCH-WP-0002-T03
status: todo
priority: high
depends_on: [T01]
state_hub_task_id: "8548fa44-5bb3-40cf-b8f8-e745deae7dda"
```
Add a fuzzy quote-matching fallback (bounded edit-distance / token overlap)
@ -94,6 +98,7 @@ id: EANCH-WP-0002-T04
status: todo
priority: medium
depends_on: [T03]
state_hub_task_id: "6a7163f5-39ca-48fa-8941-8459c563198f"
```
Turn `PdfSpikeViewer` into a supported `PDFViewerAdapter` that implements the
@ -108,6 +113,7 @@ id: EANCH-WP-0002-T05
status: todo
priority: high
depends_on: [T02, T04]
state_hub_task_id: "1ea0885a-c541-438f-a4fd-b8be0773b373"
```
`pnpm test`/`typecheck`/`lint` green here; umbrella typecheck/test/build green

View file

@ -14,6 +14,7 @@ spec_refs:
- SCOPE.md
- ../citation-evidence/wiki/SharedContracts.md
- ../citation-evidence/docs/decisions/ADR-0006-selector-ownership-split.md
state_hub_workstream_id: "04f8a4b7-41fe-4546-8471-364a8b9a6c26"
---
# EANCH-WP-0003 — Non-PDF Selectors (HTML / Markdown)
@ -48,6 +49,7 @@ enum — coordinate contract changes in the umbrella wiki first.
id: EANCH-WP-0003-T01
status: todo
priority: high
state_hub_task_id: "de7df94f-2ddf-4920-949e-6e693131a9de"
```
Define the real `DomRangeSelector` and `StructuralSelector` shapes (DOM path +
@ -62,6 +64,7 @@ id: EANCH-WP-0003-T02
status: todo
priority: high
depends_on: [T01]
state_hub_task_id: "aa1bc68d-c15a-41e0-813d-c4ccec4914c9"
```
Implement `createSelectors` for the DOM branch: build TextQuote + TextPosition
@ -75,6 +78,7 @@ id: EANCH-WP-0003-T03
status: todo
priority: high
depends_on: [T02]
state_hub_task_id: "2bdedc91-1ed2-41ed-b4a0-a9a0d7a6b4b0"
```
Extend `resolveSelectors` to resolve DomRange/Structural selectors and rank
@ -89,6 +93,7 @@ id: EANCH-WP-0003-T04
status: todo
priority: medium
depends_on: [T03]
state_hub_task_id: "286267fe-d348-4494-bbe2-dd7818bcadbd"
```
Add a `DocumentViewerAdapter` implementation for rendered HTML/Markdown
@ -103,6 +108,7 @@ id: EANCH-WP-0003-T05
status: todo
priority: high
depends_on: [T04]
state_hub_task_id: "9ff39c83-eca8-46a1-9b28-8a728ddf220d"
```
Package green (`pnpm test`/`typecheck`/`lint`); engine contract change verified