Skip to content

Conversation

@suchapalaver
Copy link
Contributor

Improve codebase legibility for AI-assisted development without changing any logic. Add module-level documentation to all 43 modules explaining purpose, key types, and algorithms.

Changes:

  • Add //! doc comments to all module files
  • Create README.md files in src/network/, src/auth/, src/middleware/, and src/client_query/ for quick orientation
  • Refactor main.rs into documented helper functions for initialization
  • Add context to NoIndexers error variant (now includes query selector)
  • Create Architecture Decision Records documenting:
    • ADR-001: Static allocations via Box::leak
    • ADR-002: Type-state pattern for indexer processing
    • ADR-003: PID controller for fee budget management
  • Fix rustdoc bare URL warnings

Signed off by Joseph Livesey joseph@semiotic.ai

Improve codebase legibility for AI-assisted development without changing
any logic. Add module-level documentation to all 43 modules explaining
purpose, key types, and algorithms.

Changes:
- Add //! doc comments to all module files
- Create README.md files in src/network/, src/auth/, src/middleware/,
  and src/client_query/ for quick orientation
- Refactor main.rs into documented helper functions for initialization
- Add context to NoIndexers error variant (now includes query selector)
- Create Architecture Decision Records documenting:
  - ADR-001: Static allocations via Box::leak
  - ADR-002: Type-state pattern for indexer processing
  - ADR-003: PID controller for fee budget management
- Fix rustdoc bare URL warnings
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