Repository navigation
Restructure and verify foc-devnet documentation - #237
Merged
Merged
Conversation
- 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.
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. |
Contributor
There was a problem hiding this comment.
🟡 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.mdand 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
rvagg
reviewed
Nov 19, 2026
rvagg
reviewed
Nov 19, 2026
rvagg
reviewed
Nov 19, 2026
rvagg
approved these changes
Nov 19, 2026
rvagg
left a comment
Contributor
There was a problem hiding this comment.
some suggestions left inline, also IMO could do with a CLAUDE.md redirect for the reasons I mentioned in Lotus
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
AGENTS.md; keep user guidance task-focused and code comments focused on non-obvious rationale.README_ADVANCED.mdwith seven focused guides underdocs/, and update the quick start and cross-links.Verification