Files
alknet/tasks/cleanup/adr-doc-comments.md
glm-5.1 64c54b965e docs: add ADR number references to module doc comments
New Phase 1 modules should follow the existing pattern of referencing
ADR numbers in module-level doc comments for discoverability, matching
the style in transport/mod.rs.
2026-06-08 05:35:08 +00:00

1.4 KiB

id, name, status, depends_on, scope, risk, impact, level
id name status depends_on scope risk impact level
cleanup/adr-doc-comments Add ADR number references to doc comments in new modules completed
review/phase1-core-modifications
narrow trivial isolated implementation

Description

The existing codebase has a pattern of referencing ADR numbers in doc comments (e.g., transport/mod.rs references ADR-001). The new Phase 1 modules should follow the same pattern for discoverability.

Modules needing ADR references:

  • auth/identity.rs → ADR-029, ADR-028
  • config/forwarding.rs → ADR-031
  • config/static_config.rs → ADR-030
  • config/dynamic_config.rs → ADR-030
  • config/config_service.rs → ADR-030
  • call/mod.rs → ADR-024, ADR-033
  • call/spec.rs → ADR-025, ADR-033
  • interface/mod.rs → ADR-026

Acceptance Criteria

  • Module-level doc comments reference relevant ADR numbers
  • Style matches existing ADR references in the codebase (e.g., //! See ADR-029.)

References

  • crates/alknet-core/src/transport/mod.rs — existing pattern to follow

Notes

Suggested during Phase 1 review (S2)

Summary

Added ADR number references to module-level doc comments in auth/identity.rs (ADR-029, ADR-028), config/forwarding.rs (ADR-031), config/static_config.rs (ADR-030), config/dynamic_config.rs (ADR-030), config/config_service.rs (ADR-030), call/mod.rs (ADR-024, ADR-033), call/spec.rs (ADR-025, ADR-033). Style matches existing pattern in transport/mod.rs.