` element that `CLEAN_FRAGMENT_HTML` could remove by tag. Either resolves Major 2; the spec need not pick one, but it must state that one is required.
+- `minify` re-cleans all hydrated HTML through `AMMONIA_OPTIONS`, which today allows `contenteditable` on `` and the classes `cc-gather`/`cc-gather-items`/`cc-fragment-*` but not `cc-backlinks` or `data-target`; adding them is an allowlist edit, consistent with how `cc-gather-items` is already handled, and needs no spec text.
+- Whether the anchor's ordinal is omitted for a file's first reference to an id (`cc-xref-setup` vs `cc-xref-setup-1`). The example gives only `cc-xref-setup-2`; either is fine, since the stated "must not collide with an id in the document ... resolved deterministically from the source" already covers the anchor-vs-anchor case it creates.
+
+Assessment
+
+Round 5's fixes hold up where they were aimed: the `Fragment::content` exclusion, the record diff's duplicated/undefined-id cases, the termination sentence, and the "commit never outdates its own file" claim all check out against the code — `commit_file` runs before the patch phases under the same lock, `remove_file` really does commit empty facts, and `gathers_referencing` really does sort for the reason given. The assignment is covered: one backlink per resolved authored occurrence, ordered deterministically, with a derived per-(id, ordinal) anchor whose stability rationale is sound.
+
+The two Majors are both corrections biting back. The round-5 move from "through the cache's `Target`s" to "the Client resolves ... in the rendered document" added a justification clause that asserts a dehydration behavior the code does not have, and the round-5 exclusion of containers from `Fragment::content` is now stated as a fact with no mechanism at the layer where the text places the work — a layer that, per the same paragraph, also has to see gather-list output. Both are fixable with a sentence each; neither threatens the design.
+
+Nothing was modified: I only read cache-spec.md, cache.rs and processing.rs, ran no builds, and made no git changes.
+```
+
+### Anuar Kurmanov
+
+GitHub userid: `FIFSAK`
+
+#### Contributions
+
+I reviewed the backlink specification and fixed the two gaps my review found:
+how dehydration removes the rendered backlinks, and why the new
+occurrence-record edge still lets cache propagation terminate.
+
+#### Build and run test
+
+Prompt: “Verify that you can build and run the project in the current git repo.”
+I ran the commands on macOS (Apple silicon) with Claude Code assisting.
+
+The first `./bt install` failed at `cargo fetch`, because cargo's built-in git
+could not authenticate to the `htmd` dependency's SSH URL
+(`git@github.com:bjones1/htmd.git`); with `CARGO_NET_GIT_FETCH_WITH_CLI=true`,
+as cargo suggests, `./bt install` exited with code 0. `./bt build` exited with
+code 0; the binding-generation filter ran 13 tests, all of which passed, and
+skipped 194. From `server/`, `cargo run --locked -p codechat-editor-standalone
+-- start ../README.md` started the server, a GET request to
+`http://127.0.0.1:8080/ping` returned HTTP 200 with body `pong`, and the `stop`
+command exited with code 0, after which `/ping` no longer answered.
+
+#### Specification review rounds
+
+| Round | Findings | Main changes made |
+| --- | --- | --- |
+| 1 | 2 (0 critical, 0 major, 2 minor) | Backlinks render in a non-editable, marked container which dehydration removes; the cache-design convergence argument now covers the occurrence-record edge, which ends after one step. |
+| 2 | 0 (0 critical, 0 major, 0 minor) | None. READY. |
+
+#### Last specification review
+
+Review model: Claude Sonnet 5.5 (`claude-sonnet-5-5`), default effort, run as a
+read-only subagent of Claude Code with a fresh context.
+
+**Exact review prompt**
+
+```text
+# Enhanced Cross-References 1 — Independent Specification Review, Round 2
+
+Review one section of a draft specification.
+
+- Assignment: "Enhance the CodeChat Editor cross-reference system, so that the target of cross-references includes links back to each referring cross-reference."
+- File: /server/src/processing/cache-spec.md
+- Review ONLY the backlink text in the "Cross-references" section: from "During hydration, each target displays one backlink" through the end of the "Backlink details:" list, just before the heading "Implementation of Cross-references". Read other parts only to check consistency (hydration/dehydration, cache layers, fragment backlinks, HTML cleaning, outdating rules).
+
+Evaluate: assignment coverage; technical correctness and feasibility; one backlink per referring occurrence; cache and reprocessing consistency; hydration/dehydration compatibility; contradictions with existing text; conciseness.
+
+Report only genuine, evidence-supported defects, quoting the conflicting text. Separate defects from optional implementation choices. Do not manufacture findings.
+
+Read-only: do not edit files, run builds, or change git state.
+
+Output: 1) READY or NEEDS REVISION; 2) counts of Critical/Major/Minor; 3) for each finding, evidence and the smallest correction; 4) a brief assessment; 5) confirmation that nothing was modified.
+```
+
+**Complete response**
+
+No finding was judged wrong, so nothing is struck through; the optional
+implementation choices were left to the implementation.
+
+```text
+1) Verdict: READY
+
+2) Counts: Critical 0, Major 0, Minor 0.
+
+3) Findings: no defects supported by the text. Checks performed against surrounding sections:
+- Assignment coverage: "each target displays one backlink for each authored that resolves to it. Following a backlink returns to that occurrence in its source file" covers the assignment; the guide.md/setup example shows two references giving two backlinks. Gather elements count as targets (they are a Target with data-gather).
+- One backlink per occurrence: the bullets exclude error references, references nested in optional content (which cleaning unwraps), copies in cleaned content, and gather re-hydrated copies. They count the authored in a target's own inner HTML. This matches the HTML-cleaning rules ("unwraps s") and the fragment rule that a gather element re-hydrates s "so that it leads from the gather element's file".
+- Cache/reprocessing: the per-file record of resolved occurrences correctly addresses the real gap in IdEntry::dependents (the unlink-all/relink-all round trip loses old state, as the gather-element section also notes). Diffing old vs new in commit_file handles a reference added or removed, a referring file deleted or moved, and an id moving from Missing/Duplicate to resolved (the dependents are outdated, the referrer is reprocessed, its record changes). Termination is supported by "excluded from Target::inner_html and cached content" and "rebuilding the target's file changes no layer-1 state"; the mutual-reference example a<->b converges. The "Cache design" layer text was updated consistently ("Only layers 1 and 3 are cached, along with the per-file record").
+- Hydration/dehydration: the anchor does not conflict with "allows no attribute except for ref", because the existing Details bullet already lists "the backlink anchor" among things hydration adds and dehydration removes. "must not make the a Target" is consistent with the id-stripping rule. The container is removed by dehydration; data-content is untouched.
+- Contradictions: none. The only ambiguous phrase is "carries no anchor, which is also excluded from Fragment::content". The antecedent is the anchor, and HTML cleaning confirms the itself stays in fragment content, but a reader could misread it. This is a wording choice, not a defect.
+
+Optional implementation choices (not defects):
+- Anchors derived from "the occurrence's order" renumber every later in a file when one is inserted earlier, outdating more target files than necessary. A content-based or hashed scheme would avoid this; the text says "for example", so it is not binding.
+- Placement of the backlink container for inline or in-paragraph targets is unspecified (after the element or in a sibling block). Gather elements already have a sibling-div precedent.
+- No statement that the anchor must avoid colliding with authored ids in the same page.
+- Conciseness: three restatements could be trimmed. The exclusion from cached content and saved source appears in both paragraph 2 and the last bullet. The anchor appears there and in the earlier Details bullet. "Several references from one file produce several backlinks" repeats paragraph 1.
+- The backlink layer is described as "a layer above layer 1" but is not added to the numbered 1-5 list. This is acceptable since it is not cached.
+
+4) Assessment: the backlink text meets the assignment and is internally consistent. It handles resolution state, gather copies, moves/deletes and termination. It is compatible with hydration, dehydration, cleaning and the existing layer model. It is slightly redundant but not wrong.
+
+5) Nothing modified: I only read the file (sed/grep). No edits, builds, or git changes.
+```
+
+### Dias Lesbay
+
+GitHub userid: `diaslesbay2003kbtu`
+
+#### Contributions
+
+I added the backlink details to the cross-references specification: which references count as occurrences, how a changed reference outdates the target's file, and how each backlink returns to its own occurrence.
+
+#### Build and run test
+
+Goal: “Verify that you can build and run the project in the current git repo.” I ran the commands myself on macOS (Apple silicon) in the repository root, with Claude Code assisting.
+
+`./bt install` finished without errors. `./bt build` compiled the workspace, ran the binding-generation filter (13 tests run, 13 passed, 194 skipped), bundled the client with esbuild, passed `tsc` for the client and the VS Code extension, and built the extension's native module. The only warnings were an unreachable-code warning in `server/src/webserver.rs` and two unused-dependency warnings in `server/Cargo.toml`. A second run, `./bt build; echo $?`, ended with exit code 0.
+
+From `server/`, I started the application with `cargo run --locked -p codechat-editor-standalone -- start ../README.md`. A GET request to `http://127.0.0.1:8080/ping` returned HTTP 200 with body `pong`. The corresponding `stop` command completed without reported errors.
+
+#### Specification review rounds
+
+| Round | Findings | Main changes made |
+| --- | --- | --- |
+| 1 | 2 (0 critical, 1 major, 1 minor) | Added the rule that `commit_file` diffs referring occurrences, since `dependents` cannot show what a file referred to before; defined the generated return anchor and its removal by dehydration. |
+| 2 | 2 (0 critical, 1 major, 1 minor) | The id-set diff missed adding or removing a second reference to the same id, so the cache now records and diffs each file's occurrences (id and anchor); the anchor is derived from the source. |
+| 3 | 1 (0 critical, 0 major, 1 minor) | The anchor is excluded from `Fragment::content` and from re-hydrated gather-element copies. |
+| 4 | 1 (0 critical, 0 major, 1 minor) | The per-file occurrence record is now named in the cache design's list of cached state; clarified which nested or copied ``s are not occurrences and listed the anchor among the temporary attributes. |
+
+#### Last specification review
+
+Review model: Claude Sonnet 5.5 (`claude-sonnet-5-5`), selected through the `sonnet` model alias in Claude Code and run as a read-only subagent with a fresh context. Claude Code did not report the resolved model ID for the subagent, so the version is the current Sonnet release that the alias selects.
+
+**Exact review prompt**
+
+```text
+# Enhanced Cross-References 1 — Independent Specification Review, Round 4
+
+Review one section of a draft specification.
+
+- Assignment: "Enhance the CodeChat Editor cross-reference system, so that the target of cross-references includes links back to each referring cross-reference."
+- File: /Users/kaspi/Desktop/Paradigms/CodeChat_Editor/server/src/processing/cache-spec.md
+- Review ONLY the backlink text in the "Cross-references" section: from "During hydration, each target displays one backlink" through the end of the "Backlink details:" list, just before the heading "Implementation of Cross-references". Read other parts only to check consistency (hydration/dehydration, cache layers, fragment backlinks, HTML cleaning, outdating rules).
+
+Evaluate: assignment coverage; technical correctness and feasibility; one backlink per referring occurrence; cache and reprocessing consistency; hydration/dehydration compatibility; contradictions with existing text; conciseness.
+
+Report only genuine, evidence-supported defects, quoting the conflicting text. Separate defects from optional implementation choices. Do not manufacture findings.
+
+Read-only: do not edit files, run builds, or change git state.
+
+Output: 1) READY or NEEDS REVISION; 2) counts of Critical/Major/Minor; 3) for each finding, evidence and the smallest correction; 4) a brief assessment; 5) confirmation that nothing was modified.
+```
+
+**Complete review response**
+
+```text
+1) READY
+
+2) Critical 0, Major 0, Minor 1
+
+3) Findings
+
+Minor 1: the new cached record sits outside the stated layer and cache model.
+- Evidence: the backlink text says "The cache therefore also records, per file, its resolved occurrences" and "Backlinks are a layer above layer 1". Cache design, however, says "Each layer depends only on lower-numbered layers" and "Only layers 1 and 3 are cached".
+- Why it matters: the record is cached state, and "resolved" depends on other files' `IdState` (missing, duplicate, or fragment). The backlink layer is never numbered, so the layer list and the "only layers 1 and 3 are cached" sentence no longer describe everything the cache holds.
+- No convergence defect follows from this. A change in `IdState` already outdates the referring file through `dependents`, and `commit_file` then re-diffs the record.
+- Smallest correction: make the cache-design text consistent with the record. Either add the backlink layer as a numbered layer, or amend "Only layers 1 and 3 are cached" to also name the per-file occurrence record.
+
+Optional implementation choices (not defects):
+- The spec doesn't say where backlinks render. Examples are inside the target element, or after it as a sibling block like the gather items. An inline or table-cell target may constrain this. Dehydration must remove them either way, and the intro's "dehydration routes are responsible for removing all cache hydration artifacts" already covers that.
+- The anchor scheme ("for example, from the file and the occurrence's order in it") is left open. Inserting an earlier `` shifts later anchors and outdates their targets. That is correct and convergent, only chattier.
+- Self-references, where the referring file also defines the target, outdate the file itself. This converges, because a second pass produces an identical record.
+
+The other checks found no problems:
+- Assignment coverage: each target gets one backlink per authored, resolving ``.
+- Hydration and dehydration: the added anchor is removed on dehydration (line 62-63), and the generated backlinks are excluded from saved source (line 140-141).
+- Cleaning: the cleaning rules (`` unwrapped in optional content and target inner HTML) agree with the exclusion of nested and copied ``s.
+- Gather and fragment copies: a gather element's re-hydrated copy is excluded, which matches layer 5 and the HTML cleaning rule that keeps `data-content` in `Fragment::content`.
+- Outdating: the record diff in `commit_file` is consistent with the reverse-edge rule, and deleted or moved referring files are covered.
+- Termination: backlinks sit outside `Target::inner_html` and `Fragment::content`, so propagation still terminates.
+
+4) Assessment: the backlink text is concise and internally consistent with hydration, cleaning, the cache layers and the outdating rules. The only gap is that the new record is not reflected in the layer list in Cache design.
+
+5) Nothing was modified. I only read /Users/kaspi/Desktop/Paradigms/CodeChat_Editor/server/src/processing/cache-spec.md, and ran one grep and one Read on it.
+```
+
+After this review I amended the cache design sentence "Only layers 1 and 3 are cached" to name the per-file occurrence record, as its smallest correction suggested; I did not run a fifth round. I judged no part of the response incorrect or irrelevant, so nothing is struck through. The optional choices it lists were left open on purpose.