tercul-backend/internal/jobs/linguistics
google-labs-jules[bot] ac29aaa1d5 This is a work-in-progress commit for the core architectural refactoring of configuration handling.
The goal of this refactoring is to eliminate the global configuration singleton (`config.Cfg`) and replace it with explicit dependency injection of a `Config` struct.

This commit includes the following partial changes:
- The `Config` struct in `internal/platform/config/config.go` has been updated with all necessary fields.
- Several platform packages (`db`, `cache`, `auth`, `http`, `jobs/sync`) have been modified to accept the `*config.Config` struct.
- The API server entry point (`cmd/api/main.go`) has been updated to load and provide the configuration.
- A new worker entry point (`cmd/worker/main.go`) has been created to house the background job runner, as per the architecture defined in `refactor.md`.

NOTE: The build is currently broken as this refactoring is incomplete. This commit is for saving progress as requested.
2025-10-05 15:16:22 +00:00
..
.keep I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
adapter_govader_test.go I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
adapter_govader.go I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
adapter_lingua_test.go Fix build issues and refactor for maintainability 2025-09-05 21:37:42 +00:00
adapter_lingua.go Refactor: In-progress refactoring to fix build. 2025-09-05 15:11:30 +00:00
adapter_tfidf.go I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
adapters.go I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
analysis_cache.go feat: Complete all pending tasks from TASKS.md 2025-10-05 05:26:27 +00:00
analysis_repository_test.go feat: Implement trending works feature 2025-09-07 20:40:35 +00:00
analysis_repository.go feat: Complete all pending tasks from TASKS.md 2025-10-05 05:26:27 +00:00
analyzer.go feat: Complete all pending tasks from TASKS.md 2025-10-05 05:26:27 +00:00
factory_test.go feat(analytics): Enhance analytics capabilities 2025-09-07 19:26:51 +00:00
factory.go feat(analytics): Enhance analytics capabilities 2025-09-07 19:26:51 +00:00
keyword_extractor_test.go Refactor: In-progress refactoring to fix build. 2025-09-05 15:11:30 +00:00
keyword_extractor.go Refactor: In-progress refactoring to fix build. 2025-09-05 15:11:30 +00:00
language_detector_test.go Fix build issues and refactor for maintainability 2025-09-05 21:37:42 +00:00
language_detector.go Fix build issues and refactor for maintainability 2025-09-05 21:37:42 +00:00
lemmatizer_test.go I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
lemmatizer.go I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
phonetic_encoder_test.go I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
phonetic_encoder.go I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
poetic_analyzer_test.go I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
poetic_analyzer.go I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
ports.go Refactor: In-progress refactoring to fix build. 2025-09-05 15:11:30 +00:00
pos_tagger_test.go I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
pos_tagger.go I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
registry.go Fix build issues and refactor for maintainability 2025-09-05 21:37:42 +00:00
sync_job.go refactor(domain): Isolate Work aggregate 2025-10-03 16:15:09 +00:00
text_analyzer_test.go Fix build issues and refactor for maintainability 2025-09-05 21:37:42 +00:00
text_analyzer.go Fix build issues and refactor for maintainability 2025-09-05 21:37:42 +00:00
text_utils_test.go I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
text_utils.go Fix build issues and refactor for maintainability 2025-09-05 21:37:42 +00:00
tokenizer_test.go I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
tokenizer.go I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
types.go I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
work_analysis_service.go This is a work-in-progress commit for the core architectural refactoring of configuration handling. 2025-10-05 15:16:22 +00:00