RusNet/SPEC
RusNet — Product specification
The complete product, written down before it is built (owner, 2026-11-30, MAT-T360). Every epic, feature and story the finished product will have is listed here, built or not. The ticket tree mirrors this file one to one: every ID below is a ticket. Nothing gets built unless it is here, and anything taken out of here is closed wont-do in the tree.
docs/RELEASE.mdsays which part of this the current milestone delivers.
1. Product definition
RusNet scans the network you administer and gives you every reachable device, what it is and how it connects, as a standard JSON map (schema v1) and one self-contained interactive HTML report. The core is Python stdlib only; the viewer runs in a browser, in a pywebview window, or in a .NET WebView2 app with a Scan button. 1.0 is feature complete; the finished product is 1.0 on the shared run menu, installed only from R:.
2. Scope boundary
2.1 In the product
- Benign discovery: ping sweep, ARP table, SSDP and mDNS advertisements, common ports, OUI vendors.
- Offline classification (hostname, vendor, OS guess, device type).
- The JSON map, the offline HTML report and three viewer hosts.
2.2 Never in the product
- Anything offensive: logging in, exploiting or evading (BIBLE §3).
- Scanning networks the user does not own or is not authorised to assess.
- Monitoring: scheduled or diff scans, alerts.
- New discovery methods, schema v2, macOS or Linux installers (RELEASE §5).
3. Users and roles
- The owner (or any network admin) scans their own network and reads the report.
4. Requirements
E1. Scan and identify — RN-T28 — built
F1.1 Discovery and classification — RN-T29 — built
- S1.1.1 Scan to a standard map — RN-T2 — built
- S1.1.2 Discovery that answers — RN-T3 — built
- S1.1.3 SMB hosts classified — RN-T12 — built Evidence: 0da6305.
E2. Reports and viewers — RN-T30 — built
F2.1 Report and desktop viewers — RN-T31 — built
- S2.1.1 Self-contained report — RN-T32 — built As the owner, I want one report file that works offline, so that I can keep or share a scan. Acceptance: Given a scan, when it finishes, then
network-map.json(schema v1) and onenetwork-map.htmwith the viewer and data inlined are written. Evidence:rusnet/report.py,docs/SCHEMA.md. - S2.1.2 Scan from the viewer — RN-T4 — built
- S2.1.3 Reports default to Downloads — RN-T8 — built
E3. Install and versioning — RN-T33 — built
F3.1 Deploy script and 1.0.0 — RN-T34 — built
- S3.1.1 One deploy script — RN-T7 — built
- S3.1.2 Version 1.0.0 — RN-T9 — built Evidence: 2da6032.
E4. R: cutover — RN-T22 — MS-79
F4.1 Shared run menu on R: — RN-T23 — MS-79
- run.ps1 over deploy-lib.ps1 — RN-T20 — MS-79 As the owner, I want RusNet on the shared run menu, so that it installs like every other MindAttic app. Acceptance: Given Redeploy, when it runs, then
R:\MindAttic\Apps\RusNet\{Debug,Release}hold the viewer and its Python side, and Run Release starts the viewer.
F4.2 Remove the C: deploy — RN-T24 — MS-79
- Delete the old deploy — RN-T21 — MS-79 Acceptance:
C:\Apps\RusNetdoes not exist, and Scan in Run Release renders a report.
5. Non-functional requirements
- Python 3.9+, stdlib core; pywebview optional (RN-LAW-3).
- Reports are self-contained, nothing fetched at view time (RN-LAW-4).
docs/SCHEMA.mdandrusnet/model.pychange together (RN-LAW-2).
6. Interfaces and dependencies
- MindAttic.Components (vendored viewer components), the shared run menu (
deploy-lib.ps1). - No MindAttic repo consumes RusNet.
7. Release sequence
- MS-79 — RusNet 1.0 on the shared run menu, deployed only from R: (active,
docs/RELEASE.md): E4. 1.0 is feature complete, so the cutover is the final polish. The finished product.
8. Change log
| Date | Change to scope | Ticket |
|---|---|---|
| 2026-11-30 | Specification written from BIBLE, RELEASE, the code and the ticket history; MS-79 confirmed as the finished product | MAT-T394 |