Skip to content

docs: repair dead anchors and unambiguous documentation errors - #6383

Closed
ashyyhere wants to merge 1 commit into
morluto:mainfrom
ashyyhere:docs/fix-doc-typos-and-dead-anchors
Closed

ashyyhere wants to merge 1 commit into
morluto:mainfrom
ashyyhere:docs/fix-doc-typos-and-dead-anchors

Conversation

@ashyyhere

@ashyyhere ashyyhere commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Three same-file links in the Malayalam README point at English anchor names the translation no longer defines, so clicking them on GitHub does nothing. This PR repoints them at GitHub's real rendered heading ids, repairs the unambiguous documentation errors found in the same full-repository sweep, and adds a conformance case that keeps the Malayalam anchor forms — including the U+200C the rendered ids retain — from silently regressing.

Fixes #6731

Problem and expected behavior

  • docs/readme/README_ml.md links three of its own sections by their former English names (#showcases at line 250, #update-rea at line 278, and the badge link #what-you-can-analyze at line 14); none of the three anchors exists in the file.
  • docs/il2cpp-metadata.md merged words into run-together tokens (bounded to1GiB, limited to65,536, a64MiB, exact64-bit, characters,32MiB file,1,000,000).
  • docs/windows-ghidra-p0.md dropped a predicate ("Caller priority is preserved, and caller CPU affinity whenever...").
  • docs/browser-observation.md began a paragraph and three sentences in lowercase.
  • docs/installation.md said "the former remains the diagnostic fallback" after a four-item list with no pair to refer to.
  • docs/agent-environments.md used nonstandard "another origin than"; docs/releasing.md had an h3 under the h1 where every sibling section is h2; docs/testing.md ended a bullet without terminal punctuation.
  • Four files (docs/apple-application-analysis.md, docs/process-capture.md, website/README.md, website/figures.md) used a stray Unicode right single quote where the rest of each file uses ASCII apostrophes.

Change and scope

Documentation-only prose and link targets, plus one conformance test. No code, contract, or generated-metadata changes.

The three Malayalam anchors now target the localized headings, taken from GitHub's rendered user-content- heading ids rather than a recomputed slug: GitHub retains U+200C in ids such as #rea-അപ്‌ഡേറ്റ്-ചെയ്യുക, which the npm github-slugger package strips. For the same reason README_fa.md is correct as-is and is untouched.

Commit 6807f08 extends tests/conformance/readmeConsistency.test.ts with a Malayalam case mirroring the existing Persian one, writing the fragile joiner as an explicit \u200c escape so an editor cannot strip it invisibly. This addresses the P2 review finding on this PR; the test was verified to fail when the joiner is removed from README_ml.md.

Follow the contribution scope. Not applicable: no new provider or capability; no target execution, injection, mutation, or protection recovery.

Contract and boundary impact

  • Semantic owner and earliest changed stage: documentation prose and rendered link targets only.
  • Contribution scope fit and linked maintainer decision: ordinary docs fix within existing boundaries; not applicable.
  • CLI and MCP/tool-catalog contract: none.
  • Provider, bridge, target-format, or platform compatibility: none.
  • Evidence, artifact, provenance, or reconstruction contract: none.
  • Target selection, authority, upstream behavior, and cleanup details: not applicable.
  • Generated metadata (docs/public/product-catalog.json), package, or installation impact: none; no generated files touched.

Expected effects (check known effects; use documentation-only on its own).

  • Read existing files or captured data.
  • Launch or attach to a process.
  • Inject instrumentation or run scripts/code.
  • Change process memory, registers, files, or configuration.
  • Contact network services.
  • Recover protected code or work around protections.
  • Documentation or usability only; no target interaction.
  • Not sure yet; investigation or maintainer guidance needed.

Evidence and regression coverage

  • Tests added or updated: tests/conformance/readmeConsistency.test.ts gains a Malayalam case covering all three repaired heading/fragment pairs, including the U+200C joiner, mirroring the existing Persian coverage. Negative check: with the joiner stripped from README_ml.md, the test fails (guard verified); with the branch applied, it passes 10/10.
  • Base reproduction or other evidence: executed. On the base revision each of the three anchors is absent from the file's rendered heading ids (verified against GitHub's rendered user-content- ids of docs/readme/README_ml.md on main); after the change every same-file anchor in the file resolves.
  • Remaining proof gaps: anchors were verified against the current GitHub render of main, not a local VitePress build of the translated page.

For evidence-bearing changes:

  • Observed, derived, and inferred claims remain distinguishable.
  • Artifact identity, source provenance, and failed attempts remain preserved.
  • Unsupported, incomplete, unavailable, or uncertain outcomes remain visible.

Validation performed

  • npm run docs:check — passed on this branch (6/6 turbo tasks; tests/conformance/readmeConsistency.test.ts 10/10).
  • Full-repo markdown link/anchor crawl after the change — no unresolved same-file anchors remain; remaining hits reviewed and confirmed false positives (U+200C forms that GitHub renders correctly) or pre-existing generated-file links.

Compatibility, safety, and release

  • Breaking changes or migration steps: none.
  • Real Hopper/Ghidra, browser, or OS coverage: not applicable; docs-only.
  • Package or release metadata impact: none.
  • Security, privacy, process, or containment review: none.

Author readiness

Human owner: @ashyyhere

  • I reviewed the final diff and relevant existing code, understand the change and its edge cases, and take responsibility for the complete PR, including AI-assisted work.
  • I checked the evidence above, confirmed it supports the current change, and recorded meaningful validation gaps.
  • I declare this PR ready for initial maintainer review.

Before merge

  • This PR addresses a concrete problem or an agreed enhancement.
  • Material scope and authority questions are resolved, and any required maintainer scope decision covers the final diff.
  • The PR has one focused outcome and the title follows type(scope): outcome.
  • Related issue is linked, or the reason for not linking one is stated above.
  • Tests cover changed observable behavior and meaningful failure paths.
  • Owning docs, contracts, and generated metadata are updated where needed.
  • User-visible CLI/MCP changes include representative output.
  • I checked the final diff for secrets, unrelated cleanup, and unsupported claims.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-10-22T19:22:27.191113Z 28c34b7 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@greptile-apps

greptile-apps Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The test-only change appears safe to merge.

Summary

Adds a Malayalam regression test in tests/conformance/readmeConsistency.test.ts.

  • The conformance check keeps Malayalam heading links paired.

The merge bases differ, so this review used the full PR diff. Tests were inspected, not run. Supersession could not be checked because GitHub access was unavailable.

Reviews (3) · Last reviewed commit: "test(conformance): guard Malayalam headi..." · Reviewed by Greptile

Comment thread docs/readme/README_ml.md Resolved
ashyyhere added a commit to ashyyhere/rea that referenced this pull request Oct 23, 2026
Extend readmeConsistency.test.ts with a Malayalam case mirroring the
existing Persian one, addressing the P2 review finding on morluto#6383. The
update heading's U+200C is written as an explicit escape so an editor
cannot strip it invisibly; verified the test fails when the joiner is
removed from README_ml.md.

npm run test:local -- tests/conformance/readmeConsistency.test.ts
passes 10/10.
@ashyyhere ashyyhere changed the title docs: fix dead anchors, merged words, and stray punctuation docs: repair dead anchors and unambiguous documentation errors Oct 23, 2026

@baron baron left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI-assisted review checked the full documentation diff, the three Malayalam heading/fragment pairs (including U+200C), the added regression and changed installation/capacity/authority wording. No blocking content defect found; the earlier missing-regression thread is addressed. Six selected local onboarding checks passed; no independent VitePress/live-rendered-page build is claimed.

I authorized CI, but attempt 2 of 39932743178 failed Hopper alternate-launcher assertions and public Go damaged/high-bit MZ-family cases. These are outside the documentation diff, yet their failure is real and not established as transient or reproduced on a clean base. Approval is withheld pending required checks; rerunning repeatedly is not a repair. The refreshed PR body was read, so the earlier stale-body suggestion is withdrawn.

Extend readmeConsistency.test.ts with a Malayalam case mirroring the
existing Persian one, addressing the P2 review finding on morluto#6383. The
update heading's U+200C is written as an explicit escape so an editor
cannot strip it invisibly; verified the test fails when the joiner is
removed from README_ml.md.

npm run test:local -- tests/conformance/readmeConsistency.test.ts
passes 10/10.
@ashyyhere
ashyyhere force-pushed the docs/fix-doc-typos-and-dead-anchors branch from 6807f08 to 7ac6d9b Compare October 24, 2026 17:45
@ashyyhere

Copy link
Copy Markdown
Contributor Author

their failure is real and not established as transient or reproduced on a clean base. Approval is withheld pending required checks; rerunning repeatedly is not a repair.

Both failure classes are pre-existing on main, root-caused below, and already repaired on main. Nothing is folded into this PR.

Go damaged/high-bit MZ (5 failures) - fixture/code mismatch present on the base. On 0154141, readPeImage throws BinaryFormatFailure("unsupported", "MZ Windows new-header candidate is unresolved") while createGoBinaryDiagnosticFixtures() groups damaged-pe and high-bit-* under code: "invalid_request". Both sides were read directly from that base commit, so the mismatch fails regardless of this diff. Current main (422ca5a8) aligns them: readPeImage still classifies candidate as unsupported, and the fixture maps unresolvedWindowsCandidates to unsupported_target (6ba6aea, 98a2322).

Hopper alternate-launcher (1 failure) - runner image, not the repository. The ubuntu-26.04 image (release 20261012.163) ships multicall coreutils, dispatched by argv[0]. The fixture copied /usr/bin/sleep and executed it under the foreign name Hopper-alternate; the dispatcher does not recognize that name, so the process exits at once, and a zombie's /proc/<pid>/cmdline is empty - hence expected '' to be '.../Hopper-alternate'. main repairs this in cc8835c, replacing the copied coreutils binary with a Node launcher. The same image change broke the firmware sniffer's realpath("/usr/bin/true") check - repaired in 3ba1942.

This PR is rebased onto current main (7ac6d9be). Its documentation fixes already landed on main in 2596667b docs: repair localized anchors and agent terminology, so the PR now carries only the conformance regression test guarding the three Malayalam heading/fragment pairs (including U+200C).

Validation. tests/conformance/readmeConsistency.test.ts passes locally on the rebased branch (10/10). The Hopper and firmware paths are Linux-runner-only: their root cause is derived from source and the runner-image manifest, and I did not execute them locally. Local dependency installation is stale and off-pin (.nvmrc 24.22.1 vs installed 25.9.0), so I do not claim local typecheck/lint/docs:check; CI's clean install establishes those.

@morluto

morluto commented Oct 26, 2026

Copy link
Copy Markdown
Owner

Thank you for the anchor and prose fixes. Those documentation corrections are now on main, while this PR currently contains the distinct Malayalam anchor regression test. Could you refresh the title and description around that remaining test, including the rendered-heading and zero-width-character evidence? I have closed #6731 for the documentation changes and am leaving this PR open for the test.

@CassieFox23

Copy link
Copy Markdown
Contributor

TL;DR: I ran the one test file this PR touches on Node 22.23.4, 24.22.1 and 26.12.1, and all 10 tests passed on each. At head 7ac6d9b the PR only adds one test, and the README and doc fixes listed in the body are not in the diff. Its merge base already has fixes to those docs, like morluto's 2596667.

Check Node 22.23.4 Node 24.22.1 Node 26.12.1
tests/conformance/readmeConsistency.test.ts pass: 1 file, 10 tests pass: 1 file, 10 tests pass: 1 file, 10 tests

What the PR changes

  • The PR's one commit is 7ac6d9b. Against the merge base, 422ca5a, it changes one file: tests/conformance/readmeConsistency.test.ts (+21 lines).
  • It adds one test: preserves zero-width non-joiners in Malayalam links to GitHub-rendered headings.
  • The merge base already has fixes in place. In docs/readme/README_ml.md at 422ca5a, the badge link on line 14 points at the Malayalam heading, not #what-you-can-analyze.
  • docs/il2cpp-metadata.md at 422ca5a no longer has bounded to1GiB.
  • morluto's 2596667 (24 Oct), docs: repair localized anchors and agent terminology, is in that merge base. It changed docs/readme/README_ml.md, docs/agent-environments.md, docs/releasing.md, docs/windows-ghidra-p0.md, docs/apple-application-analysis.md, docs/process-capture.md, website/README.md and website/figures.md.
  • [Docs] Dead same-file anchors in the Malayalam README and unambiguous documentation errors from a full-repo sweep #6731, which the body says this PR fixes, closed on 26 Oct.
  • Main has changed docs/readme/README_ml.md and readmeConsistency.test.ts since the merge base. A string search (not a test run) finds what the new test asks for in main b81da90's docs/readme/README_ml.md. That is all three headings and all three links.
  • One idea: the title and body still describe doc edits, so an updated title and body would help a reviewer.

CI and merge state on 7ac6d9b

  • CI and PR title are in action_required, waiting for a maintainer to approve them.
  • PR readiness, Greptile Review and Validate author declaration passed.
  • The head is 1,357 commits behind main b81da90. GitHub says the PR is mergeable, and its merge state is blocked.

Not run

  • The new test against main's docs/readme/README_ml.md. The check above is a string search only.
  • A merge with current main, b81da90.
Test setup
  • Box: Fedora 44 VM (4 vCPUs, 8 GB) on my Nobara 44 PC, Linux 7.2.11
  • Node: 22.23.4, 24.22.1, 26.12.1
  • Head / base: 7ac6d9b / 422ca5a (merge base with main)
  • Install: npm ci --offline and npm run test:prepare on Node 24.22.1, exit 0
Commands
npm ci --offline
npm run test:prepare
xvfb-run -a npm run test:focused -- tests/conformance/readmeConsistency.test.ts

🤖 Written and tested with Claude Code (Sonnet 5.5, verified by Opus 5.5), posted with my OK 🦊

N0zoM1z0 pushed a commit that referenced this pull request Nov 14, 2026
Extend readmeConsistency.test.ts with a Malayalam case mirroring the
existing Persian one, addressing the P2 review finding on #6383. The
update heading's U+200C is written as an explicit escape so an editor
cannot strip it invisibly; verified the test fails when the joiner is
removed from README_ml.md.

npm run test:local -- tests/conformance/readmeConsistency.test.ts
passes 10/10.

Supersedes #6383 (follow-up to #6731)

Co-Authored-By: gensokyo-dev <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@N0zoM1z0

Copy link
Copy Markdown
Collaborator

Thanks! This landed on main in #10490 as its own commit, cherry-picked with your authorship kept (rebase merge). Closing in favor of that merge.

@N0zoM1z0 N0zoM1z0 closed this Nov 14, 2026
@morluto morluto added area: domain Domain logic, errors, and pure functions documentation Improvements or additions to documentation labels Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: domain Domain logic, errors, and pure functions documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Docs] Dead same-file anchors in the Malayalam README and unambiguous documentation errors from a full-repo sweep

5 participants