Skip to content

docs: organize canonical documentation layout and verify new pages - #2791

Merged
morluto merged 37 commits into
mainfrom
codex/review-fixes-pr-2403
Nov 7, 2026
Merged

morluto merged 37 commits into
mainfrom
codex/review-fixes-pr-2403

Conversation

@morluto

@morluto morluto commented Oct 13, 2026 •

Copy link
Copy Markdown
Owner

Continues #2403, originally contributed by @matbrgz (Matheus Breguêz); the original commits and attribution remain in the history. This follow-up was needed after GitHub rejected the maintainer push to the original fork.

Organizes authored documentation by reader task and owner while preserving published guide routes. Integrates current main. The migration left stale direct links, missing sidebar entries, and renderer-dependent anchors; this change updates references at their sources, registers the guides, and adds stable anchors shared by GitHub and VitePress. A conflict resolution also redirected the Windows Ghidra verifier identity import to a module that does not export it; the verifier now imports the identity from its metadata owner, as the other verifier does. The route registry and independent published-guide baseline cover the current guides; the generated-site verifier checks internal targets, anchors and edit sources.

Validation on the updated branch:

  • After merging main at 3e8a5f76, Node 24 docs:check (including 9 README consistency tests) and format:check passed; the push hook typecheck and lint also passed.

  • npm run verify:docs:routes passed: 67 published routes, 334 rendered pages and 2,171 distinct internal targets and anchors.

  • npm run docs:check passed, including README consistency tests; focused artifact comparison and target provenance conformance tests passed (24 tests).

  • Website translation extraction and scripts/website.py check passed for 22 catalogs and 460 pages; translation fallback status matches main.

  • The Windows verifier now links its modules and reaches the expected Windows x64 host guard on macOS; real Windows execution was not tested.

  • Tracked GitHub targets for site links to repository-only files were verified locally. External network links and real providers were not tested; no other related cleanup is known.

Latest review follow-up: merged main d5b5808f91 cleanly and corrected the translated README link-drift mutation to use the relocated installation guide. The stale fixture failed before the correction; the focused regression passed afterward and still detects link drift. Node 24 docs:check, verify:docs:routes (67 published routes, 338 rendered pages, 2,188 internal targets and anchors), and typecheck/lint passed. External links and real providers were not tested; no related cleanup is known. Hosted CI on the new head is pending.

Author readiness

Human owner: @morluto

  • 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.

Review follow-up 7ddfa70 restores the pinned Wakaru v1.14.0 compatibility-policy path in the guide and source comment. The upstream file and heading were verified, and npm run docs:check passed, including 9 README consistency tests.

Review follow-up 4bf86fa carries #8790’s six missing guide links into the reorganized index and restores wxapkg and ESP flash links that exist on current main. npm run docs:check passed. The updated index also retains the newer desktop documentation from current main.

Review follow-up 751c1e1 carries #8792’s parent and sessionless view-retention clarification into the relocated MCP guide. npm run docs:check passed.

Review follow-up 11c4468 carries #8791’s standalone Evidence-import help and Unknown-revision clarification into the relocated CLI guide. The focused help tests and npm run docs:check passed.

Merged current main c928bb8 in 9330cc3. The reorganized index retains the six guide links from #8790, the MCP guide carries #8792, and the CLI guide and help/test carry #8791. On Node 24.22.1, npm run docs:check passed (including nine README consistency tests), and the focused CLI help suite passed two tests. CI for this head is pending.

matbrgz and others added 5 commits October 12, 2026 18:44
Group all existing authored guides by domain and ownership, expose complete navigation, and preserve their public routes. Update physical path consumers and release configuration while retaining historical records. Document domain-based specs and ADR slugs without global numbering.

Co-Authored-By: Codex <[email protected]>
Resolve upstream changes without dropping translations or the signal-recording guide. Add a production HTML regression for stable routes, edit links, assets and fragment targets.

Refs #2401

Co-Authored-By: Codex <[email protected]>
Preserve upstream managed summaries and signal guides; verify public routes, source paths and anchors in documentation CI.

Co-Authored-By: Codex <[email protected]>
Retain list_unknowns paging guidance in docs/reference/mcp-contracts.md and verify the public routes and affected MCP regressions.

Co-Authored-By: Codex <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-07T17:43:44.510998Z 3a308fe New commits
ℹ️ 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2b1cc586ab

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/.vitepress/documentation.ts Resolved
@greptile-apps

greptile-apps Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The reviewed changes appear safe to merge; no new blocking defect was established.

Summary

Organizes documentation by reader task while keeping existing published guide routes.

  • Guides are grouped by topic while their published website routes stay familiar.
  • Documentation builds check published routes and rendered links.
  • Evidence import help explains its counts and session limits.
  • Links and file references follow the new documentation paths.

No new actionable issue was established. Earlier findings were checked against the supplied changes and current code without reposting them. The Wakaru guide and source comment retain the pinned upstream v1.14.0/docs/cli.md reference, matching morluto’s fix reply.

The previous and current heads have different merge bases with the supplied target, so this review used the full PR changes. Builds, tests, and browser checks were not run; dependencies were unavailable. GitHub status and possible superseding PRs could not be checked because GitHub authentication was unavailable.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  A["Categorized Markdown sources"] --> B["VitePress link rewriting"]
  R["Shared route registry"] --> B
  R --> N["Site navigation"]
  B --> H["Published HTML at existing routes"]
  H --> V["Route, link, anchor and edit-source checks"]
  V --> C["Documentation CI and publishing"]
Loading

Reviews (23) · Last reviewed commit: "fix(test): preserve translated guide lin..." · Reviewed by Greptile

Comment thread scripts/verify-documentation-routes.mjs Resolved
Comment thread scripts/verify-documentation-routes.mjs Resolved
Comment thread docs/.vitepress/config.ts Resolved
Comment thread docs/development/documentation.md Resolved
@matbrgz

matbrgz commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

@morluto The fork behind #2403 (UndefinedDump/rea) is organization-owned. GitHub's Allow edits from maintainers permission is documented for forks in personal accounts; it does not grant upstream maintainers push access to organization-owned forks merely because the API reports maintainerCanModify: true. An organization fork can still be edited with explicitly granted write access.

This is consistent with the HTTP 403 described here. Continuing the documentation work in #2791 on a branch inside morluto/rea avoids that cross-fork permission limitation and preserves the original contribution history.

References: GitHub's official documentation and the organization-fork limitation discussion.

@greptile-apps

This comment has been minimized.

Comment thread scripts/verify-documentation-routes.mjs Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

selected [raw NMOS 6502 images](raw-binary.md#nmos-6502) with a caller-supplied

P2 Badge Point the raw-image link at its physical source

When this Markdown is read on GitHub rather than through the VitePress renderer, raw-binary.md resolves to the nonexistent docs/getting-started/raw-binary.md; the moved guide is now docs/providers/raw-binary.md. The rendering hook only repairs the published-site URL, so this source link still returns a 404 and should use ../providers/raw-binary.md#nmos-6502.

AGENTS.md reference: AGENTS.md:L60-L64

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/.vitepress/config.ts Resolved
@matbrgz

matbrgz commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

Confirmed the P1 on current head ce3a418715e90b666eae8be193948c7bd3cba710: check_repository_links reports the deleted docs/web-network-captures.md target, and that verifier gates website checks and publishing.

The fix is in #2820, targeting this PR's branch codex/review-fixes-pr-2403. It updates the browser guide href and regenerates the protected-link comments in the POT/18 PO catalogs, preserving all translated messages.

Full website verification passed: 344 HTML pages, 22,009 local references and all 12 maintenance regressions. Commit 351ec9441c0c6464bce1fd8044cb97ad09f5a22f is signed by Matheus Breguêz. This follow-up can be merged into this branch; it has not yet been incorporated into #2791.

@morluto

morluto commented Oct 13, 2026

Copy link
Copy Markdown
Owner Author

Review findings addressed at their producing boundaries and consumers. Latest changes were reviewed from source; tests and provider runs were skipped at the maintainer's request. Findings requiring separate decisions or verification remain open.

  1. thread 1

The documentation move left a live website link bound to the old physical source. The browser guide now links to docs/guides/web/web-network-captures.md. Inspected other hard-coded main documentation links in the website public pages; this was the stale moved-guide reference.

Published in 2f1f944. Validation: inspected the original finding, producing boundary and affected consumers; source formatting only. Tests, builds, checks, lint, typechecks, provider workloads and CI reruns were skipped at the user’s explicit request. Any authored regressions are unexecuted. No directly related cleanup remains identified in this bounded source pass; broader contribution-scope and real-provider verification requirements remain before integration.

  1. thread 1

The route verifier combined external-origin and outside-base filtering, so a local base escape was silently ignored. Origin filtering now skips external URLs separately and rejects every same-origin URL outside /rea/ before file/anchor checks. All generated-page consumers use this single resolved-URL rule.

Published in 2f1f944. Validation: inspected the original finding, producing boundary and affected consumers; source formatting only. Tests, builds, checks, lint, typechecks, provider workloads and CI reruns were skipped at the user’s explicit request. Any authored regressions are unexecuted. No directly related cleanup remains identified in this bounded source pass; broader contribution-scope and real-provider verification requirements remain before integration.

  1. thread 1

The cached typecheck inputs named only the previous single configuration source. After reading the installed Turbo configuration/input documentation, expanded that input to docs/.vitepress/**/*.ts so navigation and later configuration imports invalidate the owning task cache. No Turbo task was executed.

Published in 2f1f944. Validation: inspected the original finding, producing boundary and affected consumers; source formatting only. Tests, builds, checks, lint, typechecks, provider workloads and CI reruns were skipped at the user’s explicit request. Any authored regressions are unexecuted. No directly related cleanup remains identified in this bounded source pass; broader contribution-scope and real-provider verification requirements remain before integration.

  1. thread 1

The authoring guide named the build command without the added route verifier. It now instructs contributors to run verify:docs:routes, matching the package command that builds the production site and checks rendered local links, anchors and physical edit targets. Existing documentation-fact instructions remain.

Published in 2f1f944. Validation: inspected the original finding, producing boundary and affected consumers; source formatting only. Tests, builds, checks, lint, typechecks, provider workloads and CI reruns were skipped at the user’s explicit request. Any authored regressions are unexecuted. No directly related cleanup remains identified in this bounded source pass; broader contribution-scope and real-provider verification requirements remain before integration.

@morluto morluto added documentation Improvements or additions to documentation i18n Translations and localization workflow area: providers Provider and capability discovery, including provider proposal triage area: build Build, CI, packaging, and publishing area: setup Setup, packaging, upgrade, install, Doctor, and client registration labels Oct 13, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9330cc303f

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/readme/README_zh.md Resolved
@morluto
morluto merged commit a67525c into main Nov 7, 2026
7 of 9 checks passed
@morluto
morluto deleted the codex/review-fixes-pr-2403 branch November 7, 2026 17:42
zw-g added a commit to zw-g/rea that referenced this pull request Nov 8, 2026
main moved docs/native-investigation.md to
docs/guides/native/native-investigation.md (morluto#2791). Git carries this
branch's four-line docs change over to the new path.

main also made `remediation` required on an unavailable
ProviderAvailability (morluto#8532), so the unconfigured symbol provider
fixture in nativeDispatchAvailability.test.ts now sets one. Without it
the merged tree fails `npm run typecheck` (TS2322).

Signed-off-by: Zhaowei Gu <[email protected]>
8rulerstar added a commit to 8rulerstar/rea that referenced this pull request Nov 9, 2026
…e in the documentation directory

Imported Evidence can carry a different subject.local_path for the same pak,
so the view now checks the subject's format and digest, as the IL2CPP view
does. The guide moves from a hand-written sidebar entry to documentation.ts
and docs/README.md, which own navigation since morluto#2791.
8rulerstar added a commit to 8rulerstar/rea that referenced this pull request Nov 9, 2026
…ter the guide in the documentation directory

Imported Evidence can carry a different subject.local_path for the same
catalog, so the view now checks the subject's format and digest, as the
IL2CPP view does. The guide moves from a hand-written sidebar entry to
documentation.ts and docs/README.md, which own navigation since morluto#2791.
@morluto morluto added the area: tests Test suite and verification label Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: build Build, CI, packaging, and publishing area: providers Provider and capability discovery, including provider proposal triage area: setup Setup, packaging, upgrade, install, Doctor, and client registration area: tests Test suite and verification ci:full documentation Improvements or additions to documentation i18n Translations and localization workflow P3: low Low priority, nice to have

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants