Files
ngit-grasp/docs/learnings
DanConwayDev 51751d59f3 Change default port from 8080 to 7334 (NGIT on phone keypad)
- Update default bind address in src/config.rs to 127.0.0.1:7334
- Update all four critical config sources per AGENTS.md:
  - src/config.rs (code default and tests)
  - .env.example (development template)
  - docs/reference/configuration.md (user documentation)
  - nix/module.nix (NixOS deployment)
- Update all documentation examples and references:
  - README.md (with note about phone keypad mnemonic)
  - docs/how-to/*.md (deploy, prometheus-setup, test-compliance)
  - docs/explanation/*.md (architecture, comparison)
  - docs/learnings/grasp-audit.md

Port 7334 spells NGIT on a phone keypad, making it memorable and
project-specific.

All tests pass (336 lib tests + 51 integration tests).
2026-01-12 22:51:43 +00:00
..
2025-11-04 10:25:53 +00:00

Learnings Directory - DEPRECATED

Status: This directory is deprecated as of November 4, 2025.


What Happened?

We migrated to the Diátaxis documentation framework, which provides a clearer structure based on content purpose rather than origin.


Where Did Content Go?

The "learnings" were distributed into appropriate Diátaxis categories:

Gotchas and Patterns → How-To Guides

Technical Details → Reference

Concepts and Understanding → Explanation


Why the Change?

The "learnings" category was ambiguous:

  • Mixed gotchas, patterns, and concepts
  • Unclear where to put new content
  • Hard for readers to know what to expect

Diátaxis provides clear categories:

  • Tutorials - Learning by doing
  • How-To - Solving problems
  • Reference - Looking up facts
  • Explanation - Understanding concepts

See docs/README.md for the new structure.


For Content Authors

Don't create new files here. Instead, ask:


Migration Status

  • ✅ nix-flakes.md → Migrated to how-to/nix-flakes.md
  • ⏳ nostr-sdk.md → Being incorporated into reference docs
  • ✅ grasp-audit.md → Content in explanation/architecture.md

This directory will be removed in a future cleanup.
See AGENTS.md for documentation guidelines.