The scenario: every route needs review, while only selected URLs belong in search
An engineering route inventory and a crawler sitemap answer different questions. A reviewer may need to find an authenticated screen, a draft surface or a route template. A search submission should describe the chosen public URLs rather than automatically treating every source file as an indexing candidate.
The inspected earlier Movo-X site repository has a curated HTML review index, filesystem discovery, a public-static candidate helper and a separate XML index route. Five isolated cases examine selected discovery and filtering behaviour. The source revision is dated; this research does not claim that it describes the current live site’s complete route or indexing state.
Scan the route tree using the project’s selected conventions
The discovery module walks page files below the application source root. It collapses route-group directories from the resulting URL, skips selected helper and API directories, deduplicates discovered paths and returns a sorted result.
The synthetic filesystem fixture checks those conventions with small, empty route files. It does not compile a Next application or prove equivalence with every framework routing feature, redirect, rewrite, parallel segment or runtime-only endpoint. A source walker is useful for discovery, but its accepted conventions should remain explicit rather than becoming a claim of universal framework-route resolution.
Preserve curated descriptions while appending discovered pages
The complete review index begins with hand-curated sections and descriptions, then adds previously uncovered static discoveries to selected categories. The fixture checks preservation of the existing about-page description, a deduplicated discovered path and stable results across repeated calls.
Curated entries are not automatically verified against the current filesystem by that merge. Their presence can express a review expectation even when a corresponding source route has changed. A complete QA process should therefore compare planned, discovered and actually served URLs rather than reporting the merged inventory count as a count of verified working pages.
Keep authenticated review entries separate from public candidates
The complete HTML index can include an authenticated route under a labelled review section. The public-static helper applies a separate set of excluded prefixes. A fixture checks that the same synthetic administrative path remains available to the review inventory while being absent from the public candidate list.
This classification is not access control. Omitting a URL from XML cannot protect its contents, and listing a path in a review page cannot establish that it is safe to publish. Authentication, authorization and the audience of the human review index require independent checks.
Test exclusion rules at their actual path boundaries
The selected filter matches an excluded path exactly or a descendant separated by a slash. The fixture checks an administrative root and child while preserving an unrelated public path that begins with similar letters. That avoids a broad string-prefix rule hiding a different public route accidentally.
It also means exclusion lists need deliberate maintenance when naming conventions change. A similarly named hyphenated route is not automatically a descendant of an excluded path. The tested algorithm does not discover privacy policy from a route’s name, source comments or intended audience.
Expand dynamic routes through their real data contract
The reviewed discovery output filters paths containing dynamic placeholders instead of emitting template brackets as public URLs. The HTML source points reviewers toward a separate expanded programmatic inventory, and the XML index source names families of country and locale shards.
A template’s existence does not establish which parameter values are valid or whether each expansion has useful distinct content. This case did not execute those datasets or shard generators. Expansion acceptance should check actual allowed values, duplicates, redirects, canonical choices and the rendered result before treating a generated combination as a published page.
Run source discovery at the stage where the source tree exists
The HTML inventory page explicitly selects static generation so its filesystem scan is intended to run during the build. A fixture also covers a missing source tree: curated review entries remain, while discovered public candidates are empty.
That fallback is useful to understand operationally. A nonempty curated index does not by itself prove that source discovery ran successfully. Build evidence should retain source revision, discovered counts and the generated output, especially when the runtime artifact omits development source files. This research did not build or inspect a deployed artifact for that historical site revision.
Validate XML output separately from candidate collection
Google’s sitemap guidance distinguishes an HTML navigation page from supported Search Console sitemap formats. It also recommends fully qualified chosen canonical URLs and treats submission as a hint rather than a crawl guarantee. Those requirements apply after collecting candidate paths.
The reviewed XML index constructs shard locations and uses a deliberate timestamp constant rather than a new time on every request. That source choice does not establish that every shard exists, fits limits or has accurate modification metadata. Parse the produced XML, verify referenced shards and sample the listed pages before reporting search readiness.
A practical route and sitemap acceptance package
Retain group-collapse, exclusion, curated-merge, dynamic-template and missing-tree fixtures. Compare the review inventory with generated public candidates, then validate canonical URL selection and actual response behaviour. Keep build output, XML checks and Search Console observations as separate receipts rather than combining them into one page-count claim.
For a CTO, this separates review coverage, public eligibility, parameter expansion and crawler submission. The pinned source and five scoped cases establish selected local discovery behaviour. They do not establish current Movo-X coverage, content quality across every expansion, Google indexation or rankings.
Compare the reviewed boundaries
Different inventories in a large route surface
On smaller screens, scroll across to compare every column. Keyboard users can focus the table and use the arrow keys.
| Inventory or stage | Evidence here | Further acceptance |
|---|---|---|
| Human review index | Curated merge and labelled static discovery fixtures | Working links and intended reviewer audience |
| Public static candidates | Selected prefix and dynamic-template filtering | Current canonical/indexability policy |
| Dynamic URL expansion | Shard-family source inspected | Actual datasets and generated page quality |
| Crawler submission | XML index source and primary guidance reviewed | Live XML, processing and indexing observations |
Illustrative control flow
Pseudocode summarizing the decision boundary. It is not copied production code or a deployment instruction.
review_inventory = curated_descriptions + discovered_static_routes()
public_candidates = apply_selected_public_route_policy(discovered_routes)
expanded_candidates = enumerate_valid_dynamic_parameters_from_real_data()
canonical_urls = verify_served_output_and_choose_canonical_urls(public_candidates, expanded_candidates)
serialize_and_validate_xml_before_submission(canonical_urls)
# Route presence, sitemap inclusion and search indexation are separate observations.Additional implementation references
These provider references explain current implementation context. Historical Movo-X observations remain tied to the source records described above.
About this engineering series
Written by Omer Muneer Qazi from a review of Movo-X implementation and dated engineering records. This article explains source behaviour and historical observations; current production, clinical outcomes and store availability require their own verification. Examples are synthetic and proposed test cases are identified as such.
Explore the Movo-X engineering series → · Related implementation experience →
Discuss a similar engineering problem
Send the workflow, current platform and the decision your team needs to make. I can help define an implementation or review scope with concrete acceptance evidence.
Discuss your project on WhatsApp ↗