Repository navigation
fix(docs): preserve mirrored ClawHub maturity links - #138241
Conversation
|
Codex review: blocked before merge. Reviewed September 4, 2026, 10:54 AM ET / 14:54 UTC. ClawSweeper reviewWhat this changesThe PR shares navigation-derived ClawHub route discovery between the documentation-link auditor and maturity-page renderer so generated maturity Markdown retains valid mirrored links. Merge readiness⛔ Blocked before merge - 1 item remains Keep this PR open. Current main still builds the maturity renderer’s route index from physical local files and redirects only, while the ClawHub pages are declared in navigation and mirrored separately; this focused shared route collector repairs that gap with no blocking correctness or security finding. Priority: P3 Review scores
Verification
How this fits togetherThe maturity renderer converts taxonomy documentation references into links in generated scorecard pages. The docs publisher separately mirrors ClawHub pages, and navigation declares which of those public routes are valid. flowchart LR
A[Taxonomy documentation references] --> B[Maturity renderer]
C[Documentation navigation] --> D[Mirrored route collector]
D --> B
B --> E[Generated maturity Markdown]
F[Docs publisher mirror] --> C
G[Link auditor] --> D
Before merge
Agent review detailsSecurityNone. PR surfaceTests +24, Other +18. Total +42 across 5 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Technical reviewBest possible solution: Use the shared navigation-derived mirror-route collector so the auditor and renderer retain one public-route policy without importing audit CLI behavior. Do we have a high-confidence way to reproduce the issue? Yes, from source. Current main admits only physical local docs routes, while target-owned navigation declares mirrored ClawHub routes; the changed CLI regression encodes that exact nav-only case, although local execution was blocked because Corepack attempted a cache write on the read-only review host. Is this the best way to solve the issue? Yes. Extracting the existing auditor route policy into a shared helper fixes the renderer at its route-index owner and avoids both duplicated traversal and importing the audit CLI. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 8f986e0ea839. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (3 earlier review cycles)
|
bc9b8f0 to
df7ad8a
Compare
Share the existing declared ClawHub route policy between the docs auditor and maturity renderer. Preserve precise taxonomy references, local/private exclusions and redirect fragment behavior.
df7ad8a to
583bc88
Compare
|
Merged via squash.
|
…9-prep * commit '407a8f453c0f0306af1ddc0aafa8697c1d49a9e7': (312 commits) perf(ui): coalesce automation event refreshes (#138065) fix: reject incomplete Skill Workshop directory reads (#138082) test(ui): decouple rendering checks from generated wording (#138283) perf: avoid temporary entries in bounded JSON traversal (#138017) fix(irc): render complete messages before splitting (#138328) perf: prepare worker trajectory payloads only for recorded events (#138086) fix(mcp): paginated listings no longer time out after a forward clock step (#137206) fix(codex): page native transcripts and bound UI previews (#136282) feat(gateway): apply more settings without restarting (#138112) fix(docs): preserve mirrored ClawHub maturity links (#138241) fix(test): own UI animation and legacy database setup (#138296) fix(tts): preserve literal directives in Markdown code (#138319) fix: load chat widgets behind authenticated gateways (#138074) chore(ui): cover native approval finalization (#137259) fix(cron): cancel conditions before main-session handoff (#138313) fix(backup): preserve text after embedded NUL characters (#138327) fix(android): align composer control sheets (#137442) fix(ci): wait for replacement PR runs instead of stale failures (#138307) fix(sessions): keep Gateway responsive with long transcripts (#138094) fix(computer): map window inputs to delivered image coordinates (#138271) ... # Conflicts: # scripts/release-check.ts # test/release-check.test.ts
Share the existing declared ClawHub route policy between the docs auditor and maturity renderer. Preserve precise taxonomy references, local/private exclusions and redirect fragment behavior.
Generated maturity pages silently omitted valid ClawHub links because the renderer indexed only Markdown files present in this repository. ClawHub documentation is supplied by the publishing pipeline from its separate source repository.
Share the auditor's existing declared-mirror route policy with the maturity renderer. Navigation-declared ClawHub pages and index aliases now remain in generated Markdown. Missing ordinary local pages, undeclared mirrors, private paths and external targets stay excluded, and existing redirect/fragment behavior is preserved. All five canonical taxonomy references remain unchanged. This replaces the earlier proposed taxonomy substitutions: the physical-file-only taxonomy assumption was incorrect, and the ClawSweeper finding identifying the lost publishing/trust links is addressed at the renderer owner.
The shared helper replaces the auditor's local implementations without importing its CLI side effects. Tooling is +75/-57 (net +18); tests are +26/-2 (net +24). No taxonomy, score, schema, configuration, scenario-catalog or publishing-pipeline changes are included. This is a correctness repair with no memory or performance claim.
The actual renderer CLI regression fails against the original renderer on exactly five missing mirror links and passes against the candidate. Both complete existing suites pass all 26 cases (19 auditor, seven renderer), including unknown/private/local omissions, redirects and fragment precedence. All five files pass formatting; the canonical changed-file gate passes all 27 stages, including typechecking, dead-export checks and lint. Independent source and actual-proof audits found no actionable issue, and managed Codex review through P2 is clear. All local proof processes and resource claims are closed.
This proves locally generated Markdown, not a new deployed docs build. The public publishing, skill-format and security-audits pages were inspected separately. The original failing logs remain preserved; their cleanly closed temporary runtime was removed normally. Earlier CI results for the superseded taxonomy-only head remain historical; the new head must pass normal hosted CI.
Maintainer disposition for the current review: retain the shared route collector and its net 18 tooling lines. The added route-admission capability is consumed by both the auditor and renderer; removing the shared owner would reintroduce duplicate policy or pull CLI side effects into the renderer. Existing namespace restrictions, redirects and fragment behavior remain covered.
The review’s serialized-state flag names a documentation renderer, not a runtime store. Its existing output map and writer emit derived
maturity/scorecard.mdandmaturity/taxonomy.md; the unchanged optional static-assets path copies source YAML/evidence JSON without changing their representation. This patch changes only the in-memory route index used to render links. Taxonomy, score and evidence input formats, database schemas, stored user state, CLI flags, and output filenames remain unchanged, so no migration is needed. The original/candidate CLI comparison uses the same existing input fixtures, and all seven renderer cases plus nineteen auditor cases pass. Generated documentation gains the missing declared links without a storage upgrade.