🏛️ Architectural Decision Record System with automatic file monitoring
✅ Real-time file monitoring with intelligent change detection
✅ Interactive CLI prompts for capturing architectural decisions
✅ Automatic ADR generation in Markdown format
✅ Sequential numbering (0001, 0002, etc.)
✅ Editor-based input for detailed descriptions
✅ Related file tracking
✅ Status management (proposed, accepted, deprecated, superseded)
✅ Tags and metadata support
npm install# Watch current directory
npm start
# Watch specific directory
npm run watch
# Development mode with hot reload
npm run dev- The system monitors your project files for changes
- When a file is modified, added, or deleted, you'll be prompted
- Answer a few questions about the architectural decision
- ADR is automatically generated in the
./adrsfolder
Each ADR includes:
- Title: Brief description of the decision
- Status: proposed | accepted | deprecated | superseded
- Context: The problem or issue being addressed
- Decision: What was decided and why
- Consequences: Positive and negative outcomes
- Related Files: Files affected by this decision
- Metadata: Date, authors, tags
# 0001. Use TypeScript for ADR System
**Date:** 2026-02-02
**Status:** accepted
**Authors:** Development Team
**Tags:** `typescript`, `tooling`
---
## Context
We needed a reliable file monitoring system...
---
## Decision
We decided to use TypeScript with Node.js...
---
## Consequences
### Positive
- Type safety
- Better IDE support
### Negative
- Additional build step required
---Customize the watch folder and ADR output location:
npm start <watch-folder> <adr-folder>Example:
npm start ./src ./docs/adrsnpm run buildThis compiles TypeScript to JavaScript in the dist folder.
- TypeScript: Type-safe development
- Chokidar: File system watching
- Inquirer: Interactive CLI prompts
- Chalk: Terminal styling
- Node.js: Runtime environment
- ✅ Superior file system watching APIs
- ✅ Async/await native support
- ✅ Better cross-platform compatibility
- ✅ Fast I/O operations
- ✅ Excellent VS Code integration
- ✅ Strong typing for reliability
MIT