Skip to content

docs: add geolocation user and contributor documentation (#165)#166

Open
nikw9944 wants to merge 3 commits intoDraft-Potential-Geo-Docsfrom
nikw9944/docs-165
Open

docs: add geolocation user and contributor documentation (#165)#166
nikw9944 wants to merge 3 commits intoDraft-Potential-Geo-Docsfrom
nikw9944/docs-165

Conversation

@nikw9944
Copy link
Copy Markdown
Contributor

@nikw9944 nikw9944 commented Apr 15, 2026

Summary

Fixes #165

  • Add geolocation user guide (docs/geolocation.md) covering GeoProbe overview, prerequisites, connecting via CLI/UI, monitoring, and troubleshooting
  • Add GeoProbe contributor guide (docs/contribute-geoprobe.md) with architecture, development setup, testing, and deployment procedures
  • Update contributor overview (docs/contribute-overview.md) to link the new GeoProbe contributor page
  • Add geolocation-related terms to the glossary (docs/glossary.md)
  • Update mkdocs.yml navigation to include the new pages

Test plan

  • Verify mkdocs serve builds without errors
  • Confirm new pages render correctly and navigation links work
  • Check glossary terms appear on the glossary page

@nikw9944 nikw9944 changed the base branch from main to Draft-Potential-Geo-Docs April 15, 2026 18:45
@nikw9944
Copy link
Copy Markdown
Contributor Author

Summary of Changes

  • Rename contribute-geoprobe.mdcontribute-geolocation.md for naming consistency
  • Remove redundant Architecture section from contributor doc (already covered in user doc)
  • Mark DZ Ledger onchain recording as a future feature in diagrams and prose in geolocation.md
  • Remove redundant DZD→Probe connection from the flow-type comparison diagram
  • Add RFC 16 reference admonition to the user-facing geolocation doc
  • Update all cross-references in mkdocs.yml, contribute-overview.md, and glossary.md
  • Fix glossary Geolocation definition to match the "future" onchain status
  • Fixes geolocation: update docs #165

Testing Verification

  • mkdocs build completes successfully with no errors
  • grep -r "contribute-geoprobe" docs/ confirms no stale references remain (only work-plan-165.md, which is not in nav)
  • All modified mermaid diagrams (dashed Ledger arrow, simplified flow-type diagram) verified in build output

🤖 Generated with Claude Code

@nikw9944 nikw9944 requested review from Jared-dz and ben-dz April 15, 2026 19:27
@nikw9944 nikw9944 marked this pull request as ready for review April 15, 2026 19:28
nikw9944 and others added 3 commits April 15, 2026 19:38
Add comprehensive geolocation documentation covering both user and
contributor experiences:

- geolocation.md: User-facing guide for creating users, managing targets
  (Outbound, OutboundIcmp, Inbound flows), set-result-destination, and
  receiving LocationOffset data
- contribute-geoprobe.md: Contributor guide for deploying and configuring
  geoprobe-agents including architecture diagrams, prerequisites,
  installation, onchain registration, and monitoring
- Update glossary with geoProbe, LocationOffset, and Geolocation entries
- Update contributor overview documentation structure table
- Add pymdownx.tabbed extension to mkdocs.yml for tabbed content support

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
#165)

- Rename contribute-geoprobe.md to contribute-geolocation.md
- Remove Architecture section from contributor doc (already in user doc)
- Mark DZ Ledger recording as a future feature in diagrams and prose
- Remove redundant DZD→Probe connection from flow-type comparison diagram
- Add RFC 16 reference admonition to user-facing geolocation doc
- Update all cross-references (mkdocs.yml, contribute-overview, glossary)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Update glossary Geolocation definition to mark onchain recording as
a future feature, consistent with the user-facing geolocation doc.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@nikw9944 nikw9944 force-pushed the nikw9944/docs-165 branch from 0dfb146 to 4021c5f Compare April 15, 2026 19:39
Comment thread docs/geolocation.md
@@ -24,22 +23,24 @@ flowchart LR
Probe -- "RTT measurement" --> T
T -- "signed response" --> Probe
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Responses aren't signed. I might do this as a set of arrows for measurement, and then a separate arrow for signed offset.

Comment thread docs/geolocation.md
All measurements are cryptographically signed and recorded onchain.
All measurements are cryptographically signed. Onchain recording to the DoubleZero Ledger is planned for a future release.

**Important:** Geolocation reports RTT only — not inferred distance or coordinates. The speed of light through fiber (~124 miles per millisecond) provides a physical upper bound on how far a device can be from a probe. RTT is not divided by two, since round-trip asymmetry cannot be assumed. How you interpret RTT (e.g., computing a maximum-distance radius) is up to you.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"A common method would be to divide the RTT by 2, and then multiply by the speed of light through glass to provide a radius around the DZD coordinates that the target is located within"

Comment thread docs/geolocation.md

---

## Check your balance
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right below here it mentions a cost per probe cycle, which isn't real.

Comment thread docs/geolocation.md
doublezero-geolocation user get --env testnet --user <your-user-code>
```

### Step 4: Run the target sender (inbound flow only)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Outbound requires running the "target" application which also has examples.

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.

geolocation: update docs

2 participants