Skip to content

Commit 50db97a

Browse files
committed
multiproject
1 parent 40eac6c commit 50db97a

602 files changed

Lines changed: 87269 additions & 7185 deletions

File tree

Some content is hidden

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

.cursorrules/AGENTS.md

Lines changed: 35 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,17 @@ This directory contains comprehensive development standards, coding guidelines,
3838
- Tests: `tests/infrastructure/`
3939

4040
**Layer 2: Project** (Specific, customizable)
41-
- Location: `project/src/` (project-specific code)
41+
- Location: `projects/{name}/src/` (project-specific code)
4242
- Research-specific code
4343
- Uses infrastructure utilities
4444
- 90% minimum test coverage (currently 100% - perfect coverage!)
45-
- Tests: `project/tests/`
46-
- Scripts: `project/scripts/` (thin orchestrators)
45+
- Tests: `projects/{name}/tests/`
46+
- Scripts: `projects/{name}/scripts/` (thin orchestrators)
4747

4848
### 2. Thin Orchestrator Pattern
4949

50-
- **Business logic**`project/src/` or `infrastructure/`
51-
- **Orchestration**`scripts/` (root, generic) or `project/scripts/` (project-specific)
50+
- **Business logic**`projects/{name}/src/` or `infrastructure/`
51+
- **Orchestration**`scripts/` (root, generic) or `projects/{name}/scripts/` (project-specific)
5252
- **No logic in scripts** - only coordination
5353

5454
### 3. Quality Standards
@@ -216,8 +216,8 @@ As shown in \eqref{eq:objective}, the objective function...
216216

217217
**Related Documentation:**
218218
- [manuscript_style.md](manuscript_style.md) - Complete manuscript formatting guide
219-
- [../project/manuscript/AGENTS.md](../project/manuscript/AGENTS.md) - Manuscript documentation
220-
- [../docs/MARKDOWN_TEMPLATE_GUIDE.md](../docs/MARKDOWN_TEMPLATE_GUIDE.md) - Markdown guide
219+
- [../projects/project/manuscript/AGENTS.md](../projects/project/manuscript/AGENTS.md) - Manuscript documentation
220+
- [../docs/usage/MARKDOWN_TEMPLATE_GUIDE.md](../docs/usage/MARKDOWN_TEMPLATE_GUIDE.md) - Markdown guide
221221

222222
## Testing Standards
223223

@@ -373,11 +373,12 @@ template/
373373
│ ├── llm/ # LLM integration
374374
│ ├── rendering/ # Multi-format rendering
375375
│ └── scientific/ # Scientific dev tools
376-
├── project/ # [LAYER 2] Research code
377-
│ ├── src/ # Project-specific algorithms
378-
│ ├── tests/ # Project tests
379-
│ ├── scripts/ # Project orchestrators
380-
│ └── manuscript/ # Research content
376+
├── projects/ # [LAYER 2] Research projects
377+
│ ├── {name}/ # [LAYER 2] Research code
378+
│ │ ├── src/ # Project-specific algorithms
379+
│ │ ├── tests/ # Project tests
380+
│ │ ├── scripts/ # Project orchestrators
381+
│ │ └── manuscript/ # Research content
381382
├── scripts/ # [LAYER 1] Generic entry points
382383
├── tests/ # [LAYER 1] Infrastructure tests
383384
├── docs/ # Documentation
@@ -417,7 +418,7 @@ template/
417418

418419
- [Root AGENTS.md](../AGENTS.md) - System overview
419420
- [Infrastructure AGENTS.md](../infrastructure/AGENTS.md) - Infrastructure layer
420-
- [Project AGENTS.md](../project/AGENTS.md) - Project layer
421+
- [Project AGENTS.md](../projects/project/AGENTS.md) - Project layer
421422
- [docs/](../docs/) - Comprehensive guides
422423

423424
### External Resources
@@ -457,28 +458,28 @@ The .cursorrules standards align with and support the main documentation:
457458
|---|---|---|
458459
| System Design | [AGENTS.md](AGENTS.md) | [Root AGENTS.md](../AGENTS.md) |
459460
| Documentation Structure | [folder_structure.md](folder_structure.md) | [Root AGENTS.md](../AGENTS.md) |
460-
| Architecture | [AGENTS.md](AGENTS.md) | [docs/ARCHITECTURE.md](../docs/ARCHITECTURE.md) |
461+
| Architecture | [AGENTS.md](AGENTS.md) | [docs/ARCHITECTURE.md](../docs/core/ARCHITECTURE.md) |
461462
| Infrastructure | [infrastructure_modules.md](infrastructure_modules.md) | [infrastructure/AGENTS.md](../infrastructure/AGENTS.md) |
462-
| Error Handling | [error_handling.md](error_handling.md) | [docs/TROUBLESHOOTING_GUIDE.md](../docs/TROUBLESHOOTING_GUIDE.md) |
463-
| Security | [security.md](security.md) | [docs/SECURITY.md](../docs/SECURITY.md) |
464-
| Logging | [python_logging.md](python_logging.md) | [docs/LOGGING_GUIDE.md](../docs/LOGGING_GUIDE.md) |
463+
| Error Handling | [error_handling.md](error_handling.md) | [docs/TROUBLESHOOTING_GUIDE.md](../docs/operational/TROUBLESHOOTING_GUIDE.md) |
464+
| Security | [security.md](security.md) | [docs/SECURITY.md](../docs/development/SECURITY.md) |
465+
| Logging | [python_logging.md](python_logging.md) | [docs/LOGGING_GUIDE.md](../docs/operational/LOGGING_GUIDE.md) |
465466
| Testing | [testing_standards.md](testing_standards.md) | [tests/AGENTS.md](../tests/AGENTS.md) |
466-
| Code Style | [code_style.md](code_style.md) | [docs/BEST_PRACTICES.md](../docs/BEST_PRACTICES.md) |
467-
| Git Workflow | [git_workflow.md](git_workflow.md) | [docs/VERSION_CONTROL.md](../docs/VERSION_CONTROL.md) |
468-
| API Design | [api_design.md](api_design.md) | [docs/ARCHITECTURE.md](../docs/ARCHITECTURE.md) |
469-
| Reporting | [reporting.md](reporting.md) | [docs/ADVANCED_MODULES_GUIDE.md](../docs/ADVANCED_MODULES_GUIDE.md) |
470-
| Documentation | [documentation_standards.md](documentation_standards.md) | [docs/WORKFLOW.md](../docs/WORKFLOW.md) |
471-
| Type Safety | [type_hints_standards.md](type_hints_standards.md) | [docs/ARCHITECTURE.md](../docs/ARCHITECTURE.md) |
467+
| Code Style | [code_style.md](code_style.md) | [docs/BEST_PRACTICES.md](../docs/best-practices/BEST_PRACTICES.md) |
468+
| Git Workflow | [git_workflow.md](git_workflow.md) | [docs/VERSION_CONTROL.md](../docs/best-practices/VERSION_CONTROL.md) |
469+
| API Design | [api_design.md](api_design.md) | [docs/ARCHITECTURE.md](../docs/core/ARCHITECTURE.md) |
470+
| Reporting | [reporting.md](reporting.md) | [docs/ADVANCED_MODULES_GUIDE.md](../docs/modules/ADVANCED_MODULES_GUIDE.md) |
471+
| Documentation | [documentation_standards.md](documentation_standards.md) | [docs/WORKFLOW.md](../docs/core/WORKFLOW.md) |
472+
| Type Safety | [type_hints_standards.md](type_hints_standards.md) | [docs/ARCHITECTURE.md](../docs/core/ARCHITECTURE.md) |
472473
| LLM Integration | [llm_standards.md](llm_standards.md) | [infrastructure/llm/AGENTS.md](../infrastructure/llm/AGENTS.md) |
473-
| Manuscript Writing | [manuscript_style.md](manuscript_style.md) | [project/manuscript/AGENTS.md](../project/manuscript/AGENTS.md) |
474-
| Refactoring | [refactoring.md](refactoring.md) | [docs/BEST_PRACTICES.md](../docs/BEST_PRACTICES.md) |
474+
| Manuscript Writing | [manuscript_style.md](manuscript_style.md) | [project/manuscript/AGENTS.md](../projects/project/manuscript/AGENTS.md) |
475+
| Refactoring | [refactoring.md](refactoring.md) | [docs/BEST_PRACTICES.md](../docs/best-practices/BEST_PRACTICES.md) |
475476

476477
## Cross-Reference Guide
477478

478479
**For Architecture Decisions:**
479480
→ Check [AGENTS.md](AGENTS.md) for decision criteria
480-
→ Read [../docs/ARCHITECTURE.md](../docs/ARCHITECTURE.md) for full architectural overview
481-
→ Consult [../docs/THIN_ORCHESTRATOR_SUMMARY.md](../docs/THIN_ORCHESTRATOR_SUMMARY.md) for pattern details
481+
→ Read [../docs/core/ARCHITECTURE.md](../docs/core/ARCHITECTURE.md) for full architectural overview
482+
→ Consult [../docs/architecture/THIN_ORCHESTRATOR_SUMMARY.md](../docs/architecture/THIN_ORCHESTRATOR_SUMMARY.md) for pattern details
482483

483484
**For Infrastructure Development:**
484485
→ Check [infrastructure_modules.md](infrastructure_modules.md) for standards
@@ -487,8 +488,8 @@ The .cursorrules standards align with and support the main documentation:
487488

488489
**For Code Quality:**
489490
→ Check [error_handling.md](error_handling.md) and [python_logging.md](python_logging.md)
490-
→ Read [../docs/BEST_PRACTICES.md](../docs/BEST_PRACTICES.md) for comprehensive practices
491-
→ See [../docs/ERROR_HANDLING_GUIDE.md](../docs/ERROR_HANDLING_GUIDE.md) for detailed patterns
491+
→ Read [../docs/best-practices/BEST_PRACTICES.md](../docs/best-practices/BEST_PRACTICES.md) for comprehensive practices
492+
→ See [../docs/operational/ERROR_HANDLING_GUIDE.md](../docs/operational/ERROR_HANDLING_GUIDE.md) for detailed patterns
492493

493494
## Quick Navigation Guide
494495

@@ -507,10 +508,10 @@ The .cursorrules standards align with and support the main documentation:
507508
| Writing tests | [testing_standards.md](testing_standards.md) | [error_handling.md](error_handling.md) for error testing |
508509
| Creating modules | [infrastructure_modules.md](infrastructure_modules.md) | All of the above standards |
509510
| Writing docs | [documentation_standards.md](documentation_standards.md) | Specific guide for your doc type |
510-
| Writing manuscripts | [manuscript_style.md](manuscript_style.md) | [project/manuscript/AGENTS.md](../project/manuscript/AGENTS.md) for manuscript structure |
511+
| Writing manuscripts | [manuscript_style.md](manuscript_style.md) | [project/manuscript/AGENTS.md](../projects/project/manuscript/AGENTS.md) for manuscript structure |
511512
| Adding type hints | [type_hints_standards.md](type_hints_standards.md) | [documentation_standards.md](documentation_standards.md) for docstrings |
512513
| Using LLM/Ollama | [llm_standards.md](llm_standards.md) | [infrastructure_modules.md](infrastructure_modules.md) for module patterns |
513-
| Generating reports | [reporting.md](reporting.md) | [docs/ADVANCED_MODULES_GUIDE.md](../docs/ADVANCED_MODULES_GUIDE.md) for module details |
514+
| Generating reports | [reporting.md](reporting.md) | [docs/ADVANCED_MODULES_GUIDE.md](../docs/modules/ADVANCED_MODULES_GUIDE.md) for module details |
514515

515516
### By File Size & Detail Level
516517

@@ -564,11 +565,11 @@ When creating a new .cursorrules file:
564565
- [`README.md`](README.md) - Quick reference guide
565566
- [`../AGENTS.md`](../AGENTS.md) - Complete system documentation
566567
- [`../infrastructure/AGENTS.md`](../infrastructure/AGENTS.md) - Infrastructure layer documentation
567-
- [`../project/AGENTS.md`](../project/AGENTS.md) - Project layer documentation
568+
- [`../projects/project/AGENTS.md`](../projects/project/AGENTS.md) - Project layer documentation
568569

569570
**Related Documentation:**
570-
- [`../docs/ARCHITECTURE.md`](../docs/ARCHITECTURE.md) - System architecture overview
571-
- [`../docs/WORKFLOW.md`](../docs/WORKFLOW.md) - Development workflow
571+
- [`../docs/core/ARCHITECTURE.md`](../docs/core/ARCHITECTURE.md) - System architecture overview
572+
- [`../docs/core/WORKFLOW.md`](../docs/core/WORKFLOW.md) - Development workflow
572573
- [`../tests/AGENTS.md`](../tests/AGENTS.md) - Testing philosophy and guide
573574

574575
---

.cursorrules/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,5 +246,5 @@ Before commit:
246246
- See [AGENTS.md](AGENTS.md) for comprehensive documentation and navigation guide
247247
- See [Quick Navigation Guide](AGENTS.md#quick-navigation-guide) for activity-based guidance
248248
- See [../docs/AGENTS.md](../docs/AGENTS.md) for main project documentation
249-
- See [../docs/HOW_TO_USE.md](../docs/HOW_TO_USE.md) for complete usage guide
250-
- See [../docs/SECURITY.md](../docs/SECURITY.md) for security policy
249+
- See [../docs/core/HOW_TO_USE.md](../docs/core/HOW_TO_USE.md) for complete usage guide
250+
- See [../docs/development/SECURITY.md](../docs/development/SECURITY.md) for security policy

.cursorrules/api_design.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -731,5 +731,5 @@ def new_function_name(parameter: str) -> str:
731731
- [error_handling.md](error_handling.md) - Exception handling in APIs
732732
- [testing_standards.md](testing_standards.md) - Testing API contracts
733733
- [infrastructure_modules.md](infrastructure_modules.md) - Module API design
734-
- [../docs/API_REFERENCE.md](../docs/API_REFERENCE.md) - Complete API documentation
735-
- [../docs/ARCHITECTURE.md](../docs/ARCHITECTURE.md) - API architecture design
734+
- [../docs/reference/API_REFERENCE.md](../docs/reference/API_REFERENCE.md) - Complete API documentation
735+
- [../docs/core/ARCHITECTURE.md](../docs/core/ARCHITECTURE.md) - API architecture design

.cursorrules/code_style.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,4 +524,4 @@ Add to GitHub Actions workflow:
524524
- [error_handling.md](error_handling.md) - Exception handling patterns
525525
- [python_logging.md](python_logging.md) - Logging standards
526526
- [infrastructure_modules.md](infrastructure_modules.md) - Module development standards
527-
- [../docs/BEST_PRACTICES.md](../docs/BEST_PRACTICES.md) - Code quality best practices
527+
- [../docs/best-practices/BEST_PRACTICES.md](../docs/best-practices/BEST_PRACTICES.md) - Code quality best practices

.cursorrules/documentation_standards.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -524,14 +524,14 @@ Before committing documentation:
524524
### Good AGENTS.md References
525525

526526
- [infrastructure/AGENTS.md](../infrastructure/AGENTS.md) - Complete module docs
527-
- [project/src/AGENTS.md](../project/src/AGENTS.md) - Project code docs
527+
- [project/src/AGENTS.md](../projects/project/src/AGENTS.md) - Project code docs
528528
- [tests/AGENTS.md](../tests/AGENTS.md) - Test framework docs
529529

530530
### Good README.md References
531531

532532
- [infrastructure/README.md](../infrastructure/README.md) - Quick patterns
533533
- [scripts/README.md](../scripts/README.md) - Quick commands
534-
- [project/README.md](../project/README.md) - Project quick start
534+
- [project/README.md](../projects/project/README.md) - Project quick start
535535

536536
## See Also
537537

@@ -540,7 +540,7 @@ Before committing documentation:
540540
- [../docs/DOCUMENTATION_INDEX.md](../docs/DOCUMENTATION_INDEX.md) - Complete documentation index
541541
- [../docs/AGENTS.md](../docs/AGENTS.md) - Main project documentation
542542
- [../AGENTS.md](../AGENTS.md) - Root documentation
543-
- [../docs/ARCHITECTURE.md](../docs/ARCHITECTURE.md) - System architecture
543+
- [../docs/core/ARCHITECTURE.md](../docs/core/ARCHITECTURE.md) - System architecture
544544

545545

546546

.cursorrules/error_handling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ def test_exception_chaining():
357357

358358
## See Also
359359

360-
- [Error Handling Guide](../docs/ERROR_HANDLING_GUIDE.md) - Comprehensive error handling patterns
360+
- [Error Handling Guide](../docs/operational/ERROR_HANDLING_GUIDE.md) - Comprehensive error handling patterns
361361
- [Logging](python_logging.md) - Logging standards
362362
- [testing_standards.md](testing_standards.md) - Testing error conditions
363363
- [documentation_standards.md](documentation_standards.md) - Documenting exceptions

.cursorrules/git_workflow.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,5 +469,5 @@ git lfs track "*.pdf"
469469
- [testing_standards.md](testing_standards.md) - Testing patterns and coverage
470470
- [infrastructure_modules.md](infrastructure_modules.md) - Module development standards
471471
- [documentation_standards.md](documentation_standards.md) - Documentation writing guide
472-
- [../docs/VERSION_CONTROL.md](../docs/VERSION_CONTROL.md) - Version control best practices
473-
- [../docs/CI_CD_INTEGRATION.md](../docs/CI_CD_INTEGRATION.md) - CI/CD integration guide
472+
- [../docs/best-practices/VERSION_CONTROL.md](../docs/best-practices/VERSION_CONTROL.md) - Version control best practices
473+
- [../docs/operational/CI_CD_INTEGRATION.md](../docs/operational/CI_CD_INTEGRATION.md) - CI/CD integration guide

.cursorrules/infrastructure_modules.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -474,9 +474,9 @@ Before merging a new infrastructure module:
474474
## References
475475

476476
- [Infrastructure AGENTS.md](../infrastructure/AGENTS.md) - Module organization
477-
- [Advanced Modules Guide](../docs/ADVANCED_MODULES_GUIDE.md) - Complete guide to all advanced modules
478-
- [API Reference](../docs/API_REFERENCE.md) - Complete API documentation for all modules
479-
- [Two-Layer Architecture](../docs/TWO_LAYER_ARCHITECTURE.md) - Architecture explanation
477+
- [Advanced Modules Guide](../docs/modules/ADVANCED_MODULES_GUIDE.md) - Complete guide to all advanced modules
478+
- [API Reference](../docs/reference/API_REFERENCE.md) - Complete API documentation for all modules
479+
- [Two-Layer Architecture](../docs/architecture/TWO_LAYER_ARCHITECTURE.md) - Architecture explanation
480480
- [Testing Guide](testing_standards.md) - Testing infrastructure code
481481
- [Error Handling Guide](error_handling.md) - Exception patterns
482482
- [Logging Guide](python_logging.md) - Logging standards

.cursorrules/manuscript_style.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,10 +1032,10 @@ the iterative algorithm described in Section \ref{sec:algorithm}.
10321032

10331033
## See Also
10341034

1035-
- [project/manuscript/AGENTS.md](../project/manuscript/AGENTS.md) - Complete manuscript documentation
1036-
- [project/manuscript/README.md](../project/manuscript/README.md) - Quick reference for manuscript
1037-
- [docs/MARKDOWN_TEMPLATE_GUIDE.md](../docs/MARKDOWN_TEMPLATE_GUIDE.md) - Markdown and cross-referencing guide
1038-
- [docs/MANUSCRIPT_NUMBERING_SYSTEM.md](../docs/MANUSCRIPT_NUMBERING_SYSTEM.md) - Section numbering system
1035+
- [project/manuscript/AGENTS.md](../projects/project/manuscript/AGENTS.md) - Complete manuscript documentation
1036+
- [project/manuscript/README.md](../projects/project/manuscript/README.md) - Quick reference for manuscript
1037+
- [docs/MARKDOWN_TEMPLATE_GUIDE.md](../docs/usage/MARKDOWN_TEMPLATE_GUIDE.md) - Markdown and cross-referencing guide
1038+
- [docs/MANUSCRIPT_NUMBERING_SYSTEM.md](../docs/usage/MANUSCRIPT_NUMBERING_SYSTEM.md) - Section numbering system
10391039
- [code_style.md](code_style.md) - Code formatting standards
10401040
- [documentation_standards.md](documentation_standards.md) - Documentation writing guide
10411041

.cursorrules/python_logging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ def test_error_logging(caplog):
382382

383383
## See Also
384384

385-
- [Logging Guide](../docs/LOGGING_GUIDE.md) - Comprehensive logging documentation
385+
- [Logging Guide](../docs/operational/LOGGING_GUIDE.md) - Comprehensive logging documentation
386386
- [Error Handling](error_handling.md) - Error handling patterns
387387
- [testing_standards.md](testing_standards.md) - Testing logging
388388
- [documentation_standards.md](documentation_standards.md) - Documenting logging

0 commit comments

Comments
 (0)