Skip to content

docs: accuracy true-up across the doc tree - #71

Merged
lance0 merged 1 commit into
masterfrom
docs/accuracy-trueup
Jun 23, 2026
Merged

lance0 merged 1 commit into
masterfrom
docs/accuracy-trueup

Conversation

@lance0

@lance0 lance0 commented Jun 23, 2026

Copy link
Copy Markdown
Owner

Cross-checks every factual claim in the docs against the code (post browse-filter + list_all-perf merge) and fixes what was stale. Docs-only — no code touched.

Changes

  • CLI surface / examples — jq '.primary_ip4.address' → .primary_ip4 (DeviceView flattens it to a String); search CSV --cols name,site,status → --cols kind,display,url (real SearchResult keys); next-ip/next-prefix "computed locally" → "read-only, nothing reserved" (they query NetBox's available-ips/available-prefixes; only --length selection is local ipnet); nbox profile gains remove; AGENTS [api] surfaces vrf/route_target.
  • Feature/MCP refs — search/nbox_search kind lists add racks; TUI / documents the server-side browse filter (name-bearing vs prefix/IP→search); journal no-inline list adds route-target; MCP OIDC 401 split (missing→bare Bearer resource_metadata, invalid/expired→error="invalid_token").
  • History/roadmap/arch — object types 19→18 (with vrf+route-target); themes 11→12; record the shipped browse filter + planned CIDR-containment follow-up; add the 0.10.0 line; src/cache.rs→src/cache/; COMPATIBILITY verified-through 4.6→4.6.2.

Validation

All 13 substantive claims verified against src/:
primary_ip4 (domain/device_view.rs:31) · SearchResult keys (netbox/search.rs:213) · available-ips/prefixes + local --length (netbox/query.rs, lib.rs:1122) · ProfileCommand::Remove · [api].route_target (config.rs:348) · search includes Rack (search.rs:1096) · route-target has no --journal flag · src/cache/ module dir · Theme::list() = 12 · OIDC challenge split (mcp/http.rs:901-910) · 18 object types · 4.6.2.

Cross-checked every factual claim in the docs against the code (post the
browse-filter + list_all-perf merge) and fixed what was stale. Driven by four
headless sub-agents, each owning a disjoint doc set; every edit verified against
src/ before commit.

CLI surface & examples:
- README/SCRIPTING/COMPARISON: `jq '.primary_ip4.address'` → `.primary_ip4`
  (DeviceView.primary_ip4 is a flat String, not a BriefObject); search CSV
  `--cols name,site,status` → `--cols kind,display,url` (real SearchResult keys).
- README/COMPARISON: `next-ip`/`next-prefix` "computed locally" → "read-only,
  nothing reserved" (they query NetBox's available-ips/available-prefixes;
  only `--length` block selection is local).
- README: `nbox profile <add|use|list|show>` → add `remove` (ProfileCommand::Remove).
- AGENTS.md: `[api]` surfaces `vrf` → `vrf`/`route_target` (RouteTarget surface is real).

Feature/config/MCP refs:
- FEATURES.md: `nbox search` kind list + MCP `nbox_search` add `racks`;
  TUI `/` now documents the server-side browse filter (name-bearing kinds vs
  prefix/IP → search); journal no-inline list adds `route-target`.
- MCP.md: OIDC 401 challenge split — missing token → bare Bearer resource_metadata,
  invalid/expired → error="invalid_token" (matches oidc_challenge).

History/roadmap/arch:
- ROADMAP.md: "19 object types" → 18 (with vrf + route-target); "11 themes" → 12;
  record the shipped server-side browse filter + the planned CIDR-containment
  follow-up; add the 0.10.0 release line (Cargo + CHANGELOG confirm 0.10.0).
- CONTRIBUTING.md + docs/ARCHITECTURE.md: `src/cache.rs` → `src/cache/` (module dir).
- COMPATIBILITY.md: "verified through 4.6" → 4.6.2 (floor stays 4.2).

No code changed; build/tests unaffected.
@lance0
lance0 merged commit 2d530e1 into master Jun 23, 2026
@lance0
lance0 deleted the docs/accuracy-trueup branch June 23, 2026 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant