Repository navigation
Conversation
- Add log rotation when .sequant/logs/ exceeds 10MB or 100 files (AC-1, AC-2) - Add --rotate flag to sequant logs with --dry-run support (AC-3) - Add sequant stats command with aggregate analysis (AC-4) - Add CSV export with --csv flag for stats (AC-5) - Add docs/logging.md with system overview (AC-6) - Document JSON log schema with TypeScript interfaces (AC-7) - Include working jq examples for log parsing (AC-8) Rotation is enabled by default with a 10% buffer (stops at 90% of threshold) to prevent immediate re-rotation. Auto-rotation runs after LogWriter.finalize(). Co-Authored-By: Claude Opus 4.5 <[email protected]>
8 tasks
- Log rotation with size/count thresholds - sequant stats command with CSV/JSON export - docs/logging.md with schema reference and jq examples Co-Authored-By: Claude Opus 4.5 <[email protected]>
…hancements-rotation-stats-and-documentat # Conflicts: # CHANGELOG.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.sequant/logs/exceeds 10MB or 100 files with 10% buffer to prevent immediate re-rotationsequant statscommand with success/failure rates, phase durations, and common failure patternsdocs/logging.mdwith JSON schema reference and jq examplesTest Plan
sequant logs --rotate --dry-runshows rotation previewsequant statsshows aggregate statisticssequant stats --csvoutputs valid CSVAcceptance Criteria
--rotateCLI flag for manual rotationsequant statscommand with aggregate analysisdocs/logging.mdCloses #28
🤖 Generated with Claude Code