@@ -52,8 +52,16 @@ Documentation is organized into modular subdirectories by purpose and audience:
5252| File | Purpose | Audience |
5353| ------| ---------| ----------|
5454| ` operational/BUILD_SYSTEM.md ` | Build pipeline and execution details | Developers |
55- | ` operational/TROUBLESHOOTING_GUIDE.md ` | troubleshooting | All users |
55+ | ` operational/CI_CD_INTEGRATION.md ` | CI/CD setup and GitHub Actions | Developers |
56+ | ` operational/DEPENDENCY_MANAGEMENT.md ` | Package management with uv | Developers |
57+ | ` operational/PERFORMANCE_OPTIMIZATION.md ` | Build time optimization and caching | Developers |
5658| ` operational/CONFIGURATION.md ` | Configuration system guide | All users |
59+ | ` operational/CHECKPOINT_RESUME.md ` | Checkpoint and resume system | Developers |
60+ | ` operational/REPORTING_GUIDE.md ` | Reporting system and report interpretation | Developers |
61+ | ` operational/TROUBLESHOOTING_GUIDE.md ` | troubleshooting | All users |
62+ | ` operational/LLM_REVIEW_TROUBLESHOOTING.md ` | LLM-specific troubleshooting | Developers |
63+ | ` operational/ERROR_HANDLING_GUIDE.md ` | Error handling patterns | Developers |
64+ | ` operational/LOGGING_GUIDE.md ` | Logging system guide | Developers |
5765
5866### Reference Materials (` reference/ ` )
5967
@@ -74,6 +82,36 @@ Documentation is organized into modular subdirectories by purpose and audience:
7482| ` modules/PDF_VALIDATION.md ` | PDF validation documentation | Developers |
7583| ` modules/SCIENTIFIC_SIMULATION_GUIDE.md ` | Scientific simulation system | Researchers |
7684
85+ ### Per-Module Guides (` modules/guides/ ` )
86+
87+ | File | Purpose | Audience |
88+ | ------| ---------| ----------|
89+ | ` modules/guides/INTEGRITY_MODULE.md ` | Integrity module guide | Developers |
90+ | ` modules/guides/LITERATURE_MODULE.md ` | Literature module guide | Developers |
91+ | ` modules/guides/LLM_MODULE.md ` | LLM module guide | Developers |
92+ | ` modules/guides/PUBLISHING_MODULE.md ` | Publishing module guide | Developers |
93+ | ` modules/guides/RENDERING_MODULE.md ` | Rendering module guide | Developers |
94+ | ` modules/guides/REPORTING_MODULE.md ` | Reporting module guide | Developers |
95+ | ` modules/guides/SCIENTIFIC_MODULE.md ` | Scientific module guide | Developers |
96+
97+ ### Logging Guides (` operational/logging/ ` )
98+
99+ | File | Purpose | Audience |
100+ | ------| ---------| ----------|
101+ | ` operational/logging/BASH_LOGGING.md ` | Bash logging patterns | Developers |
102+ | ` operational/logging/PYTHON_LOGGING.md ` | Python logging patterns | Developers |
103+ | ` operational/logging/LOGGING_PATTERNS.md ` | Cross-language logging patterns | Developers |
104+
105+ ### Troubleshooting Guides (` operational/troubleshooting/ ` )
106+
107+ | File | Purpose | Audience |
108+ | ------| ---------| ----------|
109+ | ` operational/troubleshooting/BUILD_TOOLS.md ` | Build tool troubleshooting | Developers |
110+ | ` operational/troubleshooting/COMMON_ERRORS.md ` | Common error patterns and fixes | All users |
111+ | ` operational/troubleshooting/ENVIRONMENT_SETUP.md ` | Environment setup issues | All users |
112+ | ` operational/troubleshooting/RECOVERY_PROCEDURES.md ` | Recovery procedures | Developers |
113+ | ` operational/troubleshooting/TEST_FAILURES.md ` | Test failure troubleshooting | Developers |
114+
77115### Development & Contribution (` development/ ` )
78116
79117| File | Purpose | Audience |
@@ -83,6 +121,8 @@ Documentation is organized into modular subdirectories by purpose and audience:
83121| ` development/SECURITY.md ` | Security policies and reporting | All users |
84122| ` development/ROADMAP.md ` | Future development plans | Maintainers, contributors |
85123| ` development/TESTING_GUIDE.md ` | Testing framework guide | Developers |
124+ | ` development/TESTING_WITH_CREDENTIALS.md ` | Testing with external service credentials | Developers |
125+ | ` development/COVERAGE_GAPS.md ` | Test coverage gap analysis | Developers |
86126
87127### Best Practices (` best-practices/ ` )
88128
@@ -91,8 +131,21 @@ Documentation is organized into modular subdirectories by purpose and audience:
91131| ` best-practices/BEST_PRACTICES.md ` | Consolidated best practices | All users |
92132| ` best-practices/VERSION_CONTROL.md ` | Git workflows and best practices | Developers |
93133| ` best-practices/MIGRATION_GUIDE.md ` | Migration from other templates | Developers |
134+ | ` best-practices/MULTI_PROJECT_MANAGEMENT.md ` | Managing multiple projects | Developers |
94135| ` best-practices/BACKUP_RECOVERY.md ` | Backup strategies and recovery | All users |
95136
137+ ### Usage Examples (` usage/ ` )
138+
139+ | File | Purpose | Audience |
140+ | ------| ---------| ----------|
141+ | ` usage/TEMPLATE_DESCRIPTION.md ` | Template overview and features | New users |
142+ | ` usage/EXAMPLES.md ` | Usage examples and patterns | All users |
143+ | ` usage/EXAMPLES_SHOWCASE.md ` | Real-world usage examples | Advanced users |
144+ | ` usage/MARKDOWN_TEMPLATE_GUIDE.md ` | Markdown authoring guide | Content creators |
145+ | ` usage/MANUSCRIPT_NUMBERING_SYSTEM.md ` | Manuscript section numbering system | Content creators |
146+ | ` usage/IMAGE_MANAGEMENT.md ` | Image insertion, captioning, and cross-referencing | Content creators |
147+ | ` usage/VISUALIZATION_GUIDE.md ` | Visualization system for publication-quality figures | Researchers |
148+
96149### AI Prompt Templates (` prompts/ ` )
97150
98151| File | Purpose | Audience |
@@ -107,6 +160,7 @@ Documentation is organized into modular subdirectories by purpose and audience:
107160| ` prompts/documentation_creation.md ` | AGENTS.md and README.md creation | Technical writers |
108161| ` prompts/infrastructure_module.md ` | Generic infrastructure module development | Architects |
109162| ` prompts/validation_quality.md ` | Quality assurance and validation | QA engineers |
163+ | ` prompts/comprehensive_assessment.md ` | Comprehensive assessment and review | QA engineers |
110164
111165## Development Rules
112166
@@ -128,27 +182,35 @@ The `.cursorrules/` directory contains modular development rules that complement
128182| [ ` ../../.cursorrules/git_workflow.md ` ] ( ../../.cursorrules/git_workflow.md ) | Git workflow and commit standards |
129183| [ ` ../../.cursorrules/api_design.md ` ] ( ../../.cursorrules/api_design.md ) | API design and interface standards |
130184| [ ` ../../.cursorrules/manuscript_style.md ` ] ( ../../.cursorrules/manuscript_style.md ) | Manuscript formatting and style standards |
185+ | [ ` ../../.cursorrules/reporting.md ` ] ( ../../.cursorrules/reporting.md ) | Reporting module standards and outputs |
186+ | [ ` ../../.cursorrules/refactoring.md ` ] ( ../../.cursorrules/refactoring.md ) | Refactoring and modularization standards |
187+ | [ ` ../../.cursorrules/folder_structure.md ` ] ( ../../.cursorrules/folder_structure.md ) | Folder structure and organization standards |
131188
132189** Quick Access** : Use ` .cursorrules/ ` files for rule reference during development; consult ` docs/ ` files for guides.
133190
134191## Documentation Philosophy
135192
136193### Show, Don't Tell
194+
137195Documentation should demonstrate through examples rather than lengthy explanations:
196+
138197- ✅ Code examples with clear outcomes
139198- ✅ Command sequences with expected results
140199- ✅ Diagrams and visual aids
141200- ❌ Excessive prose without examples
142201- ❌ Theoretical explanations without practical use
143202
144203### Layered Information
204+
145205- ** README.md** : Quick start, essential links
146206- ** core/HOW_TO_USE.md** : Step-by-step usage
147207- ** AGENTS.md** : technical reference
148208- ** Specialized docs** : Deep dives into specific topics (organized by subdirectory)
149209
150210### Keep Current
211+
151212Documentation must stay synchronized with code:
213+
152214- Update docs when changing features
153215- Validate examples regularly
154216- Review docs during code review
@@ -157,23 +219,27 @@ Documentation must stay synchronized with code:
157219## When to Update Which Docs
158220
159221### Adding a Feature
222+
1602231 . Update ` development/ROADMAP.md ` (remove from planned)
1612242 . Update ` core/HOW_TO_USE.md ` (usage instructions)
1622253 . Update relevant ` AGENTS.md ` (technical details)
1632264 . Add example to ` usage/EXAMPLES.md `
164227
165228### Changing Architecture
229+
1662301 . Update ` core/ARCHITECTURE.md ` (design changes)
1672312 . Update ` architecture/THIN_ORCHESTRATOR_SUMMARY.md ` (if pattern affected)
1682323 . Update ` core/WORKFLOW.md ` (if workflow changes)
1692334 . Update root ` AGENTS.md ` (system overview)
170234
171235### Bug Fixes
236+
1722371 . Update ` reference/FAQ.md ` (if commonly encountered)
1732382 . Update ` operational/TROUBLESHOOTING_GUIDE.md ` troubleshooting sections
1742393 . Add preventive guidance if relevant
175240
176241### Deprecating Features
242+
1772431 . Mark as deprecated in ` development/ROADMAP.md `
1782442 . Update ` core/HOW_TO_USE.md ` (migration guide)
1792453 . Update ` development/CONTRIBUTING.md ` (don't use deprecated features)
@@ -182,12 +248,14 @@ Documentation must stay synchronized with code:
182248## Documentation Style Guide
183249
184250### Headings
251+
185252- Use ATX-style headings (` # ` , ` ## ` , ` ### ` )
186253- One ` # ` per document (document title)
187254- Hierarchical structure (don't skip levels)
188255- Descriptive, not clever
189256
190257### Code Blocks
258+
191259``` markdown
192260# Always specify language
193261``` bash
@@ -198,6 +266,7 @@ command --with-flags
198266def example ():
199267 return " formatted"
200268```
269+
201270```
202271
203272### Links
@@ -213,19 +282,23 @@ See https://pandoc.org/MANUAL.html
213282```
214283
215284### Lists
285+
216286- Use ` - ` for unordered lists
217287- Use ` 1. ` for ordered lists (auto-numbering)
218288- Indent sublists with 2 spaces
219289- Blank line before and after lists
220290
221291### Emphasis
292+
222293- ** Bold** for UI elements, commands, file names
223294- * Italic* for emphasis, terms being defined
224295- ` Code ` for inline code, file paths, functions
225296- > Blockquotes for important notes
226297
227298### Examples
299+
228300Always include, runnable examples:
301+
229302``` bash
230303# Bad: Incomplete example
231304pytest tests/
@@ -238,19 +311,22 @@ $ pytest tests/ --cov=src
238311## Documentation Maintenance
239312
240313### Regular Reviews
314+
241315- Quarterly review of all docs
242316- Validate all links work
243317- Run all code examples
244318- Update version-specific information
245319- Check for outdated screenshots
246320
247321### Version Control
322+
248323- Document changes in commit messages
249324- Use semantic versioning for doc updates
250325- Tag major documentation releases
251326- Maintain changelog for docs
252327
253328### Quality Checks
329+
254330``` bash
255331# Check markdown syntax
256332markdownlint docs/* .md
@@ -265,13 +341,15 @@ aspell check docs/*.md
265341## File Relationships
266342
267343### Documentation Flow
344+
268345```
269346README.md → core/HOW_TO_USE.md → core/ARCHITECTURE.md
270347 ↓ ↓ ↓
271348usage/EXAMPLES.md core/WORKFLOW.md Technical Docs
272349```
273350
274351### Cross-References
352+
275353- ** core/HOW_TO_USE.md** references:
276354 - usage/EXAMPLES.md (usage examples)
277355 - core/ARCHITECTURE.md (design understanding)
@@ -293,20 +371,23 @@ usage/EXAMPLES.md core/WORKFLOW.md Technical Docs
293371## Contributing to Documentation
294372
295373### Adding New Documentation
374+
2963751 . Determine appropriate file or create new one
2973762 . Follow style guide
2983773 . Add to DOCUMENTATION_INDEX.md
2993784 . Cross-reference from related docs
3003795 . Update this AGENTS.md
301380
302381### Improving Existing Documentation
382+
3033831 . Identify unclear sections
3043842 . Add examples or clarifications
3053853 . Test all code examples
3063864 . Validate links still work
3073875 . Submit with clear description of improvements
308388
309389### Documentation Checklist
390+
310391- [ ] Clear purpose stated at the top
311392- [ ] Examples are and runnable
312393- [ ] Links use relative paths for internal docs
@@ -320,15 +401,19 @@ usage/EXAMPLES.md core/WORKFLOW.md Technical Docs
320401## Special Files
321402
322403### COPYPASTA.md
404+
323405Reusable documentation snippets:
406+
324407- Common command sequences
325408- Standard explanations
326409- Installation instructions
327410- Troubleshooting steps
328411- Reduces duplication across docs
329412
330413### DOCUMENTATION_INDEX.md
414+
331415Master index of all documentation:
416+
332417- Organized by category
333418- Links to all docs
334419- Brief description of each
@@ -337,18 +422,21 @@ Master index of all documentation:
337422## Quick Navigation
338423
339424### For New Users
425+
3404261 . Start with ` ../README.md ` (project overview)
3414272 . Read ` core/HOW_TO_USE.md ` (guide)
3424283 . Review ` usage/EXAMPLES.md ` (usage patterns)
3434294 . Check ` reference/FAQ.md ` (common questions)
344430
345431### For Developers
432+
3464331 . Review ` core/ARCHITECTURE.md ` (system design)
3474342 . Read ` architecture/THIN_ORCHESTRATOR_SUMMARY.md ` (pattern)
3484353 . Follow ` core/WORKFLOW.md ` (development process)
3494364 . Check ` development/CONTRIBUTING.md ` (contribution guide)
350437
351438### For Advanced Users
439+
3524401 . Deep dive into ` core/ARCHITECTURE.md `
3534412 . Review ` modules/PDF_VALIDATION.md `
3544423 . Study ` usage/EXAMPLES_SHOWCASE.md `
@@ -360,4 +448,3 @@ Master index of all documentation:
360448- [ ` core/HOW_TO_USE.md ` ] ( core/HOW_TO_USE.md ) - usage guide
361449- [ ` ../AGENTS.md ` ] ( ../AGENTS.md ) - Root system documentation
362450- [ ` ../README.md ` ] ( ../README.md ) - Project overview
363-
0 commit comments