Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

> **Project status:** ContextSpectre is stable and feature-complete. It receives bug fixes and compatibility updates only.

Reasoning hygiene layer for Claude Code. Not a cleanup utility - a tool you open at every decision boundary, not just when context is full. See what fills your context, what it costs, cut what no longer matters, and carry forward what does.
Reasoning hygiene layer for Claude Code. Open it at any decision boundary to see what fills your context, what it costs, cut what no longer matters, and carry forward what does.

## Before and after

Expand Down
2 changes: 2 additions & 0 deletions docs/howto.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ The checkpoint extracts from the active epoch: decisions made, findings discover

`launch` runs the full pre-flight pipeline — checkpoint, fix, clean — then exec-s into `claude --resume`. The session must be idle (not actively used) for fix to converge.

The checkpoint runs first as your restore point. Note that each individual `clean` writes its own `.bak`, but running `clean`, `fix`, and `rewire` in sequence (or the same session more than once) overwrites and clears those per-operation backups — so the checkpoint, not the `.bak`, is what recovers a full pipeline run. Checkpoint before chaining these commands manually, and avoid re-running the chain on an already-processed session.

```bash
# Most recent session in current directory
contextspectre launch --cwd
Expand Down
2 changes: 1 addition & 1 deletion internal/commands/doctor.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ func runDoctor(cmd *cobra.Command, args []string) error {
}

// Check companion tools
companions := []string{"ancc", "chainwatch"}
companions := []string{"ancc"}
for _, name := range companions {
cc := CompanionCheck{Name: name}
if path, err := exec.LookPath(name); err == nil {
Expand Down
5 changes: 2 additions & 3 deletions pkg/ips/ips.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Package ips exposes ContextSpectre public metric aliases for external
// consumers (e.g. contextspectre-pro). All
// types are thin re-exports from the internal analyzer package — no logic
// lives here.
// consumers. All types are thin re-exports from the internal analyzer package
// — no logic lives here.
package ips

import "github.com/ppiankov/contextspectre/internal/analyzer"
Expand Down
4 changes: 2 additions & 2 deletions pkg/jsonl/jsonl.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Package jsonl exposes the contextspectre JSONL parser types and functions for
// use by external consumers (e.g. contextspectre-pro). All types are thin
// re-exports from the internal jsonl package — no logic lives here.
// use by external consumers. All types are thin re-exports from the internal
// jsonl package — no logic lives here.
package jsonl

import "github.com/ppiankov/contextspectre/internal/jsonl"
Expand Down
4 changes: 2 additions & 2 deletions pkg/repair/repair.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Package repair exposes the contextspectre repair and cleanup API for use by
// external consumers (e.g. contextspectre-pro). All types and functions are
// thin re-exports from internal packages — no logic lives here.
// external consumers. All types and functions are thin re-exports from internal
// packages — no logic lives here.
package repair

import "github.com/ppiankov/contextspectre/internal/editor"
Expand Down
4 changes: 2 additions & 2 deletions pkg/scan/scan.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Package scan exposes the contextspectre diagnostic API for use by
// external consumers (e.g. contextspectre-pro). All types and functions are
// thin re-exports from internal packages — no logic lives here.
// external consumers. All types and functions are thin re-exports from internal
// packages — no logic lives here.
package scan

import (
Expand Down
4 changes: 2 additions & 2 deletions pkg/session/session.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Package session exposes contextspectre's session discovery types for use by
// external consumers (e.g. contextspectre-pro). All types are thin re-exports
// from the internal session package — no logic lives here.
// external consumers. All types are thin re-exports from the internal session
// package — no logic lives here.
package session

import "github.com/ppiankov/contextspectre/internal/session"
Expand Down
Loading