Skip to content

Commit 00eac5d

Browse files
committed
update
1 parent 16e7153 commit 00eac5d

File tree

278 files changed

+12302
-34323
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

278 files changed

+12302
-34323
lines changed

.coverage.project

-52 KB
Binary file not shown.

coverage_project.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/AGENTS.md

Lines changed: 89 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
137195
Documentation 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+
151212
Documentation 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+
160223
1. Update `development/ROADMAP.md` (remove from planned)
161224
2. Update `core/HOW_TO_USE.md` (usage instructions)
162225
3. Update relevant `AGENTS.md` (technical details)
163226
4. Add example to `usage/EXAMPLES.md`
164227

165228
### Changing Architecture
229+
166230
1. Update `core/ARCHITECTURE.md` (design changes)
167231
2. Update `architecture/THIN_ORCHESTRATOR_SUMMARY.md` (if pattern affected)
168232
3. Update `core/WORKFLOW.md` (if workflow changes)
169233
4. Update root `AGENTS.md` (system overview)
170234

171235
### Bug Fixes
236+
172237
1. Update `reference/FAQ.md` (if commonly encountered)
173238
2. Update `operational/TROUBLESHOOTING_GUIDE.md` troubleshooting sections
174239
3. Add preventive guidance if relevant
175240

176241
### Deprecating Features
242+
177243
1. Mark as deprecated in `development/ROADMAP.md`
178244
2. Update `core/HOW_TO_USE.md` (migration guide)
179245
3. 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
198266
def 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+
228300
Always include, runnable examples:
301+
229302
```bash
230303
# Bad: Incomplete example
231304
pytest 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
256332
markdownlint docs/*.md
@@ -265,13 +341,15 @@ aspell check docs/*.md
265341
## File Relationships
266342

267343
### Documentation Flow
344+
268345
```
269346
README.md → core/HOW_TO_USE.md → core/ARCHITECTURE.md
270347
↓ ↓ ↓
271348
usage/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+
296375
1. Determine appropriate file or create new one
297376
2. Follow style guide
298377
3. Add to DOCUMENTATION_INDEX.md
299378
4. Cross-reference from related docs
300379
5. Update this AGENTS.md
301380

302381
### Improving Existing Documentation
382+
303383
1. Identify unclear sections
304384
2. Add examples or clarifications
305385
3. Test all code examples
306386
4. Validate links still work
307387
5. 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+
323405
Reusable 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+
331415
Master 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+
340426
1. Start with `../README.md` (project overview)
341427
2. Read `core/HOW_TO_USE.md` (guide)
342428
3. Review `usage/EXAMPLES.md` (usage patterns)
343429
4. Check `reference/FAQ.md` (common questions)
344430

345431
### For Developers
432+
346433
1. Review `core/ARCHITECTURE.md` (system design)
347434
2. Read `architecture/THIN_ORCHESTRATOR_SUMMARY.md` (pattern)
348435
3. Follow `core/WORKFLOW.md` (development process)
349436
4. Check `development/CONTRIBUTING.md` (contribution guide)
350437

351438
### For Advanced Users
439+
352440
1. Deep dive into `core/ARCHITECTURE.md`
353441
2. Review `modules/PDF_VALIDATION.md`
354442
3. 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

Comments
 (0)