File size: 5,783 Bytes
59ce7b1
 
 
 
 
 
 
 
 
 
3a8b0e5
59ce7b1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f81b58b
3a8b0e5
59ce7b1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f81b58b
 
 
 
 
59ce7b1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
# DeepBoner Documentation

Welcome to the DeepBoner documentation. This directory contains comprehensive documentation for developers, contributors, and operators.

## Quick Navigation

| Need to... | Go to... |
|------------|----------|
| Get started quickly | [Getting Started](getting-started/installation.md) |
| Understand the architecture | [Architecture Overview](architecture/overview.md) |
| Assess production readiness | [Production Readiness](architecture/production-readiness.md) |
| Set up for development | [Development Guide](development/testing.md) |
| Deploy the application | [Deployment Guide](deployment/docker.md) |
| Look up configuration | [Reference](reference/configuration.md) |
| Track technical debt | [Technical Debt](technical-debt/index.md) |

## Documentation Structure

```
docs/
β”œβ”€β”€ README.md                     # This file - documentation index
β”‚
β”œβ”€β”€ getting-started/              # Onboarding documentation
β”‚   β”œβ”€β”€ installation.md           # Installation guide
β”‚   β”œβ”€β”€ quickstart.md             # 5-minute quickstart
β”‚   β”œβ”€β”€ configuration.md          # Configuration guide
β”‚   └── troubleshooting.md        # Common issues and solutions
β”‚
β”œβ”€β”€ architecture/                 # System design documentation
β”‚   β”œβ”€β”€ overview.md               # High-level architecture
β”‚   β”œβ”€β”€ agent-tool-state-contracts.md  # Agent/Tool/State contracts (CRITICAL)
β”‚   β”œβ”€β”€ production-readiness.md   # Enterprise gap analysis (HONEST)
β”‚   β”œβ”€β”€ system-registry.md        # Service registry (canonical wiring)
β”‚   β”œβ”€β”€ workflow-diagrams.md      # Visual workflow diagrams
β”‚   β”œβ”€β”€ component-inventory.md    # Complete component catalog
β”‚   β”œβ”€β”€ data-models.md            # Pydantic model documentation
β”‚   └── exception-hierarchy.md    # Exception types and handling
β”‚
β”œβ”€β”€ development/                  # Developer guides
β”‚   β”œβ”€β”€ testing.md                # Testing strategy and patterns
β”‚   β”œβ”€β”€ code-style.md             # Code style and conventions
β”‚   └── release-process.md        # Release workflow
β”‚
β”œβ”€β”€ deployment/                   # Deployment documentation
β”‚   β”œβ”€β”€ docker.md                 # Docker deployment
β”‚   β”œβ”€β”€ huggingface-spaces.md     # HuggingFace Spaces deployment
β”‚   └── mcp-integration.md        # MCP server setup
β”‚
β”œβ”€β”€ technical-debt/               # Known issues and improvements
β”‚   β”œβ”€β”€ index.md                  # Technical debt overview
β”‚   └── debt-registry.md          # Itemized debt tracking
β”‚
β”œβ”€β”€ reference/                    # API and configuration reference
β”‚   β”œβ”€β”€ configuration.md          # All configuration options
β”‚   └── environment-variables.md  # Environment variable reference
β”‚
β”œβ”€β”€ bugs/                         # Bug tracking (existing)
β”‚   β”œβ”€β”€ active-bugs.md
β”‚   └── p3-progress-bar-positioning.md
β”‚
β”œβ”€β”€ decisions/                    # Architecture Decision Records (existing)
β”‚   └── 2025-11-27-pr55-evaluation.md
β”‚
└── future-roadmap/               # Future feature specs (existing)
    └── 16-pubmed-fulltext.md
```

## Documentation Standards

### File Naming
- Use **kebab-case** for all filenames (e.g., `getting-started.md`)
- Keep names descriptive but concise

### Content Guidelines
- Start each document with a clear title and purpose
- Include a table of contents for longer documents
- Use Mermaid diagrams for visual documentation
- Link to related documentation
- Keep content current - update when code changes

### Markdown Conventions
- Use ATX-style headers (`#`, `##`, etc.)
- Code blocks with language specification
- Tables for structured data
- Admonitions for warnings/notes (where supported)

## Key Documents

### For New Developers
1. [Installation](getting-started/installation.md) - Set up your environment
2. [Quickstart](getting-started/quickstart.md) - Run your first query
3. [Architecture Overview](architecture/overview.md) - Understand the system
4. [Testing](development/testing.md) - Run and write tests

### For Contributors
1. [CONTRIBUTING.md](../CONTRIBUTING.md) - Contribution guidelines
2. [Code Style](development/code-style.md) - Style conventions
3. [Testing](development/testing.md) - Testing requirements

### For Operators
1. [Docker Deployment](deployment/docker.md) - Container deployment
2. [HuggingFace Spaces](deployment/huggingface-spaces.md) - Cloud deployment
3. [Configuration Reference](reference/configuration.md) - All options

### For Understanding the Codebase
1. [Agent-Tool-State Contracts](architecture/agent-tool-state-contracts.md) - **CRITICAL** - Agent coordination contracts
2. [Component Inventory](architecture/component-inventory.md) - All modules
3. [Data Models](architecture/data-models.md) - Core types
4. [System Registry](architecture/system-registry.md) - Service wiring
5. [Technical Debt](technical-debt/index.md) - Known issues

## Related Documentation

- **[README.md](../README.md)** - Project overview and quick start
- **[CLAUDE.md](../CLAUDE.md)** - AI agent developer reference
- **[CHANGELOG.md](../CHANGELOG.md)** - Release history
- **[SECURITY.md](../SECURITY.md)** - Security policy
- **[CODE_OF_CONDUCT.md](../CODE_OF_CONDUCT.md)** - Community guidelines

## Contributing to Documentation

Documentation is code. Please:

1. Keep docs updated when changing related code
2. Follow the naming and style conventions
3. Test links before committing
4. Add new documents to this index

See [CONTRIBUTING.md](../CONTRIBUTING.md) for full guidelines.

---

*"Well-documented boners only. We take evidence-based documentation very seriously."* πŸ“š