Skip to content

chore(docs): fix stale, wrong and duplicated docs - #6

Merged
mrcsin merged 1 commit into
masterfrom
docs-cleanup
Oct 15, 2026
Merged

mrcsin merged 1 commit into
masterfrom
docs-cleanup

Conversation

@mrcsin

@mrcsin mrcsin commented Oct 15, 2026

Copy link
Copy Markdown
Owner

Problem

Several statements contradicted the code or the deploy files: the generation probe stops only an older module, the 1000-peer limit is close to the default descriptor limit, Discover enforces file rules the README never listed, and AGENTS.md described the pre-commit hook, the TestSmoke check and the PSK guarantee inaccurately.

What changed

  • README: the probe direction, the nofile requirement, the interface file rules.
  • docs/architecture/apply.md: the exact name rule and the descriptor cost of a full apply.
  • docs/architecture/overview.md: an empty diff skips awg set; locked decisions move to docs/architecture/README.md.
  • AGENTS.md: pre-commit behaviour, the TestSmoke version check, what the compiler enforces for the PSK, the proto rule without a stale condition.
  • internal/node/discover.go: the name rule comment only.

Verification

  • Every changed fact was checked against the code (internal/node/discover.go, internal/node/probe.go, internal/server/management.go, scripts/git-hooks/pre-commit, test/smoke/smoke_test.go, deploy/compose.example.yml).
  • scripts/format.sh passes.
Per-task commits before collapse
1e415e0 chore(docs): fix stale, wrong and duplicated docs

Several statements contradicted the code or the deploy files: the
generation probe only stops an older module, the 1000-peer limit is
close to the default descriptor limit, and Discover enforces file
rules the README never listed.

- README: the probe direction, the nofile requirement, the interface
  file rules.
- apply.md: the exact name rule and the descriptor cost of a full
  apply.
- overview: an empty diff skips awg set; locked decisions move to
  docs/architecture/README.md.
- AGENTS: when the pre-commit hook runs format.sh, the TestSmoke
  version check, what the compiler actually enforces for the PSK,
  and the proto rule without a stale condition.
@mrcsin
mrcsin marked this pull request as ready for review October 15, 2026 11:59
@mrcsin
mrcsin merged commit c760c9e into master Oct 15, 2026
2 checks passed
@mrcsin
mrcsin deleted the docs-cleanup branch October 15, 2026 11:59
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.

1 participant