Skip to content

Collector of MikroTik public information: align answers and derived datasets with the new manual.mikrotik.com #269

Backlog
0 of 18 issues completed

Description

@mobileskyfi

Why

Rosetta's reason to exist is to collect MikroTik's public information and surface it where it's needed. The sources are the manual's prose, the CLI Reference, the inspect schema (via restraml), changelogs, the product matrix and product pages, and videos.

The MCP tools and their instructions were designed around the old Confluence www pages, where each prose page carried its own property tables. MikroTik's Docusaurus manual is structured differently:

  • prose pages are thinner;
  • properties live in /docs/cli-reference/;
  • prose pages link to CLI Reference menus and fields themselves.

Rosetta keeps bending the new data into the old answer shapes, and the MCP instructions still steer agents toward paths that are now less useful (prose properties first).

Property tables were the last straw. Measured during the 2026-12-01 triage of QA run 46683801736:

  • Prose property rows are disappearing. Table-linked prose properties went 3,357 (Sept) → 2,462 (0.12.0) → 1,763 (0.12.1) → 1,414 (next build). Between 11-28 and 12-01, Bridging (160 → 0), Bridge IGMP/MLD snooping (26 → 0), legacy CAPsMAN (90 + 85 → 0) and Wi-Fi CAPsMAN (43 → 0) lost every property table.
  • MikroTik moved the descriptions with them. Live CLI Reference coverage of those menus is now 100% (interface/bridge 63/63, bridge/settings, bridge/vlan, wifi/capsman, wifi/provisioning, wifi/cap), except caps-man/interface (32/79) and caps-man/configuration (46/60).
  • The old prose → menu mapping is inferred and weak. In src/eval/command-prose-join.ts on v0.12.1, only 76% of prose property rows sit in a section that names any menu; 48% resolve to exactly one; 28% can't be checked at all.
  • The new mapping is written by MikroTik. On 11-28, 180 of 393 prose pages linked into cli-reference/: 728 links to 387 distinct menus. 369 of the 387 resolve to a stored CLI Reference entry as-is; the rest are Docusaurus index-page spellings (interface/bridge/bridge) that need one normalization rule. 86 links already pointed at a single field (#auto-mac). The rewritten Bridging page alone now has 57.

Principle

  • Datasets, not just a database. Keep intermediate and derived datasets, some generated and some curated (re-maps and exceptions, like device-exceptions.toml for products), and surface them wherever a consumer needs them: MCP, TUI, rosetta export, published release assets or Pages. SQLite is one landing place, not the only one.
  • Extraction and indexing still matter. They're no longer the core work, but when the link work changes what an answer is made of, the FTS5 indexes and the extraction have to stay aligned with it.
  • Use MikroTik's own structure first. Where the manual states a relationship (a link, an anchor, a CLI Reference path), store it as an authored edge. Inferred edges stay graded and labelled as inferred.

Work, grouped (sub-issues)

A. Answers aligned with the new manual

B. Derived datasets beyond SQLite

C. MCP/TUI surface, reconsidered against A and B

First step

A briefing that states this direction and supersedes B-0024 (command↔prose join) and B-0025 (property store of record). It settles the open parts of B-0011 (tool surface) and B-0016 (CLI Reference overlay), and orders A–C. It should also cover the other direction: absorbing centrs' offline explain into rosetta search.

Not here

Sub-issues

Sub-issues

0 of 18 Issues completed
Loading 18 sub-issues

Activity

  1. added
    umbrella
    on Dec 1, 2026
  2. added sub-issues on Dec 1, 2026
  3. mobileskyfi commented on Dec 2, 2026

    @mobileskyfi
    ContributorAuthor

    Golden retrieval regression from the property-table migration, seen in QA run 46766712647 on #270 (fresh build, d031f93):

    • Gate failure: MRR 88.3% → 82.7% (−5.5 pp, tolerance 2 pp). Recall@5/@3 are 92.9% (+0.3 pp). nl-question MRR is 69.8%.
    • nl-capsman ("centrally manage wifi access points"): top 5 is wireless/wifi, wifi/configuring-easymesh, quick-set, cmr, packages; none of the expected wireless/wifi/capsman, wireless/abgn/capsman, abgn/capsman/capsman-with-vlans. Those pages lost all their property tables on 2026-11-30, so they now carry much less indexed text.
    • Direct-surface (informational, not gated): prop-wireguard-listen-port and prop-vxlan-vni now resolve to docs/cli-reference/interface/... instead of the expected manual pages. That is probably correct after the migration, and the golden expectation should accept the CLI Reference page.

    release.yml runs the same golden gate, so the next release will fail it until search ranks the CLI Reference content for migrated menus (or the baseline is consciously re-set). #270 does not change ranking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    umbrella

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions