From 88abfab896a18f1b3662d38d427b8025d959f578 Mon Sep 17 00:00:00 2001 From: TIKOCI RouterOS Bots Date: Tue, 1 Dec 2026 14:43:18 -0800 Subject: [PATCH 1/2] Adopt tikoci house layout: AGENTS.md entry, .agents/skills, house exceptions - AGENTS.md is now the entry file for every agent: routing, an index of all 33 .github/instructions files, repo skills, house skills (referenced by URL) and house exceptions. CLAUDE.md is `@AGENTS.md`; copilot-instructions is a pointer. matrix/ gets the same AGENTS.md + CLAUDE.md pair. - Repo skills move from .github/skills to .agents/skills; .claude/skills is one symlink to ../.agents/skills. - instruction-scopes / where-does-this-go now state the house rules (no new .github/instructions files, .scratch/, machine facts out of the repo). - database.instructions: fix the stale "WAL everywhere" note. - Commit .claude/settings.json: SessionStart hook runs db-doctor so a stale ros-help.db is visible before anyone grounds on it. - Replace local ~/GitHub/bench-routeros-tools paths with the public repo. - BACKLOG: drop the cliref_flags bullet (now #257) and the closed #204 note. - Code gaps to house rules are tracked in #265. Closes #253 Co-Authored-By: Claude Opus 5.5 --- .../skills/pick-next-task/SKILL.md | 0 .../skills/pr-review-gate/SKILL.md | 0 .../skills/promote-idea/SKILL.md | 0 .../skills/re-extract/SKILL.md | 0 .../skills/verify-task/SKILL.md | 0 .claude/settings.json | 15 ++ .claude/skills | 1 + .claude/skills/pick-next-task | 1 - .claude/skills/pr-review-gate | 1 - .claude/skills/promote-idea | 1 - .claude/skills/re-extract | 1 - .claude/skills/verify-task | 1 - .github/codeql/codeql-config.yml | 2 +- .github/copilot-instructions.md | 37 +---- .../changelog-discipline.instructions.md | 2 +- .github/instructions/database.instructions.md | 2 +- .../instruction-scopes.instructions.md | 22 ++- ...files-excluded-from-mdlint.instructions.md | 6 +- .../pr-review-bots.instructions.md | 2 +- .../tasks-vs-briefings.instructions.md | 2 +- .../tui-mcp-parity.instructions.md | 2 +- .../where-does-this-go.instructions.md | 10 +- .gitignore | 13 +- .markdownlint-cli2.yaml | 12 +- .markdownlintignore | 2 +- AGENTS.md | 147 +++++++++++++----- BACKLOG.md | 8 +- CLAUDE.md | 68 +------- DESIGN.md | 6 +- briefings/B-0010-mcp-eval-phases-3plus.md | 2 +- ...013-steering-skills-rosetta-positioning.md | 2 +- matrix/AGENTS.md | 7 + matrix/CLAUDE.md | 8 +- src/paths.ts | 2 +- 34 files changed, 186 insertions(+), 199 deletions(-) rename {.github => .agents}/skills/pick-next-task/SKILL.md (100%) rename {.github => .agents}/skills/pr-review-gate/SKILL.md (100%) rename {.github => .agents}/skills/promote-idea/SKILL.md (100%) rename {.github => .agents}/skills/re-extract/SKILL.md (100%) rename {.github => .agents}/skills/verify-task/SKILL.md (100%) create mode 100644 .claude/settings.json create mode 120000 .claude/skills delete mode 120000 .claude/skills/pick-next-task delete mode 120000 .claude/skills/pr-review-gate delete mode 120000 .claude/skills/promote-idea delete mode 120000 .claude/skills/re-extract delete mode 120000 .claude/skills/verify-task create mode 100644 matrix/AGENTS.md diff --git a/.github/skills/pick-next-task/SKILL.md b/.agents/skills/pick-next-task/SKILL.md similarity index 100% rename from .github/skills/pick-next-task/SKILL.md rename to .agents/skills/pick-next-task/SKILL.md diff --git a/.github/skills/pr-review-gate/SKILL.md b/.agents/skills/pr-review-gate/SKILL.md similarity index 100% rename from .github/skills/pr-review-gate/SKILL.md rename to .agents/skills/pr-review-gate/SKILL.md diff --git a/.github/skills/promote-idea/SKILL.md b/.agents/skills/promote-idea/SKILL.md similarity index 100% rename from .github/skills/promote-idea/SKILL.md rename to .agents/skills/promote-idea/SKILL.md diff --git a/.github/skills/re-extract/SKILL.md b/.agents/skills/re-extract/SKILL.md similarity index 100% rename from .github/skills/re-extract/SKILL.md rename to .agents/skills/re-extract/SKILL.md diff --git a/.github/skills/verify-task/SKILL.md b/.agents/skills/verify-task/SKILL.md similarity index 100% rename from .github/skills/verify-task/SKILL.md rename to .agents/skills/verify-task/SKILL.md diff --git a/.claude/settings.json b/.claude/settings.json new file mode 100644 index 0000000..db17986 --- /dev/null +++ b/.claude/settings.json @@ -0,0 +1,15 @@ +{ + "hooks": { + "SessionStart": [ + { + "hooks": [ + { + "type": "command", + "command": "cd \"$CLAUDE_PROJECT_DIR\" && if out=$(bun run scripts/db-doctor.ts 2>&1); then echo \"ros-help.db grounding: OK ($(echo \"$out\" | grep -m1 release_tag | tr -s ' '))\"; else echo \"$out\"; echo 'ros-help.db is NOT trusted for grounding. Run make db-sync (stop the rosetta MCP server first) before making claims about shipped data.'; fi; exit 0", + "timeout": 30 + } + ] + } + ] + } +} diff --git a/.claude/skills b/.claude/skills new file mode 120000 index 0000000..2b7a412 --- /dev/null +++ b/.claude/skills @@ -0,0 +1 @@ +../.agents/skills \ No newline at end of file diff --git a/.claude/skills/pick-next-task b/.claude/skills/pick-next-task deleted file mode 120000 index 34e4165..0000000 --- a/.claude/skills/pick-next-task +++ /dev/null @@ -1 +0,0 @@ -../../.github/skills/pick-next-task \ No newline at end of file diff --git a/.claude/skills/pr-review-gate b/.claude/skills/pr-review-gate deleted file mode 120000 index 31dc507..0000000 --- a/.claude/skills/pr-review-gate +++ /dev/null @@ -1 +0,0 @@ -../../.github/skills/pr-review-gate \ No newline at end of file diff --git a/.claude/skills/promote-idea b/.claude/skills/promote-idea deleted file mode 120000 index bc44a97..0000000 --- a/.claude/skills/promote-idea +++ /dev/null @@ -1 +0,0 @@ -../../.github/skills/promote-idea \ No newline at end of file diff --git a/.claude/skills/re-extract b/.claude/skills/re-extract deleted file mode 120000 index cc76325..0000000 --- a/.claude/skills/re-extract +++ /dev/null @@ -1 +0,0 @@ -../../.github/skills/re-extract \ No newline at end of file diff --git a/.claude/skills/verify-task b/.claude/skills/verify-task deleted file mode 120000 index 1f0b6df..0000000 --- a/.claude/skills/verify-task +++ /dev/null @@ -1 +0,0 @@ -../../.github/skills/verify-task \ No newline at end of file diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml index ab10fba..ebfea34 100644 --- a/.github/codeql/codeql-config.yml +++ b/.github/codeql/codeql-config.yml @@ -14,7 +14,7 @@ paths-ignore: # Archived Dude wiki HTML cached from Wayback Machine — vendored content. - dude/** # Root-level cached SKILL.md + reference files extracted from - # tikoci/routeros-skills. Keep this anchored so `.github/skills/` remains part + # tikoci/routeros-skills. Keep this anchored so `.agents/skills/` remains part # of the committed workflow/instructions surface. - /skills/** # Committed CSV snapshots of the MikroTik product matrix. diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index a0db2b0..b2f8b5b 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -1,35 +1,6 @@ # Copilot instructions for rosetta -GitHub Copilot reads this file plus matching `.github/instructions/*.instructions.md` files. Keep this file short; put actual rules in the narrow instruction files. - -## Project snapshot - -- Bun + TypeScript, with Bun-native runtime APIs (`bun:sqlite`, `Bun.serve`, `bunx`). -- One core data model, exposed as MCP + browse TUI + glossary/command-tree surfaces. -- `CLAUDE.md` is now only the orientation + routing index. Rationale lives in `DESIGN.md`; operator/reference material lives in `MANUAL.md`. - -## Routing map - -- `CLAUDE.md` — project orientation and "where does this go?" index. -- `AGENTS.md` — Codex-specific routing note. -- `DESIGN.md` — durable rationale, data-source provenance, architecture tradeoffs. -- `MANUAL.md` — install, release/re-extraction operations, CLI/HTTP reference, schema. -- GitHub Issues — the active work queue (`agent-ready` / `umbrella` / `blocked` labels). `tasks/` is a frozen archive; `tasks/README.md` / `briefings/README.md` hold the directory-local rules. -- `.github/instructions/*.instructions.md` — narrow normative rules selected by `applyTo`. - -## Start with these broad rules - -- `where-does-this-go.instructions.md` -- `issue-pr-linking.instructions.md` -- `changelog-discipline.instructions.md` -- `capture-undone-work.instructions.md` -- `ci-pickup-verification.instructions.md` -- `instruction-scopes.instructions.md` - -## Surface-specific rules - -- MCP/query/TUI/canonicalizer → `mcp-server.instructions.md` -- Extraction/data-shape work → `extraction.instructions.md` -- Database init/schema internals → `database.instructions.md` - -Prefer pointers over repetition. If you are about to add a long rule here, it probably belongs in a new scoped instruction file instead. +Read [`AGENTS.md`](../AGENTS.md) at the repo root: it is the entry point for every agent, with the +project orientation, where each kind of information lives, and an index of the +`.github/instructions/*.instructions.md` files. Copilot also applies those files automatically by +their `applyTo` scope. Do not add rules here. diff --git a/.github/instructions/changelog-discipline.instructions.md b/.github/instructions/changelog-discipline.instructions.md index 973e83d..c732bc2 100644 --- a/.github/instructions/changelog-discipline.instructions.md +++ b/.github/instructions/changelog-discipline.instructions.md @@ -1,6 +1,6 @@ --- description: "Use when a change has a user-visible effect. Records exactly one CHANGELOG.md bullet under [Unreleased]." -applyTo: "src/**, bin/**, scripts/**, .github/workflows/**, README.md, MANUAL.md, DESIGN.md, CLAUDE.md, CHANGELOG.md, tasks/**, briefings/**, BACKLOG.md, VALIDATION.md" +applyTo: "src/**, bin/**, scripts/**, .github/workflows/**, README.md, MANUAL.md, DESIGN.md, AGENTS.md, CHANGELOG.md, tasks/**, briefings/**, BACKLOG.md, VALIDATION.md" --- # Changelog discipline diff --git a/.github/instructions/database.instructions.md b/.github/instructions/database.instructions.md index 646d206..dd7474c 100644 --- a/.github/instructions/database.instructions.md +++ b/.github/instructions/database.instructions.md @@ -6,7 +6,7 @@ applyTo: "src/db.ts" ## Key Rules - Use `bun:sqlite` — never `better-sqlite3` or other drivers -- WAL mode + foreign keys enabled in `initDb()` +- Journal mode depends on who opens the file. Writable dev and extract databases run `initDb()`, which sets WAL and `foreign_keys=ON`. Package-managed databases (`DB_READONLY`, `isManagedDbPath`) are opened `{ readonly: true }` in rollback-journal mode: `bun:sqlite` cannot open a WAL file read-only, so installs convert the downloaded file with `journal_mode=DELETE` (`src/db-lifecycle.ts`). The release asset itself still ships as WAL (#265). - `DB_PATH` env var overrides default `ros-help.db` - Singleton pattern: one `Database` instance shared across modules diff --git a/.github/instructions/instruction-scopes.instructions.md b/.github/instructions/instruction-scopes.instructions.md index 13cfe88..3315a00 100644 --- a/.github/instructions/instruction-scopes.instructions.md +++ b/.github/instructions/instruction-scopes.instructions.md @@ -1,13 +1,19 @@ --- -description: "Meta-rule for writing agent instruction files: one topic per file, smallest honest scope, and pointers instead of duplicated prose." -applyTo: ".github/copilot-instructions.md, .github/instructions/**, .github/skills/**, .github/prompts/**, CLAUDE.md, AGENTS.md" +description: "Meta-rule for agent instruction files: AGENTS.md is the one entry file, no new .github/instructions files, one home per rule, pointers instead of duplicated prose." +applyTo: ".github/copilot-instructions.md, .github/instructions/**, .agents/skills/**, .github/prompts/**, CLAUDE.md, AGENTS.md, **/AGENTS.md" --- # Instruction scopes -When adding or editing instruction or agent-entrypoint files: +The house rule is . In this repo: -- Put one rule or one tightly related topic in each file. -- Use the smallest honest `applyTo` scope; broad scopes are fine when the rule is genuinely broad. -- Keep one normative home per rule. Other instruction files should point to it instead of copying the prose. -- Prefer adding a new narrow file over inflating a generic router file. -- Keep `CLAUDE.md`, `AGENTS.md`, and `.github/copilot-instructions.md` as thin routers, not competing rulebooks. +- `AGENTS.md` is the entry file for every agent. `CLAUDE.md` is only `@AGENTS.md`, and + `.github/copilot-instructions.md` only points to AGENTS.md. A directory `AGENTS.md` (e.g. + `matrix/`) gets a sibling `CLAUDE.md` containing `@AGENTS.md`. +- Do not add new `.github/instructions/*.instructions.md` files. A new repo workflow goes in + `.agents/skills//SKILL.md`, with a frontmatter `name` matching the directory. A new rule + goes in the existing file that governs it, or in AGENTS.md if it is short and repo-wide. +- When you edit, rename or retire an instruction file, update the index in AGENTS.md in the same + change. Codex and other agents ignore `applyTo` and find these files only through that index. +- Keep one normative home per rule. Other files point to it instead of copying the prose. +- Keep machine facts (home paths, host names, local checkouts, accounts) out of the repo. They + belong in the operator's `~/.agents/AGENTS.md`. diff --git a/.github/instructions/llm-instruction-files-excluded-from-mdlint.instructions.md b/.github/instructions/llm-instruction-files-excluded-from-mdlint.instructions.md index 6e5afce..4888299 100644 --- a/.github/instructions/llm-instruction-files-excluded-from-mdlint.instructions.md +++ b/.github/instructions/llm-instruction-files-excluded-from-mdlint.instructions.md @@ -1,11 +1,11 @@ --- description: "LLM-targeted instruction files are excluded from markdownlint so authoring rules for human docs do not distort agent-facing guidance." -applyTo: ".markdownlint.yaml, .markdownlintignore, CLAUDE.md, AGENTS.md, .github/copilot-instructions.md, .github/instructions/**" +applyTo: ".markdownlint.yaml, .markdownlintignore, .markdownlint-cli2.yaml, CLAUDE.md, AGENTS.md, .github/copilot-instructions.md, .github/instructions/**" --- # Exclude LLM instruction files from markdownlint Agent-facing instruction files are a different audience than README-style docs. -- Keep them excluded via `.markdownlintignore`. -- The exclusion set includes `CLAUDE.md`, `AGENTS.md`, `.github/copilot-instructions.md`, and `.github/instructions/**`. +- Keep them excluded via `.markdownlintignore` and `.markdownlint-cli2.yaml` (keep the two lists identical). +- The exclusion set includes every `CLAUDE.md` and `AGENTS.md`, `.github/copilot-instructions.md`, `.github/instructions/**`, `.github/prompts/**` and `.agents/skills/**`. - Put human-facing markdown style enforcement in the lint config, not in these files. diff --git a/.github/instructions/pr-review-bots.instructions.md b/.github/instructions/pr-review-bots.instructions.md index 26d57e6..69213f5 100644 --- a/.github/instructions/pr-review-bots.instructions.md +++ b/.github/instructions/pr-review-bots.instructions.md @@ -6,7 +6,7 @@ applyTo: "src/**, bin/**, scripts/**, .github/**, *.md, tasks/**, briefings/**" This is the rationale doc. For the runnable step-by-step procedure (list unresolved threads, resolve them, re-check after a push), use the `pr-review-gate` skill -(`.github/skills/pr-review-gate/SKILL.md`) instead of re-deriving the `gh` commands here. +(`.agents/skills/pr-review-gate/SKILL.md`) instead of re-deriving the `gh` commands here. When a rosetta PR is marked **Ready for Review** (not while it is a draft), **two** bots review it: `copilot-pull-request-reviewer` and `coderabbitai`. They surface diff --git a/.github/instructions/tasks-vs-briefings.instructions.md b/.github/instructions/tasks-vs-briefings.instructions.md index bc595bf..97253d1 100644 --- a/.github/instructions/tasks-vs-briefings.instructions.md +++ b/.github/instructions/tasks-vs-briefings.instructions.md @@ -1,6 +1,6 @@ --- description: "Pointer for the work-tracking split: GitHub issues are commitments, briefings are research, backlog is the loose/thinking-first layer, tasks/ is a frozen archive." -applyTo: "tasks/**, briefings/**, BACKLOG.md, VALIDATION.md, CLAUDE.md" +applyTo: "tasks/**, briefings/**, BACKLOG.md, VALIDATION.md, AGENTS.md" --- # Issues vs briefings (tasks/ is archived) diff --git a/.github/instructions/tui-mcp-parity.instructions.md b/.github/instructions/tui-mcp-parity.instructions.md index fa401e0..d72767a 100644 --- a/.github/instructions/tui-mcp-parity.instructions.md +++ b/.github/instructions/tui-mcp-parity.instructions.md @@ -1,6 +1,6 @@ --- description: "MCP and browse are paired surfaces. Every MCP tool must remain reachable from the TUI, and dot-commands are the raw parity contract." -applyTo: "src/mcp.ts, src/browse.ts, src/query.ts, src/browse-parity.test.ts, src/mcp-contract.test.ts, README.md, CLAUDE.md" +applyTo: "src/mcp.ts, src/browse.ts, src/query.ts, src/browse-parity.test.ts, src/mcp-contract.test.ts, README.md, AGENTS.md" --- # TUI/MCP parity diff --git a/.github/instructions/where-does-this-go.instructions.md b/.github/instructions/where-does-this-go.instructions.md index 681258d..3483572 100644 --- a/.github/instructions/where-does-this-go.instructions.md +++ b/.github/instructions/where-does-this-go.instructions.md @@ -1,5 +1,5 @@ --- -description: "Canonical routing rule for where information belongs: GitHub issue, briefing, backlog, DESIGN, MANUAL, CHANGELOG, VALIDATION, or CLAUDE." +description: "Canonical routing rule for where information belongs: GitHub issue, briefing, backlog, DESIGN, MANUAL, CHANGELOG, VALIDATION, or AGENTS." applyTo: "*.md, .github/instructions/**" --- # Where does this go? @@ -12,9 +12,11 @@ Use one canonical home for each kind of information: - **Waiting on a specific external event** → `BACKLOG.md` Triggers - **Durable rationale or architecture tradeoff** → `DESIGN.md` - **Operator, install, release, or re-extraction procedure** → `MANUAL.md` -- **Project orientation and routing map** → `CLAUDE.md` +- **Project orientation, routing map, house adoption and exceptions** → `AGENTS.md` - **User-visible shipped behavior** → `CHANGELOG.md` - **Load-bearing invariant and proof** → `VALIDATION.md` -- **Agent-specific entrypoint shim** → `AGENTS.md` or `.github/copilot-instructions.md`, pointing back to `CLAUDE.md` +- **Agent-specific entrypoint shim** → `CLAUDE.md` (only `@AGENTS.md`) or `.github/copilot-instructions.md` (a pointer to `AGENTS.md`) +- **A repeatable agent workflow** → `.agents/skills//SKILL.md` (never a new `.github/instructions` file) +- **Temporary work** (repro scripts, logs, drafts) → gitignored `.scratch/`; move anything worth keeping to its proper home -Other files should point at the canonical home, not restate it. +Other files should point at the canonical home, not restate it. The house version of this rule is ; rosetta's extra homes (MANUAL, VALIDATION, briefings) are listed as exceptions in `AGENTS.md`. diff --git a/.gitignore b/.gitignore index 841478d..a3857c2 100644 --- a/.gitignore +++ b/.gitignore @@ -36,14 +36,19 @@ ros-help.db.gz cliref-archive/ # Skills cache (fetched from GitHub API — not committed like transcripts/dude). -# Anchored to root so .github/skills/ (Claude Code skills) is NOT ignored. +# Anchored to root so .agents/skills/ (repo skills) is NOT ignored. /skills/ # Claude Code local settings (settings.local.json, scheduled_tasks.lock) — -# but .claude/skills/ is committed: symlinks into .github/skills/ so Claude -# Code can see this repo's skills, same as Copilot does. +# but .claude/skills (a symlink to ../.agents/skills, so Claude Code sees the +# repo skills) and the shared .claude/settings.json (SessionStart db-doctor +# hook) are committed. .claude/* -!.claude/skills/ +!.claude/skills +!.claude/settings.json + +# Temporary agent/human work (tikoci-house): repro scripts, logs, drafts. +.scratch/ .mcp.json # Coverage output should not be .git; CI saves as artifact diff --git a/.markdownlint-cli2.yaml b/.markdownlint-cli2.yaml index 238ec0f..1ee77ad 100644 --- a/.markdownlint-cli2.yaml +++ b/.markdownlint-cli2.yaml @@ -16,19 +16,19 @@ gitignore: true ignores: # LLM instruction files (mirror .markdownlintignore) - - "CLAUDE.md" - - "AGENTS.md" + - "**/CLAUDE.md" + - "**/AGENTS.md" - ".github/copilot-instructions.md" - ".github/instructions/**" - # Repo-local Copilot prompt/skill workflows — also agent-facing, not rendered docs + # Copilot prompts and repo skills — also agent-facing, not rendered docs - ".github/prompts/**" - - ".github/skills/**" - # Repo-local symlinks to prompt/skill for Claude Code + - ".agents/skills/**" + # Claude Code symlink to .agents/skills - ".claude/prompts/**" - ".claude/skills/**" # Test fixtures — intentionally malformed Markdown that exercises the parser - "fixtures/**" - # Frozen archive of the pre-2026-07 task queue (CLAUDE.md) — grep-able history, + # Frozen archive of the pre-2026-07 task queue (AGENTS.md) — grep-able history, # not rendered docs; each T-*.md is frontmatter-then-body markdownlint reads as # multiple H1s. Not worth reflowing dead files. - "tasks/**" diff --git a/.markdownlintignore b/.markdownlintignore index dc45a31..8af6a62 100644 --- a/.markdownlintignore +++ b/.markdownlintignore @@ -10,7 +10,7 @@ AGENTS.md .github/copilot-instructions.md .github/instructions/** .github/prompts/** -.github/skills/** +.agents/skills/** # Test fixtures — intentionally malformed Markdown that exercises the parser fixtures/** diff --git a/AGENTS.md b/AGENTS.md index 2500e3b..ec898cf 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,45 +1,108 @@ -# Codex instructions for rosetta - -Codex reads this file as the repo-local entrypoint. Keep it short. The canonical -project orientation remains `CLAUDE.md`; durable rationale lives in `DESIGN.md`; -operator/reference material lives in `MANUAL.md`; narrow normative rules live in -`.github/instructions/*.instructions.md`. - -## First reads - -- Read `CLAUDE.md` before non-trivial work. It is the routing index for the repo. -- Read `DESIGN.md` when touching retrieval, MCP/TUI behavior, data sources, - extraction, skills, command validation, or Docusaurus migration work. -- Read `.github/copilot-instructions.md` as the peer short routing note for - Copilot, but do not duplicate its rules here. -- Manually read the matching `.github/instructions/*.instructions.md` files. - Codex does not get Copilot's `applyTo` selection automatically. -- Active work is tracked in GitHub Issues (`agent-ready` / `umbrella` / `blocked` - labels); PRs close issues via `Closes #N` — read - `.github/instructions/issue-pr-linking.instructions.md`. `tasks/` is a frozen - archive (see `tasks/README.md`); briefing rules are in `briefings/README.md`. -- Repo-local skills live in `.github/skills/*/SKILL.md` (symlinked into - `.claude/skills/` for Claude Code); read the relevant file when a user asks - for that workflow, such as picking the next issue, promoting an idea, - re-extracting, verifying acceptance criteria, or gating a PR's review - threads before claiming it's mergeable. +# rosetta + +RouterOS documentation as SQLite FTS5: one core data model exposed through three surfaces, an MCP +server for agents, a browse TUI for humans, and a command-tree/glossary layer for downstream +RouterOS tooling. This file is the entry point for every agent (Claude Code loads it through +`CLAUDE.md` = `@AGENTS.md`; Copilot's `.github/copilot-instructions.md` points here). It routes; +rules live in the narrow files it lists. + +## Where things live + +| File / dir | Role | +|------------|------| +| `AGENTS.md` | This file: orientation, routing, house adoption | +| `README.md` | User-facing quick start | +| `CONTRIBUTING.md` | Developer setup | +| `DESIGN.md` | Durable rationale, data-source provenance, architecture tradeoffs | +| `MANUAL.md` | Install, operations, release/re-extraction steps, schema reference | +| `CHANGELOG.md` | User-visible shipped changes under `[Unreleased]` / releases | +| `VALIDATION.md` | Load-bearing invariants and how CI proves them | +| `BACKLOG.md` | Small-items home: Inbox, Triggers, briefings index | +| GitHub Issues | Committed work (`agent-ready` / `umbrella` / `blocked` labels) | +| `briefings/B-*.md` | Research notes and decision support | +| `tasks/` | Frozen archive of the pre-2026-07 file queue; no new task files | +| `.github/instructions/*.instructions.md` | Narrow rules, indexed below; no new files (house rule) | +| `.agents/skills/*/SKILL.md` | Repo skills; `.claude/skills` links to `../.agents/skills` | +| `.github/prompts/*.prompt.md` | Copilot prompt workflows | +| `.scratch/` | Gitignored temporary work (repro scripts, logs, drafts) | + +Where a new piece of information goes: `.github/instructions/where-does-this-go.instructions.md`. +Short form: committed work → issue (PRs `Closes #N`); research → briefing; loose thought → +BACKLOG Inbox; waiting on an external event → BACKLOG Triggers; rationale → DESIGN; procedure → +MANUAL; shipped behavior → CHANGELOG; invariant + proof → VALIDATION. An issue starts as +discussion; `agent-ready` is earned once acceptance criteria are settled. + +## Instruction files + +Codex and other agents ignore `applyTo`, so read the files matching the surface you touch. Each +file's frontmatter `applyTo` gives its exact scope. + +| Area | Files (`.github/instructions/.instructions.md`) | +|------|------------------------------------------------------| +| Every change | `where-does-this-go`, `changelog-discipline` (one bullet per user-visible change), `capture-undone-work` (record breakage/deferrals before finishing), `issue-pr-linking`, `ci-pickup-verification` (name the CI step that proves it), `descriptive-prose-file-names` | +| Writing agent docs | `instruction-scopes`, `llm-instruction-files-excluded-from-mdlint`, `markdownlint-fenced-code` | +| Work tracking | `tasks-vs-briefings` | +| Runtime and DB | `bun-not-node`, `database` (`src/db.ts`), `local-db-grounding` (trust `ros-help.db` only after `make db-doctor`) | +| MCP, query, TUI | `mcp-server` (router), `query-core-not-adapter`, `tui-mcp-parity`, `mcp-tool-descriptions`, `tool-surface-change`, `skill-attribution-boundary`, `canonicalize-vendored` | +| Extraction and data shape | `extraction` (router), `extractor-idempotent`, `extractor-import-side-effects`, `command-versions-vs-presence`, `schema-roundtrip-compat`, `data-source-naming-product-matrix`, `github-api-auth` | +| Release and provenance | `release-via-ci`, `manual-version-bump`, `npm-channel-source-of-truth`, `republish-assets-not-npm`, `db-meta-stamping` | +| PRs | `pr-review-bots`, then the `pr-review-gate` skill before calling a PR mergeable: green checks and `reviewDecision` do not mean mergeable, unresolved bot threads block `main` | + +## Repo skills + +In `.agents/skills/`: `pick-next-task` (next issue to work on), `promote-idea` (BACKLOG bullet → +issue or briefing), `pr-review-gate` (close bot review threads before merge), `re-extract` +(legacy Confluence rebuild only), `verify-task` (run an issue's `V-*` validation rows). + +## House skills + +House rules: . All are **referenced by +URL** (`https://tikoci.dev/house/skills//SKILL.md`); read the one that matches the task. +Gaps between rosetta and a house rule are listed under House exceptions. + +- `tikoci-house`: adopted (this file, `CLAUDE.md`, `.agents/skills`, `.scratch/`). +- `tikoci-docs`: adopted, with the exceptions below. +- `tikoci-pr-flow`, `tikoci-github`, `tikoci-ci`, `tikoci-testing`, `tikoci-grounding`, + `tikoci-release`, `tikoci-cli-mcp`, `tikoci-crossref`: adopted as written. +- `tikoci-data-contracts`, `tikoci-toolchain`, `tikoci-linting`, `tikoci-dependencies`, + `tikoci-home`: partial; see exceptions. + +## House exceptions + +- **Extra doc homes** (`tikoci-docs`): `MANUAL.md` (operations and schema), `VALIDATION.md` + (invariants), `briefings/` (research) and the frozen `tasks/` archive predate the house layout + and stay. +- **`.github/instructions/`** (`tikoci-house`): the 33 existing files stay and retire gradually; + no new ones. +- **Code gaps** tracked in #265: data under + `~/.rosetta/` rather than `TIKOCI_HOME` (`tikoci-home`); no `packageManager` Bun pin and the + Makefile as the main entry point (`tikoci-toolchain`); actions pinned by tag, not SHA + (`tikoci-dependencies`); tsc `strict` without `noUncheckedIndexedAccess` / + `exactOptionalPropertyTypes` (`tikoci-linting`); the release DB asset ships in WAL mode and + installs convert it (`tikoci-data-contracts`). ## Development defaults -- Rosetta is Bun + TypeScript. Prefer `bun`, `bun test`, and `make verify` where - applicable; do not swap in Node/npm-oriented substitutes. -- MCP, query, classifier, TUI, and canonicalizer behavior should route through - shared core code, usually `src/query.ts`, with `src/mcp.ts` and `src/browse.ts` - kept as thin adapters. -- Rosetta is read-only documentation/schema context. It does not connect to or - modify a user's router. -- Community RouterOS skills are supplemental, not official MikroTik docs; keep - the attribution boundary visible when they surface. - -## MCP and client config - -- Dev MCP config for Claude-style clients is in `.mcp.json`. -- VS Code Copilot MCP config is in `.vscode/mcp.json`. -- Public client setup snippets live in `README.md` and `src/setup.ts`, including - the Codex command `codex mcp add rosetta -- bunx @tikoci/rosetta`. -- If setup output changes, keep the runtime snippets, README, and MANUAL aligned. +- Bun + TypeScript. Use `bun`, `bun test`, `make verify`; no Node/npm substitutes. +- MCP, query, classifier, TUI and canonicalizer behavior goes through shared core code (usually + `src/query.ts`); `src/mcp.ts` and `src/browse.ts` stay thin adapters. +- Rosetta is read-only documentation and schema context. It never connects to or changes a router. +- Community RouterOS skills are supplemental, not official MikroTik docs; keep the attribution + boundary visible wherever they surface. +- Dev MCP config: `.mcp.json` (Claude-style clients), `.vscode/mcp.json` (VS Code). Public setup + snippets live in `README.md` and `src/setup.ts`; keep them and MANUAL aligned. + +## Fast pointers + +- **Why** something works this way → `DESIGN.md`. **How** to run, release or rebuild → `MANUAL.md`. +- **Trust the local DB** before grounding a claim: repo-root `ros-help.db` is untrusted until + `make db-doctor` says OK; `make db-sync` fetches the latest CI release DB (stop clients holding + the file first). A Claude Code SessionStart hook (`.claude/settings.json`) runs the doctor. +- **Current corpus counts** → `routeros_stats`, never numbers copied into docs. +- **Manual-site migration**: MikroTik moved docs to Docusaurus at + and keeps moving property tables into `/docs/cli-reference/`. Read `DESIGN.md` and + `briefings/B-0012-docusaurus-manual-migration.md` before touching extraction, MCP or TUI search. +- **External benchmark**: [tikoci/bench-routeros-tools](https://github.com/tikoci/bench-routeros-tools) + tests rosetta as one grounding approach; read `DESIGN.md` → "External benchmark feedback loop" + before changing retrieval, skills or command-validation surfaces. +- **Work status** → `gh issue list`, `briefings/`, `BACKLOG.md`. diff --git a/BACKLOG.md b/BACKLOG.md index 4ed2ea9..b00297c 100644 --- a/BACKLOG.md +++ b/BACKLOG.md @@ -15,9 +15,8 @@ Drop one-line thoughts here. Promote later — to an issue if it gains shape, to a briefing if it needs thinking-first, or delete if it doesn't survive a re-read. -- Property lookup ignores `cliref_flags`: since the November 2026 manual rewrite, former Bridge Hosts properties such as `disabled` and `dynamic` are described only as CLI-Reference print flags (`/interface/bridge/host`), so `routeros_lookup_property` can't answer them (0.12.1 Codex review, #255). CLI-Reference defaults also stay inside description text while `default_val` is null. - Keep merging `actions/setup-node`, `actions/upload-artifact`, and Docker action Dependabot bumps before GitHub's forced runtime transitions turn warnings into failures. -- Benchmark feedback loop: periodically compare retrieval/explain changes against `~/GitHub/bench-routeros-tools`; promote `route-blackhole`, version-new Wi-Fi `ssid=`, and skill-vs-raw-doc packaging into rosetta fixtures when the benchmark corpus stabilizes. +- Benchmark feedback loop: periodically compare retrieval/explain changes against [tikoci/bench-routeros-tools](https://github.com/tikoci/bench-routeros-tools); promote `route-blackhole`, version-new Wi-Fi `ssid=`, and skill-vs-raw-doc packaging into rosetta fixtures when the benchmark corpus stabilizes. - Future `routeros_validate_command`: carry explicit static-vs-runtime provenance and include a bare-flag `blackhole` regression fixture because `/console/inspect` can accept forms that RouterOS runtime rejects. - TUI longer wishlist: tab completion, persistent history (`~/.rosetta/browse_history`), export (JSON/CSV/Markdown), audit views, bookmarks. None individually picked up — promote one to an issue if a real need surfaces (the former TUI umbrella #27 closed 2026-10-04; promote individual items directly). - Rung-1 steering skill: a skill encoding the `llms.txt → .md → cli-reference` workflow (per B-0013), possibly wrapping the one-shot CLI idea tracked in B-0015. Cross-repo (`routeros-skills` or repo-local per the centrs#150 pattern) — promote once centrs#150's onboarding pilot lands. @@ -52,11 +51,6 @@ Fired 2026-10-20: **versioned manual** — `/docs/7.24/` and `/docs/7.25/` now s ## Active work -The bounded next stable release is tracked in -[#204](https://github.com/tikoci/rosetta/issues/204). The `0.12 — MCP surface` -milestone is a longer-term theme, not a requirement to finish every member before -0.12.0. The 0.11.3 release tracker and milestone are closed. - Tracked in [GitHub Issues](https://github.com/tikoci/rosetta/issues) since 2026-07-10 (migration: [#18](https://github.com/tikoci/rosetta/issues/18)). The commands below need an authenticated [`gh` CLI](https://cli.github.com/); without it, the [Issues tab](https://github.com/tikoci/rosetta/issues) shows the same thing. List it live: ```sh diff --git a/CLAUDE.md b/CLAUDE.md index 23f45ba..43c994c 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1,67 +1 @@ -# rosetta - -RouterOS documentation as SQLite FTS5 — one core data model exposed through three surfaces: an MCP server for agents, a browse TUI for humans, and a command-tree/glossary layer for downstream RouterOS tooling. This file is intentionally a thin routing index. Detailed rationale lives in `DESIGN.md`; install and operator reference live in `MANUAL.md`; narrow coding rules live in `.github/instructions/*.instructions.md`. - -## Project Documentation - -Each file has one job. Prefer the canonical home instead of inventing a new top-level `.md`. - -| File / dir | Canonical role | -|------------|----------------| -| `CLAUDE.md` | Project orientation + routing index for agents | -| `AGENTS.md` | Short Codex-specific routing note | -| `DESIGN.md` | Durable rationale, data-source provenance, architecture tradeoffs | -| `MANUAL.md` | Install, operations, release/re-extraction steps, schema reference | -| `README.md` | User-facing quick start | -| `CHANGELOG.md` | User-visible shipped changes under `[Unreleased]` / releases | -| `VALIDATION.md` | Load-bearing invariants and how CI proves them | -| `BACKLOG.md` | Lightweight inbox, triggers, and briefing index | -| GitHub Issues | Active committed work items (`agent-ready` / `umbrella` / `blocked` labels) | -| `tasks/` | **Frozen archive** of the pre-2026-07 file-based queue; `tasks/done/T-*.md` kept for grep-able history. No new task files | -| `briefings/B-*.md` | Research notes and decision support | -| `.github/copilot-instructions.md` | Short Copilot-specific routing note | -| `.github/instructions/*.instructions.md` | Narrow normative rules matched by `applyTo` | -| `.github/prompts/*.prompt.md` | Repo-local Copilot prompt workflows | -| `.github/skills/*/SKILL.md` | Repo-local skill workflows — canonical home; symlinked into `.claude/skills/` so Claude Code triggers them too (same real-dir+symlink convention as the global `routeros-*` skills in `~/CLAUDE.md`) | - -## Where does this go? - -The canonical routing rule lives in `.github/instructions/where-does-this-go.instructions.md`. Short version: - -- **Committed codebase work** → a GitHub issue (`agent-ready` once the spec is settled; PRs close issues via `Closes #N`) -- **Grounded research / decision support** → `briefings/B-*.md` -- **Loose thought with no shape yet** → `BACKLOG.md` Inbox -- **Waiting on a named external event** → `BACKLOG.md` Triggers -- **Durable project rationale** → `DESIGN.md` -- **Operator or release procedure** → `MANUAL.md` -- **User-visible shipped behavior** → `CHANGELOG.md` -- **Load-bearing invariant + proof** → `VALIDATION.md` - -Avoid ticket sprawl: an issue starts as discussion; the `agent-ready` label is a promotion earned once acceptance criteria are settled, not a default. - -## Instruction Routing - -Agent-specific entrypoints are thin shims: Claude starts here, Codex starts with `AGENTS.md`, and Copilot starts with `.github/copilot-instructions.md`. Then read the narrow files that match the surface you are touching. - -| Area | Read these files | -|------|------------------| -| Cross-cutting rules | `changelog-discipline.instructions.md`, `where-does-this-go.instructions.md`, `instruction-scopes.instructions.md`, `descriptive-prose-file-names.instructions.md` | -| Bun / runtime conventions | `bun-not-node.instructions.md`, `database.instructions.md` when touching `src/db.ts` | -| MCP, query, classifier, browse, canonicalizer | `mcp-server.instructions.md` plus `query-core-not-adapter.instructions.md`, `tui-mcp-parity.instructions.md`, `mcp-tool-descriptions.instructions.md`, `tool-surface-change.instructions.md`, `canonicalize-vendored.instructions.md` | -| Extraction and data-shape work | `extraction.instructions.md` plus `extractor-idempotent.instructions.md`, `extractor-import-side-effects.instructions.md`, `command-versions-vs-presence.instructions.md`, `schema-roundtrip-compat.instructions.md`, `data-source-naming-product-matrix.instructions.md`, `skill-attribution-boundary.instructions.md` | -| Release / install / provenance | `release-via-ci.instructions.md`, `republish-assets-not-npm.instructions.md`, `db-meta-stamping.instructions.md` | -| Markdown / doc-authoring rules | `markdownlint-fenced-code.instructions.md`, `llm-instruction-files-excluded-from-mdlint.instructions.md` | -| Issue / briefing workflow | `tasks-vs-briefings.instructions.md`, `issue-pr-linking.instructions.md`, `tasks/README.md`, `briefings/README.md` | -| PR is Ready for Review / you're about to say it's mergeable | Run the `pr-review-gate` skill (`.github/skills/pr-review-gate/SKILL.md`) — `reviewDecision` and green checks do not mean mergeable; unresolved bot threads block `main` independently. Rationale: `pr-review-bots.instructions.md` | - -## Fast pointers - -- Need **why** something works this way? Read `DESIGN.md`. -- Need **how to run, release, or rebuild** it? Read `MANUAL.md`. -- Need **manual-site migration context**? MikroTik moved future docs to Docusaurus at ; read `DESIGN.md` and `briefings/B-0012-docusaurus-manual-migration.md` before touching extraction, MCP, or TUI search. -- Need **external agent-benchmark context**? `~/GitHub/bench-routeros-tools` tests rosetta as one grounding approach for live RouterOS command generation; read `DESIGN.md` → "External benchmark feedback loop" before changing retrieval, skills, or command-validation surfaces. -- Need **current corpus counts**? Use `routeros_stats` rather than hard-coded numbers here. -- Need to **trust the local DB before grounding a claim**? In a checkout, repo-root `ros-help.db` is untrusted until verified. Run `make db-doctor` (or read `routeros_stats` → `provenance.grounding`); `make db-sync` fetches the latest CI release DB (the grounding source of truth). See `.github/instructions/local-db-grounding.instructions.md`. -- Need **work status or open ideas**? Use `gh issue list` (active work), `briefings/`, and `BACKLOG.md`; `tasks/` is a frozen archive. - -Nothing else should be duplicated here. If this file starts growing operational detail, schema blocks, or long rule lists again, move that content back into its canonical home instead. +@AGENTS.md diff --git a/DESIGN.md b/DESIGN.md index 269fa65..d4b1811 100644 --- a/DESIGN.md +++ b/DESIGN.md @@ -1,7 +1,7 @@ # Design — rosetta > **Audience:** LLM agents working on this codebase. Explains *why* things are the way they are. -> For project orientation and the routing map, see `CLAUDE.md`. +> For project orientation and the routing map, see `AGENTS.md`. > For install, operations, and schema reference, see `MANUAL.md`. > For ideas and future work, see `BACKLOG.md`. @@ -373,7 +373,7 @@ Rosetta may return commands an operator or runner could execute, but it must not ### External benchmark feedback loop -`~/GitHub/bench-routeros-tools` is the local benchmark harness that compares agentic RouterOS approaches. It treats rosetta as one grounding source alongside baseline model knowledge, skill-file context, and live-device checks. Its reports are **pilot evidence**, not rosetta's CI contract, but they are useful regression signals when changing retrieval, skills, `routeros_explain_command`, or future validation surfaces. +[tikoci/bench-routeros-tools](https://github.com/tikoci/bench-routeros-tools) is the benchmark harness that compares agentic RouterOS approaches. It treats rosetta as one grounding source alongside baseline model knowledge, skill-file context, and live-device checks. Its reports are **pilot evidence**, not rosetta's CI contract, but they are useful regression signals when changing retrieval, skills, `routeros_explain_command`, or future validation surfaces. Durable lessons from the May 2026 live pilots: @@ -415,7 +415,7 @@ Current lean: | [tikoci/vscode-tikbook](https://github.com/tikoci/vscode-tikbook) | RouterOS script notebook for VSCode. Potential consumer of this DB for Copilot-assisted scripting. | | [tikoci/lsp-routeros-ts](https://github.com/tikoci/lsp-routeros-ts) | Consumer: hover help, property docs, command path → URL mapping. | | [tikoci/netinstall](https://github.com/tikoci/netinstall) | RouterOS REST API gotchas (HTTP verb mapping, property name differences). | -| `~/GitHub/bench-routeros-tools` | Local benchmark harness for structural and live-agent RouterOS command-generation tests. Uses rosetta as a grounding source and quickchr/CHR as device truth for selected cases. | +| [tikoci/bench-routeros-tools](https://github.com/tikoci/bench-routeros-tools) | Benchmark harness for structural and live-agent RouterOS command-generation tests. Uses rosetta as a grounding source and quickchr/CHR as device truth for selected cases. | ### restraml GitHub Pages tools diff --git a/briefings/B-0010-mcp-eval-phases-3plus.md b/briefings/B-0010-mcp-eval-phases-3plus.md index e77d470..6951924 100644 --- a/briefings/B-0010-mcp-eval-phases-3plus.md +++ b/briefings/B-0010-mcp-eval-phases-3plus.md @@ -43,7 +43,7 @@ duplicating: expansion (24→35 queries), self-supervised baseline regeneration against the Docusaurus corpus, and a "Bug Ledger" of real ETL/MCP defects the audit surfaced (routed to issues #58–#60). That's Phase 0/1 work in this briefing's terms, not Phase 3+. -- `~/GitHub/bench-routeros-tools` — external benchmark of RouterOS agent-support strategies (MCPs, +- `tikoci/bench-routeros-tools` — external benchmark of RouterOS agent-support strategies (MCPs, skills, retrieval); grounds rosetta's value proposition from outside its own eval harness. See `DESIGN.md` → "External benchmark feedback loop." diff --git a/briefings/B-0013-steering-skills-rosetta-positioning.md b/briefings/B-0013-steering-skills-rosetta-positioning.md index fb6c45f..cd79e54 100644 --- a/briefings/B-0013-steering-skills-rosetta-positioning.md +++ b/briefings/B-0013-steering-skills-rosetta-positioning.md @@ -20,7 +20,7 @@ cleanup build? ## What's grounding this -- `~/GitHub/bench-routeros-tools` `REPORT.md` + `docs/REPORT_LIVE.md` (structural +- `tikoci/bench-routeros-tools` `REPORT.md` + `docs/REPORT_LIVE.md` (structural metrics and live pilots, incl. the `vendordoc-steer` condition — literally the forum-post steering workflow — added as a 4th live rung). - Forum thread [#270916](https://forum.mikrotik.com/t/steering-ai-to-use-new-manual-mikrotik-com/270916) diff --git a/matrix/AGENTS.md b/matrix/AGENTS.md new file mode 100644 index 0000000..df3b750 --- /dev/null +++ b/matrix/AGENTS.md @@ -0,0 +1,7 @@ +# MikroTik Product Matrix + +Per-device hardware specs from mikrotik.com/products/matrix. Date-stamped snapshots stored in git. + +See [DESIGN.md](../DESIGN.md) for product-matrix provenance and naming caveats, and [MANUAL.md](../MANUAL.md) for the re-extraction workflow. + +Extraction: `bun run src/extract-devices.ts` (or `make extract-devices`). Idempotent — deletes and re-inserts all rows. diff --git a/matrix/CLAUDE.md b/matrix/CLAUDE.md index df3b750..43c994c 100644 --- a/matrix/CLAUDE.md +++ b/matrix/CLAUDE.md @@ -1,7 +1 @@ -# MikroTik Product Matrix - -Per-device hardware specs from mikrotik.com/products/matrix. Date-stamped snapshots stored in git. - -See [DESIGN.md](../DESIGN.md) for product-matrix provenance and naming caveats, and [MANUAL.md](../MANUAL.md) for the re-extraction workflow. - -Extraction: `bun run src/extract-devices.ts` (or `make extract-devices`). Idempotent — deletes and re-inserts all rows. +@AGENTS.md diff --git a/src/paths.ts b/src/paths.ts index e54891f..1ef5321 100644 --- a/src/paths.ts +++ b/src/paths.ts @@ -173,7 +173,7 @@ export function isDevInvocation(mode: InvocationMode): boolean { /** * Current product-matrix snapshot, relative to the project root. * - * Snapshots are date-stamped and committed under `matrix/` (see `matrix/CLAUDE.md`). + * Snapshots are date-stamped and committed under `matrix/` (see `matrix/AGENTS.md`). * Five entry points read this file — extract-devices, extract-hardware-catalog, * build-device-map, assess-hardware, assess-www — and they must all read the *same* * snapshot, or the `devices` table and the hardware overlay silently describe From c2a1e088fb88efb641eee0ed8e900310d3c2bfa5 Mon Sep 17 00:00:00 2001 From: TIKOCI RouterOS Bots Date: Tue, 1 Dec 2026 15:10:39 -0800 Subject: [PATCH 2/2] Address Codex review of the house adoption - pr-review-gate / pr-review-bots: agents never request a re-review (`@coderabbitai review`, re-requesting Copilot); a push does not start a new CodeRabbit pass here (auto_incremental_review: false). The Copilot review and copilot-gate.yml are recorded as a tikoci-pr-flow exception. (blocking) - AGENTS.md: release/ci/github/dependencies/pr-flow/data-contracts marked partial with each gap listed (now all in #265); the broad "read DESIGN.md first" trigger restored; every instruction file gets a one-line summary. - instruction-scopes: restore the smallest-honest-applyTo rule. - SessionStart hook: prints an actionable NOT CHECKED line when cd fails or bun is missing; AGENTS.md notes it needs Git Bash on Windows. - database.instructions: narrow the WAL read-only claim to the observed failures (macOS missing -shm, read-only directory). - DESIGN: matrix column schema points at extract-devices.ts, not an import shim; drop the stale ../CLAUDE.md VS Code link exception. - .markdownlintignore matches the cli2 ignore list; benchmark repo linked in B-0010/B-0013. Co-Authored-By: Claude Opus 5.5 --- .agents/skills/pr-review-gate/SKILL.md | 13 +- .claude/settings.json | 2 +- .github/instructions/database.instructions.md | 2 +- .../instruction-scopes.instructions.md | 2 + .../pr-review-bots.instructions.md | 13 +- .markdownlintignore | 6 +- .vscode/settings.json | 1 - AGENTS.md | 159 +++++++++++++----- DESIGN.md | 2 +- briefings/B-0010-mcp-eval-phases-3plus.md | 2 +- ...013-steering-skills-rosetta-positioning.md | 2 +- 11 files changed, 143 insertions(+), 61 deletions(-) diff --git a/.agents/skills/pr-review-gate/SKILL.md b/.agents/skills/pr-review-gate/SKILL.md index d3e7dc0..6fa05b4 100644 --- a/.agents/skills/pr-review-gate/SKILL.md +++ b/.agents/skills/pr-review-gate/SKILL.md @@ -23,10 +23,10 @@ procedure; read that file for the "why." ## When NOT to use - Draft PRs — bots don't review drafts. -- As a substitute for requesting a fresh bot pass. Re-review costs money (Copilot) or burns - a rate-limited slot (CodeRabbit: 1-3/hour) — only request one (`@coderabbitai review` PR - comment, or re-request the Copilot reviewer) for fixes big/ambiguous enough to warrant a - second look. A one-line string fix doesn't need it; resolve the thread and move on. +- To get another bot pass. Never request one yourself (no `@coderabbitai review` comment, + no re-requesting Copilot): in the house PR flow + () CodeRabbit reviews once on + ready, and any re-review is the maintainer's call. ## Procedure @@ -80,8 +80,9 @@ procedure; read that file for the "why." 6. **After pushing fixes, re-check — don't assume the push resolved anything.** - A fix push does **not** auto-resolve the thread it fixes; it may flip to `isOutdated`, which looks handled in the UI but is not `isResolved`. - - The push also triggers a fresh CodeRabbit pass (and possibly Copilot) that can open - **new** threads. Wait for that re-review to settle, then repeat step 3. + - A push does not start a new CodeRabbit pass here (`auto_incremental_review: false` in + `.coderabbit.yaml`). Don't wait for one or ask for one. If new bot threads do appear + (for example the maintainer requested a re-review), repeat step 3 for them. - Loop steps 3-6 until the unresolved list is empty. 7. **Confirm the gate is actually clear.** diff --git a/.claude/settings.json b/.claude/settings.json index db17986..b75e991 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -5,7 +5,7 @@ "hooks": [ { "type": "command", - "command": "cd \"$CLAUDE_PROJECT_DIR\" && if out=$(bun run scripts/db-doctor.ts 2>&1); then echo \"ros-help.db grounding: OK ($(echo \"$out\" | grep -m1 release_tag | tr -s ' '))\"; else echo \"$out\"; echo 'ros-help.db is NOT trusted for grounding. Run make db-sync (stop the rosetta MCP server first) before making claims about shipped data.'; fi; exit 0", + "command": "cd \"$CLAUDE_PROJECT_DIR\" 2>/dev/null || { echo \"ros-help.db grounding: NOT CHECKED (cannot cd to CLAUDE_PROJECT_DIR). Treat ros-help.db as untrusted until make db-doctor says OK.\"; exit 0; }; command -v bun >/dev/null 2>&1 || { echo \"ros-help.db grounding: NOT CHECKED (bun is not on PATH; install Bun per CONTRIBUTING.md, then run make db-doctor). Treat ros-help.db as untrusted.\"; exit 0; }; if out=$(bun run scripts/db-doctor.ts 2>&1); then echo \"ros-help.db grounding: OK ($(echo \"$out\" | grep -m1 release_tag | tr -s ' '))\"; else echo \"$out\"; echo \"ros-help.db is NOT trusted for grounding. Run make db-sync (stop the rosetta MCP server first) before making claims about shipped data.\"; fi; exit 0", "timeout": 30 } ] diff --git a/.github/instructions/database.instructions.md b/.github/instructions/database.instructions.md index dd7474c..216d967 100644 --- a/.github/instructions/database.instructions.md +++ b/.github/instructions/database.instructions.md @@ -6,7 +6,7 @@ applyTo: "src/db.ts" ## Key Rules - Use `bun:sqlite` — never `better-sqlite3` or other drivers -- Journal mode depends on who opens the file. Writable dev and extract databases run `initDb()`, which sets WAL and `foreign_keys=ON`. Package-managed databases (`DB_READONLY`, `isManagedDbPath`) are opened `{ readonly: true }` in rollback-journal mode: `bun:sqlite` cannot open a WAL file read-only, so installs convert the downloaded file with `journal_mode=DELETE` (`src/db-lifecycle.ts`). The release asset itself still ships as WAL (#265). +- Journal mode depends on who opens the file. Writable dev and extract databases run `initDb()`, which sets WAL and `foreign_keys=ON`. Package-managed databases (`DB_READONLY`, `isManagedDbPath`) are opened `{ readonly: true }` in rollback-journal mode. Opening a WAL file read-only is not reliable: it fails on macOS when the `-shm` sidecar is missing, and in a read-only directory where SQLite can't create the sidecars (it can work on Linux with a writable directory). So installs convert the downloaded file with `journal_mode=DELETE` (`src/db-lifecycle.ts`), and `src/setup.ts`'s probes open read-write. The release asset itself still ships as WAL (#265). - `DB_PATH` env var overrides default `ros-help.db` - Singleton pattern: one `Database` instance shared across modules diff --git a/.github/instructions/instruction-scopes.instructions.md b/.github/instructions/instruction-scopes.instructions.md index 3315a00..f2315a5 100644 --- a/.github/instructions/instruction-scopes.instructions.md +++ b/.github/instructions/instruction-scopes.instructions.md @@ -14,6 +14,8 @@ The house rule is . In th goes in the existing file that governs it, or in AGENTS.md if it is short and repo-wide. - When you edit, rename or retire an instruction file, update the index in AGENTS.md in the same change. Codex and other agents ignore `applyTo` and find these files only through that index. +- Give a file the smallest honest `applyTo` scope; broad scopes are fine when the rule is + genuinely broad. - Keep one normative home per rule. Other files point to it instead of copying the prose. - Keep machine facts (home paths, host names, local checkouts, accounts) out of the repo. They belong in the operator's `~/.agents/AGENTS.md`. diff --git a/.github/instructions/pr-review-bots.instructions.md b/.github/instructions/pr-review-bots.instructions.md index 69213f5..ee716d1 100644 --- a/.github/instructions/pr-review-bots.instructions.md +++ b/.github/instructions/pr-review-bots.instructions.md @@ -16,7 +16,7 @@ one signal will mis-read the state of the PR. - **CodeRabbit is a status check, not a findings gate.** Its check turns **green when its review run finishes** — green means "CodeRabbit is done looking," **not** "your findings are addressed." Do not read a green CodeRabbit check as permission to merge. - It re-reviews on demand via an `@coderabbitai review` PR comment. + It re-reviews on demand via an `@coderabbitai review` PR comment: the maintainer's call, never an agent's. - **Copilot is a requested reviewer.** Its review lands as state **`COMMENTED`**, never `CHANGES_REQUESTED`. So `gh pr view N --json reviewDecision` will **not** show it as blocking or pending the way a human "changes requested" review would — the findings @@ -70,10 +70,13 @@ a one-shot you do once and forget. Two behaviors trip agents up: auto-resolves a subset when the anchored lines move), so the unresolved count will often be **smaller than the comment count** — reconcile against the GraphQL `isResolved==false` list above, never against `pulls/N/comments`. -- **Your fix push triggers a fresh bot pass that can open *new* threads.** CodeRabbit - re-reviews on push (Copilot may too), so re-run the unresolved-threads query **after** - the re-review settles, not the moment you push. Reply-then-resolve each new thread; only - when that list is empty *and* the re-review check is green is the conversation gate clear. +- **A fix push does not start a new bot pass, and you must not ask for one.** CodeRabbit + reviews once on ready (`auto_incremental_review: false` in `.coderabbit.yaml`), per the + house PR flow (); an agent never + comments `@coderabbitai review` or re-requests Copilot. If new threads do appear (the + maintainer asked for a re-review), reply-then-resolve them too. The conversation gate is + clear when the unresolved list is empty and `copilot-gate.yml` is green (it fails while + Copilot is still a pending reviewer). Reply to a bot thread with the fixing commit SHA before resolving it — it leaves an audit trail of *why* it was closed, and mirrors the flow used across recent rosetta PRs. diff --git a/.markdownlintignore b/.markdownlintignore index 8af6a62..df236d4 100644 --- a/.markdownlintignore +++ b/.markdownlintignore @@ -5,12 +5,14 @@ # LLM instruction files (agent-facing, intentionally use patterns linters flag) — # see .github/instructions/llm-instruction-files-excluded-from-mdlint.instructions.md -CLAUDE.md -AGENTS.md +**/CLAUDE.md +**/AGENTS.md .github/copilot-instructions.md .github/instructions/** .github/prompts/** .agents/skills/** +.claude/prompts/** +.claude/skills/** # Test fixtures — intentionally malformed Markdown that exercises the parser fixtures/** diff --git a/.vscode/settings.json b/.vscode/settings.json index b58cfc2..57e136b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -17,7 +17,6 @@ }, "biome.lsp.bin": "node_modules/@biomejs/biome/bin/biome", "markdown.validate.ignoredLinks": [ - "../CLAUDE.md", "../DESIGN.md", "../BACKLOG.md" ], diff --git a/AGENTS.md b/AGENTS.md index ec898cf..eabec3c 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -6,6 +6,12 @@ RouterOS tooling. This file is the entry point for every agent (Claude Code load `CLAUDE.md` = `@AGENTS.md`; Copilot's `.github/copilot-instructions.md` points here). It routes; rules live in the narrow files it lists. +## First reads + +- Read `DESIGN.md` before touching retrieval, MCP/TUI behavior, data sources, extraction, skills, + command validation, or Docusaurus migration work. It holds the rationale those areas rest on. +- Then read the instruction files below that match the surface you touch. + ## Where things live | File / dir | Role | @@ -26,27 +32,90 @@ rules live in the narrow files it lists. | `.github/prompts/*.prompt.md` | Copilot prompt workflows | | `.scratch/` | Gitignored temporary work (repro scripts, logs, drafts) | -Where a new piece of information goes: `.github/instructions/where-does-this-go.instructions.md`. -Short form: committed work → issue (PRs `Closes #N`); research → briefing; loose thought → -BACKLOG Inbox; waiting on an external event → BACKLOG Triggers; rationale → DESIGN; procedure → -MANUAL; shipped behavior → CHANGELOG; invariant + proof → VALIDATION. An issue starts as -discussion; `agent-ready` is earned once acceptance criteria are settled. +Where a new piece of information goes: `where-does-this-go` (below). Short form: committed work → +issue (PRs `Closes #N`); research → briefing; loose thought → BACKLOG Inbox; waiting on an +external event → BACKLOG Triggers; rationale → DESIGN; procedure → MANUAL; shipped behavior → +CHANGELOG; invariant + proof → VALIDATION. An issue starts as discussion; `agent-ready` is earned +once acceptance criteria are settled. ## Instruction files -Codex and other agents ignore `applyTo`, so read the files matching the surface you touch. Each -file's frontmatter `applyTo` gives its exact scope. - -| Area | Files (`.github/instructions/.instructions.md`) | -|------|------------------------------------------------------| -| Every change | `where-does-this-go`, `changelog-discipline` (one bullet per user-visible change), `capture-undone-work` (record breakage/deferrals before finishing), `issue-pr-linking`, `ci-pickup-verification` (name the CI step that proves it), `descriptive-prose-file-names` | -| Writing agent docs | `instruction-scopes`, `llm-instruction-files-excluded-from-mdlint`, `markdownlint-fenced-code` | -| Work tracking | `tasks-vs-briefings` | -| Runtime and DB | `bun-not-node`, `database` (`src/db.ts`), `local-db-grounding` (trust `ros-help.db` only after `make db-doctor`) | -| MCP, query, TUI | `mcp-server` (router), `query-core-not-adapter`, `tui-mcp-parity`, `mcp-tool-descriptions`, `tool-surface-change`, `skill-attribution-boundary`, `canonicalize-vendored` | -| Extraction and data shape | `extraction` (router), `extractor-idempotent`, `extractor-import-side-effects`, `command-versions-vs-presence`, `schema-roundtrip-compat`, `data-source-naming-product-matrix`, `github-api-auth` | -| Release and provenance | `release-via-ci`, `manual-version-bump`, `npm-channel-source-of-truth`, `republish-assets-not-npm`, `db-meta-stamping` | -| PRs | `pr-review-bots`, then the `pr-review-gate` skill before calling a PR mergeable: green checks and `reviewDecision` do not mean mergeable, unresolved bot threads block `main` | +`.github/instructions/.instructions.md`. Codex and other agents ignore `applyTo`, so read +the ones matching the surface you touch; each file's frontmatter `applyTo` gives its exact scope. + +**Every change** + +- `where-does-this-go`: the one home for each kind of information. +- `changelog-discipline`: exactly one `[Unreleased]` bullet per user-visible change. +- `capture-undone-work`: record breakage, workarounds and deferred items in project files before + finishing. +- `issue-pr-linking`: a PR that implements an issue says `Closes #N`; partial landings open a + follow-up first. +- `ci-pickup-verification`: name the CI workflow and step that proves the work; local-only + checks don't count. + +**Writing docs and agent files** + +- `instruction-scopes`: AGENTS.md is the entry file, no new instruction files, one home per rule, + smallest honest `applyTo`. +- `descriptive-prose-file-names`: instruction, task and briefing files get descriptive names. +- `llm-instruction-files-excluded-from-mdlint`: agent-facing files stay out of markdownlint. +- `markdownlint-fenced-code`: fenced, language-tagged code blocks (`routeros`, `text`). +- `tasks-vs-briefings`: issues are commitments, briefings are research, BACKLOG is loose + thought, `tasks/` is an archive. + +**Runtime and database** + +- `bun-not-node`: Bun-native runtime and APIs; no Node substitutes. +- `database`: `src/db.ts` schema, journal modes, FTS5 triggers, FK deletion order. +- `local-db-grounding`: the checkout's `ros-help.db` is untrusted until `make db-doctor` says OK; + the CI release DB is the source of truth. + +**MCP, query and TUI** + +- `mcp-server`: router for this area. +- `query-core-not-adapter`: shared behavior lives in `query.ts`; adapter-only heuristics are a + smell. +- `tui-mcp-parity`: every MCP tool stays reachable from the TUI; dot-commands are the parity + contract. +- `mcp-tool-descriptions`: descriptions teach navigation (next tool, empty-result hints, + budgets). +- `tool-surface-change`: adding, removing or renaming a tool updates the registry, the frozen + test list and the CHANGELOG together. +- `skill-attribution-boundary`: community RouterOS skills are supplemental, never presented as + MikroTik docs. +- `canonicalize-vendored`: `canonicalize.ts` is a pure module shared with lsp-routeros-ts; + rosetta wiring lives in the resolver. + +**Extraction and data shape** + +- `extraction`: router for this area. +- `extractor-idempotent`: extractors rebuild their tables deterministically (delete, then + insert). +- `extractor-import-side-effects`: side effects only under `import.meta.main`; importing `db.ts` + opens a real connection. +- `command-versions-vs-presence`: `command_versions` keeps full history; `schema_node_presence` + is the pruned active-head view. +- `schema-roundtrip-compat`: `extract-schema.ts` regenerates `commands` / `command_versions` for + existing consumers. +- `data-source-naming-product-matrix`: product names differ across matrix, codes, slugs and docs; + matching is heuristic. +- `github-api-auth`: every GitHub API call is authenticated. + +**Release and provenance** + +- `release-via-ci`: releases go through the Release workflow, never local commands. +- `manual-version-bump`: a person bumps the version and promotes the CHANGELOG; CI never does. +- `npm-channel-source-of-truth`: the committed `package.json` version alone picks + `latest`/`next`. +- `republish-assets-not-npm`: `republish_assets` re-uploads Release assets and OCI tags only. +- `db-meta-stamping`: released DBs carry CI-stamped `db_meta` provenance that runtime surfaces. + +**PRs** + +- `pr-review-bots`: how Copilot and CodeRabbit reviews appear and what wrapping a PR needs. Then + run the `pr-review-gate` skill before calling a PR mergeable: green checks and + `reviewDecision` do not mean mergeable, unresolved bot threads block `main`. ## Repo skills @@ -58,28 +127,35 @@ issue or briefing), `pr-review-gate` (close bot review threads before merge), `r House rules: . All are **referenced by URL** (`https://tikoci.dev/house/skills//SKILL.md`); read the one that matches the task. -Gaps between rosetta and a house rule are listed under House exceptions. +Where rosetta differs, House exceptions says how; adopt the rest as the work touches it. -- `tikoci-house`: adopted (this file, `CLAUDE.md`, `.agents/skills`, `.scratch/`). -- `tikoci-docs`: adopted, with the exceptions below. -- `tikoci-pr-flow`, `tikoci-github`, `tikoci-ci`, `tikoci-testing`, `tikoci-grounding`, - `tikoci-release`, `tikoci-cli-mcp`, `tikoci-crossref`: adopted as written. -- `tikoci-data-contracts`, `tikoci-toolchain`, `tikoci-linting`, `tikoci-dependencies`, - `tikoci-home`: partial; see exceptions. +- Adopted as written: `tikoci-house`, `tikoci-grounding`, `tikoci-testing`, `tikoci-cli-mcp`, + `tikoci-crossref`. +- Partial (see exceptions): `tikoci-docs`, `tikoci-pr-flow`, `tikoci-release`, `tikoci-ci`, + `tikoci-github`, `tikoci-dependencies`, `tikoci-data-contracts`, `tikoci-toolchain`, + `tikoci-linting`, `tikoci-home`. ## House exceptions - **Extra doc homes** (`tikoci-docs`): `MANUAL.md` (operations and schema), `VALIDATION.md` (invariants), `briefings/` (research) and the frozen `tasks/` archive predate the house layout - and stay. -- **`.github/instructions/`** (`tikoci-house`): the 33 existing files stay and retire gradually; - no new ones. -- **Code gaps** tracked in #265: data under - `~/.rosetta/` rather than `TIKOCI_HOME` (`tikoci-home`); no `packageManager` Bun pin and the - Makefile as the main entry point (`tikoci-toolchain`); actions pinned by tag, not SHA - (`tikoci-dependencies`); tsc `strict` without `noUncheckedIndexedAccess` / - `exactOptionalPropertyTypes` (`tikoci-linting`); the release DB asset ships in WAL mode and - installs convert it (`tikoci-data-contracts`). + and stay. CHANGELOG keeps its Keep-a-Changelog headings and `[Unreleased]` block. +- **`.github/instructions/`** (`tikoci-house`): the existing files stay and retire gradually; no + new ones. +- **Copilot review** (`tikoci-pr-flow`): besides CodeRabbit (once, on ready), Copilot reviews + PRs, and `copilot-gate.yml` fails while Copilot is still a pending reviewer. Agents never + request a re-review from either bot. +- **Code and CI gaps**, tracked in #265, adopted as work touches them: + - `tikoci-home`: data under `~/.rosetta/`, not `TIKOCI_HOME`. + - `tikoci-toolchain`: no `packageManager` Bun pin; the Makefile is the main entry point. + - `tikoci-ci`: workflows run `bun-version: latest`; no single required gate job. + - `tikoci-dependencies` / `tikoci-github`: actions pinned by tag, not SHA. + - `tikoci-release`: npm publish uses `NPM_TOKEN`, not trusted publishing; `republish_assets` + replaces assets with `--clobber`; the install smoke runs after publish. + - `tikoci-linting`: tsc `strict` without `noUncheckedIndexedAccess` / + `exactOptionalPropertyTypes`. + - `tikoci-data-contracts`: the release DB asset ships in WAL mode and installs convert it; + `src/db.ts` opens its connection at import. ## Development defaults @@ -87,22 +163,21 @@ Gaps between rosetta and a house rule are listed under House exceptions. - MCP, query, classifier, TUI and canonicalizer behavior goes through shared core code (usually `src/query.ts`); `src/mcp.ts` and `src/browse.ts` stay thin adapters. - Rosetta is read-only documentation and schema context. It never connects to or changes a router. -- Community RouterOS skills are supplemental, not official MikroTik docs; keep the attribution - boundary visible wherever they surface. - Dev MCP config: `.mcp.json` (Claude-style clients), `.vscode/mcp.json` (VS Code). Public setup snippets live in `README.md` and `src/setup.ts`; keep them and MANUAL aligned. ## Fast pointers -- **Why** something works this way → `DESIGN.md`. **How** to run, release or rebuild → `MANUAL.md`. +- **How** to run, release or rebuild → `MANUAL.md`. - **Trust the local DB** before grounding a claim: repo-root `ros-help.db` is untrusted until `make db-doctor` says OK; `make db-sync` fetches the latest CI release DB (stop clients holding - the file first). A Claude Code SessionStart hook (`.claude/settings.json`) runs the doctor. + the file first). In Claude Code a SessionStart hook (`.claude/settings.json`) runs the doctor; + it is a POSIX shell command, so on Windows it needs Git Bash. - **Current corpus counts** → `routeros_stats`, never numbers copied into docs. - **Manual-site migration**: MikroTik moved docs to Docusaurus at - and keeps moving property tables into `/docs/cli-reference/`. Read `DESIGN.md` and - `briefings/B-0012-docusaurus-manual-migration.md` before touching extraction, MCP or TUI search. + and keeps moving property tables into `/docs/cli-reference/`. Also read + `briefings/B-0012-docusaurus-manual-migration.md` and #269 before extraction, MCP or TUI + search work. - **External benchmark**: [tikoci/bench-routeros-tools](https://github.com/tikoci/bench-routeros-tools) - tests rosetta as one grounding approach; read `DESIGN.md` → "External benchmark feedback loop" - before changing retrieval, skills or command-validation surfaces. + tests rosetta as one grounding approach; see `DESIGN.md` → "External benchmark feedback loop". - **Work status** → `gh issue list`, `briefings/`, `BACKLOG.md`. diff --git a/DESIGN.md b/DESIGN.md index d4b1811..2fd56b4 100644 --- a/DESIGN.md +++ b/DESIGN.md @@ -286,7 +286,7 @@ table move fail release QA instead of reaching an agent. ### CSV requires manual download -The old `curl -X POST -d "ax=matrix"` API is dead (late 2025). MikroTik's product matrix is now a Laravel Livewire/PowerGrid table. Export via browser: visit `mikrotik.com/products/matrix`, click export, choose "All". See `matrix/CLAUDE.md` for column schema. +The old `curl -X POST -d "ax=matrix"` API is dead (late 2025). MikroTik's product matrix is now a Laravel Livewire/PowerGrid table. Export via browser: visit `mikrotik.com/products/matrix`, click export, choose "All". The column schema is the positional mapping in `src/extract-devices.ts` (`main()`), which assumes the export's header row as committed in the dated `matrix//` snapshots. ### Product page test results + block diagrams diff --git a/briefings/B-0010-mcp-eval-phases-3plus.md b/briefings/B-0010-mcp-eval-phases-3plus.md index 6951924..e163b8e 100644 --- a/briefings/B-0010-mcp-eval-phases-3plus.md +++ b/briefings/B-0010-mcp-eval-phases-3plus.md @@ -43,7 +43,7 @@ duplicating: expansion (24→35 queries), self-supervised baseline regeneration against the Docusaurus corpus, and a "Bug Ledger" of real ETL/MCP defects the audit surfaced (routed to issues #58–#60). That's Phase 0/1 work in this briefing's terms, not Phase 3+. -- `tikoci/bench-routeros-tools` — external benchmark of RouterOS agent-support strategies (MCPs, +- [tikoci/bench-routeros-tools](https://github.com/tikoci/bench-routeros-tools) — external benchmark of RouterOS agent-support strategies (MCPs, skills, retrieval); grounds rosetta's value proposition from outside its own eval harness. See `DESIGN.md` → "External benchmark feedback loop." diff --git a/briefings/B-0013-steering-skills-rosetta-positioning.md b/briefings/B-0013-steering-skills-rosetta-positioning.md index cd79e54..8eb1957 100644 --- a/briefings/B-0013-steering-skills-rosetta-positioning.md +++ b/briefings/B-0013-steering-skills-rosetta-positioning.md @@ -20,7 +20,7 @@ cleanup build? ## What's grounding this -- `tikoci/bench-routeros-tools` `REPORT.md` + `docs/REPORT_LIVE.md` (structural +- [tikoci/bench-routeros-tools](https://github.com/tikoci/bench-routeros-tools) `REPORT.md` + `docs/REPORT_LIVE.md` (structural metrics and live pilots, incl. the `vendordoc-steer` condition — literally the forum-post steering workflow — added as a 4th live rung). - Forum thread [#270916](https://forum.mikrotik.com/t/steering-ai-to-use-new-manual-mikrotik-com/270916)