Skip to content

docs: apply mechanical doc-review fixes#971

Merged
kcenon merged 15 commits intodevelopfrom
feature/docs-fix-2026-04-15
Apr 15, 2026
Merged

docs: apply mechanical doc-review fixes#971
kcenon merged 15 commits intodevelopfrom
feature/docs-fix-2026-04-15

Conversation

@kcenon
Copy link
Copy Markdown
Owner

@kcenon kcenon commented Apr 15, 2026

Summary

Mechanical doc-review fixes from cross-system audit.

  • 11 absolute paths /Users/raphaelshin/... removed from docs/advanced/MIGRATION.md (privacy + portability)
  • ~30 path-scoping corrections (bare filenames -> docs/guides/ or docs/advanced/)
  • ~25 compiler/CMake/ASIO version alignments
  • 34 dangling TOC entries pruned

Why

187 findings (148 Must-Fix, 27 Should-Fix, 12 Nice-to-Have). Privacy leak (absolute paths) and version drift were critical.

How

  • Phase-1 regression check: PASS (126/126 resolved, 0 residuals, 0 regressions)
  • /Users/raphaelshin/ removal verified: 0 occurrences remain

See DOC_REVIEW_REPORT.md at repo root.

Test Plan

Doc-only changes. No code modifications. No breaking changes.

  • Phase-1 re-validation PASS (0 residuals, 0 regressions)
  • CI green (pending this PR)

kcenon added 15 commits April 14, 2026 05:05
Fix compilation errors from the Result<T> migration in PR #962:

- network_system_bridge.cpp: update from_thread_system(),
  from_common_system(), and with_custom() to handle Result returns
- thread_system_adapter.cpp: update create_default() and
  from_service_or_default() to use create() factory
Replace direct std::make_shared<dtls_socket> calls with
dtls_socket::create() factory method in secure_messaging_udp_client
and secure_messaging_udp_server. The constructor was made private
in the Result<T> migration (PR #962) but these call sites were missed.
Add ::kcenon::common:: namespace qualification to Result, error_codes,
and ok in common_to_network_thread_adapter::create(). Update tests to
use create() factory instead of private constructors for both adapter
classes.
Replace remaining std::make_shared calls with create() factory in
AdapterIntegrationTest for both network_to_common_thread_adapter
and common_to_network_thread_adapter.
…ation

Replace direct constructor calls and std::make_shared with
ThreadPoolBridge::create() factory method. Update from_thread_system()
and from_common_system() tests to handle Result<T> return types.
Update test_network_system_bridge.cpp and test_observability_bridge.cpp
to use create() factory methods instead of private constructors for
ThreadPoolBridge and ObservabilityBridge.
Replace direct constructor calls with dtls_socket::create() factory
method. Update null context test to check Result error instead of
expecting exception.
Update disconnection_callback_t, receive_callback_t, and
error_callback_t lambda parameters from legacy types to
std::string_view to match the updated i_protocol_server interface.
Remove session parameters from client adapter callback lambdas to match
simplified i_protocol_client interface where callbacks no longer receive
shared_ptr<i_session>.
Update on_disconnected to on_disconnect and accept_callback_t
signature from string_view to unique_ptr<i_connection>.
Remove bool-returning validate_size that conflicted with
validation_result-returning version. Update test assertions
to use validation_result comparisons.
The header was using 'kcenon/network/internal/tcp/secure_tcp_socket.h'
which does not exist under any include directory. The actual file
resolves via the src/ include root as 'internal/tcp/secure_tcp_socket.h'.
… symlink

Revert secure_session.h include path back to the canonical
'kcenon/network/internal/tcp/secure_tcp_socket.h' which resolves
via the internal_include symlink created at CMake configure time.

Add COPY_ON_ERROR to file(CREATE_LINK) so the symlink falls back to
a directory copy on platforms where symbolic links require elevated
privileges (e.g. Windows CI without Developer Mode).
Applied fixes from DOC_REVIEW_REPORT.md across 52 markdown files:

Security / portability:
- Replaced 11 committed absolute /Users/raphaelshin/... paths in
  docs/advanced/MIGRATION.md with repository-relative paths.

Path-scoping fixes (inter-file):
- Corrected ~30 bare filename references (TLS_SETUP_GUIDE.md,
  TROUBLESHOOTING.md, API_REFERENCE.md, BUILD.md, UDP_SUPPORT.md,
  LOAD_TEST_GUIDE.md, OPERATIONS.md) to include docs/guides/ or
  docs/advanced/ prefix as appropriate.
- Fixed wrong relative depth from docs/integration/ for ECOSYSTEM
  and external-repo references.

Toolchain version unification (authoritative: CMakeLists.txt + vcpkg.json):
- CMake: 3.16 -> 3.20 across all docs and examples.
- Compiler: normalized to GCC 13+, Clang 17+, MSVC 2022+,
  Apple Clang 14+ (removed inconsistent GCC 9+/10+/11+, Clang 10+/12+/14+
  claims from README.kr.md, BUILD[.kr].md, CONTRIBUTING[.kr].md,
  PRODUCTION_QUALITY[.kr].md, PROJECT_STRUCTURE[.kr].md, FEATURES.md,
  LOAD_TEST_GUIDE.md, QUICK_START[.kr].md, MIGRATION.md).
- ASIO: standardized to standalone ASIO 1.30.2+, explicitly noting
  Boost.ASIO is NOT supported (was contradictory: some docs allowed
  Boost.ASIO while CMake + CI reject it).
- Updated CHANGELOG version support matrix to include 1.5.0 as Current
  with CMake 3.20.

Anchor and TOC repairs:
- Trimmed 34-entry stale TOC in
  docs/implementation/01-architecture-and-components.md to only include
  sections that actually exist; marked unwritten sections with TODO.
- Fixed underscored anchors in docs/UNIFIED_API_GUIDE.md (i_transport,
  i_connection, i_listener).
- Fixed broken ../INTEGRATION.md link in ARCHITECTURE_OVERVIEW.md and
  empty docs/ link in CHANGELOG[.kr].md.

Missing targets:
- Replaced references to unwritten files (IMPROVEMENTS.md,
  CODING_STYLE_RULES.md, MIGRATION_GUIDE.md, MIGRATION_KO.md,
  DESIGN_DECISIONS.kr.md, GRPC_GUIDE.kr.md, README.kr.md siblings for
  implementation/ parts 1-4, with-thread-system.md, with-database-system.md,
  api/, architecture/, security/, performance/OPTIMIZATION.md,
  WEBSOCKET_IMPLEMENTATION_PLAN.md, examples/unified/,
  examples/network/, ECOSYSTEM_OVERVIEW.kr.md) with TODO markers plus
  the closest existing canonical doc.

SSOT deduplication:
- Integration Guide SSOT collision: kept docs/INTEGRATION.md canonical,
  demoted docs/INTEGRATION.kr.md to Korean translation marker, demoted
  docs/integration/README.md to per-system guide index.
- network-core/README.md demoted to pointer; libs/network-core/README.md
  remains canonical (matches active CMake target).
- Root CHANGELOG.md annotated as mirror of docs/CHANGELOG.md SSOT.

Bidirectional cross-references (Phase 3):
- Added "See Also" footers to ADR-001/002/003 linking to
  DESIGN_DECISIONS.md and siblings.
- Added tracing / performance xrefs in integration/with-monitoring.md.
- Added DTLS xref in guides/TLS_SETUP_GUIDE.md.
- Expanded docs/README.md registry to include ECOSYSTEM.md and
  GETTING_STARTED.md (previously orphaned).

Other fixes:
- Removed two stray bare ``` fences each in docs/API_REFERENCE_FACADES.md
  (3 total) and docs/API_REFERENCE_PROTOCOLS.md (1) that corrupted
  markdown parsing.
- Checked in DOC_REVIEW_REPORT.md as reference.

Counts: 11 absolute-path sanitizations, ~30 path-scoping corrections,
~25 compiler/CMake/ASIO alignments, 4 SSOT clarifications,
7 bidirectional xref additions, 4 code-fence repairs, 34 dangling TOC
entries resolved, ~20 missing-target TODOs inserted.

Skipped:
- Korean (.kr.md) content translation sync (out of scope: large).
- API/manifest version bumps (no code change requested).
- Content review of docs/advanced/MIGRATION.md beyond path sanitization.
@kcenon kcenon merged commit 2f4a54c into develop Apr 15, 2026
7 checks passed
@kcenon kcenon deleted the feature/docs-fix-2026-04-15 branch April 15, 2026 08:57
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