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
9 changes: 9 additions & 0 deletions .changeset/auto-b2febcaa83c70990.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"ketchup": minor
---

- Rebranded the project to Ketchup, renaming the package, plugin, slash commands, data directory (.ketchup), and all documentation
- Switched to plugin-only installation via the marketplace, removing the legacy npx CLI, install/doctor/repair commands, and symlink setup
- Added automatic migration so existing setups upgrade in place, moving the data directory, state file, and deny-list to their new .ketchup locations
- Removed the auto-continue feature in favor of parallel sub-agent planning, with config and docs updated to match
- Added runtime configuration for validators and reminders, plus a config skill and first-setup guidance
1 change: 0 additions & 1 deletion TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ cjs for auto-engineer <<< look into this
http server

do not give reminders to validator subagents
do not run auto continue for validator subagents (also otehr lifecycle hooks)
2 changes: 1 addition & 1 deletion dist/bundle/scripts/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3845,7 +3845,7 @@ function usage() {

Subcommands:
show Show all current configuration
set <key.path> <value> Set a config value (e.g., autoContinue.mode off)
set <key.path> <value> Set a config value (e.g., validateCommit.mode off)
validators List all validators with status
validators enable <name> Enable a validator
validators disable <name> Disable a validator
Expand Down
42 changes: 1 addition & 41 deletions docs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,44 +280,6 @@ if (subagentType === 'work' && state.validateCommitOnWork) {

---

## Clue Collection

The clue collector analyzes Claude transcripts for continuation signals.

```
transcript.jsonl
┌─────────────────────────┐
│ Parse JSONL lines │
│ Extract entries │
└──────────┬──────────────┘
├─────────────────────────────────────────┐
│ │
▼ ▼
┌─────────────────────────┐ ┌─────────────────────────┐
│ Pattern Detection │ │ Metadata Extraction │
│ ├─► CONTINUE_PATTERNS │ │ ├─► ketchup-plan paths │
│ ├─► ketchup mentions │ │ ├─► working directories │
│ └─► plan mentions │ │ └─► current cwd │
└──────────┬──────────────┘ └──────────┬──────────────┘
│ │
└─────────────┬───────────────────────┘
┌─────────────────────────────────────────────────────────────┐
│ ClueCollectorResult │
│ ├─► clues: Array<Clue> Detected patterns │
│ ├─► lastChats: Array Last 5 exchanges │
│ ├─► ketchupPlanPaths Found plan files │
│ ├─► workingDirs Detected directories │
│ └─► summary: string Human-readable summary │
└─────────────────────────────────────────────────────────────┘
```

---

## Directory Structure

### Plugin Structure
Expand All @@ -335,7 +297,6 @@ ketchup/
│ ├── debug-logger.ts Debug output (internal)
│ ├── clean-logs.ts Log cleanup (internal)
│ ├── subagent-classifier.ts Task classification (internal)
│ ├── clue-collector.ts Transcript analysis (internal)
│ │
│ └── hooks/
│ ├── session-start.ts SessionStart handler
Expand Down Expand Up @@ -439,8 +400,7 @@ Unit Tests (vitest)
├── Deny-list (load patterns, match files)
├── Hook state (read, write, update)
├── Subagent classifier (patterns, extraction)
├── Path resolver (environment-based resolution)
└── Clue collector (transcript analysis)
└── Path resolver (environment-based resolution)

E2E Tests (scripts/test-hooks.sh)
├── Deny-list blocking
Expand Down
4 changes: 1 addition & 3 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ This creates `.ketchup/` with default configuration. Then verify:
/ketchup:config show
```

Ketchup is now active with commit validation, reminders, deny-lists, and auto-continue.
Ketchup is now active with commit validation, reminders, and deny-lists.

---

Expand Down Expand Up @@ -101,7 +101,6 @@ Start a Claude Code session. The supervisor will:
1. **Inject** your guidelines at session start
2. **Validate** every commit against your rules
3. **ACK** clean commits, **NACK** rule violations
4. **Auto-continue** until the plan is complete

---

Expand Down Expand Up @@ -148,7 +147,6 @@ You installed Ketchup:
| Validators | ACK/NACK every commit via LLM | PreToolUse hooks |
| Reminders | Your rules, every session + prompt | SessionStart + prompt |
| Deny-list | Structural file protection | PreToolUse deny-list |
| Auto-Continue | Agent keeps working while plan has work | Stop hooks |
| TCR gate | `test && commit revert` enforced | TCR Workflow validator |

---
Expand Down
2 changes: 1 addition & 1 deletion scripts/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function usage(): string {

Subcommands:
show Show all current configuration
set <key.path> <value> Set a config value (e.g., autoContinue.mode off)
set <key.path> <value> Set a config value (e.g., validateCommit.mode off)
validators List all validators with status
validators enable <name> Enable a validator
validators disable <name> Disable a validator
Expand Down
Loading
Loading