This repository contains detailed technical specifications, bug fixes, and feature documentation for the Catalyst Newsletter Generator application.
The Catalyst Specifications Repository serves as the central documentation hub for:
- Feature Specifications: Detailed implementation plans for new features
- Bug Fix Specifications: Root cause analysis and fix documentation for identified issues
- AI Coding Guidelines: Comprehensive development standards in CLAUDE.md
- Technical Documentation: Architecture decisions and implementation patterns
This repository is separate from the main application to maintain clear separation between specification/planning and implementation code.
- This Repository:
catalyst/- Specifications, documentation, and planning - Main Application: catalyst-newsletter - Actual Next.js application implementation
All specifications in this repository are intended to be implemented in the main catalyst-newsletter application.
catalyst/
├── README.md # This file
├── CLAUDE.md # AI coding rules and development guidelines
└── specs/ # Specification documents
├── feature-*.md # Feature specifications
├── bug-*.md # Bug fix specifications
└── chore-*.md # Maintenance task specifications
- Langfuse LLM Observability - Comprehensive LLM tracking and monitoring using Langfuse
- Claude Agent SDK Migration - Migration to Claude's official Agent SDK
- HTML Rendering and Enhanced Error Handling - Improved rendering and error management
- Sources Page Crash Fix - Fix for sources page rendering issues
- Admin Password Secret Manager Migration - Secure credential storage
- GCP Cloud Run Database Connection - Fix database connectivity in production
- Authentication Persistence - Fix auth session management
- Error Message Display - Improve error visibility
- Authentication Bypass in Development - Fix dev environment security
- Newsletter Generation 401 Error - Fix authentication issues in generation
- Missing Sources in Newsletter Prompt - Fix source inclusion logic
- Model Name Mismatch in UI - Fix display inconsistencies
- Langfuse Missing Claude Generation Spans - Fix observability gaps
- Langfuse Environment Display - Fix environment tagging
- Remove Follow-up Section from Agent Response - Clean up agent output format
Each specification document follows a consistent structure:
- Description: Overview of the feature or bug
- User Story: User-focused narrative
- Problem Statement: Current issues or gaps
- Solution Statement: Proposed approach
- Relevant Files: Files that need modification
- Implementation Plan: High-level phases
- Step by Step Tasks: Detailed implementation steps
- Testing Strategy: Unit, integration, and E2E tests
- Acceptance Criteria: Definition of done
- Validation Commands: Commands to verify implementation
- Review the specification document for your assigned feature/bug
- Follow the step-by-step implementation tasks
- Implement changes in the catalyst-newsletter repository
- Run validation commands to ensure correctness
- Verify all acceptance criteria are met
When implementing specifications:
- Read the entire specification document thoroughly
- Review the CLAUDE.md coding guidelines
- Locate relevant files in catalyst-newsletter
- Follow the implementation plan step-by-step
- Execute all validation commands
- Ensure zero regressions
- Use specifications to understand feature scope and complexity
- Track implementation progress against acceptance criteria
- Reference validation commands for QA processes
- Use specifications for estimation and planning
The CLAUDE.md file contains comprehensive AI coding rules covering:
- Coding Practices: Support levels, documentation standards, version control
- Frontend: React, Next.js, Astro, Tailwind, accessibility (WCAG)
- Backend: FastAPI, Express, database practices
- DevOps: GitHub Actions, Docker, GCP
- Testing: Pytest, Supertest, Playwright
All implementations should adhere to these guidelines.
To add new specifications:
-
Create a new file in
specs/with the naming convention:- Features:
feature-{name}.md - Bugs:
bug-{description}.md - Chores:
chore-{description}.md
- Features:
-
Follow the standard specification template structure
-
Link relevant files from the
catalyst-newsletterproject -
Include comprehensive testing strategy and validation commands
- Main Application: catalyst-newsletter
- Langfuse Dashboard: Access via application environment configuration
- Deployment: GCP Cloud Run (see bug specs for deployment issues)
For questions about:
- Specifications: Review the relevant spec document and CLAUDE.md
- Implementation: See the main catalyst-newsletter README
- AI Guidelines: Refer to CLAUDE.md
Last Updated: 2025-10-20