docs/ is the single canonical source of maintained repository documentation. Below is the categorized index covering requirements, research and technical designs, Architecture Decision Records (ADRs), development and CI specifications, operations guides, release notes, and verification evidence.
1. Requirements (REQ-001A–REQ-001R)
See also the dedicated Requirements Index.
| Document | ID | Status | Scope |
|---|---|---|---|
| Core Requirements | REQ-001A | Accepted | Project goals, core capabilities, SQL access, non-functional requirements, and A01–A17 |
| Agent Capabilities Requirements | REQ-001B | Accepted | Authorized peer access, local entries, Windows installer, and A18–A28 |
| Runtime, Admin & Audit Requirements | REQ-001C | Accepted | Control/data separation, traffic history, admin security, audit, and A28–A41 |
| Cross-Platform Agent Requirements | REQ-001D | Accepted | Linux and macOS Agents and A42–A45 |
| Client Deletion & Tagging Requirements | REQ-001E | Accepted | Client deletion, client/channel multi-tags, list filtering, and A46–A48 |
| Agent Local Read-Only HTTP API Requirements | REQ-001F | Done | Loopback read-only HTTP API sharing the status-page port and A49–A50 |
| Optional Peer Encryption Requirements | REQ-001G | Done | Default-encrypted peer channels, optional plaintext direct copy, and A51–A53 |
| Windows Agent Installation & Dependency Requirements | REQ-001H | Accepted | Server 2012 R2 baseline, dependency check wizard page, compatible service scripts, and A54–A57 |
| Server Docker Compose Deployment | REQ-001I | Accepted | Linux Server one-command Compose startup, persistence, security boundaries, and A58–A60 |
| Multi-Server Agent Requirements | REQ-001J | Draft | Per-server profile isolation, pre-start migration, local UI management, and A61–A71 |
| Logging & Diagnostics Requirements | REQ-001K | Accepted | Server/Agent file logging, explicit rejection reasons, redaction boundaries, and A72–A74 |
| UDP Forwarding Requirements | REQ-001L | Draft | Public/peer unicast UDP forwarding, resource bounds, and A75–A79 |
| Website Multi-Page Refactor | REQ-001M | Accepted | Concise home page, guide/docs/release lists and detail pages, and A80–A84 |
| HTTP/HTTPS Reverse Proxy | REQ-001N | Accepted | Public and encrypted-peer HTTP/HTTPS, target Agent Host/Origin policies, and A85–A91 |
| AI Automation & Server Management SDK | REQ-001P | Draft | AI skill/CLI/API over encrypted peer channel with console approval, six-language data-plane SDKs, and A108–A119 |
| Remove Agent Local UI "Connection Methods" Menu | REQ-001Q | Accepted | Remove quick-connect menu from raw TCP peer entries while preserving address copy and Web links, A120–A122 |
| Server & Agent Update Notification and Controlled Download | REQ-001R | Draft | GitHub release checks, controlled Agent download via Server, external upgrade command, top banner, and A123–A134 |
2. Research & Technical Design (RES-001 / DES-001–DES-012)
| Document | ID | Status | Scope |
|---|---|---|---|
| Update Notification & Distribution Research | RES-001 | Draft | Version injection gaps, default public upstream LazyWorkshopCreate/RelayLink, GitHub API rules, and distribution selection |
| Technical Design | DES-001 | Draft | Overall architecture, wire protocol, configuration, state machines, and failure handling |
| Agent-to-Agent Security Design | DES-002 | Draft | Authorized peering, inner TLS, and protocol increments |
| Audit & Traffic Design | DES-003 | Draft | SQLite audit admission gate, minute traffic aggregation, migration, and acceptance |
| Multi-Server Agent Design | DES-004 | Draft | Multi-server runtime isolation, pre-start config migration, and local UI management |
| Logging & Diagnostics Design | DES-005 | Accepted | Shared Serilog library, rotation/retention, error frame compatibility, and diagnostic correlation |
| UDP Forwarding Design | DES-006 | Draft | Datagram framing, per-source session isolation, protocol v4, and deployment boundaries |
| Website Multi-Page Design | DES-007 | Draft | Static page generation, content catalog, routing, and bilingual handling |
| HTTP Reverse Proxy Design & YARP Evaluation | DES-008 | Draft | Target Agent YARP/Kestrel virtual hosts, Host/Origin policy, and status reporting |
| AI Automation & Third-Party SDK Design | DES-010 | Draft | Loopback HTTPS automation surface, pairing & device-bound tokens, CLI/Skill contract, and six-language SDK baselines |
| Peer Direct P2P & Relay Fallback | DES-011 | Implemented | Encrypted QUIC direct, plaintext ICE-TCP direct, STUN/probe budgets, lease restart recovery, and same-mode relay fallback |
| Update Notification & Controlled Download Design | DES-012 | Draft | SemVer injection, v5 incremental protocol compatibility, single-flight cache, port-7444 atomic lease transfer, and banner UX |
3. Architecture Decision Records (ADR-0001–ADR-0044)
| Document | ID | Status | Scope |
|---|---|---|---|
| Independent TCP Tunnels | ADR-0001 | Proposed | Initial independent data-tunnel trade-offs |
| Runtime Channel Configuration | ADR-0002 | Superseded | Historical listener updates and config push decision (superseded by ADR-0009) |
| Traffic History Persistence | ADR-0003 | Superseded | Historical JSONL traffic snapshot approach (superseded by ADR-0010) |
| Standalone Admin Web | ADR-0004 | Accepted | React/Vite AdminWeb project hosted by Server |
| Agent-to-Agent TLS | ADR-0005 | Superseded | Server-coordinated peering (cert registration and mandatory inner TLS superseded by ADR-0011 and ADR-0016) |
| Agent-Owned Access Ports | ADR-0006 | Accepted | Local port selection, persistence, status reporting, and read-only page |
| Embedded Agent Trust CA | ADR-0007 | Accepted | Embedded Base64 CA trust material in downloaded Agent configs and legacy compatibility |
| Separated Control & Raw Data | ADR-0008 | Accepted | Dedicated data port, single-use bind, raw public TCP copy, and security trade-offs |
| Revoke Connections on Channel Change | ADR-0009 | Accepted | Revoke pending and active connections per channel or mapping on actual config change |
| SQLite Minute Traffic History | ADR-0010 | Accepted | Per-minute aggregation, peer traffic accounting, and 90-day retention |
| Client-Level E2E Identity | ADR-0011 | Accepted | Automatic Agent reporting, TOFU pinning, and rejection of legacy per-channel fingerprint fields |
| Application Security Groups | ADR-0012 | Accepted | Source IP/CIDR filtering on public channels and revocation on rule changes |
| SQLite Audit Gate | ADR-0013 | Accepted | Durable audit persistence before admitting logins or connections, query API, and fail-closed behavior |
| Linux Agent | ADR-0014 | Accepted | Self-contained Linux release, systemd hosting, and peering to access AdminWeb |
| macOS Agent | ADR-0015 | Accepted | Intel/Apple Silicon self-contained builds and launchd hosting |
| Optional Peer Traffic Encryption | ADR-0016 | Accepted | Per-channel choice of inner TLS or authenticated plaintext copy |
| Windows Agent Framework-Dependent Distribution | ADR-0017 | Superseded | Original framework-dependent-only distribution decision (superseded by ADR-0019) |
| Agent Multi-Server Isolation | ADR-0018 | Proposed | Per-profile isolation of sessions, state, and local management |
| Dual Windows Agent Distribution | ADR-0019 | Superseded | Dual self-contained/framework-dependent builds (install directory layout superseded by ADR-0020) |
| Flat Windows Agent Installation Layout | ADR-0020 | Accepted | Root install folder cleanup, legacy subdir migration, and ProgramData separation |
| Standalone Agent Web | ADR-0021 | Accepted | React/Vite Agent local UI and static asset hosting |
| Import-Only Agent Profile Changes | ADR-0022 | Accepted | JSON import for adding/updating server profiles, identity preservation, and per-profile reconnect |
| Persistent Agent Profile Disable | ADR-0023 | Accepted | Persisting disabled server profiles across restarts and re-enabling |
| UDP Over Independent Tunnels | ADR-0024 | Proposed | UDP-over-TCP trade-offs and compatibility |
| v3 Client Compatibility | ADR-0025 | Accepted | Non-breaking incremental retention of v3 TCP with per-session UDP version isolation |
| HTTP Proxy Over TCP Tunnels | ADR-0026 | Accepted | Target-Agent HTTP handling with public TLS passthrough and encrypted peer tunneling |
| Agent Local Management Token | ADR-0027 | Superseded | Former local write token requirement (superseded by ADR-0034) |
| Agent Local Write Session | ADR-0034 | Accepted | Removed local token in favor of Host/Origin checks, HttpOnly SameSite=Strict session, and CSRF |
| AI Automation Over Peer Channel | ADR-0035 | Proposed | No new public admin endpoint; one-time pairing + AdminWeb approval + short-lived device-bound tokens |
| Third-Party SDK Over Entries | ADR-0036 | Proposed | Keep NTP1 internal; SDKs connect to entries and reuse automation APIs for management |
| Agent Native Tool Links | ADR-0042 | Accepted | Browser links, system SSH, and .rdp connection files in Agent local UI |
| Peer Direct With Relay Fallback | ADR-0043 | Accepted | Per-channel preferDirect (default relayOnly) with automatic same-mode relay fallback |
| Assisted Update Without Self-Updater | ADR-0044 | Proposed | No in-process self-update; reuse control/data ports, admin staging, and non-dismissible top banner |
4. Development & CI Specifications (DEV-001–DEV-006)
| Document | ID | Status | Scope |
|---|---|---|---|
| Repository Layout | DEV-001 | Active | File ownership, module dependency boundaries, and naming conventions |
| Documentation Policy | DEV-002 | Active | Naming, status lifecycle, sync updates, redaction, and link rules |
| GitHub Actions CI Pipeline | DEV-003 | Active | CI checks, release artifacts, GitHub Pages deployment, and security boundaries |
| Website Maintenance | DEV-004 | Active | Static site build, preview, content catalog, translations, and deployment |
| HTTP Proxy Implementation Plan | DEV-005 | Active | Phased commit and local verification workflow for HTTP/HTTPS reverse proxy |
| Update Notification Implementation Plan | DEV-006 | Active | Slices 1–6 scope, test isolation gates, and multi-agent review loop rules |
5. Operations & Deployment Guides (OPS-001–OPS-003)
| Document | ID | Status | Scope |
|---|---|---|---|
| Installation & Usage Guide | OPS-001 | Active | Docker/native Server deployment, Agent installation, channel setup, and troubleshooting |
| UDP Forwarding Guide | OPS-002 | Active | UDP version requirements, public/peer entries, firewall rules, datagram limits, and troubleshooting |
| HTTP Reverse Proxy Deployment | OPS-003 | Active | Protocol v5 upgrade, centralized config, target resources, restart activation, and URL rules |
6. Releases & External Materials (DOC-001–DOC-002)
| Document | ID | Status | Scope |
|---|---|---|---|
| External Intro Materials | DOC-001 | Active | Presentation decks, article sources, illustrations, and rebuild scripts |
| Release Notes | DOC-002 | Active | Single repository source for GitHub Release bodies across versions |
7. Verification, Acceptance & Code Reviews (TST-*)
| Document | ID | Status | Scope |
|---|---|---|---|
| Verification Status | TST-001 | Active | Executed unit, integration, and cross-host tests plus remaining acceptance evidence |
| Local Multi-Scenario Acceptance Plan | TST-002 | Active | Isolated local startup, scenario criteria, run tracking, and safe shutdown |
| Multi-Server Agent Verification | TST-003 | Active | Automated tests and Windows Sandbox installer verification for REQ-001J |
| Website Multi-Page Verification | TST-004 | Active | Site-wide static checks, content completeness, and browser verification |
| HTTP Reverse Proxy Verification | TST-005 | Active | Real-process runs across all four entries, TLS/WS/streaming, origin, legacy agents, and boundaries |
| Code Review (2026-10-23) | TST-006 | Active | Static code review findings, severities, and recommendations |
| AI Automation & SDK Verification | TST-014 | Active | Automation management plane, CLI, skill, and six-language SDK verification plus gaps |
| Code Review (2026-11-25) | TST-015 | Active | Full-repo code review, 38 findings, and remediation verification records |
| RDP Peer Idle Freeze Diagnosis & Fix | TST-016 | Active | Field investigation, root cause analysis, fix, and verification for macOS RDP idle freezes |
The initial requirements and technical design originated on 2026-09-15, were migrated into RelayLink under unified naming on 2026-09-16, and expanded with peer design and local verification on 2026-09-17. Files in this directory are the ongoing maintenance entry points; original delivery copies remain historical records and are no longer maintained in sync.
Status Legend
- Draft: Under review (requirement or technical design); not yet approved or fully implemented.
- Proposed: Proposed Architecture Decision Record (ADR) awaiting adoption.
- Accepted: Requirement, design, or ADR formally adopted; requirement scope is frozen, though acceptance items may still be in progress.
- Implemented: Core capabilities of a technical design are implemented in mainline and verified by automated/hardware tests; remaining scope and boundaries are tracked in verification docs.
- Done: Requirement implementation and all acceptance criteria have complete verification evidence.
- Active: Currently active development policy, operations guide, release index, or verification record.
- Superseded: Historical decision replaced by a newer ADR or approach.