Skip to content

Restructure and verify foc-devnet documentation - #237

Merged
Kubuxu merged 6 commits into
mainfrom
docs/restructure-guides
Nov 19, 2026
Merged

Kubuxu merged 6 commits into
mainfrom
docs/restructure-guides

Conversation

@Kubuxu

@Kubuxu Kubuxu commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Move repository instructions to AGENTS.md; keep user guidance task-focused and code comments focused on non-obvious rationale.
  • Replace README_ADVANCED.md with seven focused guides under docs/, and update the quick start and cross-links.
  • Correct configuration, lifecycle and cleanup, networking, client and scenario examples, and MockUSDFC and CI guidance.

Verification

  • Checked local links and shell syntax across the updated guides.
  • Parsed all five published TOML examples with the Rust config parser.
  • Exercised documented cleanup, scenario export selection, database probes, Lotus RPC, and Node 24 schema and export-reader examples against fixtures.
  • Built and tested the MockUSDFC Foundry project in a fresh copy.
  • Did not start a live devnet.

- Fix copyable setup, configuration, cleanup, and integration examples.
- Describe Docker teardown scope, exposed ports, and test credentials accurately.
- Update maintainer, CI, and MockUSDFC guides and remove stale implementation walkthroughs.
- Move repository guidance to AGENTS.md and keep its documentation policy concise.
- Replace README_ADVANCED with focused guides and direct navigation.
- Correct run metadata, scenario selectors, and cleanup preconditions found during review.
- Align scenario export selectors across Python, Synapse, and filecoin-pin.
- Scope cleanup checks to devnet containers and clarify the reset sequence.
- Restore wallet readiness, diagnostic, and hostname guidance.
@FilOzzy FilOzzy added this to FOC Nov 18, 2026
@github-project-automation github-project-automation Bot moved this to 📌 Triage in FOC Nov 18, 2026
@Kubuxu

Kubuxu commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator Author

I threw some tokens at improving the docs here. After a few rounds of LLM review, supposedly not much was missed in the cleanup.

@Kubuxu
Kubuxu marked this pull request as ready for review November 18, 2026 12:34
@Kubuxu
Kubuxu requested a review from beck-8 as a code owner November 18, 2026 12:34
Copilot AI balanced review requested due to automatic review settings November 18, 2026 12:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The networking documentation lists the Lotus P2P container port as 1235 instead of 1946, which would direct container-side connectivity checks to the wrong port.

1 open issue
What changed in this PR

Reorganizes foc-devnet documentation into task-focused guides and updates examples to match the CLI, configuration, and local-network behavior. Rust changes are limited to documentation comments.

Changes:

  • Replace the advanced README with seven focused guides and a documentation index.
  • Refresh setup, cleanup, networking, integration, scenario, and contract instructions.
  • Move repository guidance to AGENTS.md and clarify contributor checks.
File Description
src/​external_api/​devnet_info.rs Correct the private-key format comment.
src/​config.rs Correct comments describing provider defaults.
README.md Streamline quick start and link focused guides.
README_ADVANCED.md Remove the superseded advanced guide.
examples/​README.md Update client prerequisites and usage examples.
docs/​service-providers.md Add provider configuration and inspection recipes.
docs/​scenarios.md Document scenario prerequisites, exports, and reports.
docs/​README.md Add a task-oriented documentation index.
docs/​networking.md Explain networking, exposure risks, and troubleshooting.
docs/​lifecycle.md Document run persistence and guarded cleanup.
docs/​integrations.md Add exported-endpoint RPC and contract examples.
docs/​configuration.md Document configuration schema and dependency selection.
docs/​cli.md Add command reference and lifecycle caveats.
contracts/​README.md Clarify test-token behavior and link deployment guidance.
contracts/​MockUSDFC/​README.md Refresh Foundry setup, deployment, and verification instructions.
ci/​README.md Clarify dependency profiles and local contributor checks.
AGENTS.md Consolidate repository development guidance.
.github/​copilot-instructions.md Remove the superseded instruction file.

Review effort: Balanced

Comment thread docs/networking.md Resolved
@FilOzzy FilOzzy moved this from 📌 Triage to 🔎 Awaiting review in FOC Nov 18, 2026
Comment thread AGENTS.md Resolved
Comment thread contracts/README.md Resolved
Comment thread AGENTS.md Resolved

@rvagg rvagg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

some suggestions left inline, also IMO could do with a CLAUDE.md redirect for the reasons I mentioned in Lotus

@Kubuxu
Kubuxu merged commit 4eb3d66 into main Nov 19, 2026
2 checks passed
@Kubuxu
Kubuxu deleted the docs/restructure-guides branch November 19, 2026 14:49
@github-project-automation github-project-automation Bot moved this from 🔎 Awaiting review to 🎉 Done in FOC Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🎉 Done

Development

Successfully merging this pull request may close these issues.

3 participants