Commit Graph

32 Commits (7753310afe9ffe2f61932ec0a5e28a925b00c86b)

Author SHA1 Message Date
PeninsulaInd 7753310afe Revert "Fix --tier1-count: pass parameter through to create_job_file_for_project"
This reverts commit c4c698978d.
2026-02-20 21:51:22 -06:00
PeninsulaInd c4c698978d Fix --tier1-count: pass parameter through to create_job_file_for_project
The previous commit referenced tier1_count inside
create_job_file_for_project without adding it as a parameter.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 21:49:55 -06:00
PeninsulaInd fcacf06078 Add --tier1-count flag to ingest-cora command
Allows overriding the default random 10-12 T1 article count.
Usage: ingest-cora ... --tier1-count 5

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 21:08:56 -06:00
PeninsulaInd 4d3a78d255 added branded + anchor text with -bp flag 2026-01-21 16:23:29 -06:00
PeninsulaInd 3210dc5739 fixed branded anchor text import calculation logic 2026-01-17 14:28:53 -06:00
PeninsulaInd 6e2977c500 Add tier1 branded anchor text ratio flag to ingest-cora command
- Add --tier1-branded-ratio flag (default: 0.75) to ingest-cora command
- Prompt for branded anchor text when ratio is specified
- Generate explicit anchor_text_config in tier1 job with specified ratio
- Update documentation in CLI_COMMAND_REFERENCE.md, job-schema.md, and gui-planning.md
2026-01-16 15:53:07 -06:00
PeninsulaInd 3cd62e4135 Add CLI documentation, S3 scripts, and update deployment code 2025-12-29 12:51:59 -06:00
PeninsulaInd 7e21482419 Add Epic 6: Multi-Cloud Storage Support planning and merge images branch changes 2025-12-10 11:37:56 -06:00
PeninsulaInd d5c501f004 Remove job files from git tracking and update commands/prompts 2025-11-17 11:07:25 -06:00
PeninsulaInd 04f10d6d26 Adds ability to quickly import without CORA- version 1.2 2025-11-03 10:07:35 -06:00
PeninsulaInd de6b97dbc1 Pre-fix for checking for incomplete from openrouter - version 1.1.2 2025-10-31 11:11:28 -05:00
PeninsulaInd d919ea25e1 Fix concurrent generation threading issues
- Fix SessionLocal import error by using db_manager.get_session()
- Create thread-local ContentGenerator instances for each worker
- Ensure each thread uses its own database session
- Prevents database session conflicts in concurrent article generation
2025-10-27 13:58:18 -05:00
PeninsulaInd b168d33e2d Fixed: auto asks for money_site_url on script run if not provided 2025-10-23 13:27:12 -05:00
PeninsulaInd 26b6e75448 Fixed: throws error early on no money_site_rul set. 2025-10-23 12:53:06 -05:00
PeninsulaInd a8393cdd96 Fixed: Now listens to model selection in job.json file 2025-10-22 15:34:36 -05:00
PeninsulaInd 90b56cf7bf Story 4.5 coded and tested 2025-10-22 14:19:59 -05:00
PeninsulaInd 77356c4191 Story 4.4 - simple check works 2025-10-22 13:46:14 -05:00
PeninsulaInd b3e35b0b4d Story 4.1-3 coded and real-world tested. Working 2025-10-22 13:04:03 -05:00
PeninsulaInd 8a382a1db4 Story 4.1 coded - pre real testing 2025-10-22 12:19:25 -05:00
PeninsulaInd ee573fb948 Story 3.2 written 2025-10-21 10:34:11 -05:00
PeninsulaInd 6a3e65ef7c Story 2.5 kludgy mapping of buckets to real domains 2025-10-20 23:35:55 -05:00
PeninsulaInd 19e1c93358 Resolve merge conflicts - choose newer implementations 2025-10-20 11:43:33 -05:00
PeninsulaInd ef62ecf852 Passed initial test, generates an entire article 2025-10-20 11:35:02 -05:00
PeninsulaInd b6b0acfcb0 Story 2.3 - content generation script nightmare alomst done - pre-fix outline too big issue 2025-10-19 20:29:13 -05:00
PeninsulaInd f73b0700ef Story 2.3 - content generation script finished - fix ci 2025-10-18 22:42:21 -05:00
PeninsulaInd e2afabb56f Story 2.3 - content generation script finished 2025-10-18 22:38:34 -05:00
PeninsulaInd 02dd5a3fa7 Story 2.1 finished 2025-10-18 14:47:19 -05:00
PeninsulaInd da797c21a1 Story 1.6 finished - added sync 2025-10-18 12:24:58 -05:00
PeninsulaInd 4cada9df42 Story 1.6 finished 2025-10-18 11:35:47 -05:00
PeninsulaInd b6e495e9fe feat: Story 1.5 - CLI User Management
- Add CLI commands for user management (add-user, delete-user, list-users)
- Implement admin authentication for all user management commands
- Add password confirmation and deletion safety checks
- Prevent admins from deleting their own accounts
- Create 17 unit tests with mocked dependencies
- Create 18 integration tests with real database
- Add shared db_session fixture in conftest.py
- Update CLI commands to use db_manager for session handling
- Complete story documentation with usage examples

All 35 tests passing. Story 1.5 complete.
2025-10-18 11:13:45 -05:00
PeninsulaInd 8641bcae45 Complete Epic 1 Stories 1.1-1.3: Foundation, Database, and Authentication
Story 1.1: Project Initialization & Configuration
- Set up monorepo structure with Python application
- Configured .env.example with all required environment variables
- Implemented JSON configuration file parsing (master.config.json)
- Initialized project dependencies in requirements.txt

Story 1.2: Database Setup & User Model
- Implemented SQLite database connection with SQLAlchemy
- Created User model with username, hashed_password, and role fields
- Implemented Repository Pattern for data access layer
- Created database initialization script (scripts/init_db.py)
- Added database session management
- User model supports Admin and User roles with is_admin() helper

Story 1.3: User Authentication System
- Implemented AuthService with secure password hashing (bcrypt)
- Added hash_password() and verify_password() methods
- Implemented authenticate_user() for credential validation
- System correctly identifies user roles (Admin/User)
- Authentication fails gracefully for invalid credentials
- Added comprehensive unit tests (10 tests)
- Added integration tests with database (5 tests)
- All 15 tests passing

Technical improvements:
- Database-agnostic design using Repository Pattern
- Secure password hashing with bcrypt
- Proper separation of concerns across layers
- Type hints throughout codebase
- Comprehensive test coverage
2025-10-18 00:20:07 -05:00
PeninsulaInd 70b9de20b4 feat: Complete Story 1.1 - Project Initialization & Configuration
- Create monorepo directory structure as defined in architecture
- Initialize Python project with core dependencies (FastAPI, SQLAlchemy, Click, Pydantic)
- Add requirements.txt with all necessary libraries
- Create env.example with placeholders for all cloud provider secrets
- Implement master.config.json with comprehensive configuration
- Add Pydantic-based configuration loading and validation
- Create basic CLI framework with health check and config commands
- Set up main.py as CLI entry point
- Organize all modules according to source tree specification

This completes the foundational infrastructure for Epic 1: Foundation & Core Services.
2025-10-17 23:42:16 -05:00