feat: v0.2 tests for manifest capture, diff, ignore rules, and session log
11 new tests covering manifest capture/exclusion, roundtrip, diff logic, ignore rules (task.yaml, sessions.log, .ctask/), notes updated detection, session log formatting, append-only behavior, short session detection. Fix cross-platform ignore rule for logs/sessions.log. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -32,7 +32,7 @@ func ignoredPath(relPath string) bool {
|
||||
return true
|
||||
}
|
||||
// Ignore sessions.log (ctask's own logging)
|
||||
if relPath == filepath.Join("logs", "sessions.log") {
|
||||
if relPath == "logs/sessions.log" || relPath == "logs\\sessions.log" {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user